:root {
  --serif: "Playfair Display", serif;
  --sans: "Inter", system-ui, sans-serif;
  --text: #111;
  --muted: #777;
  --max-width: 1080px;
  --article-max-width: 760px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Reset-ish */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  background: #ffffff;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.grid a, .lead-story a {
  text-decoration: none;
}

.grid a:hover, .lead-story a:hover {
  text-decoration: underline;
}


/* Generic page wrapper */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3.5rem;
}

/* On article pages, use a narrower column */
.article-page .page {
  max-width: var(--article-max-width);
  padding-top: 2.5rem;
}

/* ================= LOGO / MASTHEAD ================= */

.logo-hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.logo-image {
  width: 100%;
  margin-bottom: 1rem;
}

.article-page .logo-hero {
  margin-bottom: 2.5rem;
}

.logo-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-tagline {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================= HOMEPAGE ================= */

/* Lead story (center feature) */
.lead-story {
  text-align: center;
  margin-bottom: 3.2rem;
}

.lead-image-wrapper {
  max-width: 660px;
  margin: 0 auto 1.4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lead-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.lead-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.lead-summary {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Two-column grid of stories */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.story-card {
  display: block;
}

.story-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.7rem;
}

.story-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.story-card:hover .story-image {
  transform: scale(1.04);
}

.story-headline {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

.story-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ================= ARTICLE PAGE ================= */

.article-page a:hover {
  text-decoration: underline;
}

/* Back link */
.back-link {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.back-arrow {
  font-size: 1rem;
  line-height: 1;
}

/* Article header */
.article-header {
  margin-bottom: 1.6rem;
}

.article-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.article-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Main image */
.article-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.8rem 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.article-image {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-caption {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.7rem 0.9rem 0.9rem;
  background: #fafafa;
}

/* Article body */
.article-body {
  font-size: 1rem;
  color: #222;
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.article-body a {
  color: blue;
}

.article-body p + p {
  margin-top: 1.1rem;
}

.article-body .lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: #333;
}

.article-body h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 2rem 0 0.7rem;
}

.article-body ul {
  margin: 0.4rem 0 1.2rem 1.15rem;
  padding-left: 0.3rem;
  font-size: 0.98rem;
}

.article-body li + li {
  margin-top: 0.4rem;
}

/* ================= FOOTER (SHARED) ================= */

footer {
  border-top: 1px solid #e5e5e5;
  padding-top: 1.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.article-page footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.publisher {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}


.yt-thumb {
  position: relative;
  cursor: pointer;
  display: block;
}

.yt-thumb img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* Play button circle */
.yt-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin-left: -34px;
  margin-top: -24px;
  background: rgba(0,0,0,0.75);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Play triangle */
.yt-play-button::before {
  content: "";
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}

/* Hover effect */
.yt-thumb:hover .yt-play-button {
  background: #ff0000;
}