.fun-hub-page #type-feature-page {
  margin-top: 0 !important;
}

.fun-hub-page {
  --fun-ink: #173047;
  --fun-muted: #52616d;
  --fun-green: #147b61;
  --fun-green-dark: #0e5f4a;
  --fun-blue: #17698f;
  --fun-gold: #f4bd45;
  --fun-coral: #ec7658;
  --fun-cream: #fff9ec;
  --fun-line: #dfe7e3;
  background: #fff;
}

.fun-hero,
.fun-shell {
  width: min(1180px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.fun-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
  margin-top: 24px;
  padding: clamp(30px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid #dce8e2;
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 14%, rgba(244, 189, 69, .28), transparent 30%),
    radial-gradient(circle at 84% 88%, rgba(93, 189, 202, .25), transparent 34%),
    linear-gradient(135deg, #fffaf0 0%, #f5fbf8 54%, #eef8fb 100%);
  box-shadow: 0 18px 50px rgba(23, 48, 71, .09);
}

.fun-hero::before,
.fun-hero::after {
  position: absolute;
  border: 2px solid rgba(20, 123, 97, .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.fun-hero::before {
  width: 170px;
  height: 170px;
  top: -86px;
  right: 35%;
}

.fun-hero::after {
  width: 86px;
  height: 86px;
  bottom: -44px;
  left: 42%;
}

.fun-hero-copy,
.fun-daily-card {
  position: relative;
  z-index: 1;
}

.fun-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--fun-green-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.fun-hero h1 {
  margin: 0;
  color: var(--fun-ink);
  font-size: clamp(54px, 8vw, 92px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: .96;
}

.fun-hero-lead {
  max-width: 650px;
  margin: 22px 0 10px;
  color: var(--fun-ink);
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 700;
  line-height: 1.35;
}

.fun-hero-note {
  max-width: 590px;
  margin: 0;
  color: var(--fun-muted);
  font-size: 17px;
  line-height: 1.55;
}

.fun-hero-actions,
.fun-flight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 25px;
}

.fun-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 8px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.fun-button-primary {
  color: #fff;
  background: var(--fun-green);
  box-shadow: 0 7px 18px rgba(20, 123, 97, .2);
}

.fun-button-primary:hover,
.fun-button-primary:focus {
  color: #fff;
  background: var(--fun-green-dark);
}

.fun-button-secondary {
  color: var(--fun-ink);
  border-color: #b9ccc3;
  background: rgba(255, 255, 255, .76);
}

.fun-button-light {
  color: var(--fun-ink);
  border-color: rgba(255, 255, 255, .7);
  background: #fff;
}

.fun-daily-card {
  min-height: 400px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, .95);
  border-radius: 24px;
  background: var(--fun-ink);
  box-shadow: 0 24px 52px rgba(23, 48, 71, .2);
  color: #fff;
  text-decoration: none;
  transform: rotate(1.3deg);
}

.fun-daily-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 34, .02) 20%, rgba(7, 24, 34, .82) 100%);
  content: "";
}

.fun-daily-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  transition: transform .35s ease;
}

.fun-daily-card:hover img {
  transform: scale(1.035);
}

.fun-daily-overlay {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  color: #fff;
}

.fun-daily-overlay strong {
  margin: 8px 0 11px;
  color: #fff;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.1;
}

.fun-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff7cc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.fun-shell {
  padding: 26px 0 64px;
}

.fun-jump {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 780px;
  margin: 0 auto 48px;
  padding: 8px;
  border: 1px solid var(--fun-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(23, 48, 71, .07);
}

.fun-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--fun-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.fun-jump a:hover,
.fun-jump a:focus {
  color: var(--fun-green-dark);
  background: #eef8f4;
}

.fun-section {
  margin-top: 54px;
  scroll-margin-top: 90px;
}

.fun-section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.fun-section-eyebrow {
  margin: 0 0 6px;
  color: var(--fun-green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.fun-section-heading h2,
.fun-flight h2,
.fun-growing h2 {
  color: var(--fun-ink);
}

.fun-section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.fun-section-heading > p:last-child {
  margin: 0;
  color: var(--fun-muted);
  font-size: 17px;
  line-height: 1.55;
}

.fun-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fun-card-grid-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fun-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--fun-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 48, 71, .07);
  color: var(--fun-ink);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fun-card:hover,
.fun-card:focus {
  border-color: #9fc7b7;
  box-shadow: 0 16px 38px rgba(23, 48, 71, .13);
  color: var(--fun-ink);
  transform: translateY(-3px);
}

.fun-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 8 / 5;
  background: #e8f0ec;
}

.fun-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.fun-card:hover .fun-card-image img {
  transform: scale(1.025);
}

.fun-card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 24px);
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 67, 55, .9);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .16);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.fun-card-body {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.fun-card-body > strong {
  margin-bottom: 7px;
  color: var(--fun-ink);
  font-size: 21px;
  line-height: 1.2;
}

.fun-card-body > span {
  color: var(--fun-muted);
  font-size: 15px;
  line-height: 1.52;
}

.fun-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--fun-green-dark);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.fun-daily-overlay .fun-card-cta {
  margin-top: 0;
  padding-top: 0;
  color: #fff;
}

.fun-flight {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  margin-top: 64px;
  padding: clamp(26px, 5vw, 54px);
  overflow: hidden;
  scroll-margin-top: 90px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 7% 10%, rgba(244, 189, 69, .18), transparent 28%),
    linear-gradient(135deg, #173047 0%, #124f63 100%);
  box-shadow: 0 18px 42px rgba(23, 48, 71, .16);
}

.fun-flight-art {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, .92);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .2);
  transform: rotate(-2deg);
}

.fun-flight-art img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.fun-flight .fun-section-eyebrow {
  color: #ffe59f;
}

.fun-flight h2 {
  margin: 0 0 11px;
  color: #fff;
  font-size: clamp(29px, 4vw, 42px);
  letter-spacing: -.025em;
  line-height: 1.12;
}

.fun-flight-copy > p:not(.fun-section-eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  line-height: 1.6;
}

.fun-growing {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 64px;
  padding: 24px 26px;
  border: 1px solid #d9e9e2;
  border-radius: 18px;
  background: var(--fun-cream);
}

.fun-growing-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #fff;
  background: var(--fun-coral);
  font-size: 24px;
}

.fun-growing h2 {
  margin: 0 0 4px;
  font-size: 21px;
  line-height: 1.25;
}

.fun-growing p {
  margin: 0;
  color: var(--fun-muted);
  font-size: 15px;
  line-height: 1.5;
}

.fun-growing-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fun-green-dark);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.fun-hub-page a:focus-visible {
  outline: 3px solid #f1a93b;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .fun-hero {
    grid-template-columns: 1fr;
  }

  .fun-daily-card,
  .fun-daily-card img {
    min-height: 340px;
  }

  .fun-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fun-flight {
    grid-template-columns: minmax(180px, .62fr) minmax(0, 1.38fr);
  }

  .fun-growing {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .fun-growing-link {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .fun-hero,
  .fun-shell {
    width: min(100% - 20px, 1180px);
  }

  .fun-hero {
    margin-top: 10px;
    padding: 25px 20px 20px;
    border-radius: 20px;
  }

  .fun-hero h1 {
    font-size: 58px;
  }

  .fun-hero-lead {
    margin-top: 17px;
    font-size: 21px;
  }

  .fun-hero-note,
  .fun-section-heading > p:last-child,
  .fun-flight-copy > p:not(.fun-section-eyebrow) {
    font-size: 16px;
  }

  .fun-hero-actions,
  .fun-flight-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fun-button {
    width: 100%;
  }

  .fun-daily-card {
    min-height: 285px;
    border-width: 6px;
    border-radius: 17px;
    transform: none;
  }

  .fun-daily-card img {
    min-height: 285px;
  }

  .fun-daily-overlay {
    padding: 21px;
  }

  .fun-shell {
    padding-top: 18px;
  }

  .fun-jump {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 38px;
  }

  .fun-section {
    margin-top: 44px;
  }

  .fun-section-heading {
    margin-bottom: 18px;
    padding: 0 4px;
  }

  .fun-card-grid,
  .fun-card-grid-featured {
    grid-template-columns: 1fr;
  }

  .fun-card-image {
    aspect-ratio: 16 / 9;
  }

  .fun-card-body {
    height: auto;
  }

  .fun-card-cta {
    margin-top: 16px;
    padding-top: 0;
  }

  .fun-flight {
    grid-template-columns: 1fr;
    margin-top: 48px;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .fun-flight-art {
    width: min(72%, 260px);
    justify-self: center;
  }

  .fun-growing {
    grid-template-columns: 1fr;
    margin-top: 48px;
    padding: 22px;
  }

  .fun-growing-link {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fun-card,
  .fun-card-image img,
  .fun-daily-card img {
    transition: none;
  }
}
