/* ===== News Hero ===== */
.news-hero {
  position: relative;
  padding: 180px 72px 80px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.news-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
}

.news-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,38,52,.72) 0%, rgba(10,77,104,.55) 50%, rgba(7,38,52,.78) 100%);
  z-index: 1;
}

.news-hero .container {
  position: relative;
  z-index: 2;
}

.news-hero .eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.news-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.news-hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,.78);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== Tag Filter ===== */
.news-list-section {
  padding: 60px 72px 88px;
  background: #fff;
}

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
  justify-content: center;
}

.tag-filter button {
  padding: 8px 20px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  background: transparent;
  color: var(--mist);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all .3s var(--ease);
}

.tag-filter button:hover {
  border-color: var(--sky);
  color: var(--sea);
}

.tag-filter button.active {
  background: var(--sea);
  border-color: var(--sea);
  color: #fff;
}

/* ===== News Grid ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.news-card {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all .35s var(--ease);
  background: #fff;
}

.news-card-img {
  width: 180px;
  flex-shrink: 0;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.news-card-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-card-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.news-card-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

.news-card-excerpt {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
}

.news-card-date {
  font-size: 13px;
  color: var(--mist);
}

.news-card-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--sea);
  transition: color .2s;
}

.news-card:hover .news-card-more {
  color: var(--accent);
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pagination-btn {
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--mist);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all .25s var(--ease);
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--sky);
  color: var(--sea);
}

.pagination-btn.active {
  background: var(--sea);
  border-color: var(--sea);
  color: #fff;
}

.pagination-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* ===== CTA Banner ===== */
.cta-banner-section {
  padding: 0 72px 88px;
}

.cta-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.cta-img-wrap {
  overflow: hidden;
}

.cta-img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s var(--ease);
}

.cta-banner:hover .cta-img {
  transform: scale(1.12);
}

.cta-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7,38,52,.82), rgba(7,38,52,.35));
  z-index: 1;
}

.cta-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 64px;
  color: #fff;
  max-width: 680px;
  z-index: 2;
}

.cta-content h2 {
  font-size: 46px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.25;
}

.cta-content p {
  font-size: 17px;
  color: #dceef3;
  margin: 0 0 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .news-hero {
    padding: 140px 32px 48px;
    min-height: 300px;
  }
  .news-hero h1 {
    font-size: 36px;
  }
  .news-list-section {
    padding: 48px 32px 64px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cta-banner-section {
    padding: 0 32px 64px;
  }
  .cta-content {
    padding: 0 36px;
  }
  .cta-content h2 {
    font-size: 32px;
  }
  .cta-img {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .news-hero {
    padding: 120px 20px 36px;
    min-height: 240px;
  }
  .news-hero h1 {
    font-size: 28px;
  }
  .news-hero-desc {
    font-size: 14px;
  }
  .news-list-section {
    padding: 36px 20px 48px;
  }
  .tag-filter {
    gap: 8px;
    margin-bottom: 32px;
  }
  .tag-filter button {
    padding: 6px 14px;
    font-size: 13px;
  }
  .news-card-body {
    padding: 20px;
  }
  .news-card-img {
    width: 120px;
  }
  .news-card-title {
    font-size: 17px;
  }
  .pagination-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .cta-banner-section {
    padding: 0 20px 48px;
  }
  .cta-content {
    padding: 0 28px;
  }
  .cta-content h2 {
    font-size: 28px;
  }
  .cta-content p {
    font-size: 15px;
  }
  .cta-img {
    height: 260px;
  }
}
