.themed-hero {
  position: relative;
}

.themed-hero-inner {
  align-items: center;
}

.themed-hero-cta-main,
.themed-hero-cta-secondary,
.themed-contact-submit,
.themed-contact-secondary {
  max-width: 100%;
}

.themed-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, var(--color-primary));
  box-shadow: 0 0 0 4px var(--color-primary-soft);
}

.themed-hero-media {
  min-width: 0;
}

.themed-hero-image {
  width: 100%;
  height: 100%;
}

.themed-hero-overlay {
  align-items: flex-start;
}

.themed-hero-pill {
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: var(--font-size-xs);
  color: var(--color-text-on-dark);
  white-space: nowrap;
}

.themed-section-header p.lead {
  margin-top: var(--space-sm);
}

.themed-mood-layout {
  align-items: stretch;
}

.themed-mood-media,
.themed-mood-content {
  min-width: 0;
}

.themed-mood-media-wrapper {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.themed-mood-image {
  width: 100%;
  height: 100%;
}

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

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

.themed-list li {
  margin-bottom: 0.25em;
}

.themed-custom {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), rgba(224, 191, 165, 0.16));
}

.themed-custom-grid > * {
  min-width: 0;
}

.themed-custom-content {
  max-width: 640px;
}

.themed-custom-points {
  margin: var(--space-md) 0;
}

.themed-custom-row {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: var(--space-sm);
  align-items: flex-start;
}

.themed-custom-label {
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.themed-custom-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}

.themed-custom-media-wrapper {
  max-width: 520px;
  margin-left: auto;
}

.themed-custom-image {
  width: 100%;
  height: 100%;
}

.themed-custom-actions {
  margin-top: var(--space-md);
}

.themed-ideas-grid {
  margin-top: var(--space-xl);
}

.themed-idea-card {
  display: flex;
  flex-direction: column;
}

.themed-idea-card .card-body {
  margin-top: var(--space-sm);
}

.themed-contact {
  padding-bottom: var(--space-3xl);
}

.themed-contact-card {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.themed-contact-form {
  width: 100%;
}

.themed-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.themed-contact-actions .btn {
  flex: 1 1 220px;
}

@media (max-width: 900px) {
  .themed-custom-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .themed-custom-media-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .themed-hero-pill {
    white-space: normal;
  }
  .themed-contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .themed-contact-actions .btn {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .themed-mood-media-wrapper,
  .themed-custom-media-wrapper {
    max-width: 100%;
  }
}
