:root {
  --red: #b80000;
  --dark-red: #8b0000;
  --black: #050505;
  --text: #141414;
  --muted: #666;
  --line: #d7d7d7;
  --bg: #fff;
  --soft: #f5f5f5;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.siteHeader { background: var(--black); color: #fff; }
.headerTop {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.brand {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}
.brand span { color: #fff; }
.adminLink {
  border: 1px solid rgba(255,255,255,.35);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}
.nav {
  background: var(--red);
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 max(4vw, calc((100vw - 1180px) / 2));
  font-weight: 800;
}
.nav a {
  padding: 13px 18px;
  border-right: 1px solid rgba(255,255,255,.25);
  white-space: nowrap;
}
.nav a.active,
.nav a:hover { background: var(--dark-red); }

.container {
  width: min(1180px, 92vw);
  margin: 24px auto 48px;
}
.sectionTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 3px solid var(--black);
  margin: 24px 0 14px;
  padding-top: 10px;
  font-weight: 900;
  font-size: 22px;
}
.sectionTitle a {
  color: var(--red);
  font-size: 14px;
}

.heroGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr);
  gap: 24px;
}
.mainLead,
.miniStory,
.storyCard,
.emptyState,
.panel {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mainLead img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--soft);
}
.storyText { padding: 12px 0 14px; }
.mainLead .storyText { padding: 14px 0 0; }
.kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
h1 {
  margin: 7px 0 10px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}
h2 {
  margin: 6px 0 8px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}
p { line-height: 1.65; margin: 0 0 10px; }
.meta,
.muted { color: var(--muted); font-size: 13px; }

.topStories {
  display: grid;
  gap: 14px;
}
.miniStory a {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
}
.miniStory img {
  width: 128px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}
.miniStory h2 {
  font-size: 18px;
}

.newsSection { margin-top: 30px; }
.storyGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.storyCard img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--soft);
}
.storyCard h2 { font-size: 19px; }
.categoryList { margin-top: 22px; }
.emptyState {
  background: var(--soft);
  padding: 30px;
}

.adminBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5vw;
  background: #111;
  color: #fff;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 10px 14px;
  cursor: pointer;
}
.button.secondary,
button.secondary { background: #333; }
.form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; }
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 11px;
  font: inherit;
}
textarea { min-height: 180px; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}
.error { color: var(--red); font-weight: 800; }

@media (max-width: 900px) {
  .heroGrid,
  .storyGrid { grid-template-columns: 1fr; }
  .miniStory a { grid-template-columns: 108px minmax(0, 1fr); }
  .miniStory img { width: 108px; }
}

@media (max-width: 560px) {
  .container,
  .headerTop { width: min(100% - 28px, 1180px); }
  .nav { padding: 0 14px; }
  .nav a { padding: 12px 14px; }
  .miniStory a {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
  }
  .miniStory img { width: 96px; }
  h2 { font-size: 18px; }
}
