.themed-hero {
  position: relative;
  color: var(--color-text);
}

.themed-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.themed-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.themed-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--space-8);
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.themed-hero-copy p {
  max-width: 42rem;
}

.themed-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.themed-hero-meta {
  max-width: 38rem;
  font-size: var(--font-size-sm);
}

.themed-hero-note {
  margin-bottom: var(--space-3);
}

.themed-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
}

.themed-hero-links a::after {
  display: none;
}

.themed-hero-aside {
  align-self: center;
}

.themed-hero-steps {
  list-style: none;
  padding-left: 0;
  margin: 0 0 var(--space-4);
}

.themed-hero-steps li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
}

.themed-hero-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--color-primary);
}

.themed-hero-aside-cta {
  width: 100%;
}

.themed-section-header {
  text-align: left;
  margin-bottom: var(--space-8);
}

.themed-section-header p {
  max-width: 48rem;
}

.themed-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: var(--font-size-sm);
}

.themed-list li {
  margin-bottom: 0.5rem;
}

.themed-card-links,
.themed-card-link {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
}

.themed-card-link {
  display: inline-flex;
}

.themed-transformation {
  background: radial-gradient(circle at top, rgba(216, 164, 58, 0.1), transparent 55%);
}

.themed-transformation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.themed-transformation-figure figcaption {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  padding-top: var(--space-2);
}

.themed-offline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: flex-start;
}

.themed-links-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: var(--font-size-sm);
}

.themed-links-list li {
  margin-bottom: var(--space-2);
}

.themed-zones {
  background-color: var(--color-surface);
}

.themed-zones-grid > .card {
  height: 100%;
}

.themed-packages-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.themed-packages-figure figcaption {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  padding-top: var(--space-2);
}

.themed-gallery-stories > .card,
.themed-testimonials-grid > .card,
.themed-inspiration-grid > .card {
  height: 100%;
}

.themed-gallery-cta,
.themed-testimonials-cta,
.themed-inspiration-cta,
.themed-guide-cta {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.themed-testimonial-meta {
  margin-bottom: 0;
  font-size: var(--font-size-xs);
  color: var(--gray-400);
}

.themed-guide {
  background-color: var(--color-surface-alt);
}

.themed-final-cta {
  padding-bottom: var(--space-16);
}

.themed-final-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
  justify-content: space-between;
}

.themed-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (max-width: 1023px) {
  .themed-hero-layout,
  .themed-transformation-layout,
  .themed-offline-layout,
  .themed-packages-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .themed-hero {
    min-height: auto;
  }

  .themed-hero-layout {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .themed-hero-aside {
    max-width: 28rem;
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .themed-hero-media img {
    filter: brightness(0.7) saturate(1.1);
  }

  .themed-hero-layout {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  .themed-final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .themed-section-header {
    text-align: left;
  }
}
