﻿:root {
  --red: #c9151e;
  --red-strong: #a30d18;
  --dark: #171717;
  --gray: #707070;
  --bg: #f6f6f6;
  --line: #e4e4e4;
  --panel: #ffffff;
  --muted: #6b7280;
  --navy: #111827;
  --navy-alt: #1f2937;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --soft: #eff6ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--bg);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.wrap { width: min(1180px, 92%); margin: auto; }
.top { background: #181818; color: #ccc; font-size: 12px; }
.topin { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; }
header { background: #fff; }
.head { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.brand { display: inline-flex; width: 200px; height: 48px; align-items: center; background: url('logo.png') center / contain no-repeat; font-size: 0; letter-spacing: 0; color: transparent; }
.brand-logo { display: block; width: 100%; max-height: 48px; object-fit: contain; }
.brand b { display: none; }
.brand.light { color: transparent; }
.foot .brand { width: 170px; height: 42px; background-size: contain; }
.foot .brand-logo { max-height: 42px; }
.search { display: flex; width: 380px; }
.search input { flex: 1; border: 1px solid #ddd; padding: 11px; border-radius: 5px 0 0 5px; }
.search button { border: 0; background: var(--red); color: white; padding: 0 18px; border-radius: 0 5px 5px 0; font-size: 20px; cursor: pointer; }
nav { background: var(--red); border-top: 0; border-bottom: 3px solid var(--red-strong); }
.navin { display: flex; }
.navin > div { display: flex; }
.navin a { padding: 14px 16px; font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .03em; }
.navin a:hover, .navin .active { background: var(--red-strong); color: #fff; }
.hamb { display: none; border: 0; background: transparent; font-size: 24px; padding: 8px; color: #fff; }
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin: 25px 0; }
.lead { position: relative; height: 440px; overflow: hidden; border-radius: 9px; background: #222; color: #fff; }
.lead img { width: 100%; height: 100%; object-fit: cover; }
.lead:after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.lead > div { position: absolute; bottom: 0; z-index: 2; padding: 28px; }
.lead small { background: var(--red); padding: 5px 9px; }
.lead h1 { font-size: 34px; line-height: 1.15; margin: 13px 0; }
.choices { display: flex; flex-direction: column; gap: 14px; }
.choice { display: grid; grid-template-columns: 125px 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.choice img { width: 125px; height: 105px; object-fit: cover; border-radius: 6px; }
.choice h3 { font-size: 16px; line-height: 1.3; margin: 3px 0; }
.tag { display: inline-block; font-size: 11px; color: #fff; background: var(--red); font-weight: 800; padding: 3px 9px; border-radius: 3px; text-transform: uppercase; letter-spacing: .03em; }
.layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(250px, 0.8fr); gap: 20px; margin: 30px auto; }
.title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.title h2, .title h1 { position: relative; margin: 0; padding-left: 14px; text-transform: uppercase; letter-spacing: .03em; font-size: 20px; }
.title h2::before, .title h1::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 5px; background: var(--red); border-radius: 2px; }
.title a { color: var(--red); font-weight: 700; }
.news { display: grid; grid-template-columns: 230px 1fr; gap: 18px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 14px; margin-bottom: 16px; transition: box-shadow .2s ease, border-color .2s ease; }
.news:hover, .choice:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); border-color: var(--red); }
.news img { width: 230px; height: 160px; object-fit: cover; border-radius: 8px; }
.news h3 { margin: 8px 0; font-size: 18px; }
.meta { color: var(--gray); font-size: 13px; margin-bottom: 8px; }
.news p { margin: 0; color: #555; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-bottom: 18px; }
.box.ad { text-align: center; background: linear-gradient(135deg, #f8e9ea, #f4f4f4); color: var(--dark); }
.box h3 { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--red); text-transform: uppercase; font-size: 15px; letter-spacing: .03em; }
.pop { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pop:last-child { border-bottom: 0; }
.pop b { width: 36px; height: 36px; background: var(--red); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; }
.pop h4 { margin: 0; font-size: 14px; line-height: 1.5; }
.topics { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px 20px; margin: 10px auto 35px; }
.topics > div:last-child { display: grid; gap: 12px; grid-template-columns: repeat(6, minmax(120px, 1fr)); }
.topics a { display: block; background: #fff; border: 1.5px solid var(--red); color: var(--red); border-radius: 999px; padding: 12px; font-weight: 700; text-align: center; transition: .2s ease; }
.topics a:hover { background: var(--red); color: #fff; }
footer { background: #121212; color: #e7e7e7; margin-top: 46px; border-top: 4px solid var(--red); }
.foot { display: grid; grid-template-columns: minmax(280px, 1.6fr) minmax(170px, 1fr) minmax(150px, .85fr) minmax(160px, .9fr); gap: 42px; align-items: start; padding: 48px 0 28px; }
.foot > div { min-width: 0; }
.brand.light { font-size: 28px; }
.foot h4 { margin: 4px 0 16px; color: #fff; font-size: 15px; letter-spacing: .04em; }
.foot a { display: block; width: fit-content; margin-bottom: 10px; color: #d8d8d8; line-height: 1.35; }
.foot a:hover { color: #ffca28; }
.foot p { margin: 0 0 10px; line-height: 1.65; color: #cbd1dc; }
.foot > div:first-child p { max-width: 320px; }
.foot .contact-label { color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; margin: 18px 0 4px; text-transform: uppercase; }
.foot .contact-label:first-of-type { margin-top: 22px; }
.social-links { display: grid; grid-template-columns: repeat(2, 38px); gap: 8px; }
.social-links a { width: 34px; height: 34px; margin: 0 0 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 0; background: rgba(255,255,255,.06); }
.social-links a:hover { background: rgba(255,255,255,.16); }
.social-links a::before { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 800; line-height: 1; }
.social-links a.facebook::before { content: "f"; font-family: Arial, sans-serif; }
.social-links a.twitter::before { content: "𝕏"; font-size: 15px; }
.social-links a.whatsapp::before { content: "◔"; font-size: 22px; }
.social-links a.telegram::before { content: "➤"; font-size: 17px; }
.social-links a.instagram::before { content: "◎"; font-size: 22px; }
.social-links a.youtube::before { content: "▶"; font-size: 14px; }
.social-links a.tiktok::before { content: "♪"; font-size: 21px; }
.copy { text-align: center; border-top: 1px solid rgba(255,255,255,0.06); padding: 18px 0; color: #b4b4b4; }
.article { padding: 20px 0 40px; }
.article .tag { display: inline-block; margin-bottom: 10px; }
.article h1 { font-size: 42px; line-height: 1.15; margin: 0 0 12px; }
.meta { color: var(--gray); }
.cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; margin: 18px 0; }
.article-figure { margin: 18px 0 24px; }
.article-figure .cover { margin: 0; }
.article-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.article-figure figcaption span { margin-left: 8px; color: var(--gray); }
.rich-toolbar { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.rich-toolbar button { border: 1px solid #d5dbe3; background: #fff; border-radius: 4px; padding: 6px 10px; font-size: 13px; line-height: 1; cursor: pointer; color: #2f2f2f; }
.rich-toolbar button:hover { border-color: var(--red); color: var(--red); }
.rich-editor { min-height: 200px; border: 1px solid #d5dbe3; border-radius: 4px; padding: 12px; font-size: 15px; line-height: 1.6; background: #fff; }
.rich-editor:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.rich-editor p { margin: 0 0 14px; }
.rich-editor p:last-child { margin-bottom: 0; }
.article-body { font-size: 17px; color: #2f2f2f; }
.article-body p { margin: 0 0 18px; }
.article-body h2 { margin-top: 28px; }
.article-body p.baca-juga {
  margin: 4px 0 22px;
  padding: 12px 16px;
  background: #fbeaea;
  border-left: 4px solid var(--red);
  border-radius: 4px;
  font-size: 15px;
  font-style: italic;
}
.article-body p.baca-juga .baca-juga-label {
  font-weight: 800;
  font-style: normal;
  color: var(--red);
  margin-right: 4px;
}
.article-body p.baca-juga a { color: var(--navy-alt); font-weight: 700; text-decoration: underline; }
.article-body p.baca-juga a:hover { color: var(--red); }
.article-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.article-pagination div { display: flex; gap: 8px; }
.article-pagination a { padding: 8px 12px; border: 1px solid #d5dbe3; border-radius: 4px; color: var(--navy-alt); font-weight: 700; }
.article-pagination a:hover { border-color: var(--red); color: var(--red); }
.read-more { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.read-more .title { margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card { min-width: 0; }
.related-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.related-card .tag { display: inline-block; margin-bottom: 6px; }
.related-card h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; }
.related-card small { color: var(--muted); }
@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card { display: grid; grid-template-columns: 110px 1fr; column-gap: 12px; }
  .related-card img { grid-row: span 3; margin-bottom: 0; }
  .related-card .tag, .related-card h3, .related-card small { grid-column: 2; }
}
.gallery, .videos { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 16px; }
.gallery-item, .video-item { background: #fff; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; }
.gallery-item img, .video-item img { height: 180px; object-fit: cover; width: 100%; }
.gallery-item div, .video-item div { padding: 12px; }
.video-embed-facade { position: relative; cursor: pointer; background: #000; }
.video-embed-facade img { display: block; opacity: 0.85; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(199, 30, 30, 0.9); color: #fff; font-size: 16px; line-height: 48px; cursor: pointer; }
.video-embed-facade iframe { display: block; width: 100%; height: 180px; border: 0; }

.login-page {
  background: linear-gradient(135deg, #111827, #1f2937 40%, #0f172a);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-box {
  width: min(440px, 100%);
  background: rgba(255,255,255,0.96);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  padding: 28px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.brand-image { display: block; width: 250px; height: auto; max-height: 78px; object-fit: contain; object-position: left center; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-strong));
  color: #fff;
  font-weight: 900;
  font-size: 24px;
}
.brand-lockup h1, .brand-block h1 { display: none; }
.auth-box h2 { margin: 8px 0 6px; }
.auth-secondary-btn { display: block; margin-top: 12px; padding: 11px 16px; border: 1px solid #d4d8de; border-radius: 10px; text-align: center; color: var(--navy-alt); font-weight: 700; }
.auth-secondary-btn:hover { border-color: var(--red); color: var(--red); }
.success-box { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #a7f3d0; border-radius: 10px; background: #ecfdf5; color: #047857; }
.subcopy { color: var(--muted); margin: 0 0 20px; }
.auth-form { display: grid; gap: 16px; }
.auth-form label, .cms-form label { display: grid; gap: 8px; }
.auth-form span, .cms-form span { font-weight: 700; color: var(--navy-alt); }
.auth-form input, .cms-form input, .cms-form textarea, .cms-form select, .inline-form input, .inline-form select, .table-search {
  width: 100%;
  border: 1px solid #d4d8de;
  background: #fff;
  border-radius: 10px;
  padding: 11px 12px;
  color: #1f2937;
}
.primary-btn, .ghost-btn, .table-btn {
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}
.primary-btn {
  background: linear-gradient(135deg, var(--red), var(--red-strong));
  color: #fff;
}
.primary-btn:hover { filter: brightness(1.04); }
.ghost-btn {
  background: #e8edf6;
  color: var(--navy-alt);
}
.ghost-btn.danger { background: #fee2e2; color: #991b1b; }
.ghost-btn.small { padding: 8px 12px; font-size: 0.78rem; }
.demo-credentials {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.admin-page {
  background: #eef2f7;
  min-height: 100vh;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: linear-gradient(180deg, #111827, #1f2937);
  color: #edf2ff;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand-block h1 { margin: 0; font-size: 1.2rem; }
.sidebar-footer {
  margin-top: auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 16px;
}
.sidebar-footer p { margin: 0 0 8px; color: #d6deef; }
.side-nav { display: grid; gap: 8px; }
.nav-link {
  background: transparent;
  color: #dfe7ff;
  border: 1px solid transparent;
  text-align: left;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
}
.nav-link.active {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}
.admin-main { padding: 28px; }
.admin-topbar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.admin-topbar h2 { margin: 4px 0 0; }
.topbar-actions { display: flex; gap: 12px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  display: grid;
  gap: 12px;
  min-height: 120px;
}
.stat-card.accent { background: linear-gradient(135deg, #ffe5e6, #fff7f7); }
.stat-card span { color: var(--muted); font-size: 0.85rem; }
.stat-card strong { font-size: 2rem; color: var(--navy); }
.dashboard-widgets {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.panel-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.panel-head h3 { margin: 0; }
.chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}
.chip.success { background: #dcfce7; color: #166534; }
.chip.warning { background: #fef3c7; color: #92400e; }
.chip.danger { background: #fee2e2; color: #991b1b; }
.reader-bars { display: grid; gap: 14px; }
.reader-row { display: grid; grid-template-columns: 85px 1fr 50px; align-items: center; gap: 12px; }
.bar-track {
  height: 12px;
  background: #edf2f7;
  border-radius: 999px;
  overflow: hidden;
}
.bar-track b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), #ff7a59);
  border-radius: inherit;
}
.breaking-news-box {
  background: #fff2f3;
  border: 1px solid #fecdd3;
  border-radius: 12px;
  padding: 18px;
}
.breaking-pill {
  display: inline-block;
  margin-bottom: 8px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  padding: 6px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.breaking-news-box h4 { margin: 0 0 8px; }
.breaking-news-box p { margin: 0; color: var(--muted); }
.measure-box { margin-bottom: 22px; }
.cms-form { display: grid; gap: 18px; }
.field-grid { display: grid; gap: 18px; }
.field-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.full-width { grid-column: 1 / -1; }
.toggle-row {
  display: flex !important;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 14px;
}
.toggle-row input { width: 18px; height: 18px; }
.form-actions { display: flex; justify-content: flex-start; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f8fafc; }
.table-btn {
  padding: 7px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
}
.table-btn.edit { background: #e0f2fe; color: #0f172a; }
.table-btn.delete { background: #fee2e2; color: #991b1b; }
.action-group { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.inline-form input { flex: 1 1 180px; }
.status-pill {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  text-transform: capitalize;
  font-size: 0.75rem;
  font-weight: 700;
}
.status-pill.publish { background: #dcfce7; color: #166534; }
.status-pill.draft { background: #fef3c7; color: #92400e; }
.status-pill.scheduled { background: #dbeafe; color: #1d4ed8; }
.comment-list { display: grid; gap: 12px; }
.comment-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fafcff;
}
.comment-item.approved { border-color: #bbf7d0; background: #f0fdf4; }
.comment-item.pending { border-color: #fde68a; background: #fffaf0; }
.comment-item strong { display: block; }
.comment-item small { display: block; color: var(--muted); }
.comment-item p { margin: 12px 0; }
.comment-actions { display: flex; gap: 8px; }
.ad-list { display: grid; gap: 12px; margin-top: 16px; }
.ad-item {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fef3c7, #fff7ed);
  border-radius: 12px;
  padding: 14px 16px;
}
.ad-item strong { display: block; }
.ad-item span { display: inline-block; color: var(--muted); margin: 6px 0; }
.ad-preview { display: block; width: min(100%, 300px); max-height: 180px; object-fit: contain; margin: 12px 0; border: 1px solid var(--line); background: #f8fafc; }
.api-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.api-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
}
.api-list code {
  background: #111827;
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
}
.api-output pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  overflow-x: auto;
  margin: 0;
}
.db-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.db-grid strong { font-size: 1.05rem; }
.form-section-title { margin: 28px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }
#breakingNews {
  display: block;
  background: #fff0f1;
  border: 1px solid #fecdd3;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--red-strong);
}

@media (max-width: 980px) {
  .hero, .layout, .dashboard-widgets { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { padding-bottom: 12px; }
}

@media (max-width: 850px) {
  .search { width: 300px; }
  .topics > div:last-child { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
  .foot { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .topin span:last-child { display: none; }
  .head { flex-direction: column; gap: 14px; }
  .search { width: 100%; }
  .hamb { display: block; }
  .navin > div { display: none; flex-direction: column; width: 100%; }
  .navin > div.show { display: flex; }
  .hero { margin-top: 15px; }
  .lead { height: 360px; }
  .lead h1 { font-size: 26px; }
  .news { grid-template-columns: 120px 1fr; }
  .news img { width: 120px; height: 95px; }
  .news h3 { font-size: 17px; }
  .news p { display: none; }
  .topics > div:last-child, .gallery, .videos, .db-grid, .field-grid.two-col { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .article h1 { font-size: 30px; }
  .admin-main { padding: 18px; }
  .admin-topbar { flex-direction: column; align-items: flex-start; }
  .topbar-actions { width: 100%; }
  .topbar-actions > * { flex: 1; }
  .ghost-btn, .primary-btn { width: 100%; }
}

/* Editorial news layout */
body:not(.admin-page):not(.login-page) {
  background: #f4f5f7;
  color: #172033;
}
body:not(.admin-page):not(.login-page) h1,
body:not(.admin-page):not(.login-page) h2,
body:not(.admin-page):not(.login-page) h3,
body:not(.admin-page):not(.login-page) h4 {
  font-family: Georgia, 'Times New Roman', serif;
}
body:not(.admin-page):not(.login-page) .top {
  background: #0d1522;
  border-bottom: 3px solid var(--red);
}
body:not(.admin-page):not(.login-page) header {
  box-shadow: 0 2px 12px rgba(16, 24, 39, .06);
}
body:not(.admin-page):not(.login-page) .head {
  min-height: 82px;
  padding: 11px 0 9px;
}
body:not(.admin-page):not(.login-page) nav {
  border-top: 1px solid #e9ebef;
  border-bottom: 1px solid #dfe3e8;
  background: #fff;
}
body:not(.admin-page):not(.login-page) .navin {
  overflow-x: auto;
  scrollbar-width: thin;
}
body:not(.admin-page):not(.login-page) .navin::before {
  content: "MENU";
  align-self: center;
  padding-right: 15px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
body:not(.admin-page):not(.login-page) .navin a {
  padding: 11px 15px;
  color: #374151;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
body:not(.admin-page):not(.login-page) .navin a:hover,
body:not(.admin-page):not(.login-page) .navin .active {
  color: var(--red);
  box-shadow: inset 0 -3px 0 var(--red);
}
body:not(.admin-page):not(.login-page) main.wrap {
  padding-top: 8px;
}
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #222b3a;
  color: #fff;
  border-bottom: 3px solid var(--red);
  padding: 10px 0;
}
.ticker-items {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: jalan 24s linear infinite;
}
.ticker-item {
  position: relative;
  padding: 0 32px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.ticker-item::before {
  content: "HEADLINE";
  margin-right: 10px;
  color: #ffca28;
  font-size: 10px;
  letter-spacing: .08em;
}
.ticker-item:hover { color: #ffca28; }
@keyframes jalan {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-items { animation: none; transform: translateX(0); width: 100%; overflow-x: auto; }
}
.slider-container {
  position: relative;
  width: 100%;
  height: 455px;
  overflow: hidden;
  background: #111827;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(16, 24, 39, .13);
}
.slider-wrapper {
  display: flex;
  height: 100%;
  transition: transform .7s ease-in-out;
}
.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.85)); pointer-events: none; }
.slide-caption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 28px; color: #fff; }
.slide-caption small { display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 4px 10px; border-radius: 3px; }
.slide-caption h1 {
  max-width: 760px;
  margin: 10px 0 8px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.slide-caption h1 a:hover { color: #ffca28; }
.slide-caption p {
  max-width: 650px;
  margin: 0;
  color: #e5e7eb;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.slider-dots { position: absolute; z-index: 2; right: 28px; bottom: 24px; display: flex; gap: 7px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.slider-dots button.active { width: 25px; border-radius: 5px; background: var(--red); border-color: var(--red); }
.ad-space { display: flex; min-height: 90px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1px dashed #adb5c2; background: #eef1f5; color: #687386; text-align: center; }
.ad-space span { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.ad-space strong { color: #334155; font-size: 13px; letter-spacing: .04em; }
.ad-space small { font-size: 11px; }
.ad-leaderboard { width: min(728px, 100%); min-height: 90px; margin: 16px auto 4px; }
.ad-sidebar { min-height: 250px; margin-top: 18px; }
.tower-ad { position: fixed; z-index: 5; top: 170px; display: flex; width: 160px; height: 600px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px dashed #adb5c2; background: #eef1f5; color: #687386; text-align: center; }
.tower-ad span { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.tower-ad strong { color: #334155; font-size: 13px; letter-spacing: .04em; writing-mode: vertical-rl; transform: rotate(180deg); }
.tower-ad small { font-size: 11px; }
.tower-left { left: max(10px, calc(50% - 800px)); }
.tower-right { right: max(10px, calc(50% - 800px)); }
@media (max-width: 1399px) {
  .tower-ad { width: 120px; height: 600px; }
  .tower-left { left: 8px; }
  .tower-right { right: 8px; }
}
@media (max-width: 1199px) {
  .tower-ad { display: none; }
}
body:not(.admin-page):not(.login-page) .hero {
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
  gap: 26px;
  margin: 26px 0 34px;
}
body:not(.admin-page):not(.login-page) .lead {
  height: 455px;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(16, 24, 39, .13);
}
body:not(.admin-page):not(.login-page) .lead h1 {
  max-width: 760px;
  font-size: clamp(30px, 3.2vw, 46px);
  letter-spacing: -.02em;
}
body:not(.admin-page):not(.login-page) .lead p {
  max-width: 650px;
  color: #e5e7eb;
}
body:not(.admin-page):not(.login-page) .choice {
  padding-bottom: 16px;
  border-bottom-color: #d8dde5;
}
body:not(.admin-page):not(.login-page) .choice img {
  border-radius: 2px;
}
body:not(.admin-page):not(.login-page) .title {
  border-bottom: 2px solid #172033;
  padding-bottom: 10px;
  margin-bottom: 4px;
}
body:not(.admin-page):not(.login-page) .title h2,
body:not(.admin-page):not(.login-page) .title h1 {
  color: #101827;
  font-size: 24px;
  letter-spacing: -.02em;
}
body:not(.admin-page):not(.login-page) .title h2::before,
body:not(.admin-page):not(.login-page) .title h1::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 23px;
  margin-right: 9px;
  vertical-align: -3px;
  background: var(--red);
}
body:not(.admin-page):not(.login-page) .news {
  grid-template-columns: 220px 1fr;
  border: 0;
  border-bottom: 1px solid #dfe3e8;
  border-radius: 0;
  padding: 18px 0;
  margin-bottom: 0;
  background: transparent;
}
body:not(.admin-page):not(.login-page) .news img {
  width: 220px;
  height: 142px;
  border-radius: 2px;
}
body:not(.admin-page):not(.login-page) .news h3 {
  margin: 4px 0 6px;
  font-size: 21px;
  line-height: 1.25;
  color: #101827;
}
body:not(.admin-page):not(.login-page) .news .tag,
body:not(.admin-page):not(.login-page) .choice .tag {
  letter-spacing: .08em;
  text-transform: uppercase;
}
body:not(.admin-page):not(.login-page) .news p {
  max-width: 680px;
  line-height: 1.55;
}
body:not(.admin-page):not(.login-page) .news h3 a:hover,
body:not(.admin-page):not(.login-page) .pop h4 a:hover {
  color: var(--red);
}
body:not(.admin-page):not(.login-page) .box {
  border: 0;
  border-top: 4px solid var(--red);
  border-radius: 0;
  box-shadow: 0 5px 18px rgba(16, 24, 39, .06);
}
body:not(.admin-page):not(.login-page) .box h3 {
  color: #101827;
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #e1e5eb;
}
body:not(.admin-page):not(.login-page) .pop b {
  border-radius: 2px;
  background: #101827;
}
body:not(.admin-page):not(.login-page) .topics {
  border: 0;
  border-top: 4px solid #101827;
  border-radius: 0;
  box-shadow: 0 5px 18px rgba(16, 24, 39, .05);
}
body:not(.admin-page):not(.login-page) .topics a {
  border-radius: 2px;
  background: #eef1f5;
  font-size: 14px;
}
body:not(.admin-page):not(.login-page) footer {
  margin-top: 46px;
}

@media (max-width: 600px) {
  body:not(.admin-page):not(.login-page) .head { padding: 8px 0; }
  body:not(.admin-page):not(.login-page) .brand { width: 215px; height: 54px; }
  body:not(.admin-page):not(.login-page) .brand-image { width: 215px; max-height: 62px; }
  body:not(.admin-page):not(.login-page) .lead { height: 390px; }
  body:not(.admin-page):not(.login-page) .slider-container { height: 390px; }
  body:not(.admin-page):not(.login-page) .slide-caption { padding: 22px 18px; }
  body:not(.admin-page):not(.login-page) .slide-caption h1 { font-size: 27px; }
  body:not(.admin-page):not(.login-page) .slide-caption p { display: none; }
  body:not(.admin-page):not(.login-page) .slider-dots { right: 18px; bottom: 18px; }
  body:not(.admin-page):not(.login-page) .news { grid-template-columns: 112px 1fr; gap: 12px; }
  body:not(.admin-page):not(.login-page) .news img { width: 112px; height: 90px; }
  body:not(.admin-page):not(.login-page) .news h3 { font-size: 17px; }
}
.share-box{display:flex;gap:10px;align-items:center;margin:18px 0}
.share-box span{font-size:13px;font-weight:bold}
.share{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;border:0;cursor:pointer}
.share svg{width:18px;height:18px;fill:#fff}
.share.wa{background:#25D366} .share.fb{background:#1877F2} .share.x{background:#111}
.share.link{background:#f0f0f0} .share.link svg{fill:#333}
.share:hover{transform:scale(1.1)}