/* ============================================================
   GOGOREJEKI – Berita Page Styles (news.css)
   ============================================================ */

/* ── NEWS GRID ── */
.news-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.3rem;
  margin-top: 2.5rem;
}
.news-article {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 14px; overflow: hidden;
  cursor: pointer; display: flex; flex-direction: column;
  transition: transform var(--transition), border-color var(--transition);
}
.news-article:hover { transform: translateY(-5px); border-color: var(--purple-glow); }

.article-thumb {
  height: 175px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.article-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--navy-card));
}
.article-body { padding: 1.2rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.article-cat {
  display: inline-block;
  padding: .18rem .48rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: .65rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; border-radius: 4px;
  width: fit-content;
}
.article-cat--tips    { background: rgba(0,229,255,.1); color: var(--cyan); border: 1px solid rgba(0,229,255,.2); }
.article-cat--promo   { background: rgba(245,197,24,.1); color: var(--gold); border: 1px solid rgba(245,197,24,.2); }
.article-cat--panduan { background: rgba(155,48,255,.1); color: var(--purple-glow); border: 1px solid rgba(155,48,255,.2); }
.article-cat--update  { background: rgba(76,175,80,.1); color: var(--green); border: 1px solid rgba(76,175,80,.2); }
.article-cat--game    { background: rgba(255,59,59,.1); color: var(--red); border: 1px solid rgba(255,59,59,.2); }

.article-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem; font-weight: 700; line-height: 1.35;
  color: var(--text-main); flex: 1;
}
.article-excerpt { font-size: .82rem; color: var(--text-muted); line-height: 1.6; font-weight: 300; }
.article-meta {
  display: flex; justify-content: space-between;
  font-size: .72rem; color: var(--text-muted);
  border-top: 1px solid var(--navy-border); padding-top: .65rem;
  margin-top: auto;
}

/* ── CATEGORY TABS ── */
.cat-tabs {
  display: flex; gap: .55rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cat-tab {
  padding: .4rem 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: .82rem; font-weight: 600; letter-spacing: .07em;
  border-radius: 999px; cursor: pointer;
  border: 1px solid var(--navy-border);
  background: var(--navy-card); color: var(--text-muted);
  transition: all var(--transition);
}
.cat-tab:hover, .cat-tab.active {
  border-color: var(--purple-glow); color: var(--purple-glow);
  background: rgba(155,48,255,.08);
}

/* ── FEATURED (top of page) ── */
.news-hero-article {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--navy-card); border: 1px solid var(--navy-border);
  border-radius: 16px; overflow: hidden;
  margin-bottom: 2.5rem; cursor: pointer;
  transition: border-color var(--transition);
}
.news-hero-article:hover { border-color: var(--purple-glow); }
.nha-thumb {
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; background: linear-gradient(135deg, #180840, #0A1540);
}
.nha-body { padding: 2.2rem; display: flex; flex-direction: column; gap: .9rem; justify-content: center; }
.nha-title {
  font-family: 'Rajdhani', sans-serif; font-size: 1.55rem; font-weight: 700;
  line-height: 1.3; color: var(--text-main);
}
.nha-excerpt { font-size: .9rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }
.nha-meta { font-size: .78rem; color: var(--text-muted); }
.nha-read-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.3rem;
  background: rgba(155,48,255,.12); border: 1px solid var(--purple-glow);
  border-radius: 6px; color: var(--purple-glow);
  font-family: 'Rajdhani', sans-serif; font-size: .85rem;
  font-weight: 700; width: fit-content;
  transition: all var(--transition);
}
.nha-read-btn:hover { background: rgba(155,48,255,.25); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .news-page-grid { grid-template-columns: 1fr 1fr; }
  .news-hero-article { grid-template-columns: 1fr; }
  .nha-thumb { min-height: 200px; }
}
@media (max-width: 560px) {
  .news-page-grid { grid-template-columns: 1fr; }
}
