/* RC12: responsive layout, not a new visual design. Desktop content styles remain intact.
   Explicit contact-hero correction is shared at all widths, as requested. */
body.tte-page .tte-ct__band{background:#193f32!important;isolation:isolate}
body.tte-page .tte-ct__bandtext h1,body.tte-page .tte-ct__bandtext h1 em{color:#fcfdf9!important;font-style:normal!important;font-family:Vazirmatn,Tahoma,sans-serif!important;font-weight:800!important}
body.tte-page .tte-ct__bandimg::after{background:linear-gradient(90deg,transparent 25%,#193f3299 70%,#193f32 100%)!important}
@media(max-width:1100px){
 body.tte-page{--tte-safe-x:max(18px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px))}
 body.tte-page :is(.tte-container,.tte-directory-container){width:calc(100% - var(--tte-safe-x) - var(--tte-safe-x))!important;max-width:100%!important}
 body.tte-page :is(.tte-container,.tte-directory-container)>*{min-width:0}
 body.tte-page :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:16px!important;line-height:1.7;max-width:100%;min-width:0}
 body.tte-page :is(input[type=checkbox],input[type=radio]){width:20px;height:20px;flex-shrink:0;accent-color:#193f32}
 body.tte-page :is(.tte-btn,.ttv-btn,.tte-directory-profile,.tte-ct__submit,.tte-ct__ctabtn,.single_add_to_cart_button){min-height:44px!important;line-height:1.8!important}
 body.tte-page :is(.tte-quantity-step,[data-product-gallery-step],.tte-directory-carousel-controls button,.tte-guide-gallery-controls button,.tte-podcast-control){min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;flex-basis:44px!important}
 body.tte-page :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #b69b63!important;outline-offset:3px!important}
 body.tte-page :is(.tte-section__description,.tte-prose,.tte-split__text p,.tte-intro__copy p){font-size:15px!important;line-height:2.15!important}
 body.tte-page :is(.tte-section__head,.tte-single-related__head,.tte-directory-learning>header){gap:14px;flex-wrap:wrap;align-items:center}
 body.tte-page :is(.tte-section__title,.tte-directory-feature>header h2){font-size:clamp(22px,3vw,28px)!important;line-height:1.8!important}
 /* Match the CSS drawer breakpoint and keep a readable keyboard-accessible menu. */
 body.tte-page #tte-primary-nav:not(.is-open){display:none!important}
 body.tte-page #tte-primary-nav.is-open{display:flex!important;position:fixed!important;inset:0 0 0 auto!important;z-index:9999!important;width:min(370px,calc(100vw - 32px))!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain;padding:env(safe-area-inset-top,0px) 0 max(20px,env(safe-area-inset-bottom,0px))!important;gap:0!important;border-radius:0!important;box-shadow:-15px 0 35px #102d2738!important;transform:none!important;flex-direction:column!important;align-items:stretch!important;background:#fcfdf9!important}
 body.tte-page #tte-primary-nav.is-open>a{font-size:15px!important;min-height:48px!important;padding:12px 20px!important;white-space:normal!important;width:100%!important}
 body.tte-page #tte-primary-nav .tte-nav__bar{position:sticky;top:0;padding:12px 16px!important;gap:12px}
 body.tte-page #tte-primary-nav .tte-nav__close{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
 body.tte-page #tte-primary-nav .tte-nav__search{margin:16px!important;width:calc(100% - 32px)!important;min-width:0!important}
 body.tte-page #tte-site-header .tte-cart-link{width:44px!important;min-width:44px!important;height:44px!important;flex:0 0 44px!important}
 body.tte-page #tte-site-header .tte-btn--header-auth{min-height:44px!important}
 html.tte-nav-open,html.tte-nav-open body{overflow:hidden!important}
 /* Interior hero typography and image crop; no additional opaque text-box on mobile. */
 body.tte-page .tte-hero:not(.tte-hero--home){min-height:300px!important;height:300px!important}
 body.tte-page .tte-hero:not(.tte-hero--home) :is(.tte-hero__slide,.tte-hero__inner){min-height:300px!important}
 body.tte-page .tte-hero:not(.tte-hero--home) .tte-hero__copy{max-width:70%;width:auto;background:none!important;padding:24px 0!important;border-radius:0!important}
 body.tte-page .tte-hero:not(.tte-hero--home) .tte-hero__title{font-size:clamp(28px,4vw,38px)!important;line-height:1.7!important}
 body.tte-page .tte-hero:not(.tte-hero--home) .tte-hero__subtitle{font-size:14px!important;line-height:2.1!important;max-width:54ch}
 body.tte-page .tte-hero__actions{gap:12px;flex-wrap:wrap}
 body.tte-page .tte-hero__nav button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
 body.tte-page .tte-hero__dots{gap:4px!important;align-items:center!important}
 body.tte-page .tte-hero__dots>button{position:relative;width:44px!important;height:44px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
 body.tte-page .tte-hero__dots>button::before{content:'';position:absolute;width:9px;height:9px;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #d5bc7c;border-radius:50%;background:#fcfdf955}
 body.tte-page .tte-hero__dots>button.is-active::before{width:12px;height:12px;background:#d5bc7c}
 /* Contact hero: one continuous art layer, one title colour. */
 body.tte-page .tte-ct__band{display:flex!important;align-items:center;min-height:290px!important;margin:0!important;position:relative!important}
 body.tte-page .tte-ct__bandimg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:-1!important}
 body.tte-page .tte-ct__bandimg img{height:100%!important;object-fit:cover;object-position:left center}
 body.tte-page .tte-ct__bandimg::after{background:linear-gradient(270deg,#193f32f5 2%,#193f32dd 45%,#193f3259 80%,#193f3233)!important}
 body.tte-page .tte-ct__bandtext{width:72%;padding:28px!important;margin-right:0;gap:12px}
 body.tte-page .tte-ct__bandtext h1{font-size:32px!important;line-height:1.75!important}
 body.tte-page .tte-ct__bandtext p{font-size:14px!important;color:#e3ebdf;line-height:2.1}
 body.tte-page .tte-section--contact{padding-top:24px!important}
 body.tte-page .tte-ct>.tte-container{width:100%!important}
 body.tte-page .tte-ct__grid{grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
 body.tte-page .tte-ct__card{padding:24px!important;border-radius:10px!important}
 body.tte-page .tte-ct__card>header{text-align:right!important}
 body.tte-page .tte-ct__card>header p{font-size:14px!important;line-height:2.1!important}
 body.tte-page .tte-ct__field{min-width:0}
 body.tte-page .tte-ct__field :is(input,select){min-height:50px!important}
 body.tte-page .tte-ct__field textarea{min-height:175px!important;resize:vertical}
 body.tte-page .tte-ct__consent{align-items:flex-start;gap:10px;line-height:2.1;min-height:44px}
 body.tte-page .tte-ct__consent input{margin-top:6px}
 body.tte-page .tte-ct__cta{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-height:250px!important;border-radius:10px!important;box-shadow:none!important;isolation:isolate;background:#193f32!important}
 body.tte-page .tte-ct__ctaimg{position:absolute!important;inset:0!important;min-height:0!important;width:100%!important;height:100%!important;order:0!important;z-index:-1!important}
 body.tte-page .tte-ct__ctaimg img{height:100%!important;object-position:left center!important}
 body.tte-page .tte-ct__ctaimg::after{background:linear-gradient(270deg,#193f32 4%,#193f32ed 48%,#193f3280 100%)!important}
 body.tte-page .tte-ct__ctatext{width:72%;padding:30px!important;gap:13px!important}
 body.tte-page .tte-ct__ctatext h2{font-size:26px!important;line-height:1.8!important;color:#fcfdf9!important;text-wrap:balance}
 body.tte-page .tte-ct__ctatext p{font-size:15px!important;line-height:2.1!important;color:#e3ebdf!important;max-width:45ch}
 body.tte-page .tte-ct__ctabtn{justify-content:center;min-width:160px;min-height:48px!important;padding:10px 20px!important;border-radius:7px!important;font-size:14px!important}
 body.tte-page .tte-ct__faqlist summary{min-height:52px;padding-block:14px!important;font-size:14px!important;line-height:2}
 /* Course filters: three controls across tablets, rather than a tall sparse three-row form. */
 body.tte-page .tte32-filter-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;padding:18px!important;align-items:end!important}
 body.tte-page .tte32-filter-options fieldset{grid-column:1/-1!important;grid-row:auto!important;align-self:start!important}
 body.tte-page .tte32-filter-options fieldset label{min-height:44px;font-size:13px!important;gap:10px}
 body.tte-page .tte32-filter-options>label{grid-column:auto!important;grid-row:auto!important;font-size:13px!important;min-width:0}
 body.tte-page .tte32-filter-options select{min-height:48px!important;margin-top:8px!important;font-size:16px!important}
 body.tte-page .tte32-filter-options>button{grid-column:1/-1!important;grid-row:auto!important;justify-self:end;min-height:44px!important;min-width:150px;font-size:13px!important}
 body.tte-page .tte32-card-grid{gap:20px!important}
 body.tte-page :is(.tte32-card h3,.tte-product-card h3,.tte-card__title){font-size:16px!important;line-height:1.9!important}
 body.tte-page :is(.tte32-card-body>p,.tte-product-card p,.tte-card__text){font-size:14px!important;line-height:2!important}
 body.tte-page :is(.tte32-card-buttons,.tte-course-card__actions){gap:10px!important}
 body.tte-page :is(.tte32-card-buttons,.tte-course-card__actions) :is(a,button){font-size:12px!important;min-height:44px!important}
 body.tte-page .tte32-feature{gap:22px!important;align-items:start!important}
 body.tte-page .tte32-feature-copy p{font-size:14px!important;line-height:2.1!important}
 body.tte-page .tte32-feature-cta{gap:10px!important}
 /* Directory: tablet space for actual filters and named teachers, not compressed metadata. */
 body.tte-page .tte-directory-hero__copy{width:calc(100% - var(--tte-safe-x) - var(--tte-safe-x))!important}
 body.tte-page .tte-directory-hero__copy>h1{font-size:32px!important;line-height:1.8}
 body.tte-page .tte-directory-selects{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
 body.tte-page .tte-directory-fields label{min-height:44px;align-items:center;font-size:13px!important}
 body.tte-page .tte-directory-card h3{font-size:15px!important}
 body.tte-page .tte-directory-card__body>p{font-size:12px!important}
 body.tte-page .tte-directory-card .tte-directory-profile{font-size:12px!important;min-height:44px!important}
 body.tte-page .tte-directory-stats{font-size:12px!important;flex-wrap:wrap}
 body.tte-page .is-field .tte-directory-results-shell{grid-template-columns:minmax(0,1fr)!important}
 body.tte-page .is-field .tte-directory-sidebar{grid-column:1!important;grid-row:auto!important;padding:20px!important}
 body.tte-page .is-field .tte-directory-sidebar form{gap:16px!important}
 body.tte-page .is-field .tte-directory-sidebar .tte-directory-fields{flex-direction:row!important;flex-wrap:wrap}
 body.tte-page .is-field .tte-directory-sidebar__art{display:none}
 body.tte-page .is-field .tte-directory-results-content{grid-column:1!important}
 body.tte-page .tte-recovery__tabs button{min-height:46px!important}
 body.tte-page .tte-product-tabs>a{min-height:48px!important}
 body.tte-page .tte32-detail-nav{display:flex!important;overflow-x:auto;gap:12px!important;white-space:nowrap;scroll-padding-inline:16px}
 body.tte-page .tte32-detail-nav>a{flex:0 0 auto;min-height:44px;font-size:13px!important}
 body.tte-page :is(.tte-archive__thumb,.tte-archive__image){flex-shrink:0}
}
@media(max-width:1000px){
 /* Preserve the six-image scroll interaction but give tablet prose its full readable width. */
 body.tte-page .tte-finder3__result{display:flex!important;flex-direction:column!important;gap:22px!important;padding:24px!important}
 body.tte-page .tte-finder3__result>div{width:100%!important}
 body.tte-page .tte-guide-visual{order:-1!important;position:sticky!important;top:84px!important;width:100%!important;z-index:3;background:#fcfdf9;padding:10px;border:1px solid #e1e7dc;border-radius:9px}
 body.tte-page .tte-guide-visual img{height:200px!important;aspect-ratio:auto!important;width:100%;object-fit:cover}
 body.tte-page .tte-guide-visual figcaption{display:none}
 body.tte-page .tte-guide-visual>p{display:none!important}
 body.tte-page .tte-finder3__result p{font-size:15px!important;line-height:2.2!important}
 body.tte-page .tte-finder3__result [data-finder-result]{font-size:25px!important;line-height:1.85}
 body.tte-page .tte-journey-reading__panel>header{gap:20px;padding:24px!important}
 body.tte-page .tte-journey-reading__panel>header h2{font-size:25px!important;line-height:1.9}
}
@media(max-width:700px){
 body.tte-page{--tte-safe-x:max(16px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px))}
 body.tte-page :is(.tte-section__title,.tte-directory-feature>header h2){font-size:23px!important}
 body.tte-page .tte-hero:not(.tte-hero--home){height:270px!important;min-height:270px!important}
 body.tte-page .tte-hero:not(.tte-hero--home) :is(.tte-hero__slide,.tte-hero__inner){min-height:270px!important}
 body.tte-page .tte-hero:not(.tte-hero--home) .tte-hero__copy{max-width:100%;padding:26px 0!important}
 body.tte-page .tte-hero:not(.tte-hero--home) .tte-hero__title{font-size:29px!important}
 body.tte-page .tte-hero__dot-preview{display:none!important}
 body.tte-page .tte-ct__band{margin-top:0!important;min-height:300px!important}
 body.tte-page .tte-ct__bandtext{width:100%;padding:28px 22px!important}
 body.tte-page .tte-ct__bandtext h1{font-size:29px!important}
 body.tte-page .tte-ct__bandimg::after{background:linear-gradient(270deg,#193f32ed,#193f32ba 75%,#193f32aa)!important}
 body.tte-page .tte-ct__card{padding:20px!important}
 body.tte-page .tte-ct__ctatext{width:100%;padding:28px 22px!important}
 body.tte-page .tte-ct__ctatext h2{font-size:24px!important}
 body.tte-page .tte-ct__ctatext p{font-size:14px!important}
 body.tte-page .tte-ct__ctaimg::after{background:linear-gradient(270deg,#193f32f2,#193f32cc 80%,#193f32aa)!important}
 body.tte-page .tte32-filter-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:14px!important;gap:14px!important}
 body.tte-page .tte32-filter-options>button{grid-column:auto!important;min-width:0;justify-self:stretch;width:100%}
 body.tte-page .tte32-filter-options select{font-size:16px!important;padding-inline:8px!important}
 body.tte-page .tte32-feature{display:flex!important;flex-direction:column!important}
 body.tte-page .tte32-feature-photo{width:100%!important;order:-1}
 body.tte-page .tte32-feature-copy{width:100%!important}
 body.tte-page .tte-directory-feature__cards>.tte-directory-card{flex-basis:min(78vw,300px)!important}
 body.tte-page .tte-teacher-directory:not(.is-field) .tte-directory-grid>.tte-directory-card{flex-basis:min(72vw,280px)!important}
 body.tte-page .tte-directory-selects{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.tte-page .is-field .tte-directory-field-feature{grid-template-columns:1fr!important}
 body.tte-page .tte-directory-card__body{padding:16px!important}
 body.tte-page .is-field .tte-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
 body.tte-page .tte-directory-hero__copy>h1{font-size:29px!important}
 body.tte-page .tte-directory-learning>header{display:flex;flex-wrap:wrap;gap:14px}
 body.tte-page .tte-finder3__result{padding:18px!important;gap:18px!important}
 body.tte-page .tte-guide-visual{top:78px!important;padding:8px}
 body.tte-page .tte-guide-visual img{height:145px!important}
 body.tte-page .tte-finder3__result p{font-size:14px!important;line-height:2.2!important}
 body.tte-page .tte-finder3__result [data-finder-result]{font-size:23px!important}
 body.tte-page .tte-product-detail__purchase form.cart .single_add_to_cart_button{font-size:14px!important}
 body.tte-page :is(.tte-cart-item__identity strong,.tte-cart-item__identity a){overflow-wrap:anywhere}
 body.tte-page .tte-journey-reading__panel>header{display:flex;flex-direction:column;align-items:stretch;padding:20px!important}
 body.tte-page .tte-journey-reading__panel>header img{width:100%!important;max-height:200px;object-fit:cover!important}
 body.tte-page .tte-journey-reading__panel>header h2{font-size:23px!important}
 body.tte-page .tte-journey-prose{font-size:14px!important;line-height:2.2!important}
}
@media(max-width:480px){
 body.tte-page .is-field .tte-directory-grid{grid-template-columns:minmax(0,1fr)!important}
 body.tte-page .tte-product-detail__purchase form.cart>.single_add_to_cart_button{flex-basis:100%!important}
 body.tte-page .tte-product-detail__purchase form.cart>.quantity{margin-bottom:2px}
 body.tte-page .tte-person-card__facts b{font-size:14px!important}
 body.tte-page .ttv-grid-sim,body.tte-page .ttv-grid-sim--4{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-height:540px) and (max-width:1100px){
 body.tte-page .tte-guide-visual{position:relative!important;top:auto!important}
 body.tte-page .tte-guide-visual img{height:150px!important}
}
@media(prefers-reduced-motion:reduce){body.tte-page .tte-hero__dots>button::before{transition:none}}
@media(max-width:1100px){
 body.tte-page #tte-site-header .tte-account--user{min-height:44px!important;font-size:12px!important;padding:8px 10px!important;min-width:0}
 body.tte-page #tte-site-header .tte-account__name{display:block;max-width:110px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.tte-page #tte-site-header .tte-account-dropdown{max-width:calc(100vw - 32px);overflow-wrap:anywhere}
}
@media(max-width:400px){body.tte-page #tte-site-header .tte-account__avatar{display:none!important}body.tte-page #tte-site-header .tte-account__name{max-width:72px!important}}
@media(max-width:1100px){
 body.tte-page #tte-primary-nav .tte-search-wrap{display:block!important;width:auto!important;max-width:none!important;min-width:0!important;padding:0!important;margin:0!important}
 body.tte-page #tte-primary-nav .tte-nav__search{display:flex!important;max-width:calc(100% - 32px)!important}
 body.tte-page .tte-single--product .tte-product-detail__purchase form.cart .single_add_to_cart_button{min-height:48px!important;height:auto!important;padding:11px 18px!important;font-size:14px!important}
}
@media(max-width:1100px){
 body.tte-page .tte-hero--home .tte-hero__nav{inset:auto auto 18px 16px!important;width:100px!important;height:44px!important;display:flex!important;gap:12px!important;justify-content:flex-start!important;transform:none!important}
 body.tte-page .tte-hero--home .tte-hero__nav button{position:static!important;flex:0 0 44px!important;width:44px!important;height:44px!important;transform:none!important}
 body.tte-page .tte-hero--home .tte-hero__dots{inset:auto auto 18px 132px!important;width:auto!important;height:44px!important;transform:none!important;gap:4px!important}
 body.tte-page .tte-hero--home .tte-hero__dots>button,body.tte-page .tte-hero--home .tte-hero__dots>button.is-active{flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;border-radius:0!important}
}
