/* Approved Figma D homepage — matte color, sculptural icons, strong Persian type. */
body.home-matte .navbar-tapesh{display:none!important}
body.home-matte .hero-section{display:block;min-height:0;overflow:hidden;isolation:isolate;background:#132b3a;color:#fff}
body.home-matte .hero-section::before{content:none}
body.home-matte .home-hero-photo{position:absolute;z-index:0;inset:0 0 auto;width:100%;height:566px;object-fit:cover;object-position:center center;pointer-events:none}
body.home-matte .hero-section>.container{position:relative;display:flow-root;width:100%;max-width:1260px;min-height:0;padding:0 7px 20px}
body.home-matte .hero-section .row{position:absolute;z-index:2;top:20px;left:18px;display:block;width:220px;max-width:none;margin:0;text-align:right;direction:rtl}
body.home-matte .hero-section .row>div{display:block!important;width:100%;max-width:none;min-width:0;padding:0;text-align:left!important}
body.home-matte .hero-title-sub{display:block;width:max-content;max-width:100%;margin-left:0;margin-right:auto;padding:6px 18px;border-radius:16px;background:#203748;box-shadow:0 3px 7px #061b274f;color:#fff2d5;font-size:17px;font-weight:900;letter-spacing:0;line-height:29px;white-space:nowrap}
body.home-matte .hero-title-main{display:block;width:max-content;max-width:100%;margin:8px auto 12px 6px!important;padding:4px 20px 6px;border-radius:20px;background:#bda6cb;box-shadow:0 5px 12px #25184252;color:#6d237b;text-shadow:none;font-size:35px;font-weight:900;line-height:1.5}
body.home-matte .hero-section .text-white-50{display:none!important}
body.home-matte .hero-section .row .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:6px 19px!important;border:0;border-radius:22px!important;background:#f2aa64;box-shadow:0 4px 10px #3b231552;color:#543017!important;font-size:16px;font-weight:900;line-height:1.5;white-space:nowrap}
body.home-matte .hero-section .row .btn:hover{background:#f7b776;transform:translateY(-2px)}
body.home-matte .hero-section .row .btn:focus-visible{outline:3px solid #fff2d5;outline-offset:3px}
body.home-matte .site-map-icons{width:100%;max-width:1020px;margin:594px auto 0;color:#fff}
body.home-matte .site-map-icons h2{margin:0 0 22px;color:#fff1d6;font-size:22px;font-weight:900;line-height:1.6;text-align:center;text-shadow:none}
body.home-matte .site-map-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;max-width:none;margin:0}
body.home-matte .site-map-tile{--tile:#79c9be;--ink:#063d47;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:142px;padding:14px 8px 12px;gap:9px;border:1.5px solid #eae0d4;border-radius:22px;background:var(--tile);box-shadow:0 6px 11px #071a2b52;color:var(--ink)!important;text-align:center;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
body.home-matte .site-map-tile::before,body.home-matte .site-map-tile::after{content:none}
body.home-matte .site-map-symbol{position:relative;display:grid;place-items:center;flex:none;width:58px;height:58px;border:3px solid #f1e4cf;border-radius:50%;background:var(--porcelain,#e8b5aa);box-shadow:0 4px 7px #614a3c52;color:#344853;transform:none}
body.home-matte .site-map-symbol::after{content:"";position:absolute;z-index:-1;left:1px;right:1px;bottom:-9px;height:6px;border-radius:50%;background:#2d2a2c75;filter:blur(2px)}
body.home-matte .site-map-symbol svg{width:35px;height:35px;filter:none;stroke-width:3}
body.home-matte .site-map-label{display:block;width:100%;color:var(--ink);font-size:18px;font-weight:900;line-height:1.35;text-shadow:none;overflow-wrap:normal}
body.home-matte .site-map-tile:hover{transform:translateY(-3px);box-shadow:0 9px 16px #071a2b70}
body.home-matte .site-map-tile:active{transform:translateY(1px);box-shadow:0 3px 7px #071a2b52}
body.home-matte .site-map-tile:focus-visible{outline:3px solid #fff1d6;outline-offset:3px}
body.home-matte .site-map-tile:nth-child(15n+1){--tile:#79c9be;--ink:#063d47;--porcelain:#e8b5aa}
body.home-matte .site-map-tile:nth-child(15n+2){--tile:#b99ad9;--ink:#3f1f60;--porcelain:#e9c8a7}
body.home-matte .site-map-tile:nth-child(15n+3){--tile:#e9ae80;--ink:#6a2f14;--porcelain:#a7ccbf}
body.home-matte .site-map-tile:nth-child(15n+4){--tile:#91b9e5;--ink:#143d77;--porcelain:#a8c4d3}
body.home-matte .site-map-tile:nth-child(15n+5){--tile:#9bd2cb;--ink:#125555;--porcelain:#d2bfd8}
body.home-matte .site-map-tile:nth-child(15n+6){--tile:#d1add8;--ink:#5a225a;--porcelain:#b7d3a4}
body.home-matte .site-map-tile:nth-child(15n+7){--tile:#edb28c;--ink:#6e3318;--porcelain:#b4c1db}
body.home-matte .site-map-tile:nth-child(15n+8){--tile:#8ebbcb;--ink:#174659;--porcelain:#e6c4b5}
body.home-matte .site-map-tile:nth-child(15n+9){--tile:#afcf92;--ink:#345019;--porcelain:#accfcb}
body.home-matte .site-map-tile:nth-child(15n+10){--tile:#91b7db;--ink:#173b6a;--porcelain:#cecaea}
body.home-matte .site-map-tile:nth-child(15n+11){--tile:#e2c68b;--ink:#5f4815;--porcelain:#e5d3a5}
body.home-matte .site-map-tile:nth-child(15n+12){--tile:#b5a6da;--ink:#35296a;--porcelain:#bfd5cb}
body.home-matte .site-map-tile:nth-child(15n+13){--tile:#8fd1c2;--ink:#135344;--porcelain:#b8cedc}
body.home-matte .site-map-tile:nth-child(15n+14){--tile:#e8b4bc;--ink:#682a42;--porcelain:#d9bfd3}
body.home-matte .site-map-tile:nth-child(15n+15){--tile:#a5c5e3;--ink:#1b436d;--porcelain:#cad6b3}
@media(max-width:900px){body.home-matte .site-map-grid{gap:10px}}
@media(max-width:620px){
 body.home-matte .home-hero-photo{height:clamp(250px,56vw,360px);object-fit:contain;background:#132b3a}
 body.home-matte .hero-section>.container{padding:0 7px 20px}
 body.home-matte .hero-section .row{width:220px}
 body.home-matte .site-map-icons{margin-top:calc(clamp(250px,56vw,360px) + 26px)}
 body.home-matte .site-map-grid{gap:10px 8px}
 body.home-matte .site-map-tile{min-height:136px;padding:10px 5px;gap:8px}
 body.home-matte .site-map-symbol{width:54px;height:54px}
 body.home-matte .site-map-label{font-size:15px;line-height:1.35}
}
@media(max-width:350px){body.home-matte .site-map-grid{gap:8px 5px}body.home-matte .site-map-label{font-size:13px}body.home-matte .hero-section .row{left:10px}}
@media(prefers-reduced-motion:reduce){body.home-matte .site-map-tile{transition:none}}
body.home-matte main.explore-page .tapesh-showcase .showcase-section{scroll-margin-top:16px}
/* Knowledge and contact area: mobile reading size and a compact, semantic footer. */
body.home-matte .section-knowledge .knowledge-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body.home-matte .section-knowledge .knowledge-strip>a{position:relative;min-width:0;min-height:178px;padding:22px 22px 20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;border:2px solid #ffffffd9;border-radius:24px;box-shadow:0 8px 0 #3d547037,0 18px 26px #3b567630;color:var(--design-ink,#223b58)!important;background:var(--design-bg,var(--knowledge-color,#a5d5d1));font-family:var(--design-font,Vazirmatn,Tahoma,sans-serif);order:var(--design-order,0)}
body.home-matte .section-knowledge .knowledge-strip>a span{font-size:34px;line-height:1;color:var(--design-ink,#234d67)}
body.home-matte .section-knowledge .knowledge-strip>a strong{margin:8px 0 2px;font-size:var(--design-size,23px);line-height:1.45;font-weight:900;color:inherit}
body.home-matte .section-knowledge .knowledge-strip>a small{margin:0;font-size:16px;line-height:1.5;font-weight:800;color:inherit}
body.home-matte .footer-rebuilt{margin:0;padding:0;background:#102637;color:#eff7f7;font-size:16px;border:0}
body.home-matte .footer-rebuilt *{box-sizing:border-box}
body.home-matte .footer-shell{width:min(1160px,calc(100% - 32px));margin:auto;padding:44px 0 22px}
body.home-matte .footer-topline{display:flex;justify-content:space-between;gap:24px;align-items:center;padding-bottom:25px;border-bottom:1px solid #ffffff2b}
body.home-matte .footer-kicker{color:#b8d9d4;font-size:16px;font-weight:800}
body.home-matte .footer-topline h2{color:#fff;margin:2px 0;font-size:38px;line-height:1.3;font-weight:900}
body.home-matte .footer-topline p{color:#c9dadb!important;margin:0;font-size:16px!important;line-height:1.6!important}
body.home-matte .footer-top-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:14px;background:#ffffff19;color:#fff!important;font-weight:800;text-decoration:none}
body.home-matte .footer-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}
body.home-matte .footer-panel{display:flex;align-items:flex-start;gap:16px;min-width:0;min-height:138px;padding:20px;background:var(--design-bg,#1d394b);color:var(--design-ink,#f3f8f7)!important;border:1px solid #ffffff28;border-radius:22px;text-decoration:none;font-family:var(--design-font,Vazirmatn,Tahoma,sans-serif);order:var(--design-order,0)}
body.home-matte .footer-panel-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:15px;background:#bde7d6;color:#183a4b;font-size:26px;font-weight:900;box-shadow:0 4px 0 #071e2b80}
body.home-matte .footer-panel h3{margin:0 0 9px;color:inherit;font-size:var(--design-size,21px);font-weight:900;line-height:1.5}
body.home-matte .footer-panel p,body.home-matte .footer-panel a{display:block;margin:0;color:inherit!important;font-size:17px!important;line-height:1.85!important;text-decoration:none;overflow-wrap:anywhere}
body.home-matte .footer-panel .footer-contact-link{font-family:Tahoma,sans-serif;direction:ltr;text-align:right;unicode-bidi:isolate}
body.home-matte .footer-map-link{background:var(--design-bg,#234e56)}
body.home-matte .footer-panel a:hover,body.home-matte .footer-bottom a:hover{text-decoration:underline}
body.home-matte .footer-bottom{display:flex;justify-content:space-between;gap:15px;padding-top:18px;border-top:1px solid #ffffff2b;color:#c6d7dc;font-size:14px}
body.home-matte .footer-bottom a{color:#d3e9e4!important;text-decoration:none}
body.home-matte .footer-rebuilt a:focus-visible{outline:3px solid #ffd882;outline-offset:3px}
@media(max-width:700px){body.home-matte .section-knowledge .knowledge-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}body.home-matte .section-knowledge .knowledge-strip>a{min-height:174px;padding:18px;border-radius:22px}body.home-matte .section-knowledge .knowledge-strip>a strong{font-size:var(--design-size,clamp(19px,5.2vw,24px))}body.home-matte .section-knowledge .knowledge-strip>a small{font-size:16px}body.home-matte .footer-panels{grid-template-columns:1fr}body.home-matte .footer-panel{min-height:0;padding:19px}body.home-matte .footer-shell{padding:32px 0 20px}body.home-matte .footer-topline{align-items:flex-start}body.home-matte .footer-topline h2{font-size:32px}body.home-matte .footer-top-link{font-size:13px;max-width:135px;text-align:center}body.home-matte .footer-bottom{flex-wrap:wrap}}
@media(max-width:330px){body.home-matte .section-knowledge .knowledge-strip{grid-template-columns:1fr}body.home-matte .section-knowledge .knowledge-strip>a{min-height:140px}}
/* Scoped CMS overrides stay behind the approved homepage layout by default. */
body.home-matte .site-map-tile[data-design-id]{background:var(--design-bg,var(--tile));color:var(--design-ink,var(--ink))!important;order:var(--design-order,0);border-radius:var(--design-radius,22px);font-family:var(--design-font,inherit)}
body.home-matte .site-map-tile[data-design-id] .site-map-label{color:var(--design-ink,var(--ink));font-size:var(--design-size,18px)}
body.home-matte .site-map-tile[data-design-id] .site-map-symbol{color:var(--design-ink,#344853)}
body.home-matte .tapesh-showcase [data-design-id].showcase-card,body.home-matte .tapesh-showcase [data-design-id].clinic-tile{background:var(--design-bg,var(--custom-card));color:var(--design-ink,inherit)!important;font-family:var(--design-font,inherit);order:var(--design-order,0);border-radius:var(--design-radius,inherit)}
body.home-matte .tapesh-showcase [data-design-id].showcase-card h3,body.home-matte .tapesh-showcase [data-design-id].clinic-tile strong{font-size:var(--design-size,var(--item-title-size,inherit));color:var(--design-ink,inherit)}
body.home-matte .tapesh-showcase .showcase-heading h2{font-size:var(--design-size,clamp(27px,3vw,42px));color:var(--design-ink,inherit)}

body.home-matte .tapesh-showcase [data-design-id].showcase-intro{background:var(--design-bg,#103a51);font-family:var(--design-font,inherit);border-radius:var(--design-radius,30px)}
body.home-matte .tapesh-showcase [data-design-id].showcase-intro h3{font-size:var(--design-size,27px);color:var(--design-ink,#fff)}
body.home-matte .tapesh-showcase [data-design-id].showcase-section{font-family:var(--design-font,inherit)}
@media(max-width:700px){body.home-matte .site-map-tile[data-design-id] .site-map-label{font-size:var(--design-size,15px)}}

body.home-matte .section-knowledge .knowledge-strip>a:nth-child(1){--knowledge-color:#f3b17d}
body.home-matte .section-knowledge .knowledge-strip>a:nth-child(2){--knowledge-color:#ec9fb9}
body.home-matte .section-knowledge .knowledge-strip>a:nth-child(3){--knowledge-color:#a7b8e9}
body.home-matte .section-knowledge .knowledge-strip>a:nth-child(4){--knowledge-color:#80cfbb}
body.home-matte .footer-topline h2{font-size:var(--design-size,38px);font-family:var(--design-font,inherit)}

body.home-matte .hero-title-sub[data-design-id]{background:var(--design-bg,#203748);color:var(--design-ink,#fff2d5);font-size:var(--design-size,17px);font-family:var(--design-font,inherit);border-radius:var(--design-radius,16px)}
body.home-matte .hero-title-main[data-design-id]{background:var(--design-bg,#bda6cb);color:var(--design-ink,#6d237b);font-size:var(--design-size,35px);font-family:var(--design-font,inherit);border-radius:var(--design-radius,20px)}
body.home-matte .hero-section .row .btn[data-design-id]{background:var(--design-bg,#f2aa64);color:var(--design-ink,#543017)!important;font-size:var(--design-size,16px);font-family:var(--design-font,inherit);border-radius:var(--design-radius,22px)!important}
body.home-matte .site-map-icons h2[data-design-id]{color:var(--design-ink,#fff1d6);font-size:var(--design-size,22px);font-family:var(--design-font,inherit)}
body.home-matte .showcase-headline[data-design-id]{font-family:var(--design-font,inherit)}
body.home-matte .showcase-headline[data-design-id] h2{color:var(--design-ink,#10273a);font-size:var(--design-size,clamp(32px,5vw,58px))}
