/* NEWS PAGE STYLES */
.news-page { background: #f4f6f9; padding: 56px 0 96px; }

/* ── Filter tabs ────────────────────────────── */
.news-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.news-filter-btn {
  font-size: 12px; font-weight: 700;
  padding: 7px 20px; border-radius: 20px; cursor: pointer;
  border: 1.5px solid #dde2ea; background: #fff; color: #666;
  transition: all .2s; white-space: nowrap; line-height: 1;
}
.news-filter-btn:hover,
.news-filter-btn.active {
  background: var(--teal-dark); color: #fff;
  border-color: var(--teal-dark);
}

/* ── Card ───────────────────────────────────── */
.news-card {
  display: flex; background: #fff;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  margin-bottom: 24px;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none; color: inherit;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  color: inherit;
}

/* Image panel */
.nc-img {
  flex: 0 0 42%; position: relative; overflow: hidden;
  min-height: 240px;
}
.nc-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .45s ease;
}
.news-card:hover .nc-img img { transform: scale(1.06); }
/* Gradient overlay + caption */
.nc-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  padding: 48px 20px 18px;
}
.nc-caption-sub {
  font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.8);
  font-style: italic; display: block; margin-bottom: 4px;
}
.nc-caption-title {
  font-size: 14px; font-weight: 700; color: #fff;
  line-height: 1.35; margin: 0;
}

/* Text panel */
.nc-body {
  flex: 1; padding: 32px 32px;
  display: flex; flex-direction: column; justify-content: center;
}
.nc-meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.nc-cat {
  font-size: 10px; font-weight: 900; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 14px;
  border-radius: 6px; background: var(--teal-dark); color: #fff;
}
.nc-date {
  font-size: 13px; color: #888; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.nc-date i { color: #aaa; }
.nc-title {
  font-size: 20px; font-weight: 800; color: #0f1f3d;
  line-height: 1.35; margin-bottom: 12px;
}
.nc-desc {
  font-size: 14px; color: #666; line-height: 1.8;
  margin-bottom: 20px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.nc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--teal-dark);
  text-decoration: none; transition: gap .2s;
}
.news-card:hover .nc-link { gap: 10px; }

/* ── Pagination ─────────────────────────────── */
.news-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 36px;
}
.page-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: #fff; color: #555; border: 1.5px solid #dde2ea;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.page-btn:hover, .page-btn.active {
  background: var(--teal-dark); color: #fff; border-color: var(--teal-dark);
}
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ── Sidebar ────────────────────────────────── */
.news-sidebar { position: sticky; top: 108px; }
.sidebar-card {
  background: #fff; border-radius: 16px;
  padding: 24px; margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.sidebar-title {
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--teal-dark);
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 2px solid #e8edf2;
}
.sidebar-search {
  display: flex; border-radius: 10px; overflow: hidden;
  border: 1.5px solid #dde2ea;
}
.sidebar-search input {
  flex: 1; border: none; outline: none;
  padding: 10px 14px; font-size: 13px; font-family: inherit;
}
.sidebar-search button {
  background: var(--teal-dark); color: #fff;
  border: none; padding: 10px 14px; cursor: pointer;
}
.latest-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid #f0f0f0;
  text-decoration: none; color: inherit; transition: opacity .2s;
}
.latest-item:last-child { border-bottom: none; padding-bottom: 0; }
.latest-item:hover { opacity: .72; }
.latest-thumb {
  flex: 0 0 70px; height: 52px;
  border-radius: 8px; overflow: hidden;
}
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest-info-title {
  font-size: 12px; font-weight: 700; color: #1e293b;
  line-height: 1.45; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.latest-info-date { font-size: 11px; color: #aaa; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-tag {
  font-size: 12px; font-weight: 700; padding: 5px 14px;
  border-radius: 16px; background: #f1f5f9; color: #555;
  cursor: pointer; transition: all .2s; border: none;
}
.cat-tag:hover { background: var(--teal-dark); color: #fff; }

@media (max-width: 991px) {
  .nc-img { flex: none; min-height: 220px; width: 100%; }
  .news-card { flex-direction: column; }
  .news-sidebar { position: static; margin-top: 32px; }
  .nc-body { padding: 24px 20px; }
}
