/* ================================
   RESET & BASE TYPOGRAPHY
   ================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --color-dark:    #2c3e50;
  --color-mid:     #34495e;
  --color-light:   #f8f9fa;
  --color-accent:  #8d2343;
  --color-muted:   #7f8c8d;
  --color-success: #28a745;
  --font-serif:    Georgia, serif;
  --font-sans:     'Segoe UI', Roboto, sans-serif;
  --max-width:     800px;
}
body {
  font-family: var(--font-sans);
  background: var(--color-light);
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

/* ================================
   NAVIGATION
   ================================ */
.site-header .navbar-brand {
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom:0;
}
.site-header .nav-link {
  margin-left: 1rem;
  color: #f8f9fa !important;
  font-size:0.8rem;
}
.site-header .nav-link:hover {
  color: #00bcd4 !important;
}

/* ================================
   HERO
   ================================ */
.hero {
  background: var(--color-dark);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem 5rem;
}
.hero .container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-button {
  margin-top: 1.5rem;
}
.cta-button .btn {
  width: 100%;
  max-width: 300px;
}

/* ================================
   WHAT-IS ARTICLE
   ================================ */
.what-is {
  background: #fff;
  padding: 4rem 1rem 5rem;
  text-align: left;
}
.what-is .container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.what-is .section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.what-is .highlight {
  color: var(--color-accent);
}
.what-is .lead {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 2rem;
}
.what-is section {
  margin-bottom: 3rem;
}
.what-is h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.what-is p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 1rem auto;
}
.pull-quote {
  border-left: 4px solid var(--color-accent);
  padding-left: 1rem;
  font-style: italic;
  color: #555;
  font-family: var(--font-serif);
  max-width: 650px;
  margin: auto 2.5rem;
}
.pull-quote.bottom {
  margin-bottom: 3rem;
}
/* ——— “So what is it?” list ——— */
.key-points-list {
  list-style: none;
  padding-left: 2.5rem;
  margin: 1.5rem auto;
  max-width: var(--max-width);
}
.key-points-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.key-points-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--color-accent);
  font-size: 1.2rem;
  line-height: 1;
}

/* ================================
   MINISTRIES CARDS
   ================================ */
.ministries {
  background: #f9fafc;
  padding: 4rem 1rem;
  text-align: center;
}
.ministries h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--color-dark);
}
.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-5px);
}
.card-body {
  padding: 1.5rem;
}
.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-dark);
}
.card-text {
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* ================================
   SUBSCRIPTION CONTAINER
   ================================ */
.subscription-container {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
  background: var(--color-mid);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
.footer-link {
  color: #fff;
  text-decoration: none;
  margin: 0 0.5rem;
}
.footer-link:hover {
  text-decoration: underline;
}
.footer-email {
  color: #00bcd4;
}
.footer-email:hover {
  color: #fff;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .key-points {
    grid-template-columns: 1fr 1fr;
  }
}

/* ================================
   ACCESSIBILITY / INTERACTION
   ================================ */

/* Make the skip link actually visible on focus */
.visually-hidden-focusable:focus,
.visually-hidden-focusable:active {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 1050;
  padding: 0.5rem 0.75rem;
  background: #000;
  color: #fff;
  border-radius: 0.25rem;
  text-decoration: none;
  outline: 2px solid #fff;
}

/* Strong, consistent focus outlines everywhere */
:focus-visible {
  outline: 3px solid #00bcd4;
  outline-offset: 2px;
}

/* Link states */
a {
  color: #0d6efd;
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover {
  text-decoration-thickness: 2px;
}

/* Buttons – ensure good contrast on outline variant */
.btn-outline-light {
  color: #ffffff;
  border-color: rgba(255,255,255,0.85);
}
.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: rgba(255,255,255,0.15);
  border-color: #ffffff;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* ================================
   NAVIGATION (active + hover)
   ================================ */
.site-header .nav-link.active,
.site-header .nav-link[aria-current="page"] {
  color: #00e0ff !important;
  font-weight: 600;
  position: relative;
}
.site-header .nav-link.active::after,
.site-header .nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  bottom: -0.25rem;
  height: 2px;
  background: #00e0ff;
  border-radius: 2px;
}
.site-header .navbar-brand:hover,
.site-header .navbar-brand:focus-visible {
  color: #00e0ff;
  text-decoration: none;
}

/* Tighter navbar spacing on small screens */
@media (max-width: 576px) {
  .site-header .nav-link {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }
}

/* ================================
   HERO (subtle lift + gradient)
   ================================ */
.hero {
  /* keep your dark base; add a gentle radial for depth */
  background: radial-gradient(ellipse at top, #2c3e50 0%, #233242 60%, #1f2b3a 100%);
}
.hero h1,
.hero p {
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}

/* CTA row spacing on mobile */
@media (max-width: 576px) {
  .cta-button .btn,
  .hero .btn {
    width: 100%;
  }
}

/* ================================
   WHAT-IS / PULL QUOTES
   ================================ */
.pull-quote {
  border-left: 4px solid var(--color-accent);
  padding-left: 1rem;
  font-style: italic;
  color: #333;
  font-family: var(--font-serif);
  max-width: 700px;
  margin: 1.5rem auto;
}
.pull-quote::before {
  content: "“";
  color: var(--color-accent);
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: middle;
  margin-right: 0.25rem;
}
.pull-quote.bottom {
  margin-bottom: 3rem;
}

/* ================================
   PARTICIPATE / CARDS (new section)
   ================================ */
.participate {
  background: #f7f9fb;
}
.participate h2 {
  color: var(--color-dark);
}
.participate .card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.participate .card:hover,
.participate .card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.participate .card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.participate .stretched-link {
  font-weight: 600;
  text-decoration: none;
}
.participate .stretched-link:hover,
.participate .stretched-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ================================
   PARTICIPATE / PRODUCT STATUS
   ================================ */

.participate .card-body {
  display: flex;
  flex-direction: column;
}

/* Shared card behaviour */
.participation-card {
  position: relative;
}

/* Small status label above each title */
.status-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Available products */
.participation-card--live {
  border: 2px solid rgba(40, 167, 69, 0.35) !important;
}

.status-badge--live {
  color: #176b2c;
  background: #e9f7ed;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.participation-card--live:hover,
.participation-card--live:focus-within {
  border-color: var(--color-success) !important;
}

/* Products still being developed */
.participation-card--coming {
  background: #f1f3f5;
  border: 1px dashed rgba(44, 62, 80, 0.28) !important;
  box-shadow: none;
}

.status-badge--coming {
  color: #58636d;
  background: #e2e6e9;
  border: 1px solid rgba(44, 62, 80, 0.14);
}

.participation-card--coming .card-text {
  color: #68747d;
}

/* Forthcoming cards should not look interactive */
.participate .participation-card--coming:hover,
.participate .participation-card--coming:focus-within {
  transform: none;
  box-shadow: none;
}

/* Align the final line across cards */
.card-action {
  display: block;
  padding-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.card-action--coming {
  color: var(--color-muted);
  font-weight: 500;
}

/* ================================
   LISTS (ticks)
   ================================ */
.key-points-list li {
  padding-left: 2rem;
}
.key-points-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--color-success);
  font-size: 1.1rem;
}

/* ================================
   FOOTER (contrast + spacing)
   ================================ */
.site-footer {
  background: #222a33; /* darker for better contrast */
}
.site-footer .footer-link {
  color: #e8f1f5;
}
.site-footer .footer-link:hover,
.site-footer .footer-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}
.site-footer small {
  opacity: 0.9;
}

/* ================================
   PAGE WIDTH / TYPE TWEAKS
   ================================ */
:root {
  --max-width-reading: 72ch;
}
.what-is p,
article p {
  max-width: var(--max-width-reading);
}
.what-is h2,
article h2 {
  max-width: var(--max-width-reading);
}

/* ================================
   UTILITIES
   ================================ */
.text-white-50 { color: rgba(255,255,255,0.65) !important; }

/* Center a readable column while keeping text left-aligned */
.prose {
  max-width: 72ch;          /* good reading measure */
  margin-inline: auto;      /* centers the block */
  padding-inline: 1rem;     /* breathing room on small screens */
}

/* Ensure headings/lists inside prose don't re-introduce odd widths */
.prose h1, .prose h2, .prose h3,
.prose p, .prose ul, .prose ol, .prose blockquote {
  margin-left: 0;
  margin-right: 0;
  max-width: none;          /* use the parent's 72ch */
}

/* Make CTA blocks align to the same column when desired */
.prose .prose-actions {
  display: flex;
  flex-direction: column;
  align-items: center;      /* center the button within the 72ch column */
  gap: 0.5rem;
  margin-top: 2rem;
}