/* ==========================================================================
   umohedem.com — site styles
   Palette and type follow the approved reference: deep navy + crimson,
   Poppins for headings/navigation, Open Sans for reading.
   ========================================================================== */

:root {
  --navy: #1c2b4b;
  --navy-deep: #131f38;
  --navy-overlay: rgba(19, 31, 56, 0.82);
  --crimson: #b8242f;
  --crimson-dark: #971c26;
  --crimson-soft: #fbeaeb;
  --ink: #1a1a1a;
  --body: #4a4f5c;
  --muted: #7a8090;
  --line: #e6e8ee;
  --paper: #ffffff;
  --mist: #f5f6f8;
  --whatsapp: #25d366;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 6px;
  --shadow: 0 18px 40px -18px rgba(19, 31, 56, 0.28);
  --shadow-soft: 0 8px 24px -12px rgba(19, 31, 56, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.ico { width: 1em; height: 1em; flex: none; }

/* ---------- small reusable pieces ---------- */
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 10px;
}
.rule { display: block; width: 44px; height: 3px; background: var(--crimson); border-radius: 2px; margin: 18px 0 22px; }
.center .rule { margin-left: auto; margin-right: auto; }
.section { padding: 96px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.section-head p { margin-top: 4px; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  padding: 14px 28px; border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--crimson); color: #fff; }
.btn-primary:hover { background: var(--crimson-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--crimson); color: var(--crimson); }
.link-under {
  font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--crimson);
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow {
  font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--crimson);
  display: inline-flex; align-items: center; gap: 6px;
}
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  position: relative; z-index: 3;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 16px; }
.topbar-contact { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .ico { color: var(--crimson); font-size: 15px; }
.topbar-tag { font-family: var(--font-head); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ---------- header / navigation ---------- */
.site-header {
  position: absolute; left: 0; right: 0; top: 44px; z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--crimson); display: grid; place-items: center; flex: none;
}
.brand-mark svg { width: 20px; height: 20px; color: #fff; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; line-height: 1; }
.brand-sub { display: block; font-family: var(--font-head); font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; padding: 8px 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--crimson); transition: right .25s;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: 11px 22px; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 4px;
  color: #fff; width: 44px; height: 44px; cursor: pointer; place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 720px;
  display: flex; align-items: center;
  padding: 190px 0 170px;
  background: var(--navy) url("../img/hero-prayer.jpg") center 40% / cover no-repeat;
  color: #fff; text-align: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--navy-overlay); }
.hero .wrap { position: relative; }
.hero-dove { display: block; width: 58px; height: 58px; margin: 0 auto 18px; color: #fff; opacity: .95; }
.hero .kicker { color: #ff6b73; margin-bottom: 14px; }
.hero h1 {
  color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: clamp(32px, 5.4vw, 60px); letter-spacing: 0.01em; max-width: 900px; margin: 0 auto;
}
.hero-lead { max-width: 620px; margin: 22px auto 34px; font-size: 17.5px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- cards overlapping the hero ---------- */
.feature-cards { position: relative; z-index: 4; margin-top: -92px; }
.feature-cards .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fcard {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 30px; display: flex; gap: 22px; align-items: flex-start;
  position: relative; overflow: hidden;
}
.fcard::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 96px; height: 96px;
  border: 2px solid var(--line); border-radius: 50%; opacity: .7;
}
.fbadge {
  flex: none; width: 74px; text-align: center; border-radius: 4px; overflow: hidden;
  background: var(--crimson-soft); font-family: var(--font-head);
}
.fbadge-top { padding: 10px 0 6px; color: var(--crimson); font-size: 24px; font-weight: 700; line-height: 1; }
.fbadge-top svg { width: 26px; height: 26px; margin: 0 auto; }
.fbadge-bot { background: var(--crimson); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 0; }
.fcard .label { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.fcard h3 { font-size: 19px; font-weight: 600; margin: 4px 0 12px; }
.fcard h3 a:hover { color: var(--crimson); }

/* ---------- about ---------- */
.about .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
/* grid children may shrink below their content, so the sliding topic row can't widen the column */
.about .wrap > *, .books .wrap > *, .freebooks .wrap > * { min-width: 0; }
.about-photo { position: relative; max-width: 440px; }
.about-photo::before {
  content: ""; position: absolute; left: -18px; top: -18px; width: 62%; height: 62%;
  background: var(--crimson); border-radius: var(--radius); z-index: 0;
}
.about-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 60% 30%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-badge {
  position: absolute; z-index: 2; right: -22px; bottom: 28px; background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); max-width: 220px;
}
.about-badge strong { display: block; font-family: var(--font-head); font-size: 15px; }
.about-badge span { font-size: 12.5px; color: rgba(255,255,255,.75); line-height: 1.5; display: block; margin-top: 2px; }
.about h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.about-roles { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; padding: 0; list-style: none; }
.about-roles li {
  font-family: var(--font-head); font-size: 13px; font-weight: 500; color: var(--navy);
  background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}

/* ---------- devotionals ---------- */
.devotionals { background: var(--mist); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s; }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-date {
  position: absolute; left: 16px; bottom: 16px; background: var(--crimson); color: #fff;
  font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  padding: 6px 12px; border-radius: 3px; text-transform: uppercase;
}
.post-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 18.5px; font-weight: 600; margin-bottom: 10px; }
.post-body h3 a:hover { color: var(--crimson); }
.post-body p { font-size: 15px; color: var(--muted); flex: 1; }
.section-foot { text-align: center; margin-top: 50px; }

/* ---------- scripture band ---------- */
.scripture {
  position: relative; padding: 110px 0; text-align: center; color: #fff;
  background: var(--navy) url("../img/hero-prayer.jpg") center 70% / cover no-repeat fixed;
}
.scripture::before { content: ""; position: absolute; inset: 0; background: rgba(19, 31, 56, 0.9); }
.scripture .wrap { position: relative; max-width: 860px; }
.scripture-mark { font-family: Georgia, serif; font-size: 90px; line-height: .6; color: var(--crimson); display: block; margin-bottom: 18px; }
.scripture blockquote { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(21px, 2.8vw, 30px); line-height: 1.5; color: #fff; }
.scripture cite { display: block; margin-top: 24px; font-style: normal; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #ff8a90; }

/* ---------- books ---------- */
.books .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.book-stage { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.book-stage::before {
  content: ""; position: absolute; inset: 0 12% 0 12%; background: var(--mist); border-radius: 50%;
}
.book-cover {
  position: relative; width: 300px; border-radius: 3px 8px 8px 3px;
  box-shadow: -2px 0 0 rgba(0,0,0,.25) inset, 22px 30px 50px -18px rgba(19, 31, 56, 0.55);
  transform: rotate(-2deg);
}
.books h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.book-points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.book-points li { display: flex; gap: 14px; align-items: flex-start; color: var(--body); }
.book-points .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--crimson-soft); color: var(--crimson);
  display: grid; place-items: center; margin-top: 1px;
}
.book-points .tick svg { width: 14px; height: 14px; }
.book-points strong { color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.buy-label { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more-books { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; gap: 18px; align-items: center; }
.more-books img { width: 64px; border-radius: 2px 4px 4px 2px; box-shadow: var(--shadow-soft); }
.more-books h4 { font-size: 15px; font-weight: 600; }
.more-books p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- free ebooks ---------- */
.freebooks { background: var(--navy); color: rgba(255,255,255,.85); overflow: hidden; }
.freebooks .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.freebooks h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.freebooks .kicker { color: #ff8a90; }
.freebooks-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin-top: 30px; }
.freebooks-form input {
  font: inherit; font-size: 15px; padding: 14px 16px; border-radius: 4px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07); color: #fff; min-width: 0;
}
.freebooks-form input::placeholder { color: rgba(255,255,255,.55); }
.freebooks-form input:focus { outline: 2px solid var(--crimson); outline-offset: 1px; }
.form-note { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 12px; }
.free-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.free-actions .btn svg { width: 18px; height: 18px; }
.fe-side .free-actions { flex-direction: column; margin-top: 18px; }
.fe-side .free-actions .btn { width: 100%; }
@media (max-width: 600px) { .free-actions .btn { width: 100%; } }
.form-done {
  display: none; margin-top: 30px; padding: 22px 24px; border-radius: var(--radius);
  background: #fff; color: var(--body); gap: 16px; align-items: flex-start;
}
.form-done.show { display: flex; }
.form-done .tick-big {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--crimson); color: #fff;
  display: grid; place-items: center;
}
.form-done .tick-big svg { width: 20px; height: 20px; }
.form-done strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.form-done p { margin: 0; font-size: 14.5px; }
.freebooks-art { max-width: 420px; justify-self: center; }
.freebooks-art img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top;
  border-radius: var(--radius); box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); transform: rotate(2deg);
}

/* ---------- teachings ---------- */
.teach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.teach-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; background: #fff;
  transition: border-color .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.teach-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.teach-num { font-family: var(--font-head); font-size: 38px; font-weight: 700; color: var(--crimson-soft); line-height: 1; -webkit-text-stroke: 1px var(--crimson); }
.teach-card h3 { font-size: 18px; font-weight: 600; margin: 16px 0 12px; }
.teach-card p { font-size: 15px; color: var(--muted); flex: 1; }

/* ---------- contact strip ---------- */
.cta-strip { background: var(--crimson); color: #fff; padding: 46px 0; }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; font-size: clamp(21px, 2.6vw, 27px); font-weight: 600; }
.cta-strip p { margin: 4px 0 0; color: rgba(255,255,255,.85); }
.btn-white { background: #fff; color: var(--crimson); }
.btn-white:hover { background: var(--navy); color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: 15px; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: 48px; padding-bottom: 60px; }
.site-footer .brand { margin-bottom: 20px; }
.site-footer h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--crimson); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact .ico { color: var(--crimson); margin-top: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13.5px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.powered { letter-spacing: 0.02em; }
.powered strong { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: 0.08em; }
.nav-powered { display: none; }

/* ---------- swipe rows + dots (phones only; see media query) ---------- */
.swipe-dots { display: none; }

/* ---------- phone bottom bar (phones only) ---------- */
.bottom-bar { display: none; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 25px -8px rgba(0,0,0,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- page banner ---------- */
.page-hero {
  position: relative; color: #fff; text-align: center;
  padding: 196px 0 84px;
  background: var(--navy) url("../img/hero-prayer.jpg") center 45% / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(19, 31, 56, 0.86); }
.page-hero .wrap { position: relative; max-width: 900px; }
.page-hero .kicker { color: #ff8a90; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4.2vw, 46px); font-weight: 700; }
.page-hero p { max-width: 640px; margin: 16px auto 0; color: rgba(255,255,255,.85); font-size: 17px; }
.post-hero h1 { font-size: clamp(26px, 3.6vw, 40px); }
.post-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.78); }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--crimson); }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-family: var(--font-head); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.crumbs a { color: #fff; }
.crumbs a:hover { color: #ff8a90; }
.crumbs .sep { opacity: .5; }

/* ---------- article + sidebar layout ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.sidebar { position: sticky; top: 24px; display: grid; gap: 26px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.widget h4 { font-size: 16px; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; position: relative; }
.widget h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--crimson); }
.widget-author { text-align: center; }
.widget-author img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: 60% 30%; margin: 0 auto 14px; border: 4px solid var(--crimson-soft); }
.widget-author strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 17px; }
.widget-author .role { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.widget-author p { font-size: 14.5px; }
.widget-book { display: flex; gap: 16px; align-items: flex-start; }
.widget-book img { width: 84px; border-radius: 2px 5px 5px 2px; box-shadow: var(--shadow-soft); flex: none; }
.widget-book strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 15px; line-height: 1.35; margin-bottom: 10px; }
.widget-navy { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.82); }
.widget-navy h4 { color: #fff; }
.widget-navy p { font-size: 14.5px; }
.widget-navy .btn { width: 100%; }
.recent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.recent-list a { display: flex; gap: 12px; align-items: center; }
.recent-list img, .recent-list .thumb-plain { width: 58px; height: 58px; border-radius: 4px; object-fit: cover; object-position: top; flex: none; }
.recent-list .thumb-plain { background: var(--navy); display: grid; place-items: center; color: #fff; }
.recent-list .thumb-plain svg { width: 26px; height: 26px; }
.recent-list strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.35; }
.recent-list span { font-size: 12.5px; color: var(--muted); }
.recent-list a:hover strong { color: var(--crimson); }

/* ---------- article text ---------- */
.prose { font-size: 17px; line-height: 1.8; color: #373c47; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }  /* spacing between paragraphs comes from .prose > * + * */
.prose h2 { font-size: 26px; font-weight: 700; margin-top: 1.8em; }
.prose h3 { font-size: 20px; font-weight: 600; margin-top: 1.7em; }
.prose h3.caps-head {
  font-size: 16.5px; font-weight: 600; letter-spacing: .02em; color: var(--navy);
  padding-left: 14px; border-left: 3px solid var(--crimson); line-height: 1.45;
}
.prose strong { color: var(--ink); }
.prose a { color: var(--crimson); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--crimson); font-weight: 600; }
.prose blockquote {
  margin: 1.6em 0; padding: 22px 26px; background: var(--mist); border-left: 4px solid var(--crimson);
  border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-head); font-weight: 500; font-size: 17.5px; line-height: 1.65; color: var(--navy);
}
.prose blockquote p + p { margin-top: .8em; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow-soft); margin: 0 auto; }
.prose .poster img { max-width: 560px; width: 100%; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.prose .gallery figure { margin: 0; }

/* ---------- end of article ---------- */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.share-row .label { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 4px; border: 1px solid var(--line);
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--ink); background: #fff; cursor: pointer;
}
.share-btn svg { width: 17px; height: 17px; }
.share-btn.wa { background: #25d366; border-color: #25d366; color: #fff; }
.share-btn:hover { border-color: var(--crimson); }
.share-btn.wa:hover { background: #1eb858; border-color: #1eb858; }
.cta-block {
  margin-top: 36px; background: var(--navy); color: rgba(255,255,255,.85); border-radius: var(--radius);
  padding: 34px; display: grid; grid-template-columns: 110px 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden;
}
.cta-block::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 24px solid rgba(184,36,47,.25); pointer-events: none; }
.cta-block img { width: 110px; border-radius: 2px 5px 5px 2px; box-shadow: 0 16px 30px -12px rgba(0,0,0,.6); }
.cta-block h3 { color: #fff; font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.cta-block p { font-size: 15px; margin-bottom: 16px; }
.cta-block .buy-row .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-block .buy-row .btn-outline:hover { border-color: #fff; }
.cta-block .wa-line { margin-top: 14px; font-size: 14px; }
.cta-block .wa-line a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.post-nav a { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: block; transition: border-color .2s; }
.post-nav a:hover { border-color: var(--crimson); }
.post-nav small { display: block; font-family: var(--font-head); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.post-nav strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.4; display: block; }
.post-nav .next { text-align: right; }
.related { background: var(--mist); }

/* plain cover for messages without a poster */
.post-cover--plain { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); }
.post-cover--plain svg { width: 44px; height: 44px; color: #fff; opacity: .9; }
.post-cover--plain span { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 17px; line-height: 1.35; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- archive ---------- */
.archive-intro { max-width: 760px; margin: 0 auto 36px; text-align: center; color: var(--body); }
.archive-tools { display: flex; justify-content: center; margin-bottom: 38px; }
.search-box { position: relative; width: 100%; max-width: 460px; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search-box input { width: 100%; font: inherit; font-size: 15px; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.search-box input:focus { outline: 2px solid var(--crimson); outline-offset: 1px; border-color: transparent; }
.no-results { display: none; text-align: center; color: var(--muted); padding: 30px 0; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.series .prose { max-width: 780px; margin: 0 auto; }

/* ---------- table of contents (teachings) ---------- */
.toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.toc a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.toc a:hover { border-color: transparent; box-shadow: var(--shadow); }
.toc small { display: block; font-family: var(--font-head); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--crimson); margin-bottom: 6px; }
.toc strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15.5px; line-height: 1.4; }
.anchor-target { scroll-margin-top: 20px; }

/* ---------- books page ---------- */
.book-row { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.book-row + .book-row { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }
.book-row .book-stage { position: sticky; top: 24px; }
.book-row h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
.book-desc p { margin-bottom: .9em; }
.book-desc h3 { font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--crimson); margin: 26px 0 10px; }
.book-desc ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.book-desc li { display: flex; gap: 12px; align-items: flex-start; }
.book-desc li .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--crimson-soft); color: var(--crimson); display: grid; place-items: center; margin-top: 3px; }
.book-desc li .tick svg { width: 13px; height: 13px; }
.book-desc blockquote { margin: 22px 0; padding: 16px 20px; border-left: 3px solid var(--crimson); background: var(--mist); font-family: var(--font-head); font-weight: 500; color: var(--navy); }
.stores-band { background: var(--mist); text-align: center; }
.stores-band .buy-row { justify-content: center; margin-top: 26px; }

/* ---------- about page ---------- */
.about-full .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.about-full .about-photo { position: sticky; top: 24px; }
.pull-quote {
  margin: 30px 0; padding: 26px 30px; border-radius: var(--radius); background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 500; font-size: 19px; line-height: 1.6; position: relative;
}
.pull-quote::before { content: "\201C"; position: absolute; left: 18px; top: -8px; font-family: Georgia, serif; font-size: 80px; color: var(--crimson); line-height: 1; }
.pull-quote span { display: block; padding-left: 26px; }
.motto { font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); font-size: 14px; margin-top: 8px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-top: 26px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card .ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--crimson-soft); color: var(--crimson); }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card.wa .ic { background: #e3f8eb; color: #128c4b; }
.contact-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 15.5px; }
.contact-card a { color: var(--body); display: block; }
.contact-card a:hover { color: var(--crimson); }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--crimson); outline-offset: 1px; border-color: transparent; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb858; }
.form-hint { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- free ebooks page ---------- */
.fe-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.fe-side { position: sticky; top: 24px; }
.fe-side .form-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; border-radius: 4px; margin-bottom: 20px; }
.fe-side .freebooks-form { grid-template-columns: 1fr; margin-top: 16px; }
.fe-side .freebooks-form input { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.fe-side .freebooks-form input::placeholder { color: var(--muted); }
.fe-side .form-note { color: var(--muted); }
.fe-side .form-done { border: 1px solid var(--line); }
.expect-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 8px; }
.expect-list li { background: var(--mist); border-radius: var(--radius); padding: 14px 16px; font-size: 15px; }
.signoff { margin-top: 28px; font-family: var(--font-head); }
.signoff strong { display: block; color: var(--ink); letter-spacing: .06em; }
.signoff span { font-size: 13px; color: var(--muted); }
.download-card { display: flex; gap: 18px; align-items: center; margin: 0 0 30px; padding: 20px 22px; border-radius: var(--radius); background: var(--crimson-soft); border: 1px solid #f1cfd2; }
.download-card .ic { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--crimson); color: #fff; display: grid; place-items: center; }
.download-card .ic svg { width: 24px; height: 24px; }
.download-card small { display: block; font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--crimson); }
.download-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 16.5px; line-height: 1.35; }
.download-card span { font-size: 14px; color: var(--muted); }
.download-card .btn { margin-left: auto; flex: none; }
@media (max-width: 600px) { .download-card { flex-wrap: wrap; } .download-card .btn { width: 100%; margin-left: 0; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .big { font-family: var(--font-head); font-weight: 700; font-size: 110px; line-height: 1; color: var(--crimson-soft); -webkit-text-stroke: 2px var(--crimson); }

/* ==========================================================================
   Books from AfriKDP
   ========================================================================== */
.book-tools { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 38px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip-btn {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: all .2s;
}
.chip-btn:hover { border-color: var(--crimson); color: var(--crimson); }
.chip-btn.on { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.book-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.book-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.book-card-cover { display: block; background: var(--mist); padding: 22px 22px 0; }
.book-card-cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px 5px 5px 2px; box-shadow: 0 14px 26px -14px rgba(19,31,56,.55); }
.cover-plain { display: grid; place-items: center; aspect-ratio: 2 / 3; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; text-align: center; padding: 16px; border-radius: 2px 5px 5px 2px; }
.book-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.chip { align-self: flex-start; font-family: var(--font-head); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--crimson); background: var(--crimson-soft); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.book-card h3 { font-size: 16px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; flex: 1; }
.book-card h3 a:hover { color: var(--crimson); }
.book-card-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.price { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 18px; }
.price small { font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 4px; }
.book-card .meta { font-size: 13px; color: var(--muted); }
.book-card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.book-card-actions .btn { padding: 11px 14px; font-size: 13px; }
.books-note { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 26px; }
.book-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* single book */
.book-detail { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.book-detail .book-stage { position: sticky; top: 24px; }
.book-detail .book-cover { width: 100%; max-width: 360px; }
.book-buybox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.book-buybox .price { font-size: 26px; }
.book-buybox-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.book-buybox .books-note { width: 100%; margin: 0; text-align: left; }
.book-buybox-end { margin-top: 34px; }
.book-facts { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.book-facts li { background: var(--mist); border-radius: var(--radius); padding: 12px 14px; }
.book-facts span { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); }
.book-facts strong { font-family: var(--font-head); color: var(--ink); font-size: 14.5px; }
.book-prose h3 { font-size: 16px; letter-spacing: .02em; color: var(--navy); }
.book-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.book-list li { position: relative; padding-left: 20px; }
.book-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); }
.book-list li.t, .book-list li.e { padding-left: 0; display: flex; gap: 10px; }
.book-list li.t::before, .book-list li.e::before { display: none; }
.book-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--crimson-soft); color: var(--crimson); display: grid; place-items: center; margin-top: 3px; }
.book-list .tick svg { width: 13px; height: 13px; }
.book-subtitle { font-family: var(--font-head); font-weight: 500; color: var(--muted); font-size: 17px; margin: 8px 0 0; }

/* homepage featured */
.books .book-buybox { margin: 22px 0 0; }
.more-books-row { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mini-covers { display: flex; gap: 10px; }
.mini-covers img { width: 54px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px 4px 4px 2px; box-shadow: var(--shadow-soft); transition: transform .2s; }
.mini-covers a:hover img { transform: translateY(-3px); }
.widget-book .price { display: block; font-size: 16px; margin-bottom: 10px; }
.widget-book .btn { padding: 10px 16px; font-size: 13px; }

/* thank-you */
.ty-card { max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px 36px; }
.ty-card h2 { font-size: 24px; margin: 16px 0 8px; }
.ty-card .tick-big { width: 56px; height: 56px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--crimson); color: #fff; }
.ty-card .tick-big svg { width: 28px; height: 28px; }
.ty-card .btn { margin-top: 14px; }
.ty-spinner { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; border: 4px solid var(--crimson-soft); border-top-color: var(--crimson); animation: ty-spin 0.9s linear infinite; }
@keyframes ty-spin { to { transform: rotate(360deg); } }
.ty-ref { font-family: monospace; background: var(--mist); border-radius: 4px; padding: 10px; word-break: break-all; }

@media (max-width: 1024px) {
  .book-grid, .book-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .book-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .book-detail { grid-template-columns: 1fr; gap: 28px; }
  .book-detail .book-stage { position: relative; top: auto; }
  .book-detail .book-cover { max-width: 240px; margin: 0 auto; display: block; }
}
@media (max-width: 600px) {
  .book-grid, .book-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .book-card-cover { padding: 14px 14px 0; }
  .book-card-body { padding: 14px 12px 14px; }
  .book-card h3 { font-size: 14px; }
  .price { font-size: 16px; }
  .book-card-actions { grid-template-columns: 1fr; }
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: calc(100% + 40px); margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip-btn { flex: none; }
  .book-buybox { padding: 18px; }
  .book-buybox-actions, .book-buybox-actions .btn, .book-buybox > .btn { width: 100%; }
  .book-buybox-actions .share-btn { width: 100%; justify-content: center; }
  .mini-covers img { width: 44px; }
  .ty-card { padding: 32px 20px; }
}

/* ==========================================================================
   Get Involved + Awards
   ========================================================================== */
.topbar-gi { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff !important; background: var(--crimson); padding: 5px 12px; border-radius: 3px; }
.topbar-gi:hover { background: var(--crimson-dark); }
.topbar-right { display: flex; align-items: center; gap: 18px; }

.gi-home { background: #fff; }
.gi-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gi-tile { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; transition: box-shadow .25s, transform .25s, border-color .25s; }
.gi-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.gi-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--crimson-soft); color: var(--crimson); flex: none; }
.gi-ic svg { width: 24px; height: 24px; }
.gi-num { position: absolute; top: 18px; right: 20px; font-family: var(--font-head); font-weight: 700; font-size: 26px; color: transparent; -webkit-text-stroke: 1px #e3c7ca; line-height: 1; }
.gi-tile strong { font-family: var(--font-head); color: var(--ink); font-size: 16px; line-height: 1.35; margin-top: 10px; }
.gi-tile span:last-child { font-size: 14px; color: var(--muted); }
.gi-tile-cta { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.8); justify-content: center; }
.gi-tile-cta strong { color: #fff; margin-top: 0; font-size: 18px; }
.gi-tile-cta span { color: rgba(255,255,255,.75) !important; }
.gi-tile-cta .btn { margin-top: 12px; align-self: flex-start; }
.gi-tile-cta:hover { transform: none; }

.gi-intro { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.gi-intro h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.gi-highlight { font-family: var(--font-head); font-weight: 600; color: var(--navy); background: #fff5d6; border-left: 4px solid #e2b33c; padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 22px 0 28px; }
.gi-poster img { width: 100%; max-width: 420px; margin-left: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.gi-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gi-way { display: flex; gap: 20px; padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); position: relative; scroll-margin-top: 20px; }
.gi-way h3 { font-size: 19px; font-weight: 600; margin: 2px 0 10px; }
.gi-way p { font-size: 15.5px; margin-bottom: .7em; }
.gi-way .btn { margin-top: 8px; padding: 11px 18px; font-size: 13.5px; }
.gi-way .gi-num { top: 22px; right: 24px; }
.gi-areas { list-style: none; padding: 0; margin: 6px 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 14.5px; }
.gi-areas li { position: relative; padding-left: 16px; }
.gi-areas li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); }
.gi-matters-lead { font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; color: #fff; margin: 6px 0 8px; }
.gi-verbs { font-family: var(--font-head); font-weight: 600; letter-spacing: .04em; color: #f3d27a; font-size: 17px; }
.gi-matters-text { color: rgba(255,255,255,.82); max-width: 640px; margin: 0 auto 34px; }
.gi-join { text-align: center; max-width: 760px; }
.gi-join h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.gi-join .rule { margin-left: auto; margin-right: auto; }
.gi-join .hero-actions { margin-top: 26px; }
.gi-join .signoff { margin-top: 36px; }

.award-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.award-card { display: flex; gap: 24px; align-items: center; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); border-top: 4px solid #c9a227; }
.award-badge { width: 120px; height: 120px; flex: none; filter: drop-shadow(0 10px 18px rgba(19,31,56,.25)); }
.award-org { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #a8841a; }
.award-card h3 { font-size: 21px; font-weight: 700; margin: 4px 0 2px; }
.award-event { font-family: var(--font-head); font-weight: 600; color: var(--crimson); margin-bottom: 8px; }
.award-card p { font-size: 15px; margin-bottom: 6px; }
.award-book a { color: var(--crimson); font-weight: 600; border-bottom: 1px solid currentColor; }
.about-award-ribbon { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: #fff5d6; color: #7a5c0e; font-family: var(--font-head); font-size: 13px; font-weight: 600; }
.about-award-ribbon:hover { background: #ffeeb3; }

@media (max-width: 1024px) { .gi-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .gi-intro, .gi-ways, .award-grid { grid-template-columns: 1fr; }
  .gi-poster img { margin: 0 auto; max-width: 340px; }
}
@media (max-width: 600px) {
  .gi-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gi-tile { padding: 18px 14px; }
  .gi-tile strong { font-size: 14.5px; }
  .gi-tile span:last-child { font-size: 13px; }
  .gi-tile-cta { grid-column: 1 / -1; }
  .gi-num { font-size: 20px; top: 14px; right: 14px; }
  .gi-way { flex-direction: column; gap: 12px; padding: 22px 18px; }
  .gi-areas { grid-template-columns: 1fr; }
  .award-card { flex-direction: column; text-align: center; padding: 24px 20px; }
  .topbar-right .topbar-tag { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* menu becomes the ☰ button when seven items no longer fit */
@media (max-width: 1180px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); padding: 8px 20px 22px; display: none;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,.4);
  }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .nav-powered { display: block; margin-top: 18px; text-align: center; font-family: var(--font-head); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.45); }
  .site-header { background: transparent; }
  .site-header .wrap { position: relative; }
}

@media (max-width: 1024px) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 20px; }
  .about .wrap, .books .wrap { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topbar-tag { display: none; }
  .with-sidebar, .book-row, .about-full .wrap, .contact-grid, .fe-grid { grid-template-columns: 1fr; }
  .sidebar, .book-row .book-stage, .about-full .about-photo, .fe-side { position: relative; top: auto; }  /* not static: their decorations are positioned inside them */
  .toc { grid-template-columns: 1fr; }

  .hero { min-height: 0; padding: 170px 0 150px; }
  .feature-cards .wrap { grid-template-columns: 1fr; gap: 18px; }
  .about .wrap, .books .wrap, .freebooks .wrap { grid-template-columns: 1fr; }
  .about-photo { margin: 0 auto 10px; }
  .post-grid, .teach-grid { grid-template-columns: 1fr 1fr; }
  .freebooks-form { grid-template-columns: 1fr; }
  .freebooks-art { max-width: 380px; margin: 0 auto; }
  .scripture { background-attachment: scroll; }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  /* swipe rows: devotionals and teachings scroll sideways, next card peeks in */
  .swipe {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -20px; padding: 4px 20px 18px; scroll-padding: 0 20px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 82%; scroll-snap-align: start; }
  .swipe .post-card:hover, .swipe .teach-card:hover { transform: none; }
  .swipe-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
  .swipe-dots span { width: 7px; height: 7px; border-radius: 50%; background: #cfd3dc; transition: width .25s, background .25s; }
  .swipe-dots span.on { width: 22px; border-radius: 4px; background: var(--crimson); }

  /* app-style bottom bar replaces the floating WhatsApp button */
  .wa-float { display: none; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .bottom-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -12px rgba(19, 31, 56, 0.25);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: 62px; font-family: var(--font-head); font-size: 11.5px; font-weight: 600; color: var(--navy);
  }
  .bottom-bar a svg { width: 22px; height: 22px; }
  .bottom-bar a + a { border-left: 1px solid var(--line); }
  .bottom-bar .bb-wa { color: #128c4b; }
}

@media (max-width: 600px) {
  .page-hero { padding: 132px 0 52px; }
  .page-hero p { font-size: 15px; }
  .crumbs { font-size: 11px; margin-bottom: 12px; }
  .post-meta { font-size: 13px; gap: 6px 14px; }
  .prose { font-size: 16.5px; line-height: 1.75; }
  .prose blockquote { padding: 18px; font-size: 16px; }
  .prose h3.caps-head { font-size: 15.5px; }
  .share-row .label { width: 100%; }
  .share-btn { flex: 1; justify-content: center; }
  .cta-block { grid-template-columns: 1fr; padding: 26px 22px; gap: 18px; }
  .cta-block img { width: 88px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .archive-grid { grid-template-columns: 1fr; gap: 22px; }
  .book-row { gap: 24px; }
  .book-row + .book-row { margin-top: 56px; padding-top: 56px; }
  .expect-list { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .form-actions .btn { width: 100%; }
  .pull-quote { font-size: 17px; padding: 22px; }
  .notfound .big { font-size: 80px; }
  body { font-size: 15.5px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head p { font-size: 15px; }
  .rule { margin: 14px 0 18px; }

  .topbar-contact { gap: 16px; }
  .topbar-contact .email { display: none; }
  .brand-name { font-size: 19px; }
  .brand-mark { width: 38px; height: 38px; }
  .site-header .wrap { min-height: 72px; }
  .nav { padding: 6px 24px 24px; }
  .nav-links a { font-size: 14.5px; padding: 15px 4px; }

  /* hero: shorter, tighter headline, buttons side by side */
  .hero { padding: 132px 0 104px; background-position: 45% center; }
  .hero::before { background: rgba(19, 31, 56, 0.74); }
  .hide-sm { display: none; }
  .hero-dove { width: 40px; height: 40px; margin-bottom: 12px; }
  .hero .kicker { font-size: 11px; letter-spacing: 0.12em; }
  .hero h1 { font-size: 27px; line-height: 1.22; }
  .hero-lead { font-size: 15px; margin: 14px auto 24px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { padding: 13px 10px; font-size: 13px; }

  /* highlight cards: compact, no decorative circles */
  .feature-cards { margin-top: -62px; }
  .feature-cards .wrap { gap: 12px; }
  .fcard { padding: 18px; gap: 14px; align-items: center; }
  .fcard::after { display: none; }
  .fbadge { width: 56px; }
  .fbadge-top { font-size: 20px; padding: 8px 0 5px; }
  .fbadge-top svg { width: 22px; height: 22px; }
  .fbadge-bot { font-size: 10px; padding: 4px 0; }
  .fcard .label { font-size: 10.5px; }
  .fcard h3 { font-size: 16px; margin: 2px 0 8px; }
  .link-under { font-size: 13px; }

  /* about: smaller photo, no crimson block, topics on one sliding line */
  .about .wrap { gap: 28px; }
  .about-photo { max-width: 300px; }
  .about-photo::before { display: none; }
  .about-badge { right: auto; left: 12px; bottom: 12px; padding: 10px 14px; }
  .about-badge strong { font-size: 14px; }
  .about-badge span { font-size: 11.5px; }
  .about-roles { flex-wrap: nowrap; overflow-x: auto; margin: 20px -20px 26px; padding: 0 20px 4px; scrollbar-width: none; }
  .about-roles::-webkit-scrollbar { display: none; }
  .about-roles li { flex: none; font-size: 12.5px; }
  .about .btn { width: 100%; }

  .post-cover { aspect-ratio: 5 / 4; }
  .post-body { padding: 18px 18px 20px; }
  .post-body h3 { font-size: 16.5px; }
  .post-body p { font-size: 14px; margin-bottom: 12px; }
  .section-foot { margin-top: 22px; }
  .section-foot .btn { width: 100%; }

  .scripture { padding: 64px 0; }
  .scripture-mark { font-size: 64px; margin-bottom: 10px; }
  .scripture blockquote { font-size: 18.5px; }
  .scripture cite { margin-top: 16px; font-size: 12.5px; }

  /* books: smaller cover, three equal store buttons on one line */
  .books .wrap { gap: 8px; }
  .book-stage { padding: 6px 0 18px; }
  .book-cover { width: 190px; }
  .book-points { margin: 18px 0 24px; gap: 10px; }
  .book-points li { font-size: 14.5px; }
  .buy-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .buy-row .btn { padding: 12px 4px; font-size: 13px; }
  .buy-row .btn .buy-on { display: none; }
  .more-books { margin-top: 26px; padding-top: 20px; align-items: flex-start; }
  .more-books img { width: 54px; }

  .freebooks .wrap { gap: 34px; }
  .freebooks-form .btn { width: 100%; }
  .freebooks-art { max-width: 230px; }

  .teach-card { padding: 24px 22px; }
  .teach-num { font-size: 30px; }

  .cta-strip { padding: 36px 0; }
  .cta-strip .btn { width: 100%; }

  .site-footer { padding-top: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 40px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom .wrap { justify-content: center; text-align: center; flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
