/*
Theme Name: Sunny Thailand (GeneratePress Child)
Theme URI: https://sunny-thailand.local/
Description: Brand child theme for GeneratePress. Swiss-minimal engineering-publication skin — Deep Navy #0A1F44, Electric Blue #5A9DFF, IBM Plex Sans Thai + IBM Plex Mono. Reskin only; structure inherited from GeneratePress.
Author: Sunny Thailand
Template: generatepress
Version: 1.0.0
Text Domain: sunny-thailand-gp-child
*/

/* =====================================================================
   SUNNY THAILAND — BRAND LAYER (child of GeneratePress)
   Loaded AFTER GeneratePress dynamic CSS, so it wins on equal specificity.
   ===================================================================== */

:root{
  /* Color roles (accessible split of the brand blue) */
  --st-navy-900:#0A1F44;
  --st-navy-800:#12295A;
  --st-blue-electric:#5A9DFF;   /* on NAVY only (fails AA on white) */
  --st-blue-action:#1D4FD8;     /* fills + links on WHITE (AA ok)   */
  --st-blue-tint:#EEF4FF;
  --st-text:#475467;
  --st-heading:#0A1F44;
  --st-border:#E4E7EC;
  --st-surface-alt:#F7F8FA;
  --st-white:#FFFFFF;
  --st-footer-text:#C3CEE3;

  /* Radius / elevation */
  --st-r-sm:4px;
  --st-r-md:8px;
  --st-shadow-hover:0 4px 12px rgba(10,31,68,.08);

  /* Type */
  --st-font:'IBM Plex Sans Thai',system-ui,-apple-system,'Segoe UI',sans-serif;
  --st-mono:'IBM Plex Mono',ui-monospace,monospace;

  /* Layout */
  --st-maxw:1200px;
  --st-section:96px;
}

/* ---------- 1. Typography rhythm ---------- */
body,
button,input,select,textarea{
  font-family:var(--st-font);
  color:var(--st-text);
}
body{font-size:18px;line-height:1.7;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}

h1,h2,h3,h4,h5,h6,
.wp-block-heading,.gb-headline{
  font-family:var(--st-font);
  color:var(--st-heading);
  font-weight:700;
}
h1,.entry-title,h1.wp-block-heading{letter-spacing:-.02em;line-height:1.12;}
h2,h2.wp-block-heading{letter-spacing:-.02em;line-height:1.2;}
h3,h3.wp-block-heading{font-weight:600;letter-spacing:-.01em;line-height:1.35;}
h4{font-weight:600;}

/* Eyebrow / kicker label */
.eyebrow,.st-eyebrow{
  display:inline-block;
  font:600 13px/1.3 var(--st-font);
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--st-blue-action);
  margin:0 0 8px;
}

/* Engineering numerals: stats, prices, dates, spec values, tags */
.st-mono,.stat-number,.st-stat__num,.price,.date,.post-date,
.st-spec-value,.tag,.wp-block-tag-cloud a{
  font-family:var(--st-mono);
  font-feature-settings:"tnum" 1;
}

/* ---------- 2. Links (blue-action on light) ---------- */
a{color:var(--st-blue-action);text-decoration:none;transition:color .15s ease;}
a:hover,a:focus{color:var(--st-navy-900);text-decoration:underline;text-underline-offset:3px;}

/* ---------- 3. Buttons ---------- */
.wp-block-button__link,
.gb-button,
button.button,.button,
input[type="submit"],
.main-navigation .menu-toggle{
  font-family:var(--st-font);
  font-weight:600;
  background-color:var(--st-blue-action);
  color:#fff;
  border:none;
  border-radius:var(--st-r-sm);
  padding:12px 24px;
  box-shadow:none;
  transition:background-color .2s ease,transform .2s ease;
}
.wp-block-button__link:hover,
.gb-button:hover,
.button:hover,
input[type="submit"]:hover{
  background-color:var(--st-navy-900);
  color:#fff;
  transform:translateY(-2px);
}

/* Secondary / ghost button — add class "st-ghost" or block style "Ghost" */
.is-style-st-ghost .wp-block-button__link,
.gb-button.st-ghost,
.st-ghost>a{
  background-color:transparent;
  border:1px solid var(--st-navy-900);
  color:var(--st-navy-900);
}
.is-style-st-ghost .wp-block-button__link:hover,
.gb-button.st-ghost:hover,
.st-ghost>a:hover{
  background-color:var(--st-blue-tint);
  color:var(--st-navy-900);
  transform:translateY(-2px);
}

/* ---------- 4. Cards (add class "st-card" to a GB Container / column) ---------- */
.st-card,
.wp-block-post{
  background:#fff;
  border:1px solid var(--st-border);
  border-radius:var(--st-r-md);
  box-shadow:none;
  padding:24px;
  transition:transform .2s ease,box-shadow .2s ease;
}
.st-card:hover,
.wp-block-post:hover{
  transform:translateY(-4px);
  box-shadow:var(--st-shadow-hover);
}

/* ---------- 5. Header / navigation ---------- */
.site-header{
  background:#fff;
  border-bottom:1px solid var(--st-border);
}
/* sticky fallback (GP Premium sticky module not installed) */
.site-header{position:-webkit-sticky;position:sticky;top:0;z-index:100;}
.main-navigation,
.main-navigation ul{background:transparent;}
.main-navigation a{color:var(--st-navy-900);font-weight:500;}
.main-navigation a:hover,
.main-navigation .current-menu-item>a{color:var(--st-navy-900);}
.main-navigation .current-menu-item>a{box-shadow:inset 0 -2px 0 var(--st-blue-action);}
.main-navigation .main-nav ul li.current-menu-item>a{color:var(--st-navy-900);}

/* ---------- 6. Footer on navy ---------- */
.site-footer,
.site-footer .footer-widgets,
.site-info{
  background-color:var(--st-navy-900);
  color:var(--st-footer-text);
}
.site-footer a,.site-info a{color:var(--st-blue-electric);}
.site-footer a:hover{color:#fff;}
.site-footer .widget-title{color:#fff;}

/* ---------- 7. Section rhythm + alt band ---------- */
.st-section{padding-top:var(--st-section);padding-bottom:var(--st-section);}
.st-section--alt,.section-alt{background:var(--st-surface-alt);}

/* ---------- 8. Tags / filter chips ---------- */
.tag,.post-categories a,.wp-block-tag-cloud a,.st-chip{
  display:inline-block;
  font-family:var(--st-mono);
  font-size:13px;line-height:1;
  padding:5px 10px;
  border:1px solid var(--st-border);
  border-radius:var(--st-r-sm);
  color:var(--st-navy-900);
  background:#fff;
  text-decoration:none;
}
.tag:hover,.st-chip:hover,.st-chip.is-active{
  background:var(--st-blue-tint);
  border-color:var(--st-blue-action);
  color:var(--st-navy-900);
}

/* ---------- 9. Hero / CTA band — blueprint grid on navy (add class "st-hero") ---------- */
.st-hero{
  background-color:var(--st-navy-900);
  color:#fff;
  background-image:
    linear-gradient(rgba(90,157,255,.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(90,157,255,.08) 1px,transparent 1px);
  background-size:32px 32px;
}
.st-hero h1,.st-hero h2,.st-hero p{color:#fff;}
.st-hero .eyebrow,.st-hero .st-eyebrow{color:var(--st-blue-electric);}

/* ---------- 10. Tables = spec-sheet look ---------- */
.wp-block-table table,table{border-collapse:collapse;width:100%;}
.wp-block-table td,.wp-block-table th,
table td,table th{border:1px solid var(--st-border);padding:12px 16px;}
.wp-block-table th,table th{background:var(--st-navy-900);color:#fff;text-align:left;font-weight:600;}
.wp-block-table tr:nth-child(even) td,table tr:nth-child(even) td{background:var(--st-surface-alt);}

/* ---------- 11. Stat tile (add class "st-stat" to container, "st-stat__num" to number) ---------- */
.st-stat{border-left:2px solid var(--st-blue-action);padding-left:16px;}
.st-stat__num{font-family:var(--st-mono);font-size:2rem;color:var(--st-navy-900);font-weight:600;line-height:1.1;}
.st-stat__label{color:var(--st-text);font-size:14px;}

/* ---------- 12. Reading measure for articles ---------- */
.single .entry-content>*:not(.alignwide):not(.alignfull):not(.wp-block-table){
  max-width:760px;margin-left:auto;margin-right:auto;
}

/* ---------- 13. Focus (accessible, on-brand) ---------- */
*:focus-visible{outline:2px solid var(--st-blue-action);outline-offset:2px;}

/* ---------- 14. Responsive ---------- */
@media (max-width:768px){
  body{font-size:17px;}
  .st-section{padding-top:56px;padding-bottom:56px;}
  .st-hero{background-size:24px 24px;}
}

/* =====================================================================
   HOMEPAGE COMPONENTS (used by sunny-thailand-core plugin + page bands)
   ===================================================================== */

/* Front page runs full-width: unconstrain GeneratePress' #page container on home
   only. Header + footer keep their own .inside-* grid-containers, so they stay
   centered. (No 100vw trick, so no overflow-x:hidden — which had been disabling
   position:sticky on the header.) */
body.home #page.container{max-width:100%;padding-left:0;padding-right:0;}
body.home .site-content,
body.home .content-area,
body.home .site-main{max-width:100%;width:100%;padding:0;}

/* Hide GeneratePress page title on the front page (hero carries the H1) */
body.home .entry-header,
body.home .page-header,
body.home h1.entry-title{display:none;}
body.home .inside-article,
body.home .entry-content{padding:0;margin:0;}
body.home .entry-content>*{margin-top:0;margin-bottom:0;}

/* Layout utilities */
.st-container{max-width:var(--st-maxw);margin-inline:auto;padding-inline:24px;}
.st-fullbleed{width:100%;margin:0;} /* sections span the now-full-width content */

/* Section header: EN eyebrow + Thai title + description (left), view-all button (right) */
.st-sechead{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin:0 0 22px;}
.st-sechead__text{max-width:780px;}
.st-sechead .eyebrow{margin-bottom:10px;}
.st-sechead h2{margin:0;font-size:clamp(26px,3.4vw,38px);}
.st-sechead__desc{margin:14px 0 0;color:var(--st-text);font-size:16px;line-height:1.6;}
.st-sechead__cta{flex-shrink:0;white-space:nowrap;}
.st-divider{border:0;border-top:1px solid var(--st-border);margin:0 0 40px;}
@media (max-width:768px){
  .st-sechead{flex-direction:column;align-items:flex-start;gap:18px;}
  .st-sechead__cta{align-self:flex-start;}
}
/* legacy bottom link (no longer emitted, kept harmless) */
.st-viewall{display:inline-flex;align-items:center;gap:6px;margin-top:32px;font-weight:600;color:var(--st-blue-action);}

/* Card grid */
.st-grid{display:grid;gap:28px;}
.st-grid--3{grid-template-columns:repeat(3,1fr);}
@media (max-width:1024px){.st-grid--3{grid-template-columns:repeat(2,1fr);}}
@media (max-width:640px){.st-grid--3{grid-template-columns:1fr;}}

/* Article / review card (anchor) — overrides the base .st-card padding */
a.st-card{display:flex;flex-direction:column;padding:0;overflow:hidden;
  text-decoration:none;color:inherit;}
.st-card__media{position:relative;aspect-ratio:16/10;overflow:hidden;
  background-color:#F2F6FC;
  background-image:linear-gradient(rgba(10,31,68,.05) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(10,31,68,.05) 1px,transparent 1px); /* blueprint grid */
  background-size:18px 18px;background-position:center;
  display:flex;align-items:center;justify-content:center;
  border-bottom:1px solid var(--st-border);}
.st-card__media .st-chip{position:absolute;top:12px;left:12px;z-index:2;}
.st-illus{width:48%;max-width:150px;height:auto;display:block;transition:transform .35s ease;}
a.st-card:hover .st-illus{transform:scale(1.06);}
.st-card__media .st-chip{background:var(--st-navy-900);color:#fff;border-color:transparent;}
.st-card__body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1;}
.st-card__meta{font-family:var(--st-mono);font-size:12px;color:#667085;
  display:flex;gap:8px;align-items:center;}
.st-card__title{font-size:18px;line-height:1.35;color:var(--st-navy-900);font-weight:600;margin:0;}
.st-card__excerpt{font-size:14px;line-height:1.65;color:var(--st-text);margin:0;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.st-card__foot{margin-top:auto;display:flex;align-items:center;gap:8px;padding-top:6px;}
.st-avatar{width:28px;height:28px;border-radius:50%;background:var(--st-navy-900);color:#fff;
  font:600 11px/1 var(--st-mono);display:flex;align-items:center;justify-content:center;}
.st-card__author-name{font-size:13px;color:var(--st-text);}
a.st-card:hover .st-card__title{color:var(--st-blue-action);}

/* Review card top row + stars */
.st-review-top{display:flex;justify-content:space-between;align-items:center;gap:8px;}
.st-stars{display:inline-flex;gap:2px;color:#F5A623;flex-shrink:0;}
.st-stars svg{width:15px;height:15px;display:block;}

/* News list */
.st-newslist{display:flex;flex-direction:column;border-top:1px solid var(--st-border);
  max-width:920px;}
a.st-newsrow{display:grid;grid-template-columns:120px 1fr auto;gap:24px;align-items:center;
  padding:20px 8px;border-bottom:1px solid var(--st-border);
  text-decoration:none;color:inherit;transition:background .15s ease,padding .15s ease;}
a.st-newsrow:hover{background:var(--st-blue-tint);}
.st-newsrow__date{font-family:var(--st-mono);font-size:13px;color:var(--st-blue-action);}
.st-newsrow__title{font-size:17px;font-weight:600;color:var(--st-navy-900);margin:0 0 4px;}
.st-newsrow__excerpt{font-size:14px;color:var(--st-text);margin:0;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;}
.st-newsrow__more{font-size:14px;color:var(--st-blue-action);font-weight:600;white-space:nowrap;}
a.st-newsrow:hover .st-newsrow__more{text-decoration:underline;}
@media (max-width:640px){
  a.st-newsrow{grid-template-columns:1fr;gap:6px;}
  .st-newsrow__more{display:none;}
  .st-newsrow__excerpt{-webkit-line-clamp:2;}
}

/* Stats row */
.st-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  max-width:820px;margin:36px auto 0;}
@media (max-width:640px){.st-stats{grid-template-columns:1fr;}}

/* Hero split layout + typography */
.st-hero__grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center;}
.st-hero h1{font-size:clamp(32px,5vw,52px);margin:0 0 18px;letter-spacing:-.02em;line-height:1.1;}
.st-hero__sub{font-size:clamp(17px,2vw,20px);color:#C3CEE3;max-width:54ch;margin:0 0 28px;line-height:1.6;}
.st-hero .eyebrow{color:var(--st-blue-electric);}
@media (max-width:860px){
  .st-hero__grid{grid-template-columns:1fr;gap:32px;}
  .st-hero__visual{display:none;}
}

/* Blueprint spec card (hero visual) */
.st-speccard{border:1px solid rgba(90,157,255,.35);border-radius:12px;padding:22px;
  background:rgba(90,157,255,.04);}
.st-speccard__label{font:600 12px/1 var(--st-mono);letter-spacing:.06em;
  text-transform:uppercase;color:var(--st-blue-electric);margin:0 0 14px;}
.st-speccard svg{width:100%;height:auto;display:block;}

/* Hero spec readout under the curve */
.st-specrows{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px;
  padding-top:16px;border-top:1px solid rgba(90,157,255,.2);}
.st-specrow{display:flex;flex-direction:column;gap:2px;}
.st-specrow span{font:500 11px/1 var(--st-mono);letter-spacing:.04em;color:var(--st-blue-electric);text-transform:uppercase;}
.st-specrow b{font:600 16px/1 var(--st-mono);color:#fff;}
.st-specrow sub{font-size:.7em;}

/* Draw-on animation for the hero I–V curve */
@media (prefers-reduced-motion: no-preference){
  .st-speccard path{stroke-dasharray:340;stroke-dashoffset:340;animation:st-draw 1.8s ease forwards .5s;}
  @keyframes st-draw{to{stroke-dashoffset:0;}}
}

/* ---------- Scroll-reveal (staggered fade-up) ---------- */
@media (prefers-reduced-motion: no-preference){
  .st-card,.st-newsrow,.st-sechead,.st-stat,.st-hero__content,.st-speccard{
    opacity:0;transform:translateY(18px);
    transition:opacity .6s ease,transform .6s ease;will-change:opacity,transform;}
  .st-card.is-visible,.st-newsrow.is-visible,.st-sechead.is-visible,
  .st-stat.is-visible,.st-hero__content.is-visible,.st-speccard.is-visible{
    opacity:1;transform:none;}
}

/* ---------- Typography polish ---------- */
h1,h2,.st-card__title,.st-sechead h2,.st-newsrow__title{text-wrap:balance;}
.st-card__title{font-size:19px;letter-spacing:-.01em;}
.st-card__body{gap:10px;padding:22px;}

/* Buttons used inside HTML bands (not core/GB buttons) */
.st-btn{display:inline-block;font-weight:600;font-family:var(--st-font);font-size:15px;
  border-radius:var(--st-r-sm);padding:13px 26px;border:1px solid transparent;
  text-decoration:none;cursor:pointer;
  transition:background-color .2s ease,color .2s ease,transform .2s ease;}
.st-btnrow{display:flex;gap:12px;flex-wrap:wrap;}
.st-btn--primary{background:var(--st-blue-action);color:#fff;}
.st-btn--primary:hover{background:var(--st-blue-electric);color:var(--st-navy-900);transform:translateY(-2px);text-decoration:none;}
.st-btn--ghost{background:transparent;border-color:rgba(255,255,255,.45);color:#fff;}
.st-btn--ghost:hover{background:rgba(255,255,255,.08);color:#fff;transform:translateY(-2px);text-decoration:none;}
.st-btn--invert{background:#fff;color:var(--st-navy-900);}
.st-btn--invert:hover{background:var(--st-blue-tint);color:var(--st-navy-900);transform:translateY(-2px);text-decoration:none;}
.st-btn--outline{background:#fff;border-color:var(--st-border);color:var(--st-navy-900);font-size:14px;padding:11px 20px;}
.st-btn--outline:hover{background:var(--st-navy-900);border-color:var(--st-navy-900);color:#fff;transform:translateY(-2px);text-decoration:none;}

/* Calc + trust bands */
.st-band{text-align:center;}
.st-band--calc .eyebrow{color:var(--st-blue-electric);} /* electric only on navy */
.st-band p{max-width:640px;margin-inline:auto;}
.st-band--calc p{color:#C3CEE3;}
.st-trust p{color:var(--st-text);font-size:18px;max-width:680px;margin:12px auto 0;}

/* =====================================================================
   HEADER / PRIMARY NAVIGATION
   ===================================================================== */

/* Sticky header gets a subtle shadow */
.site-header{transition:box-shadow .2s ease;}
.site-header{box-shadow:0 1px 0 var(--st-border);}

/* Header row: logo left, navigation + search right, one line.
   Match section container (max-width + 24px padding) so the search box right
   edge lines up with the cards' right edge. */
.site-header .inside-header{display:flex;align-items:center;justify-content:space-between;
  gap:24px;flex-wrap:nowrap;max-width:var(--st-maxw);padding-left:24px;padding-right:24px;}
.site-header .site-branding{margin-right:auto;}
.main-navigation{margin-left:auto;}
.main-navigation .inside-navigation{display:flex;align-items:center;flex-wrap:nowrap;
  justify-content:flex-end;gap:6px;padding-left:0;padding-right:0;} /* no double padding */
.main-navigation .main-nav{order:1;}
.st-nav-search{order:2;}

/* Desktop: remove the dropdown caret + its reserved padding (even spacing).
   Kept on mobile (≤768) so submenus stay tappable. */
@media (min-width:769px){
  .main-navigation .dropdown-menu-toggle{display:none;}
  .main-navigation .main-nav ul li.menu-item-has-children > a{padding-right:16px;}
  .main-navigation .main-nav ul li.menu-item-has-children > a > .gp-icon{display:none;}
}

/* Image logo (custom_logo) replaces the text site title */
.custom-logo,.site-logo img{max-width:190px;height:auto;}
.main-title,.site-title{display:none;} /* using the image logo */

/* Top-level items ONLY (direct children — never recolour dropdown links) */
/* Equal spacing between items; nav text sized to H6 */
.main-navigation .main-nav > ul{display:flex;align-items:center;}
.main-navigation .main-nav > ul > li > a{
  font-weight:600;font-size:16px;color:var(--st-navy-900); /* = H6 */
  padding-left:16px;padding-right:16px;white-space:nowrap;
}
h6,.wp-block-heading.is-h6{font-size:16px;font-weight:600;}
.main-navigation .main-nav > ul > li > a:hover,
.main-navigation .main-nav > ul > li:hover > a{color:var(--st-blue-action);background:transparent;}
.main-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a{
  color:var(--st-navy-900);box-shadow:inset 0 -2px 0 var(--st-blue-action);
}

/* Dropdown panel — navy, engineered */
.main-navigation .main-nav ul ul{
  background:var(--st-navy-900);
  border:1px solid rgba(90,157,255,.22);
  border-radius:8px;
  box-shadow:0 12px 28px rgba(10,31,68,.28);
  padding:6px;
  min-width:250px;
}
/* Readable dropdown links (high specificity beats the top-level rule) */
.main-navigation .main-nav ul ul li a{
  color:#DCE6FA;font-size:14px;font-weight:400;
  padding:10px 14px;border-radius:5px;white-space:normal;line-height:1.4;
}
.main-navigation .main-nav ul ul li a:hover,
.main-navigation .main-nav ul ul li:hover > a{
  background:var(--st-navy-800);color:#fff;box-shadow:none;
}
.main-navigation .main-nav ul ul li.current-menu-item > a{
  background:var(--st-navy-800);color:#fff;box-shadow:inset 0 0 0 1px rgba(90,157,255,.45);
}

/* Header search box (injected via generate_after_primary_menu) */
.st-nav-search{display:flex;align-items:center;margin-left:18px;}
.st-nav-search input[type="search"]{
  border:1px solid var(--st-border);border-right:none;border-radius:4px 0 0 4px;
  padding:8px 12px;font-size:13.5px;font-family:var(--st-font);
  width:150px;background:var(--st-surface-alt);color:var(--st-navy-900);}
.st-nav-search input[type="search"]::placeholder{color:#667085;}
.st-nav-search input[type="search"]:focus{outline:none;border-color:var(--st-blue-action);background:#fff;}
.st-nav-search button{
  border:none;border-radius:0 4px 4px 0;padding:0 12px;
  display:flex;align-items:center;justify-content:center;align-self:stretch;
  background:var(--st-blue-action);color:#fff;cursor:pointer;transition:background-color .2s ease;}
.st-nav-search button svg{display:block;}
.st-nav-search button:hover{background:var(--st-navy-900);}

/* Mobile: dropdowns + search stack cleanly */
.main-navigation .menu-toggle{background:transparent;color:var(--st-navy-900);}
@media (max-width:768px){
  .main-navigation .main-nav ul ul{background:var(--st-surface-alt);border:none;box-shadow:none;}
  .main-navigation .main-nav ul ul li a{color:var(--st-navy-900);}
  .main-navigation .main-nav ul ul li a:hover{background:var(--st-blue-tint);color:var(--st-navy-900);}
  .st-nav-search{margin:12px 20px;}
  .st-nav-search input[type="search"]{flex:1;}
}

/* =====================================================================
   FOOTER (custom, via generate_before_footer_content)
   ===================================================================== */
.site-footer{background:var(--st-navy-900);}
.st-footer{background:var(--st-navy-900);color:#C3CEE3;}
.st-footer__grid{display:flex;justify-content:space-between;align-items:flex-start;gap:64px;flex-wrap:wrap;}
.st-footer__brand{max-width:420px;}
.st-footer__widgets{display:flex;gap:72px;flex-wrap:wrap;}
.st-footer__logo{max-width:190px;height:auto;margin-bottom:18px;display:block;}
.st-footer__brand p{color:#8FA0C0;font-size:15px;line-height:1.7;max-width:40ch;margin:0;}
.st-footer__title{color:#fff;font-size:16px;font-weight:600;margin:0 0 18px;}
.st-footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;}
.st-footer__col a{color:#C3CEE3;font-size:15px;}
.st-footer__col a:hover{color:var(--st-blue-electric);text-decoration:none;}
.st-footer__col>p{color:#8FA0C0;font-size:14px;line-height:1.7;margin:0 0 14px;}
.st-newsletter{display:flex;max-width:360px;}
.st-newsletter input{
  flex:1;min-width:0;border:1px solid rgba(255,255,255,.18);border-right:none;
  background:rgba(255,255,255,.05);color:#fff;border-radius:4px 0 0 4px;
  padding:11px 14px;font-size:14px;font-family:var(--st-font);}
.st-newsletter input::placeholder{color:#8FA0C0;}
.st-newsletter input:focus{outline:none;border-color:var(--st-blue-electric);}
.st-newsletter button{
  border:none;background:var(--st-blue-action);color:#fff;font-weight:600;
  border-radius:0 4px 4px 0;padding:11px 22px;cursor:pointer;font-family:var(--st-font);
  transition:background-color .2s ease,color .2s ease;}
.st-newsletter button:hover{background:var(--st-blue-electric);color:var(--st-navy-900);}
@media (max-width:860px){.st-footer__grid{grid-template-columns:1fr;gap:36px;}}

/* GeneratePress credit bar — keep on navy, slim */
.site-info,.inside-site-info{background:var(--st-navy-900);color:#6E80A6;font-size:13px;}
.site-info a{color:var(--st-blue-electric);}

/* =====================================================================
   KNOWLEDGE CENTER (archive-knowledge + single-knowledge)
   ===================================================================== */
.st-kb,.st-single{padding:40px 0 96px;}

/* Breadcrumb */
.st-crumbs{margin:0 0 26px;}
.st-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;
  font-family:var(--st-mono);font-size:13px;}
.st-crumbs li{color:#667085;display:flex;gap:8px;align-items:center;}
.st-crumbs li:not(:last-child)::after{content:"/";color:var(--st-border);}
.st-crumbs a{color:var(--st-blue-action);}
.st-crumbs a:hover{color:var(--st-navy-900);text-decoration:none;}
.st-crumbs li[aria-current]{color:var(--st-navy-900);}

/* Header */
.st-kb__head{margin:0 0 26px;max-width:780px;}
.st-kb__head h1{font-size:clamp(30px,4vw,44px);margin:6px 0 0;letter-spacing:-.02em;}
.st-kb__desc{margin:14px 0 0;color:var(--st-text);font-size:17px;line-height:1.6;}

/* Filter chips */
.st-kb__filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 36px;padding:0 0 28px;
  border-bottom:1px solid var(--st-border);}
.st-filter{cursor:pointer;font-family:var(--st-mono);font-size:13px;line-height:1;
  padding:9px 14px;border:1px solid var(--st-border);border-radius:var(--st-r-sm);
  background:#fff;color:var(--st-navy-900);transition:all .15s ease;}
.st-filter:hover{border-color:var(--st-blue-action);color:var(--st-blue-action);}
.st-filter.is-active{background:var(--st-navy-900);border-color:var(--st-navy-900);color:#fff;}

/* Layout: content + sidebar */
.st-kb__layout,.st-single__layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;
  gap:48px;align-items:start;}
.st-kb-grid.is-loading{opacity:.45;pointer-events:none;transition:opacity .2s ease;}

/* Load more */
.st-kb__more{text-align:center;margin-top:44px;}
.st-loadmore[hidden]{display:none;}
.st-kb__empty{color:#667085;}

/* Sidebar boxes */
.st-side__box{border:1px solid var(--st-border);border-radius:var(--st-r-md);
  padding:20px;margin-bottom:24px;background:#fff;}
.st-side__title{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;
  color:var(--st-navy-900);margin:0 0 14px;}
.st-side__search{display:flex;}
.st-side__search input[type="search"]{flex:1;min-width:0;border:1px solid var(--st-border);
  border-right:none;border-radius:4px 0 0 4px;padding:9px 12px;font-family:var(--st-font);font-size:14px;}
.st-side__search input:focus{outline:none;border-color:var(--st-blue-action);}
.st-side__search button{border:none;background:var(--st-blue-action);color:#fff;
  border-radius:0 4px 4px 0;padding:0 14px;display:flex;align-items:center;cursor:pointer;}
.st-side__search button:hover{background:var(--st-navy-900);}
.st-side__topics,.st-side__latest{list-style:none;margin:0;padding:0;}
.st-side__topics li,.st-side__latest li{border-top:1px solid var(--st-border);}
.st-side__topics li:first-child,.st-side__latest li:first-child{border-top:none;}
.st-side__topics a{display:flex;justify-content:space-between;align-items:center;gap:10px;
  padding:10px 0;color:var(--st-navy-900);font-size:14px;}
.st-side__topics a span{font-family:var(--st-mono);font-size:12px;color:#667085;
  background:var(--st-surface-alt);border-radius:20px;padding:2px 9px;}
.st-side__topics a:hover,.st-side__latest a:hover{color:var(--st-blue-action);text-decoration:none;}
.st-side__latest li{padding:10px 0;}
.st-side__latest a{display:block;color:var(--st-navy-900);font-size:14px;line-height:1.45;}
.st-side__date{display:block;font-family:var(--st-mono);font-size:11px;color:#667085;margin-top:4px;}

/* ---- Single article ---- */
.st-single__head{margin:0 0 26px;}
.st-single__head h1{font-size:clamp(28px,4vw,42px);margin:6px 0 0;letter-spacing:-.02em;text-wrap:balance;}
.st-single__meta{display:flex;flex-wrap:wrap;gap:16px;margin-top:16px;
  font-family:var(--st-mono);font-size:13px;color:#667085;}
.st-single__hero{margin:0 0 32px;border-radius:var(--st-r-md);overflow:hidden;border:1px solid var(--st-border);}
.st-single__hero img{width:100%;height:auto;display:block;}

/* Sticky TOC */
.st-sticky{position:sticky;top:92px;}
.st-toc{border:1px solid var(--st-border);border-radius:var(--st-r-md);padding:20px;background:#fff;}
.st-toc__title{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;
  color:var(--st-navy-900);margin:0 0 12px;}
.st-toc ol{list-style:none;margin:0;padding:0;}
.st-toc a{display:block;padding:6px 0 6px 12px;color:var(--st-text);font-size:14px;
  line-height:1.4;border-left:2px solid var(--st-border);transition:all .15s ease;}
.st-toc a:hover{color:var(--st-blue-action);border-left-color:var(--st-blue-action);text-decoration:none;}
.st-toc__h3 a{padding-left:26px;font-size:13px;color:#667085;}

/* Prose */
.st-prose{font-size:17px;line-height:1.8;color:var(--st-text);max-width:760px;}
.st-prose > *{margin:0 0 1.2em;}
.st-prose h2{font-size:26px;margin:1.8em 0 .6em;scroll-margin-top:92px;color:var(--st-navy-900);letter-spacing:-.01em;}
.st-prose h3{font-size:20px;margin:1.4em 0 .5em;scroll-margin-top:92px;color:var(--st-navy-900);}
.st-prose a{color:var(--st-blue-action);text-decoration:underline;text-underline-offset:2px;}
.st-prose ul,.st-prose ol{padding-left:1.4em;}
.st-prose li{margin:.4em 0;}
.st-prose img{max-width:100%;height:auto;border-radius:var(--st-r-md);border:1px solid var(--st-border);}
.st-prose blockquote{border-left:3px solid var(--st-blue-action);background:var(--st-blue-tint);
  margin:1.4em 0;padding:16px 20px;border-radius:0 8px 8px 0;color:var(--st-navy-900);}
.st-prose code{font-family:var(--st-mono);background:var(--st-surface-alt);padding:2px 6px;border-radius:4px;font-size:.9em;}
.st-prose pre{background:var(--st-navy-900);color:#DCE6FA;padding:18px;border-radius:8px;overflow-x:auto;}
.st-prose pre code{background:none;color:inherit;padding:0;}

/* Tags / prev-next / related */
.st-tags{display:flex;flex-wrap:wrap;gap:8px;margin:32px 0;padding-top:24px;border-top:1px solid var(--st-border);}
.st-postnav{display:flex;justify-content:space-between;gap:16px;margin:32px 0;
  padding:22px 0;border-top:1px solid var(--st-border);border-bottom:1px solid var(--st-border);font-weight:600;}
.st-postnav a{color:var(--st-navy-900);}
.st-postnav a:hover{color:var(--st-blue-action);text-decoration:none;}
.st-postnav__next{margin-left:auto;text-align:right;}
.st-related-grid{margin:48px 0 0;}
.st-related-grid h2{font-size:24px;margin:0 0 24px;}

@media (max-width:900px){
  .st-kb__layout,.st-single__layout{grid-template-columns:1fr;gap:40px;}
  .st-single__aside{order:-1;}
  .st-sticky{position:static;}
}

/* =====================================================================
   NEWS CENTER — Bloomberg-style editorial front + wire feed
   ===================================================================== */
.st-news{padding:40px 0 96px;}

/* Front: lead + rail, closed by a heavy rule */
.st-newsfront{display:grid;grid-template-columns:1.7fr 1fr;gap:48px;
  margin:0 0 44px;padding:0 0 40px;border-bottom:2px solid var(--st-navy-900);}

/* Lead story */
a.st-lead{display:block;text-decoration:none;color:inherit;}
.st-lead__media{aspect-ratio:16/9;overflow:hidden;border:1px solid var(--st-border);
  border-radius:var(--st-r-md);margin:0 0 18px;display:flex;align-items:center;justify-content:center;
  background-color:#F2F6FC;
  background-image:linear-gradient(rgba(10,31,68,.05) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(10,31,68,.05) 1px,transparent 1px);
  background-size:20px 20px;background-position:center;}
.st-lead__media .st-illus{width:34%;max-width:180px;}
.st-lead__title{font-size:clamp(24px,3vw,34px);color:var(--st-navy-900);margin:12px 0;
  line-height:1.18;letter-spacing:-.02em;text-wrap:balance;}
a.st-lead:hover .st-lead__title{color:var(--st-blue-action);}
.st-lead__excerpt{color:var(--st-text);font-size:16px;line-height:1.65;margin:0;}
.st-lead__meta{font-family:var(--st-mono);font-size:13px;color:#667085;margin-top:14px;
  display:flex;gap:8px;flex-wrap:wrap;}

/* Rail */
.st-newsfront__rail{border-left:1px solid var(--st-border);padding-left:32px;}
.st-rail__title{font:600 12px/1 var(--st-mono);text-transform:uppercase;letter-spacing:.08em;
  color:var(--st-navy-900);margin:0 0 6px;}

/* Wire item (rail + feed + related) */
a.st-wire{display:block;text-decoration:none;color:inherit;padding:16px 0;
  border-top:1px solid var(--st-border);}
.st-wire__top{display:flex;gap:12px;align-items:center;margin:0 0 6px;}
.st-wire__cat{font-family:var(--st-mono);font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.06em;color:var(--st-blue-action);}
.st-wire__time{font-family:var(--st-mono);font-size:11px;color:#667085;}
.st-wire__title{font-size:16px;font-weight:600;color:var(--st-navy-900);line-height:1.35;margin:0;}
a.st-wire:hover .st-wire__title{color:var(--st-blue-action);}
.st-wire__excerpt{font-size:13px;color:var(--st-text);line-height:1.55;margin:6px 0 0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
/* rail = headlines only (dense) */
.st-newsfront__rail .st-wire__excerpt{display:none;}

/* Feed head + filters */
.st-newsfeed-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;
  flex-wrap:wrap;margin:0 0 20px;}
.st-newsfeed-head h2{font-size:22px;margin:0;}
.st-newsfeed-head .st-kb__filters{margin:0;padding:0;border:none;}

/* Two-column wire feed */
.st-newsfeed{display:grid;grid-template-columns:1fr 1fr;gap:0 44px;
  border-top:1px solid var(--st-navy-900);}
.st-newsfeed.is-loading{opacity:.45;pointer-events:none;transition:opacity .2s ease;}

@media (max-width:900px){
  .st-newsfront{grid-template-columns:1fr;gap:32px;}
  .st-newsfront__rail{border-left:none;border-top:1px solid var(--st-border);padding:24px 0 0;}
}
@media (max-width:700px){
  .st-newsfeed{grid-template-columns:1fr;}
}

/* =====================================================================
   REVIEWS CENTER — premium engineering review page
   ===================================================================== */
.st-review .st-rvhero{display:grid;grid-template-columns:360px 1fr;gap:40px;align-items:center;
  margin:0 0 40px;padding:0 0 40px;border-bottom:1px solid var(--st-border);}
.st-rvhero__media{aspect-ratio:4/3;border:1px solid var(--st-border);border-radius:var(--st-r-md);
  overflow:hidden;display:flex;align-items:center;justify-content:center;background-color:#F2F6FC;
  background-image:linear-gradient(rgba(10,31,68,.05) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(10,31,68,.05) 1px,transparent 1px);
  background-size:18px 18px;background-position:center;}
.st-rvhero__media .st-illus{width:44%;}
.st-rvhero__body h1{font-size:clamp(26px,3.4vw,38px);margin:6px 0 4px;letter-spacing:-.02em;text-wrap:balance;}
.st-rvhero__model{font-family:var(--st-mono);font-size:14px;color:#667085;margin:0 0 14px;}
.st-rvhero__rating{display:flex;align-items:center;gap:16px;margin:14px 0 20px;}
.st-rvhero__rating .st-stars svg{width:20px;height:20px;}
.st-rvhero__score{font-family:var(--st-mono);font-size:28px;font-weight:600;color:var(--st-navy-900);}
.st-rvhero__score small{font-size:15px;color:#667085;font-weight:400;}
.st-rvmetrics{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 22px;}
.st-rvmetric{border:1px solid var(--st-border);border-left:2px solid var(--st-blue-action);
  border-radius:var(--st-r-md);padding:12px 18px;}
.st-rvmetric span{display:block;font-size:12px;color:#667085;margin-bottom:4px;}
.st-rvmetric b{font-family:var(--st-mono);font-size:18px;color:var(--st-navy-900);}
.st-datasheet{display:inline-flex;align-items:center;gap:6px;}
.st-dlico{width:15px;height:15px;}

.st-rvsection{margin:0 0 40px;scroll-margin-top:92px;}
.st-rvsection > h2{font-size:22px;margin:0 0 16px;padding-bottom:10px;
  border-bottom:2px solid var(--st-navy-900);letter-spacing:-.01em;}
.st-rvsummary{font-size:17px;line-height:1.75;color:var(--st-navy-900);background:var(--st-blue-tint);
  border-radius:var(--st-r-md);padding:20px 24px;border-left:3px solid var(--st-blue-action);margin:0;}

/* Technical spec table */
.st-spectable table{width:100%;border-collapse:collapse;}
.st-spectable th{width:42%;text-align:left;background:var(--st-surface-alt);color:var(--st-navy-900);
  font-weight:600;border:1px solid var(--st-border);padding:11px 16px;font-size:14px;}
.st-spectable td{border:1px solid var(--st-border);padding:11px 16px;
  font-family:var(--st-mono);font-size:14px;color:var(--st-text);}

/* Pros & cons */
.st-proscons{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.st-proscons__col{border:1px solid var(--st-border);border-radius:var(--st-r-md);padding:20px 22px;}
.st-proscons__h{font-weight:600;font-size:15px;margin:0 0 14px;color:var(--st-navy-900);}
.st-proscons ul{list-style:none;margin:0;padding:0;}
.st-proscons li{display:flex;gap:10px;align-items:flex-start;margin:0 0 10px;
  font-size:15px;line-height:1.5;color:var(--st-text);}
.st-pc-ico{flex-shrink:0;width:20px;height:20px;border-radius:50%;display:flex;
  align-items:center;justify-content:center;margin-top:1px;}
.st-pc-ico svg{width:12px;height:12px;}
.st-pros .st-pc-ico{background:var(--st-blue-tint);color:var(--st-blue-action);}
.st-cons .st-pc-ico{background:var(--st-surface-alt);color:#667085;}

/* Comparison table */
.st-comptable{overflow-x:auto;}
.st-comptable table{width:100%;border-collapse:collapse;min-width:520px;}
.st-comptable thead th{background:var(--st-navy-900);color:#fff;padding:12px 16px;text-align:left;
  font-size:13px;font-weight:600;border:1px solid var(--st-navy-800);}
.st-comptable tbody th{background:var(--st-surface-alt);color:var(--st-navy-900);text-align:left;
  padding:12px 16px;border:1px solid var(--st-border);font-size:14px;}
.st-comptable td{border:1px solid var(--st-border);padding:12px 16px;
  font-family:var(--st-mono);font-size:14px;color:var(--st-text);}
.st-comptable tbody tr:first-child th,.st-comptable tbody tr:first-child td{background:var(--st-blue-tint);}

/* Rating dial */
.st-rating{display:flex;align-items:center;gap:28px;border:1px solid var(--st-border);
  border-radius:var(--st-r-md);padding:24px 28px;background:#fff;}
.st-rating__score{flex-shrink:0;width:118px;height:118px;border-radius:50%;background:var(--st-navy-900);
  color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background-image:linear-gradient(rgba(90,157,255,.10) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(90,157,255,.10) 1px,transparent 1px);background-size:16px 16px;}
.st-rating__num{font-family:var(--st-mono);font-size:40px;font-weight:600;line-height:1;}
.st-rating__den{font-family:var(--st-mono);font-size:13px;color:#8FBEFF;}
.st-rating__right .st-stars svg{width:20px;height:20px;}
.st-rating__label{font-weight:700;font-size:18px;color:var(--st-navy-900);margin:10px 0 4px;}
.st-rating__verdict{color:var(--st-text);font-size:15px;margin:0;}
.st-rating--top .st-rating__label,.st-rating--high .st-rating__label{color:var(--st-blue-action);}

/* Datasheet CTA band */
.st-dscta{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;
  background:var(--st-navy-900);color:#fff;border-radius:var(--st-r-md);padding:24px 28px;margin:0 0 40px;
  background-image:linear-gradient(rgba(90,157,255,.08) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(90,157,255,.08) 1px,transparent 1px);background-size:28px 28px;}
.st-dscta__t{font-weight:600;font-size:17px;margin:0 0 4px;color:#fff;}
.st-dscta__d{color:#C3CEE3;font-size:14px;margin:0;}
.st-dscta .st-btn{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;}

@media (max-width:820px){
  .st-review .st-rvhero{grid-template-columns:1fr;gap:24px;}
  .st-proscons{grid-template-columns:1fr;}
  .st-rating{flex-direction:column;text-align:center;}
}

/* =====================================================================
   ROI CALCULATOR (page-calculator + [st_roi_calculator])
   ===================================================================== */
.st-calc-page{padding:40px 0 96px;}
.st-calc__grid{display:grid;grid-template-columns:380px 1fr;gap:32px;align-items:start;}

/* Inputs panel */
.st-calc__panel{background:#fff;border:1px solid var(--st-border);border-radius:var(--st-r-md);padding:28px;}
.st-calc__ptitle{font-weight:600;font-size:16px;color:var(--st-navy-900);margin:0 0 24px;}
.st-field{margin:0 0 26px;}
.st-field label{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:600;
  color:var(--st-navy-900);margin-bottom:12px;}
.st-field output{font-family:var(--st-mono);color:var(--st-blue-action);}
.st-field__scale{display:flex;justify-content:space-between;font-size:11px;color:#667085;
  margin-top:8px;font-family:var(--st-mono);}
.st-calc input[type="range"]{-webkit-appearance:none;appearance:none;width:100%;height:6px;
  border-radius:3px;background:var(--st-border);outline:none;}
.st-calc input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;
  border-radius:50%;background:var(--st-blue-action);cursor:pointer;border:3px solid #fff;
  box-shadow:0 0 0 1px var(--st-border);}
.st-calc input[type="range"]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;
  background:var(--st-blue-action);cursor:pointer;border:3px solid #fff;}

.st-calc__rec{margin-top:24px;border:1px solid var(--st-border);border-radius:var(--st-r-md);overflow:hidden;}
.st-calc__rec-row{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;font-size:14px;
  border-top:1px solid var(--st-border);}
.st-calc__rec-row:first-child{border-top:none;}
.st-calc__rec-row span{color:var(--st-text);}
.st-calc__rec-row b{color:var(--st-navy-900);font-family:var(--st-mono);}
.st-calc__rec-row--cost{background:var(--st-blue-tint);}
.st-calc__rec-row--cost b{color:var(--st-blue-action);font-size:16px;}
.st-calc__fine{font-size:11px;color:#667085;margin:14px 0 0;}

/* Result cards */
.st-calc__cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 24px;}
.st-calc__card{border:1px solid var(--st-border);border-radius:var(--st-r-md);padding:20px;background:#fff;}
.st-calc__card span{display:block;font-size:13px;color:var(--st-text);margin-bottom:8px;}
.st-calc__card b{font-size:15px;color:var(--st-navy-900);font-weight:400;}
.st-calc__card em{font-family:var(--st-mono);font-size:28px;font-weight:600;font-style:normal;color:var(--st-navy-900);}
.st-calc__card--navy{background:var(--st-navy-900);border-color:var(--st-navy-900);
  background-image:linear-gradient(rgba(90,157,255,.08) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(90,157,255,.08) 1px,transparent 1px);background-size:24px 24px;}
.st-calc__card--navy span{color:#C3CEE3;}
.st-calc__card--navy b,.st-calc__card--navy em{color:#fff;}
.st-calc__card--blue{background:var(--st-blue-action);border-color:var(--st-blue-action);}
.st-calc__card--blue span{color:rgba(255,255,255,.85);}
.st-calc__card--blue b,.st-calc__card--blue em{color:#fff;}

/* Chart */
.st-calc__chart{border:1px solid var(--st-border);border-radius:var(--st-r-md);padding:20px;background:#fff;}
.st-calc__chart-head{display:flex;justify-content:space-between;align-items:center;
  margin-bottom:6px;flex-wrap:wrap;gap:8px;}
.st-calc__chart-head p{font-weight:600;color:var(--st-navy-900);margin:0;font-size:15px;}
.st-calc__legend{font-family:var(--st-mono);font-size:11px;color:#667085;display:flex;align-items:center;}
.st-lg{width:10px;height:10px;border-radius:2px;display:inline-block;margin:0 6px 0 12px;}
.st-lg--save{background:rgba(90,157,255,.35);}
.st-lg--pb{background:var(--st-blue-electric);border-radius:50%;}
#calc-chart{width:100%;height:auto;display:block;}

/* Engineering notes */
.st-calc__notes{margin-top:32px;border:1px solid var(--st-border);border-left:3px solid var(--st-blue-action);
  border-radius:var(--st-r-md);padding:24px 28px;background:var(--st-surface-alt);}
.st-calc__ntitle{font-weight:600;color:var(--st-navy-900);margin:0 0 14px;font-size:15px;}
.st-calc__notes ul{margin:0;padding-left:20px;color:var(--st-text);font-size:14px;line-height:1.9;}
.st-calc__notes b{color:var(--st-navy-900);font-family:var(--st-mono);}
.st-calc__mono{font-family:var(--st-mono);background:#fff;border:1px solid var(--st-border);
  border-radius:4px;padding:1px 6px;font-size:13px;}
.st-calc__disc{margin:16px 0 0;font-size:13px;color:#667085;}

@media (max-width:860px){ .st-calc__grid{grid-template-columns:1fr;} }
@media (max-width:480px){ .st-calc__cards{grid-template-columns:1fr;} }

/* =====================================================================
   INFO PAGES (contact / training / about / privacy) + newsletter modal
   ===================================================================== */

/* ---- Consent modal ---- */
.st-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;}
.st-modal[hidden]{display:none;}
.st-modal__backdrop{position:absolute;inset:0;background:rgba(10,31,68,.55);}
.st-modal__box{position:relative;background:#fff;border-radius:12px;max-width:460px;width:100%;
  padding:32px;box-shadow:0 20px 60px rgba(10,31,68,.3);}
.st-modal__x{position:absolute;top:12px;right:16px;background:none;border:none;font-size:26px;
  line-height:1;color:#667085;cursor:pointer;padding:0;}
.st-modal__box h3{margin:4px 0 12px;font-size:20px;color:var(--st-navy-900);}
.st-modal__lead{color:var(--st-text);font-size:14px;line-height:1.6;margin:0 0 18px;}
.st-consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--st-navy-900);
  line-height:1.5;background:var(--st-surface-alt);border:1px solid var(--st-border);
  border-radius:8px;padding:14px;cursor:pointer;}
.st-consent input{margin-top:2px;width:18px;height:18px;flex-shrink:0;accent-color:var(--st-blue-action);}
.st-modal__actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px;}
.st-nl-msg{margin:14px 0 0;font-size:14px;font-weight:600;text-align:center;}
.st-nl-msg--ok{color:var(--st-blue-action);}
.st-nl-msg--err{color:#d33;}

/* ---- Contact ---- */
.st-contact{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:start;margin-top:8px;}
.st-contact__form{border:1px solid var(--st-border);border-radius:var(--st-r-md);padding:32px;background:#fff;}
.st-contact__info h3{font-size:18px;color:var(--st-navy-900);margin:0 0 24px;}
.st-cinfo{display:flex;gap:16px;margin-bottom:24px;}
.st-cinfo__ic{width:44px;height:44px;border-radius:50%;background:var(--st-blue-tint);color:var(--st-blue-action);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.st-cinfo__ic svg{width:22px;height:22px;}
.st-cinfo b{display:block;color:var(--st-navy-900);font-size:15px;margin-bottom:4px;}
.st-cinfo p{margin:0;color:var(--st-text);font-size:14px;line-height:1.6;}
.st-cinfo__note{font-size:12px;color:#667085;margin-top:20px;padding-top:16px;border-top:1px solid var(--st-border);}
@media (max-width:820px){.st-contact{grid-template-columns:1fr;gap:32px;}}

/* ---- Training ---- */
.st-courses-h{font-size:22px;margin:0 0 24px;}
.st-courses{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 56px;}
.st-course{border:1px solid var(--st-border);border-radius:var(--st-r-md);padding:24px;background:#fff;
  display:flex;flex-direction:column;}
.st-course__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;}
.st-course__price{font-family:var(--st-mono);font-weight:600;color:var(--st-blue-action);font-size:18px;}
.st-course__title{font-size:18px;color:var(--st-navy-900);margin:0 0 16px;line-height:1.35;}
.st-course__meta{list-style:none;margin:0 0 20px;padding:0;border-top:1px solid var(--st-border);}
.st-course__meta li{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--st-border);font-size:14px;}
.st-course__meta span{color:var(--st-text);}
.st-course__meta b{color:var(--st-navy-900);}
.st-course__cta{margin-top:auto;text-align:center;}
.st-register{border-top:2px solid var(--st-navy-900);padding-top:40px;scroll-margin-top:90px;}
.st-register__head{max-width:640px;margin:0 0 28px;}
.st-register__head h2{font-size:26px;margin:6px 0 8px;}
.st-register__form{max-width:640px;border:1px solid var(--st-border);border-radius:var(--st-r-md);padding:32px;background:#fff;}
@media (max-width:640px){.st-courses{grid-template-columns:1fr;}}

/* ---- About / E-E-A-T ---- */
.st-author{display:flex;gap:20px;align-items:center;background:var(--st-surface-alt);
  border:1px solid var(--st-border);border-radius:var(--st-r-md);padding:24px;margin:0 0 32px;}
.st-author__avatar{width:72px;height:72px;border-radius:50%;background:var(--st-navy-900);color:#fff;
  font-family:var(--st-mono);font-weight:600;font-size:26px;display:flex;align-items:center;justify-content:center;
  flex-shrink:0;background-image:linear-gradient(rgba(90,157,255,.12) 1px,transparent 1px),
  linear-gradient(90deg,rgba(90,157,255,.12) 1px,transparent 1px);background-size:12px 12px;}
.st-author__name{font-size:18px;font-weight:700;color:var(--st-navy-900);margin:0 0 2px;}
.st-author__role{font-size:14px;color:var(--st-text);margin:0 0 10px;}
.st-author__badges{display:flex;flex-wrap:wrap;gap:6px;}
.st-author__badges span{font-family:var(--st-mono);font-size:11px;background:#fff;border:1px solid var(--st-border);
  border-radius:4px;padding:3px 8px;color:var(--st-navy-900);}
.st-eeat{list-style:none;margin:0 0 18px;padding:0;}
.st-eeat li{font-size:14px;color:var(--st-navy-900);padding:7px 0;border-bottom:1px solid var(--st-border);}
.st-legal h2{font-size:19px;}
.st-side__box > .st-btn{display:block;width:100%;text-align:center;margin-top:6px;}

/* ---- WPForms → brand skin ---- */
.wpforms-container{margin:0 !important;}
div.wpforms-container-full .wpforms-field{padding:0 0 18px !important;}
.wpforms-field-label{font-size:14px !important;font-weight:600 !important;color:var(--st-navy-900) !important;margin:0 0 8px !important;}
.wpforms-field input[type="text"],.wpforms-field input[type="email"],.wpforms-field input[type="tel"],
.wpforms-field textarea,.wpforms-field select{
  border:1px solid var(--st-border) !important;border-radius:var(--st-r-sm) !important;padding:11px 14px !important;
  font-family:var(--st-font) !important;font-size:15px !important;color:var(--st-navy-900) !important;
  box-shadow:none !important;background:#fff !important;}
.wpforms-field input:focus,.wpforms-field textarea:focus,.wpforms-field select:focus{
  border-color:var(--st-blue-action) !important;box-shadow:0 0 0 3px rgba(29,79,216,.12) !important;}
.wpforms-submit{background:var(--st-blue-action) !important;color:#fff !important;border:none !important;
  border-radius:var(--st-r-sm) !important;padding:13px 28px !important;font-weight:600 !important;
  font-family:var(--st-font) !important;font-size:15px !important;cursor:pointer;transition:background .2s ease;}
.wpforms-submit:hover{background:var(--st-navy-900) !important;}
.wpforms-required-label{color:#d33 !important;}
.wpforms-confirmation-container-full{background:var(--st-blue-tint) !important;border:1px solid var(--st-blue-action) !important;
  border-radius:var(--st-r-md) !important;color:var(--st-navy-900) !important;padding:18px 20px !important;margin:0 !important;}

/* =====================================================================
   SEARCH RESULTS (search.php)
   ===================================================================== */

/* Prominent refine-search bar */
.st-searchbig{display:flex;max-width:640px;margin:0 0 28px;}
.st-searchbig input[type="search"]{
  flex:1;min-width:0;border:1px solid var(--st-border);border-right:none;
  border-radius:var(--st-r-sm) 0 0 var(--st-r-sm);padding:14px 18px;
  font-family:var(--st-font);font-size:16px;color:var(--st-navy-900);background:#fff;}
.st-searchbig input[type="search"]:focus{outline:none;border-color:var(--st-blue-action);
  box-shadow:0 0 0 3px rgba(29,79,216,.12);}
.st-searchbig button{
  border:none;background:var(--st-blue-action);color:#fff;font-weight:600;
  font-family:var(--st-font);font-size:15px;padding:0 28px;cursor:pointer;
  border-radius:0 var(--st-r-sm) var(--st-r-sm) 0;transition:background-color .2s ease;}
.st-searchbig button:hover{background:var(--st-navy-900);}

/* Result list */
.st-sresults{display:flex;flex-direction:column;border-top:1px solid var(--st-navy-900);}
a.st-sresult{display:block;text-decoration:none;color:inherit;padding:22px 8px;
  border-bottom:1px solid var(--st-border);transition:background .15s ease;}
a.st-sresult:hover{background:var(--st-blue-tint);}
.st-sresult__top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 8px;}
.st-sresult__topic{font-family:var(--st-mono);font-size:11px;color:var(--st-navy-900);
  background:var(--st-surface-alt);border:1px solid var(--st-border);border-radius:3px;padding:2px 7px;}
.st-sresult__title{font-size:19px;font-weight:600;color:var(--st-navy-900);
  line-height:1.35;margin:0 0 6px;letter-spacing:-.01em;}
a.st-sresult:hover .st-sresult__title{color:var(--st-blue-action);}
.st-sresult__excerpt{font-size:14.5px;line-height:1.6;color:var(--st-text);margin:0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}

/* Query highlighting */
.st-sresult mark{background:rgba(90,157,255,.28);color:var(--st-navy-900);
  padding:0 2px;border-radius:2px;font-weight:600;}

/* Pagination */
.st-pagination{margin-top:36px;}
.st-pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.st-pagination .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;
  padding:0 12px;border:1px solid var(--st-border);border-radius:var(--st-r-sm);
  font-family:var(--st-mono);font-size:14px;color:var(--st-navy-900);
  background:#fff;text-decoration:none;transition:all .15s ease;}
.st-pagination .page-numbers:hover{border-color:var(--st-blue-action);color:var(--st-blue-action);}
.st-pagination .page-numbers.current{background:var(--st-navy-900);border-color:var(--st-navy-900);color:#fff;}
.st-pagination .page-numbers.dots{border:none;background:none;}
.st-pagination .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}

/* Empty state */
.st-noresults{text-align:center;max-width:620px;margin:24px auto 0;padding:48px 24px;
  border:1px dashed var(--st-border);border-radius:var(--st-r-md);background:var(--st-surface-alt);}
.st-noresults__icon{margin:0 0 14px;color:#667085;}
.st-noresults__icon svg{width:44px;height:44px;}
.st-noresults h2{font-size:22px;margin:0 0 10px;}
.st-noresults > p{color:var(--st-text);font-size:15px;margin:0 0 22px;}
.st-noresults__sub{font:600 12px/1 var(--st-mono);text-transform:uppercase;letter-spacing:.08em;
  color:var(--st-navy-900);margin:30px 0 12px;}

/* ---- About: disclosure + stats ---- */
.st-disclosure{background:var(--st-blue-tint);border:1px solid var(--st-blue-action);
  border-left-width:3px;border-radius:var(--st-r-md);padding:20px 24px;}
.st-disclosure p{margin:0 0 12px;}
.st-disclosure ul{margin:0;padding-left:20px;}
.st-disclosure li{margin:.45em 0;}
.st-about-stats{max-width:none;margin:0 0 40px;grid-template-columns:repeat(3,1fr);}
@media (max-width:640px){.st-about-stats{grid-template-columns:1fr;}}

/* ---- FAQ accordion (native <details>, no JS) ---- */
.st-faq{margin:40px 0 0;scroll-margin-top:92px;}
.st-faq h2{font-size:22px;margin:0 0 16px;padding-bottom:10px;border-bottom:2px solid var(--st-navy-900);}
.st-faq__item{border:1px solid var(--st-border);border-radius:var(--st-r-md);
  margin:0 0 10px;background:#fff;overflow:hidden;}
.st-faq__item summary{cursor:pointer;list-style:none;padding:16px 46px 16px 18px;position:relative;
  font-weight:600;font-size:15.5px;color:var(--st-navy-900);line-height:1.45;}
.st-faq__item summary::-webkit-details-marker{display:none;}
.st-faq__item summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);
  font-family:var(--st-mono);font-size:20px;color:var(--st-blue-action);line-height:1;}
.st-faq__item[open] summary::after{content:"–";}
.st-faq__item[open] summary{border-bottom:1px solid var(--st-border);}
.st-faq__item summary:hover{background:var(--st-blue-tint);}
.st-faq__a{padding:16px 18px;}
.st-faq__a p{margin:0;font-size:15px;line-height:1.7;color:var(--st-text);}

/* contact info hint line */
.st-cinfo__hint{color:#667085;font-size:13px;}
