:root {
  --green: #005c18;
  --green-dark: #003f10;
  --ink: #061033;
  --muted: #404040;
  --line: #cfd6df;
  --gold: #ffd21a;
  --panel: #ffffff;
  --deep: #001a07;
}

* {
  box-sizing: border-box;
}

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

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

.page {
  width: min(calc(100% - 96px), 1220px);
  margin: 0 auto;
  background: #fff;
  border-left: 2px solid #0c3b42;
  border-right: 2px solid #0c3b42;
}

.masthead {
  background: var(--green);
  padding: 0;
}

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

.menu {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2vw, 18px);
  flex-wrap: wrap;
  padding: 9px 10px;
  border-top: 2px solid #dfe8d8;
  border-bottom: 2px solid #dfe8d8;
  color: var(--green-dark);
  font-size: clamp(0.72rem, 1.6vw, 0.9rem);
  font-weight: 700;
}

main {
  padding: 12px 12px 18px;
}

.welcome-row {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}

.welcome-copy h1 {
  margin: 0;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: 0.95;
}

.welcome-copy p {
  margin: 7px 0 0;
  color: #222;
  font-size: clamp(0.82rem, 1.8vw, 1rem);
  line-height: 1.28;
}

.welcome-copy .lead {
  color: #283047;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.02rem, 2.4vw, 1.26rem);
}

.action-stack {
  display: grid;
  gap: 8px;
}

.action {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid #aab6b7;
  background: #f9fbfb;
  color: var(--green-dark);
}

.action-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.action-icon {
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.action strong,
.action small {
  display: block;
}

.action strong {
  font-size: clamp(0.98rem, 2.4vw, 1.25rem);
}

.action small {
  margin-top: 2px;
  font-size: clamp(0.7rem, 1.5vw, 0.84rem);
}

.section-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}

.feature-pair {
  border-bottom: 2px solid #b9c7c2;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.feature-pair::after {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  background: #dce5e2;
}

.feature-card {
  min-width: 0;
}

.feature-card h2 {
  margin: 0 0 4px;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 1.65vw, 1.25rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.feature-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #041b42;
  border: 1px solid #142f32;
}

.visual-pair {
  align-items: stretch;
  margin-top: 14px;
}

.image-card {
  height: clamp(170px, 28vw, 245px);
  background: #061006;
  border: 1px solid #0b3420;
  overflow: hidden;
}

.image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #061006;
}

.small-blocks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #030303;
  gap: 6px;
  padding: 6px;
}

.mini-card {
  display: block;
  min-height: 0;
  padding: 0;
  background: #002f12;
  border: 1px solid #004d65;
  color: #fff;
}

.mini-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.8 / 1;
  object-fit: contain;
  background: #0a0a0a;
}

.multimedia-title {
  margin: 12px 0 6px;
  padding: 8px 12px;
  background: #001f0b;
  border: 1px solid #004d65;
  text-align: center;
}

.multimedia-title h2 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.media-card {
  display: flex;
  align-items: stretch;
  min-width: 0;
  min-height: 190px;
  overflow: hidden;
  color: #f7fbf5;
  text-decoration: none;
  background: #062412;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 36, 16, 0.14);
}

.media-visual {
  display: block;
  flex: 0 0 32%;
  min-width: 180px;
  max-width: 250px;
  background: #001f0b;
}

.media-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 22px 22px;
}

.media-heading {
  color: #fffbe1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  font-weight: 700;
  line-height: 1.14;
}

.media-card:hover,
.media-card:focus-visible {
  border-color: #d8b01f;
  box-shadow: 0 4px 12px rgba(0, 36, 16, 0.22);
}

.lower-pair {
  border-top: 2px solid #b9c7c2;
  padding-top: 14px;
  margin-top: 16px;
  margin-bottom: 10px;
}

.lower-pair::before {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  background: #dce5e2;
  order: -1;
}

.plain-image-card {
  border: 1px solid var(--line);
  background: #fff;
  min-height: 128px;
}

.plain-image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.verse-widget-card {
  overflow: hidden;
}

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

.footer {
  padding: 16px 24px 22px;
  background: var(--green);
  color: #d8f0dc;
  font-size: clamp(0.64rem, 1.4vw, 0.82rem);
  line-height: 1.35;
  text-align: center;
}

.footer p {
  max-width: 650px;
  margin: 0 auto 8px;
}

.footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .page {
    width: 100%;
    border: 0;
  }

  main {
    padding: 10px;
  }

  .welcome-row,
  .section-pair {
    grid-template-columns: 1fr;
  }

  .feature-card img {
    aspect-ratio: 1.15 / 1;
  }

  .small-blocks {
    grid-template-columns: 1fr;
  }
}
