/* CB Digital - editorial header system; scoped to avoid altering other plugins. */
.cbdhs-hero{--cbdhs-accent:#2379cc;--cbdhs-overlay:.35;box-sizing:border-box;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.96fr);max-width:1380px;min-height:350px;margin:0 auto 20px;overflow:hidden;border:1px solid #e0e8ef;border-radius:26px;background:#f0f5f9;color:#122c50;isolation:isolate;font-family:inherit}
.cbdhs-hero *, .cbdhs-after *,.cbdhs-search *{box-sizing:border-box}
.cbdhs-copy{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;padding:clamp(25px,4.7vw,64px)}
.cbdhs-kicker{font-size:clamp(10px,1vw,12px);font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--cbdhs-accent);margin-bottom:17px;line-height:1.5}
.cbdhs-title{font-family:inherit!important;font-size:clamp(32px,4.3vw,64px)!important;font-weight:700!important;line-height:1.05!important;letter-spacing:-.035em!important;color:inherit!important;margin:0 0 18px!important;padding:0!important;max-width:880px}
.cbdhs-subtitle{font-family:inherit;font-size:clamp(16px,1.65vw,22px);line-height:1.5;color:#49647d;margin:0 0 21px;max-width:690px}
.cbdhs-badge{display:inline-block;border-radius:30px;background:color-mix(in srgb,var(--cbdhs-accent) 13%, white);color:var(--cbdhs-accent);padding:5px 10px;font-size:11px;font-weight:800;margin-bottom:13px}
.cbdhs-actions{display:flex;gap:12px;flex-wrap:wrap}.cbdhs-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--cbdhs-accent);border:1px solid var(--cbdhs-accent);color:#fff!important;border-radius:11px;min-height:46px;padding:10px 20px;font-weight:750;text-decoration:none!important;line-height:1.3;transition:filter .15s ease}.cbdhs-btn:hover{filter:brightness(.92)}.cbdhs-btn--secondary{background:#fff;color:var(--cbdhs-accent)!important}
.cbdhs-media{position:relative;min-height:330px;overflow:hidden;background:linear-gradient(135deg,color-mix(in srgb,var(--cbdhs-accent) 22%,white),#d8e5ef)}.cbdhs-media picture,.cbdhs-photo{display:block;width:100%;height:100%}.cbdhs-photo{position:absolute;inset:0;object-fit:cover;object-position:center}.cbdhs-motif{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--cbdhs-accent);font-size:clamp(64px,11vw,180px);font-weight:800;opacity:.4;transform:rotate(-12deg)}
.cbdhs--visual{background:#142943;color:#fff;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}.cbdhs--visual .cbdhs-subtitle{color:#dae8f1}.cbdhs--visual .cbdhs-kicker{color:#e6b86c}.cbdhs--visual .cbdhs-media{background:linear-gradient(125deg,#1a4566,#0c1d36)}.cbdhs--visual .cbdhs-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,17,32,var(--cbdhs-overlay)),transparent 40%);pointer-events:none}
.cbdhs--service{background:#eff5fb;grid-template-columns:minmax(0,1.3fr) minmax(0,.75fr)}.cbdhs--service .cbdhs-media{background:linear-gradient(145deg,#e7f1fe,#cce0f2)}
.cbdhs--search{background:#edf2f5;grid-template-columns:minmax(0,1.1fr) minmax(0,.85fr)}.cbdhs--search .cbdhs-media{background:linear-gradient(135deg,#d5e3ee,#f6f9fc)}
.cbdhs-after{max-width:1380px;margin:-7px auto 19px;display:flex;gap:12px;align-items:flex-start}.cbdhs-stat{display:inline-flex;align-items:center;gap:15px;border-radius:13px;border:1px solid #dce6ec;background:white;padding:14px 22px;box-shadow:0 4px 13px #182d4710}.cbdhs-stat strong{font-size:25px;line-height:1.2;color:#122c50}.cbdhs-stat span{text-transform:uppercase;font-weight:800;color:#5b6f81;font-size:11px;letter-spacing:.03em}
.cbdhs-search{max-width:1380px;margin:0 auto 20px;display:flex;gap:10px}.cbdhs-search input{min-width:0;flex:1;border-radius:11px;border:1px solid #d9e2e9;background:#fff;padding:15px;font-size:15px}.cbdhs-search button{background:var(--cbdhs-accent,#1467c3);color:#fff;border:0;border-radius:11px;padding:12px 20px;font-weight:700;cursor:pointer}
@media(max-width:782px){.cbdhs-hero{grid-template-columns:1fr;min-height:0;border-radius:19px;margin:0 auto 14px}.cbdhs-copy{padding:26px 23px 18px}.cbdhs-title{font-size:clamp(30px,7vw,43px)!important;line-height:1.13!important;letter-spacing:-.028em!important;margin-bottom:11px!important}.cbdhs-kicker{margin-bottom:11px}.cbdhs-subtitle{font-size:16px;line-height:1.45;margin-bottom:16px}.cbdhs-media{min-height:195px;max-height:270px}.cbdhs--visual,.cbdhs--service,.cbdhs--search{grid-template-columns:1fr}.cbdhs-actions{width:100%;gap:8px}.cbdhs-btn{flex:1 1 auto;min-height:44px;font-size:13px;padding:10px 12px}.cbdhs-stat{padding:11px 15px}.cbdhs-stat strong{font-size:21px}.cbdhs-search input{padding:12px}.cbdhs-search button{padding:11px}}
@media(max-width:430px){.cbdhs-media{min-height:160px}.cbdhs-copy{padding:22px 18px 17px}.cbdhs-actions{flex-direction:column}.cbdhs-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.cbdhs-btn{transition:none}}

/* v0.7.4 – Uncropped full-banner option, identical in archive and profiles. */
.cbdhs-hero.cbdhs--full{display:flex;flex-direction:column;min-height:0;max-width:1380px;background:#fff}
.cbdhs-hero.cbdhs--full .cbdhs-media{order:-1;position:relative;min-height:0;height:auto;max-height:none;aspect-ratio:auto;background:transparent}
.cbdhs-hero.cbdhs--full .cbdhs-media picture,.cbdhs-hero.cbdhs--full .cbdhs-media img{position:static;display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}
.cbdhs-hero.cbdhs--full .cbdhs-copy{padding:clamp(18px,3vw,36px);color:#122c50}
.cbdhs-hero.cbdhs--full .cbdhs-subtitle{color:#49647d}
.cbdhs-hero.cbdhs--full-overlay .cbdhs-copy{position:absolute;inset:0 auto 0 0;z-index:2;width:min(62%,740px);color:#fff;background:linear-gradient(90deg,rgba(5,19,34,.76),rgba(5,19,34,.28),transparent)}
.cbdhs-hero.cbdhs--full-overlay .cbdhs-subtitle{color:#fff}
.cbdhs-hero.cbdhs--full-none .cbdhs-copy{display:none}
.cbdhs-hero .cbdhs-sr-title{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
@media(max-width:782px){.cbdhs-hero.cbdhs--full .cbdhs-media{min-height:0;max-height:none}.cbdhs-hero.cbdhs--full-overlay .cbdhs-copy{position:relative;inset:auto;width:100%;color:#122c50;background:#fff}.cbdhs-hero.cbdhs--full-overlay .cbdhs-subtitle{color:#49647d}}

/* v0.7.13: Defensive fallback for Discounts loaded by Newspaper/shortcode caches.
   ONLY when a new Digital hero actually exists on the same page. */
body.cbdhs-special-page.cbdhs-has-header:has(.cbdhs-hero) .cbd-app :is(header,section,div).cbd-hero { display:none!important; }
