/* ==========================================================================
   BibleSlide public pages: logo, navigation, footer, light reading surfaces
   (legal, about, donate, blog, articles). Builds on the tokens in main.css:
   dark navy hero bands + gold accents, with light "paper" sections for reading.
   ========================================================================== */
:root {
  --c-royal: #1e3a8a;
  --c-royal-2: #2552c4;
  --c-sky: #e8efff;
  --c-cream: #fff7e0;
  --c-gold-deep: #b98300;
  --c-paper-2: #eef2fa;
  --c-paper-line: #e1e7f3;
  --c-paper-ink: #0f1a3d;
  --shadow-soft: 0 1px 2px rgba(16, 24, 40, .05), 0 14px 36px -20px rgba(30, 58, 138, .35);
  --focus-light: 0 0 0 3px rgba(37, 82, 196, .45);
}

/* ---------- logo (official artwork, cropped to the drawing in a white badge) ---------- */
.brand-logo { display: block; width: 146px; height: 50px; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .45); }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.brand:focus-visible { border-radius: 12px; }

/* ---------- navigation: 7 items + actions → collapse earlier than before ---------- */
.site-header-inner { height: 72px; }
@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; inset: 72px 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: var(--s-4); padding: var(--s-4) 1.25rem var(--s-5); background: var(--c-ink); border-bottom: 1px solid var(--c-line); max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-menu { flex-direction: column; }
  .site-menu a { padding: .8rem 1rem; border-radius: 12px; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { padding: .9em 1.2em; }
}

/* ---------- footer ---------- */
.site-footer { padding: var(--s-7) 0 var(--s-5); background: #080c19; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.footer-brand .brand { display: inline-block; }
.footer-tagline { margin: var(--s-4) 0 var(--s-2); color: var(--c-gold); font: 700 1rem var(--f-display); letter-spacing: .02em; }
.footer-brand p:last-child { max-width: 22rem; }
.footer-title { margin: 0 0 var(--s-3); color: var(--c-text); font: 700 .78rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.footer-col a { display: inline-block; padding: .4rem 0; color: var(--c-muted); text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--c-text); }
.footer-bottom { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--c-line); }
.footer-bottom p { margin: 0; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- shared light surfaces ---------- */
.paper { background: var(--c-paper); color: var(--c-paper-text); }
.paper h1, .paper h2, .paper h3 { color: var(--c-paper-ink); }
.paper a { color: var(--c-royal-2); }
.paper :focus-visible { box-shadow: var(--focus-light); }
.section-soft { background: var(--c-paper-2); }
.section-head-center { margin-inline: auto; text-align: center; }
.eyebrow-blue { color: var(--c-royal-2); }
.light-card { position: relative; padding: clamp(1.4rem, 1rem + 1.4vw, 2rem); border-radius: 22px; background: #fff; border: 1px solid var(--c-paper-line); box-shadow: var(--shadow-soft); }
.light-card p:last-child { margin-bottom: 0; }
.light-icon { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; margin-bottom: var(--s-4); border-radius: 14px; background: linear-gradient(135deg, var(--c-sky), var(--c-cream)); color: var(--c-royal); }
.light-icon .icon { width: 24px; height: 24px; }
.light-icon-lg { width: 64px; height: 64px; border-radius: 18px; }
.light-icon-lg .icon { width: 30px; height: 30px; }
.light-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.feature-card { transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 22px 40px -20px rgba(30, 58, 138, .45); }
.feature-card h3 { font-size: 1.15rem; }
.feature-card p, .why-item p { color: var(--c-paper-muted); }
.hint { color: var(--c-paper-muted); font-size: var(--fs-sm); }
.btn-outline { background: #fff; color: var(--c-royal); border-color: #c9d4ef; }
.btn-outline:hover { border-color: var(--c-royal-2); }
.btn-danger { background: #b42318; color: #fff; }
.btn-danger:hover { background: #912018; }
.btn-block { width: 100%; }
.hero-actions-center { justify-content: center; }
.notice { margin: 0 0 var(--s-4); padding: .85rem 1rem; border-radius: 14px; border: 1px solid; font-size: .95rem; }
.notice-success { background: #effaf4; border-color: #b7e4cb; color: #14532d; }
.notice-error { background: #fef3f2; border-color: #fecdca; color: #912018; }
.notice-info { background: #eff4ff; border-color: #c7d7fe; color: #1e3a8a; }

/* Light forms */
.field { display: grid; gap: .4rem; margin-bottom: var(--s-4); }
.field label, .paper legend { font-weight: 600; font-size: .95rem; color: var(--c-paper-ink); }
.field small { color: var(--c-paper-muted); font-weight: 500; }
.paper input[type="text"], .paper input[type="email"], .paper input[type="number"], .paper input[type="search"], .paper select, .paper textarea {
  width: 100%; min-height: 48px; padding: .7rem 1rem; border-radius: 12px; border: 1.5px solid #d6deef; background: #fff; color: var(--c-paper-ink); font: inherit; font-size: 1rem;
}
.paper textarea { min-height: 96px; resize: vertical; }
.paper input:focus, .paper select:focus, .paper textarea:focus { outline: none; border-color: var(--c-royal-2); box-shadow: 0 0 0 4px rgba(37, 82, 196, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.check { display: flex; gap: .6rem; align-items: flex-start; min-height: 44px; padding: .6rem 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--c-royal-2); }

/* ---------- legal pages ---------- */
.legal-hero { padding: var(--s-7) 0 var(--s-6); background: radial-gradient(700px 300px at 85% 0%, rgba(91, 140, 255, .16), transparent 60%); border-bottom: 1px solid var(--c-line); }
.legal-hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem); }
.legal-updated { display: inline-block; margin: 0; padding: .35rem .8rem; border-radius: 999px; background: var(--c-ink-3); color: var(--c-text); font-size: var(--fs-sm); }
.legal-wrap { padding: var(--s-7) 0 var(--s-8); }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.legal-toc { position: sticky; top: 96px; }
.legal-toc-box { padding: var(--s-4); border-radius: 18px; background: #fff; border: 1px solid var(--c-paper-line); }
.legal-toc summary { list-style: none; margin-bottom: var(--s-2); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-paper-muted); }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; max-height: calc(100vh - 190px); overflow-y: auto; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: .55rem; padding: .42rem .5rem; border-radius: 8px; color: var(--c-paper-text); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.legal-toc a::before { content: counter(toc) "."; min-width: 1.4em; color: var(--c-paper-muted); font-variant-numeric: tabular-nums; }
.legal-toc a:hover, .legal-toc a.is-active { background: var(--c-sky); color: var(--c-royal); }
.legal-doc { max-width: 72ch; }
@media (min-width: 901px) { .legal-toc summary { pointer-events: none; } }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin: 0; cursor: pointer; font-size: .85rem; color: var(--c-paper-ink); }
  .legal-toc summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; }
  .legal-toc details[open] summary::after { content: "−"; }
  .legal-toc ol { max-height: none; margin-top: var(--s-2); }
}

/* Reading typography on light surfaces (legal documents, articles) */
.prose-light { font-size: 1.0625rem; line-height: 1.78; color: #26304a; overflow-wrap: break-word; }
.prose-light > * + * { margin-top: 1.1em; }
.prose-light p, .prose-light ul, .prose-light ol { margin-bottom: 0; }
.prose-light h2 { margin: 2.2em 0 .7em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); scroll-margin-top: 96px; }
.legal-doc.prose-light h2 { padding-top: 1.4em; border-top: 1px solid var(--c-paper-line); font-size: 1.35rem; }
.legal-doc.prose-light h2:first-child, .prose-light > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose-light h3 { margin: 1.8em 0 .5em; font-size: 1.2rem; scroll-margin-top: 96px; }
.prose-light a { color: var(--c-royal-2); text-underline-offset: 3px; }
.prose-light ul, .prose-light ol { padding-left: 1.4em; }
.prose-light li + li { margin-top: .35em; }
.prose-light strong { color: var(--c-paper-ink); }
.prose-light blockquote:not(.bs-scripture-text) { margin-inline: 0; padding: .6em 1.2em; border-left: 4px solid var(--c-gold); background: #fff; border-radius: 0 14px 14px 0; font-size: 1.1em; color: var(--c-paper-ink); }
.prose-light img { height: auto; border-radius: 16px; }
.prose-light figure { margin-inline: 0; }
.prose-light figcaption { margin-top: .5em; color: var(--c-paper-muted); font-size: .9rem; text-align: center; }
.prose-light table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; }
.prose-light .wp-block-table { overflow-x: auto; }
.prose-light th, .prose-light td { padding: .7em .9em; border: 1px solid var(--c-paper-line); text-align: left; }
.prose-light th { background: var(--c-paper-2); color: var(--c-paper-ink); }
.prose-light code { padding: .1em .35em; border-radius: 6px; background: var(--c-paper-2); font-size: .9em; }
.prose-light .wp-block-button__link { display: inline-block; padding: .85em 1.4em; border-radius: 999px; background: var(--c-gold); color: var(--c-gold-ink); font-weight: 700; text-decoration: none; }
.prose-light .wp-block-embed iframe, .prose-light iframe { max-width: 100%; border-radius: 14px; }
.prose-light .bs-tip { margin: 1.8em 0; padding: 1.1rem 1.4rem; border-radius: 16px; background: var(--c-royal); color: #fff; font-weight: 600; line-height: 1.6; }
.prose-light .bs-tip a { color: var(--c-gold); font-weight: 700; }
.prose-light .bs-tip strong { color: #fff; }

/* ---------- scripture callout ([scripture] shortcode) ---------- */
.bs-scripture { position: relative; margin: 1.8em 0; padding: 1.4rem 1.6rem 1.2rem 4.4rem; border-radius: 18px; background: linear-gradient(135deg, #f3f7ff 0%, #fffaf0 100%); border: 1px solid #e3e9f6; border-left: 4px solid var(--c-gold); }
.bs-scripture-icon { position: absolute; left: 1.35rem; top: 1.45rem; width: 28px; height: 28px; color: var(--c-royal); }
.bs-scripture-ref { margin: 0 0 .4rem; color: var(--c-gold-deep); font: 800 .85rem var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.bs-scripture-text { margin: 0; padding: 0; border: 0; background: none; }
.bs-scripture-text p { margin: 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.65; color: var(--c-paper-ink); }
.bs-scripture-version { margin: .7rem 0 0; color: var(--c-paper-muted); font-size: .85rem; font-weight: 600; }
.bs-scripture-missing { padding: .6rem .9rem; border: 1px dashed #d92d20; border-radius: 10px; color: #912018; font-size: .9rem; }
@media (max-width: 480px) { .bs-scripture { padding: 3.6rem 1.15rem 1.1rem; } .bs-scripture-icon { left: 1.15rem; top: 1.1rem; } }

/* ---------- about ---------- */
.about-hero { position: relative; overflow: hidden; padding: var(--s-7) 0 var(--s-8); background: radial-gradient(800px 480px at 90% 10%, rgba(91, 140, 255, .22), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(244, 180, 0, .12), transparent 60%); }
.about-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4rem); }
.about-hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 80px -30px rgba(91, 140, 255, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.mv-card h2 { font-size: 1.6rem; }
.mv-card p { font-size: 1.1rem; color: var(--c-paper-muted); }
.mv-card-gold { border-top: 4px solid var(--c-gold); }
.mv-card:first-child { border-top: 4px solid var(--c-royal-2); }
.founder { display: flex; gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center; max-width: 920px; margin: 0 auto; padding: clamp(1.6rem, 1rem + 2vw, 2.8rem); border-radius: 26px; background: linear-gradient(135deg, #0f1a3d, var(--c-royal)); color: var(--c-text); box-shadow: 0 30px 70px -35px rgba(15, 26, 61, .8); }
.founder-avatar { display: grid; place-items: center; flex: none; width: 104px; height: 104px; border-radius: 50%; background: linear-gradient(135deg, var(--c-gold), var(--c-gold-2)); color: var(--c-gold-ink); font: 800 2rem var(--f-display); box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); }
.founder .eyebrow { color: var(--c-gold); }
.founder blockquote { margin: 0 0 var(--s-3); }
.founder blockquote p { margin: 0; font: 600 clamp(1.1rem, 1rem + .6vw, 1.4rem)/1.55 var(--f-display); color: #fff; }
.founder figcaption strong { color: var(--c-gold-2); font-size: 1.05rem; }

/* ---------- donate ---------- */
.donate-hero { padding: var(--s-8) 0; text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(244, 180, 0, .16), transparent 65%), radial-gradient(900px 500px at 50% 120%, rgba(91, 140, 255, .2), transparent 60%); }
.donate-hero-inner { max-width: 760px; }
.donate-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4rem); }
.donate-hero .lead { margin-inline: auto; }
.donate-hero .hero-actions { justify-content: center; }
.impact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.impact-media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-soft); }
.why-list { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.why-item { display: flex; gap: var(--s-4); align-items: flex-start; }
.why-item .light-icon { margin: 0; }
.why-item h3 { margin: 0 0 .2rem; font-size: 1.08rem; }
.why-item p { margin: 0; }
.give { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.donate-form h2, .give-soon h2 { font-size: 1.5rem; }
.donate-form fieldset { margin: 0 0 var(--s-4); padding: 0; border: 0; min-width: 0; }
.donate-form legend { margin-bottom: .5rem; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .35rem !important; border-radius: 14px !important; background: var(--c-paper-2); }
.seg legend { float: left; width: 100%; }
.seg label, .amounts label { position: relative; cursor: pointer; }
.seg input, .amounts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 10px; font-weight: 700; color: var(--c-paper-muted); }
.seg input:checked + span { background: #fff; color: var(--c-royal); box-shadow: 0 2px 8px -3px rgba(30, 58, 138, .35); }
.amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.amounts legend { grid-column: 1 / -1; }
.amounts span { display: grid; place-items: center; min-height: 52px; border-radius: 14px; border: 1.5px solid #d6deef; background: #fff; font: 700 1.1rem var(--f-display); color: var(--c-paper-ink); transition: border-color .15s, background .15s; }
.amounts input:checked + span { border-color: var(--c-royal-2); background: var(--c-sky); color: var(--c-royal); box-shadow: inset 0 0 0 1px var(--c-royal-2); }
.seg input:focus-visible + span, .amounts input:focus-visible + span { box-shadow: var(--focus-light); }
.give-notes h3 { font-size: 1.1rem; }
.check-list { list-style: none; margin: 0 0 var(--s-4); padding: 0; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 1.8rem; color: var(--c-paper-text); }
.check-list li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .9rem; height: .5rem; border-left: 2px solid var(--c-gold-deep); border-bottom: 2px solid var(--c-gold-deep); transform: rotate(-45deg); }
.give-soon { text-align: center; }
.give-soon p { color: var(--c-paper-muted); max-width: 34rem; margin-inline: auto; }
.give-soon .btn { margin-top: var(--s-3); max-width: 100%; overflow-wrap: anywhere; }

/* thank-you + delete account */
.thanks { padding: var(--s-8) 0; }
.thanks-card { max-width: 680px; margin: 0 auto; text-align: center; }
.thanks-card h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.thanks-icon { background: linear-gradient(135deg, #d8f5e5, var(--c-cream)); color: #0f7a4a; }
.lead-dark { font-size: var(--fs-lg); color: var(--c-paper-muted); }
.narrow-light { max-width: 760px; }
.steps-light { margin: 0 0 var(--s-4); padding-left: 1.3em; display: grid; gap: .6rem; }
.form-light { margin: var(--s-5) 0 var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--c-paper-line); }

/* ---------- blog ---------- */
.blog-hero { padding: var(--s-7) 0 var(--s-6); background: radial-gradient(800px 400px at 85% 0%, rgba(91, 140, 255, .2), transparent 60%), radial-gradient(500px 300px at 5% 100%, rgba(244, 180, 0, .1), transparent 60%); }
.blog-hero-inner > * { max-width: 820px; }
.blog-hero h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); }
.blog-search { display: flex; align-items: center; gap: .5rem; max-width: 560px; margin-top: var(--s-5); padding: .35rem .35rem .35rem 1rem; border-radius: 999px; background: #fff; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6); }
.blog-search .icon { color: var(--c-paper-muted); }
.blog-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--c-paper-ink); font: inherit; }
.blog-search input:focus { outline: none; }
.blog-search:focus-within { box-shadow: 0 0 0 3px rgba(244, 180, 0, .6), 0 16px 40px -18px rgba(0, 0, 0, .6); }
.cat-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: var(--s-5); }
.chip-light { display: inline-flex; align-items: center; min-height: 40px; padding: .3rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--c-paper-line); color: var(--c-paper-text) !important; text-decoration: none; font-weight: 600; font-size: .92rem; }
.chip-light:hover { border-color: var(--c-royal-2); }
.chip-light.is-active { background: var(--c-royal); border-color: var(--c-royal); color: #fff !important; }
.blog-list { padding-top: var(--s-5); }
.list-title { margin: var(--s-7) 0 var(--s-5); font-size: 1.6rem; }
.related .list-title { margin-top: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--c-paper-line); box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 24px 44px -22px rgba(30, 58, 138, .45); }
.post-card-media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--c-royal), #0f1a3d); overflow: hidden; }
.post-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-placeholder { display: grid; place-items: center; height: 100%; color: var(--c-gold); }
.post-card-placeholder .icon { width: 44px; height: 44px; }
.post-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1.35rem 1.35rem; }
.post-cat { align-self: flex-start; margin-bottom: .6rem; padding: .2rem .65rem; border-radius: 999px; background: var(--c-cream); color: var(--c-gold-deep) !important; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.post-card-title { margin: 0 0 .5rem; font-size: 1.2rem; line-height: 1.3; }
.post-card-title a { color: var(--c-paper-ink) !important; text-decoration: none; }
.post-card-title a:hover { color: var(--c-royal-2) !important; }
.post-card-excerpt { margin: 0 0 1rem; color: var(--c-paper-muted); font-size: .96rem; }
.post-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: auto; }
.post-meta { display: inline-flex; flex-wrap: wrap; gap: .1rem .45rem; color: var(--c-paper-muted); font-size: .85rem; }
.post-card-more { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; font-weight: 700; font-size: .92rem; text-decoration: none; }
.post-card-more .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.post-card-more:hover .icon { transform: translateX(3px); }
.post-card-featured { display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card-featured .post-card-media { aspect-ratio: auto; min-height: 320px; }
.post-card-featured .post-card-body { justify-content: center; padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); }
.post-card-featured .post-card-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.post-card-featured .post-card-excerpt { font-size: 1.05rem; }
.empty-state { max-width: 640px; margin: var(--s-4) auto; text-align: center; }
.empty-state p { color: var(--c-paper-muted); }
.pagination { margin-top: var(--s-6); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 .9rem; border-radius: 12px; background: #fff; border: 1px solid var(--c-paper-line); color: var(--c-paper-ink); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--c-royal); border-color: var(--c-royal); color: #fff; }

.create-cta { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: var(--s-6); overflow: hidden; padding: clamp(1.6rem, 1rem + 3vw, 3rem); border-radius: 28px; background: radial-gradient(500px 260px at 100% 0%, rgba(244, 180, 0, .22), transparent 60%), linear-gradient(135deg, var(--c-royal) 0%, #0f1a3d 80%); color: var(--c-text); box-shadow: 0 30px 70px -35px rgba(15, 26, 61, .8); }
.paper .create-cta h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.create-cta p { color: #c9d3ee; font-size: var(--fs-lg); }
.paper .create-cta .btn-primary { color: var(--c-gold-ink); }
.create-cta-media img { display: block; width: 100%; max-width: 300px; height: auto; margin-left: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22px; transform: rotate(3deg); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }

/* ---------- article ---------- */
.article-hero { padding: var(--s-7) 0 var(--s-6); background: radial-gradient(700px 320px at 80% 0%, rgba(91, 140, 255, .2), transparent 60%); }
.article-head { max-width: 860px; }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.3rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--s-4); font-size: .9rem; color: var(--c-muted); }
.crumbs a { color: var(--c-gold-2); text-decoration: none; font-weight: 600; }
.article-byline { display: flex; align-items: center; gap: .8rem; margin-top: var(--s-4); color: var(--c-muted); }
.article-byline .post-meta { color: var(--c-muted); font-size: .95rem; }
.byline-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--c-gold), var(--c-gold-2)); color: var(--c-gold-ink); font: 800 1.1rem var(--f-display); }
.article-cover { max-width: 960px; margin: 0 auto; padding-top: var(--s-6); }
.article-cover img { display: block; width: 100%; height: auto; max-height: 540px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-soft); }
.article-cover figcaption { margin-top: .6rem; color: var(--c-paper-muted); font-size: .9rem; text-align: center; }
.article-body { max-width: 740px; padding: var(--s-6) 0 var(--s-5); }
.article-foot { max-width: 740px; padding-bottom: var(--s-6); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.share { padding: var(--s-5); border-radius: 20px; background: #fff; border: 1px solid var(--c-paper-line); }
.share-title { margin: 0 0 var(--s-3); font-size: 1.05rem; }
.share-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.share-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--c-paper-line); background: var(--c-paper); color: var(--c-paper-ink) !important; font: 600 .92rem var(--f-body); text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--c-royal-2); color: var(--c-royal) !important; }
.share-btn .icon { width: 1.1em; height: 1.1em; }
.related { padding-top: var(--s-5); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .about-hero-inner, .impact, .give { grid-template-columns: 1fr; }
  .about-hero-media, .impact-media { max-width: 560px; }
  .light-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card-featured { grid-template-columns: 1fr; }
  .post-card-featured .post-card-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .mv-grid, .field-row { grid-template-columns: 1fr; }
  .create-cta { grid-template-columns: 1fr; }
  .create-cta-media { display: none; }
  .founder { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .light-grid, .post-grid { grid-template-columns: 1fr; }
  .blog-search .btn { padding-inline: 1rem; }
  .brand-logo { width: 132px; height: 45px; }
}
@media (max-width: 360px) {
  .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-search { flex-wrap: wrap; border-radius: 22px; padding: .5rem; }
  .blog-search .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-card, .post-card, .post-card-media img, .post-card-more .icon { transition: none; }
  .feature-card:hover, .post-card:hover, .post-card:hover .post-card-media img { transform: none; }
}
