/* ─── Shared helpers ─────────────────────────────────────────── */

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #747780;
}
.page-breadcrumb a { color: #747780; transition: color 160ms ease; }
.page-breadcrumb a:hover { color: #1eb8d4; }
.page-breadcrumb .material-symbols-outlined { font-size: 1rem; color: #c4c6d0; }
.page-breadcrumb span:last-child { color: #001736; }

/* ─── Hero ───────────────────────────────────────────────────── */

.news-hero {
  position: relative;
  background: #f7f9fb;
  overflow: hidden;
  padding-bottom: 0;
}

.news-hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.news-hero-text {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  .news-hero-inner {
    grid-template-columns: minmax(0, 1fr) 460px;
    min-height: 480px;
    gap: 4rem;
    padding-bottom: 5rem;
  }
  .news-hero-text {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.news-hero-image {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}

@media (min-width: 1024px) {
  .news-hero-image {
    aspect-ratio: auto;
    align-self: stretch;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
}

.news-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-hero-img-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.76rem;
  font-weight: 700;
  color: #001736;
  box-shadow: 0 6px 20px rgba(25, 28, 30, 0.1);
}

.news-hero-img-tag .material-symbols-outlined { font-size: 1rem; color: #1eb8d4; }

/* ─── Filter row ─────────────────────────────────────────────── */

.news-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.news-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(196, 198, 208, 0.4);
  background: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #43474f;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.news-filter-btn:hover {
  border-color: rgba(30, 184, 212, 0.4);
  color: #001736;
}

.news-filter-btn--active {
  background: #001736;
  border-color: #001736;
  color: #ffffff;
}

/* ─── News grid ──────────────────────────────────────────────── */

.news-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.news-card-full {
  border-radius: 1.45rem;
  border: 1px solid rgba(196, 198, 208, 0.22);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(25, 28, 30, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease;
  display: flex;
  flex-direction: column;
}

.news-card-full:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(25, 28, 30, 0.1);
}

.news-card-full.is-hidden {
  display: none;
}

.news-card-full-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

.news-card-full-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.news-card-full:hover .news-card-full-media img {
  transform: scale(1.04);
}

.news-card-full-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-full-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.news-tag-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-tag-badge--mediladan {
  background: rgba(30, 184, 212, 0.1);
  color: #0f92a9;
}

.news-tag-badge--basinda {
  background: rgba(0, 23, 54, 0.07);
  color: #001736;
}

.news-date,
.news-read-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: #747780;
}

.news-read-time::before {
  content: "·";
  margin-right: 0.4rem;
}

.news-card-full h2 {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #001736;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.news-card-full p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: #43474f;
  flex: 1;
}

.news-card-full-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.25rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1eb8d4;
  transition: color 160ms ease, gap 160ms ease;
}

.news-card-full-link .material-symbols-outlined { font-size: 0.95rem; transition: transform 160ms ease; }
.news-card-full-link:hover { color: #006876; gap: 0.5rem; }
.news-card-full-link:hover .material-symbols-outlined { transform: translateX(2px); }

/* ─── Empty state ────────────────────────────────────────────── */

.news-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 4rem 1rem;
  text-align: center;
  color: #747780;
}

.news-empty .material-symbols-outlined { font-size: 2.5rem; color: #c4c6d0; }
.news-empty p { font-size: 0.92rem; font-weight: 600; }
