/* Media showcase — always centered, full width of parent */
.media-rotator {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  margin: 0 auto 1.5rem;
  padding: 0 0.75rem;
  box-sizing: border-box;
}

.media-rotator-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-align: center;
}

.media-rotator-card {
  display: block;
  width: 100%;
  margin: 0;
  text-decoration: none;
  color: inherit;
  background: rgba(8, 16, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  transition: opacity 0.35s ease;
  opacity: 0;
}

.media-rotator-card.is-visible {
  opacity: 1;
}

/* Image top — true 16:9, full width */
.media-rotator-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a1520;
  overflow: hidden;
  position: relative;
}

.media-rotator-media img,
.media-rotator-media video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
}

.media-rotator-media .media-rotator-audio-icon,
.media-rotator-media .media-rotator-quote {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.75rem;
  color: var(--accent-soft, #e8d48b);
  margin: 0;
  line-height: 1;
}

.media-rotator-type {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-soft, #e8d48b);
  letter-spacing: 0.04em;
  padding: 0.7rem 0.9rem 0.1rem;
  text-align: center;
}

.media-rotator-body {
  display: block;
  padding: 0.15rem 0.9rem 0.85rem;
  text-align: center;
}

.media-rotator-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-rotator-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-rotator-card.is-empty .media-rotator-media,
.media-rotator-card.no-media .media-rotator-media {
  display: none !important;
}

.media-rotator-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.media-rotator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.media-rotator-dot.active {
  background: var(--accent, #c9a227);
  transform: scale(1.25);
}

@media (min-width: 700px) {
  .media-rotator {
    max-width: 520px;
  }
}

/* Three angels — equal width */
.angels-heading {
  text-align: center;
  margin: 1.4rem auto 0.5rem;
  color: rgba(255, 255, 255, 0.95);
  padding: 0 0.75rem;
}
.angels-heading-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
}
.angels-heading-hint {
  font-size: 0.82rem;
  opacity: 0.85;
  margin: 0;
}

.angels-row {
  display: flex !important;
  justify-content: center;
  align-items: stretch;
  gap: 0.5rem;
  margin: 0.7rem auto 0;
  flex-wrap: nowrap !important;
  width: 100%;
  max-width: 480px;
  padding: 0 0.75rem;
  box-sizing: border-box;
}
.angels-row .angel-card {
  background: rgba(8, 16, 28, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(201, 162, 39, 0.55);
  border-radius: 14px;
  padding: 0.7rem 0.35rem 0.75rem;
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: auto !important;
  max-width: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.angels-row .angel-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent, #c9a227);
}
.angels-row .angel-num {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.1rem;
}
.angels-row .angel-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.angels-row .angel-text {
  font-size: 0.65rem;
  opacity: 0.9;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.angels-row .angel-cta {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-soft, #e8d48b);
}
.angels-row .angel-cta::after {
  content: ' ›';
}

.home-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.5rem auto 0;
  max-width: 400px;
  padding: 0 0.75rem;
  width: 100%;
  box-sizing: border-box;
}
.home-cta .btn {
  min-width: 110px;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}
.home-contact {
  margin-top: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
