/* ============================================================
   FEATURED — карусель из 3 главных материалов на главной
   Splide-based, perPage: 1, split layout (photo 50% + text 50%)
   ============================================================ */

.featured {
  background: var(--paper, #FAF7EE);
  padding: clamp(5rem, 12vh, 9rem) 0;
}

.featured__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.featured__header {
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.featured__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy, #7A1E2E);
}

/* ===== Custom nav ===== */

.featured__nav {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.featured__nav button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(27, 58, 92, 0.2);
  border-radius: 50%;
  cursor: pointer;
  color: var(--navy, #1B3A5C);
  padding: 0;
  transition: border-color 200ms ease, color 200ms ease;
}

.featured__nav button:hover {
  border-color: var(--gold, #B8860B);
  color: var(--gold, #B8860B);
}

/* ===== Splide overrides ===== */

.featured__splide { position: relative; }

.featured__splide .splide__track {
  border-top: 1px solid rgba(27, 58, 92, 0.14);
  padding-top: 28px;
  overflow: hidden;
}

.featured__splide .splide__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.featured__splide .splide__pagination {
  position: static;
  justify-content: center;
  gap: 8px;
  padding: 32px 0 0;
}

.featured__splide .splide__pagination__page {
  width: 8px;
  height: 8px;
  background: rgba(27, 58, 92, 0.2);
  opacity: 1;
  margin: 0;
  transition: background 250ms ease, transform 250ms ease;
}

.featured__splide .splide__pagination__page.is-active {
  background: var(--gold, #B8860B);
  transform: scale(1.25);
}

/* ===== CARD ===== */

.featured__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: 420px;
  text-decoration: none;
  color: inherit;
}

.featured__card--text {
  grid-template-columns: 1fr;
}

@media (max-width: 768px) {
  .featured__card {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 24px;
  }
}

/* ===== MEDIA (Card 1, Card 3) ===== */

.featured__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy, #1B3A5C);
  border-radius: 2px;
}

.featured__video-trigger {
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
  display: block;
}

.featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter:
    brightness(1.02) contrast(1.06)
    saturate(0.86) sepia(0.06) hue-rotate(-2deg);
  transition:
    filter 500ms cubic-bezier(.2, .7, .2, 1),
    transform 700ms cubic-bezier(.2, .7, .2, 1);
}

@media (hover: hover) {
  .featured__card:hover .featured__media img {
    filter:
      brightness(1.06) contrast(1.08)
      saturate(0.92) sepia(0.04);
    transform: scale(1.025);
  }
}

/* ===== VIDEO PLAY BUTTON ===== */

.featured__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(15, 36, 64, 0.4);
  transition: background 400ms ease;
  pointer-events: none;
}

.featured__video-trigger:hover .featured__play {
  background: rgba(15, 36, 64, 0.55);
}

.featured__video-trigger:hover .featured__play-circle {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(184, 134, 11, 0.5);
}

.featured__play-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold, #B8860B);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 400ms cubic-bezier(.2, .7, .2, 1),
              box-shadow 400ms ease;
  box-shadow: 0 4px 24px rgba(184, 134, 11, 0.3);
}


.featured__play-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FAF7EE;
}

.featured__play-duration {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(250, 247, 238, 0.6);
}

/* ===== BODY ===== */

.featured__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.featured__body--wide {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  padding: 24px 0;
}

.featured__badge {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy, #7A1E2E);
  width: fit-content;
}

.featured__badge--gold {
  color: var(--gold, #B8860B);
}

.featured__date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink-muted, #6B7280);
  letter-spacing: 0.06em;
}

.featured__title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--navy, #1B3A5C);
  margin: 0;
  transition: color 300ms ease;
}

.featured__title--lg {
  font-size: clamp(26px, 3vw, 40px);
}

.featured__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 300ms ease;
}

.featured__title-link:hover {
  color: var(--burgundy, #7A1E2E);
}

.featured__card:hover .featured__title {
  color: var(--burgundy, #7A1E2E);
}

.featured__excerpt {
  font-family: 'Literata', Georgia, serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft, #3D4454);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured__more {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold, #B8860B);
  width: fit-content;
  position: relative;
}

.featured__more::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold, #B8860B);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms cubic-bezier(.2, .7, .2, 1);
}

.featured__card:hover .featured__more::after {
  transform: scaleX(1);
}

/* ===== CTA ===== */

.featured__cta {
  text-align: center;
  margin-top: clamp(2.5rem, 4vh, 3.5rem);
}

.featured__cta-btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy, #1B3A5C);
  border: 1px solid rgba(27, 58, 92, 0.2);
  padding: 14px 40px;
  text-decoration: none;
  display: inline-block;
  transition: all 300ms ease;
}

.featured__cta-btn:hover {
  border-color: var(--gold, #B8860B);
  color: var(--gold, #B8860B);
}

