/* 508ministry.com /contact/ (2026-11-22)
   Contact 508 Ministry + Full 18-row Bible Emergency Numbers lifeline block.
   Extends /wearables/wr.css navy-and-gold language with self-hosted Cormorant + Figtree. Scoped to .ct */

.ct {
  font-family: 'Figtree', Inter, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.ct h1, .ct h2, .ct h3 {
  font-family: 'Cormorant', Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Breadcrumb */
.ct-crumb {
  background: var(--navy2);
  border-bottom: 1px solid rgba(240, 205, 120, .2);
  color: #d7e0ec;
  font-size: 13.5px;
}
.ct-crumb .wr-in {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  flex-wrap: wrap;
}
.ct-crumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold2);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 4px;
}
.ct-crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ct-crumb span[aria-hidden] { opacity: .55; }

/* Hero */
.ct-hero {
  position: relative;
  overflow: hidden;
  background: #0b1626;
  color: #f8fafc;
}
.ct-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ct-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: .24;
}
.ct-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(10, 20, 36, .95) 0%, rgba(11, 22, 38, .86) 55%, rgba(11, 22, 38, .76) 100%);
}
.ct-hero .wr-in {
  position: relative;
  z-index: 2;
  padding-top: clamp(46px, 5.5vw, 76px);
  padding-bottom: clamp(46px, 5.5vw, 76px);
}
.ct-hero-in {
  max-width: 780px;
}
.ct-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.07;
  color: #ffffff;
}
.ct-hero-lede {
  margin: 16px 0 0;
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.65;
  color: #dbe5f1;
  max-width: 60ch;
}
.ct-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.ct-hero-cta a {
  min-height: 48px;
}

/* Contact options grid */
.ct-opts {
  background: #f7f1e3;
}
.ct-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.ct-card {
  background: #ffffff;
  border: 1px solid rgba(15, 29, 51, .12);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(11, 22, 38, .06);
}
.ct-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ct-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0f2038;
  color: #f0cd78;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.ct-ic svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ct-card-k {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8a641d;
}
.ct-card h3 {
  margin: 2px 0 0;
  font-size: 26px;
  line-height: 1.15;
  color: #0b1626;
}
.ct-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: #334155;
}
.ct-card-meta {
  font-size: 13.5px;
  color: #475569;
}
.ct-card-act {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ct a.ct-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0f2038;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.ct a.ct-link-btn:hover {
  background: #173054;
  color: #ffffff;
  transform: translateY(-1px);
}
.ct a.ct-link-btn.gold {
  background: #d4a84b;
  color: #0b1626;
}
.ct a.ct-link-btn.gold:hover {
  background: #e2bc66;
  color: #0b1626;
}
.ct a.ct-link-btn.outline {
  background: transparent;
  color: #0f2038;
  border: 1.5px solid rgba(15, 32, 56, .28);
}
.ct a.ct-link-btn.outline:hover {
  border-color: #0f2038;
  color: #0f2038;
  background: rgba(15, 32, 56, .05);
}
.ct-link-btn:focus-visible,
.ct-em-row:focus-visible,
.ct-em-cta:focus-visible {
  outline: 2px solid #f0cd78;
  outline-offset: 3px;
}

/* Full 18-row Bible Emergency Numbers section */
.ct-em-sec {
  background: #0b1626;
  color: #f3f6fb;
  border-top: 1px solid rgba(212, 168, 75, .32);
}
.ct-em-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  border: 1px solid rgba(212, 168, 75, .36);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.ct-em-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(212, 168, 75, .24);
}
.ct-em-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f0cd78;
}
.ct-em-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4a84b;
  box-shadow: 0 0 0 4px rgba(212, 168, 75, .22);
}
.ct-em-head h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: .04em;
  color: #ffffff;
}
.ct-em-human {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #d7e2f0;
}
.ct-em-human a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f0cd78;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ct-em-intro {
  margin: 20px 0 0;
  font-size: 16.5px;
  line-height: 1.68;
  color: #dce5f2;
  max-width: 74ch;
}

/* 18 rows: 2 columns at desktop, 1 column at <= 560px */
.ct-em-grid {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}
.ct-em-grid li {
  margin: 0;
  padding: 0;
  min-width: 0;
}
.ct-em-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(11, 22, 38, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  text-decoration: none;
  color: #ffffff;
  transition: border-color .18s, background .18s, transform .15s;
  box-sizing: border-box;
  width: 100%;
}
.ct-em-row:hover {
  border-color: rgba(240, 205, 120, .75);
  background: rgba(212, 168, 75, .12);
  transform: translateY(-1px);
}
.ct-em-state {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #f0cd78;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
}
.ct-em-ref-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  flex-shrink: 0;
}
.ct-em-ref {
  font-size: 15.5px;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
}
.ct-em-ext {
  width: 15px;
  height: 15px;
  color: rgba(240, 205, 120, .78);
  flex: none;
}

/* Bottom lifeline bar + wallet card CTA */
.ct-em-foot {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(212, 168, 75, .24);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 22px;
}
.ct-em-tagline {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: #e6eef8;
  font-weight: 500;
}
.ct-em-tagline span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: #b7c6db;
  font-weight: 400;
}
.ct-em-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.ct a.ct-em-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #d4a84b;
  color: #0b1626;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s, transform .15s;
}
.ct a.ct-em-cta:hover {
  background: #e2bc66;
  color: #0b1626;
  transform: translateY(-1px);
}
.ct a.ct-em-cta.secondary {
  background: transparent;
  color: #f0cd78;
  border: 1.5px solid rgba(240, 205, 120, .55);
}
.ct a.ct-em-cta.secondary:hover {
  background: rgba(240, 205, 120, .12);
  color: #f0cd78;
}

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

@media (max-width: 560px) {
  .ct-em-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ct-em-box {
    padding: 22px 16px;
    border-radius: 16px;
  }
  .ct-em-row {
    min-height: 50px;
    padding: 12px 14px;
    gap: 10px;
  }
  .ct-em-state {
    font-size: 13px;
    letter-spacing: .07em;
  }
  .ct-em-ref {
    font-size: 15px;
  }
  .ct-hero-cta a,
  .ct-em-actions a {
    width: 100%;
  }
  .ct-card {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ct-link-btn,
  .ct-em-row,
  .ct-em-cta {
    transition: none;
  }
  .ct-link-btn:hover,
  .ct-em-row:hover,
  .ct-em-cta:hover {
    transform: none;
  }
}
