/* Tutorshub v8.6.0 — seven one-click header + footer collections */
.th-pair-extra{position:relative;z-index:2}
.th-header-search input,.th-smart-search input,.th-learning-news input{box-shadow:none!important}

/* 01 — Tutor Finder */
html body .site-header.th-pair-tutor-finder .th84-topbar{background:#031d3d!important;color:#c7d8e9!important}
html body .site-header.th-pair-tutor-finder .th84-nav{background:#fff!important;box-shadow:none!important}
.site-header.th-pair-tutor-finder .th-pair-search-strip{padding:11px 0 12px;background:#eef6ff;border-top:1px solid #e2ebf5;border-bottom:1px solid #dce8f5}
.site-header.th-pair-tutor-finder .th-pair-search-strip>.th84-shell{display:grid;grid-template-columns:minmax(420px,690px) auto;align-items:center;justify-content:space-between;gap:24px}
.th-header-search{display:grid;grid-template-columns:1fr .78fr auto;align-items:center;min-height:44px;margin:0;overflow:hidden;border:1px solid #d9e4f0;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(3,29,61,.06)}
.th-header-search label{display:flex;align-items:center;gap:7px;height:100%;padding:0 13px;color:#126bd4}
.th-header-search label+label{border-left:1px solid #e2e9f1}
.th-header-search input{height:40px!important;min-height:40px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:12px!important}
.th-header-search button{align-self:stretch;margin:4px;padding:0 15px;border:0;border-radius:9px;color:#031d3d;background:#ffd21f;font-size:12px;font-weight:900;white-space:nowrap}
.th-search-trust{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px 13px;color:#38546f;font-size:10px;font-weight:800}
.footer.th-pair-tutor-finder{background:#031d3d!important}.footer.th-pair-tutor-finder .footergrid{grid-template-columns:1.45fr repeat(3,.75fr)!important;gap:42px!important}.footer.th-pair-tutor-finder .footer-pill{border-radius:10px!important}

/* 02 — Two-Sided Hub */
html body .site-header.th-pair-two-sided-hub .th84-topbar{display:none!important}
html body .site-header.th-pair-two-sided-hub .th84-nav{background:#fff!important;box-shadow:0 8px 25px rgba(3,29,61,.06)!important}
.th-role-strip{display:grid;grid-template-columns:1fr 1fr;color:#fff;background:#073a78}
.th-role-strip a{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;justify-content:center;column-gap:10px;min-height:48px;padding:6px 20px}
.th-role-strip a:first-child{border-right:1px solid rgba(255,255,255,.16)}
.th-role-strip a:last-child{color:#031d3d;background:#ffd21f}
.th-role-strip a>span{grid-row:1/3;font-size:19px}.th-role-strip strong{align-self:end;font-size:12px}.th-role-strip small{align-self:start;font-size:9px;opacity:.72}
.footer.th-pair-two-sided-hub{background:#031d3d!important;padding-top:0!important}
.th-dual-cta{display:grid;grid-template-columns:1fr 1fr}
.th-dual-cta a{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;min-height:112px;padding:24px max(5%,30px);color:#fff!important;background:#0754ad}
.th-dual-cta a:last-child{color:#031d3d!important;background:#ffd21f}
.th-dual-cta small{grid-column:1;font-size:10px;font-weight:850;letter-spacing:.11em;text-transform:uppercase;opacity:.76}.th-dual-cta strong{grid-column:1;font-size:clamp(18px,2.2vw,28px);line-height:1.08}.th-dual-cta span{grid-column:2;grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border:1px solid currentColor;border-radius:50%;font-size:19px}
.footer.th-pair-two-sided-hub .footergrid{grid-template-columns:1.25fr repeat(3,.75fr)!important}

/* 03 — Subject Strip */
html body .site-header.th-pair-subject-strip .th84-topbar{background:#031d3d!important}
html body .site-header.th-pair-subject-strip .th84-nav{background:#073a78!important;box-shadow:none!important}
.site-header.th-pair-subject-strip .th84-brand{padding:7px 11px!important;border-radius:10px;background:#fff!important}
.site-header.th-pair-subject-strip .th84-links a{color:#fff!important}.site-header.th-pair-subject-strip .th84-outline{color:#fff!important;border-color:rgba(255,255,255,.22)!important;background:rgba(255,255,255,.07)!important}.site-header.th-pair-subject-strip .th-language-switch{border-color:rgba(255,255,255,.18)!important;background:#fff!important}
.th-subject-strip{min-height:40px;background:#ffd21f;overflow:auto;scrollbar-width:none}.th-subject-strip::-webkit-scrollbar{display:none}.th-subject-strip>.th84-shell{display:flex;align-items:center;min-height:40px;width:max-content!important;min-width:94%}.th-subject-strip strong,.th-subject-strip a{flex:0 0 auto;padding:0 16px;border-right:1px solid rgba(3,29,61,.13);color:#031d3d;font-size:10px;font-weight:800}.th-subject-strip strong{padding-left:0;font-weight:950}
.footer.th-pair-subject-strip{position:relative;background:#062956!important;padding-top:0!important}.footer.th-pair-subject-strip:after{content:"Tutorshub";position:absolute;left:-.04em;right:0;bottom:-.22em;z-index:0;color:rgba(255,255,255,.035);font-size:clamp(86px,17vw,220px);font-weight:950;line-height:1;letter-spacing:-.085em;white-space:nowrap;pointer-events:none}.footer.th-pair-subject-strip>.container{position:relative;z-index:1}
.th-learning-news{display:grid;grid-template-columns:1fr minmax(300px,470px);align-items:center;gap:30px;padding:27px max(5%,30px);color:#031d3d;background:#ffd21f}.th-learning-news>div{display:grid}.th-learning-news strong{font-size:clamp(19px,2.6vw,30px);line-height:1.1}.th-learning-news span{margin-top:5px;font-size:11px;opacity:.72}.th-learning-news form{display:flex;height:45px;padding:4px;border:1px solid rgba(3,29,61,.14);border-radius:12px;background:rgba(255,255,255,.8)}.th-learning-news input{min-width:0;flex:1;height:auto!important;padding:0 11px!important;border:0!important;background:transparent!important;font-size:11px!important}.th-learning-news button{padding:0 15px;border:0;border-radius:8px;color:#fff;background:#031d3d;font-size:10px;font-weight:850}

/* 04 — Smart Search */
html body .site-header.th-pair-smart-search{padding:14px 20px 0!important;background:radial-gradient(circle at 14% 0,#2f86e5 0,#0754ad 38%,#031d3d 100%)!important}
html body .site-header.th-pair-smart-search .th84-topbar{display:none!important}
html body .site-header.th-pair-smart-search .th84-nav{width:min(var(--th-hf-header-max),100%)!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:18px!important;background:rgba(255,255,255,.11)!important;box-shadow:none!important;backdrop-filter:blur(18px)!important}
.site-header.th-pair-smart-search .th84-brand{padding:6px 10px!important;border-radius:10px;background:#fff!important}.site-header.th-pair-smart-search .th84-links a{color:#fff!important}.site-header.th-pair-smart-search .th84-outline{color:#fff!important;border-color:rgba(255,255,255,.22)!important;background:rgba(255,255,255,.06)!important}
.site-header.th-pair-smart-search .th-smart-search{padding:15px 0 20px}.th-smart-search>.th84-shell{display:grid;justify-items:center}.th-smart-caption{margin-bottom:8px;color:#d5e9ff;font-size:10px;font-weight:750}.th-smart-search form{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;width:min(760px,100%);min-height:50px;padding:4px;border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(0,0,0,.18)}.th-smart-search label{display:flex;align-items:center;gap:8px;height:100%;padding:0 13px;color:#126bd4}.th-smart-search label+label{border-left:1px solid #e0e8f1}.th-smart-search input{height:40px!important;min-height:40px!important;padding:0!important;border:0!important;background:transparent!important;font-size:11px!important}.th-smart-search button{height:42px;padding:0 16px;border:0;border-radius:10px;color:#031d3d;background:#ffd21f;font-size:11px;font-weight:900}
.footer.th-pair-smart-search{margin:22px!important;border-radius:24px!important;background:#031d3d!important}.footer.th-pair-smart-search .footergrid{grid-template-columns:1.45fr repeat(3,.7fr)!important}.footer.th-pair-smart-search .footergrid>div{padding:20px;border:1px solid rgba(255,255,255,.09);border-radius:16px;background:rgba(255,255,255,.04)}.footer.th-pair-smart-search .footer-brand{background:#073a78!important}.footer.th-pair-smart-search .footer-bottom{margin-left:0!important;margin-right:0!important}

/* 05 — Premium Wordmark */
html body .site-header.th-pair-premium-wordmark .th84-topbar{background:#ffd21f!important;color:#031d3d!important}
html body .site-header.th-pair-premium-wordmark .th-hf-top-left,html body .site-header.th-pair-premium-wordmark .th-hf-top-right{text-align:center!important}
html body .site-header.th-pair-premium-wordmark .th84-nav{grid-template-columns:1fr auto 1fr!important;grid-template-rows:64px 44px!important;height:108px!important;min-height:108px!important;background:#fff!important;box-shadow:none!important}
.site-header.th-pair-premium-wordmark .th84-brand{grid-column:2;grid-row:1;justify-self:center}.site-header.th-pair-premium-wordmark .th84-links{grid-column:1/-1;grid-row:2;align-self:stretch;border-top:1px solid #e5ebf1}.site-header.th-pair-premium-wordmark .th84-links a{padding:13px 0 11px!important;font-size:11px!important;letter-spacing:.055em;text-transform:uppercase}.site-header.th-pair-premium-wordmark .th84-actions{grid-column:3;grid-row:1;justify-self:end}.site-header.th-pair-premium-wordmark .th84-links a.is-active:after{bottom:0!important}.site-header.th-pair-premium-wordmark .th84-logo-img{width:190px!important}
.footer.th-pair-premium-wordmark{padding-top:0!important;color:#637382!important;background:#f8f8f5!important}.footer.th-pair-premium-wordmark .th-editorial-cta{display:flex;align-items:end;justify-content:space-between;gap:30px;padding:36px max(5%,30px);border-top:5px solid #ffd21f;border-bottom:1px solid #d9e0e5}.th-editorial-cta strong{max-width:760px;color:#031d3d;font-size:clamp(29px,5vw,58px);line-height:.98;letter-spacing:-.055em}.th-editorial-cta a{flex:0 0 auto;padding-bottom:5px;color:#031d3d!important;border-bottom:2px solid #031d3d;font-size:11px;font-weight:900}.footer.th-pair-premium-wordmark .footergrid{grid-template-columns:1.35fr repeat(3,.7fr)!important}.footer.th-pair-premium-wordmark h4{color:#031d3d!important}.footer.th-pair-premium-wordmark p,.footer.th-pair-premium-wordmark a,.footer.th-pair-premium-wordmark .copy,.footer.th-pair-premium-wordmark .footer-note{color:#637382!important}.footer.th-pair-premium-wordmark .footer-pill{color:#031d3d!important;border-color:#ccd6df!important;background:#fff!important}.footer.th-pair-premium-wordmark .footer-bottom{border-color:#d9e0e5!important}

/* 06 — Marketplace App Bar */
html body .site-header.th-pair-marketplace-appbar .th84-topbar{display:none!important}
html body .site-header.th-pair-marketplace-appbar .th84-nav{height:68px!important;min-height:68px!important;background:#fff!important;border-bottom:1px solid #dfe7f0!important;box-shadow:none!important}.site-header.th-pair-marketplace-appbar .th84-logo-img{width:158px!important}.site-header.th-pair-marketplace-appbar .th84-links{justify-content:flex-start!important}.site-header.th-pair-marketplace-appbar .th84-links a{font-size:12px!important}.site-header.th-pair-marketplace-appbar .th84-actions>a,.site-header.th-pair-marketplace-appbar .th-language-switch{height:38px!important;border-radius:9px!important}.site-header.th-pair-marketplace-appbar .th84-green{padding:0 13px!important}
.th-appbar-strip{background:#f0f7ff}.th-appbar-strip>.th84-shell{display:flex;align-items:center;justify-content:space-between;min-height:38px}.th-appbar-strip nav{display:flex;gap:20px;color:#536a80;font-size:10px;font-weight:750}.th-appbar-strip>div>span{display:flex;align-items:center;gap:7px;color:#0754ad;font-size:10px;font-weight:850}.th-appbar-strip i{width:7px;height:7px;border-radius:50%;background:#20b26b;box-shadow:0 0 0 4px rgba(32,178,107,.11)}
.footer.th-pair-marketplace-appbar{background:#031d3d!important}.footer.th-pair-marketplace-appbar .footergrid{grid-template-columns:1.2fr repeat(3,.75fr)!important}.th-footer-trust{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.th-footer-trust span{padding:7px 9px;border:1px solid rgba(255,255,255,.1);border-radius:7px;color:#aebfd5;font-size:9px;font-weight:750}.footer.th-pair-marketplace-appbar .footer-bottom:after{content:"● All systems operational";color:#27c779;font-weight:800}

/* 07 — Learning Orbit */
html body .site-header.th-pair-learning-orbit{padding:12px 20px 0!important;background:linear-gradient(115deg,#071f44,#0754ad 60%,#1787e6)!important}
html body .site-header.th-pair-learning-orbit .th84-topbar{display:none!important}
html body .site-header.th-pair-learning-orbit .th84-nav{width:min(var(--th-hf-header-max),100%)!important;height:72px!important;min-height:72px!important;padding-left:18px!important;padding-right:10px!important;border-radius:999px!important;background:#fff!important;box-shadow:0 15px 42px rgba(0,0,0,.18)!important}.site-header.th-pair-learning-orbit .th84-green,.site-header.th-pair-learning-orbit .th84-outline,.site-header.th-pair-learning-orbit .th-language-switch{border-radius:999px!important}.site-header.th-pair-learning-orbit .th84-green{background:#ffd21f!important;color:#031d3d!important}.site-header.th-pair-learning-orbit .th84-logo-img{width:165px!important}
.th-orbit-callout{display:flex;align-items:center;justify-content:center;gap:9px;min-height:36px;color:#dcedff!important;font-size:10px;font-weight:750}.th-orbit-callout b{padding:3px 7px;border-radius:999px;color:#031d3d;background:#ffd21f;font-size:9px;text-transform:uppercase}
.footer.th-pair-learning-orbit{margin:22px!important;padding-top:0!important;border-radius:24px!important;background:#fff!important;color:#66798a!important}.th-orbit-cta{display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px;padding:33px 38px;border-radius:24px 24px 0 0;color:#fff;background:linear-gradient(115deg,#062956,#126bd4)}.th-orbit-cta>div{display:grid}.th-orbit-cta small{color:#ffd21f;font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.th-orbit-cta strong{max-width:780px;margin-top:6px;font-size:clamp(23px,3.8vw,43px);line-height:1.02;letter-spacing:-.045em}.th-orbit-cta a{padding:13px 20px;border-radius:999px;color:#031d3d!important;background:#ffd21f;font-size:11px;font-weight:900}.footer.th-pair-learning-orbit .footergrid{grid-template-columns:1.35fr repeat(3,.7fr)!important}.footer.th-pair-learning-orbit h4{color:#031d3d!important}.footer.th-pair-learning-orbit p,.footer.th-pair-learning-orbit a,.footer.th-pair-learning-orbit .copy,.footer.th-pair-learning-orbit .footer-note{color:#66798a!important}.footer.th-pair-learning-orbit .footer-pill{color:#031d3d!important;border-color:#d7e1ea!important;background:#eef6ff!important}.footer.th-pair-learning-orbit .footer-bottom{border-color:#dce4eb!important}

@media(max-width:1100px){
 .site-header.th-pair-tutor-finder .th-pair-search-strip>.th84-shell{grid-template-columns:1fr}.th-search-trust{justify-content:flex-start}
 .footer.th-pair-tutor-finder .footergrid,.footer.th-pair-two-sided-hub .footergrid,.footer.th-pair-smart-search .footergrid,.footer.th-pair-premium-wordmark .footergrid,.footer.th-pair-marketplace-appbar .footergrid,.footer.th-pair-learning-orbit .footergrid{grid-template-columns:1.4fr 1fr 1fr!important}
 .footer.th-pair-tutor-finder .footergrid>div:last-child,.footer.th-pair-two-sided-hub .footergrid>div:last-child,.footer.th-pair-smart-search .footergrid>div:last-child,.footer.th-pair-premium-wordmark .footergrid>div:last-child,.footer.th-pair-marketplace-appbar .footergrid>div:last-child,.footer.th-pair-learning-orbit .footergrid>div:last-child{grid-column:2/-1}
}
@media(max-width:900px){
 html body .site-header.th-pair-premium-wordmark .th84-nav{display:flex!important;height:66px!important;min-height:66px!important}.site-header.th-pair-premium-wordmark .th84-brand{margin:auto 0}.site-header.th-pair-premium-wordmark .th84-logo-img{width:var(--th-hf-mobile-logo-width)!important}
 .site-header.th-pair-smart-search .th84-nav,.site-header.th-pair-learning-orbit .th84-nav{height:64px!important;min-height:64px!important}
 .site-header.th-pair-subject-strip .th84-nav{background:#fff!important}.site-header.th-pair-subject-strip .mobile-toggle{color:#073a78!important}
 .th-appbar-strip nav{display:none}.th-appbar-strip>.th84-shell{justify-content:flex-end}
}
@media(max-width:760px){
 .site-header.th-pair-tutor-finder .th-pair-search-strip{padding:10px 12px}.th-header-search{grid-template-columns:1fr auto}.th-header-search label:nth-of-type(2){display:none}.th-search-trust{display:none}.th-header-search button{padding:0 12px}
 .th-role-strip a{padding:6px 10px}.th-role-strip small{display:none}.th-role-strip a>span{grid-row:auto}.th-role-strip strong{align-self:center;font-size:11px}
 .th-learning-news{grid-template-columns:1fr;padding:24px 20px}.footer.th-pair-subject-strip:after{font-size:82px}
 html body .site-header.th-pair-smart-search{padding:9px 9px 0!important}.th-smart-search{padding-bottom:13px!important}.th-smart-search form{grid-template-columns:1fr auto}.th-smart-search label:nth-of-type(2){display:none}.th-smart-caption{display:none}.th-smart-search button{padding:0 12px}
 .footer.th-pair-smart-search,.footer.th-pair-learning-orbit{margin:10px!important}.footer.th-pair-smart-search .footergrid>div{padding:17px}
 .th-editorial-cta{align-items:flex-start!important;flex-direction:column}.th-editorial-cta strong{font-size:34px!important}
 html body .site-header.th-pair-learning-orbit{padding:9px 9px 0!important}.th-orbit-callout{min-height:34px}.th-orbit-cta{grid-template-columns:1fr;padding:28px 22px}
 .footer.th-pair-tutor-finder .footergrid,.footer.th-pair-two-sided-hub .footergrid,.footer.th-pair-smart-search .footergrid,.footer.th-pair-premium-wordmark .footergrid,.footer.th-pair-marketplace-appbar .footergrid,.footer.th-pair-learning-orbit .footergrid{grid-template-columns:1fr 1fr!important}
 .footer.th-pair-tutor-finder .footer-brand,.footer.th-pair-two-sided-hub .footer-brand,.footer.th-pair-smart-search .footer-brand,.footer.th-pair-premium-wordmark .footer-brand,.footer.th-pair-marketplace-appbar .footer-brand,.footer.th-pair-learning-orbit .footer-brand{grid-column:1/-1}
 .footer.th-pair-tutor-finder .footergrid>div:last-child,.footer.th-pair-two-sided-hub .footergrid>div:last-child,.footer.th-pair-smart-search .footergrid>div:last-child,.footer.th-pair-premium-wordmark .footergrid>div:last-child,.footer.th-pair-marketplace-appbar .footergrid>div:last-child,.footer.th-pair-learning-orbit .footergrid>div:last-child{grid-column:auto}
 .th-dual-cta{grid-template-columns:1fr}.th-dual-cta a:first-child{border-right:0;border-bottom:1px solid rgba(255,255,255,.15)}
}
@media(max-width:520px){
 .site-header.th-pair-subject-strip .th-subject-strip>.th84-shell{min-width:max-content!important}.th-subject-strip strong,.th-subject-strip a{padding:0 12px}
 .th-learning-news form{display:grid;height:auto;gap:7px;padding:7px}.th-learning-news input{height:39px!important}.th-learning-news button{height:39px}
 .footer.th-pair-smart-search .footergrid,.footer.th-pair-tutor-finder .footergrid,.footer.th-pair-two-sided-hub .footergrid,.footer.th-pair-premium-wordmark .footergrid,.footer.th-pair-marketplace-appbar .footergrid,.footer.th-pair-learning-orbit .footergrid{grid-template-columns:1fr!important}.footer.th-pair-smart-search .footer-brand,.footer.th-pair-tutor-finder .footer-brand,.footer.th-pair-two-sided-hub .footer-brand,.footer.th-pair-premium-wordmark .footer-brand,.footer.th-pair-marketplace-appbar .footer-brand,.footer.th-pair-learning-orbit .footer-brand{grid-column:auto}
 .th-editorial-cta strong{font-size:30px!important}.th-orbit-cta strong{font-size:28px}
}
/* Reliable breathing room beneath the global header on internal pages. */
.site-header.th84-header+main.th-app-page{margin-top:20px!important}
@media(max-width:650px){.site-header.th84-header+main.th-app-page{margin-top:14px!important}}

/* Dedicated language switch inside the opened mobile menu. */
.th-mobile-language{display:none}
@media(max-width:900px){.site-header.th84-header .mobile-menu .th-mobile-language{display:flex!important;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 8px;padding:10px 4px 14px;border-bottom:1px solid color-mix(in srgb,var(--th-hf-header-text) 12%,transparent)}.site-header.th84-header .th-mobile-language>strong{color:var(--th-hf-header-text)!important;font-size:13px;font-weight:900}.site-header.th84-header .th-mobile-language .th-language-switch{display:flex!important;margin:0!important;background:#fff!important;border:1px solid #dce7f3!important;border-radius:12px!important;padding:3px!important}.site-header.th84-header .mobile-menu .container{max-height:calc(100vh - 76px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}}

/* Global back-to-top button — positioned above the Tutorshub WhatsApp action. */
.th-back-to-top{position:fixed!important;right:24px!important;bottom:96px!important;z-index:2147482998!important;width:54px!important;height:54px!important;border:0!important;border-radius:18px!important;display:grid!important;grid-template-rows:28px 12px!important;place-items:center!important;padding:6px!important;color:#062c5c!important;background:linear-gradient(145deg,#ffd128,#ffb800)!important;box-shadow:0 14px 34px rgba(7,45,91,.24)!important;cursor:pointer!important;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(14px) scale(.92);transition:opacity .2s ease,transform .2s ease,visibility .2s;outline:none}
.th-back-to-top span{font-size:27px;line-height:1;font-weight:950}.th-back-to-top small{font-size:9px;line-height:1;font-weight:950;text-transform:uppercase;letter-spacing:.06em}.th-back-to-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}.th-back-to-top:hover{transform:translateY(-3px) scale(1.03);box-shadow:0 18px 38px rgba(7,45,91,.30)}.th-back-to-top:focus-visible{box-shadow:0 0 0 4px #fff,0 0 0 7px #1769c2,0 14px 34px rgba(7,45,91,.24)}
@media(max-width:650px){.th-back-to-top{right:16px!important;bottom:84px!important;width:49px!important;height:49px!important;border-radius:16px!important;grid-template-rows:25px 10px!important;padding:5px!important}.th-back-to-top span{font-size:24px}.th-back-to-top small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.th-back-to-top{transition:none}}
