/* News index + single article — uses shared header/footer/modal (redesign-shared.css). */
:root{--blue-primary:#088eff;--blue-text:#066abe;--blue-text-hover:#055aa3;--grey-text:#646d7a;--blue-secondary:#269cff;--blue-light:#45aaff;--blue-lighter:#64b8ff;--navy:#18225a;--navy-deep:#0d1438;--n100:#fff;--n200:#f4f6fb;--n400:#d7dce6;--n700:#4b5565;--n900:#1f2933;--green:#357b49;--font-head:'Raleway',sans-serif;--font-body:'Lato',sans-serif;--radius:12px;--shadow-soft:0 10px 24px rgba(8,24,40,.08);--shadow-lift:0 18px 44px rgba(8,24,40,.14);--maxw:1180px;--read:720px;--ease:cubic-bezier(.2,.7,.2,1)}
*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}
body{font-family:var(--font-body);color:var(--n700);background:#fff;line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--n900);line-height:1.18;letter-spacing:-.015em;font-weight:700}
a{text-decoration:none;color:var(--blue-primary)}
img{max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}
.read{max-width:var(--read);margin:0 auto;padding:0 28px}
.eyebrow{font-family:var(--font-head);font-weight:700;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--blue-text);display:inline-flex;align-items:center;gap:10px;margin-bottom:14px}
.eyebrow::before{content:"";width:16px;height:11px;background:var(--blue-text);clip-path:polygon(28% 0,100% 0,72% 100%,0 100%)}
.eyebrow.on-dark{color:var(--blue-lighter)}.eyebrow.on-dark::before{background:var(--blue-lighter)}
.btn{display:inline-flex;align-items:center;gap:.5em;font-family:var(--font-head);font-weight:700;font-size:1rem;padding:14px 26px;border-radius:6px;border:2px solid transparent;cursor:pointer;transition:all .22s var(--ease)}
.btn-primary{background:var(--blue-text);color:#fff;box-shadow:0 6px 18px rgba(8,142,255,.35)}.btn-primary:hover{background:var(--blue-text-hover);transform:translateY(-2px)}
/* header */
header.site{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.86);backdrop-filter:saturate(150%) blur(12px);border-bottom:1px solid var(--n400)}
.nav{display:flex;align-items:center;justify-content:space-between;height:84px}
.logo-img{height:56px;width:auto;display:block}
.nav-links{display:flex;gap:30px}.nav-links a{font-family:var(--font-head);font-weight:600;font-size:.96rem;color:var(--n900)}
.nav-cta{display:flex;align-items:center;gap:16px}.nav-cta .phone{font-family:var(--font-head);font-weight:700;color:var(--n900);font-size:.95rem}
/* thumbnails (image or gradient fallback) */
.thumb{aspect-ratio:16/9;border-radius:var(--radius) var(--radius) 0 0;position:relative;overflow:hidden;background:linear-gradient(135deg,#0d2847,#124a7a 60%,#088eff)}
.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.thumb .hx{position:absolute;right:16px;bottom:14px;width:26px;height:26px;background:rgba(255,255,255,.22);clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}
.cat-tag{display:inline-block;font-family:var(--font-head);font-weight:700;font-size:.68rem;letter-spacing:.07em;text-transform:uppercase;color:var(--blue-text);background:rgba(8,142,255,.10);padding:5px 11px;border-radius:999px}
.meta{font-family:var(--font-head);font-weight:600;font-size:.8rem;color:var(--grey-text);letter-spacing:.02em}
/* news hero */
.news-hero{background:radial-gradient(900px 500px at 82% -10%,rgba(8,142,255,.28),transparent 60%),linear-gradient(150deg,var(--navy),var(--navy-deep));color:#fff}
.news-hero .wrap{padding:36px 28px 38px} /* 40px of space above the eyebrow and below the subtitle (user, 2026-11-17) */
.news-hero h1{color:#fff;font-size:clamp(2.2rem,4.4vw,3.2rem)}
.news-hero p{color:#cdd9e8;font-size:1.15rem;margin-top:14px;max-width:54ch}
.filters{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0}
/* The category buttons sit as close to the hero as to the first post: 28px each way (user, 2026-11-17). */
section.news-list{padding-top:0}
.filters a{font-family:var(--font-head);font-weight:700;font-size:.86rem;padding:8px 16px;border-radius:999px;border:1px solid var(--n400);color:var(--n700)}
.filters a.active,.filters a:hover{background:var(--blue-text);border-color:var(--blue-text);color:#fff}
.featured{display:grid;grid-template-columns:1.1fr 1fr;border:1px solid var(--n400);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-soft);margin-bottom:48px;background:#fff}
.featured .thumb{aspect-ratio:auto;height:100%;min-height:320px;border-radius:0}
.featured .body{padding:40px}.featured h2{font-size:1.9rem;margin:14px 0 12px;line-height:1.16}.featured p{font-size:1.05rem;margin-bottom:18px}
.read-more{font-family:var(--font-head);font-weight:700;color:var(--blue-text);display:inline-flex;gap:.4em;align-items:center}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.card{background:#fff;border:1px solid var(--n400);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lift)}
.card .body{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1}.card h3{font-size:1.18rem;line-height:1.25}.card p{font-size:.95rem}.card .meta{margin-top:auto}
.pager{display:flex;justify-content:center;gap:8px;margin-top:48px}
.pager a,.pager span{font-family:var(--font-head);font-weight:700;min-width:42px;height:42px;display:grid;place-items:center;border-radius:8px;border:1px solid var(--n400);color:var(--n700);padding:0 12px}
.pager .current,.pager a:hover{background:var(--blue-text);border-color:var(--blue-text);color:#fff}
section{padding:64px 0}
.final{position:relative;background:radial-gradient(800px 400px at 80% 0%,rgba(8,142,255,.34),transparent 60%),linear-gradient(150deg,var(--navy),var(--navy-deep));color:#fff;text-align:center}
.final h2{color:#fff;font-size:clamp(1.8rem,3.4vw,2.5rem)}.final p{color:#c6d4e4;font-size:1.12rem;max-width:48ch;margin:14px auto 28px}
/* single article */
.a-head{padding:46px 0 28px;text-align:center}
.crumb{font-family:var(--font-head);font-weight:600;font-size:.85rem;color:var(--grey-text);margin-bottom:18px}.crumb a{color:var(--grey-text)}.crumb a:hover{color:var(--blue-primary)}
.a-head .cat{display:inline-block;font-family:var(--font-head);font-weight:700;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--blue-text);background:rgba(8,142,255,.10);padding:6px 13px;border-radius:999px;margin-bottom:18px}
.a-head h1{font-size:clamp(2rem,4.2vw,3rem);max-width:900px;margin:0 auto}
.byline{margin-top:20px;font-family:var(--font-head);font-weight:600;font-size:.9rem;color:var(--grey-text);display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.feat-img{max-width:860px;margin:8px auto 0;aspect-ratio:21/9;border-radius:16px;position:relative;overflow:hidden;background:linear-gradient(135deg,#0d2847,#124a7a 60%,#088eff)}
.feat-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.article-body{padding:48px 0 8px}
.article-body p{font-size:1.16rem;margin-bottom:24px}
.article-body>p:first-of-type{font-size:1.32rem;color:var(--n900)}
.article-body h2{font-size:1.7rem;margin:38px 0 14px}
.article-body h3{font-size:1.32rem;margin:28px 0 12px}
.article-body ul,.article-body ol{margin:0 0 24px 1.1em}.article-body li{font-size:1.14rem;margin-bottom:10px}
.article-body img{border-radius:12px;margin:8px 0 24px}
.article-body a{text-decoration:underline}
.article-body blockquote{margin:32px 0;padding:22px 28px;border-left:4px solid var(--blue-primary);background:var(--n200);border-radius:0 12px 12px 0;font-family:var(--font-head);font-weight:600;font-size:1.3rem;color:var(--n900);line-height:1.4}
.article-body blockquote p{font-size:inherit;margin:0}
.inline-cta{margin:44px auto;max-width:var(--read);padding:32px;border-radius:16px;background:linear-gradient(150deg,var(--navy),var(--navy-deep));color:#fff;text-align:center}
.inline-cta h3{color:#fff;font-size:1.4rem;margin-bottom:14px}
.related{background:var(--n200);padding:64px 0;margin-top:40px}.related h2{text-align:center;margin-bottom:34px;font-size:1.7rem}
.rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.rc{background:#fff;border:1px solid var(--n400);border-radius:12px;overflow:hidden;transition:transform .25s var(--ease),box-shadow .25s var(--ease)}.rc:hover{transform:translateY(-5px);box-shadow:var(--shadow-lift)}
.rc .thumb{border-radius:0}.rc .b{padding:20px}.rc h3{font-size:1.08rem;line-height:1.3;margin-bottom:8px}
@media(max-width:900px){.news-grid{grid-template-columns:1fr 1fr}.featured{grid-template-columns:1fr}.featured .thumb{min-height:220px}.nav-links,.nav-cta .phone{display:none}}
@media(max-width:760px){.rel-grid{grid-template-columns:1fr}}
@media(max-width:620px){.news-grid{grid-template-columns:1fr}}

/* Pill text dead centre: trim the line box to cap-height → baseline, keep the pill's height (see omnicare.css). */
@supports (text-box: trim-both cap alphabetic) {
  .cat-tag{text-box:trim-both cap alphabetic;padding-top:calc(5px + (1lh - 1cap)/2);padding-bottom:calc(5px + (1lh - 1cap)/2)}
}

/* Headings show as written (sentence case). Staging/production's Divi Customizer (body_header_style=uppercase)
   injects `h1,h2,h3,h4,h5,h6{text-transform:uppercase}` after this file; `body hN` outranks it. Labels that
   should be capitals (.eyebrow, .cat, .cat-tag, footer .fh) set their own uppercase with a class. */
body h1,body h2,body h3,body h4,body h5,body h6{text-transform:none}
/* Same for weight: Divi's inline CSS (500 on Local) and staging's Customizer (600/700) load after this file. */
body h1,body h2,body h3,body h4{font-weight:700}

/* ---- Article, redesigned (user, 2026-11-17): matches the News / Support / product pages ---- */
.a-hero h1{max-width:960px;font-size:clamp(2rem,4vw,3rem);line-height:1.12;color:#fff}
.a-hero .crumb-eyebrow{flex-wrap:wrap;row-gap:4px;margin-bottom:16px}
.a-hero .crumb-eyebrow a{color:inherit;text-decoration:none;border-bottom:1px solid transparent}
.a-hero .crumb-eyebrow a:hover,.a-hero .crumb-eyebrow a:focus-visible{color:#fff;border-bottom-color:currentColor}
.a-hero .crumb-eyebrow .sep{opacity:.7}
.a-hero .byline,.a-hero .byline span{justify-content:flex-start;color:#c6d4e4!important;margin-top:16px}
/* The featured image starts inside the hero and ends over the white page. */
.a-hero.has-feat .wrap{padding-bottom:150px}
.a-feat{position:relative;z-index:2;margin-top:-118px}
.a-feat .feat-img{max-width:none;margin:0;box-shadow:0 24px 60px rgba(8,24,40,.22)}
/* Body: site type, comfortable measure, hexagon bullets. */
.article-body{color:#323f4b;padding-top:44px}
.article-body p,.article-body li{color:inherit}
.article-body>p:first-of-type{color:var(--n900)}
.article-body h2{font-size:clamp(1.6rem,2.6vw,2rem);margin:44px 0 14px}
.article-body h3{font-size:clamp(1.3rem,2vw,1.5rem);margin:36px 0 14px;color:var(--navy)}
.article-body ul{list-style:none;margin:0 0 26px;padding:0}
.article-body ul li{position:relative;padding-left:30px;margin-bottom:14px}
.article-body ul li::before{content:"";position:absolute;left:3px;top:.48em;width:13px;height:12px;background:var(--blue-primary);
  clip-path:polygon(100% 50%,75% 4%,25% 4%,0 50%,25% 96%,75% 96%)}
.article-body ol{margin:0 0 26px 1.3em;padding:0}.article-body ol li{padding-left:6px;margin-bottom:12px}.article-body ol li::marker{color:var(--blue-text);font-family:var(--font-head);font-weight:700}
.article-body a{color:var(--blue-text);text-underline-offset:3px}.article-body a:hover{color:var(--blue-text-hover)}
.related{margin-top:56px}
.related .sec-head{text-align:center;margin:0 auto 34px}.related .sec-head h2{font-size:clamp(1.6rem,2.8vw,2.1rem);margin:0}
.related + .final{margin-top:0}
@media(max-width:760px){.a-hero.has-feat .wrap{padding-bottom:90px}.a-feat{margin-top:-64px}}

/* Article content in the site's components (user, 2026-11-17: "the articles themselves feel disconnected"). */
.article-body>p:first-of-type{font-size:1.3rem;line-height:1.55;color:var(--navy)}
.article-body h2,.article-body h3{display:flex;align-items:center;gap:12px}
.article-body h2::before,.article-body h3::before{content:"";flex:0 0 16px;height:11px;background:var(--blue-primary);clip-path:polygon(28% 0,100% 0,72% 100%,0 100%)}
/* Lead-in lists → cards (two columns on desktop), like the product pages' value / module cards. */
.article-body ul[data-cards]{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:4px 0 36px}
.article-body ul[data-cards] li{margin:0;padding:20px 22px 20px 54px;background:#fff;border:1px solid var(--n400);border-radius:var(--radius);
  font-size:1rem;line-height:1.55;transition:transform .25s var(--ease),box-shadow .25s var(--ease),border-color .25s var(--ease)}
.article-body ul[data-cards] li:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:transparent}
.article-body ul[data-cards] li::before{left:20px;top:22px;width:20px;height:18px}
.article-body ul[data-cards] li>strong:first-child{display:block;font-family:var(--font-head);font-weight:700;font-size:1.08rem;color:var(--n900);margin-bottom:6px;line-height:1.3}
/* The closing paragraph (after the last list or heading) as a tinted call-out. */
.article-body>p:last-child:not(:first-child){margin-top:12px;padding:24px 28px;background:var(--n200);border-left:4px solid var(--blue-primary);border-radius:0 var(--radius) var(--radius) 0;color:var(--n900)}
@media(max-width:1000px){.article-body ul[data-cards]{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.article-body ul[data-cards]{grid-template-columns:1fr}}

/* One left edge for the whole article: the page's content width (like the hero and image); text keeps a reading measure. */
.article-body.read{max-width:var(--maxw,1180px);padding-left:28px;padding-right:28px;box-sizing:border-box}
.article-body>:not(ul[data-cards]){max-width:780px}
/* Spacing (user, 2026-11-17: "way too much blank space"): the hero is a <section>, so drop the site's 64px section
   padding (as the News hero does) — 40px above the breadcrumb, ~32px of navy between the byline and the image. */
.a-hero{padding:0}
.a-hero.has-feat .wrap{padding-bottom:146px}
@media(max-width:760px){.a-hero.has-feat .wrap{padding-bottom:92px}}
.article-body{padding-top:36px}
.article-body h2,.article-body h3{margin-top:30px}
.related{margin-top:24px;padding:48px 0}
.related .sec-head{margin-bottom:26px}

/* Featured image in the hero, right of the title, fading into the navy — the product-page hero treatment (user,
   2026-11-17: the full-width image was too big). Overrides the earlier overlap layout. */
.a-hero{position:relative;overflow:hidden}
.a-hero.has-feat .wrap{position:relative;z-index:2;min-height:360px;padding-top:36px;padding-bottom:40px;display:flex;flex-direction:column;justify-content:center}
.a-hero.has-feat :is(h1,.crumb-eyebrow,.byline){max-width:min(640px,52vw)}
.a-hero-img{position:absolute;top:0;right:0;bottom:0;width:55%;z-index:1;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 22%,#000 46%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 22%,#000 46%)}
.a-hero-img img{display:block;width:100%;height:100%;object-fit:cover}
.a-hero-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,20,56,0) 60%,rgba(13,20,56,.45))}
@media (prefers-reduced-motion:no-preference){
  .a-hero-img{overflow:hidden;animation:imft-a-fade 1.2s cubic-bezier(.2,.7,.2,1) both}
  .a-hero-img img{width:calc(100% + 28px);max-width:none;animation:imft-a-slide 1.2s cubic-bezier(.2,.7,.2,1) both}
  @keyframes imft-a-fade{from{opacity:0}to{opacity:1}}
  @keyframes imft-a-slide{from{transform:translateX(-28px)}to{transform:none}}
}
@media (max-width:900px){ /* stacked: the image on top, fading down into the navy, then the title */
  .a-hero-img{position:relative;width:auto;height:240px;-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent);mask-image:linear-gradient(180deg,#000 55%,transparent)}
  .a-hero-img::after{display:none}
  .a-hero.has-feat .wrap{min-height:0;padding-top:4px}
  .a-hero.has-feat :is(h1,.crumb-eyebrow,.byline){max-width:none}
}

/* Logo / text-graphic featured images: a clean card on the right instead of a fade (a white canvas fading into navy
   reads as a smudge). */
.a-hero-img.is-card{top:50%;bottom:auto;right:max(28px,calc((100vw - var(--maxw,1180px)) / 2 + 28px));width:min(460px,36vw);aspect-ratio:16/9;
  transform:translateY(-50%);border-radius:16px;overflow:hidden;-webkit-mask-image:none;mask-image:none;box-shadow:0 18px 48px rgba(0,0,0,.35)}
.a-hero-img.is-card::after{display:none}
.a-hero-img.is-card img{width:100%}
@media (prefers-reduced-motion:no-preference){.a-hero-img.is-card img{width:100%;animation:none}}
@media (max-width:900px){
  .a-hero-img.is-card{position:relative;top:auto;right:auto;transform:none;width:auto;height:auto;margin:20px 28px 0;aspect-ratio:16/9}
}

/* Articles read as press releases (user, 2026-11-17: "nothing fancy like our product pages"): one plain column in the
   site's type — no card lists, no call-out, an ordinary first paragraph. Simple hexagon bullets stay. */
.article-body>p:first-of-type{font-size:1.16rem;line-height:1.7;color:inherit}
.article-body>p:last-child:not(:first-child){margin-top:0;padding:0;background:none;border:0;border-radius:0;color:inherit}
.article-body p,.article-body li{font-size:1.1rem;line-height:1.7}
.article-body ul li{margin-bottom:12px}
/* Full content width, like the hero and the rest of the site (user, 2026-11-17: the 780px column read as too narrow). */
.article-body>:not(ul[data-cards]){max-width:none}

/* 404 + search results (templates/notfound.php, templates/search.php) */
.site-search{display:flex;gap:10px;max-width:560px;margin:28px 0}
.site-search input{flex:1;min-width:0;font:inherit;font-size:1rem;padding:12px 16px;border:1px solid var(--n700);border-radius:6px;color:var(--n900);background:#fff}
.site-search input:focus-visible{outline:3px solid var(--blue-primary);outline-offset:2px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.nf .wrap{padding-top:36px}
.nf-links{display:flex;flex-wrap:wrap;gap:12px}
.btn-ghost{border-color:var(--blue-text);color:var(--blue-text);background:#fff}
.btn-ghost:hover{background:var(--blue-text);color:#fff}
.no-results{padding:12px 0 40px;font-size:1.05rem}
.no-results a{color:var(--blue-text);text-decoration:underline}
@media(max-width:480px){.site-search{flex-direction:column}.nf-links .btn{flex:1 1 100%;justify-content:center}}
