/* News listing + detail — hero background matches contact page */

.news-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 4rem) 0 3rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.76) 0%, rgba(15, 118, 110, 0.72) 45%, rgba(20, 184, 166, 0.62) 100%),
    url('/img/contact/page_about_capital_myanmar_back.png') center/cover no-repeat;
  color: #fff;
}

.news-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(94, 234, 212, 0.24), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(186, 230, 253, 0.18), transparent 24%);
}

.news-page-hero .container {
  position: relative;
  z-index: 1;
}
.news-page-hero__content {
  max-width: 720px;
}
.news-page-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.news-page-hero__title {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
.news-page-hero__sub {
  opacity: 0.92;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.88);
}
/* Date + title on one line in detail hero (same visual weight as list hero) */
.news-page-hero__date-inline {
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.92;
  white-space: nowrap;
}
.news-page-hero__head-sep {
  opacity: 0.55;
  font-weight: 400;
}

.news-page-hero__crumb {
  opacity: 0.95;
}
.news-page-hero__crumb:hover {
  opacity: 1;
  text-decoration: underline !important;
}

.news-empty {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.news-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1) !important;
}

.news-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-body {
  flex: 1;
}

.news-pagination .page-link {
  color: #334155;
  border-radius: 999px;
  margin: 0 2px;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.news-pagination .page-link:hover {
  background-color: rgba(13, 148, 136, 0.08);
  color: #0f766e;
  border-color: rgba(13, 148, 136, 0.2);
}

.news-pagination .page-item.active .page-link {
  background-color: #0d9488;
  border-color: #0d9488;
  color: #fff;
  font-weight: 600;
}

.news-pagination .page-item.disabled .page-link {
  color: #94a3b8;
  background-color: transparent;
  border-color: rgba(148, 163, 184, 0.2);
}

.news-article--narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.news-article__body {
  font-size: 1.05rem;
  line-height: 1.75;
}

.news-article__body p:last-child {
  margin-bottom: 0;
}

.news-article__body ul,
.news-article__body ol {
  padding-left: 1.25rem;
}

.news-article__body a {
  color: var(--bs-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
