:root {
    --dove-blue: #315b91;
    --dove-blue-deep: #223e64;
    --dove-blue-soft: #edf3f7;
    --dove-purple: #665372;
    --dove-gold: #c9aa55;
    --dove-gold-soft: #eee2b3;
    --dove-red: #8f3e45;
    --dove-ivory: #fdfcf8;
    --dove-white: #ffffff;
    --dove-pearl: #f8f8f5;
    --dove-text: #29323b;
    --dove-muted: #626b73;
    --dove-border: #dde1e3;
    --dove-border-warm: #e7e1d3;
    --dove-container: 1120px;
    --dove-copy: 740px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background: var(--dove-ivory);
    color: var(--dove-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
}
body.dove-menu-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--dove-blue-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--dove-purple); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #a8872e; outline-offset: 3px; }

h1, h2, h3, h4 {
    margin: 0 0 .55em;
    color: var(--dove-blue-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 600;
    line-height: 1.13;
    letter-spacing: -.015em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.55rem, 6vw, 4.45rem); }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); }
h3 { font-size: clamp(1.26rem, 2.2vw, 1.65rem); }
p, ul, ol { margin-top: 0; }

.dove-container { width: min(var(--dove-container), calc(100% - 44px)); margin-inline: auto; }
.dove-content-narrow { max-width: var(--dove-copy); }
.dove-main { min-height: 60vh; }
.dove-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    transform: translateY(-180%);
    padding: .7rem 1rem;
    background: var(--dove-blue-deep);
    color: #fff;
    border-radius: 2px;
}
.dove-skip-link:focus { transform: none; }

/* Header */
.dove-site-notice { background: var(--dove-blue-deep); color: #fff; font-size: .94rem; }
.dove-site-notice__inner { padding-block: .72rem; }
.dove-site-notice a { color: #fff5bf; }
.dove-site-header {
    position: relative;
    z-index: 100;
    background: rgba(253, 252, 248, .98);
    border-bottom: 1px solid rgba(34, 62, 100, .12);
}
.dove-site-header__inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.dove-brand { min-width: 0; }
.dove-brand__link, .custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: .78rem;
    color: var(--dove-blue-deep);
    text-decoration: none;
}
.dove-brand__logo, .custom-logo { width: 66px; max-height: 66px; object-fit: contain; }
.dove-brand__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
}
.dove-primary-nav { display: flex; align-items: center; gap: 1.15rem; }
.dove-menu, .dove-menu ul, .dove-footer-menu { list-style: none; margin: 0; padding: 0; }
.dove-menu { display: flex; align-items: center; gap: 1.08rem; }
.dove-menu a {
    display: block;
    padding: .8rem .08rem;
    color: var(--dove-text);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 650;
}
.dove-menu a:hover, .dove-menu .current-menu-item > a, .dove-menu .current_page_item > a { color: var(--dove-blue); }
.dove-mobile-actions { display: none; }
.dove-mobile-help {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem .68rem;
    color: var(--dove-blue-deep);
    border-bottom: 1px solid var(--dove-blue);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 720;
}
.dove-nav-toggle {
    display: none;
    min-height: 48px;
    align-items: center;
    gap: .62rem;
    padding: .55rem .72rem;
    border: 1px solid var(--dove-border);
    border-radius: 2px;
    background: var(--dove-white);
    color: var(--dove-blue-deep);
    font-weight: 700;
}
.dove-nav-toggle__icon { width: 21px; display: grid; gap: 4px; }
.dove-nav-toggle__icon span { display: block; height: 2px; background: currentColor; }

/* Actions */
.dove-button, .wp-block-button__link, .dove-form button[type="submit"] {
    display: inline-flex;
    min-height: 48px;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .8rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    font-weight: 720;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.dove-button--primary, .dove-form button[type="submit"], .wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background: var(--dove-blue-deep);
    color: #fff;
}
.dove-button--primary:hover, .dove-form button[type="submit"]:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
    background: #172f52;
    color: #fff;
}
.dove-button--gold { background: #eadb96; border-color: #d2bc68; color: #253755; }
.dove-button--gold:hover { background: #e2ce78; border-color: #c5ab4f; color: #253755; }
.dove-button--outline, .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border-color: #8295ad;
    color: var(--dove-blue-deep);
}
.dove-button--outline:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--dove-blue-soft); color: var(--dove-blue-deep); }
.dove-button-row { display: flex; flex-wrap: wrap; gap: .78rem; margin-top: 1.45rem; }
.dove-primary-with-link { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-top: 1.55rem; }
.dove-secondary-action { font-weight: 680; text-decoration-color: #a7b4c3; }

/* Page framing */
.dove-page-header {
    padding: clamp(3.4rem, 6vw, 5.5rem) 0 clamp(2.8rem, 4.5vw, 4rem);
    background: var(--dove-ivory);
    border-bottom: 1px solid var(--dove-border-warm);
}
.dove-page-header h1 { max-width: 900px; margin-bottom: 0; font-size: clamp(2.5rem, 5.5vw, 4.05rem); }
.dove-eyebrow {
    margin-bottom: .6rem;
    color: var(--dove-purple);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.dove-location-line {
    margin-bottom: .9rem;
    color: #5e6670;
    font-size: .88rem;
    font-weight: 650;
    letter-spacing: .035em;
}
.dove-page-content > *:not(.alignfull):not(.dove-full-width) {
    width: min(var(--dove-container), calc(100% - 44px));
    margin-left: auto;
    margin-right: auto;
}
.dove-page-content > p, .dove-page-content > ul, .dove-page-content > ol, .dove-page-content > blockquote,
.dove-page-content > h2, .dove-page-content > h3, .dove-page-content > h4 { max-width: var(--dove-copy); }
.dove-page-content > p:first-child { margin-top: 3rem; }
.dove-section, .wp-block-group.dove-section { padding-block: clamp(3.75rem, 6.5vw, 6rem); background: var(--dove-ivory); }
.dove-section--soft, .wp-block-group.dove-section--soft { background: var(--dove-pearl); border-block: 1px solid #ecece6; }
.dove-section--quiet, .wp-block-group.dove-section--quiet { background: #fbfaf6; border-block: 1px solid #eee9dd; }
.dove-section--cream { background: #faf8ef; }
.dove-section--blue { background: var(--dove-blue-deep); color: #fff; }
.dove-section--blue h2, .dove-section--blue h3, .dove-section--blue a:not(.dove-button) { color: #fff; }
.dove-section--blue .dove-eyebrow { color: #f1df93; }
.dove-section--ruled { border-top: 1px solid var(--dove-border-warm); }
.dove-section-heading { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.dove-section-heading > :last-child, .dove-image-split__copy > :last-child, .dove-intro-grid > div > :last-child { margin-bottom: 0; }
.dove-lead { color: #48545f; font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.62; }

/* Homepage hero. Light is the visual theme; it is not repeated as decoration elsewhere. */
.dove-hero, .wp-block-group.dove-hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    padding-block: clamp(4rem, 8vw, 7rem);
    background: #fdfcf9;
    border-bottom: 1px solid var(--dove-border-warm);
}
.dove-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(340px, 1.07fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}
.dove-hero__copy { max-width: 650px; }
.dove-hero__copy h1 { color: #274666; font-weight: 500; }
.dove-hero__copy .dove-lead { max-width: 610px; }
.dove-hero__visual { position: relative; min-height: 430px; align-self: stretch; }
.dove-hero__image {
    position: absolute;
    inset: -7% -17% -6% -3%;
    width: 120%;
    height: 114%;
    object-fit: cover;
    object-position: center;
    opacity: .72;
    filter: saturate(.58) contrast(.9) brightness(1.12);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 92%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 92%);
}

/* Editorial layouts */
.dove-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: clamp(2.4rem, 7vw, 6rem);
    align-items: start;
}
.dove-intro-grid--wide-left { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.dove-services-list { max-width: 850px; border-top: 1px solid #d7dde1; }
.dove-service-item { padding: clamp(1.35rem, 2.5vw, 1.9rem) 0; border-bottom: 1px solid #d7dde1; }
.dove-service-item h3 { margin-bottom: .35rem; font-size: clamp(1.24rem, 2vw, 1.55rem); }
.dove-service-item p:last-child { margin-bottom: 0; }
.dove-needs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 6vw, 4rem);
    border-top: 1px solid #d7dde1;
}
.dove-need-item { min-width: 0; padding: 1.35rem 0; border-bottom: 1px solid #d7dde1; }
.dove-need-item h3 { margin-bottom: .35rem; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.dove-need-item p:last-child { margin-bottom: 0; }
.dove-need-item__meta { margin: 0 0 .35rem; color: #755f20; font-size: .76rem; font-weight: 760; letter-spacing: .065em; text-transform: uppercase; }

/* Backward compatibility for v1.0/v1.1 starter markup. */
.dove-card-grid, .dove-services-grid, .dove-needs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 4rem); border-top: 1px solid #d7dde1; }
.dove-card, .dove-service-card, .dove-need-card { min-width: 0; padding: 1.45rem 0; background: transparent; border: 0; border-bottom: 1px solid #d7dde1; border-radius: 0; box-shadow: none; }
.dove-service-card__meta, .dove-need-card__meta { color: var(--dove-muted); font-size: .9rem; }

.dove-image-split {
    display: grid;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    gap: clamp(2.6rem, 7vw, 6rem);
    align-items: center;
}
.dove-image-split--reverse .dove-image-split__copy { order: 1; }
.dove-image-split--reverse .dove-image-split__media { order: 2; }
.dove-image-split__media { min-width: 0; }
.dove-image-split__copy { max-width: 620px; }
.dove-section-photo, .dove-stock-image { display: block; width: 100%; max-height: 610px; object-fit: cover; object-position: center; }
.dove-section-photo { min-height: 350px; border-radius: 1px; filter: saturate(.78) contrast(.95) brightness(1.03); }
.dove-place-photo { aspect-ratio: 4 / 3; min-height: 0; }
.dove-stock-figure { margin: 0; }
.dove-stock-figure figcaption { margin-top: .55rem; color: var(--dove-muted); font-size: .8rem; line-height: 1.5; }
.dove-text-links { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; margin-top: 1.2rem; }
.dove-text-links a { font-weight: 650; text-decoration-color: #a8b6c5; }
.dove-scripture {
    margin: 1.5rem 0 0;
    padding: 0 0 0 1.15rem;
    border-left: 2px solid var(--dove-gold);
    color: #38506a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 2.1vw, 1.43rem);
    line-height: 1.58;
}
.dove-support-layout {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(2.7rem, 8vw, 7rem);
    align-items: start;
}
.dove-support-layout__campaign { max-width: 520px; }
.dove-support-layout__needs { min-width: 0; }
.dove-involvement-list { margin-top: 1.8rem; border-top: 1px solid #d7dde1; }
.dove-involvement-list section { padding: 1.28rem 0; border-bottom: 1px solid #d7dde1; }
.dove-involvement-list section h3 { margin-bottom: .25rem; }
.dove-involvement-list section p:last-child { margin-bottom: 0; }

/* Functional notices and forms are structured because their boundaries matter. */
.dove-callout { margin-block: 1.65rem; padding: 1rem 0 1rem 1.15rem; border-left: 2px solid #b89b49; background: transparent; }
.dove-emergency-note { border-left-color: var(--dove-red); color: #642d32; }
.dove-contact-details { display: grid; gap: .35rem; font-style: normal; }
.dove-contact-details p { margin: 0; }
.dove-form-wrap { max-width: 760px; }
.dove-form-status { margin-bottom: 1rem; padding: .9rem 1rem; border-left: 3px solid; font-weight: 650; }
.dove-form-status--success { background: #f2f7f2; border-color: #6b956e; color: #2d5932; }
.dove-form-status--error { background: #fbf2f2; border-color: #a85555; color: #6e2b2b; }
.dove-required-note { margin-bottom: .9rem; color: var(--dove-muted); font-size: .9rem; }
.dove-form { display: grid; gap: 1rem; }
.dove-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.dove-form__field { min-width: 0; }
.dove-form label, .dove-form legend { display: block; margin-bottom: .35rem; color: var(--dove-blue-deep); font-weight: 700; }
.dove-form input[type="text"], .dove-form input[type="email"], .dove-form input[type="tel"], .dove-form select, .dove-form textarea {
    width: 100%;
    min-height: 48px;
    padding: .75rem .8rem;
    border: 1px solid #b9c2c9;
    border-radius: 2px;
    background: #fff;
    color: var(--dove-text);
}
.dove-form textarea { min-height: 150px; resize: vertical; }
.dove-form input:focus, .dove-form select:focus, .dove-form textarea:focus { border-color: var(--dove-blue); box-shadow: 0 0 0 3px rgba(49, 91, 145, .11); outline: 0; }
.dove-form__help { color: var(--dove-muted); font-size: .9rem; }
.dove-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.dove-empty-state { padding: 1rem 0; color: var(--dove-muted); border-block: 1px solid #d7dde1; }

/* Footer */
.dove-site-footer { padding-top: 3.4rem; background: #1f385c; color: #edf1f5; }
.dove-site-footer a { color: #fff; }
.dove-site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 3rem; padding-bottom: 3rem; }
.dove-site-footer__brand { display: flex; align-items: center; gap: 1rem; }
.dove-site-footer__brand img { width: 76px; height: 76px; object-fit: contain; filter: brightness(1.05); }
.dove-site-footer__brand strong { display: block; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; font-weight: 600; }
.dove-site-footer__brand p { margin: .18rem 0 0; color: #f0e2a3; }
.dove-footer-heading { margin-bottom: .75rem; color: #fff; font-family: inherit; font-size: .88rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.dove-footer-menu { display: grid; gap: .38rem; }
.dove-footer-menu a { text-decoration: none; }
.dove-site-footer__bottom { display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); color: #d4dbe3; font-size: .86rem; }
.dove-site-footer__bottom p { margin: 0; }
.dove-entry { padding-block: 4rem; }

@media (max-width: 1080px) {
    .dove-menu { gap: .72rem; }
    .dove-menu a { font-size: .9rem; }
    .dove-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, .88fr); }
}

@media (max-width: 959px) {
    .dove-site-header__inner { min-height: 82px; }
    .dove-brand__logo, .custom-logo { width: 56px; max-height: 56px; }
    .dove-brand__name { font-size: 1.05rem; }
    .dove-mobile-actions { display: block; margin-left: auto; }
    .dove-nav-toggle { display: inline-flex; }
    .dove-primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 82px);
        overflow-y: auto;
        display: none;
        align-items: stretch;
        flex-direction: column;
        padding: 1rem 22px 1.4rem;
        background: #fdfcf9;
        border-top: 1px solid var(--dove-border);
        border-bottom: 1px solid var(--dove-border);
    }
    .dove-primary-nav.is-open { display: flex; }
    .dove-menu { display: grid; gap: 0; width: 100%; }
    .dove-menu li { border-bottom: 1px solid var(--dove-border); }
    .dove-menu a { min-height: 48px; display: flex; align-items: center; font-size: 1rem; }
    .dove-header-give { align-self: flex-start; margin-top: .35rem; }
    .dove-hero { min-height: 0; }
    .dove-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
    .dove-hero__visual { min-height: 300px; }
    .dove-hero__image {
        inset: -5% -8% -8%;
        width: 116%;
        height: 116%;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
    }
    .dove-intro-grid, .dove-intro-grid--wide-left, .dove-image-split, .dove-support-layout { grid-template-columns: 1fr; gap: 2.2rem; }
    .dove-image-split--reverse .dove-image-split__copy, .dove-image-split--reverse .dove-image-split__media { order: initial; }
    .dove-site-footer__grid { grid-template-columns: 1fr 1fr; }
    .dove-site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .dove-container, .dove-page-content > *:not(.alignfull):not(.dove-full-width) { width: min(100% - 32px, var(--dove-container)); }
    .dove-site-header__inner { gap: .55rem; }
    .dove-brand__name { display: none; }
    .dove-mobile-help { padding-inline: .5rem; }
    .dove-nav-toggle { padding-inline: .55rem; }
    .dove-hero { padding-block: 3.5rem 2.5rem; }
    .dove-hero__visual { min-height: 235px; }
    .dove-page-header { padding-block: 3rem 2.5rem; }
    .dove-section { padding-block: 3.4rem; }
    .dove-needs-list, .dove-card-grid, .dove-services-grid, .dove-needs-grid { grid-template-columns: 1fr; }
    .dove-form__row { grid-template-columns: 1fr; }
    .dove-section-photo { min-height: 260px; }
    .dove-site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .dove-site-footer__brand { grid-column: auto; }
    .dove-site-footer__bottom { flex-direction: column; gap: .65rem; }
}

@media (max-width: 390px) {
    .dove-mobile-help { font-size: .82rem; }
    .dove-nav-toggle__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
    .dove-button, .wp-block-button__link, .dove-form button[type="submit"] { width: 100%; }
    .dove-primary-with-link { align-items: stretch; }
    .dove-secondary-action { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
