/* ============================================================
   BADONGA — News page styles (news.html)
   ============================================================ */

.news-page { background: #fff; color: var(--gray-900); }

/* Top strip */
.news-strip {
  background: #000;
  color: #fff;
  border-bottom: 1px solid rgba(250, 204, 21, 0.2);
}
.news-strip-inner {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .news-strip-inner { font-size: 0.875rem; }
}
.ns-brand { font-weight: 600; letter-spacing: 0.025em; color: var(--yellow-400); }
.ns-desc { color: var(--gray-300); }

/* Sticky nav */
.news-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(250, 204, 21, 0.25);
}
.news-nav-inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nn-brand {
  color: var(--yellow-400);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.nn-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-300);
}
@media (min-width: 768px) {
  .nn-links { display: flex; }
}
.nn-links a { transition: color 0.2s; }
.nn-links a:hover { color: var(--yellow-400); }
.nn-current { color: var(--yellow-400); }
.nn-main-btn {
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--yellow-400);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}
.nn-main-btn:hover { background: var(--yellow-300); }

/* Hero */
.news-hero {
  position: relative;
  background: linear-gradient(to bottom right, #000, var(--gray-900), #000);
  border-bottom: 1px solid rgba(250, 204, 21, 0.2);
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .news-hero { padding: 4rem 0; }
}
.nh-eyebrow {
  color: var(--yellow-400);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.news-hero h1 {
  margin-top: 0.75rem;
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .news-hero h1 { font-size: 3rem; }
}
.nh-sub { margin-top: 1rem; color: var(--gray-300); max-width: 42rem; }
.nh-btns {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.nh-btn-solid {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  background: var(--yellow-400);
  color: #000;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s;
}
.nh-btn-solid:hover { background: var(--yellow-300); }
.nh-btn-outline {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--yellow-400);
  color: var(--yellow-400);
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s;
}
.nh-btn-outline:hover { background: rgba(250, 204, 21, 0.1); }

/* Topic ticker */
.news-ticker {
  background: var(--gray-950);
  border-bottom: 1px solid rgba(250, 204, 21, 0.2);
}
.ticker-scroll { padding-top: 0.75rem; padding-bottom: 0.75rem; overflow-x: auto; }
.ticker-items {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: rgba(250, 204, 21, 0.9);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

/* Main layout */
.news-main { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.news-main-head {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.nm-eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow-600);
}
.news-main-head h2 {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--gray-900);
}
@media (min-width: 768px) {
  .news-main-head h2 { font-size: 2.25rem; }
}
.nm-jump { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; }
@media (min-width: 768px) { .nm-jump { font-size: 0.875rem; } }
.jump-pill {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: background 0.2s;
}
.jp-yellow { background: var(--yellow-100); color: var(--yellow-800); }
.jp-yellow:hover { background: var(--yellow-200); }
.jp-gray { background: var(--gray-200); color: var(--gray-800); }
.jp-gray:hover { background: var(--gray-300); }

.news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .news-layout { grid-template-columns: 1.7fr 1fr; }
}

/* Blog cards */
.blog-list { display: flex; flex-direction: column; gap: 1.75rem; }
.blog-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.blog-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: scale-down;
 background-color: #000;
  border-bottom: 1px solid var(--gray-200);
}
@media (min-width: 768px) {
  .blog-card > img { aspect-ratio: 16 / 9; }
}
.blog-card .bc-body { padding: 1.5rem; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.pill { padding: 0.25rem 0.75rem; border-radius: 9999px; }
.pill-cat { background: var(--yellow-400); color: #000; }
.pill-date { background: var(--yellow-100); color: var(--yellow-800); }
.pill-extra { background: var(--gray-200); color: var(--gray-700); }
.blog-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.25;
}
.blog-card .bc-excerpt { margin-top: 0.75rem; color: var(--gray-600); line-height: 1.7; }
.read-more {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #000;
  transition: color 0.2s;
  padding: 0;
}
.read-more:hover { color: var(--yellow-600); }

.empty-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
}
.empty-box p { font-size: 0.875rem; color: var(--gray-600); }

/* Sidebar */
.news-side { display: flex; flex-direction: column; gap: 1.5rem; }
.side-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
}
.side-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}
.search-box {
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.search-icon { color: var(--gray-500); font-size: 0.875rem; }
.search-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: var(--gray-800);
}
.search-box input::placeholder { color: var(--gray-400); }
.search-reset {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow-700);
  white-space: nowrap;
  transition: color 0.2s;
}
.search-reset:hover { color: var(--yellow-600); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
background: var(--gray-100);
  color: var(--gray-700);
  transition: background 0.2s, color 0.2s;
}
.tag-btn:hover { background: var(--yellow-100); color: var(--yellow-800); }
.tag-btn.active { background: var(--yellow-400); color: #000; }
.recent-list { display: flex; flex-direction: column; gap: 0.75rem; }
.recent-item {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
  padding: 0.25rem;
  transition: background 0.2s;
}
.recent-item:hover { background: var(--gray-50); }
.recent-item img {
  width: 4rem;
  height: 3.5rem;
  border-radius: 0.375rem;
  object-fit: contain;
 background-color: #000;
  flex-shrink: 0;
}
.recent-item .ri-title { font-size: 0.875rem; font-weight: 600; color: var(--gray-800); line-height: 1.35; }
.recent-item .ri-date { font-size: 0.75rem; color: var(--gray-500); margin-top: 0.25rem; }
.side-note {
  border-radius: var(--radius-2xl);
  background: #000;
  color: #fff;
  padding: 1.5rem;
  border: 1px solid rgba(250, 204, 21, 0.25);
}
.sn-eyebrow {
  font-size: 0.875rem;
  color: var(--yellow-400);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.side-note h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 0.5rem;
  line-height: 1.3;
  color: #fff;
  font-family: var(--font-sans);
}
.sn-body { margin-top: 0.75rem; color: var(--gray-300); font-size: 0.875rem; line-height: 1.7; }

/* Announcements */
.ann-section {
  scroll-margin-top: 6rem;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 3.5rem 0;
}
.ann-head { margin-bottom: 2rem; }
.ann-head h2 {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--gray-900);
}
.ann-sub { margin-top: 0.75rem; color: var(--gray-600); max-width: 48rem; }
.ann-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .ann-grid { grid-template-columns: repeat(3, 1fr); }
  .ann-grid .empty-box { grid-column: 1 / -1; }
}
.ann-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  background: var(--gray-50);
}
.ann-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: scale-down;
 background-color: #000;
  border-radius: var(--radius-xl);
}
.ann-card .ac-date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--yellow-700);
  margin-top: 1rem;
}
.ann-card h3 {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--gray-900);
  font-family: var(--font-sans);
}
.ann-card .ac-summary { margin-top: 0.75rem; font-size: 0.875rem; color: var(--gray-600); line-height: 1.7; }
.ann-card .read-more { margin-top: 1rem; }
.ann-card .read-more:hover { color: var(--yellow-700); }

/* What's New */
.wn-section {
  scroll-margin-top: 6rem;
background: var(--gray-100);
  padding: 3.5rem 0;
  border-top: 1px solid var(--gray-200);
}
.wn-list { display: flex; flex-direction: column; gap: 1rem; }
.wn-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .wn-card { padding: 1.5rem; flex-direction: row; align-items: center; }
}
.wn-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: scale-down;
 background-color: #000;
  border-radius: var(--radius-xl);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .wn-card img { width: 12rem; aspect-ratio: 4 / 3; }
}
.wn-card .wc-body { flex: 1; }
.wn-card .wc-date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--yellow-700);
}
.wn-card h3 {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  font-family: var(--font-sans);
}
.wn-card .wc-details { margin-top: 0.5rem; font-size: 0.875rem; color: var(--gray-600); }
.wn-view {
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--yellow-600);
  color: var(--yellow-700);
  transition: background 0.2s;
  align-self: flex-start;
}
.wn-view:hover { background: var(--yellow-100); }
.wn-note { margin-top: 1.5rem; font-size: 0.75rem; color: var(--gray-500); }
.wn-note code {
  background: var(--gray-200);
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
}

/* Detail modal */
.news-modal {
  max-width: 48rem;
  max-height: 90vh;
  overflow-y: auto;
}
.news-modal > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
  background-color:#000;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}
.news-modal .nm-body { padding: 1.5rem; }
@media (min-width: 768px) {
  .news-modal .nm-body { padding: 2rem; }
}
.news-modal h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.25;
}
@media (min-width: 768px) {
  .news-modal h3 { font-size: 1.875rem; }
}
.news-modal .nm-content { margin-top: 1rem; color: var(--gray-700); line-height: 1.7; }
.news-modal .nm-close {
  margin-top: 1.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  background: #000;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s;
}
.news-modal .nm-close:hover { background: var(--gray-800); }
