﻿.featured-news-section {
  margin-top: 34px;
}

.featured-news-section .featured-news-v2-shell {
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 2vw, 30px);
}

.featured-news-section .featured-news-v2-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.featured-news-section .featured-news-v2-head-text {
  max-width: 720px;
}

.featured-news-section .featured-news-v2-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(129, 112, 186, 0.12);
  color: var(--namaa-purple);
  font-size: 12px;
  font-weight: 800;
}

.featured-news-section .featured-news-v2-title {
  margin: 12px 0 8px;
  color: var(--namaa-navy);
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.3;
  font-weight: 900;
}

.featured-news-section .featured-news-v2-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.featured-news-section .featured-news-v2-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.featured-news-section .featured-news-v2-filter {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--namaa-navy);
  border-radius: 999px;
  min-height: 38px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: .22s ease;
}

.featured-news-section .featured-news-v2-filter:hover {
  border-color: rgba(10, 149, 176, 0.35);
  color: var(--namaa-cyan);
}

.featured-news-section .featured-news-v2-filter.is-active {
  background: rgba(10, 149, 176, 0.10);
  border-color: rgba(10, 149, 176, 0.4);
  color: var(--namaa-cyan);
}

.featured-news-section .featured-news-v2-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
  background: #fff;
}

.featured-news-section .featured-news-v2-hero-image {
  min-height: clamp(280px, 33vw, 430px);
  background-size: cover;
  background-position: center;
}

.featured-news-section .featured-news-v2-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2vw, 30px);
}

.featured-news-section .featured-news-v2-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.featured-news-section .featured-news-v2-category,
.featured-news-section .featured-news-v2-source {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.featured-news-section .featured-news-v2-category {
  background: rgba(129, 112, 186, 0.12);
  color: var(--namaa-purple);
}

.featured-news-section .featured-news-v2-source {
  background: rgba(10, 149, 176, 0.1);
  color: var(--namaa-cyan);
}

.featured-news-section .featured-news-v2-headline {
  margin: 0 0 12px;
  color: var(--namaa-navy);
  font-size: clamp(24px, 2.5vw, 35px);
  line-height: 1.45;
  font-weight: 900;
}

.featured-news-section .featured-news-v2-summary {
  margin: 0 0 18px;
  color: #5f6775;
  font-size: 15px;
  line-height: 1.95;
}

.featured-news-section .featured-news-v2-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.featured-news-section .featured-news-v2-date {
  color: #7a8594;
  font-size: 13px;
  font-weight: 700;
}

.featured-news-section .featured-news-v2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 20px;
  text-decoration: none;
  background: var(--namaa-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: .24s ease;
}

.featured-news-section .featured-news-v2-button:hover {
  transform: translateY(-2px);
}

.featured-news-section .news-grid-section {
  margin-top: 4px;
}

.featured-news-section .news-grid-section #newsListContainer.featured-news-v2-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.featured-news-section .news-grid-section .featured-news-v2-side-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: .25s ease;
  cursor: pointer;
}

.featured-news-section .news-grid-section .featured-news-v2-side-card:hover {
  transform: translateY(-5px);
}

.featured-news-section .news-grid-section .featured-news-v2-side-card.is-active {
  border-color: rgba(10, 149, 176, 0.45);
  box-shadow: 0 12px 26px rgba(10, 149, 176, 0.16);
}

.featured-news-section .news-grid-section .featured-news-v2-side-thumb-wrap {
  position: relative;
  height: 195px;
}

.featured-news-section .news-grid-section .featured-news-v2-side-thumb {
  width: 100%;
  height: 100%;
}

.featured-news-section .news-grid-section .featured-news-v2-side-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-news-section .news-grid-section .featured-news-v2-side-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(37, 78, 114, 0.9);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
}

.featured-news-section .news-grid-section .featured-news-v2-side-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  flex: 1;
}

.featured-news-section .news-grid-section .featured-news-v2-side-category {
  color: var(--namaa-cyan);
  font-size: 12px;
  font-weight: 700;
}

.featured-news-section .news-grid-section .featured-news-v2-side-title {
  margin: 0;
  color: var(--namaa-navy);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-news-section .news-grid-section .featured-news-v2-side-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-news-section .news-grid-section .featured-news-v2-side-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.featured-news-section .news-grid-section .featured-news-v2-side-date {
  color: #7a8594;
  font-size: 12px;
  font-weight: 700;
}

.featured-news-section .news-grid-section .featured-news-v2-side-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  background: var(--namaa-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: .2s ease;
}

.featured-news-section .news-grid-section .featured-news-v2-side-link:hover {
  transform: translateY(-2px);
}

.featured-news-section .featured-news-v2-hero-image.is-switching {
  animation: featuredImageFade .42s ease;
}

.featured-news-section #featTitle,
.featured-news-section #featDesc,
.featured-news-section #featDate,
.featured-news-section #featCategory {
  will-change: opacity, transform;
}

@keyframes fadeSwitch {
  0% {
    opacity: 0;
    transform: translateY(7px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes featuredImageFade {
  0% {
    opacity: .55;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1080px) {
  .featured-news-section .featured-news-v2-hero {
    grid-template-columns: 1fr;
  }

  .featured-news-section .featured-news-v2-hero-image {
    min-height: 280px;
  }

  .featured-news-section .news-grid-section #newsListContainer.featured-news-v2-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .featured-news-section .featured-news-v2-shell {
    border-radius: 22px;
    padding: 14px;
  }

  .featured-news-section .featured-news-v2-title {
    font-size: 28px;
  }

  .featured-news-section .featured-news-v2-subtitle {
    font-size: 14px;
  }

  .featured-news-section .featured-news-v2-filter {
    min-height: 36px;
    font-size: 12px;
    padding: 6px 14px;
  }

  .featured-news-section .featured-news-v2-hero {
    border-radius: 20px;
    margin-bottom: 16px;
  }

  .featured-news-section .featured-news-v2-hero-image {
    min-height: 215px;
  }

  .featured-news-section .featured-news-v2-hero-content {
    padding: 14px;
  }

  .featured-news-section .featured-news-v2-headline {
    font-size: 22px;
  }

  .featured-news-section .featured-news-v2-summary {
    font-size: 14px;
  }

  .featured-news-section .featured-news-v2-button {
    width: 100%;
  }

  .featured-news-section .news-grid-section #newsListContainer.featured-news-v2-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .featured-news-section .news-grid-section .featured-news-v2-side-thumb-wrap {
    height: 180px;
  }

  .featured-news-section .news-grid-section .featured-news-v2-side-title {
    font-size: 17px;
  }
}
