:root {
  --red: #b4232a;
  --blue: #132238;
  --paper: #f8f5ef;
  --gold: #d79b30;
  --green: #2f6b4f;
  --ink: #242424;
  --muted: #6f6a61;
  --line: #ded8cd;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  background: var(--blue);
  color: var(--paper);
  font-size: 13px;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 239, 0.96);
  backdrop-filter: blur(12px);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--red);
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 0.92;
  color: var(--blue);
}

.brand-tagline {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 14px;
}

.nav a,
.pill,
.button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.button:hover {
  border-color: var(--red);
  color: var(--red);
}

.button.primary {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
}

.ad-slot {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 1px dashed #b9ab92;
  background: #efe6d7;
  color: #715b36;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ad-slot.small {
  min-height: 72px;
}

.ad-slot.tall {
  min-height: 360px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 28px;
  padding: 28px 0;
}

.hero-card {
  display: grid;
  min-height: 530px;
  overflow: hidden;
  background: var(--blue);
  color: var(--paper);
}

.hero-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.hero-content {
  padding: 24px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card .kicker {
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
}

h1 {
  margin: 10px 0 12px;
  font-size: clamp(38px, 6vw, 68px);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 38px);
}

h3 {
  margin: 8px 0;
  font-size: 24px;
}

.lead {
  color: #efe6d7;
  font-size: 18px;
  line-height: 1.5;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding: 20px 0 44px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 18px;
  border-bottom: 3px solid var(--blue);
}

.section-head h2 {
  margin: 0;
  padding-bottom: 8px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-list {
  display: grid;
  gap: 18px;
}

.article-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-card-content {
  padding: 14px;
}

.article-card p {
  color: var(--muted);
  line-height: 1.45;
}

.sponsored {
  border-left: 5px solid var(--gold);
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.newsletter {
  background: var(--blue);
  color: var(--paper);
}

.newsletter input {
  width: 100%;
  border: 1px solid transparent;
  padding: 12px;
  margin: 8px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 34px;
  padding: 30px 0 56px;
}

.article-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.article-header h1 {
  color: var(--blue);
}

.article-meta {
  color: var(--muted);
  font-size: 14px;
}

.article-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.72;
}

.article-body p {
  margin: 0 0 22px;
}

.footer {
  margin-top: 40px;
  background: var(--blue);
  color: var(--paper);
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}

.admin-shell {
  min-height: 100vh;
  background: #f1eee7;
  padding: 32px 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 11px;
}

.form-grid textarea {
  min-height: 160px;
  resize: vertical;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 900px) {
  .hero-grid,
  .layout,
  .article-layout,
  .footer-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .top-strip .container {
    flex-direction: column;
    gap: 4px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
  }

  .hero-card img {
    height: 240px;
  }

  .hero-content,
  .panel {
    padding: 16px;
  }

  .article-body {
    font-size: 18px;
  }
}
