/*
Theme Name: H.I.S. Ministries
Description: Editable block theme matching the approved H.I.S. Ministries design.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: his-ministries
*/
/* The approved reference is imagegen-concepts/04-tessera-inspired-homepage-concept.png.
   Original, unmodified brand and photo assets are used instead of AI renderings. */
:root {
  --teal: #0a3142;
  --navy: #082138;
  --blue: #2ea3f2;
  --muted: #666;
  --white: #fff;
  --pale: #edf8fb;
  --sans: 'DM Sans', Arial, sans-serif;
  --scale: min(1vw, 14.4px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: -.045em; }
.wrap { width: min(90.4%, 1302px); margin-inline: auto; }
.topline { background: var(--teal); color: var(--white); font-size: clamp(12px, 1.3vw, 18px); }
.topline .wrap { min-height: calc(var(--scale) * 4); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topline a { display: inline-flex; align-items: center; gap: 10px; }
.site-header { height: calc(var(--scale) * 12); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: block; width: 40%; flex-shrink: 0; }
.site-header nav { display: flex; align-items: center; gap: calc(var(--scale) * 2.8); font-size: clamp(13px, 1.4vw, 20px); }
.site-header nav > a:not(.button) { padding-block: 10px; white-space: nowrap; }
.site-header nav > a[aria-current='page'] { color: var(--blue); border-bottom: 2px solid var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4em; border: 0; border-radius: 8px; background: var(--teal); color: var(--white); padding: .75em 1.2em; font-size: clamp(14px, 1.5vw, 21px); line-height: 1.3; font-weight: 600; text-align: center; min-height: 44px; }
.button:hover { background: var(--navy); text-decoration: none; }
.button.small { font-size: clamp(13px, 1.4vw, 20px); padding: .75em 1.2em; }
.text-link { color: var(--blue); display: inline-flex; gap: .28em; align-items: center; font-size: clamp(14px, 1.5vw, 21px); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.eyebrow { font-size: clamp(10px, 1.05vw, 15px); font-weight: 600; line-height: 1.5; letter-spacing: .19em; color: var(--teal); }
.hero { display: grid; grid-template-columns: 57% 40%; justify-content: space-between; padding-top: calc(var(--scale) * 1.4); padding-bottom: calc(var(--scale) * 3.6); align-items: center; }
.hero .eyebrow { letter-spacing: .2em; margin-bottom: calc(var(--scale) * 1.25); }
.hero h1 { font-size: calc(var(--scale) * 5.35); line-height: 1.08; letter-spacing: -.052em; font-weight: 600; }
.hero h1 em { font-weight: 500; }
.hero-copy { padding-top: calc(var(--scale) * 3.5); }
.hero .intro { font-size: clamp(16px, 1.65vw, 23.5px); line-height: 1.45; color: var(--muted); }
.hero-copy .button { margin-top: calc(var(--scale) * 2.05); }
.hero-copy .story-link { display: flex; width: fit-content; margin-top: calc(var(--scale) * 1.05); text-decoration: none; }
.facebook-banner { width: min(100%, 1440px); margin-inline: auto; }
.facebook-banner > img { width: 100%; height: auto; }
.facebook-banner figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: calc(var(--scale) * 4.5); color: var(--muted); font-size: clamp(12px, 1.3vw, 18px); }
.facebook-banner figcaption > span:first-child { font-style: italic; }
.archive-note { font-size: clamp(10px, .92vw, 13px); font-weight: 500; letter-spacing: .13em; white-space: nowrap; }
.story { display: grid; grid-template-columns: 38% 59%; justify-content: space-between; align-items: center; padding-top: calc(var(--scale) * .6); padding-bottom: calc(var(--scale) * 2.3); }
h2 { font-size: calc(var(--scale) * 3.55); }
.story h2 { margin-top: calc(var(--scale) * 1.4); margin-bottom: calc(var(--scale) * 2.1); }
.story-copy > p:last-child { font-size: clamp(15px, 1.6vw, 23px); line-height: 1.5; color: var(--muted); max-width: 97%; }
.story-photos { position: relative; padding-bottom: calc(var(--scale) * .8); }
.story-main-photo { aspect-ratio: 1.73; object-fit: cover; object-position: center 48%; border-radius: 9px; }
.story-inset-photo { position: absolute; width: 43%; right: -2.2%; bottom: 0; border: 6px solid var(--white); border-radius: 10px; aspect-ratio: 1.33; object-fit: cover; }
.journal { background: var(--pale); padding-block: calc(var(--scale) * 2.6); }
.journal-grid { display: grid; grid-template-columns: 35% 62%; justify-content: space-between; }
.journal-heading { padding-top: calc(var(--scale) * 1.15); }
.journal .eyebrow { font-size: clamp(10px, .94vw, 13.5px); letter-spacing: .15em; }
.journal h2 { font-size: calc(var(--scale) * 3.05); margin-top: calc(var(--scale) * 1.25); margin-bottom: calc(var(--scale) * 1.7); white-space: nowrap; }
.featured-post { display: grid; grid-template-columns: 46% 50%; justify-content: space-between; align-items: start; }
.post-image { display: block; }
.post-image img { aspect-ratio: 1.1; object-fit: cover; object-position: center; border-radius: 9px; }
.post-copy { padding-top: calc(var(--scale) * 1.05); }
.post-copy h3 { font-size: calc(var(--scale) * 2.1); line-height: 1.25; margin-top: calc(var(--scale) * 1.25); margin-bottom: calc(var(--scale) * 1.25); }
.post-copy > p:not(.eyebrow) { color: var(--muted); font-size: clamp(13px, 1.35vw, 19px); line-height: 1.5; }
.post-copy .text-link { margin-top: calc(var(--scale) * 1.05); }
.giving { background: var(--teal); color: var(--white); padding-block: calc(var(--scale) * 3); }
.giving-grid { display: grid; grid-template-columns: 59% 38%; justify-content: space-between; align-items: center; }
.giving h2 { font-size: calc(var(--scale) * 3.95); line-height: 1.15; letter-spacing: -.04em; }
.giving-copy > p { font-size: clamp(13px, 1.38vw, 19.5px); margin-top: calc(var(--scale) * 1.8); line-height: 1.4; }
.donation-panel { border-radius: 8px; padding: calc(var(--scale) * 1.7) calc(var(--scale) * 2.6) calc(var(--scale) * 1.4); background: var(--white); color: var(--navy); text-align: center; }
.donation-panel h3 { font-size: calc(var(--scale) * 2.3); font-style: italic; font-weight: 600; margin-bottom: calc(var(--scale) * 1.1); }
.paypal-button { width: 100%; }
.secure-note { font-size: clamp(11px, 1.12vw, 16px); color: var(--muted); margin-top: calc(var(--scale) * 1.05); }
.site-footer { padding-block: 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.site-footer address { font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.65; }
.site-footer address > * { display: block; }
.footer-links { text-align: right; }
.footer-links nav { display: flex; justify-content: flex-end; gap: 25px; color: var(--blue); font-size: 13px; }
.footer-links p { color: var(--muted); font-size: 12px; margin-top: 12px; }
.menu-toggle { display: none; }
.skip-link { position: absolute; left: 20px; top: -90px; padding: 12px; z-index: 5; background: var(--white); }
.skip-link:focus { top: 10px; }
/* The existing second page shares the refreshed typography, navigation and footer. */
.blog-heading { text-align: center; padding: 55px 0 60px; border-top: 1px solid #e5e9ec; }
.blog-heading h1 { font-size: clamp(34px, 4.5vw, 57px); margin: 20px 0; }
.blog-heading > p:last-child { color: var(--muted); }
.article { width: min(90.4%, 900px); margin-inline: auto; padding-bottom: 85px; }
.article-banner { max-height: 540px; object-fit: cover; border-radius: 8px; }
.article-caption { font-size: 12px; color: var(--muted); margin-top: 12px; }
.article-body { max-width: 680px; margin: 45px auto 0; }
.article-body .eyebrow { font-size: 11px; }
.article-body h2 { font-size: clamp(30px, 3.6vw, 41px); margin: 20px 0 26px; }
.article-body > p:not(.eyebrow) { font-size: 15px; line-height: 1.85; color: var(--muted); margin-top: 16px; }
.article-body .source-note { font-size: 12px!important; border-top: 1px solid #e5e9ec; padding-top: 22px; margin-top: 30px!important; }
.source-note a { text-decoration: underline; }
.article-body .text-link { font-size: 15px; margin-top: 20px; }
.date-separator { margin-inline: 12px; }
.blog-newsletter { background: var(--pale); padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 60px; }
.blog-newsletter h2 { font-size: 25px; }
.blog-newsletter p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.blog-newsletter .text-link { font-size: 15px; }
@media (min-width: 1441px) {
  /* Keep the approved composition at a comfortable maximum reading width. */
  .topline .wrap { min-height: 58px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .topline { font-size: 11px; }
  .topline .wrap { min-height: 34px; gap: 8px; }
  .topline a { gap: 4px; }
  .site-header { min-height: 95px; height: auto; flex-wrap: wrap; gap: 0; }
  .site-header .brand { width: min(73%, 310px); }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; background: none; border: 0; padding: 12px 0 12px 12px; color: var(--navy); min-height: 44px; font-size: 13px; }
  .site-header nav { display: none; flex-basis: 100%; justify-content: space-between; gap: 12px; padding-bottom: 20px; font-size: 14px; }
  .site-header nav.is-open { display: flex; }
  .button.small { font-size: 13px; padding: 10px 14px; }
  .hero { padding: 23px 0 32px; grid-template-columns: 1fr; gap: 23px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .18em; margin-bottom: 17px; }
  .hero h1 { font-size: clamp(32px, 6.4vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
  .hero-copy { padding: 0; }
  .hero .intro { max-width: 500px; font-size: 16px; line-height: 1.5; }
  .hero-copy .button { margin-top: 19px; }
  .hero-copy .story-link { display: inline-flex; vertical-align: middle; margin: 19px 0 0 18px; font-size: 15px; }
  .button { font-size: 15px; padding: 12px 17px; min-height: 44px; }
  .facebook-banner figcaption { align-items: flex-start; flex-direction: column; gap: 9px; padding-block: 13px 20px; font-size: 12px; }
  .archive-note { font-size: 9px; }
  .story { grid-template-columns: 1fr; gap: 25px; padding-block: 20px 37px; }
  .eyebrow { font-size: 10px; }
  .story h2 { font-size: 30px; margin: 15px 0 18px; }
  .story-copy > p:last-child { font-size: 15px; line-height: 1.6; max-width: 520px; }
  .story-photos { margin-right: 6px; padding-bottom: 9px; }
  .story-inset-photo { border-width: 4px; }
  .journal { padding-block: 30px; }
  .journal-grid { grid-template-columns: 1fr; gap: 25px; }
  .journal-heading { padding: 0; }
  .journal h2 { font-size: 28px; margin: 13px 0 13px; white-space: normal; }
  .text-link { font-size: 15px; }
  .featured-post { grid-template-columns: 43% 52%; }
  .post-image img { aspect-ratio: .8; }
  .post-copy { padding-top: 0; }
  .post-copy .eyebrow { font-size: 9px; letter-spacing: .06em; }
  .post-copy h3 { font-size: 20px; margin: 12px 0; }
  .post-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.5; }
  .post-copy .text-link { margin-top: 14px; font-size: 15px; }
  .giving { padding-block: 34px; }
  .giving-grid { grid-template-columns: 1fr; gap: 25px; }
  .giving h2 { font-size: clamp(29px, 6.3vw, 38px); }
  .giving-copy > p { font-size: 14px; margin-top: 17px; max-width: 500px; }
  .donation-panel { padding: 23px 25px; }
  .donation-panel h3 { font-size: 23px; margin-bottom: 14px; }
  .secure-note { font-size: 12px; margin-top: 12px; }
  .site-footer { padding-block: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .site-footer address { font-size: 12px; line-height: 1.65; }
  .footer-links { text-align: left; }
  .footer-links nav { justify-content: flex-start; gap: 17px; font-size: 12px; flex-wrap: wrap; }
  .footer-links p { font-size: 11px; white-space: normal; margin-top: 16px; }
  .article-body { margin-top: 30px; }
  .blog-heading { padding-block: 35px; }
  .blog-newsletter { display: block; padding: 26px; }
  .blog-newsletter .text-link { margin-top: 20px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .topline { font-size: 10px; }
  .hero h1 { font-size: 30px; }
  .hero-copy .story-link { margin-left: 12px; font-size: 14px; }
  .hero-copy .button { font-size: 14px; padding-inline: 14px; }
  .featured-post { grid-template-columns: 1fr; gap: 20px; }
  .post-image img { aspect-ratio: 1.5; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Fine alignment to the approved desktop reference. */
@media (min-width: 761px) {
  .hero { padding-bottom: calc(var(--scale) * 2.4); }
  .hero .intro { font-size: clamp(16px, 1.62vw, 23px); }
  .story h2 { font-size: calc(var(--scale) * 3.25); }
  .story-copy > p:last-child { font-size: clamp(15px, 1.58vw, 22.5px); }
  .post-image img { aspect-ratio: 1.27; }
  .post-copy h3 { font-size: calc(var(--scale) * 1.95); letter-spacing: -.05em; }
  .post-copy > p:not(.eyebrow) { font-size: clamp(13px, 1.3vw, 18.5px); }

}

/* Compact utility bar: contact links and explicit page-language navigation. */
.topline { background: #061724; font-size: 12px; }
.topline .wrap { min-height: 38px; gap: 20px; }
.utility-contact { display: flex; align-items: center; gap: 24px; }
.topline .utility-contact a { display: inline-flex; align-items: center; gap: 8px; }
.facebook-mark { font-family: Arial, sans-serif; font-size: 16px; font-weight: 700; }
.utility-phone { color: #e0e7ec; }
.language-nav { display: flex; align-items: stretch; align-self: stretch; gap: 18px; }
.language-nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; align-self: center; opacity: .8; }
.topline .language-nav a { display: flex; align-items: center; border-bottom: 2px solid transparent; padding-top: 2px; color: #c4cdd4; font-size: 10px; font-weight: 500; letter-spacing: .055em; text-transform: uppercase; }
.topline .language-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--blue); }
.topline .language-nav a:hover { color: #fff; text-decoration: none; }
html[lang="es"] .hero h1 { font-size: calc(var(--scale) * 4.6); }
html[lang="es"] .journal h2 { white-space: normal; }
html[lang="es"] .site-header nav { gap: calc(var(--scale) * 2.1); }
@media (max-width: 760px) {
  .topline .wrap { min-height: 40px; gap: 12px; }
  .utility-contact { gap: 14px; }
  .topline { font-size: 11px; }
  .language-nav { gap: 12px; }
  .language-nav svg { display: none; }
  .topline .language-nav a { font-size: 9px; }
  html[lang="es"] .hero h1 { font-size: clamp(29px, 5.8vw, 44px); }
  html[lang="es"] .site-header nav { gap: 8px; font-size: 12px; }
}
@media (pointer: coarse) {
  .topline .utility-contact a, .topline .language-nav a { min-height: 44px; }
}

/* Tessera-inspired approved concept, with all decorative leaves omitted. */
:root {
  --teal: #322538;
  --navy: #322538;
  --blue: #dc5941;
  --muted: #605967;
  --white: #f8f5ec;
  --pale: #d5e9dd;
  --sans: 'Outfit', Arial, sans-serif;
}
body { background: #f8f5ec; }
h1, h2, h3 { letter-spacing: -.035em; font-weight: 500; }
.topline { background: #322538; }
.topline .wrap { min-height: 58px; }
.topline { font-size: 18px; }
.topline .language-nav a { font-size: 16px; letter-spacing: 0; color: #eee8ee; }
.topline .language-nav a[aria-current="page"] { color: #f4da70; border-bottom-color: #f4da70; }
.utility-phone { color: #eee8ee; }
.utility-phone::before { content: '☎'; margin-right: 6px; }
.language-nav { align-self: center; gap: 30px; }
.topline .language-nav a { padding-block: 8px; }
.language-nav svg { width: 23px; height: 23px; }
.site-header { height: calc(var(--scale) * 12); }
.brand { width: 40%; }
.site-header nav { font-size: 21px; }
.site-header nav > a[aria-current='page'] { color: var(--navy); border-bottom: 4px solid #f4da70; }
.button, .button.small { background: #322538; color: #fffaf4; font-weight: 400; font-size: 21px; border-radius: 11px; }
.button:hover { background: #4c3953; }
.hero { grid-template-columns: 58% 40%; padding-top: calc(var(--scale) * 1.3); padding-bottom: calc(var(--scale) * 3.9); }
.hero h1 { font-size: calc(var(--scale) * 5.8); font-weight: 500; line-height: 1.055; letter-spacing: -.038em; }
.hero h1 em { font-style: normal; }
.hero .eyebrow { margin-bottom: calc(var(--scale) * 1.4); }
.hero-copy { max-width: 365px; padding-top: calc(var(--scale) * 3.2); }
.hero .intro { font-size: 23px; line-height: 1.38; }
.love-accent { position: relative; white-space: nowrap; }
.love-accent::after { content: ''; position: absolute; left: -3%; right: -3%; bottom: 0; height: 7px; background: #f4da70; border-radius: 50%; transform: rotate(-1deg); z-index: -1; }
.hero-heading { isolation: isolate; }
.facebook-banner { width: min(calc(100% - 32px), 1408px); }
.facebook-banner > img { border-radius: 25px; }
.facebook-banner figcaption { width: calc(100% - 40px); min-height: 67px; font-size: 19px; }
.archive-note { font-size: 14px; letter-spacing: .04em; }
.story { width: min(calc(100% - 40px), 1400px); border-radius: 27px; background: #d5e9dd; grid-template-columns: 40% 57%; padding: 30px 36px 20px 48px; min-height: 490px; }
.story h2 { font-size: calc(var(--scale) * 3.7); line-height: 1.13; margin-top: 22px; margin-bottom: 28px; }
.story-copy > p:last-child { max-width: 470px; font-size: 23px; line-height: 1.4; }
.story-main-photo { aspect-ratio: 1.8; border: 3px solid #f8f5ec; border-radius: 20px; }
.story-photos { padding-bottom: 24px; }
.story-inset-photo { width: 48%; right: -2%; border: 7px solid #f8f5ec; border-radius: 22px; }
.journal { background: transparent; padding-block: 30px 22px; }
.journal-grid { width: min(calc(100% - 40px), 1400px); grid-template-columns: 30% 68%; align-items: center; }
.journal-heading { padding: 0 0 0 48px; }
.journal h2 { white-space: normal; max-width: 350px; font-size: calc(var(--scale) * 4.4); line-height: 1.05; margin: 22px 0; }
.journal .eyebrow { font-size: 14px; }
.featured-post { background: #fbea9b; border-radius: 26px; padding: 26px 28px; grid-template-columns: 44% 51%; align-items: center; }
.post-image img { aspect-ratio: 1.21; border-radius: 10px; }
.post-copy { padding: 0; }
.post-copy h3 { font-size: 29px; letter-spacing: -.035em; line-height: 1.18; margin: 19px 0; }
.post-copy > p:not(.eyebrow) { font-size: 21px; line-height: 1.4; }
.post-copy .text-link { margin-top: 12px; }
.giving { width: min(calc(100% - 40px), 1400px); margin-inline: auto; border-radius: 25px; background: #322538; padding: 39px 0; }
.giving-grid { width: 88%; grid-template-columns: 57% 38%; }
.giving h2 { font-size: calc(var(--scale) * 4.2); font-weight: 500; line-height: 1.07; }
.giving-copy > p { max-width: 560px; font-size: 21px; margin-top: 24px; color: #e9e1eb; }
.donation-panel { position: relative; border-radius: 12px; padding: 23px 36px 26px; }
.donation-panel::after { content: ''; position: absolute; right: -45px; top: -16px; width: 45px; height: 66px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 66'%3E%3Cg fill='none' stroke='%23f4da70' stroke-width='7' stroke-linecap='round'%3E%3Cpath d='M4 28 15 4M17 39 36 22M22 57 41 57'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat; }
.donation-panel h3 { font-size: 35px; margin-bottom: 16px; }
.secure-note { font-size: 17px; margin-top: 16px; }
.site-footer { padding-block: 38px; }
.site-footer address { font-size: 17px; line-height: 1.5; }
.footer-links nav { color: #328ac0; font-size: 17px; }
.footer-links p { font-size: 15px; }
@media (max-width: 1100px) and (min-width: 761px) {
  .topline { font-size: 13px; }
  .topline .wrap { min-height: 40px; }
  .topline .language-nav a { font-size: 12px; }
  .button, .button.small, .site-header nav { font-size: 16px; }
  .hero .intro, .story-copy > p:last-child { font-size: 17px; }
  .hero-copy { max-width: 280px; }
  .story { min-height: 340px; padding: 25px; }
  .journal-heading { padding-left: 25px; }
  .featured-post { padding: 20px; }
  .post-copy h3 { font-size: 21px; }
  .post-copy > p:not(.eyebrow), .giving-copy > p { font-size: 16px; }
  .donation-panel { padding: 20px; }
  .donation-panel h3 { font-size: 26px; }
  .secure-note, .site-footer address, .footer-links nav { font-size: 13px; }
  .footer-links p { font-size: 12px; }
}
@media (max-width: 760px) {
  .topline { font-size: 10px; }
  .topline .wrap { min-height: 40px; gap: 8px; }
  .utility-contact { gap: 10px; }
  .utility-phone::before { display: none; }
  .language-nav { gap: 12px; }
  .topline .language-nav a { font-size: 9px; }
  .site-header { height: auto; }
  .site-header nav, .button, .button.small { font-size: 14px; }
  .hero { grid-template-columns: 1fr; padding-block: 20px 28px; }
  .hero h1 { font-size: clamp(30px, 6.2vw, 46px); }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero-copy { padding: 0; max-width: 500px; }
  .hero .intro { font-size: 16px; }
  .love-accent::after { height: 4px; }
  .facebook-banner { width: calc(100% - 24px); }
  .facebook-banner > img { border-radius: 15px; }
  .facebook-banner figcaption { width: calc(100% - 16px); font-size: 12px; }
  .archive-note { font-size: 9px; }
  .story { width: calc(100% - 24px); grid-template-columns: 1fr; padding: 28px 20px 20px; border-radius: 20px; min-height: 0; }
  .story h2 { font-size: 30px; margin: 16px 0 20px; }
  .story-copy > p:last-child { font-size: 16px; }
  .story-photos { padding-bottom: 16px; }
  .story-inset-photo { border-width: 4px; border-radius: 14px; }
  .journal { padding-block: 30px 20px; }
  .journal-grid { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .journal-heading { padding-left: 20px; }
  .journal h2 { font-size: 32px; margin: 15px 0; }
  .journal .eyebrow { font-size: 10px; }
  .featured-post { padding: 20px; grid-template-columns: 1fr; gap: 20px; border-radius: 20px; }
  .post-image img { aspect-ratio: 1.6; }
  .post-copy h3 { font-size: 24px; margin: 14px 0; }
  .post-copy > p:not(.eyebrow) { font-size: 15px; }
  .giving { width: calc(100% - 24px); padding-block: 28px; border-radius: 20px; }
  .giving-grid { width: calc(100% - 40px); grid-template-columns: 1fr; }
  .giving h2 { font-size: 30px; }
  .giving-copy > p { font-size: 15px; margin-top: 18px; }
  .donation-panel { padding: 24px; }
  .donation-panel::after { right: -10px; top: -12px; width: 28px; height: 42px; }
  .donation-panel h3 { font-size: 26px; }
  .secure-note { font-size: 12px; }
  .site-footer { padding-block: 28px; }
  .site-footer address, .footer-links nav { font-size: 12px; }
  .footer-links p { font-size: 11px; }
}
/* Tie the concept palette to the original teal logo. */
:root { --teal: #0a3142; --navy: #0a3142; }
.topline, .giving, .button, .button.small { background-color: #0a3142; }
.button:hover { background-color: #16495b; }
.donation-panel { color: #322538; }
.paypal-button { background-color: #322538; color: #fffaf4; }
.paypal-button:hover { background-color: #4c3953; }

/* Full-width giving and blog newsletter bands. */
.giving { width: 100%; border-radius: 0; }
.giving-grid { width: min(88%, 1232px); }
.blog-newsletter.wrap {
  width: 100%;
  margin-inline: 0;
  padding-inline: max(4.8%, calc((100% - 1302px) / 2));
}
@media (max-width: 760px) {
  .giving-grid { width: calc(100% - 40px); }
  .blog-newsletter.wrap { padding-inline: 20px; }
}

/* Shared compact footer spacing below both full-width bands. */
.blog-newsletter.wrap { margin-bottom: 0; }
.site-footer { padding-block: 22px; }
.footer-links p { margin-top: 8px; }
@media (max-width: 760px) {
  .site-footer { padding-block: 20px; }
}

/* Utility links echo the yellow active-language accent. */
.utility-contact a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-block: 4px;
}
.utility-contact a:hover { text-decoration: none; border-bottom-color: #f4da70; }
.facebook-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 24px;
  font-size: 23px;
  line-height: 1;
  flex-shrink: 0;
  text-decoration: none;
}
@media (max-width: 760px) {
  .facebook-mark { width: 14px; height: 20px; font-size: 19px; }
  .utility-contact a { text-underline-offset: 4px; }
}
/* A modestly taller photo area, with two photographs after the opening panorama. */
.facebook-banner { position:relative; }
.ministry-slides { position:relative; aspect-ratio:2.65; overflow:hidden; border-radius:25px; background:#e9e4da; }
.ministry-slides > * { display:none; margin:0; }
.ministry-slides > :first-child { display:block; width:100%; height:100%; object-fit:contain; }
.ministry-slides.is-ready > * { display:block; position:absolute; top:0; left:0; width:calc(50% - 5px); height:100%; opacity:0; transition:opacity .8s ease; object-fit:cover; }
.ministry-slides.is-ready > .is-right { left:calc(50% + 5px); }
.ministry-slides.is-ready > .is-visible { opacity:1; z-index:1; }
.ministry-slides.is-panorama > .is-visible { width:100%; object-fit:contain; }
.ministry-slides > * > img { width:100%; height:100%; object-fit:cover; display:block; }
.ministry-slides.is-panorama > .is-visible > img { object-fit:contain; }
.slideshow-controls { display:flex; gap:5px; position:absolute; right:18px; top:14px; z-index:2; }
.slideshow-controls button { border:1px solid #ffffff70; background:#0a3142dd; color:white; width:34px; height:34px; padding:0; border-radius:50%; font:22px/1 Arial,sans-serif; cursor:pointer; }
.slideshow-controls button:nth-child(2) { font-size:13px; }
.slideshow-controls button:hover { background:#0a3142; color:#f4da70; }
.slideshow-controls button:focus-visible { outline:3px solid #f4da70; outline-offset:3px; }
.editor-styles-wrapper .ministry-slides { aspect-ratio:auto; display:grid; grid-template-columns:1fr 1fr; gap:10px; overflow:visible; }
.editor-styles-wrapper .ministry-slides > * { display:block; height:auto; width:100%; }
@media(max-width:760px) { .ministry-slides { aspect-ratio:2; border-radius:15px; } .slideshow-controls { top:8px; right:8px; } .slideshow-controls button { width:28px; height:28px; } }
@media(prefers-reduced-motion:reduce) { .ministry-slides.is-ready > * { transition:none; } }

/* Native WordPress block wrappers retain the approved geometry. */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > *, .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
.wp-block-group, .wp-block-post-content { box-sizing: border-box; }
.his-link { display: contents; }
.article-body > p.his-link { line-height:1.5; }
.wp-block-image { margin: 0; }
.brand img { width: 100%; height: auto; }
.facebook-banner > .wp-block-image > img { border-radius: 25px; width: 100%; height: auto; }
.facebook-banner .banner-caption { display:flex; align-items:center; justify-content:space-between; gap:20px; width:calc(100% - 40px); min-height:67px; font-size:19px; color:var(--muted); }
.banner-caption p:first-child { font-style:italic; }
.story-main-photo { overflow:hidden; }
.story-main-photo img { width:100%; height:100%; aspect-ratio:1.8; object-fit:cover; object-position:center 48%; }
.story-inset-photo img { width:100%; height:100%; aspect-ratio:1.33; object-fit:cover; }
.post-image a { display:block; }
.footer-address { font-size:17px; line-height:1.5; color:var(--muted); }
.footer-address .his-link { display:block; }
.site-header nav > p.his-link > a:not(.button) { padding-block:10px; white-space:nowrap; }
.site-header nav a[aria-current=page] { border-bottom:4px solid #f4da70; }
.article > .wp-block-group > .wp-block-image img { max-height:540px; object-fit:cover; border-radius:8px; }
.wp-block-post-template { margin:0; padding:0; list-style:none; }
.wp-block-post-template > li { margin:0; }
.wp-block-query-pagination { display:flex; gap:20px; justify-content:center; padding-bottom:25px; }
.wp-block-query-pagination:empty { display:none; }
.wp-block-query-pagination a { color:var(--blue); }
.editor-styles-wrapper .his-link { display:block; }
.editor-styles-wrapper .site-header nav { display:flex; }
.editor-styles-wrapper .wp-block-group { outline-offset:3px; }
@media(max-width:1100px) and (min-width:761px) { .footer-address {font-size:13px;} }
@media(max-width:760px) {
 .footer-address {font-size:12px;line-height:1.65;}
 .facebook-banner > .wp-block-image > img {border-radius:15px;}
 .facebook-banner .banner-caption {width:calc(100% - 16px);font-size:12px;flex-direction:column;align-items:flex-start;gap:9px;padding-block:13px 20px;}
}

/* Refined two-paragraph ministry story. */
.story-copy > p.story-description {font-size:clamp(16px,1.2vw,18px);line-height:1.6;color:var(--muted);max-width:470px;margin:0 0 16px;}
.story-copy > p.story-description:last-child {margin-bottom:0;}

/* Facebook archive posts and their original media. */
.facebook-update {padding-top:22px;}
.facebook-update .article-body {max-width:960px;}
.facebook-photo-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:30px 0;}
.facebook-photo-grid img {width:100%;height:auto;border-radius:16px;}
.facebook-video {margin:28px 0;}
@media(max-width:600px){.facebook-photo-grid {grid-template-columns:1fr;}}

/* Live latest-post card and prominent newsletter action. */
.journal-heading .newsletter-button {display:inline-flex;margin-top:20px;padding:14px 20px;background:#0a3142;color:#fff;font-size:17px;gap:18px;border-radius:9px;}
.journal-heading .newsletter-button:hover {background:#174a5d;color:#f4da70;}
.home-latest-query .wp-block-post-template {margin:0;padding:0;list-style:none;}
.home-latest-query .wp-block-post-template > li {margin:0;}
.home-latest-query .post-copy .wp-block-post-excerpt {font-size:21px;line-height:1.4;margin:0;}
.home-latest-query .wp-block-post-excerpt p {margin:0;}
.home-latest-query .wp-block-post-excerpt__more-text:empty {display:none;}
.home-latest-query .wp-block-post-date {text-transform:uppercase;}
.home-latest-query .post-image {margin:0;}
.home-latest-query .post-image img {width:100%;object-fit:cover;}
.home-latest-query .post-copy h3 a {color:inherit;text-decoration:none;}
.home-latest-query .wp-block-read-more {display:inline-block;}
@media(max-width:760px){.journal-heading .newsletter-button {font-size:15px;padding:12px 17px;margin-top:16px;}.home-latest-query .post-copy .wp-block-post-excerpt {font-size:16px;}}

.donation-panel::after {width:45px;height:60px;right:-45px;top:-13px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2052%2066%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f4da70%22%20stroke-width%3D%223.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M27%2029S12%2020%2012%2012a8%208%200%200%201%2015-3%208%208%200%200%201%2015%203c0%208-15%2017-15%2017Z%22%2F%3E%3Cpath%20d%3D%22m4%2047%2010-9c3-3%206-3%209-1l8%205c4%203%201%208-3%206l-7-3m-9%2014%209%202%2023-15c5-4%200-9-4-6l-7%205M3%2043l11%2015-7%206%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.journal-heading .newsletter-button {display:flex;width:fit-content;margin-top:18px;}
.journal-heading > .his-link > .text-link {display:inline-block;gap:0;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px;line-height:1.35;}
.journal-heading > .his-link > .text-link span {text-decoration:none;}
.journal-heading .newsletter-button {display:flex;width:fit-content;margin-top:14px;}

.journal-heading .newsletter-button {margin-top:0;gap:10px;}
.journal-heading .newsletter-button::before {content:"";display:block;flex:0 0 20px;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%204h15v14a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V8h2V4Z%22%2F%3E%3Cpath%20d%3D%22M5%208v10M9%208h7M9%2012h3v4H9zM15%2012h2M15%2016h2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}

/* English-only utility bar: phone aligned to the right edge. */
.topline .utility-contact {width:100%;justify-content:space-between;flex-wrap:nowrap;}
.topline .utility-contact > .his-link:last-child {margin-left:auto;}
