:root {
  --page: #f4f1ea;
  --paper: #fffdf8;
  --ink: #151515;
  --muted: #5c5c5c;
  --r2-blue: #00133d;
  --line: #00133d;
  --line-soft: rgba(0, 19, 61, 0.2);
  --black: #00133d;
  --card: #242424;
  --card-text: #f7f2df;
  --gold: #d7b84b;
  --red: #7c1f2b;
  --blue: #00133d;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header,
.page-shell,
.site-footer {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header {
  padding: 0;
  background: var(--paper);
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

.masthead {
  display: block;
  padding: 0;
  background: var(--r2-blue);
  line-height: 0;
}

.masthead-link,
.masthead-link:visited,
.masthead-link:hover,
.masthead-link:focus {
  color: inherit;
  text-decoration: none;
}

.masthead-image {
  display: block;
  width: 100%;
  height: auto;
}

.brand-mark {
  width: clamp(130px, 18vw, 230px);
  height: clamp(130px, 18vw, 230px);
  object-fit: contain;
  flex: 0 0 auto;
}

.masthead h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8.2rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.78;
}

.masthead > div {
  min-width: 0;
}

.masthead p {
  margin: 16px 0 0;
  padding-top: 8px;
  border-top: 3px solid rgba(255, 255, 255, 0.72);
  color: #ffff00;
  font-size: clamp(1.05rem, 2.2vw, 1.85rem);
  font-style: italic;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border-top: 4px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

.site-nav a,
.site-nav button,
.nav-parent {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  color: var(--blue);
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  font: inherit;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-dropdown:hover .nav-parent,
.nav-dropdown:focus-within .nav-parent {
  background: var(--line-soft);
  color: var(--r2-blue);
  outline: none;
}

.nav-dropdown {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-parent::after {
  content: "▾";
  font-size: 0.72em;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 150px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.dropdown-menu a {
  display: block;
  white-space: nowrap;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  display: block;
}

.edition-line {
  padding: 20px 18px 16px;
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
  text-align: center;
}

.edition-date {
  display: block;
  color: var(--r2-blue);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.edition-name {
  display: block;
  margin-top: 6px;
  color: var(--r2-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.published-line {
  padding: 0 18px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
}

.page-shell {
  padding: 24px 18px 36px;
  background: var(--paper);
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}

.section-label {
  color: var(--line);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editor-read {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #f8f9fb;
}

.editor-read h2,
.sponsor-card h2,
.devotional-card h2,
.verse-card h2 {
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.editor-read p {
  margin: 8px 0 0;
  font-size: 1.05rem;
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
  align-items: stretch;
}

.lead-story {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.86)),
    radial-gradient(circle at 20% 0%, rgba(215, 184, 75, 0.35), transparent 42%),
    var(--card);
  color: var(--card-text);
}

.lead-story.has-image {
  background: #181818;
}

.lead-image,
.lead-story.has-image::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lead-image {
  object-fit: cover;
}

.lead-story.has-image::after {
  content: "";
  background: linear-gradient(180deg, rgba(4, 12, 26, 0.05) 22%, rgba(4, 12, 26, 0.93) 100%);
}

.lead-content {
  position: relative;
  z-index: 1;
}

.story-source {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.84rem;
}

.lead-story h2 {
  max-width: 15ch;
  margin: 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.7vw, 3.35rem);
  line-height: 0.98;
}

.story-summary {
  max-width: 65ch;
  margin: 0 0 16px;
  font-size: clamp(0.95rem, 1.45vw, 1.08rem);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-link {
  color: var(--line);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.lead-story .read-link {
  color: var(--gold);
}

.sponsor-card,
.devotional-card,
.verse-card,
.news-section,
.resource-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: 18px;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.sponsor-card img {
  width: min(170px, 45vw);
  margin: 10px auto 12px;
}

.feature-card {
  padding: 0;
  overflow: hidden;
}

.feature-card a {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  align-items: stretch;
}

.feature-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--black);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.story-item a:hover {
  color: var(--red);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 26px;
}

.story-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.story-item {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.story-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.story-item a {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.12;
  text-decoration: none;
}

.story-meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.story-note {
  margin: 6px 0 0;
  color: #333;
}

.devotional-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.front-podcast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.podcast-highlight-section {
  margin-top: 26px;
}

.podcast-highlight-section > h2 {
  margin: 0;
  padding: 12px 18px;
  background: var(--r2-blue);
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.front-podcast-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  background: #fff;
  border: 2px solid var(--line);
  color: var(--r2-blue);
  text-align: center;
  text-decoration: none;
}

.world-radio-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.world-radio-card {
  align-self: start;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  line-height: 0;
}

.podcast-highlight-section .front-podcast-card {
  min-height: 380px;
}

.podcast-highlight-section .world-radio-card {
  min-height: 0;
}

.front-podcast-card h2 {
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.front-podcast-card h2 a {
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.front-podcast-card p {
  margin: 8px auto 0;
  max-width: 58ch;
  color: var(--ink);
  font-size: 1.05rem;
}

.podcast-card {
  min-height: 250px;
}

.podcast-directory-grid {
  align-items: stretch;
}

.podcast-directory-grid .front-podcast-card {
  min-height: 380px;
}

.world-radio-card h2,
.world-radio-card p {
  color: var(--r2-blue);
}

.verse-widget {
  margin-top: 12px;
  overflow: visible;
}

.verse-widget iframe {
  display: block;
  width: 100%;
  min-height: 270px;
  height: 270px;
  border: 0;
}

.site-footer {
  padding: 26px 18px;
  background: #000;
  border: 3px solid #063348;
  color: #ffff00;
  font-size: 1rem;
  line-height: 1.28;
  text-align: left;
}

.site-footer p {
  max-width: 980px;
  margin: 0 auto;
}

.site-footer p + p {
  margin-top: 10px;
}

.site-footer a {
  color: #ffd000;
  font-weight: 400;
  text-decoration: underline;
}

.footer-rule {
  width: min(360px, 60%);
  margin: 22px auto 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.static-page {
  max-width: 850px;
  margin: 0 auto;
}

.podcast-page {
  max-width: 1180px;
}

.static-page h2 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.static-page li + li {
  margin-top: 8px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.resource-card h3 {
  margin: 8px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.08;
}

.resource-card p {
  margin: 8px 0 0;
}

.content-section {
  margin-top: 28px;
}

.content-section h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  color: var(--blue);
}

.content-section h4 {
  margin: 18px 0 8px;
  font-size: 1.1rem;
  color: var(--blue);
}

.updated-line {
  color: var(--muted);
  font-weight: 700;
}

.host-line {
  color: var(--r2-blue);
  font-weight: 700;
}

.program-list {
  margin: 8px 0 0;
  padding-left: 20px;
}

.assembly-edition-line {
  padding-bottom: 18px;
}

.assemblies-page {
  max-width: 1180px;
}

.assembly-section {
  margin-top: 30px;
}

.assembly-section > h2 {
  margin: 6px 0 0;
  color: var(--r2-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.assembly-story-grid,
.assembly-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.assembly-story-card {
  min-height: 210px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line-soft);
}

.assembly-story-card h3 {
  margin: 8px 0;
  color: var(--r2-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.08;
}

.assembly-story-card h3 a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.assembly-story-card p {
  margin: 0;
}

.assembly-media-section {
  margin-top: 32px;
}

.assembly-media-section > h2 {
  margin: 0;
  padding: 12px 18px;
  background: var(--r2-blue);
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.assembly-media-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 160px;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--line);
  color: var(--r2-blue);
  text-decoration: none;
}

.assembly-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #eef1f7;
  border-right: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
}

.assembly-media-card > div:last-child {
  align-self: center;
  padding: 18px;
}

.assembly-media-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.08;
}

.assembly-media-card p {
  margin: 8px 0 0;
  color: var(--ink);
}

/* PCA General Assembly briefings */
.pca-ga-page,
.pca-briefing-page {
  padding-top: 28px;
}

.pca-ga-portals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 30px;
}

.pca-ga-portal {
  display: block;
  min-height: 190px;
  padding: 25px;
  background: var(--r2-blue);
  border-top: 6px solid var(--red);
  color: #fff;
  text-decoration: none;
}

.pca-ga-portal:hover,
.pca-ga-portal:focus-visible {
  background: #092a5d;
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.pca-ga-portal__label {
  color: #ffff00;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pca-ga-portal h3 {
  margin: 10px 0 12px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.03;
}

.pca-ga-portal p {
  margin: 0;
  color: #fff;
  font-size: 1.03rem;
  line-height: 1.45;
}

.pca-ga-page .section-title {
  margin: 28px 0 18px;
  color: var(--r2-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.pca-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.pca-brief-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
}

.pca-brief-card--reported {
  border-top-color: var(--r2-blue);
}

.pca-card-main {
  display: block;
  flex: 1;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
}

.pca-card-main:hover,
.pca-card-main:focus-visible {
  background: #f8f9fb;
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.pca-card-status {
  color: var(--red);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pca-card-report {
  margin-top: 18px;
  color: var(--r2-blue);
  font-weight: 800;
}

.pca-card-main h3,
.pca-briefing-page h2 {
  margin: 9px 0 14px;
  color: var(--r2-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.03;
}

.pca-card-main p,
.pca-briefing-page .editor-read > p {
  margin: 0;
  font-size: 1.04rem;
}

.pca-card-links,
.pca-briefing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--line-soft);
}

.pca-card-links a,
.pca-briefing-links a {
  color: var(--r2-blue);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .masthead {
    padding: 0;
  }

  .lead-grid,
  .story-list,
  .devotional-section,
  .front-podcast-grid,
  .resource-grid,
  .assembly-story-grid,
  .assembly-media-grid,
  .pca-ga-portals,
  .pca-card-grid {
    grid-template-columns: 1fr;
  }

  .lead-story,
  .sponsor-card {
    min-height: auto;
  }

  .feature-card a,
  .feature-card img {
    min-height: auto;
  }

}

@media (max-width: 560px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: 100%;
  }

  .masthead {
    padding: 0;
  }

  .brand-mark {
    width: 96px;
    height: 96px;
  }

  .masthead h1 {
    font-size: clamp(2.4rem, 13vw, 3.35rem);
  }

  .masthead p {
    margin-top: 10px;
    font-size: 1rem;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .page-shell {
    padding: 18px 12px 28px;
  }

  .verse-widget iframe {
    min-height: 310px;
    height: 310px;
  }
}
