/* RC16 reference-page corrections; approved Home is excluded by enqueue and selectors. */
/* RC11: reference composition of interior pages only. No homepage or shared-header overrides. */
/* Teacher profile: restrained pointed portrait, then genuine biography and relationships. */
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card{padding:30px;gap:22px 32px;grid-template-columns:260px minmax(0,1fr);background:#fcfdf9!important;border:1px solid #e1e7dc!important;position:relative;isolation:isolate}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card::before{content:'';position:absolute;top:12px;left:12px;width:105px;height:105px;background:url('../images/pattern-eslimi.svg') left top/contain no-repeat;opacity:.45;z-index:-1;pointer-events:none}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card::after{content:'';position:absolute;bottom:12px;left:12px;width:85px;height:85px;background:url('../images/pattern-eslimi.svg') left bottom/contain no-repeat;opacity:.3;z-index:-1;pointer-events:none}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__photo{position:relative;aspect-ratio:300/390;height:auto;width:260px;max-width:100%;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;padding:10px 11px 11px!important;box-sizing:border-box}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__photo img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 30%;border:0!important;border-radius:0!important;clip-path:polygon(4% 97%,4% 22%,6% 19%,12% 17%,39% 9%,45% 6%,50% 3.5%,55% 6%,61% 9%,88% 17%,94% 19%,96% 22%,96% 97%);mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 390'%3E%3Cpath fill='white' d='M11 379V85Q11 72 30 67L119 36Q137 28 150 14Q163 28 181 36L270 67Q289 72 289 85V379Z'/%3E%3C/svg%3E");mask-size:100% 100%;clip-path:none}
body.tte-site:not(.tte-screen-home) .tte-person-card__arch{position:absolute;inset:0;display:block;width:100%;height:100%;color:#b69b63;z-index:1;pointer-events:none}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__copy{align-self:center;padding:8px 0;min-width:0}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__copy h1{font-size:clamp(23px,2.4vw,31px);font-weight:750;line-height:1.85;margin:0 0 7px}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__role{font-size:15px;color:#193f32;margin:0 0 18px}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__facts{display:flex;flex-direction:column;align-items:flex-start;gap:10px;border:0;width:100%;max-width:480px}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__facts>span{display:flex;align-items:center;justify-content:flex-start;gap:13px;border:0;padding:0;width:auto;min-height:38px}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__facts i{display:grid;place-items:center;background:#eef3e8;border-radius:50%;width:38px;height:38px;flex:0 0 38px;color:#193f32}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__facts i>svg{width:21px;height:21px}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__facts b{font-size:13px;font-weight:500;line-height:1.9}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__about{grid-column:1/-1;text-align:right}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__about .tte-prose{font-size:14px;line-height:2.3;color:#53695b}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__contact{grid-column:1/-1;text-align:center}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__contact .tte-btn{box-shadow:none;min-height:42px;border-radius:7px;padding:10px 22px}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-single-related{padding:22px;background:#fcfdf9!important;margin-top:20px}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-single-related__head{gap:12px;align-items:center;margin-bottom:18px}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-single-related__head h2{font-size:18px;line-height:1.9;font-weight:700}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-teacher-course-card{border:1px solid #e1e7dc;border-radius:9px;overflow:hidden;background:#fcfdf9;box-shadow:none}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-teacher-course-card__media{display:block;aspect-ratio:1.8;overflow:hidden}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-teacher-course-card__media img{display:block;width:100%;height:100%;object-fit:cover}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-teacher-course-card__body{display:flex;flex-direction:column;gap:8px;padding:14px;min-height:120px}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-teacher-course-card__body>strong{font-size:14px;line-height:1.9;color:#193f32}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-teacher-course-card__meta{font-size:11px;color:#68765f}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-course-card__actions{padding:0 12px 12px!important;gap:7px!important}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-teacher-article-row{padding:12px 0;gap:14px;min-height:78px}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-teacher-article-row>img{width:100px;height:62px;object-fit:cover;border-radius:6px;flex-shrink:0}
body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-teacher-article-row__copy strong{font-size:13px;line-height:1.9}
/* Product: native WC forms and truthful gallery; no fabricated views or ratings. */
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail{gap:42px!important;padding:20px 12px 28px!important;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__visual{position:relative;background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__main-image{height:420px!important;border:1px solid #e1e7dc!important;background:#fcfdf9!important;border-radius:8px!important;overflow:hidden;position:relative}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__image-trigger{display:block;width:100%;height:100%;padding:18px!important;position:relative;border:0;background:transparent}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__image-trigger>img{display:block;width:100%;height:100%!important;object-fit:contain!important;max-height:100%}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__image-trigger>span{position:absolute;bottom:10px;left:10px;font-size:10px;color:#53695b;background:#fcfdf9e8;border:1px solid #e1e7dc;border-radius:5px;padding:3px 8px}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__badge{margin-top:10px;display:inline-flex;font-size:10px;background:#eef3e8;color:#193f32}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__info h2{font-size:28px;line-height:1.8;font-weight:750;margin:0 0 10px;color:#193f32}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__excerpt{font-size:14px;line-height:2.2;margin:0 0 18px;color:#53695b}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__facts{list-style:none;padding:0;margin:18px 0!important;display:flex;flex-direction:column;gap:7px!important}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__facts li{display:flex;align-items:center;justify-content:flex-start;gap:9px;border:0!important;padding:3px 0!important;min-height:30px;font-size:12px;line-height:1.9;flex-wrap:wrap}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__facts li>i{width:23px;flex:0 0 23px;display:grid;place-items:center;color:#193f32}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__facts li>i>svg{width:19px;height:19px}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__facts li>span{color:#68765f}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__facts li>b{font-size:12px;font-weight:500;color:#193f32}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__purchase{display:flex;flex-direction:column;align-items:flex-start!important;gap:14px!important;padding-top:4px!important}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__price{width:100%;font-size:24px;color:#193f32}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__purchase form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;width:100%;margin:0!important}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__purchase form.cart>.single_add_to_cart_button{flex:1 1 180px;white-space:nowrap;min-height:44px;box-shadow:none}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail__purchase form.cart>.quantity{flex:0 0 auto;min-height:44px}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-tabs{display:flex;gap:0;background:#fcfdf9;border:1px solid #e1e7dc;border-radius:9px 9px 0 0;margin-bottom:0!important;overflow-x:auto;scrollbar-width:thin}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-tabs>a{flex:1 0 auto;min-height:48px;display:flex;justify-content:center;align-items:center;padding:12px 18px;border:0!important;border-left:1px solid #e1e7dc!important;border-radius:0;font-size:13px;white-space:nowrap}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-tabs>a:last-child{border-left:0!important}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-tabs>a.is-active{background:#eef3e8;color:#193f32;box-shadow:inset 0 -2px #b69b63}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-description{padding:28px!important;margin-top:0!important;border-top:0!important;border-radius:0 0 9px 9px!important;background:#fcfdf9!important;position:relative;isolation:isolate;scroll-margin-top:100px}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-description::after{content:'';position:absolute;left:12px;bottom:18px;width:105px;height:105px;z-index:-1;background:url('../images/pattern-eslimi.svg') left bottom/contain no-repeat;opacity:.3;pointer-events:none}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-description h2{font-size:21px;line-height:1.9;margin:0 0 18px}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-description .tte-prose{font-size:14px;line-height:2.3;color:#53695b}
body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-description__cta{font-size:12px;line-height:2;min-height:60px;margin-top:24px;border-color:#d8c99f;color:#53695b}

body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-hero{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;padding:0!important;margin:-1px!important}
body.tte-site:not(.tte-screen-home) .tte-product-detail__info h1{font-size:30px;line-height:1.8;margin:0 0 10px;color:#193f32}
body.tte-site:not(.tte-screen-home) .tte-product-detail__visual{grid-column:2;grid-row:1}
body.tte-site:not(.tte-screen-home) .tte-product-detail__info{grid-column:1;grid-row:1;min-width:0}
body.tte-site:not(.tte-screen-home) .tte-product-description,.tte-demo-feedback{border:1px solid #e1e7dc;background:#fcfdf9;border-radius:9px;padding:24px;margin:0 0 20px}
body.tte-site:not(.tte-screen-home) .tte-product-tabs{margin-top:24px}
body.tte-site:not(.tte-screen-home) .tte-product-tabs a{flex:1;text-align:center;padding:16px}
body.tte-site:not(.tte-screen-home) .tte-product-tabs a.is-active{background:#f3f6ed;border-bottom:2px solid #24503c}
body.tte-site:not(.tte-screen-home) .tte-product-description[hidden],.tte-demo-feedback[hidden]{display:none!important}
body.tte-site:not(.tte-screen-home) #tte-page .tte32-recommend .tte32-card-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
body.tte-site:not(.tte-screen-home) .tte32-detail-hero{background:#f3f6ed}
body.tte-site:not(.tte-screen-home) .tte32-demo-lessons{padding:0;list-style:none}
body.tte-site:not(.tte-screen-home) .tte32-demo-lessons li{border-bottom:1px solid #e1e7dc}
body.tte-site:not(.tte-screen-home) .tte32-demo-lessons a{display:grid;grid-template-columns:90px minmax(0,1fr) 70px 22px;gap:12px;align-items:center;padding:13px 15px}
body.tte-site:not(.tte-screen-home) .tte32-demo-lessons svg{width:18px;height:18px;vertical-align:middle}
body.tte-site:not(.tte-screen-home) .tte-directory-grid .tte-directory-card__photo{width:100%!important;height:138px!important;aspect-ratio:1.3!important;border-radius:8px!important;object-fit:cover;overflow:hidden}
body.tte-site:not(.tte-screen-home) .tte-directory-grid .tte-directory-card__photo img{width:100%;height:100%;object-fit:cover}
.tte-demo-feedback h2{font-size:20px}.tte-demo-feedback article{border:1px solid #e1e7dc;border-radius:8px;padding:16px;margin:14px 0}.tte-demo-feedback details>summary{display:inline-flex;cursor:pointer}.tte-demo-feedback label{display:block;margin:12px 0}.tte-demo-feedback input,.tte-demo-feedback textarea{display:block;width:100%;border:1px solid #dbe3d3;border-radius:7px;padding:12px;font:inherit;background:#fff;color:#30463b}.tte-demo-feedback [role=status]{font-size:12px;color:#63745c}
.tte-sample-screen{padding-block:35px 70px;min-height:55vh}.tte-sample-screen h1{font-size:28px}.tte-sample-notice{padding:14px 18px;background:#f4eedc;border:1px solid #dfd1ab;border-radius:9px;color:#6d623f}.tte-sample-screen nav{margin-block:24px}.tte-sample-cart-row{display:grid;grid-template-columns:1fr 160px 75px 60px;gap:16px;align-items:center;border:1px solid #dfe5d6;background:#fcfdf9;border-radius:8px;padding:20px;margin:12px 0}.tte-sample-cart-row input{width:70px;padding:8px;border:1px solid #ccd7c6;border-radius:5px;font:inherit}.tte-sample-cart-row button{padding:8px;border:1px solid #d7dfcd;background:#fff;color:#3c5140;border-radius:5px;font:inherit}.tte-sample-lesson-layout{display:grid;grid-template-columns:2.4fr 1fr;gap:25px;line-height:2.4}.tte-sample-lesson-layout li{margin-block:10px}.tte-sample-screen [aria-current=page]{font-weight:800;color:#0b513b}.tte-sample-screen form>*{margin:12px}
@media(max-width:900px){body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card{grid-template-columns:215px minmax(0,1fr);padding:24px}body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__photo{width:215px}body.tte-site:not(.tte-screen-home) #tte-page .tte32-recommend .tte32-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tte-sample-lesson-layout{grid-template-columns:1fr}}
@media(max-width:650px){body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card{display:flex;flex-direction:column;padding:20px;gap:18px}body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__photo{width:200px;height:260px;align-self:center}body.tte-site:not(.tte-screen-home) .tte-single--teacher .tte-person-card__copy{width:100%}body.tte-site:not(.tte-screen-home) .tte-single--product .tte-product-detail{display:flex!important;flex-direction:column!important;gap:22px!important;padding-inline:0!important}body.tte-site:not(.tte-screen-home) .tte-product-detail__visual,body.tte-site:not(.tte-screen-home) .tte-product-detail__info{width:100%!important}body.tte-site:not(.tte-screen-home) .tte-product-detail__main-image{height:340px!important}body.tte-site:not(.tte-screen-home) .tte-product-detail__info h1{font-size:25px}.tte-sample-cart-row{grid-template-columns:1fr 1fr;padding:15px;gap:12px}.tte-demo-feedback{padding:16px}body.tte-site:not(.tte-screen-home) .tte32-demo-lessons a{grid-template-columns:60px minmax(0,1fr) 45px 18px;gap:6px;font-size:11px}body.tte-site:not(.tte-screen-home) .tte-product-tabs a{padding:12px 5px;font-size:12px}}

body.tte-site:not(.tte-screen-home) #tte-page .tte-product-detail{direction:rtl!important}
