.news-swiper-section {
  --news-card-width: 536px;
  --news-card-height: 328.868px;

  width: 100%;
  max-width: 100%;
  padding: 0 0 80px;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}

.news-swiper-section__title {
  margin: 0 0 20.5px;
  padding: 0 var(--silver-inset-x);
  font-family: var(--font-konnect);
  font-size: var(--silver-home-title);
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
  color: var(--color-bg);
}

.news-swiper-section__title-accent {
  font-weight: 700;
}

.news-swiper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.news-swiper .swiper-wrapper {
  align-items: stretch;
}

/* Slide and card are the same element — keep explicit height (auto collapses to 0). */
.news-swiper .swiper-slide.news-card {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  width: var(--news-card-width);
  height: var(--news-card-height);
  box-sizing: border-box;
}

.news-card__media {
  position: absolute;
  inset: 0;
}

.news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 56.582%,
    rgba(0, 0, 0, 0.8) 99.128%
  );
  pointer-events: none;
}

.news-card__overlay {
  position: absolute;
  right: 44px;
  bottom: 18px;
  left: 44px;
  z-index: 1;
  display: flex;
  gap: 18px;
  align-items: stretch;
  min-width: 0;
}

.news-card__divider {
  flex-shrink: 0;
  width: 2.15px;
  height: 79.72px;
  background: #fff;
}

.news-card__meta {
  min-width: 0;
}

.news-card__headline {
  margin: 0 0 14px;
  font-family: var(--font-konnect);
  font-size: 18.18px;
  font-weight: 500;
  line-height: 1.19;
  letter-spacing: -0.3454px;
  color: #fff;
}

.news-card__date {
  display: inline-flex;
  gap: 12.884px;
  align-items: center;
  margin: 0;
  font-family: Poppins, var(--font-konnect);
  font-size: 15.032px;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.2856px;
  color: #fff;
}

.news-card__date-icon {
  flex-shrink: 0;
  width: 21.474px;
  height: 21.474px;
  color: #fff;
}

.news-swiper__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 47.902px;
  height: 47.902px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
}

.news-swiper__nav:hover {
  opacity: 0.9;
}

.news-swiper__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.news-swiper__nav--prev {
  left: var(--silver-inset-x);
}

.news-swiper__nav--next {
  right: var(--silver-inset-x);
}

@media (max-width: 1200px) {
  .news-swiper__nav--prev {
    left: 48px;
  }

  .news-swiper__nav--next {
    right: 48px;
  }
}

/* Figma mobile (402px frame): 20px title, ~218px cards, 1.3 peek */
@media (max-width: 992px) {
  .news-swiper-section {
    --news-card-height: 218px;

    padding: 0 0 48px;
  }

  .news-swiper .swiper-slide.news-card {
    width: calc((100% - 16px) / 1.3);
    max-width: 100%;
  }

  .news-swiper-section__title {
    margin-bottom: 24px;
    padding: 0 var(--silver-inset-x);
  }

  .news-swiper {
    padding-left: var(--silver-inset-x);
    box-sizing: border-box;
  }

  .news-card__media img {
    object-fit: cover;
  }

  .news-card__overlay {
    right: 16px;
    bottom: 14px;
    left: 16px;
    gap: 12px;
  }

  .news-card__divider {
    width: 2px;
    height: 52px;
  }

  .news-card__headline {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: -0.2px;
  }

  .news-card__date {
    gap: 8px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: -0.2px;
  }

  .news-card__date-icon {
    width: 14px;
    height: 14px;
  }

  .news-swiper__nav {
    width: 40px;
    height: 40px;
  }

  .news-swiper__nav--prev {
    left: 8px;
  }

  .news-swiper__nav--next {
    right: 8px;
  }
}

@media (max-width: 640px) {
  .news-swiper-section {
    --news-card-height: 200px;

    padding-bottom: 40px;
  }

  .news-swiper .swiper-slide.news-card {
    width: calc((100% - 12px) / 1.3);
  }

  .news-swiper-section__title {
    margin-bottom: 20px;
    padding: 0 var(--silver-inset-x);
  }

  .news-swiper {
    padding-left: var(--silver-inset-x);
  }

  .news-card__overlay {
    right: 14px;
    bottom: 12px;
    left: 14px;
    gap: 10px;
  }

  .news-card__divider {
    height: 44px;
  }

  .news-card__headline {
    font-size: 11px;
    line-height: 1.4;
  }

  .news-card__date {
    font-size: 10px;
  }

  .news-card__date-icon {
    width: 12px;
    height: 12px;
  }

  .news-swiper__nav {
    width: 36px;
    height: 36px;
  }

  .news-swiper__nav--prev {
    left: 4px;
  }

  .news-swiper__nav--next {
    right: 4px;
  }
}

@media (max-width: 430px) {
  .news-swiper-section__title {
    margin-bottom: 18px;
  }
}
