/* ============================================================
   Catalog Explore — region/theme/layer index styling
   Brand vars: --brand-blue #0c62a6, --text #0a1a2b, --text-dim #4a5a6a
   Font:       'Segoe UI' to match the rest of the site
   ============================================================ */

:root {
  --explore-font: 'Segoe UI', wf_segoe-ui_normal, Helvetica, Arial, sans-serif;
  --explore-accent: #ffd06b;       /* warm CTA / stat highlight */
  --explore-icon: #2bb3a5;         /* teal feature-icon (matches site lockups) */
  --explore-icon-bg: rgba(43,179,165,.12);
}

.hero--explore {
  background: linear-gradient(135deg, #0c3b75 0%, #0c62a6 60%, #2780c4 100%);
  color: #fff;
  text-align: center;
  padding: 60px 24px 48px;
  font-family: var(--explore-font);
}

.hero--explore .hero-inner { max-width: 920px; margin: 0 auto; }
.hero--explore h1 {
  font: 700 36px/1.2 var(--explore-font);
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: -0.01em;
}
.hero--explore p {
  font: 400 18px/1.55 var(--explore-font);
  color: rgba(255,255,255,.92);
  margin: 0 auto;
  max-width: 760px;
}
.hero--explore .hero-eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 8px;
  color: rgba(255,255,255,.85);
}
.hero--explore .hero-eyebrow a { color: #fff; text-decoration: underline; }

.hero--region .hero-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
  text-align: left;
  max-width: 1200px;
}
.hero--region h1 { font-size: 40px; letter-spacing: -0.015em; }
.hero--region .hero-summary {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 14px;
  font-family: var(--explore-font);
}
.hero--region .hero-stats {
  display: flex;
  gap: 32px;
  margin: 22px 0 24px;
  flex-wrap: wrap;
  font-family: var(--explore-font);
}
.hero--region .hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero--region .hero-stats strong {
  font-size: 26px;
  font-weight: 700;
  color: var(--explore-accent);
  line-height: 1.1;
}
.hero--region .hero-stats span {
  font-size: 13px;
  color: rgba(255,255,255,.85);
}

/* Feature strip — three icons under the hero (stacked layers / cloud / link) */
.explore-feature-strip {
  background: linear-gradient(180deg, #f6fbfa 0%, #eef7f5 100%);
  border-bottom: 1px solid #d6e8e4;
  padding: 36px 24px;
  font-family: var(--explore-font);
}
.explore-feature-strip__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.explore-feature {
  display: flex;
  align-items: center;
  gap: 18px;
}
.explore-feature__icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--explore-icon-bg);
  color: var(--explore-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(43,179,165,.18);
}
.explore-feature__icon svg { width: 36px; height: 36px; display: block; }
.explore-feature__text strong {
  display: block;
  color: var(--text, #0a1a2b);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.explore-feature__text span {
  display: block;
  color: var(--text-dim, #4a5a6a);
  font-size: 15px;
  line-height: 1.45;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .explore-feature-strip { padding: 24px 20px; }
  .explore-feature-strip__inner { grid-template-columns: 1fr; gap: 18px; }
  .explore-feature__icon { width: 52px; height: 52px; }
  .explore-feature__icon svg { width: 30px; height: 30px; }
  .explore-feature__text strong { font-size: 18px; }
}
.hero--region .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn--primary { background: #fff; color: #0c3b75; }
.btn--primary:hover { background: #f0f6ff; transform: translateY(-1px); }
.hero--region .hero-media img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
/* Transparent PNGs (e.g. region cut-outs): drop container styling and use a
   filter-based shadow that follows the image's alpha outline. */
.hero--region .hero-media img.is-cutout {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.45));
  width: 100%;
  max-width: none;
  margin-left: 5%;
  display: block;
  /* Cap height for tall cut-outs (e.g. North America with Canada extending
     well above the US) so the hero section stays a sensible size. The image
     is cropped vertically; it starts aligned to the top and is shifted
     downward as the user scrolls (see hero-parallax.js / --hero-img-pos). */
  height: 420px;
  object-fit: cover;
  object-position: center var(--hero-img-pos, 0%);
}
@media (max-width: 960px) {
  .hero--region .hero-media img.is-cutout { height: 320px; }
}
@media (max-width: 720px) {
  .hero--region .hero-media img.is-cutout { height: 240px; margin-left: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 4px;
  font: 600 15px/1 var(--explore-font);
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn--primary:hover { background: #ffdf94; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.explore-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}
.explore-intro h2 {
  font: 700 26px/1.25 var(--explore-font);
  margin: 8px 0 8px;
  color: var(--text, #0a1a2b);
  letter-spacing: -0.01em;
}
.explore-intro p {
  font: 400 16px/1.55 var(--explore-font);
  color: var(--text-dim, #4a5a6a);
  margin: 0 0 24px;
  max-width: 780px;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.explore-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8ef;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.explore-card:hover {
  border-color: #0c62a6;
  box-shadow: 0 10px 28px rgba(12,98,166,.18);
  transform: translateY(-2px);
}
.explore-card__media {
  aspect-ratio: 16 / 9;
  background: #f3f7fb;
  overflow: hidden;
  position: relative;
}
.explore-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.explore-card__icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--explore-icon, #2bb3a5);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(12,98,166,.18);
}
.explore-card__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.explore-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.explore-card__body h2 {
  font: 600 19px/1.25 var(--explore-font);
  margin: 0;
  color: var(--text, #0a1a2b);
}
.explore-card__count {
  font: 600 13px/1 var(--explore-font);
  color: var(--brand-blue, #0c62a6);
  margin: 0;
  letter-spacing: .02em;
}
.explore-card__body p {
  font: 400 14px/1.5 var(--explore-font);
  color: var(--text-dim, #4a5a6a);
  margin: 0;
}
.explore-card__cta {
  margin-top: auto;
  padding-top: 10px;
  font: 600 14px/1 var(--explore-font);
  color: var(--brand-blue, #0c62a6);
}
.explore-card__examples-label {
  font: 600 12px/1 var(--explore-font);
  color: var(--text-dim, #4a5a6a);
  margin: 4px 0 0;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.explore-card__examples-list {
  margin: 4px 0 0 18px;
  padding: 0;
  font: 400 13px/1.45 var(--explore-font);
  color: var(--text-dim, #4a5a6a);
}
.explore-card__examples-list li { margin: 2px 0; }

/* ============================================================
   Explore landing — full-bleed photo region cards
   ============================================================ */
.hero--explore-landing {
  padding: 72px 24px 64px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(43,179,165,.35), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(255,208,107,.18), transparent 60%),
    linear-gradient(135deg, #07294f 0%, #0c62a6 60%, #2780c4 100%);
}
.hero--explore-landing h1 {
  font-size: 44px;
  letter-spacing: -0.015em;
  max-width: 880px;
  margin: 0 auto 16px;
}
.hero-stats--center {
  justify-content: center;
  gap: 48px;
  margin-top: 28px;
}
.hero-stats--center > div { align-items: center; text-align: center; }

.explore-page--landing { max-width: 1280px; padding-top: 32px; }
.explore-intro--centered { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.explore-intro--centered p { margin-left: auto; margin-right: auto; }

/* Catalog home — hero with full-bleed video background */
.hero--catalog-home {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 460px;
  padding: 96px 24px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #07294f;
}
.hero--catalog-home .hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero--catalog-home .hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,41,79,.55) 0%, rgba(7,41,79,.65) 100%),
    radial-gradient(900px 500px at 50% 50%, rgba(7,41,79,.15), rgba(7,41,79,.55) 80%);
}
.hero--catalog-home .hero-inner { position: relative; z-index: 1; }
.hero--catalog-home h1 {
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.hero--catalog-home p {
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
}
@media (max-width: 720px) {
  .hero--catalog-home { min-height: 360px; padding: 64px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--catalog-home .hero__bg-video { display: none; }
}

/* Theme page hero — full-bleed theme image with overlay */
.hero--theme {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 280px;
  padding: 56px 24px 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  background: #07294f;
}
.hero--theme__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--theme-hero-img);
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  filter: saturate(.95);
}
.hero--theme__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,41,79,.92) 0%, rgba(7,41,79,.72) 45%, rgba(7,41,79,.45) 100%),
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 100%);
}
.hero--theme__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}
.hero--theme .hero-eyebrow {
  text-align: left;
  margin: 0 0 10px;
}
.hero--theme h1 {
  font-size: 42px;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
  margin: 0 0 12px;
  line-height: 1.15;
}
.hero--theme__region {
  font-weight: 500;
  color: rgba(255,255,255,.85);
}
.hero--theme__summary {
  font-size: 18px;
  line-height: 1.5;
  max-width: 760px;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
  color: rgba(255,255,255,.95);
}
.hero--theme__stats {
  display: flex;
  gap: 28px;
  margin-top: 22px;
  font-family: var(--explore-font);
}
.hero--theme__stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero--theme__stats strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--explore-accent);
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.hero--theme__stats span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.85);
}
@media (max-width: 720px) {
  .hero--theme { min-height: 220px; padding: 40px 18px 36px; }
  .hero--theme h1 { font-size: 30px; }
  .hero--theme__summary { font-size: 16px; }
  .hero--theme__region { display: block; margin-top: 4px; font-size: 18px; }
}

.explore-regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* SEO content section above the region cards on the catalog landing page */
.explore-about {
  margin-top: 0;
  padding: 24px 0 16px;
  border-top: 0;
}
.explore-about__head {
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
}
.explore-about__eyebrow {
  font: 700 12px/1 "Segoe UI", system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-blue, #0c62a6);
  margin: 0 0 14px;
}
.explore-about h2 {
  font: 700 32px/1.2 "Segoe UI", system-ui, sans-serif;
  margin: 0 0 18px;
  color: var(--text, #0a1a2b);
  letter-spacing: -0.01em;
}
.explore-about__lead {
  margin: 0;
  font: 400 18px/1.6 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-text-dim, #4a5a6a);
}
.explore-about__rows {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-bottom: 64px;
}
.explore-feature-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.explore-feature-row__visual {
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: 0 12px 32px -16px rgba(15, 23, 42, .25), 0 2px 6px -2px rgba(15, 23, 42, .08);
  max-width: 320px;
}
.explore-feature-row__visual svg,
.explore-feature-row__visual img {
  display: block;
  width: 100%;
  height: auto;
}
.explore-feature-row__text { min-width: 0; }
.explore-feature-row__tag {
  display: inline-block;
  font: 700 11px/1 "Segoe UI", system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-blue, #0c62a6);
  background: rgba(12, 98, 166, .08);
  padding: 6px 10px;
  border-radius: 999px;
  margin: 0 0 14px;
}
.explore-feature-row__text h3 {
  font: 700 24px/1.25 "Segoe UI", system-ui, sans-serif;
  margin: 0 0 14px;
  color: var(--text, #0a1a2b);
  letter-spacing: -0.005em;
}
.explore-feature-row__text p {
  font: 400 16px/1.6 "Segoe UI", system-ui, sans-serif;
  color: var(--text, #0a1a2b);
  margin: 0 0 16px;
}
.explore-feature-row__text code {
  background: #f1f4f8;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 14px;
}
.explore-feature-row__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.explore-feature-row__bullets li {
  position: relative;
  padding: 6px 0 6px 28px;
  font: 400 15px/1.5 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-text-dim, #4a5a6a);
}
.explore-feature-row__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(12, 98, 166, .12);
}
.explore-feature-row__bullets li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--brand-blue, #0c62a6);
  border-bottom: 2px solid var(--brand-blue, #0c62a6);
  transform: rotate(-45deg);
}

.explore-about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 0 40px;
  background: linear-gradient(135deg, #0c62a6 0%, #0a4f87 100%);
  border-radius: 16px;
  overflow: hidden;
}
.explore-about__stat {
  padding: 24px 22px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .15);
}
.explore-about__stat:last-child { border-right: 0; }
.explore-about__stat strong {
  display: block;
  font: 700 16px/1.25 "Segoe UI", system-ui, sans-serif;
  margin-bottom: 6px;
}
.explore-about__stat span {
  display: block;
  font: 400 13px/1.5 "Segoe UI", system-ui, sans-serif;
  color: rgba(255, 255, 255, .82);
}

.explore-about__cta {
  text-align: center;
  font: 500 16px/1.5 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-text-dim, #4a5a6a);
  margin: 8px 0 0;
}
.explore-about__cta a {
  color: var(--brand-blue, #0c62a6);
  font-weight: 600;
}

/* Full-width CTA band that sits flush against the footer */
.explore-cta-band {
  background: #f3f6fa;
  padding: 28px 24px;
  margin: 0;
}
.explore-cta-band p {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font: 500 16px/1.5 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-text-dim, #4a5a6a);
}
.explore-cta-band a {
  color: var(--brand-blue, #0c62a6);
  font-weight: 600;
}

/* Divider between the feature section and the region cards */
.explore-divider {
  border: 0;
  border-top: 1px solid var(--dx-border, #e3e8ee);
  margin: 24px 0 40px;
}

/* Landing page main: bottom padding so cards have breathing room before the CTA band */
.explore-page--landing { padding-bottom: 56px; }
@media (max-width: 980px) {
  .explore-feature-row,
  .explore-feature-row--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .explore-feature-row__visual { max-width: 280px; }
  .explore-about__stats { grid-template-columns: repeat(2, 1fr); }
  .explore-about__stat:nth-child(2) { border-right: 0; }
  .explore-about__stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .15); }
}
@media (max-width: 640px) {
  .explore-about { margin-top: 48px; padding-top: 36px; }
  .explore-about h2 { font-size: 24px; }
  .explore-about__lead { font-size: 16px; }
  .explore-about__rows { gap: 40px; margin-bottom: 40px; }
  .explore-feature-row__text h3 { font-size: 20px; }
  .explore-about__stats { grid-template-columns: 1fr; }
  .explore-about__stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }
  .explore-about__stat:last-child { border-bottom: 0; }
}
.explore-region-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #0c3b75 0%, #0c62a6 60%, #2780c4 100%);
  box-shadow: 0 8px 28px rgba(8, 30, 60, .12);
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}
.explore-region-card:hover,
.explore-region-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(8, 30, 60, .25);
  outline: none;
}
.explore-region-card:focus-visible { box-shadow: 0 0 0 3px #ffd06b, 0 18px 44px rgba(8, 30, 60, .25); }

.explore-region-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.explore-region-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.explore-region-card:hover .explore-region-card__media img,
.explore-region-card:focus-visible .explore-region-card__media img {
  transform: scale(1.06);
}
.explore-region-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 41, 79, 0) 45%, rgba(7, 41, 79, .35) 75%, rgba(7, 41, 79, .78) 100%);
  z-index: 1;
}

.explore-region-card__overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 24px 22px;
  font-family: var(--explore-font);
}
.explore-region-card__count {
  font: 700 12px/1 var(--explore-font);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--explore-accent, #ffd06b);
  margin: 0 0 8px;
}
.explore-region-card__title {
  font: 700 26px/1.15 var(--explore-font);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.explore-region-card__summary {
  font: 400 14px/1.5 var(--explore-font);
  color: rgba(255, 255, 255, .92);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.explore-region-card__cta {
  font: 700 14px/1 var(--explore-font);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.explore-region-card__cta span { transition: transform .25s ease; display: inline-block; }
.explore-region-card:hover .explore-region-card__cta span,
.explore-region-card:focus-visible .explore-region-card__cta span { transform: translateX(4px); }

@media (max-width: 1100px) {
  .explore-regions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .explore-regions { grid-template-columns: 1fr; gap: 16px; }
  .explore-region-card { aspect-ratio: 4 / 3; }
  .explore-region-card__title { font-size: 22px; }
}

/* ---- Layer list (theme page) ---- */
.layer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.layer-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8ef;
  border-radius: 10px;
  padding: 18px 20px 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, box-shadow .18s, transform .18s;
  gap: 6px;
}
.layer-card:hover {
  border-color: #0c62a6;
  box-shadow: 0 6px 20px rgba(12,98,166,.14);
  transform: translateY(-1px);
}
.layer-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.layer-card h3 {
  font: 600 16px/1.3 var(--explore-font);
  margin: 0;
  color: var(--text, #0a1a2b);
}
.layer-card__tier {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  letter-spacing: .04em;
  color: #fff;
  background: #4a5a6a;
  flex-shrink: 0;
}
.layer-card__tier--standard   { background: #2563eb; }
.layer-card__tier--premium    { background: #b45309; }
.layer-card__tier--commercial { background: #6d28d9; }

.layer-card__desc {
  font: 400 13px/1.5 var(--explore-font);
  color: var(--text-dim, #4a5a6a);
  margin: 4px 0 0;
}
.layer-card__source {
  font-size: 12px;
  color: #6b7785;
  margin: 6px 0 0;
}
.layer-card__cta {
  margin-top: auto;
  padding-top: 10px;
  font: 600 13px/1 var(--explore-font);
  color: var(--brand-blue, #0c62a6);
}

/* ---- All-layers (region/all) page ---- */
.explore-all-nav {
  background: #f6f9fc;
  border-bottom: 1px solid #e2e8ef;
  position: sticky;
  top: var(--site-header-height, 64px);
  z-index: 5;
  font-family: var(--explore-font);
}
.explore-all-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.explore-all-nav a {
  font: 600 13px/1 var(--explore-font);
  color: var(--brand-blue, #0c62a6);
  text-decoration: none;
  padding: 6px 0;
}
.explore-all-nav a:hover { text-decoration: underline; }

.explore-all-section { margin: 0 0 48px; scroll-margin-top: 120px; }
.explore-all-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--brand-blue, #0c62a6);
  padding-bottom: 8px;
  margin-bottom: 6px;
}
.explore-all-section__head h2 {
  font: 700 24px/1.25 var(--explore-font);
  color: var(--text, #0a1a2b);
  margin: 0;
  letter-spacing: -0.01em;
}
.explore-all-section__link {
  font: 600 13px/1 var(--explore-font);
  color: var(--brand-blue, #0c62a6);
  text-decoration: none;
}
.explore-all-section__link:hover { text-decoration: underline; }
.explore-all-section__summary {
  font: 400 14px/1.5 var(--explore-font);
  color: var(--text-dim, #4a5a6a);
  margin: 0 0 16px;
  max-width: 780px;
}

/* ---- "What can you build?" use-case section ---- */
.usecases {
  background: linear-gradient(180deg, #f0f7fb 0%, #e6f0f7 100%);
  padding: 56px 24px 64px;
  font-family: var(--explore-font);
}
.usecases__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.usecases__heading {
  text-align: center;
  font: 700 28px/1.2 var(--explore-font);
  color: var(--text, #0a1a2b);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 14px;
}
.usecases__heading::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--explore-icon, #2bb3a5);
  border-radius: 2px;
  margin: 12px auto 0;
}
.usecases__sub {
  text-align: center;
  font: 400 15px/1.55 var(--explore-font);
  color: var(--text-dim, #4a5a6a);
  margin: 0 auto 32px;
  max-width: 640px;
}
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.usecase-card {
  background: #fff;
  border: 1px solid #e2e8ef;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.usecase-card:hover {
  box-shadow: 0 10px 28px rgba(12,98,166,.14);
  transform: translateY(-2px);
}
.usecase-card__media {
  aspect-ratio: 16 / 9;
  background: #f3f7fb;
  overflow: hidden;
}
.usecase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.usecase-card__body {
  padding: 16px 18px 20px;
}
.usecase-card__body h3 {
  font: 700 16px/1.3 var(--explore-font);
  color: var(--text, #0a1a2b);
  margin: 0 0 6px;
}
.usecase-card__body p {
  font: 400 13px/1.5 var(--explore-font);
  color: var(--text-dim, #4a5a6a);
  margin: 0;
}

.explore-seo-snapshot {
  background: linear-gradient(135deg, #0c3b75 0%, #0c62a6 100%);
  color: #fff;
  padding: 40px 24px;
}
.explore-seo-snapshot__inner {
  max-width: 960px;
  margin: 0 auto;
}
.explore-seo-snapshot h1 {
  font: 700 32px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  margin: 8px 0 12px;
  color: #fff;
}
.explore-seo-snapshot p {
  font: 400 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: rgba(255,255,255,.92);
  margin: 0 0 8px;
}

@media (max-width: 760px) {
  .hero--region .hero-inner--split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero--region .hero-stats { justify-content: center; }
  .hero--region .hero-actions { justify-content: center; }
  .hero--explore { padding: 44px 18px 32px; }
  .hero--explore h1 { font-size: 28px; }
}


/* =========================================================
   Theme Explorer — split-pane region+theme listing page
   ========================================================= */

.theme-explorer {
  --dx-bg: #0a1628;
  --dx-panel: #ffffff;
  --dx-panel-tint: #f5f8fc;
  --dx-border: #e2e8f0;
  --dx-text: #0a1a2b;
  --dx-text-dim: #5b6b7d;
  --dx-accent: #0c62a6;
  --dx-accent-2: #2bb3a5;
  --dx-shadow: 0 8px 28px -10px rgba(10, 22, 40, 0.25);

  display: grid;
  grid-template-columns: minmax(360px, 440px) 1fr;
  gap: 0;
  height: calc(100vh - 80px);
  min-height: 640px;
  background: var(--dx-bg);
  position: relative;
  overflow: hidden;
}

.theme-explorer .hero { display: none; } /* in case nested */

/* Hero modifier so the explorer sits flush below */
.hero--theme {
  padding: 32px 0 28px !important;
}
.hero--theme .hero-inner h1 { font-size: 30px; margin-bottom: 6px; }
.hero--theme .hero-inner p { font-size: 16px; opacity: .85; max-width: 720px; }

/* ---------- Left list ---------- */
.dx-list {
  background: var(--dx-panel);
  border-right: 1px solid var(--dx-border);
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--dx-shadow);
}
.dx-list__head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--dx-border);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--dx-panel-tint) 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.dx-list__count {
  font: 500 13px/1.3 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-text-dim);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.dx-list__count strong {
  color: var(--dx-accent);
  font-weight: 700;
  font-size: 15px;
}
.dx-list__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--dx-border);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--dx-text-dim);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.dx-list__search:focus-within {
  border-color: var(--dx-accent);
  box-shadow: 0 0 0 3px rgba(12, 98, 166, 0.14);
}
.dx-list__search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 14px/1.4 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-text);
  min-width: 0;
}
.dx-list__items {
  list-style: none;
  margin: 0;
  padding: 8px 12px 32px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #c5d0dc transparent;
}
.dx-list__items::-webkit-scrollbar { width: 8px; }
.dx-list__items::-webkit-scrollbar-thumb { background: #c5d0dc; border-radius: 4px; }
.dx-list__empty {
  padding: 28px 20px;
  text-align: center;
  color: var(--dx-text-dim);
  font: 400 14px/1.5 "Segoe UI", system-ui, sans-serif;
}

/* Back-to-region link at the top of the dataset list */
.dx-list__back {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid var(--dx-border);
  font: 600 14px/1.3 "Segoe UI", system-ui, sans-serif;
  color: var(--brand-blue, #0c62a6);
  text-decoration: none;
  background: #f7fafc;
  transition: background .15s ease;
}
.dx-list__back:hover,
.dx-list__back:focus-visible {
  background: rgba(12, 98, 166, .08);
  outline: none;
}

/* Visually-hidden but crawlable link inside each card so search engines still
   see an anchor pointing at the per-dataset page. Not focusable or clickable
   — the parent .dx-card handles user interaction (map preview). */
.dx-card__seo-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

/* Theme heading rows used inside the list on the All-layers page */
.dx-list__theme-head {
  list-style: none;
  padding: 18px 16px 6px;
  margin-top: 4px;
  border-top: 1px solid var(--dx-border);
}
.dx-list__theme-head:first-child { border-top: 0; margin-top: 0; }
.dx-list__theme-head h2 {
  font: 700 16px/1.2 "Segoe UI", system-ui, sans-serif;
  margin: 0 0 4px;
  color: var(--text, #0a1a2b);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dx-list__theme-head p {
  margin: 0;
  font: 400 13px/1.45 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-text-dim, #4a5a6a);
}

/* ---------- Dataset card ---------- */
.dx-card {
  position: relative;
  margin: 6px 4px;
  padding: 14px 16px 14px 18px;
  background: #fff;
  border: 1px solid var(--dx-border);
  border-radius: 12px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  outline: none;
  overflow: hidden;
}
.dx-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--dx-accent) 0%, var(--dx-accent-2) 100%);
  opacity: 0;
  transition: opacity .15s ease;
}
.dx-card:hover {
  border-color: #b9cde2;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -8px rgba(12, 98, 166, 0.25);
}
.dx-card:focus-visible {
  border-color: var(--dx-accent);
  box-shadow: 0 0 0 3px rgba(12, 98, 166, 0.18);
}
.dx-card.is-selected {
  border-color: var(--dx-accent);
  background: linear-gradient(180deg, #f0f8ff 0%, #e8f4fc 100%);
  box-shadow: 0 6px 18px -10px rgba(12, 98, 166, 0.5);
}
.dx-card.is-selected::before { opacity: 1; }

.dx-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.dx-card__title {
  font: 600 15px/1.3 "Segoe UI", system-ui, sans-serif;
  margin: 0;
  color: var(--dx-text);
  word-break: break-word;
}
.dx-card.is-selected .dx-card__title { color: var(--dx-accent); }
.dx-card__tier {
  flex-shrink: 0;
  font: 600 10px/1 "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  padding: 4px 7px;
  border-radius: 4px;
  background: #64748b;
}
.dx-card__tier--basic              { background: #475569; }
.dx-card__tier--standard           { background: #2563eb; }
.dx-card__tier--premium            { background: #b45309; }
.dx-card__tier--commercial,
.dx-card__tier--commercial-preview { background: #6d28d9; }

.dx-card__desc {
  margin: 6px 0 0;
  font: 400 13px/1.45 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dx-card__source {
  margin: 6px 0 0;
  font: 400 11px/1.4 "Segoe UI", system-ui, sans-serif;
  color: #8a98a8;
  font-style: italic;
}
.dx-card__meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.dx-card__chip {
  font: 600 10px/1 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-accent-2);
  background: rgba(43, 179, 165, .12);
  border-radius: 4px;
  padding: 4px 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dx-card__open {
  display: inline-block;
  margin-top: 10px;
  font: 600 12px/1 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-accent);
  text-decoration: none;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .15s ease, transform .15s ease;
}
.dx-card:hover .dx-card__open,
.dx-card.is-selected .dx-card__open,
.dx-card:focus-visible .dx-card__open {
  opacity: 1;
  transform: translateY(0);
}
.dx-card__open:hover { text-decoration: underline; }

/* ---------- Right map panel ---------- */
.dx-map-wrap {
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, #1d3557 0%, #0a1628 70%);
  min-height: 0;
  overflow: hidden;
  scroll-margin-top: 95px;
}
/* Use higher specificity than MapLibre's own .maplibregl-map { position: relative } */
.dx-map-wrap > .dx-map { position: absolute !important; inset: 0; width: 100%; height: 100%; }
.dx-map .maplibregl-ctrl-attrib { font-size: 10px; }

/* The HTML [hidden] attribute is overridden by our explicit display rules
   below, so force it back when present. */
.theme-explorer [hidden] { display: none !important; }

.dx-map__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(10, 22, 40, .85) 0%, rgba(12, 98, 166, .55) 100%);
  z-index: 5;
  padding: 24px;
}
.dx-map__placeholder-card {
  max-width: 380px;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5);
}
.dx-map__placeholder-card svg {
  color: var(--dx-accent-2);
  margin-bottom: 8px;
}
.dx-map__placeholder-card h2 {
  font: 700 22px/1.2 "Segoe UI", system-ui, sans-serif;
  margin: 4px 0 8px;
  color: #fff;
}
.dx-map__placeholder-card p {
  font: 400 14px/1.5 "Segoe UI", system-ui, sans-serif;
  color: rgba(255, 255, 255, .85);
  margin: 0;
}

.dx-map__loading {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  background: rgba(10, 22, 40, .85);
  color: #fff;
  font: 500 13px/1 "Segoe UI", system-ui, sans-serif;
  padding: 9px 14px 9px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .12);
}
.dx-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, .25);
  border-top-color: var(--dx-accent-2);
  border-radius: 50%;
  animation: dx-spin .8s linear infinite;
}
@keyframes dx-spin { to { transform: rotate(360deg); } }

.dx-map__info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 14px;
  padding: 14px 18px;
  max-width: 720px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35);
}
.dx-map__info-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dx-map__info-head h2 {
  font: 700 18px/1.25 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-text);
  margin: 0;
}
.dx-map__info-open {
  font: 600 13px/1 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-accent);
  text-decoration: none;
  white-space: nowrap;
}
.dx-map__info-open:hover { text-decoration: underline; }
.dx-map__info p {
  margin: 6px 0 0;
  font: 400 13px/1.45 "Segoe UI", system-ui, sans-serif;
  color: var(--dx-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .theme-explorer {
    grid-template-columns: 1fr;
    grid-template-rows: 42vh 1fr;
    height: auto;
    min-height: 0;
  }
  .dx-list {
    order: 2;
    border-right: 0;
    border-top: 1px solid var(--dx-border);
    box-shadow: none;
    max-height: 70vh;
  }
  .dx-list__items { padding-bottom: 16px; }
  .dx-map-wrap { order: 1; min-height: 380px; }
  .dx-map__info { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
}
