body.esp-theme .esp-intent-wrap,
body.esp-theme .esp-grid,
body.esp-theme .esp-filter,
body.esp-theme .esp-form,
body.esp-theme .esp-trust-dossier,
body.esp-theme .esp-collection-route,
body.esp-theme .esp-hunt-hero,
body.esp-theme .esp-hunt-pass {
  font-family: var(--esp-sans);
}

body.esp-theme .esp-intent-wrap {
  margin: 0;
}

body.esp-theme .entry-content > .esp-intent-wrap,
body.esp-theme .entry-content > .esp-grid,
body.esp-theme .entry-content > .esp-form,
body.esp-theme .entry-content > .esp-trust-dossier {
  margin-block: 28px;
}

body.esp-theme .esp-intent-panel,
body.esp-theme .esp-form,
body.esp-theme .esp-trust-dossier,
body.esp-theme .esp-trust-box,
body.esp-theme .esp-card,
body.esp-theme .esp-intent-card,
body.esp-theme .esp-hunt-hero,
body.esp-theme .esp-hunt-pass-head,
body.esp-theme .esp-hunt-badges,
body.esp-theme .esp-hunt-station,
body.esp-theme .esp-ticket {
  border: 1px solid rgba(31, 78, 95, .14);
  border-radius: var(--esp-radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--esp-shadow-soft);
}

body.esp-theme .esp-intent-panel,
body.esp-theme .esp-form,
body.esp-theme .esp-hunt-hero,
body.esp-theme .esp-ticket {
  padding: clamp(18px, 3vw, 30px);
}

body.esp-theme .theme-hero__wizard .esp-intent-panel {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

body.esp-theme .esp-intent-panel h2,
body.esp-theme .esp-trust-dossier h2,
body.esp-theme .esp-hunt-hero h2,
body.esp-theme .esp-hunt-pass h1,
body.esp-theme .esp-hunt-pass h2 {
  font-family: var(--esp-serif);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

body.esp-theme .esp-intent-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

body.esp-theme .theme-hero__wizard .esp-intent-panel h2 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

body.esp-theme .esp-intent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

body.esp-theme .esp-intent-chip,
body.esp-theme .esp-reason-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(31, 78, 95, .16);
  border-radius: 999px;
  background: rgba(243, 231, 211, .72);
  color: var(--esp-ink);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  transition: background var(--esp-speed) ease, transform var(--esp-speed) ease, border-color var(--esp-speed) ease;
}

body.esp-theme .esp-intent-chip:has(input:checked),
body.esp-theme .esp-intent-chip:hover,
body.esp-theme .esp-reason-chip {
  border-color: rgba(224, 111, 79, .36);
  background: var(--esp-petrol);
  color: var(--esp-cream);
}

body.esp-theme .esp-intent-chip:hover {
  transform: translateY(-1px);
}

body.esp-theme .esp-intent-chip input {
  width: auto;
  accent-color: var(--esp-coral);
}

body.esp-theme .esp-intent-grid,
body.esp-theme .esp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: 20px 0;
}

body.esp-theme .theme-hero__wizard .esp-intent-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

body.esp-theme .esp-intent-grid h3,
body.esp-theme .esp-card h3,
body.esp-theme .esp-intent-card h3,
body.esp-theme .esp-trust-box h3,
body.esp-theme .esp-collection-item h3 {
  font-family: var(--esp-serif);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

body.esp-theme .esp-intent-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

body.esp-theme .theme-hero__wizard .esp-intent-form-row {
  grid-template-columns: 1fr;
}

body.esp-theme .esp-meta {
  color: var(--esp-muted);
  font-size: .9rem;
  line-height: 1.45;
}

body.esp-theme .theme-hero__wizard .esp-meta {
  color: #50645C;
}

body.esp-theme .esp-card,
body.esp-theme .esp-intent-card {
  position: relative;
  overflow: hidden;
  background: var(--esp-white);
  transition: transform var(--esp-speed) ease, box-shadow var(--esp-speed) ease, border-color var(--esp-speed) ease;
}

body.esp-theme .esp-card:not(:has(img))::before,
body.esp-theme .esp-intent-card:not(:has(img))::before {
  content: "";
  display: block;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 247, 234, .28), transparent 22%),
    linear-gradient(145deg, var(--esp-petrol), var(--esp-forest) 58%, var(--esp-coral));
}

body.esp-theme .esp-card:not(:has(img))::after,
body.esp-theme .esp-intent-card:not(:has(img))::after {
  content: "";
  position: absolute;
  top: 38px;
  right: 38px;
  width: 92px;
  height: 92px;
  border: 12px solid rgba(255, 247, 234, .2);
  border-radius: 50%;
  pointer-events: none;
}

body.esp-theme .esp-card:hover,
body.esp-theme .esp-intent-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 111, 79, .28);
  box-shadow: 0 28px 70px rgba(21, 53, 43, .18);
}

body.esp-theme .esp-card img,
body.esp-theme .esp-intent-card img,
body.esp-theme .esp-trust-box img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

body.esp-theme .esp-card-body,
body.esp-theme .esp-intent-card-body {
  padding: 20px;
}

body.esp-theme .esp-card-body::before,
body.esp-theme .esp-intent-card-body::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: -8px 0 14px;
  border-radius: 999px;
  background: var(--esp-coral);
}

body.esp-theme .esp-price {
  color: var(--esp-petrol);
  font-family: var(--esp-serif);
  font-size: 1.22rem;
  font-weight: 900;
}

body.esp-theme .esp-filter {
  align-items: center;
  gap: 10px;
  margin: 18px 0 24px;
}

body.esp-theme .esp-filter select {
  width: auto;
  min-width: 220px;
}

body.esp-theme .esp-form {
  max-width: 680px;
  margin: 26px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(243, 231, 211, .44)),
    var(--esp-white);
}

body.esp-theme .esp-form label {
  display: block;
  margin: 13px 0 5px;
  color: var(--esp-ink);
  font-weight: 700;
}

body.esp-theme .esp-error,
body.esp-theme .esp-hunt-notice {
  border-radius: var(--esp-radius-sm);
  padding: 12px 14px;
  font-weight: 700;
}

body.esp-theme .esp-error {
  border: 1px solid rgba(184, 75, 52, .34);
  background: rgba(224, 111, 79, .12);
  color: var(--esp-coral-dark);
}

body.esp-theme .esp-hunt-notice {
  border: 1px solid rgba(36, 76, 59, .2);
  background: rgba(36, 76, 59, .1);
  color: var(--esp-forest-dark);
}

body.esp-theme .esp-badge {
  border: 1px solid rgba(184, 146, 69, .55);
  border-radius: 999px;
  background: rgba(184, 146, 69, .14);
  color: var(--esp-forest-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.esp-theme .esp-badge.ok {
  background: rgba(36, 76, 59, .12);
  color: var(--esp-forest-dark);
}

body.esp-theme .esp-badge.warn {
  background: rgba(184, 146, 69, .18);
  color: #6F4A13;
}

body.esp-theme .esp-badge.in {
  background: rgba(31, 78, 95, .12);
  color: var(--esp-petrol);
}

body.esp-theme .esp-trust-dossier {
  margin-top: 34px;
  padding: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(31, 78, 95, .05), rgba(224, 111, 79, .04)),
    var(--esp-white);
}

body.esp-theme .esp-trust-dossier h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

body.esp-theme .esp-trust-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 12px;
  margin: 22px 0;
}

body.esp-theme .esp-trust-fact {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(31, 78, 95, .12);
  border-radius: var(--esp-radius-sm);
  background: var(--esp-sand);
}

body.esp-theme .esp-trust-fact span {
  display: block;
  color: var(--esp-muted);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
}

body.esp-theme .esp-trust-fact strong {
  display: block;
  margin-top: 6px;
  color: var(--esp-ink);
  font-family: var(--esp-serif);
  font-size: 1.2rem;
  line-height: 1.05;
}

body.esp-theme .esp-trust-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

body.esp-theme .esp-trust-box {
  padding: 20px;
  box-shadow: none;
}

body.esp-theme .esp-trust-box h4 {
  margin: 18px 0 6px;
  font-family: var(--esp-sans);
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
}

body.esp-theme .esp-trust-box ul {
  padding-left: 1.1rem;
}

body.esp-theme .esp-cta-trust {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid rgba(31, 78, 95, .14);
  border-left: 5px solid var(--esp-coral);
  border-radius: var(--esp-radius-sm);
  background: rgba(243, 231, 211, .72);
}

body.esp-theme .esp-collection-route {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

body.esp-theme .esp-collection-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(31, 78, 95, .12);
  border-radius: var(--esp-radius);
  background: rgba(255, 255, 255, .82);
}

body.esp-theme .esp-collection-num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--esp-petrol);
  color: var(--esp-cream);
  font-family: var(--esp-serif);
  font-weight: 900;
}

body.esp-theme .esp-hunt-hero {
  max-width: none;
  background:
    linear-gradient(135deg, rgba(31, 78, 95, .95), rgba(36, 76, 59, .94)),
    var(--esp-petrol);
  color: var(--esp-cream);
}

body.esp-theme .esp-hunt-hero .esp-meta,
body.esp-theme .esp-hunt-hero p {
  color: rgba(255, 247, 234, .8);
}

body.esp-theme .esp-hunt-start {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-top: 22px;
}

body.esp-theme .esp-hunt-pass {
  width: min(1080px, calc(100% - 32px));
  margin: 34px auto;
  padding: clamp(18px, 4vw, 36px);
  text-align: left;
}

body.esp-theme .esp-hunt-pass-head {
  padding: 22px;
  background: var(--esp-petrol);
  color: var(--esp-cream);
}

body.esp-theme .esp-hunt-pass-head .esp-meta,
body.esp-theme .esp-hunt-pass-head p {
  color: rgba(255, 247, 234, .78);
}

body.esp-theme .esp-hunt-progress {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0;
  color: var(--esp-brass);
}

body.esp-theme .esp-hunt-progress strong {
  font-family: var(--esp-serif);
  font-size: 3.2rem;
  line-height: 1;
}

body.esp-theme .esp-hunt-stations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

body.esp-theme .esp-hunt-station,
body.esp-theme .esp-hunt-badges {
  padding: 18px;
}

body.esp-theme .esp-ticket {
  max-width: 540px;
  color: var(--esp-ink);
  text-align: center;
}

body.esp-theme .esp-map,
body.esp-theme .esp-map-list {
  border-radius: var(--esp-radius);
  overflow: hidden;
}

@media (max-width: 900px) {
  body.esp-theme .esp-trust-columns,
  body.esp-theme .esp-hunt-start {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body.esp-theme .esp-intent-form-row,
  body.esp-theme .esp-collection-item {
    grid-template-columns: 1fr;
  }
  body.esp-theme .esp-collection-num {
    width: 42px;
    height: 42px;
  }
}
