/* Designed sections shared by both ministries; each side supplies its own colors and display font. */
.side-ioi { --accent: #b3262a; --accent-deep: #6e1010; --accent-soft: #e9ecee; --ink: #1a1a1a; --muted: #5b5b5b; --dark: #0f0f10; --dark-2: #1a1a1c; --light: #f2f3f4; --line: #d3d8db; --shadow-tint: 0,0,0; --display-font: 'Montserrat', sans-serif; --display-weight: 700; --display-case: none; }
.side-soi { --accent: #F5A1A0; --accent-deep: #c26d6c; --accent-soft: #fbe9e8; --ink: #2b1c1c; --muted: #6a5a5a; --dark: #1f1b1b; --dark-2: #2a2424; --light: #faf6f4; --line: #ddd6d4; --shadow-tint: 120,60,60; --display-font: 'Aboreto', serif; --display-weight: 400; --display-case: uppercase; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gx { padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px); font-family: 'Cabin', sans-serif; }
.gx__wrap { max-width: 1200px; margin: 0 auto; }
.gx--dark { background: var(--dark); color: #fff; }
.gx--light { background: var(--light); color: var(--ink); }
.gx--blush { background: var(--accent-soft); color: var(--ink); }
.gx__eyebrow { margin: 0 0 12px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.gx--blush .gx__eyebrow { color: var(--accent-deep); }
.gx__title { margin: 0 auto 18px; text-align: center; font-family: var(--display-font); font-weight: var(--display-weight); text-transform: var(--display-case); font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; letter-spacing: .01em; text-wrap: balance; }
.gx__intro { max-width: 640px; margin: 0 auto; text-align: center; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; opacity: .85; text-wrap: balance; }

/* The journey: three numbered steps joined by a line. */
.gx-steps { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); counter-reset: step; position: relative; }
.gx-steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent) 15%, var(--accent) 85%, transparent); opacity: .5; }
.gx-step { position: relative; background: var(--dark-2); border: 1px solid rgba(255,255,255,.07); border-radius: 18px; padding: 28px 26px 30px; }
.gx-step__num {
  display: grid; place-items: center; width: 68px; height: 68px; margin: -62px auto 18px; border-radius: 50%;
  background: var(--dark); border: 2px solid var(--accent); color: #fff; font-family: var(--display-font); font-size: 24px; font-weight: 700;
  box-shadow: 0 0 0 6px var(--dark), 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent);
}
.gx-step__title { margin: 0 0 12px; text-align: center; font-family: 'Cabin', sans-serif; font-size: 22px; font-weight: 700; line-height: 1.25; color: #fff; }
.gx-step__lead { margin: 0 0 14px; text-align: center; font-size: 17px; font-weight: 600; line-height: 1.5; color: #c3c9cd; }
.side-soi .gx-step__lead { color: #f7b9b8; }
.gx-step__body p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.78); }
.gx-step__body p:last-child { margin-bottom: 0; }

/* Values: a two-column list of commitments. */
.gx-values { list-style: none; margin: clamp(32px, 5vw, 56px) auto 0; padding: 0; max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.gx-value { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 18px 20px; font-size: 18px; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(var(--shadow-tint),.06); }
.gx-value__icon { flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); }
.gx-value__icon svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Why join: three cards with icons. */
.gx-cards { list-style: none; margin: clamp(36px, 5vw, 60px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.gx-card { background: #fff; border-radius: 18px; padding: 32px 28px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 14px 34px rgba(0,0,0,.06); transition: transform .2s ease, box-shadow .2s ease; }
.gx-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 20px 44px rgba(0,0,0,.1); }
.gx-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); margin-bottom: 18px; }
.gx-card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gx-card__title { margin: 0 0 10px; font-family: 'Cabin', sans-serif; font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.gx-card p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--muted); }

@media (max-width: 900px) {
  .gx-steps { grid-template-columns: 1fr; gap: 54px; max-width: 560px; margin-inline: auto; }
  .gx-steps::before { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--accent) 6%, var(--accent) 94%, transparent); }
  .gx-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .gx-values { grid-template-columns: 1fr; }
}

/* ---------- Old builder sections, brought in line ---------- */
/* Intro photo-and-text: eyebrow-sized ministry name, generous text. */
.posts .post-image .post--title h2, .posts .post-image .post--title h1 { font-family: var(--display-font) !important; font-weight: var(--display-weight) !important; text-transform: var(--display-case); color: var(--ink) !important; }
.posts .post-image .post--title * { color: inherit !important; }
.posts .post-image .description, .posts .post-image .description * { color: var(--muted) !important; }
.posts .post-image .post-button--wrapper { justify-content: flex-start !important; }

/* Questions form: a card on the ministry's color. */
.posts .post-email_form { --ss-post-background-color: var(--accent-deep) !important; background: linear-gradient(135deg, #851a1a, #5c0e0e) !important; }
.side-soi .posts .post-email_form { background: linear-gradient(135deg, #e89a99, #c97d7c) !important; }
.posts .post-email_form .post--title h2, .posts .post-email_form .post--title h1 { font-family: var(--display-font) !important; text-transform: var(--display-case); }
.posts .post-email_form, .posts .post-email_form .post--title *, .posts .post-email_form .description * { color: #fff !important; }
.posts .post-email_form form { background: #fff; border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.posts .post-email_form input:not([type="submit"]), .posts .post-email_form textarea {
  width: 100%; border: 1.5px solid var(--line) !important; border-radius: 10px !important; padding: 13px 14px !important;
  font: 16px 'Cabin', sans-serif !important; color: #222 !important; background: #fff !important; box-shadow: none !important;
}
.posts .post-email_form input:focus, .posts .post-email_form textarea:focus { outline: none; border-color: var(--accent-deep) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent) !important; }
.posts .post-email_form input[type="submit"], .posts .post-email_form button[type="submit"] {
  width: 100%; min-height: 50px; border: 0 !important; border-radius: 999px !important; cursor: pointer;
  background: var(--ink) !important; color: #fff !important; font: 700 16px 'Cabin', sans-serif !important; letter-spacing: .02em;
}
.side-ioi .posts .post-email_form input[type="submit"], .side-ioi .posts .post-email_form button[type="submit"] { background: var(--accent) !important; }

/* Hero: a touch of depth behind the headline. */
.posts .post-hero_image .post--title h1, .posts .post-hero_image .post--title h2 { text-shadow: 0 2px 30px rgba(0,0,0,.35); }

/* Footer contact band */
footer .gwnf__cta { border-radius: 0; }
footer .gwnf__cta .gwnf__btn, footer .gwnf__cta a { border-radius: 999px; }

/* ---------- No word left alone on a line ---------- */
.site-container :is(h1, h2, h3, h4, h5, .gwnf__cta-title, .gx__title, .shop__title) { text-wrap: balance; }
.site-container :is(p, li, blockquote, .description) { text-wrap: pretty; }

/* ---------- Contact band before the footer: the ministry's own color, never the footer's dark ---------- */
footer .gwnf__cta { border-bottom: 0; }
.side-ioi footer .gwnf__cta { background: #851a1a; color: #fff; }
.side-ioi footer .gwnf__cta .gwnf__cta-title { color: #fff !important; }
.side-ioi footer .gwnf__cta .gwnf__btn--solid { background: #fff !important; color: #851a1a !important; }
.side-soi footer .gwnf__cta { background: #f5a1a0; color: #2b1c1c; }
.side-soi footer .gwnf__cta .gwnf__cta-title { color: #2b1c1c !important; }
.side-soi footer .gwnf__cta .gwnf__cta-text { opacity: .9; }
.side-soi footer .gwnf__cta .gwnf__btn--solid { background: #2b1c1c !important; color: #fff !important; }
/* A page that already ends with the contact form doesn't need the band too. */
.site-container:has(.posts > .post-container:last-child .post-email_form) footer .gwnf__cta { display: none; }

/* ---------- Iron on Iron (the whole community): deep navy and silver ---------- */
.side-hub { --accent: #c3cad3; --accent-deep: #2e4a7a; --accent-soft: #e6ebf2; --ink: #13213c; --muted: #4f5b6e; --dark: #0b1426; --dark-2: #13213c; --light: #f3f5f8; --line: #d3d9e2; --shadow-tint: 19,33,60; --display-font: 'Montserrat', sans-serif; --display-weight: 700; --display-case: none; }
.side-hub .gx-step__lead { color: #c3cad3; }
.side-hub .gx-step { border-color: rgba(195,202,211,.14); }
.side-hub .gx-card__icon svg { stroke: #2e4a7a; }
.side-hub .gx--dark .gx-card { background: #13213c; box-shadow: none; border: 1px solid rgba(195,202,211,.14); }
.side-hub .gx--dark .gx-card__title { color: #fff; }
.side-hub .gx--dark .gx-card p { color: rgba(255,255,255,.75); }
.side-hub .gx--dark .gx-card__icon { background: rgba(195,202,211,.12); }
.side-hub .gx--dark .gx-card__icon svg { stroke: #c3cad3; }
.side-hub .gx-value__icon svg { stroke: #13213c; }
.side-hub .posts .post-email_form { background: linear-gradient(135deg, #1d3157, #0b1426) !important; }
.side-hub .posts .post-email_form input[type="submit"] { background: #13213c !important; }
.side-hub .posts .site-button { background: #c3cad3 !important; color: #0b1426 !important; }
.side-hub .posts .post-hero_image .site-button { background: #fff !important; color: #0b1426 !important; }
.side-hub .posts .post-email_form select {
  width: 100%; border: 1.5px solid var(--line) !important; border-radius: 10px !important; padding: 13px 14px !important;
  font: 16px 'Cabin', sans-serif !important; color: #222 !important; background: #fff !important; appearance: auto;
}
.side-hub .posts .post-email_form select:invalid { color: #757575 !important; }
.gx-cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .gx-cards--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gx-cards--4 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Choose your side: two big cards, Brothers in their red and black, Sisters in their blush. */
.gx-sides { list-style: none; margin: clamp(36px, 5vw, 60px) auto 0; padding: 0; max-width: 1080px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); }
.gx-side { border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 44px rgba(var(--shadow-tint),.16); transition: transform .25s ease, box-shadow .25s ease; }
.gx-side:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 26px 56px rgba(var(--shadow-tint),.24); }
.gx-side__link { display: flex; flex-direction: column; height: 100%; color: inherit !important; text-decoration: none !important; }
.gx-side__photo { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center 35%; position: relative; }
.gx-side__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, var(--side-bg) 100%); }
.gx-side__body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 4px 28px 32px; background: var(--side-bg); color: var(--side-ink); }
.gx-side__logo { display: block; height: 46px; width: auto; max-width: 88%; object-fit: contain; margin-top: -8px; }
.gx-side--women .gx-side__logo { height: 92px; margin-top: -40px; position: relative; }
.gx-side__who { font: 700 12px/1 'Montserrat', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--side-accent); }
.gx-side__text { max-width: 36ch; font: 16.5px/1.6 'Cabin', sans-serif; opacity: .85; }
.gx-side__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 700 15px 'Cabin', sans-serif; background: var(--side-btn); color: var(--side-btn-ink); }
.gx-side:hover .gx-side__cta span { transform: translateX(3px); }
.gx-side__cta span { transition: transform .2s ease; }
.gx-side--men { --side-bg: #0f0f10; --side-ink: #fff; --side-accent: #e0484c; --side-btn: #b3262a; --side-btn-ink: #fff; }
.gx-side--women { --side-bg: #2b1c1c; --side-ink: #fff; --side-accent: #f5a1a0; --side-btn: #f5a1a0; --side-btn-ink: #2b1c1c; }
.gx-side__link:focus-visible { outline: 3px solid #2e4a7a; outline-offset: 4px; border-radius: 22px; }
@media (max-width: 760px) { .gx-sides { grid-template-columns: 1fr; max-width: 520px; } }

/* Proverbs 27:17 */
.gx-verse { margin: 8px auto 22px; max-width: 900px; text-align: center; }
.gx-verse p { margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.18; text-wrap: balance; color: #fff; }
.side-hub .gx--verse { background: radial-gradient(90% 120% at 50% 0%, #1d3157 0%, #0b1426 70%); }

/* Plain reading text (Our story) and small notes */
.gx-prose { max-width: 720px; margin: 28px auto 0; }
.gx-prose p { margin: 0 0 1.1em; font: clamp(17px, 1.3vw, 19px)/1.7 'Cabin', sans-serif; color: var(--muted); }
.gx-prose strong { color: var(--ink); }
.gx-note { margin: 28px auto 0; max-width: 560px; text-align: center; padding: 18px 22px; border: 1.5px dashed var(--line); border-radius: 14px; color: var(--muted); font: 16px/1.5 'Cabin', sans-serif; }
.gx--blush .gx__title { color: var(--ink); }

.side-hub footer .gwnf__cta { background: #2e4a7a; color: #fff; }
.side-hub footer .gwnf__cta .gwnf__cta-title { color: #fff !important; }
.side-hub footer .gwnf__cta .gwnf__btn--solid { background: #fff !important; color: #13213c !important; }
.gx-creed { max-width: 760px; margin: 30px auto 0; padding: 28px clamp(20px, 4vw, 40px); background: #fff; border-left: 4px solid var(--accent-deep); border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 30px rgba(var(--shadow-tint),.08); }
.gx-creed p { margin: 0; font: italic clamp(17px, 1.3vw, 19px)/1.75 Georgia, 'Times New Roman', serif; color: var(--ink); }
.side-hub .gx--light .gx__eyebrow, .side-hub .gx--blush .gx__eyebrow { color: #2e4a7a; }
.side-hub .gx--dark .gx-creed { background: #13213c; border-left-color: #c3cad3; box-shadow: none; }
.side-hub .gx--dark .gx-creed p { color: #e6ebf2; }
