/**
 * News list + detail — AJEB tokens, aligned with newstyle .news-section / cards.
 */
.news-page-back {
  margin: 0 0 20px;
  font-size: 14px;
}

.news-page-back a {
  color: var(--navy-800, #133a6f);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-page-back a:hover {
  color: var(--red-600, #c8102e);
}

/* ---------- Index: featured (top 1 + sidebar 2) ---------- */
.news-page-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .news-page-feature {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
  }
}

.news-page-feature-main {
  background: var(--white, #fff);
  border: 1px solid var(--line, #e3e9f0);
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  box-shadow: var(--shadow, 0 4px 16px rgba(15, 42, 82, 0.08));
  border-top: 3px solid var(--gold-500, #c9a227);
}

.news-page-feature-main__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.news-page-feature-main__link:hover .news-page-feature-main__title {
  color: var(--red-600, #c8102e);
}

.news-page-feature-main__poster {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--sky-50, #eef4fa) 0%, var(--sky-100, #d6e4f0) 100%);
  overflow: hidden;
}

.news-page-feature-main__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-page-feature-main__body {
  padding: 22px 24px 28px;
}

.news-page-feature-main__title {
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--navy-900, #0f2a52);
  line-height: 1.2;
  margin: 0 0 12px;
}

.news-page-feature-main__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800, #133a6f);
  margin-bottom: 14px;
}

.news-page-feature-main__summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-700, #2e3a4b);
}

.news-page-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-page-side-card {
  background: var(--white, #fff);
  border: 1px solid var(--line, #e3e9f0);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 32, 57, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-page-side-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 32, 57, 0.12);
  border-color: var(--gold-500, #c9a227);
}

.news-page-side-card__link {
  display: flex;
  gap: 14px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}

.news-page-side-card__thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sky-50, #eef4fa);
}

.news-page-side-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-page-side-card__text {
  min-width: 0;
  flex: 1;
}

.news-page-side-card__title {
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900, #0f2a52);
  margin: 0 0 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-page-side-card:hover .news-page-side-card__title {
  color: var(--red-600, #c8102e);
}

.news-page-side-card__date {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-500, #5c6a7d);
}

.news-page-side-card__summary {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-700, #2e3a4b);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Index: grid (remaining list) ---------- */
.news-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

@media (min-width: 640px) {
  .news-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .news-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.news-page-card {
  margin: 0;
}

.news-page-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white, #fff);
  border-radius: 12px;
  border: 1px solid var(--line, #e3e9f0);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(15, 32, 57, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-page-card__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 32, 57, 0.12);
  border-color: var(--gold-500, #c9a227);
}

.news-page-card__poster {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--sky-50, #eef4fa) 0%, var(--sky-100, #d6e4f0) 100%);
  overflow: hidden;
}

.news-page-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-page-card__link:hover .news-page-card__poster img {
  transform: scale(1.05);
}

.news-page-card__body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-page-card__title {
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-900, #0f2a52);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-page-card__link:hover .news-page-card__title {
  color: var(--red-600, #c8102e);
}

.news-page-card__date {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500, #5c6a7d);
}

.news-page-card__summary {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-700, #2e3a4b);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-page-empty {
  font-size: 15px;
  color: var(--ink-700, #2e3a4b);
  margin: 0 0 16px;
}

/* ---------- Pagination ---------- */
.news-page-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 24px;
  list-style: none;
  margin: 0;
}

.news-page-pagination li {
  margin: 0;
}

.news-page-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line, #e3e9f0);
  background: var(--white, #fff);
  color: var(--navy-800, #133a6f);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-page-pagination a:hover {
  border-color: var(--navy-600, #2a5fa8);
  color: var(--navy-900, #0f2a52);
}

.news-page-pagination li.active a {
  background: var(--red-600, #c8102e);
  border-color: var(--red-700, #a50d26);
  color: #fff;
  cursor: default;
}

.news-page-pagination li.active a:hover {
  color: #fff;
}

/* ---------- Detail ---------- */
.news-page-detail__head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line, #e3e9f0);
}

.news-page-detail__title {
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy-900, #0f2a52);
  line-height: 1.2;
  margin: 0 0 8px;
}

.news-page-detail__date {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800, #133a6f);
  margin: 0;
}

.news-page-prose {
  background: var(--white, #fff);
  border: 1px solid var(--line, #e3e9f0);
  border-radius: var(--radius-lg, 14px);
  padding: 28px 26px 36px;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 42, 82, 0.06));
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-900, #0a1628);
}

.news-page-prose img {
  max-width: 100%;
  height: auto;
}

.news-page-prose h1,
.news-page-prose h2,
.news-page-prose h3 {
  font-family: var(--font-display, "Playfair Display", serif);
  color: var(--navy-900, #0f2a52);
  margin: 1.1em 0 0.45em;
}

.news-page-prose h1:first-child,
.news-page-prose h2:first-child,
.news-page-prose h3:first-child {
  margin-top: 0;
}

.news-page-prose a {
  color: var(--navy-700, #1b4a8a);
  text-decoration: underline;
}

.news-page-prose a:hover {
  color: var(--red-600, #c8102e);
}

.news-page-detail__inner {
  max-width: 920px;
  margin: 0 auto;
}
