*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2a4a;
  --red: #c0392b;
  --light-gray: #f4f4f4;
  --mid-gray: #ddd;
  --dark-gray: #555;
  --text: #222;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

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

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--navy);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: #ccc; margin-left: 14px; }
.top-bar a:hover { color: #fff; }

/* ---- HEADER / MASTHEAD ---- */
.masthead {
  text-align: center;
  padding: 22px 0 14px;
  border-bottom: 4px double var(--navy);
}
.masthead h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  letter-spacing: 2px;
  color: var(--navy);
  text-transform: uppercase;
}
.masthead .tagline {
  font-style: italic;
  color: var(--dark-gray);
  font-size: 0.95rem;
  margin-top: 2px;
}

/* ---- NAV ---- */
.main-nav {
  background: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.main-nav li a {
  display: block;
  color: #fff;
  padding: 10px 18px;
  transition: background .2s;
}
.main-nav li a:hover,
.main-nav li a.active {
  background: var(--red);
}

/* ---- CONTAINER ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ---- BREAKING BANNER ---- */
.breaking {
  background: var(--red);
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breaking .container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.breaking-label {
  background: #fff;
  color: var(--red);
  padding: 2px 10px;
  font-size: 0.75rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.breaking-scroll {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.breaking-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 22s linear infinite;
}
@keyframes scroll-left {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ---- HERO ---- */
.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--mid-gray);
}
.hero-main img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  background: var(--mid-gray);
}
.hero-main h2 {
  font-size: 1.75rem;
  margin: 12px 0 8px;
  line-height: 1.25;
}
.hero-main h2 a:hover { color: var(--red); }
.hero-main .excerpt {
  color: var(--dark-gray);
  font-size: 1rem;
}
.hero-sidebar { border-left: 1px solid var(--mid-gray); padding-left: 24px; }
.hero-sidebar .side-story { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--mid-gray); }
.hero-sidebar .side-story:last-child { border-bottom: none; }
.hero-sidebar h3 { font-size: 1.05rem; line-height: 1.3; }
.hero-sidebar h3 a:hover { color: var(--red); }
.hero-sidebar .meta { font-family: Arial, sans-serif; font-size: 0.75rem; color: var(--dark-gray); margin-top: 4px; text-transform: uppercase; }

/* ---- SECTION HEADER ---- */
.section-header {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  border-bottom: 3px solid var(--navy);
  padding-bottom: 6px;
  margin: 28px 0 18px;
}

/* ---- ARTICLE GRID ---- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--mid-gray);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--mid-gray);
}
.card h3 {
  font-size: 1.05rem;
  margin: 10px 0 6px;
  line-height: 1.3;
}
.card h3 a:hover { color: var(--red); }
.card .excerpt {
  font-size: 0.9rem;
  color: var(--dark-gray);
}
.card .meta {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-top: 6px;
}

/* ---- WEATHER STRIP ---- */
.weather-strip {
  background: var(--light-gray);
  padding: 14px 0;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  margin: 24px 0;
  border-radius: 4px;
}
.weather-strip .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}
.weather-strip strong { color: var(--navy); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  color: #ccc;
  padding: 30px 0 18px;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  margin-top: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-grid h4 {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #334;
  color: #888;
}

/* ---- ARTICLE PAGE ---- */
.article-page {
  max-width: 740px;
  margin: 0 auto;
  padding: 30px 16px 50px;
}
.article-page .category-label {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  font-weight: 700;
}
.article-page h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 10px 0 14px;
}
.article-page .byline {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--dark-gray);
  border-bottom: 1px solid var(--mid-gray);
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.article-page .hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  background: var(--mid-gray);
  margin-bottom: 8px;
}
.article-page .img-caption {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 22px;
}
.article-page p {
  margin-bottom: 18px;
  font-size: 1.08rem;
  line-height: 1.75;
}
.article-page blockquote {
  border-left: 4px solid var(--red);
  padding: 10px 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--dark-gray);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .top-bar { font-size: 0.65rem; padding: 4px 0; }
  .masthead { padding: 10px 0 8px; border-bottom-width: 2px; }
  .masthead h1 { font-size: 1.4rem; letter-spacing: 1px; }
  .masthead .tagline { font-size: 0.7rem; }
  .main-nav ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .main-nav li a { padding: 7px 12px; font-size: 0.75rem; white-space: nowrap; }
  .hero { grid-template-columns: 1fr; }
  .hero-sidebar { border-left: none; padding-left: 0; border-top: 1px solid var(--mid-gray); padding-top: 20px; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
