/* Taleem Header & Footer — 3D, mobile-first. Colours follow the theme's tokens. */
:root{--hp:var(--t-primary,#0b3a6f);--hpd:var(--t-primary-dark,#072447);--ha:var(--t-accent,#0f9d74);--hg:var(--t-gold,#f2b632);--hh:var(--t-heading,#0d1b2e);--hm:var(--t-muted,#667085);--hb:var(--t-border,#dfe5ee);--hfbg:var(--t-footer-bg,#0a1628);--hfont:var(--t-font-head,inherit)}
.thf-header,.thf-footer,.thf-drawer,.thf-search,.thf-mbar{font-family:var(--t-font-body,inherit)}
.thf-header *,.thf-footer *,.thf-drawer *,.thf-search *,.thf-mbar *{box-sizing:border-box}
.thf-header{display:contents}
.thf-wrap{width:100%;max-width:var(--t-container,1200px);margin:0 auto;padding:0 16px}
.thf-ico{width:18px;height:18px;flex:none}
.thf-header ul,.thf-footer ul,.thf-drawer ul{list-style:none;margin:0;padding:0}
.thf-header a,.thf-footer a,.thf-drawer a,.thf-mbar a{text-decoration:none}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* ---------- Top bar ---------- */
.thf-top{background:linear-gradient(90deg,var(--hpd),color-mix(in srgb,var(--hpd) 70%,var(--hp)));color:#d7e2f2;font-size:13px}
.thf-top__in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px}
.thf-top__info{display:flex;align-items:center;gap:18px}
.thf-top__info li{display:flex;align-items:center;gap:7px}
.thf-top__info a{display:flex;align-items:center;gap:7px;color:#fff}
.thf-top__info .thf-ico{width:15px;height:15px;color:var(--hg)}
.thf-top__menu{display:flex;gap:2px}
.thf-top__menu a{display:block;color:#d7e2f2;padding:6px 10px;border-radius:7px;font-weight:600;transition:.15s}
.thf-top__menu a:hover{background:rgba(255,255,255,.1);color:#fff}

/* ---------- Masthead ---------- */
.thf-mast{position:relative;background:#fff;overflow:hidden}
.thf-mast::before{content:"";position:absolute;inset:0;background:radial-gradient(900px 220px at 85% -60%,color-mix(in srgb,var(--hp) 12%,transparent),transparent 70%),radial-gradient(500px 160px at 0% 120%,color-mix(in srgb,var(--hg) 16%,transparent),transparent 70%);pointer-events:none}
.thf-mast__in{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:96px}
.thf-brand{display:flex;align-items:center;gap:14px;color:var(--hh);min-width:0}
.thf-logo{position:relative;flex:none;width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 30% 25%,#fff,#e9eef6 60%,#cfd9e8);box-shadow:0 1px 0 #fff inset,0 -6px 12px rgba(11,58,111,.12) inset,0 14px 24px -10px rgba(11,58,111,.55),0 3px 6px rgba(11,58,111,.18);transform:perspective(500px) rotateX(0) rotateY(0);transition:transform .4s cubic-bezier(.2,.8,.2,1)}
.thf-brand:hover .thf-logo{transform:perspective(500px) rotateX(10deg) rotateY(-14deg) translateZ(6px)}
.thf-logo__ring{position:absolute;inset:-4px;border-radius:50%;background:conic-gradient(from 0deg,var(--hg),var(--hp),var(--ha),var(--hg));-webkit-mask:radial-gradient(circle,transparent 62%,#000 63%);mask:radial-gradient(circle,transparent 62%,#000 63%);animation:thf-spin 9s linear infinite}
.thf-logo-img{position:relative;width:78%;height:78%;object-fit:contain;border-radius:50%}
.thf-logo-fallback{position:relative;width:70%;height:70%;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,var(--hp),var(--hpd));box-shadow:0 2px 0 rgba(255,255,255,.35) inset,0 -4px 8px rgba(0,0,0,.25) inset}
.thf-logo-fallback .thf-ico{width:55%;height:55%}
.thf-brand__text{display:flex;flex-direction:column;min-width:0}
.thf-brand__name{margin:0!important;font-family:var(--hfont);font-weight:800;font-size:clamp(19px,2.4vw,28px);line-height:1.1;letter-spacing:-.01em;color:var(--hh);text-shadow:0 1px 0 #fff,0 2px 0 color-mix(in srgb,var(--hp) 14%,transparent),0 6px 14px color-mix(in srgb,var(--hp) 18%,transparent)}
.thf-brand__sub{margin-top:4px;font-size:13px;font-weight:600;color:var(--hm);letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thf-mast__actions{display:flex;align-items:center;gap:10px}
.thf-iconbtn{all:unset;box-sizing:border-box;cursor:pointer;width:44px;height:44px;border-radius:13px;display:grid;place-items:center;color:var(--hp);background:linear-gradient(180deg,#fff,#eef3f9);border:1px solid var(--hb);box-shadow:0 1px 0 #fff inset,0 3px 0 #d5deea,0 8px 16px -10px rgba(11,58,111,.5);transition:transform .15s,box-shadow .15s}
.thf-iconbtn:hover{transform:translateY(-2px);box-shadow:0 1px 0 #fff inset,0 5px 0 #d5deea,0 12px 20px -10px rgba(11,58,111,.5)}
.thf-iconbtn:active{transform:translateY(2px);box-shadow:0 1px 0 #fff inset,0 1px 0 #d5deea}
.thf-iconbtn:focus-visible,.thf-btn:focus-visible,.thf-menu a:focus-visible{outline:3px solid var(--hg);outline-offset:2px}
.thf-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 18px;border-radius:14px;font-family:var(--hfont);font-weight:800;font-size:15px;white-space:nowrap;border:0;cursor:pointer;transition:transform .15s,box-shadow .15s,filter .15s}
.thf-btn .thf-ico{width:18px;height:18px}
.thf-btn--gold{color:#2b1d00!important;background:linear-gradient(180deg,#ffd76a,var(--hg) 55%,#e0a11c);box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 4px 0 #b8800f,0 12px 22px -10px rgba(184,128,15,.75)}
.thf-btn--blue{color:#fff!important;background:linear-gradient(180deg,color-mix(in srgb,var(--hp) 70%,#4d8fd6),var(--hp));box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 4px 0 var(--hpd),0 12px 22px -10px var(--hp)}
.thf-btn:hover{transform:translateY(-2px);filter:brightness(1.05)}
.thf-btn--gold:hover{box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 6px 0 #b8800f,0 16px 26px -10px rgba(184,128,15,.8)}
.thf-btn--blue:hover{box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 6px 0 var(--hpd),0 16px 26px -10px var(--hp)}
.thf-btn:active{transform:translateY(3px);box-shadow:0 1px 0 rgba(0,0,0,.1) inset,0 1px 0 rgba(0,0,0,.25)}
.thf-burger{display:none;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.thf-burger span{display:block;width:20px;height:2.5px;border-radius:3px;background:currentColor;transition:.25s}
.thf-burger span:nth-child(3){width:20px;transform:scaleX(.65);transform-origin:left}
.thf-soc{display:flex;gap:8px}
.thf-soc a{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;color:var(--hp);background:linear-gradient(180deg,#fff,#edf2f8);border:1px solid var(--hb);box-shadow:0 3px 0 #d5deea,0 8px 14px -10px rgba(11,58,111,.6);transition:.15s}
.thf-soc a:hover{transform:translateY(-3px) rotate(-6deg);color:#fff;background:linear-gradient(180deg,color-mix(in srgb,var(--hp) 75%,#4d8fd6),var(--hp));box-shadow:0 3px 0 var(--hpd)}
.thf-soc .thf-ico{width:17px;height:17px}

/* ---------- Main navigation ---------- */
.thf-nav{position:relative;z-index:50;background:linear-gradient(180deg,color-mix(in srgb,var(--hp) 88%,#fff 12%),var(--hp) 45%,var(--hpd));box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 -1px 0 rgba(0,0,0,.25) inset,0 10px 24px -14px rgba(7,36,71,.9)}
.thf-sticky .thf-nav{position:sticky;top:0}
.admin-bar.thf-sticky .thf-nav{top:32px}
.thf-menu{display:flex;align-items:center;gap:4px;min-height:56px}
.thf-menu>li{position:relative}
.thf-menu>li>a{position:relative;display:flex;align-items:center;gap:6px;height:42px;padding:0 13px;border-radius:12px;color:#e6eef9;font-family:var(--hfont);font-weight:700;font-size:15px;transition:background .15s,color .15s,transform .15s,box-shadow .15s}
.thf-menu>li>a:hover,.thf-menu>li:focus-within>a{color:#fff;background:rgba(255,255,255,.12);box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 4px 10px -6px rgba(0,0,0,.6);transform:translateY(-1px)}
.thf-menu>li.current-menu-item>a,.thf-menu>li.current-menu-ancestor>a,.thf-menu>li.current-menu-parent>a{color:#2b1d00;background:linear-gradient(180deg,#ffd76a,var(--hg));box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 3px 0 #b8800f,0 8px 16px -8px rgba(0,0,0,.5)}
.thf-menu>li.menu-item-has-children>a::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);opacity:.8;transition:transform .2s}
.thf-menu>li.menu-item-has-children:hover>a::after,.thf-menu>li.menu-item-has-children:focus-within>a::after{transform:translateY(1px) rotate(225deg)}
.thf-menu .sub-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:250px;padding:8px;border-radius:16px;background:#fff;border:1px solid var(--hb);box-shadow:0 2px 0 #fff inset,0 30px 60px -20px rgba(7,36,71,.55),0 10px 22px -12px rgba(7,36,71,.4);opacity:0;visibility:hidden;transform-origin:top center;transform:perspective(800px) rotateX(-14deg) translateY(-6px);transition:opacity .2s,transform .25s cubic-bezier(.2,.8,.2,1),visibility .2s}
.thf-menu .sub-menu::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.thf-menu .sub-menu::after{content:"";position:absolute;top:-7px;left:26px;width:14px;height:14px;background:#fff;border-left:1px solid var(--hb);border-top:1px solid var(--hb);transform:rotate(45deg)}
.thf-menu>li:hover>.sub-menu,.thf-menu>li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:perspective(800px) rotateX(0) translateY(0)}
.thf-menu .sub-menu:has(>li:nth-child(7)){display:grid;grid-template-columns:1fr 1fr;min-width:440px;gap:2px}
.thf-menu>li:nth-last-child(-n+2)>.sub-menu{left:auto;right:0}
.thf-menu>li:nth-last-child(-n+2)>.sub-menu::after{left:auto;right:26px}
.thf-menu .sub-menu a{position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;color:var(--hh);font-weight:600;font-size:14.5px;transition:background .15s,transform .15s,color .15s}
.thf-menu .sub-menu a::before{content:"";flex:none;width:8px;height:8px;border-radius:3px;background:linear-gradient(135deg,var(--hg),var(--ha));box-shadow:0 2px 4px rgba(0,0,0,.2);transform:rotate(45deg)}
.thf-menu .sub-menu a:hover,.thf-menu .sub-menu .current-menu-item>a{background:linear-gradient(90deg,color-mix(in srgb,var(--hp) 9%,#fff),#fff);color:var(--hp);transform:translateX(3px)}
.thf-menu .sub-menu .sub-menu{top:-8px;left:100%}

/* ---------- Ticker ---------- */
.thf-ticker{background:linear-gradient(180deg,#fffaf0,#fff3d6);border-bottom:1px solid #f1dfb3;box-shadow:0 8px 18px -16px rgba(0,0,0,.5)}
.thf-ticker__in{display:flex;align-items:center;gap:12px;min-height:42px}
.thf-ticker__label{flex:none;display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border-radius:9px;background:linear-gradient(180deg,#ffd76a,var(--hg));color:#2b1d00;font-family:var(--hfont);font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 2px 0 #b8800f}
.thf-ticker__label i{width:8px;height:8px;border-radius:50%;background:#d93a3a;box-shadow:0 0 0 0 rgba(217,58,58,.6);animation:thf-pulse 1.6s infinite}
.thf-ticker__track{flex:1;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.thf-ticker__move{display:flex;gap:40px;width:max-content;animation:thf-ticker calc(var(--n,6)*7s) linear infinite}
.thf-ticker__move a{position:relative;color:var(--hh);font-weight:600;font-size:14px;white-space:nowrap;padding-left:16px}
.thf-ticker__move a::before{content:"";position:absolute;left:0;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:2px;background:var(--hp);transform:rotate(45deg)}
.thf-ticker__move a:hover{color:var(--hp);text-decoration:underline}
.thf-ticker:hover .thf-ticker__move,.thf-ticker.is-paused .thf-ticker__move,.thf-ticker__move:focus-within{animation-play-state:paused}
.thf-ticker__pause{all:unset;cursor:pointer;flex:none;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:var(--hp);background:#fff;border:1px solid #f1dfb3}
.thf-ticker__pause span{width:8px;height:10px;border-left:3px solid currentColor;border-right:3px solid currentColor}
.thf-ticker.is-paused .thf-ticker__pause span{width:0;height:0;border:0;border-left:9px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent;margin-left:3px}

/* ---------- Drawer (mobile menu) ---------- */
.thf-drawer{position:fixed;inset:0;z-index:9990;visibility:hidden;pointer-events:none}
.thf-drawer.is-open{visibility:visible;pointer-events:auto}
.thf-drawer__backdrop{position:absolute;inset:0;background:rgba(5,15,32,.55);backdrop-filter:blur(3px);opacity:0;transition:opacity .3s}
.thf-drawer.is-open .thf-drawer__backdrop{opacity:1}
.thf-drawer__panel{position:absolute;top:0;right:0;bottom:0;width:min(380px,90vw);display:flex;flex-direction:column;gap:14px;padding:16px 16px 24px;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(180deg,#fff,#f4f7fb);box-shadow:-30px 0 60px -20px rgba(0,0,0,.5);transform:translateX(105%) perspective(900px) rotateY(-12deg);transform-origin:right center;transition:transform .38s cubic-bezier(.2,.8,.2,1)}
.thf-drawer.is-open .thf-drawer__panel{transform:none}
.thf-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.thf-drawer__title{font-family:var(--hfont);font-weight:800;font-size:19px;color:var(--hh)}
.thf-dsearch{position:relative}
.thf-dsearch .thf-ico{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--hm)}
.thf-dsearch input{width:100%;height:48px;padding:0 14px 0 42px;border:1.5px solid var(--hb);border-radius:14px;font-size:16px;background:#fff;box-shadow:0 2px 0 #e6ecf4 inset}
.thf-dsearch input:focus{outline:none;border-color:var(--hp)}
.thf-drawer__cta{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.thf-drawer__cta .thf-btn{height:48px;padding:0 10px;font-size:14.5px}
.thf-dmenu>li{border-radius:14px;margin:0 0 8px;background:#fff;border:1px solid var(--hb);box-shadow:0 3px 0 #e2e9f2;overflow:hidden}
.thf-dmenu li{position:relative}
.thf-dmenu>li>a{display:flex;align-items:center;min-height:52px;padding:0 54px 0 16px;color:var(--hh);font-family:var(--hfont);font-weight:800;font-size:16px}
.thf-dmenu>li.current-menu-item>a,.thf-dmenu>li.current-menu-ancestor>a{color:var(--hp);box-shadow:4px 0 0 var(--hg) inset}
.thf-sub-toggle{all:unset;cursor:pointer;position:absolute;top:6px;right:6px;width:40px;height:40px;border-radius:11px;display:grid;place-items:center;color:var(--hp);background:color-mix(in srgb,var(--hp) 8%,#fff)}
.thf-sub-toggle .thf-ico{transition:transform .25s}
.thf-sub-toggle[aria-expanded="true"] .thf-ico{transform:rotate(180deg)}
.thf-dmenu .sub-menu{display:none;padding:0 10px 10px}
.thf-dmenu li.is-open>.sub-menu{display:block}
.thf-dmenu .sub-menu a{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border-radius:10px;color:var(--hh);font-weight:600;font-size:15px}
.thf-dmenu .sub-menu a::before{content:"";width:7px;height:7px;border-radius:2px;background:var(--hg);transform:rotate(45deg)}
.thf-dmenu .sub-menu a:hover,.thf-dmenu .sub-menu .current-menu-item>a{background:color-mix(in srgb,var(--hp) 8%,#fff);color:var(--hp)}
.thf-drawer__foot{display:flex;flex-direction:column;gap:10px;padding-top:6px;border-top:1px dashed var(--hb)}
.thf-drawer__foot>a{display:flex;align-items:center;gap:10px;color:var(--hh);font-weight:700}
.thf-drawer__foot>a .thf-ico{color:var(--hp)}
html.thf-lock,html.thf-lock body{overflow:hidden}

/* ---------- Search overlay ---------- */
.thf-search{position:fixed;inset:0;z-index:9995;display:flex;align-items:flex-start;justify-content:center;padding:12vh 16px 0;visibility:hidden;pointer-events:none}
.thf-search.is-open{visibility:visible;pointer-events:auto}
.thf-search__backdrop{position:absolute;inset:0;background:rgba(5,15,32,.7);backdrop-filter:blur(4px);opacity:0;transition:opacity .25s}
.thf-search.is-open .thf-search__backdrop{opacity:1}
.thf-search__box{position:relative;width:min(720px,100%);padding:18px;border-radius:22px;background:#fff;box-shadow:0 40px 80px -20px rgba(0,0,0,.6);transform:perspective(900px) rotateX(18deg) translateY(-20px) scale(.97);opacity:0;transition:.3s cubic-bezier(.2,.8,.2,1)}
.thf-search.is-open .thf-search__box{transform:none;opacity:1}
.thf-search form{display:flex;align-items:center;gap:10px;padding-right:46px}
.thf-search form>.thf-ico{color:var(--hm);width:22px;height:22px}
.thf-search input{flex:1;min-width:0;height:52px;border:0;font-size:18px;color:var(--hh);background:transparent}
.thf-search input:focus{outline:none}
.thf-search__close{position:absolute;top:18px;right:14px;width:40px;height:40px}

/* ---------- Footer ---------- */
.thf-footer{position:relative;margin-top:70px}
.thf-strip{position:relative;z-index:2;display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:-40px}
@media(min-width:768px){.thf-strip{grid-template-columns:repeat(3,1fr)}}
.thf-card3d{display:flex;align-items:center;gap:14px;padding:18px;border-radius:18px;background:linear-gradient(180deg,#fff,#f5f8fc);border:1px solid var(--hb);color:var(--hh);box-shadow:0 1px 0 #fff inset,0 6px 0 #dbe4ef,0 24px 40px -22px rgba(7,36,71,.6);transform:perspective(900px) rotateX(0);transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s}
.thf-card3d:hover{transform:perspective(900px) rotateX(8deg) translateY(-6px);box-shadow:0 1px 0 #fff inset,0 10px 0 #dbe4ef,0 34px 50px -24px rgba(7,36,71,.65)}
.thf-card3d__ic{flex:none;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,color-mix(in srgb,var(--hp) 70%,#4d8fd6),var(--hpd));box-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 4px 0 var(--hpd),0 10px 18px -8px var(--hp)}
.thf-card3d__ic--g{background:linear-gradient(145deg,#2fc394,#0b7a58);box-shadow:0 1px 0 rgba(255,255,255,.3) inset,0 4px 0 #075c42,0 10px 18px -8px #0b7a58}
.thf-card3d__ic--y{color:#2b1d00;background:linear-gradient(145deg,#ffd76a,#e0a11c);box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 4px 0 #b8800f,0 10px 18px -8px #b8800f}
.thf-card3d__ic .thf-ico{width:24px;height:24px}
.thf-card3d small{display:block;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--hm)}
.thf-card3d b{display:block;font-size:15.5px;line-height:1.35;color:var(--hh);word-break:break-word}
.thf-card3d em{display:block;font-style:normal;font-size:13px;color:var(--hm)}
.thf-foot{position:relative;padding-top:80px;color:#c3cfdf;background:radial-gradient(700px 300px at 10% 0%,color-mix(in srgb,var(--hp) 35%,transparent),transparent 70%),radial-gradient(600px 300px at 100% 100%,color-mix(in srgb,var(--ha) 18%,transparent),transparent 70%),var(--hfbg)}
.thf-foot::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.06) 1px,transparent 1.5px);background-size:22px 22px;pointer-events:none}
.thf-foot__wave{position:absolute;top:-1px;left:0;width:100%;height:46px;fill:var(--t-bg,#f6f8fb);transform:scaleY(-1)}
.thf-foot__grid{position:relative;display:grid;grid-template-columns:1fr;gap:30px;padding-bottom:30px}
@media(max-width:639px){.thf-foot__grid{grid-template-columns:1fr 1fr;gap:26px 14px}.thf-fcol--brand,.thf-fcol--news{grid-column:1/-1}.thf-flinks a{font-size:14.5px}}
@media(min-width:640px){.thf-foot__grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.thf-foot__grid{grid-template-columns:1.5fr 1fr 1fr 1.4fr}}
.thf-brand--foot{color:#fff;margin-bottom:14px}
.thf-brand--foot .thf-brand__name{color:#fff;font-size:22px;text-shadow:0 2px 0 rgba(0,0,0,.35),0 8px 18px rgba(0,0,0,.4)}
.thf-brand--foot .thf-brand__sub{color:#9fb0c7;white-space:normal}
.thf-logo--sm{width:58px;height:58px}
.thf-about{margin:0 0 16px!important;font-size:14.5px;line-height:1.7;color:#b4c2d6}
.thf-soc--foot a{color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.05));border-color:rgba(255,255,255,.14);box-shadow:0 3px 0 rgba(0,0,0,.35)}
.thf-fh{position:relative;margin:0 0 16px!important;padding-bottom:10px;font-family:var(--hfont);font-weight:800;font-size:17px;color:#fff}
.thf-fh::after{content:"";position:absolute;left:0;bottom:0;width:38px;height:4px;border-radius:4px;background:linear-gradient(90deg,var(--hg),var(--ha));box-shadow:0 2px 6px rgba(242,182,50,.4)}
.thf-flinks li{margin:0 0 4px}
.thf-flinks a{display:inline-flex;align-items:center;gap:8px;padding:5px 0;color:#c3cfdf;font-size:15px;transition:color .15s,transform .15s}
.thf-flinks a::before{content:"";width:6px;height:6px;border-radius:2px;background:var(--hg);transform:rotate(45deg);opacity:.75}
.thf-flinks a:hover{color:#fff;transform:translateX(4px)}
.thf-news li{margin:0 0 10px}
.thf-news a{display:block;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:#dde6f2;transition:transform .2s,background .2s}
.thf-news a:hover{transform:translateY(-2px);background:rgba(255,255,255,.09)}
.thf-news span{display:block;font-size:14.5px;font-weight:600;line-height:1.4;color:#fff}
.thf-news time{display:block;margin-top:3px;font-size:12px;color:var(--hg)}
.thf-disc{position:relative;display:flex;gap:10px;align-items:flex-start;margin:0 0 22px!important;padding:12px 14px;border-radius:12px;background:rgba(242,182,50,.08);border:1px solid rgba(242,182,50,.25);color:#e9d9b0;font-size:13.5px;line-height:1.6}
.thf-disc .thf-ico{color:var(--hg);margin-top:2px}
.thf-bottom{position:relative;border-top:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.18)}
.thf-bottom__in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding-top:16px;padding-bottom:16px}
.thf-bottom p{margin:0!important;font-size:13.5px;color:#9fb0c7}
.thf-bmenu{display:flex;flex-wrap:wrap;gap:4px 16px}
.thf-bmenu a{color:#b4c2d6;font-size:13.5px}
.thf-bmenu a:hover{color:#fff}

/* ---------- Mobile bottom bar ---------- */
.thf-mbar{display:none}

/* ---------- Responsive ---------- */
@media(max-width:1180px){
	.thf-menu>li>a{padding:0 9px;font-size:14px}
}
@media(max-width:1023px){
	.thf-nav,.thf-hide-md{display:none!important}
	.thf-burger{display:flex}
	.thf-mast{position:relative;z-index:60}
	.thf-sticky .thf-mast{position:sticky;top:0;box-shadow:0 8px 20px -14px rgba(7,36,71,.7)}
	.admin-bar.thf-sticky .thf-mast{top:46px}
	.thf-mast__in{min-height:76px}
	.thf-logo{width:56px;height:56px}
}
@media(max-width:767px){
	.thf-hide-sm{display:none!important}
	.thf-top__menu{display:none}
	.thf-top__in{justify-content:center;min-height:34px}
	.thf-mast__in{min-height:68px;gap:10px}
	.thf-logo{width:48px;height:48px}
	.thf-brand{gap:10px}
	.thf-brand__name{font-size:19px}
	.thf-brand__sub{font-size:11.5px;max-width:52vw}
	.thf-iconbtn{width:42px;height:42px;border-radius:12px}
	.thf-mast__actions{gap:8px}
	.thf-ticker__in{min-height:38px;gap:8px}
	.thf-ticker__label{padding:4px 9px;font-size:11px}
	.thf-footer{margin-top:60px}
	.thf-bottom__in{flex-direction:column;text-align:center}
	.thf-bmenu{justify-content:center}
	.thf-has-mbar .thf-mbar{position:fixed;left:10px;right:10px;bottom:10px;z-index:9980;display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:6px;border-radius:20px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border:1px solid var(--hb);box-shadow:0 2px 0 #fff inset,0 20px 40px -14px rgba(7,36,71,.55),0 4px 0 #dbe4ef;padding-bottom:calc(6px + env(safe-area-inset-bottom)/2)}
	.thf-mbar a,.thf-mbar button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;border-radius:14px;color:var(--hm);font-size:11px;font-weight:700;text-align:center;transition:.15s}
	.thf-mbar .thf-ico{width:21px;height:21px}
	.thf-mbar a.is-on{color:var(--hp);background:color-mix(in srgb,var(--hp) 9%,#fff)}
	.thf-mbar .thf-mbar__menu{color:#2b1d00;background:linear-gradient(180deg,#ffd76a,var(--hg));box-shadow:0 3px 0 #b8800f}
	.thf-mbar a:active,.thf-mbar button:active{transform:translateY(2px)}
	body.thf-has-mbar{padding-bottom:84px}
	.thf-has-mbar .to-top{bottom:92px}
}
@media(min-width:1024px){.thf-drawer{display:none}}

@keyframes thf-spin{to{transform:rotate(360deg)}}
@keyframes thf-ticker{to{transform:translateX(-50%)}}
@keyframes thf-pulse{70%{box-shadow:0 0 0 8px rgba(217,58,58,0)}100%{box-shadow:0 0 0 0 rgba(217,58,58,0)}}
@media(prefers-reduced-motion:reduce){
	.thf-logo__ring,.thf-ticker__label i{animation:none}
	.thf-ticker__move{animation-duration:calc(var(--n,6)*20s)}
	.thf-header *,.thf-footer *,.thf-drawer *,.thf-search *{transition:none!important}
}
@media print{.thf-top,.thf-nav,.thf-ticker,.thf-mast__actions,.thf-drawer,.thf-search,.thf-mbar,.thf-strip{display:none!important}}
