/* TT CMS 2.2 · separate theme accents for Liquid Glass header and footer */
html body.hb-site .tt-site-header{background:color-mix(in srgb,var(--tt22-header-light,#fff) var(--tt22-header-alpha,82%),transparent)!important;color:var(--tt22-header-text-light,#1c2b48);backdrop-filter:blur(22px) saturate(165%);-webkit-backdrop-filter:blur(22px) saturate(165%);border-bottom:1px solid color-mix(in srgb,currentColor 13%,transparent)}
html[data-theme="dark"] body.hb-site .tt-site-header{background:color-mix(in srgb,var(--tt22-header-dark,#131d35) var(--tt22-header-alpha,82%),transparent)!important;color:var(--tt22-header-text-dark,#ebf2ff)}
body.hb-site .tt-site-header .main-nav a,body.hb-site .tt-site-header .site-brand,body.hb-site .tt-site-header .brand-text,body.hb-site .tt-site-header .hb-theme-toggle{color:inherit!important}
html body.hb-site .tt-site-footer{background:color-mix(in srgb,var(--tt22-footer-light,#edf3ff) var(--tt22-footer-alpha,90%),transparent)!important;color:var(--tt22-footer-text-light,#253a54);backdrop-filter:blur(19px) saturate(155%);-webkit-backdrop-filter:blur(19px) saturate(155%)}
html[data-theme="dark"] body.hb-site .tt-site-footer{background:color-mix(in srgb,var(--tt22-footer-dark,#101729) var(--tt22-footer-alpha,90%),transparent)!important;color:var(--tt22-footer-text-dark,#dfe9fb)}
body.hb-site .tt-site-footer a{color:inherit}
body.hb-site .hb-hero{position:relative;isolation:isolate;overflow:hidden}
body.hb-site .hb-hero .tt22-hero-bg{position:absolute;inset:0;width:100%;height:100%;z-index:-2;pointer-events:none;display:block}
body.hb-site .hb-hero .tt22-hero-bg-image{background-size:cover;background-position:center}
body.hb-site .hb-hero .tt22-hero-bg-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body.hb-site .hb-hero .tt22-hero-bg-color{background:var(--tt22-hero-gradient)}
body.hb-site .hb-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,color-mix(in srgb,var(--hb-bg,#fff) 76%,transparent) 3%,color-mix(in srgb,var(--hb-bg,#fff) 36%,transparent) 68%,transparent)}
html[data-theme="dark"] body.hb-site .hb-hero::after{background:linear-gradient(105deg,rgba(7,13,29,.83),rgba(7,13,29,.48),rgba(6,12,28,.22))}
body.hb-site .hb-hero .hb-glow{opacity:.38;pointer-events:none}
body.hb-site .hb-hero .hb-hero-grid{position:relative;z-index:1}
body.hb-site .tt22-editor-button{display:inline-block;border-radius:14px;padding:13px 21px;background:var(--tt-button-color,#397cf7);color:#fff!important;font-weight:750;text-decoration:none;box-shadow:0 9px 24px #09204521;transition:transform .2s ease}
body.hb-site.tt21-buttons-gradient .tt22-editor-button:not([style]){background:var(--tt-button-gradient)}
body.hb-site .tt22-editor-button:hover{transform:translateY(-2px)}
body.hb-site .tt22-button-wrap{margin:16px 0}
body.hb-site .tt-sharing .tt-social--qr{background:#5364ba!important;color:white!important}
.tt22-qr-dialog{max-width:min(94vw,370px);width:100%;border:1px solid #b5cbe066;border-radius:22px;padding:24px;background:#fff;color:#192845;box-shadow:0 28px 90px #0b142966}
.tt22-qr-dialog::backdrop{background:#0a16357d;backdrop-filter:blur(7px)}
.tt22-qr-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tt22-qr-dialog header button{border:0;background:#ebf1fb;border-radius:12px;padding:8px 12px;cursor:pointer}
.tt22-qr-code{display:grid;place-items:center;min-height:230px;margin:16px auto;background:white;border-radius:14px}
.tt22-qr-dialog input{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px;font:inherit}
.tt22-qr-dialog footer{display:flex;gap:8px;margin-top:12px}
.tt22-qr-dialog footer button,.tt22-qr-dialog footer a{padding:10px 13px;border-radius:10px;border:1px solid #cadaee;background:#edf3ff;color:#263e69;text-decoration:none;cursor:pointer}
@media (max-width:740px){body.hb-site .hb-hero::after{background:linear-gradient(90deg,color-mix(in srgb,var(--hb-bg,#fff) 89%,transparent),color-mix(in srgb,var(--hb-bg,#fff) 59%,transparent))}}
@media (prefers-reduced-motion:reduce){body.hb-site .tt22-editor-button{transition:none}}
/* Accessibility: a static gradient remains when visitors request reduced motion. */
body.hb-site .hb-hero .tt22-hero-bg-video{background:var(--tt22-hero-gradient)}
@media (prefers-reduced-motion:reduce){body.hb-site .hb-hero .tt22-hero-bg-video video{display:none}}
/* Keep editor CTA readable when global article links use gradient typography. */
body.hb-site .article-body a.tt22-editor-button,body.hb-site.tt21-links-gradient .article-body a.tt22-editor-button,body.hb-site .tt-page-body a.tt22-editor-button{color:#fff!important;-webkit-text-fill-color:#fff!important;background-clip:border-box!important;-webkit-background-clip:border-box!important;text-decoration:none}
body.hb-site.tt21-links-gradient .article-body a.tt22-editor-button:not([style]){background:var(--tt-button-gradient)!important}
body.hb-site .tt-site-header .tt-mobile-menu{color:inherit!important}
