/* =====================================================================
   v2-live.css · si-surfer-brand 2.0.0 · loads after sis-ds.css and
   wp-override-layer.css, only while v2 is on (admin preview or public).
   Live-only adjustments found by injecting the layer into the live DOM.
   ===================================================================== */

/* 1. The old light sheets (.sid/.sat --light) re-declare dark ink variables.
      Re-point them to the dark tokens so their text stays readable on surface 1. */
body.sis-v2 .sid.sid-sheet--light{--sid-ink:#F1F5F9;--sid-soft:#A3ACB9;--sid-line:rgba(241,245,249,.12);--sid-line-2:rgba(241,245,249,.24);--sid-hi:#2DD4BF;background-color:#121B2E!important;color:#F1F5F9}
body.sis-v2 .sat.sat-sheet--light{--sat-ink:#F1F5F9;--sat-soft:#A3ACB9;--sat-line:rgba(241,245,249,.12);--sat-line-2:rgba(241,245,249,.24);--sat-hi:#2DD4BF;--sat-card:#1A2540;--sat-chip:rgba(241,245,249,.06);background-color:#121B2E!important;color:#F1F5F9}
body.sis-v2 :is(.sid-sheet--light,.sat-sheet--light) mark.has-ink-soft-color{color:#A3ACB9!important}
body.sis-v2 :is(.sid-sheet--light,.sat-sheet--light) mark.has-accent-color{color:#2DD4BF!important}
/* three surfaces only: panels -> surface 1, cards -> surface 2; one heading font for H3/summary */
body.sis-v2 .sat{--sat-panel:#121B2E;--sat-alt:#121B2E;--sat-card:#1A2540;--sat-head:"Fira Sans",FiraSans,system-ui,sans-serif;--sat-teal:#2DD4BF;--sat-blue:#2DD4BF}
body.sis-v2 .sid{--sid-alt:#121B2E;--sid-teal:#2DD4BF;--sid-blue:#2DD4BF;--sid-head:"Fira Sans",FiraSans,system-ui,sans-serif}
body.sis-v2 .sat.sat-sheet--panel{background:#121B2E!important}
body.sis-v2 .sat-final__card{background:#1A2540!important}
body.sis-v2 :is(.sid,.sat){border-radius:0!important}

/* 2. Old titles that the banner replaces (one H1 per page) */
body.sis-has-banner :is(.hostinger-ai-page-title,.wp-block-query-title,.wc-block-breadcrumbs,.woocommerce-breadcrumb){display:none!important}
body.sis-has-banner.single-product main .wp-block-post-title{display:none!important}
body.sis-has-banner .woocommerce-products-header__title{display:none!important}

/* 3. Banner sits directly under the header on every template */
.sis-banner{margin:0!important;width:100%;max-width:none}
.sis-banner .sis-h1{font-size:var(--ds-fs-h1)!important;font-family:var(--ds-font-display)!important}
.sis-banner .sis-eyebrow a{color:inherit;text-decoration:none}
.sis-banner .sis-eyebrow a:hover{text-decoration:underline}
.sis-banner__media--poster{display:none}
@media (max-width:767px),(prefers-reduced-motion:reduce){
  .sis-banner video.sis-banner__media{display:none}
  .sis-banner__media--poster{display:block}
}

/* 4. Post body: one prose measure */
body.sis-v2.single-post .wp-block-post-content{max-width:var(--ds-container-prose)!important;margin-inline:auto!important;font-size:18px;line-height:1.7}
body.sis-v2.single-post main{padding:0!important}
body.sis-v2.single-post .wp-block-post-content :is(h2,h3){margin-top:1.8em}

/* 5. Header CTA (sm primary), hidden where the theme collapses the nav */
.sis-header-cta{margin-left:12px}
@media (max-width:1199px){.sis-header-cta{display:none!important}}

/* 6. Blog list ([sis_v2_posts]) */
.sis-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:40px}
.sis-featured{display:grid;grid-template-columns:1.1fr 1fr;gap:0;padding:0!important;overflow:hidden;text-decoration:none;color:inherit}
.sis-featured__img{min-height:360px;background:#121B2E}
.sis-featured__img img{width:100%;height:100%;object-fit:cover}
.sis-featured__body{padding:clamp(24px,3vw,44px);display:flex;flex-direction:column;gap:14px;justify-content:center}
.sis-featured .sis-h2{font-size:clamp(28px,1.2rem + 1.2vw,36px)!important}
a.sis-card{text-decoration:none;color:inherit}
a.sis-card .sis-h3{color:#F1F5F9}
@media (max-width:767px){.sis-featured{grid-template-columns:1fr}.sis-featured__img{min-height:220px}}

/* 7. Contact form (theme block hostinger-ai-theme/contact-form-block) on the form card */
.sis-form-card .hts-section,.sis-form-card .hts-details,.sis-form-card .elementor-hts-contacts{padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;max-width:none!important}
.sis-form-card form{display:grid;gap:10px}
.sis-form-card form label{font:600 15px/1.3 var(--ds-font-body);color:#F1F5F9;margin-top:8px}
.sis-form-card .hts-privacy-agree label{display:flex;gap:12px;align-items:flex-start;font-weight:400;color:#A3ACB9}
.sis-form-card .hts-privacy-agree input{width:20px;height:20px;min-height:0;margin-top:2px;accent-color:#2DD4BF}
.sis-form-card .hts-privacy-agree a{color:#2DD4BF}
body:not(#sis) .sis-form-card input[type=submit]{min-height:56px!important;padding:0 30px!important;font-size:17px!important;justify-self:start;margin-top:12px}
.sis-form-card .validate-message{font-size:15px}

/* 8. Any page-title H1 printed by a template (cart, checkout, legal pages) gives way to the banner H1 */
body.sis-has-banner main h1.wp-block-post-title{display:none!important}

/* 9. Kept from v1 brand.css (which v2 dequeues): header logo size and the sticky header under the 48px ribbon */
.hostinger-ai-menu .wp-block-site-logo img,.hostinger-ai-menu img.custom-logo{height:auto!important;max-height:none!important;width:260px!important;max-width:260px!important;object-fit:contain}
@media (max-width:767px){.hostinger-ai-menu .wp-block-site-logo img,.hostinger-ai-menu img.custom-logo{width:180px!important;max-width:180px!important}}
.wp-site-blocks > .wp-block-template-part:has(> .hostinger-ai-menu){top:48px}
.sis-ribbon{min-height:48px;height:48px}

/* 10. Admin bar is not part of the site: keep the button layer off it */
#wpadminbar .adminbar-button{display:none!important}
body.sis-v2 .sid-pbar{background:#1A2540!important;border:1px solid #26324A;color:#F1F5F9}

/* 2.0.1 ---------------------------------------------------------------------------------
   A. Banner identical on every page. Root cause: the Home and Tools page content uses the
   "stacked sheet" sections (.sid.sid-sheet / .sat.sat-sheet) whose page CSS pulls each sheet
   up over the block above it: margin-top:calc(-1 * radius)!important plus a rounded top and an
   upward shadow. With the old hero removed, the first sheet slid up over the bottom of the
   banner and covered the meta row and the gradient line. v2 sections are flat and stacked. */
body.sis-v2 .sid.sid-sheet,body.sis-v2 .sat.sat-sheet,
body.sis-v2 .wp-block-post-content .sid-sheet,body.sis-v2 .wp-block-post-content .sat-sheet{margin-top:0!important;border-radius:0!important;box-shadow:none!important}
/* Belt and braces: nothing after the banner may overlap it, and it always paints on top. */
body.sis-v2 .sis-banner{z-index:2;flex:0 0 auto}
body.sis-v2 .sis-banner ~ * > .wp-block-post-content > :first-child,
body.sis-v2 .sis-banner ~ main > :first-child,
body.sis-v2 .sis-banner ~ main .wp-block-post-content > :first-child{margin-top:0!important}
body.sis-v2 .sis-banner__text{max-width:760px}

/* B. Header on one line at 1200px and wider: logo, 7 menu links, account, cart, Book a free call.
   Same width as the banner content (1200px). Below 1200px the CTA hides (the menu stays). */
@media (min-width:1025px){
  body.sis-v2 .hostinger-ai-menu .hostinger-ai-menu-wrapper{grid-template-columns:auto minmax(0,1fr)!important;column-gap:32px!important;max-width:var(--ds-container)!important;width:100%!important;margin-left:auto!important;margin-right:auto!important}
  body.sis-v2 header .hostinger-ai-menu{padding-left:var(--ds-gutter)!important;padding-right:var(--ds-gutter)!important}
  body.sis-v2 .hostinger-ai-site-navigation-wrapper{flex-wrap:nowrap!important;gap:12px!important;min-width:0}
  body.sis-v2 .hostinger-ai-menu .wp-block-navigation,body.sis-v2 .hostinger-ai-menu .wp-block-navigation__container{flex-wrap:nowrap!important;white-space:nowrap}
  body.sis-v2 .hostinger-ai-menu .wp-block-navigation__container{gap:22px!important}
  body.sis-v2 .hostinger-ai-menu .wp-block-navigation-item__content{white-space:nowrap}
  body.sis-v2 .sis-header-cta{flex:0 0 auto;white-space:nowrap;margin-left:8px}
}
@media (min-width:1025px) and (max-width:1365px){
  body.sis-v2 .hostinger-ai-menu .wp-block-navigation__container{gap:18px!important;font-size:15px!important}
  body.sis-v2 .hostinger-ai-menu .wp-block-site-logo img,body.sis-v2 .hostinger-ai-menu img.custom-logo{width:210px!important;max-width:210px!important}
}

/* C. Same text position on every banner. Eyebrow + H1 + lead start at the same y from the top,
   buttons + meta stay anchored at the same y from the bottom, whatever the title length. */
body.sis-v2 .sis-banner{align-items:stretch}
body.sis-v2 .sis-banner__inner{display:flex;padding-top:72px}
body.sis-v2 .sis-banner__text{display:flex;flex-direction:column;align-items:flex-start;width:100%}
body.sis-v2 .sis-banner__text > .sis-actions{margin-top:auto;padding-top:28px}
body.sis-v2 .sis-banner .sis-actions{margin-top:auto}
body.sis-v2 .sis-banner__meta{align-self:stretch}
body.sis-v2 .sis-banner__meta li{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@media (max-width:767px){
  body.sis-v2 .sis-banner__inner{padding-top:40px}
  body.sis-v2 .sis-banner__text > .sis-actions{padding-top:20px;align-self:stretch}
  body.sis-v2 .sis-banner__meta li{display:block;line-height:25px}
  body.sis-v2 .sis-banner__meta li::before{display:inline-block;margin-right:8px;vertical-align:middle}
}

/* D. 2.0.2: taller banner, one size on every page (Home included).
   Desktop and mobile: 720px. Text block starts at a fixed y from the top; buttons and
   bullets are anchored at a fixed y from the bottom, so every banner lines up exactly. */
body.sis-v2{--ds-banner-h:720px;--ds-banner-h-m:720px}
body.sis-v2 .sis-banner{height:720px!important;min-height:0!important}
/* One scrim for every banner (photo or video), extended to cover the wider text column. */
body.sis-v2 .sis-banner::before{background:
  linear-gradient(90deg,rgba(11,18,32,.95) 0%,rgba(11,18,32,.90) 48%,rgba(11,18,32,.62) 74%,rgba(11,18,32,.34) 100%),
  linear-gradient(0deg,rgba(11,18,32,.75) 0%,rgba(11,18,32,0) 45%),
  linear-gradient(180deg,rgba(11,18,32,.45) 0%,rgba(11,18,32,0) 22%)}
body.sis-v2 .sis-banner__inner{padding-top:112px;padding-bottom:72px}
body.sis-v2 .sis-banner__text{max-width:900px}
body.sis-v2 .sis-banner .sis-h1{font-size:clamp(40px,1.6rem + 2.2vw,54px)!important;line-height:1.08!important;margin:18px 0 22px}
body.sis-v2 .sis-banner .sis-lead{font-size:20px;line-height:1.55;max-width:58ch}
body.sis-v2 .sis-banner__text > .sis-actions{padding-top:36px}
body.sis-v2 .sis-banner__meta{margin-top:44px;padding-top:24px}
body.sis-v2 .sis-banner__video{background:var(--ds-surface-0)}
@media (max-width:767px){
  body.sis-v2 .sis-banner::before{background:linear-gradient(0deg,rgba(11,18,32,.97) 0%,rgba(11,18,32,.93) 55%,rgba(11,18,32,.84) 80%,rgba(11,18,32,.72) 100%)}
  body.sis-v2 .sis-banner__inner{padding-top:56px;padding-bottom:44px}
  body.sis-v2 .sis-banner .sis-h1{font-size:clamp(32px,7.6vw,38px)!important;margin:14px 0 16px}
  body.sis-v2 .sis-banner .sis-lead{font-size:18px}
  body.sis-v2 .sis-banner__text > .sis-actions{padding-top:24px}
  body.sis-v2 .sis-banner__meta{margin-top:32px;padding-top:20px}
}

/* E. 2.0.2: header identical on every template (Woo templates print <header> without .site-header,
   Elementor pages swap the nav font stack). Same font, size, spacing and logo everywhere. */
body.sis-v2 .hostinger-ai-menu .wp-block-navigation-item__content,
body.sis-v2 .hostinger-ai-menu .wp-block-navigation__container{font-family:var(--ds-font-body)!important;font-weight:400!important;letter-spacing:normal!important}
