/*
 * Marvel — Destination Hub styles
 * Applied to WPTE `destination` taxonomy archives.
 * Container: `.taxonomy-description > .marvel-hub` (Kadence wrapper).
 * v1.0 — 2026-07-31
 */

.marvel-hub {
  margin: 0 0 2rem;
}
.marvel-hub p {
  line-height: 1.7;
  color: #333;
}
.marvel-hub section {
  margin: 0;
  padding: 2rem 1.25rem;
}

/* Hero */
.marvel-hub-hero {
  background: linear-gradient(135deg, #2d1b4e 0%, #1a3a5c 100%);
  color: #fff;
  text-align: center;
  padding: 3rem 1.25rem 2.5rem;
  border-radius: 12px 12px 0 0;
}
.marvel-hub-hero__inner {
  max-width: 820px;
  margin: 0 auto;
}
.marvel-hub-hero__kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f7c04a;
  margin-bottom: 0.75rem;
}
.marvel-hub-hero__title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff !important;
}
.marvel-hub-hero__lede {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 auto 1.25rem;
  max-width: 640px;
  opacity: 0.95;
  color: #fff !important;
}
.marvel-hub-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 0;
}
.marvel-hub-hero__badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff !important;
  display: inline-block;
}

/* DAB (Direct Answer Block) */
.marvel-hub-dab {
  background: #fbf7ec;
  border-left: 4px solid #f7c04a;
  padding: 1.5rem 1.25rem;
}
.marvel-hub-dab__inner {
  max-width: 820px;
  margin: 0 auto;
}
.marvel-hub-dab p {
  font-size: 1rem;
  line-height: 1.7;
  color: #2d1b4e;
  margin: 0;
}

/* Intro editorial */
.marvel-hub-intro {
  padding: 2rem 1.25rem;
}
.marvel-hub-intro__inner {
  max-width: 820px;
  margin: 0 auto;
}
.marvel-hub-intro__h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: #2d1b4e;
  margin: 0 0 1rem;
}
.marvel-hub-intro__h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.15rem;
  color: #2d1b4e;
  margin: 1.5rem 0 0.5rem;
}

/* Trust block */
.marvel-hub-trust {
  background: #2d1b4e;
  color: #fff;
  padding: 2rem 1.25rem;
  border-radius: 12px;
  margin: 0.5rem 0;
}
.marvel-hub-trust__inner {
  max-width: 1020px;
  margin: 0 auto;
}
.marvel-hub-trust__h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: #f7c04a !important;
  margin: 0 0 1rem;
}
.marvel-hub-trust__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
}
.marvel-hub-trust__list li {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  line-height: 1.55;
  font-size: 0.95rem;
  color: #f5f2ea;
}
.marvel-hub-trust__list strong {
  color: #f7c04a;
  display: block;
  margin-bottom: 0.2rem;
}

/* Related regions */
.marvel-hub-related {
  background: #f5f2ea;
  padding: 2rem 1.25rem;
  border-radius: 0 0 12px 12px;
}
.marvel-hub-related__inner {
  max-width: 1020px;
  margin: 0 auto;
}
.marvel-hub-related__h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: #2d1b4e;
  margin: 0 0 0.5rem;
}
.marvel-hub-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.marvel-hub-related__card {
  display: block;
  background: #fff;
  padding: 1.15rem;
  border-radius: 10px;
  text-decoration: none !important;
  color: #333;
  border: 1px solid #e5e5e5;
  transition: border-color 0.2s, transform 0.2s;
  line-height: 1.55;
  font-size: 0.95rem;
}
.marvel-hub-related__card:hover {
  border-color: #f7c04a;
  transform: translateY(-2px);
  color: #333;
}
.marvel-hub-related__card strong {
  color: #2d1b4e;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.4rem;
}

@media (max-width: 640px) {
  .marvel-hub section { padding: 1.5rem 1rem; }
  .marvel-hub-hero { padding: 2rem 1rem 1.75rem; }
}
