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

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

.hero-themed__lead {
  font-size: var(--font-size-lg);
  color: var(--color-text-soft);
  max-width: 34rem;
}

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

.hero-themed__meta {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero-themed__media {
  max-width: 420px;
  justify-self: end;
}

.hero-themed__card {
  padding: var(--space-6);
}

.hero-themed__bullets {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  color: var(--color-text-soft);
  font-size: var(--font-size-sm);
}

.hero-themed__bullets li + li {
  margin-top: var(--space-1);
}

.hero-themed__chipline {
  margin-top: var(--space-4);
}

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

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

.themed-motifs-grid {
  margin-top: var(--space-6);
}

.themed-motif-card {
  min-height: 100%;
}

.themed-motif-list {
  margin-top: var(--space-3);
}

.themed-section-footer {
  margin-top: var(--space-6);
  display: flex;
  justify-content: flex-end;
}

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

.themed-bullet-list {
  margin-top: var(--space-3);
}

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

.themed-split__media {
  max-width: 420px;
  justify-self: end;
}

.themed-image-card {
  padding: var(--space-3);
}

.themed-image {
  border-radius: var(--radius-lg);
}

.themed-image-caption {
  margin-top: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-gray-300);
}

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

.themed-integration__media {
  max-width: 440px;
}

.themed-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.themed-hosts-card__media {
  margin-bottom: var(--space-3);
}

.themed-extras-grid {
  margin-top: var(--space-4);
}

.themed-extra-card {
  height: 100%;
}

.themed-gallery__grid {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.themed-cta {
  padding-top: var(--space-10);
  padding-bottom: var(--space-12);
}

.themed-cta__card {
  padding: var(--space-6) var(--space-6);
}

.themed-cta__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
}

.themed-cta__text {
  max-width: 40rem;
}

.themed-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-end;
}

@media (max-width: 1024px) {
  .hero-themed__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .themed-split,
  .themed-integration,
  .themed-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-themed__media,
  .themed-split__media,
  .themed-integration__media {
    justify-self: stretch;
    max-width: none;
  }

  .themed-cta__content {
    flex-direction: column;
  }

  .themed-cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-themed {
    padding-top: var(--space-12);
  }

  .hero-themed__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-themed__media {
    order: -1;
  }

  .themed-gallery__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .themed-section-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-themed__cta {
    flex-direction: column;
  }

  .themed-cta__card {
    padding: var(--space-5);
  }
}
