/* =====================================================================
   Jumpshots & Jackpots - home page v3 (2026). Mobile-first.
   Palette / fonts from jj-2026.css (:root --jj-*). Scoped to .h3.
   ===================================================================== */
.h3{ --ink:#0B1424; --cream:#F6ECC9; --paper:#FDF8EA; background:var(--cream); color:var(--jj-dark); overflow:hidden; }
.h3 *{ box-sizing:border-box; }
.h3 img{ max-width:100%; display:block; }
.h3 section{ position:relative; }

/* ---------- shared ---------- */
.h3-eyebrow{ display:inline-block; font:600 13px/1 "Oswald",Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase;
  color:var(--jj-red); background:#fff; border:2px solid var(--ink); border-radius:99px; padding:7px 14px; box-shadow:2px 2px 0 var(--ink); }
.h3-h2{ font:700 34px/1.05 "Oswald",Arial,sans-serif !important; text-transform:uppercase; color:var(--jj-navy); margin:14px 0 0; letter-spacing:.01em; }
.h3-h2 span{ color:var(--jj-red); }
.h3-head{ text-align:center; max-width:760px; margin:0 auto 30px; }
.h3-head.h3-left{ text-align:left; margin:0 0 24px; }
.h3-lead, .h3-lead p{ font-size:16px; line-height:1.65; color:#3a4448; margin-top:14px; }
.h3-rich p{ font-size:15.5px; line-height:1.7; margin:0 0 12px; color:#38434a; }
.h3-rich p:last-child{ margin-bottom:0; }
.h3-btns{ display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.h3-btns:empty{ display:none; }
.h3-center{ justify-content:center; }
.h3-btn{ display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:12px 26px;
  font:600 16px/1 "Oswald",Arial,sans-serif !important; letter-spacing:.06em; text-transform:uppercase; text-decoration:none !important;
  border:3px solid var(--ink); border-radius:12px; box-shadow:4px 4px 0 var(--ink); transition:transform .12s, box-shadow .12s; }
.h3-btn:hover{ transform:translate(-2px,-2px); box-shadow:6px 6px 0 var(--ink); }
.h3-btn:active{ transform:translate(2px,2px); box-shadow:1px 1px 0 var(--ink); }
.h3-btn-red{ background:var(--jj-red); color:#fff !important; }
.h3-btn-gold{ background:var(--jj-gold); color:var(--ink) !important; }
.h3-btn-white{ background:#fff; color:var(--ink) !important; }
.h3-btn-line{ background:transparent; color:var(--ink) !important; }
.h3-btn-sm{ min-height:42px; padding:9px 18px; font-size:14px !important; margin-top:16px; }

/* ---------- HERO ---------- */
.h3-hero{ padding:34px 0 40px; background:
  radial-gradient(circle at 12% 18%, rgba(125,197,207,.35) 0 120px, transparent 121px),
  radial-gradient(circle at 92% 88%, rgba(245,189,40,.25) 0 160px, transparent 161px), var(--cream); }
.h3-hero-grid{ display:grid; gap:28px; align-items:center; }
.h3-pill{ display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 18px; padding:8px 16px; background:var(--jj-navy); color:#fff;
  border-radius:99px; font:500 13px/1.2 "Poppins",Arial,sans-serif; box-shadow:3px 3px 0 var(--jj-red); }
.h3-pill i{ color:#EE6422; }
.h3-pill b{ font:600 13px/1 "Oswald",Arial,sans-serif; letter-spacing:.12em; text-transform:uppercase; color:var(--jj-gold); }
.h3-pill span::before{ content:"·"; margin-right:8px; opacity:.6; }
.h3-pill b + span::before{ display:inline; }
.h3-pill i + span::before{ display:none; }
.h3-hero-title h1, .h3-hero-title h2{ font:700 40px/1.02 "Oswald",Arial,sans-serif !important; text-transform:uppercase; color:var(--jj-navy); margin:0;
  letter-spacing:.005em; text-shadow:3px 3px 0 rgba(245,189,40,.55); }
.h3-hero-title br{ display:none; }
.h3-hero-desc{ margin-top:16px; }
.h3-hero-desc p{ font-size:16.5px; line-height:1.6; color:#2e383d; margin:0; max-width:34em; }
.h3-hero .h3-btns .h3-btn{ flex:1 1 220px; }
.h3-hero-facts{ list-style:none; padding:0; margin:22px 0 0; display:flex; flex-wrap:wrap; gap:8px 18px; font-size:14px; color:#2e383d; }
.h3-hero-facts i{ color:var(--jj-red); margin-right:4px; }
.h3-hero-facts b{ color:var(--jj-navy); }
.h3-hero-art{ position:relative; }
.h3-hero-art img{ width:100%; height:auto; border-radius:22px; }

/* ---------- TICKET ---------- */
.h3-ticket-wrap{ padding:0 0 46px; }
.h3-ticket{ display:grid; grid-template-columns:1fr 1fr; background:var(--jj-navy); color:#fff; border:3px solid var(--ink); border-radius:18px;
  box-shadow:6px 6px 0 var(--jj-red); overflow:hidden; }
.h3-tk{ padding:18px 18px; border-bottom:2px dashed rgba(253,248,234,.25); }
.h3-tk:nth-child(odd){ border-right:2px dashed rgba(253,248,234,.25); }
.h3-tk small{ display:block; font:600 11.5px/1 "Oswald",Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; color:var(--jj-sky); margin-bottom:8px; }
.h3-tk b{ display:block; font:700 22px/1.1 "Oswald",Arial,sans-serif; color:var(--jj-gold); }
.h3-tk span{ display:block; font-size:12.5px; color:rgba(255,255,255,.78); margin-top:6px; }
.h3-tk-cta{ grid-column:1 / -1; display:flex; align-items:center; justify-content:center; border:0 !important; background:rgba(255,255,255,.04); }
.h3-tk-cta .h3-btn{ width:100%; box-shadow:4px 4px 0 #000; }

/* ---------- WELCOME ---------- */
.h3-welcome{ padding:56px 0; background:var(--paper); border-top:3px solid var(--ink); border-bottom:3px solid var(--ink); }
.h3-welcome-grid{ display:grid; gap:22px; }
.h3-welcome-title h1, .h3-welcome-title h2{ font:700 34px/1.05 "Oswald",Arial,sans-serif !important; text-transform:uppercase; color:var(--jj-navy); margin:12px 0 0; }
.h3-welcome-title span{ color:var(--jj-red); }
.h3-welcome-sub{ font:500 19px/1.3 "Oswald",Arial,sans-serif; color:#3a4448; margin:12px 0 0; }
.h3-welcome-desc p{ font-size:16px; line-height:1.75; color:#38434a; margin:0 0 12px; }
.h3-welcome-desc{ border-left:5px solid var(--jj-gold); padding-left:18px; }

/* ---------- PERKS ---------- */
.h3-perks{ padding:60px 0; }
.h3-perk-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.h3-perk{ background:#fff; border:3px solid var(--ink); border-radius:18px; padding:18px 14px 18px; text-align:center; box-shadow:4px 4px 0 var(--ink); }
.h3-perk:nth-child(3n+1){ box-shadow:4px 4px 0 var(--jj-red); }
.h3-perk:nth-child(3n+2){ box-shadow:4px 4px 0 var(--jj-gold); }
.h3-perk:nth-child(3n){ box-shadow:4px 4px 0 var(--jj-sky); }
.h3-perk img{ width:96px; height:96px; margin:0 auto 10px; object-fit:contain; }
.h3-perk h3{ font:700 18px/1.1 "Oswald",Arial,sans-serif !important; text-transform:uppercase; color:var(--jj-navy); margin:0 0 6px; }
.h3-perk p{ font-size:13px; line-height:1.5; color:#4a5459; margin:0; }

/* ---------- GLANCE ---------- */
.h3-glance{ padding:60px 0; background:var(--jj-sky-lt); border-top:3px solid var(--ink); border-bottom:3px solid var(--ink); }
.h3-days{ display:grid; grid-auto-flow:column; grid-auto-columns:82%; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; padding:4px 4px 14px; margin:0 -4px; }
.h3-day{ scroll-snap-align:start; background:#fff; border:3px solid var(--ink); border-radius:18px; overflow:hidden; box-shadow:4px 4px 0 var(--ink); display:flex; flex-direction:column; }
.h3-day-img{ position:relative; aspect-ratio:16/10; background:var(--jj-navy); border-bottom:3px solid var(--ink); }
.h3-day-img img{ width:100%; height:100%; object-fit:cover; }
.h3-day-img.is-empty{ background:repeating-linear-gradient(45deg,var(--jj-navy) 0 14px,#0d3350 14px 28px); }
.h3-day-img .ji-datebadge{ position:absolute; left:12px; top:12px; }
.h3-day-body{ padding:14px 16px 16px; }
.h3-day-n{ font:600 13px/1 "Oswald",Arial,sans-serif; letter-spacing:.12em; text-transform:uppercase; color:var(--jj-red); margin:0 0 10px; }
.h3-day ul{ list-style:none; margin:0; padding:0; }
.h3-day li{ padding:8px 0; border-top:1px dashed #d4cdb4; font-size:14px; line-height:1.35; }
.h3-day li:first-child{ border-top:0; padding-top:0; }
.h3-day li a{ color:var(--jj-navy); font-weight:600; text-decoration:none; }
.h3-day li a:hover{ color:var(--jj-red); text-decoration:underline; }
.h3-tag{ display:inline-block; font:600 10.5px/1 "Oswald",Arial,sans-serif; font-style:normal; letter-spacing:.1em; text-transform:uppercase;
  background:var(--jj-gold); color:var(--ink); border-radius:6px; padding:4px 6px; margin-left:4px; vertical-align:1px; }

/* ---------- STEPS ---------- */
.h3-steps{ padding:64px 0; background:var(--jj-navy); color:#fff;
  background-image:radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.6px); background-size:22px 22px; }
.h3-head-light .h3-h2{ color:#fff; }
.h3-head-light .h3-h2 span{ color:var(--jj-gold); }
.h3-step-list{ list-style:none; margin:0; padding:0; display:grid; gap:16px; counter-reset:none; }
.h3-step-list li{ position:relative; background:rgba(255,255,255,.06); border:2px solid rgba(253,248,234,.3); border-radius:18px; padding:22px 20px 20px 86px; }
.h3-step-list b{ position:absolute; left:18px; top:20px; width:50px; height:50px; border-radius:50%; background:var(--jj-red); border:3px solid #000;
  display:flex; align-items:center; justify-content:center; font:700 24px/1 "Oswald",Arial,sans-serif; color:#fff; box-shadow:3px 3px 0 var(--jj-gold); }
.h3-step-list h3{ font:700 20px/1.1 "Oswald",Arial,sans-serif !important; text-transform:uppercase; color:var(--jj-gold); margin:0 0 6px; }
.h3-step-list p{ margin:0; font-size:14.5px; line-height:1.55; color:rgba(255,255,255,.85); }
.h3-steps .h3-btn{ box-shadow:4px 4px 0 #000; }

/* ---------- INCLUDED / split ---------- */
.h3-included{ padding:64px 0; }
.h3-split{ display:grid; gap:26px; align-items:center; }
.h3-split-img img{ width:100%; height:auto; border:3px solid var(--ink); border-radius:20px; box-shadow:6px 6px 0 var(--jj-gold); background:#fff; }
.h3-split-txt .h3-h2{ margin:0 0 14px; }
.h3-sixth-title h1, .h3-sixth-title h2, .h3-sixth-title h3, .h3-sixth-title h4{ font:700 30px/1.05 "Oswald",Arial,sans-serif !important; text-transform:uppercase; color:var(--jj-navy); margin:0 0 12px; }

/* ---------- COVERED cards ---------- */
.h3-covered{ padding:64px 0; background:var(--paper); border-top:3px solid var(--ink); }
.h3-cards{ display:grid; gap:16px; }
.h3-card{ margin:0; background:#fff; border:3px solid var(--ink); border-radius:18px; overflow:hidden; box-shadow:5px 5px 0 var(--ink); }
.h3-card-img{ aspect-ratio:4/3; background:var(--jj-sky-lt); border-bottom:3px solid var(--ink); }
.h3-card-img img{ width:100%; height:100%; object-fit:cover; }
.h3-card figcaption{ padding:14px 16px; font:700 19px/1.1 "Oswald",Arial,sans-serif; text-transform:uppercase; color:var(--jj-navy); text-align:center; }

/* ---------- HIGHLIGHTS ---------- */
.h3-highlights{ padding:0 0 64px; background:var(--paper); }
.h3-hl-grid{ display:grid; gap:18px; }
.h3-hl{ background:#fff; border:3px solid var(--ink); border-radius:20px; overflow:hidden; box-shadow:5px 5px 0 var(--jj-red); display:flex; flex-direction:column; }
.h3-hl:nth-child(2){ box-shadow:5px 5px 0 var(--jj-sky); }
.h3-hl-photos{ display:grid; gap:3px; background:var(--ink); border-bottom:3px solid var(--ink); }
.h3-hl-photos img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; }
.h3-hl-photos.n2{ grid-template-columns:1fr 1fr; }
.h3-hl-photos.n3{ grid-template-columns:2fr 1fr; grid-template-rows:1fr 1fr; }
.h3-hl-photos.n3 img:first-child{ grid-row:1 / 3; aspect-ratio:auto; }
.h3-hl-photos.n4{ grid-template-columns:repeat(3,1fr); }
.h3-hl-photos.n4 img:first-child{ grid-column:1 / -1; aspect-ratio:16/8; }
.h3-hl-txt{ padding:20px 22px 22px; }
.h3-hl-txt h3{ font:700 24px/1.1 "Oswald",Arial,sans-serif !important; text-transform:uppercase; color:var(--jj-navy); margin:0 0 10px; }

/* ---------- PHOTO STRIP ---------- */
.h3-photos{ padding:64px 0 56px; background:var(--jj-navy); border-top:3px solid var(--ink); }
.h3-photos .h3-h2{ color:#fff; }
.h3-photos .h3-h2 span{ color:var(--jj-gold); }
.h3-strip{ display:grid; grid-auto-flow:column; grid-auto-columns:70%; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; padding:6px 18px 16px; }
.h3-shot{ position:relative; display:block; scroll-snap-align:center; border:3px solid #000; border-radius:16px; overflow:hidden; aspect-ratio:4/5; background:#0d3350; box-shadow:4px 4px 0 var(--jj-gold); }
.h3-shot:nth-child(even){ box-shadow:4px 4px 0 var(--jj-red); }
.h3-shot img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.h3-shot:hover img{ transform:scale(1.05); }
.h3-shot span{ position:absolute; left:0; right:0; bottom:0; padding:34px 14px 12px; color:#fff; font:600 15px/1.2 "Oswald",Arial,sans-serif; letter-spacing:.03em; text-transform:uppercase;
  background:linear-gradient(transparent, rgba(8,38,59,.92)); }

/* ---------- FAQ ---------- */
.h3-faq{ padding:64px 0; }
.h3-faq-grid{ display:grid; gap:10px; }
.h3-faq-more{ font-size:15px; color:#3a4448; margin:16px 0 0; }
.h3-faq-more a{ color:var(--jj-red); font-weight:600; }
.h3-faq-list details{ background:#fff; border:3px solid var(--ink); border-radius:14px; margin-bottom:12px; box-shadow:3px 3px 0 var(--ink); }
.h3-faq-list summary{ list-style:none; cursor:pointer; padding:16px 52px 16px 18px; position:relative; font:600 17px/1.3 "Oswald",Arial,sans-serif; color:var(--jj-navy); text-transform:uppercase; letter-spacing:.02em; }
.h3-faq-list summary::-webkit-details-marker{ display:none; }
.h3-faq-list summary::after{ content:"+"; position:absolute; right:14px; top:50%; transform:translateY(-50%); width:28px; height:28px; border-radius:50%;
  background:var(--jj-gold); border:2px solid var(--ink); font:700 18px/24px "Oswald",Arial,sans-serif; text-align:center; color:var(--ink); }
.h3-faq-list details[open] summary::after{ content:"–"; background:var(--jj-red); color:#fff; }
.h3-faq-list details p{ margin:0; padding:0 18px 18px; font-size:15px; line-height:1.65; color:#3a4448; }

/* ---------- FINAL CTA ---------- */
.h3-cta{ padding:10px 0 70px; }
.h3-cta-box{ background:var(--jj-red); border:3px solid var(--ink); border-radius:24px; box-shadow:8px 8px 0 var(--ink); overflow:hidden; display:grid; }
.h3-cta-art{ background:var(--cream); border-bottom:3px solid var(--ink); }
.h3-cta-art img{ width:100%; height:100%; object-fit:cover; }
.h3-cta-txt{ padding:26px 22px 28px; color:#fff; }
.h3-cta-title h1, .h3-cta-title h2{ font:700 36px/1.02 "Oswald",Arial,sans-serif !important; text-transform:uppercase; color:#fff; margin:0 0 12px; text-shadow:3px 3px 0 var(--ink); }
.h3-cta-txt .h3-rich p{ color:#fff; font-size:16px; }
.h3-cta-txt br{ display:none; }
.h3-trad{ margin-top:26px; display:grid; gap:14px; align-items:center; background:#fff; border:3px solid var(--ink); border-radius:18px; padding:20px; box-shadow:5px 5px 0 var(--jj-gold); }
.h3-trad > img{ width:84px; height:84px; object-fit:cover; border-radius:50%; border:3px solid var(--ink); }
.h3-trad-title h1, .h3-trad-title h2{ font:700 24px/1.1 "Oswald",Arial,sans-serif !important; text-transform:uppercase; color:var(--jj-navy); margin:0 0 6px; }
.h3-trad .h3-rich p{ font-size:14.5px; margin:0; }
.h3-trad .h3-rich br{ display:none; }
.h3-trad .h3-btns{ margin-top:0; }

/* ======================= >= 576 ======================= */
@media (min-width:576px){
  .h3-perk-grid{ grid-template-columns:repeat(3,1fr); }
  .h3-days{ grid-auto-columns:46%; }
  .h3-strip{ grid-auto-columns:40%; }
  .h3-cards{ grid-template-columns:repeat(3,1fr); }
}
/* ======================= >= 768 ======================= */
@media (min-width:768px){
  .h3-h2{ font-size:44px !important; }
  .h3-ticket{ grid-template-columns:repeat(3,1fr) auto; }
  .h3-tk{ border-bottom:0; border-right:2px dashed rgba(253,248,234,.25); padding:22px 24px; }
  .h3-tk-cta{ grid-column:auto; padding:18px 24px; }
  .h3-tk-cta .h3-btn{ width:auto; }
  .h3-tk b{ font-size:26px; }
  .h3-step-list{ grid-template-columns:repeat(3,1fr); }
  .h3-step-list li{ padding:84px 22px 24px; }
  .h3-step-list b{ top:18px; left:22px; }
  .h3-hl-grid{ grid-template-columns:1fr 1fr; }
  .h3-hl-grid.one{ grid-template-columns:1fr; max-width:760px; margin:0 auto; }
  .h3-trad{ grid-template-columns:auto 1fr auto; padding:20px 26px; }
  .h3-trad:not(:has(> img)){ grid-template-columns:1fr auto; }
  .h3-faq-grid{ grid-template-columns:5fr 7fr; gap:40px; align-items:start; }
}
/* ======================= >= 992 ======================= */
@media (min-width:992px){
  .h3-hero{ padding:56px 0 64px; }
  .h3-hero-grid{ grid-template-columns:1fr 1.05fr; gap:48px; }
  .h3-hero-title h1, .h3-hero-title h2{ font-size:62px !important; }
  .h3-hero-title br{ display:inline; }
  .h3-hero-desc p{ font-size:18px; }
  .h3-hero .h3-btns .h3-btn{ flex:0 0 auto; }
  .h3-hero-art{ transform:rotate(1.2deg); }
  .h3-welcome{ padding:80px 0; }
  .h3-welcome-grid{ grid-template-columns:5fr 6fr; gap:56px; align-items:center; }
  .h3-welcome-head{ text-align:right; }
  .h3-welcome-title h1, .h3-welcome-title h2{ font-size:50px !important; }
  .h3-perks, .h3-glance, .h3-steps, .h3-included, .h3-covered, .h3-faq{ padding:84px 0; }
  .h3-highlights{ padding-bottom:84px; }
  .h3-perk-grid{ grid-template-columns:repeat(6,1fr); gap:16px; }
  .h3-perk img{ width:110px; height:110px; }
  .h3-days{ grid-auto-flow:row; grid-template-columns:repeat(var(--h3-cols,5),1fr); grid-auto-columns:auto; overflow:visible; }
  .h3-split{ grid-template-columns:1fr 1fr; gap:56px; }
  .h3-split.no-img{ grid-template-columns:1fr; max-width:820px; }
  .h3-split.rev .h3-split-img{ order:2; }
  .h3-photos{ padding:84px 0 76px; }
  .h3-strip{ grid-auto-columns:calc((100% - 36px - 4*14px) / 4.5); padding:6px 36px 18px; }
  .h3-cta-box{ grid-template-columns:1.1fr 1fr; }
  .h3-cta-art{ border-bottom:0; border-right:3px solid var(--ink); }
  .h3-cta-txt{ padding:44px 44px; align-self:center; }
  .h3-cta-title h1, .h3-cta-title h2{ font-size:52px !important; }
}
@media (min-width:1200px){
  .h3-hero-title h1, .h3-hero-title h2{ font-size:68px !important; }
}
@media (prefers-reduced-motion:reduce){ .h3 *{ transition:none !important; } }

/* ---------- fixed-ratio image boxes (any admin image size) ---------- */
.h3-day-img, .h3-card-img, .h3-shot{ overflow:hidden; }
.h3-day-img img, .h3-card-img img, .h3-shot img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.h3-card-img{ position:relative; }
.h3-hl-photos img{ min-height:0; }
@media (min-width:992px){
  .h3-hero-grid{ grid-template-columns:1.08fr 1fr; }
  .h3-hero-title h1, .h3-hero-title h2{ font-size:54px !important; }
}
@media (min-width:1200px){
  .h3-hero-title h1, .h3-hero-title h2{ font-size:60px !important; }
}

/* ---------- polish pass ---------- */
main.h3{ margin:0 !important; }
.h3-eyebrow{ line-height:1.35; max-width:100%; }
.h3-tk:nth-child(3){ grid-column:1 / -1; border-right:0; }
.h3-hl-photos{ flex:1 1 auto; min-height:190px; }
.h3-hl-photos.n1 img, .h3-hl-photos.n2 img{ aspect-ratio:auto; height:100%; min-height:190px; }
@media (min-width:768px){
  .h3-tk:nth-child(3){ grid-column:auto; border-right:2px dashed rgba(253,248,234,.25); }
}

/* ======================= v4 revision ======================= */
/* hero: logo composition gets a comic frame */
.h3-hero-art img{ border:3px solid var(--ink); box-shadow:6px 6px 0 var(--ink); background:#56b8dc; }

/* image boxes never read as empty white/blue boxes while a photo loads */
.h3-card-img, .h3-day-img, .h3-shot, .h3-hl-photos{ background:#0d3350 radial-gradient(rgba(255,255,255,.07) 1.5px, transparent 1.6px) 0 0/12px 12px; }
.h3-cards.n1{ max-width:420px; margin:0 auto; }
@media (min-width:576px){ .h3-cards.n2{ grid-template-columns:1fr 1fr; max-width:820px; margin:0 auto; } }

/* highlights: fixed photo panel (same height in both cards), text fills the rest */
.h3-hl-grid{ align-items:stretch; }
.h3-hl-photos{ flex:0 0 auto; min-height:0; aspect-ratio:4/3; position:relative; grid-template-rows:auto; }
.h3-hl-photos img, .h3-hl-photos.n1 img, .h3-hl-photos.n2 img{ aspect-ratio:auto !important; width:100%; height:100%; min-height:0; object-fit:cover; display:block; }
.h3-hl-photos.n1{ grid-template-columns:1fr; }
.h3-hl-photos.n2{ grid-template-columns:1fr 1fr; grid-template-rows:1fr; }
.h3-hl-photos.n3{ grid-template-columns:2fr 1fr; grid-template-rows:1fr 1fr; }
.h3-hl-photos.n3 img:first-child{ grid-row:1 / 3; }
.h3-hl-photos.n4{ grid-template-columns:repeat(3,1fr); grid-template-rows:1.9fr 1fr; }
.h3-hl-photos.n4 img:first-child{ grid-column:1 / -1; grid-row:auto; }
.h3-hl-txt{ flex:1 1 auto; display:flex; flex-direction:column; align-items:flex-start; }
.h3-hl-txt .h3-btn{ margin-top:auto; }
.h3-hl-txt .h3-rich{ margin-bottom:14px; }
@media (min-width:768px){ .h3-hl-photos{ aspect-ratio:16/11; } }

/* photo strip -> tidy grid: phone 2x3, tablet 3x2, desktop 4x2 (no half-cut sideways scroller) */
.h3-photos .container{ max-width:1140px; }
.h3-strip{ display:grid; grid-auto-flow:row; grid-template-columns:1fr 1fr; grid-auto-columns:auto; gap:12px; overflow:visible; padding:4px 0 0; scroll-snap-type:none; }
.h3-shot{ aspect-ratio:4/5; }
.h3-shot span{ font-size:13px; padding:28px 10px 10px; }
.h3-shot:nth-child(n+7){ display:none; }
@media (min-width:768px){
  .h3-strip{ grid-template-columns:repeat(3,1fr); gap:16px; }
  .h3-shot{ aspect-ratio:4/3; }
  .h3-shot span{ font-size:15px; padding:34px 14px 12px; }
}
@media (min-width:992px){
  .h3-strip{ grid-template-columns:repeat(4,1fr); padding:6px 0 0; grid-auto-columns:auto; }
  .h3-shot{ aspect-ratio:1/1; }
  .h3-shot:nth-child(n+7){ display:block; }
  .h3-shot:nth-child(n+9){ display:none; }
}
/* odd counts: never leave a lonely last tile */
.h3-strip:has(> .h3-shot:nth-child(5):last-child) .h3-shot:nth-child(5),
.h3-strip:has(> .h3-shot:nth-child(3):last-child) .h3-shot:nth-child(3){ grid-column:1 / -1; aspect-ratio:16/9; }
@media (min-width:768px){
  .h3-strip:has(> .h3-shot:nth-child(5):last-child) .h3-shot:nth-child(5),
  .h3-strip:has(> .h3-shot:nth-child(3):last-child) .h3-shot:nth-child(3){ grid-column:auto; aspect-ratio:4/3; }
}

/* banner 3: brand logo (fallback) instead of a bare white strip */
.h3-trad{ background:#fff radial-gradient(rgba(14,42,64,.06) 1.5px, transparent 1.6px) 0 0/12px 12px; }
.h3-trad > img.is-logo{ width:96px; height:auto; aspect-ratio:auto; object-fit:contain; border:0; border-radius:0; }
@media (min-width:768px){ .h3-trad > img.is-logo{ width:110px; } }
/* highlight cards: same-height photo panels; each card ends on a button so the shorter copy never leaves an empty block */
@media (min-width:768px){
  .h3-hl-photos{ aspect-ratio:auto; height:300px; }
  .h3-hl-txt{ flex:1 1 auto; }
}
@media (min-width:1200px){ .h3-hl-photos{ height:330px; } }

/* ======================= v5: admin-editable lists (any number of perks / steps) ======================= */
/* 6 perk cards keep the original grid; any other count wraps and centers */
.h3-perk-grid:not(.n6){ display:flex; flex-wrap:wrap; justify-content:center; }
.h3-perk-grid:not(.n6) > .h3-perk{ flex:0 0 calc((100% - 14px) / 2); }
@media (min-width:576px){ .h3-perk-grid:not(.n6) > .h3-perk{ flex-basis:calc((100% - 28px) / 3); } }
@media (min-width:992px){
  .h3-perk-grid:not(.n6){ gap:16px; }
  .h3-perk-grid:not(.n6) > .h3-perk{ flex-basis:calc((100% - 80px) / 6); }
  .h3-perk-grid.n4 > .h3-perk, .h3-perk-grid.n8 > .h3-perk{ flex-basis:calc((100% - 48px) / 4); }
}
@media (min-width:768px){
  .h3-step-list.n1{ grid-template-columns:minmax(0,520px); justify-content:center; }
  .h3-step-list.n2{ grid-template-columns:repeat(2,1fr); }
  .h3-step-list.n4{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:1200px){ .h3-step-list.n4{ grid-template-columns:repeat(4,1fr); } }
