:root {
  --navy: #142433;
  --gold: #bd9c5d;
  --cream: #f8f6f1;
  --white: #ffffff;
  --muted: #6d747b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

.topbar {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 9px;
  font-size: 10px;
  letter-spacing: 2px;
}

.header {
  max-width: 1200px;
  margin: auto;
  padding: 22px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: bold;
  white-space: nowrap;
}

.logo span,
em {
  color: var(--gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  font-size: 12px;
  font-weight: bold;
}

nav a:hover,
.read-link:hover {
  color: var(--gold);
}

.menu-btn {
  display: none;
}

.search-btn,
.button {
  background: var(--navy);
  color: white;
  padding: 12px 18px;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
}

.search-box {
  max-width: 1150px;
  margin: 0 auto 20px;
  padding: 0 20px;
  display: flex;
  gap: 10px;
}

.search-box[hidden] {
  display: none;
}

.search-box input {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 1px solid #ddd;
}

.search-box button {
  background: var(--navy);
  color: white;
  padding: 10px 18px;
  border: 0;
}

.hero {
  max-width: 1150px;
  margin: 25px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: white;
}

.hero-image {
  min-height: 440px;
  background:
    linear-gradient(#0001, #0001),
    url("https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?auto=format&fit=crop&w=1400&q=85")
    center / cover;
}

.hero-content {
  padding: 45px;
  align-self: center;
}

.category,
.eyebrow {
  display: block;
  color: #987941;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.5px;
}

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

h1 {
  font-size: clamp(35px, 4vw, 55px);
  margin: 15px 0;
}

h2 {
  font-size: 35px;
  margin: 8px 0 25px;
}

h3 {
  font-size: 22px;
}

.hero-content p,
.story-content p,
.news-row p,
.video-copy p,
.gif-ad p {
  color: var(--muted);
  font-size: 14px;
}

.hero-content .button {
  margin-top: 15px;
}

.ad-container,
.section {
  max-width: 1150px;
  margin: 0 auto;
  padding: 35px 20px;
}

.ad-label {
  display: block;
  text-align: center;
  color: #888;
  font-size: 10px;
  margin-bottom: 8px;
}

.ad-placeholder {
  border: 1px dashed #c8c1b5;
  text-align: center;
  padding: 20px;
  color: #777;
  background: #f0ede6;
}

.ad-placeholder p {
  font-size: 12px;
  margin-bottom: 0;
}

.section-heading {
  margin-bottom: 25px;
}

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

.story-card {
  background: white;
  overflow: hidden;
}

.story-card img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  display: block;
}

.story-content {
  padding: 22px;
}

.story-content h3 {
  font-size: 23px;
  margin: 12px 0;
}

.story-content p {
  font-size: 13px;
}

.read-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: bold;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

.news-section {
  padding-top: 55px;
  padding-bottom: 65px;
}

.news-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
  align-items: center;
  border-bottom: 1px solid #ded9cf;
  padding: 20px 0;
}

.news-row img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.news-row h3 {
  font-size: 26px;
  margin: 10px 0;
}

.video-section {
  background: var(--navy);
  color: white;
  padding: 60px max(25px, calc((100% - 1110px) / 2));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 45px;
}

.video-copy h2 {
  font-size: 38px;
}

.video-copy p {
  color: #d4d9dd;
}

.video-container {
  min-height: 300px;
  background:
    linear-gradient(#07131c77, #07131c77),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1100&q=80")
    center / cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 2px;
  font-size: 10px;
  cursor: pointer;
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.play-button {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  cursor: pointer;
  font-size: 20px;
}

.gif-ad {
  background: #e9e2d5;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 25px;
  padding: 30px;
  align-items: center;
}

.gif-ad h3 {
  font-size: 32px;
}

.gif-placeholder {
  min-height: 180px;
  background: linear-gradient(135deg, #d1bd95, #f6eedf);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #65532f;
}

.gif-placeholder p {
  font-size: 11px;
}

.newsletter {
  background: #eae5da;
  padding: 45px 20px;
  text-align: center;
}

.newsletter form {
  max-width: 500px;
  margin: 20px auto 10px;
  display: flex;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d5d0c5;
  background: white;
}

.newsletter button {
  background: var(--navy);
  color: white;
  padding: 12px 18px;
  border: 0;
  cursor: pointer;
}

#newsletterMessage {
  font-size: 12px;
}

footer {
  background: #101d29;
  color: white;
  text-align: center;
  padding: 45px 20px 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 25px 0;
  font-size: 12px;
}

footer p {
  color: #c0c7cd;
  font-size: 12px;
}

footer .copyright {
  border-top: 1px solid #35414a;
  padding-top: 18px;
}

@media (max-width: 900px) {
  .header {
    flex-wrap: wrap;
  }

  .menu-btn {
    display: block;
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    order: 5;
  }

  nav.open {
    display: flex;
  }

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

  .hero-image {
    min-height: 300px;
  }

  .hero-content {
    padding: 30px;
  }

  .video-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .header {
    padding: 18px 15px;
    gap: 12px;
  }

  .logo {
    font-size: 26px;
  }

  .search-btn {
    padding: 10px;
  }

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

  .story-card img {
    aspect-ratio: 1.6;
  }

  .news-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-row img {
    height: 220px;
  }

  .video-section {
    padding: 40px 20px;
  }

  .video-container {
    min-height: 220px;
  }

  .gif-ad {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .newsletter form {
    flex-direction: column;
    gap: 8px;
  }

  .newsletter button {
    padding: 14px;
  }

  h2 {
    font-size: 30px;
  }
}

/* ---------- Dynamic content (admin-managed) ---------- */

.gif-placeholder img {
  max-width: 100%;
  max-height: 260px;
  display: block;
}

.ad-container ins.adsbygoogle {
  display: block;
  min-height: 90px;
}

.empty-stories {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 30px;
}

#footerContact a {
  color: var(--gold);
}

/* Article page */
.article {
  max-width: 820px;
  margin: 25px auto 60px;
  padding: 0 20px;
}

.article-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
  margin: 20px 0;
}

.article-body {
  background: white;
  padding: 35px;
  font-size: 17px;
  line-height: 1.8;
}

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

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

.back-link {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: bold;
  border-bottom: 1px solid var(--gold);
}

@media (max-width: 650px) {
  .article-body {
    padding: 22px;
    font-size: 16px;
  }
}
