/* RC10: shared header geometry, reference composition and the requested quiet straight route. */
body.tte-site #tte-site-header{padding:0!important;min-height:0!important;height:auto!important;top:var(--tte-header-offset,0)!important;border:0!important;border-bottom:1px solid #e1e7dc!important}
body.admin-bar{--tte-header-offset:32px}
body.tte-site #tte-site-header .tte-header__row{width:calc(100% - 48px)!important;max-width:1260px!important;margin:0 auto!important;padding:0!important;min-height:80px!important;gap:18px!important;box-sizing:border-box}
#tte-site-header .tte-brand{flex:0 0 170px;min-width:0!important}
#tte-site-header .tte-nav{flex:1 1 auto;min-width:0;gap:13px!important;justify-content:center}
#tte-site-header .tte-nav>a{font-size:12px!important;white-space:nowrap}
#tte-site-header .tte-header__tools{min-width:0!important;gap:8px!important}
#tte-site-header .tte-search-wrap,#tte-site-header .tte-search{width:150px!important;max-width:150px!important;min-width:0!important}
#tte-site-header .tte-btn--header-auth{font-size:11px!important;padding:10px 12px!important;white-space:nowrap}
@media(max-width:1100px){
 body.tte-site #tte-site-header .tte-header__row{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;min-height:70px!important;gap:10px!important;width:calc(100% - 24px)!important;direction:rtl;align-items:center}
 #tte-site-header .tte-menu-toggle{display:grid!important;grid-column:1!important;grid-row:1!important;order:0!important;width:44px!important;height:44px!important;margin:0!important}
 #tte-site-header .tte-brand{grid-column:2!important;grid-row:1!important;width:auto!important;max-width:100%!important;justify-self:start;gap:6px!important;margin:0!important}
 #tte-site-header .tte-brand__mark,#tte-site-header .tte-brand__mark>svg{width:32px!important;height:38px!important;min-width:32px!important}
 #tte-site-header .tte-brand__text{min-width:0!important}
 #tte-site-header .tte-brand__text b{font-size:14px!important;white-space:nowrap}
 #tte-site-header .tte-brand__text small{display:none!important}
 #tte-site-header .tte-header__tools{grid-column:3!important;grid-row:1!important;gap:6px!important;justify-self:end;margin:0!important}
 #tte-site-header .tte-search-wrap{display:none!important}
}
@media(max-width:360px){#tte-site-header .tte-brand__text b{font-size:12px!important}#tte-site-header .tte-brand__mark,#tte-site-header .tte-brand__mark>svg{width:27px!important;min-width:27px!important}#tte-site-header .tte-btn--header-auth{font-size:10px!important;padding:9px 7px!important}body.tte-site #tte-site-header .tte-header__row{gap:7px!important}}
@media(max-width:600px){body.admin-bar{--tte-header-offset:0}}
/* Store uses the same live, editable hero as the other interior screens. */
body.tte-page .tte-hero--store .tte-hero__slide{min-height:310px!important;background:#193f32;isolation:isolate}
body.tte-page .tte-hero--store .tte-hero__slide::after{content:'';position:absolute;inset:0;z-index:0;background:linear-gradient(270deg,#193f32 3%,#193f32f0 40%,#193f3270 62%,transparent 82%);pointer-events:none}
body.tte-page .tte-hero--store .tte-hero__inner{position:relative;z-index:1;min-height:310px!important}
body.tte-page .tte-hero--store .tte-hero__copy{color:#fcfdf9!important;max-width:52%}
body.tte-page .tte-hero--store :is(.tte-hero__title,.tte-hero__subtitle){color:#fcfdf9!important}
/* Course actions are visible on every genuine course card, including profile and journey cards. */
body.tte-page :is(.tte-course-card__actions,.tte-journey-course-card){min-width:0}
body.tte-page .tte-course-card__actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:auto!important;padding-top:12px!important}
body.tte-page .tte-course-card__actions>:is(a,form){flex:1 1 150px!important;min-width:0!important}
body.tte-page .tte-course-card__actions :is(.tte-btn,.tte-card__link){display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;min-height:42px!important;padding:9px 10px!important;font-size:11px!important;line-height:1.8!important;white-space:nowrap!important;border-radius:8px!important;margin:0!important}
body.tte-page .tte-course-card__actions .tte-card__link--ghost{color:#193f32!important;background:#fcfdf9!important;border:1px solid #dce3d5!important}
body.tte-page .tte-free-enroll-form{margin:0!important;width:100%;min-width:0}
body.tte-page .tte-free-enroll-form .tte-btn{width:100%!important;min-height:42px}
.tte-course-unavailable{display:block;padding:9px 10px;background:#f1f3ed;color:#68765f;border:1px dashed #d8dfd1;border-radius:7px;font-size:11px;text-align:center}
body.tte-page .tte-teacher-course-card{display:flex;flex-direction:column;min-width:0}
body.tte-page .tte-teacher-course-card__link{display:block;color:inherit;text-decoration:none;flex:1}
/* Default and field are two states of ONE real directory, composed like the supplied references. */
body.tte-page .tte-directory-hero{background-image:url('../images/teachers-reference-hero.webp');min-height:320px}
body.tte-page .tte-directory-hero__copy{width:min(1200px,calc(100% - 48px))}
body.tte-page .tte-directory-hero__copy>h1{font-size:36px}
body.tte-page .tte-directory-feature__cards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:14px;align-items:stretch}
body.tte-page .tte-directory-feature__cards>.tte-directory-card{flex:0 0 calc((100% - 28px)/3);scroll-snap-align:start}
body.tte-page .tte-directory-feature__cards .tte-directory-card__photo{aspect-ratio:1/1}
body.tte-page .tte-directory-feature__cards .tte-directory-card h3{font-size:12px;line-height:1.9}
body.tte-page .tte-directory-feature__cards .tte-directory-card__body>p{font-size:10px}
body.tte-page .tte-directory-spotlight{background-image:url('../images/footer-corner.svg');background-position:left bottom;background-repeat:no-repeat;background-size:120px}
body.tte-page .tte-directory-carousel-controls{display:flex;justify-content:center;align-items:center;gap:12px;margin:14px auto 0}
.tte-directory-carousel-controls button{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dce3d5;background:#fcfdf9;color:#193f32;border-radius:50%;cursor:pointer}
.tte-directory-carousel-controls [data-teacher-next]{transform:rotate(180deg)}
.tte-directory-carousel-controls span{font-size:11px;color:#68765f}
body.tte-page .tte-teacher-directory:not(.is-field) .tte-directory-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;padding-bottom:8px;scrollbar-width:thin}
body.tte-page .tte-teacher-directory:not(.is-field) .tte-directory-grid>.tte-directory-card{flex:0 0 calc((100% - 64px)/5);scroll-snap-align:start;padding:20px 12px 14px}
body.tte-page .tte-teacher-directory:not(.is-field) .tte-directory-grid .tte-directory-card__photo{width:84px;height:84px;aspect-ratio:1;border-radius:50%;margin:0 auto;border:3px solid #e5e9df}
body.tte-page .tte-teacher-directory:not(.is-field) .tte-directory-grid .tte-directory-card h3{font-size:12px}
body.tte-page .tte-teacher-directory:not(.is-field) .tte-directory-grid .tte-directory-tags{display:none}
body.tte-page .tte-teacher-directory:not(.is-field) .tte-directory-values{display:none}
body.tte-page .tte-directory-field-cards>div{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 70px)/6);grid-template-columns:none!important;gap:14px;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}
body.tte-page .tte-directory-field-cards a{padding:9px 9px 13px}
body.tte-page .tte-directory-field-card__art{aspect-ratio:1.5}
/* Scrollytelling: a single sticky viewing window, real different images keyed to the prose. */
.tte-guide-gallery-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:12px}
.tte-guide-gallery-controls button{display:grid;place-items:center;width:36px;height:36px;color:#193f32;background:#fcfdf9;border:1px solid #d5ddcb;border-radius:50%;cursor:pointer}
.tte-guide-gallery-controls span{font-size:12px;color:#68765f;font-variant-numeric:tabular-nums}
body.tte-page .tte-guide-visual{top:100px}
body.tte-page .tte-guide-visual figcaption{min-height:52px}
body.tte-page .tte-guide-visual img{transition:opacity .2s ease;object-fit:cover}
/* An Iranian-Islamic visual language without winding roads, landscapes or decorative clutter. */
.tte-straight-path{border:1px solid #dce3d5;background:#fcfdf9;border-radius:12px;padding:30px;position:relative}
.tte-straight-path>header{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:18px!important;margin-bottom:24px!important}
.tte-straight-path>header>span{color:#b69b63;width:48px;height:48px;display:grid;place-items:center;border:1px solid #d8c99f;transform:rotate(45deg);border-radius:8px}
.tte-straight-path>header>span>svg{transform:rotate(-45deg);width:28px;height:28px}
.tte-straight-path>header h3{font-size:24px;color:#193f32;margin:0 0 5px}
.tte-straight-path>header p:last-child{font-size:13px;color:#68765f;margin:0}
.tte-straight-path .tte-map-topics{margin-bottom:30px}
.tte-straight-stops{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:20px 0 28px;margin:0;gap:18px;direction:rtl}
.tte-straight-stops>li{position:relative;min-width:0}
.tte-straight-stops>li:not(:last-child)::after{content:'';position:absolute;top:23px;right:calc(50% + 26px);width:calc(100% - 34px);height:1px;background:#b9c4ac;pointer-events:none}
.tte-straight-stops a{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;text-decoration:none;color:#193f32}
.tte-straight-stops a>span{display:grid;place-items:center;background:#fcfdf9;border:1px solid #b4c2a8;width:46px;height:46px;border-radius:50%;font-size:17px;position:relative;z-index:1}
.tte-straight-stops [aria-current=step]>span{background:#193f32;color:#fff8df;border-color:#b69b63;box-shadow:0 0 0 5px #f0f3e9}
.tte-straight-stops b{font-size:13px;line-height:1.9}
.tte-straight-stops small{font-size:11px;color:#68765f}
.tte-straight-path .tte-map-journey-content{grid-column:1/-1;padding-top:24px;border-top:1px solid #e1e7dc}
body.tte-page .tte-straight-path .tte-journey-workspace{display:block!important;border:0!important;background:none!important;padding:0!important}
body.tte-page .tte-straight-path .tte-journey-workspace>aside{display:none}
body.tte-page .tte-straight-path .tte-journey-steps>header{display:none}
body.tte-page .tte-straight-path .tte-journey-steps>ol{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
body.tte-page .tte-straight-path .tte-journey-steps>ol>li{display:block!important;padding:0!important;scroll-margin-top:100px}
body.tte-page .tte-straight-path .tte-journey-steps>ol>li::before{display:none!important}
body.tte-page .tte-straight-path .tte-journey-steps__number{display:none}
body.tte-page .tte-straight-path .tte-journey-steps>ol>li>div{height:100%;padding:22px!important;border-radius:9px!important;background:#f8faf3!important;border:1px solid #e1e7dc!important}
.tte-journey-course-card{border:1px solid #dce3d5;padding:10px;border-radius:8px;background:#fcfdf9;margin-top:10px}
.tte-journey-course-card>a:first-child{display:flex;align-items:center;gap:12px;color:#193f32;font-size:12px;text-decoration:none}
.tte-journey-course-card>a:first-child img{width:60px;height:52px;object-fit:cover;border-radius:5px}
.tte-journey-course-card>a:first-child small{display:block;font-size:10px;color:#68765f}
.tte-journey-course-card>.tte-btn,.tte-journey-course-card>form{margin-top:10px!important;width:100%!important;min-height:40px!important;font-size:11px!important;white-space:nowrap!important}
@media(max-width:1100px){body.tte-page .tte-directory-feature__cards>.tte-directory-card{flex-basis:calc((100% - 14px)/2)}body.tte-page .tte-teacher-directory:not(.is-field) .tte-directory-grid>.tte-directory-card{flex-basis:calc((100% - 32px)/3)}body.tte-page .tte-directory-field-cards>div{grid-auto-columns:calc((100% - 42px)/4)}}
@media(max-width:650px){
 body.tte-page .tte-directory-hero{min-height:340px;background-position:35% center}
 body.tte-page .tte-directory-hero__copy>h1{font-size:28px}
 body.tte-page .tte-directory-feature__cards>.tte-directory-card{flex-basis:calc((100% - 12px)/2)}
 body.tte-page .tte-teacher-directory:not(.is-field) .tte-directory-grid>.tte-directory-card{flex-basis:calc((100% - 16px)/2)}
 body.tte-page .tte-directory-field-cards>div{grid-auto-columns:calc((100% - 14px)/2)}
 body.tte-page .tte-hero--store .tte-hero__slide,body.tte-page .tte-hero--store .tte-hero__inner{min-height:245px!important}
 body.tte-page .tte-hero--store .tte-hero__copy{max-width:100%;background:#193f3290;padding:18px;border-radius:8px}
 body.tte-page .tte-guide-visual{position:sticky!important;top:78px!important;z-index:3;background:#fcfdf9;padding:8px;border:1px solid #e1e7dc;border-radius:10px}
 body.tte-page .tte-guide-visual img{height:150px!important;aspect-ratio:auto!important;border-radius:7px!important}
 body.tte-page .tte-guide-visual figcaption{display:none}
 body.tte-page .tte-guide-visual>p{display:none!important}
 .tte-guide-gallery-controls{margin-top:7px;gap:16px}.tte-guide-gallery-controls button{height:30px;width:30px}
 .tte-straight-path{padding:20px 14px}
 .tte-straight-path>header h3{font-size:20px}
 .tte-straight-path>header>span{flex:0 0 36px;width:36px;height:36px}
 .tte-straight-stops{grid-template-columns:1fr;gap:0;padding:8px 0 24px}
 .tte-straight-stops a{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:14px;row-gap:2px;text-align:right;justify-items:start;padding-bottom:24px}
 .tte-straight-stops a>span{grid-row:1/3;width:40px;height:40px}
 .tte-straight-stops>li:not(:last-child)::after{top:40px;right:20px;width:1px;height:calc(100% - 40px)}
 .tte-straight-stops small{grid-column:2}
 body.tte-page .tte-straight-path .tte-journey-steps>ol{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){body.tte-page .tte-guide-visual img{transition:none}}

.tte-straight-path .tte-map-topics{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
.tte-straight-path .tte-map-topics a{padding:10px 6px!important;min-width:0!important;font-size:10px!important;display:flex!important;justify-content:center;align-items:center;gap:5px}
.tte-straight-path .tte-map-topics a svg{width:16px;height:16px;flex:0 0 16px}
.tte-media-related-course{margin-top:22px}.tte-media-related-course h2{font-size:18px}.tte-media-related-course h3{font-size:15px}
@media(max-width:800px){.tte-straight-path .tte-map-topics{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:650px){body.tte-page .tte-finder3__result{display:flex!important;flex-direction:column!important}body.tte-page .tte-guide-visual{order:-1!important}}
@media(max-width:400px){.tte-straight-path .tte-map-topics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

.tte-showcase-disclosure{background:#eef3e8;border-top:1px solid #dce3d5;color:#68765f;padding:14px 24px;text-align:center;font-size:11px;line-height:2.1;direction:rtl}
