/* 508 Ministry /impact/ Active Churches Hub & Automated Chain of Custody (2026-11-23)
   Self-hosted Cormorant + Figtree only. Sunlit coastal navy, warm parchment & burnished gold. */

.im-churches-hub {
  background:
    radial-gradient(960px 420px at 8% 0%, rgba(212, 168, 75, 0.14), transparent 64%),
    radial-gradient(760px 380px at 94% 12%, rgba(11, 31, 58, 0.06), transparent 60%),
    linear-gradient(180deg, #faf6ee 0%, #f4ede0 100%);
  border-top: 1px solid rgba(168, 124, 35, 0.24);
  border-bottom: 1px solid rgba(11, 31, 58, 0.12);
  padding: 52px 0 60px;
  color: #0b1f3a;
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  box-sizing: border-box;
}
.im-churches-hub *,
.im-churches-hub *::before,
.im-churches-hub *::after,
.im-custody-sec *,
.im-custody-sec *::before,
.im-custody-sec *::after {
  box-sizing: border-box;
}

.im-ch-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px 28px;
  margin-bottom: 22px;
}
.im-ch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #0b1f3a;
  color: #f3d483;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.im-ch-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.28);
  flex: 0 0 auto;
}
.im-ch-title {
  margin: 0 0 10px;
  font-family: Cormorant, Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #0b1f3a;
}
.im-ch-lead {
  margin: 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.62;
  color: #334155;
}
.im-ch-header-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Telemetry KPI Strip */
.im-ch-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 24px;
}
.im-ch-kpi {
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-top: 3px solid #d4a84b;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 8px 22px -16px rgba(11, 31, 58, 0.25);
}
.im-ch-kpi-val {
  display: block;
  font-family: Cormorant, Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.08;
  color: #0b1f3a;
}
.im-ch-kpi-lbl {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  line-height: 1.35;
}

/* Controls Bar: Filter Pills + Live Search */
.im-ch-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.13);
  border-radius: 16px;
  box-shadow: 0 10px 26px -18px rgba(11, 31, 58, 0.24);
}
.im-ch-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.im-ch-pill {
  appearance: none;
  border: 1px solid rgba(11, 31, 58, 0.18);
  background: #f8f5ee;
  color: #0b1f3a;
  font-family: Figtree, system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}
.im-ch-pill:hover {
  border-color: #a87c23;
  background: #fdf9f0;
}
.im-ch-pill.is-active {
  background: #0b1f3a;
  color: #ffffff;
  border-color: #0b1f3a;
  box-shadow: 0 6px 16px -10px rgba(11, 31, 58, 0.65);
}
.im-ch-pill-cnt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.1);
  color: inherit;
  font-size: 11.5px;
  font-weight: 700;
}
.im-ch-pill.is-active .im-ch-pill-cnt {
  background: rgba(212, 168, 75, 0.26);
  color: #f6dc93;
}

.im-ch-search-wrap {
  position: relative;
  flex: 1 1 260px;
  max-width: 360px;
}
.im-ch-search-ico {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #64748b;
  pointer-events: none;
}
.im-ch-search {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 999px;
  border: 1px solid rgba(11, 31, 58, 0.22);
  background: #faf8f4;
  color: #0b1f3a;
  font-family: Figtree, system-ui, sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.im-ch-search:focus {
  border-color: #a87c23;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.22);
}

/* Tier Subheadings */
.im-ch-tier-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(11, 31, 58, 0.12);
}
.im-ch-tier-bar h3 {
  margin: 0;
  font-family: Cormorant, Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #0b1f3a;
}
.im-ch-tier-note {
  font-size: 13px;
  font-weight: 600;
  color: #8a6417;
}

/* Grid Layouts */
.im-ch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.im-ch-grid-partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

/* Church Card Base */
.im-cc {
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px -22px rgba(11, 31, 58, 0.32);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.im-cc:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px -22px rgba(11, 31, 58, 0.4);
  border-color: rgba(168, 124, 35, 0.45);
}

/* Tier 1 Featured Goods Request Card (Horizontal Desktop Split) */
.im-cc-goods {
  border: 1.5px solid rgba(212, 168, 75, 0.65);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
}
.im-cc-media {
  position: relative;
  min-height: 215px;
  background: linear-gradient(150deg, #0b1f3a 0%, #173a66 100%);
  overflow: hidden;
}
.im-cc-partner .im-cc-media {
  height: 185px;
  min-height: 185px;
}
.im-cc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.im-cc-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0) 0%, rgba(11, 31, 58, 0.78) 100%);
  pointer-events: none;
}
.im-cc-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}
.im-cc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.im-cc-badge-gold {
  background: #d4a84b;
  color: #0b1f3a;
}
.im-cc-badge-blue {
  background: rgba(14, 116, 204, 0.94);
  color: #ffffff;
}
.im-cc-badge-navy {
  background: rgba(11, 31, 58, 0.88);
  color: #f3d483;
  border: 1px solid rgba(212, 168, 75, 0.45);
}
.im-cc-badge-emerald {
  background: rgba(6, 95, 70, 0.92);
  color: #ecfdf5;
}
.im-cc-media-foot {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.im-cc-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.im-cc-partner .im-cc-body {
  padding: 16px 18px 16px;
  gap: 10px;
  flex: 1 1 auto;
}
.im-cc-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px 14px;
}
.im-cc-name {
  margin: 0;
  font-family: Cormorant, Georgia, serif;
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.12;
  color: #0b1f3a;
}
.im-cc-partner .im-cc-name {
  font-size: 24px;
}
.im-cc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 4px;
  font-size: 13px;
  color: #475569;
  font-weight: 500;
}
.im-cc-meta strong {
  color: #0b1f3a;
  font-weight: 600;
}
.im-cc-ref {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f4ede0;
  border: 1px solid rgba(168, 124, 35, 0.35);
  color: #7c5611;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.im-cc-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.56;
  color: #334155;
}

/* Founding First Pledge Live Progress Meter */
.im-cc-meter {
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b1f3a 0%, #13305a 100%);
  color: #f8fafc;
  border: 1px solid rgba(212, 168, 75, 0.38);
}
.im-cc-meter-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.im-cc-meter-delivered {
  color: #f4d57f;
}
.im-cc-meter-open {
  color: #cbd5e1;
}
.im-cc-bar {
  height: 10px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  display: flex;
}
.im-cc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #d4a84b 0%, #f5d882 100%);
  border-radius: 999px 0 0 999px;
  transition: width 0.5s ease;
}
.im-cc-bar-donor {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  transition: width 0.5s ease;
}
.im-cc-meter-sub {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #dbeafe;
}

/* Inline Radio Spotlight Mini-Player */
.im-cc-audio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 11px;
  background: #faf6ee;
  border: 1px solid rgba(168, 124, 35, 0.28);
}
.im-cc-play {
  appearance: none;
  border: none;
  background: #0b1f3a;
  color: #f4d57f;
  font-family: Figtree, system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.16s ease, transform 0.14s ease;
}
.im-cc-play:hover {
  background: #173a66;
}
.im-cc-play.is-playing {
  background: #a87c23;
  color: #ffffff;
}
.im-cc-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.im-cc-eq i {
  display: block;
  width: 2.5px;
  height: 5px;
  background: currentColor;
  border-radius: 2px;
}
.im-cc-play.is-playing .im-cc-eq i:nth-child(1) { animation: imEq 0.6s infinite alternate; }
.im-cc-play.is-playing .im-cc-eq i:nth-child(2) { animation: imEq 0.45s 0.15s infinite alternate; }
.im-cc-play.is-playing .im-cc-eq i:nth-child(3) { animation: imEq 0.7s 0.08s infinite alternate; }
@keyframes imEq {
  from { height: 3px; }
  to { height: 12px; }
}
.im-cc-audio-meta {
  font-size: 12.5px;
  color: #334155;
  font-weight: 500;
}

/* Action-Packed Direct Connection Button Bar */
.im-cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.im a.im-cbtn,
a.im-cbtn,
button.im-cbtn,
.im-cbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 10px;
  font-family: Figtree, system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid rgba(11, 31, 58, 0.2);
  background: #ffffff;
  color: #0b1f3a !important;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.14s ease;
}
.im a.im-cbtn:hover,
a.im-cbtn:hover,
button.im-cbtn:hover,
.im-cbtn:hover {
  background: #f5efe3;
  border-color: #a87c23;
  color: #0b1f3a !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}
.im a.im-cbtn-primary,
a.im-cbtn-primary,
button.im-cbtn-primary,
.im-cbtn-primary {
  background: linear-gradient(135deg, #d4a84b 0%, #e4be68 100%) !important;
  border-color: #b78a2e !important;
  color: #0b1f3a !important;
  box-shadow: 0 6px 16px -10px rgba(168, 124, 35, 0.85);
}
.im a.im-cbtn-primary:hover,
a.im-cbtn-primary:hover,
button.im-cbtn-primary:hover,
.im-cbtn-primary:hover {
  background: linear-gradient(135deg, #c69838 0%, #dab153 100%) !important;
  border-color: #966e1d !important;
  color: #0b1f3a !important;
}
.im a.im-cbtn-navy,
a.im-cbtn-navy,
button.im-cbtn-navy,
.im-cbtn-navy {
  background: #0b1f3a !important;
  border-color: #0b1f3a !important;
  color: #ffffff !important;
}
.im a.im-cbtn-navy:hover,
a.im-cbtn-navy:hover,
button.im-cbtn-navy:hover,
.im-cbtn-navy:hover {
  background: #173a66 !important;
  border-color: #173a66 !important;
  color: #ffffff !important;
}
.im a.im-cbtn-share,
button.im-cbtn-share,
.im-cbtn-share {
  background: #f8f5ee !important;
  border-style: dashed !important;
  border-color: rgba(168, 124, 35, 0.65) !important;
  color: #7c5611 !important;
}
.im a.im-cbtn-share:hover,
button.im-cbtn-share:hover,
.im-cbtn-share:hover {
  background: #0b1f3a !important;
  border-style: solid !important;
  border-color: #0b1f3a !important;
  color: #f4d57f !important;
}
.im-cbtn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* Empty State & Network Footer Bar */
.im-ch-empty {
  text-align: center;
  padding: 36px 20px;
  background: #ffffff;
  border: 1px dashed rgba(11, 31, 58, 0.24);
  border-radius: 16px;
  color: #475569;
  font-size: 15px;
}
.im-ch-foot-bar {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #0b1f3a;
  color: #f8fafc;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(212, 168, 75, 0.42);
}
.im-ch-foot-bar p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #e2e8f0;
}
.im-ch-foot-bar strong {
  color: #f4d57f;
}
.im-ch-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* Share Toast */
.im-ch-toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 99999;
  background: #0b1f3a;
  color: #f8fafc;
  border: 1.5px solid #d4a84b;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: Figtree, system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.im-ch-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   SECTION 05: AUTOMATED CHAIN OF CUSTODY & LIVE PROVISIONING ENGINE
   ========================================================================= */
.im-custody-sec {
  background: #ffffff;
  border-top: 1px solid rgba(11, 31, 58, 0.1);
  border-bottom: 1px solid rgba(11, 31, 58, 0.1);
  padding: 58px 0 64px;
  color: #0b1f3a;
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.im-coc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a6f1b;
}
.im-coc-kicker b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: #0b1f3a;
  color: #f4d57f;
  font-size: 11px;
}
.im-coc-h2 {
  margin: 0 0 10px;
  font-family: Cormorant, Georgia, serif;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  color: #0b1f3a;
}
.im-coc-h2 em {
  color: #9a6f1b;
  font-style: italic;
}
.im-coc-lead {
  margin: 0 0 26px;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.65;
  color: #334155;
}

/* Two-Column Founding 38% vs Donor 62% Cards */
.im-coc-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.im-coc-card {
  border-radius: 18px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.im-coc-card-founding {
  background: linear-gradient(155deg, #0b1f3a 0%, #13305a 100%);
  color: #f8fafc;
  border: 1.5px solid rgba(212, 168, 75, 0.55);
  box-shadow: 0 18px 36px -22px rgba(11, 31, 58, 0.55);
}
.im-coc-card-donor {
  background: linear-gradient(180deg, #faf6ee 0%, #f3ebdc 100%);
  color: #0b1f3a;
  border: 1.5px solid rgba(168, 124, 35, 0.42);
}
.im-coc-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.im-coc-card-founding .im-coc-tag {
  background: #d4a84b;
  color: #0b1f3a;
}
.im-coc-card-donor .im-coc-tag {
  background: #0b1f3a;
  color: #f4d57f;
}
.im-coc-card h3 {
  margin: 0;
  font-family: Cormorant, Georgia, serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.15;
}
.im-coc-card-founding h3 { color: #ffffff; }
.im-coc-card-donor h3 { color: #0b1f3a; }
.im-coc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.im-coc-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.52;
}
.im-coc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d4a84b;
}
.im-coc-card-founding .im-coc-list li { color: #e2e8f0; }
.im-coc-card-founding .im-coc-list strong { color: #f6dc93; }
.im-coc-card-donor .im-coc-list li { color: #1e293b; }
.im-coc-card-donor .im-coc-list strong { color: #0b1f3a; }

/* 6-Step Live Provisioning & Chain of Custody Grid */
.im-coc-steps-head {
  margin: 0 0 14px;
  font-family: Cormorant, Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #0b1f3a;
}
.im-coc-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.im-coc-step {
  background: #faf8f4;
  border: 1px solid rgba(11, 31, 58, 0.13);
  border-top: 3px solid #0b1f3a;
  border-radius: 15px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.im-coc-step-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a6f1b;
}
.im-coc-step-num span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0b1f3a;
  color: #f4d57f;
  font-size: 12px;
}
.im-coc-step h4 {
  margin: 0;
  font-family: Cormorant, Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: #0b1f3a;
}
.im-coc-step p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.55;
  color: #334155;
}

.im-coc-seal {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 14px;
  background: #faf6ee;
  border-left: 4px solid #d4a84b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.im-coc-seal blockquote {
  margin: 0;
  font-family: Cormorant, Georgia, serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  color: #0b1f3a;
}
.im-coc-seal cite {
  display: block;
  margin-top: 4px;
  font-family: Figtree, system-ui, sans-serif;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  color: #8a6417;
}

/* Responsive Breakpoints (Tablet, Mobile 390px, and Dashboard Iframe) */
@media (max-width: 1024px) {
  .im-ch-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .im-cc-goods {
    grid-template-columns: 1fr;
  }
  .im-cc-goods .im-cc-media {
    height: 220px;
    min-height: 220px;
  }
  .im-coc-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 780px) {
  .im-ch-grid-partners,
  .im-coc-pillars,
  .im-coc-steps {
    grid-template-columns: 1fr;
  }
  .im-ch-search-wrap {
    max-width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 520px) {
  .im-churches-hub {
    padding: 34px 0 42px;
  }
  .im-ch-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .im-ch-kpi {
    padding: 11px 12px;
  }
  .im-ch-kpi-val {
    font-size: 23px;
  }
  .im-cc-body {
    padding: 15px 14px 14px;
  }
  .im-cc-actions {
    gap: 7px;
  }
  .im-cbtn {
    padding: 8px 11px;
    font-size: 12px;
  }
  .im-coc-card {
    padding: 18px 16px;
  }
  .im-ch-toast {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}



/* === APPLY FOR MATCHMAKING REDIRECT CARD (SUNLIT NEW VIBE) === */
.im-cc-matchmaking {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FAFF 58%, #FFFDF5 100%) !important;
  border: 1.5px solid rgba(212, 168, 56, 0.48) !important;
  box-shadow: 0 14px 34px rgba(18, 52, 108, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.im-cc-mm-banner {
  position: relative;
  padding: 22px 22px 20px;
  min-height: 162px;
  background: radial-gradient(circle at 86% 18%, rgba(245, 194, 73, 0.28), transparent 52%),
              linear-gradient(135deg, #EEF6FF 0%, #FFFFFF 52%, #FFF7DF 100%);
  border-bottom: 1px solid rgba(212, 168, 56, 0.26);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.im-cc-mm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.im-cc-badge-gold {
  background: linear-gradient(180deg, #F8D474 0%, #E7B438 100%);
  color: #16233E;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(184, 134, 34, 0.35);
}
.im-cc-badge-sky {
  background: rgba(255, 255, 255, 0.92);
  color: #1A56DB;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(26, 86, 219, 0.22);
}
.im-cc-mm-seal-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.im-cc-mm-seal {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(184, 134, 34, 0.24);
  background: #FFFFFF;
  padding: 2px;
}
.im-cc-mm-kicker {
  font-family: "Figtree", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #9A6B12;
  margin-bottom: 4px;
}
.im-cc-mm-hero {
  font-family: "Cormorant", Georgia, serif;
  font-size: 26px;
  line-height: 1.12;
  font-weight: 700;
  color: #0B1B3A;
}
.im-cbtn-mm-gold {
  background: linear-gradient(180deg, #F8D371 0%, #E6B334 100%) !important;
  color: #14223D !important;
  border: 1px solid #C99622 !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 16px rgba(212, 168, 56, 0.28) !important;
}
.im-cbtn-mm-gold:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}


.im-cc-matchmaking .im-cc-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  gap: 8px;
}
.im-cc-matchmaking .im-cc-actions {
  margin-top: auto;
  padding-top: 10px;
}

/* mg-20261126 */
@media (max-width: 900px) {
  .im-ch-kicker,
  .im-ch-kpi-lbl,
  .im-ch-pill,
  .im-ch-tier-note,
  .im-cc-badge,
  .im-cc-badge-gold,
  .im-cc-badge-sky,
  .im-cc-mm-kicker,
  .im-cc-media-foot,
  .im-cc-meta,
  .im-cc-ref,
  .im-cc-meter-head,
  .im-cc-meter-sub,
  .im-cc-play,
  .im-cc-audio-meta,
  .im-cbtn,
  .im-coc-kicker,
  .im-coc-tag,
  .im-coc-step-num,
  .im-coc-step p,
  .im-coc-seal cite {
    font-size: 14px !important;
  }
  .im-ch-search {
    font-size: 16px !important;
  }
  .im-ch-pill,
  .im-cbtn,
  .im-cc-play {
    min-height: 36px;
  }
}
/* /mg-20261126 */
