/* ── News Page ── */

/* ── Featured Section ── */
.news-featured {
  background: #fff;
  padding: 3rem 4.2% 4rem;
}

.news-featured__inner {
  max-width: 1600px;
  margin: 0 auto;
}

.news-featured__heading {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #155573;
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin-bottom: 1.5rem;
}

.news-featured__grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.news-featured__side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-featured__card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: opacity 0.2s;
}

.news-featured__card:hover {
  opacity: 0.8;
}

.news-featured__card-img {
  width: 100%;
  aspect-ratio: 348 / 374;
  border-radius: 8px;
  overflow: hidden;
}

.news-featured__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-featured__card-title {
  font-size: clamp(1rem, 1.6vw, 1.69rem);
  font-weight: 700;
  color: #155573;
  letter-spacing: -0.03em;
  line-height: 1.22;
}

/* Centre featured hero */
.news-featured__hero {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.2s;
}

.news-featured__hero:hover {
  opacity: 0.8;
}

.news-featured__hero-img {
  width: 100%;
  aspect-ratio: 746 / 747;
  border-radius: 8px;
  overflow: hidden;
}

.news-featured__hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-featured__hero-title {
  font-size: clamp(1.75rem, 3vw, 3.07rem);
  font-weight: 700;
  color: #155573;
  letter-spacing: -0.03em;
  line-height: 1.14;
  text-align: center;
}

/* ── Category Filter Bar ── */
.news-filter {
  background: #155573;
}

.news-filter__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.news-filter__inner::-webkit-scrollbar {
  display: none;
}

.news-filter__tab {
  background: none;
  border: none;
  font-family: var(--font-primary), sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.37;
  padding: 1.1rem 0.25rem;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
  position: relative;
}

.news-filter__tab.is-active {
  opacity: 1;
}

.news-filter__tab:hover {
  opacity: 0.75;
}

.news-filter__tab.is-active:hover {
  opacity: 1;
}

/* ── News Grid ── */
.news-grid {
  background: #fff;
  padding: 3rem 4.2% 4rem;
}

.news-grid__inner {
  max-width: 1600px;
  margin: 0 auto;
}

.news-grid__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
}

.news-article {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: opacity 0.2s;
}

.news-article:hover {
  opacity: 0.8;
}

.news-article__img {
  width: 100%;
  aspect-ratio: 480 / 374;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.news-article__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-article__tags {
  font-size: 0.755rem;
  font-weight: 800;
  color: #155573;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 2;
}

.news-article__date {
  font-size: 1rem;
  font-weight: 800;
  color: #155573;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 2;
}

.news-article__title {
  font-size: clamp(1.1rem, 1.6vw, 1.69rem);
  font-weight: 700;
  color: #155573;
  letter-spacing: -0.03em;
  line-height: 1.22;
}

/* ── Pagination ── */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.news-pagination__btn {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  background: none;
  font-family: var(--font-primary), sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.03em;
  cursor: pointer;
  opacity: 0.2;
  transition: opacity 0.2s;
}

.news-pagination__btn.is-active {
  opacity: 1;
}

.news-pagination__btn:hover {
  opacity: 0.6;
}

.news-pagination__btn.is-active:hover {
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .news-featured__grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-featured__hero {
    grid-column: 1 / -1;
    order: -1;
  }

  .news-featured__hero-img {
    aspect-ratio: 16 / 9;
  }

  .news-grid__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .news-featured {
    padding: 2rem 1.25rem 2.5rem;
  }

  .news-featured__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .news-featured__side {
    gap: 1.5rem;
  }

  .news-featured__card-img {
    aspect-ratio: 16 / 10;
  }

  .news-filter__inner {
    padding: 0 1.25rem;
    gap: 1.5rem;
    justify-content: flex-start;
  }

  .news-grid {
    padding: 2rem 1.25rem 3rem;
  }

  .news-grid__list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .news-pagination__btn {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}
