/* Hope Bridge brand overrides for the Truehelp template */
:root {
    --truehelp-base: #588425;
    --truehelp-base-rgb: 88, 132, 37;
    --truehelp-primary: #a8c686;
    --truehelp-primary-rgb: 168, 198, 134;
    --truehelp-soft-blue: #e7f0d9;
    --truehelp-soft-blue-rgb: 231, 240, 217;
    --truehelp-soft-lavender: #dfe9d2;
    --truehelp-soft-lavender-rgb: 223, 233, 210;
    --truehelp-text: #5b6b76;
    --truehelp-text-rgb: 91, 107, 118;
    --truehelp-black: #14303f;
    --truehelp-black-rgb: 20, 48, 63;
    --truehelp-black2: #0b2a1c;
    --truehelp-black2-rgb: 11, 42, 28;
    --truehelp-border-color: #dfe6d8;
}

.main-header__logo img,
.footer-widget__logo img,
.mobile-nav__content .logo-box img {
    width: auto;
    height: 84px;
    max-width: 240px;
    object-fit: contain;
}

.main-header__logo a {
    display: inline-flex;
    align-items: center;
}

.main-header__btn.truehelp-btn span {
    white-space: nowrap;
}

/* Keep the round hero link usable without the video popup plugin */
.main-slider__circle {
    cursor: pointer;
}

/* Reliable hero entrance: never leave above-the-fold content hidden */
@keyframes hb-hero-rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-slider__title__inner {
    opacity: 1 !important;
    transform: none !important;
    animation: hb-hero-rise 0.8s ease both;
}

.main-slider__button__inner {
    opacity: 1 !important;
    transform: none !important;
    animation: hb-hero-rise 0.8s ease 0.15s both;
}

.main-slider__donors__inner,
.main-slider__donors__nonprofits {
    opacity: 1 !important;
    transform: none !important;
    animation: hb-hero-rise 0.8s ease 0.3s both;
}

.main-slider__image {
    opacity: 1 !important;
    transform: none !important;
}

/* Slightly tighten long footer descriptions */
.footer-widget__newsletter-text {
    max-width: 320px;
}

/* Muted helper text used by the newsletter-style footer column */
.footer-widget--newsletter .truehelp-btn {
    display: inline-flex;
    margin-top: 4px;
}

/* Make sure above-the-fold hero content is visible for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    .main-slider__title__inner,
    .main-slider__button__inner,
    .main-slider__donors__inner,
    .main-slider__donors__nonprofits,
    .main-slider__image {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* High-contrast primary buttons in brand green */
.truehelp-btn--primary {
    color: #ffffff;
    background-color: var(--truehelp-base);
}

.truehelp-btn--primary span {
    color: inherit;
}

.truehelp-btn--primary:hover {
    color: #ffffff;
}

.truehelp-btn--primary::before,
.truehelp-btn--primary::after {
    background-color: #3f6119;
}
/* Ensure footer CTAs keep strong contrast on the light template footer */
.main-footer .truehelp-btn,
.main-footer .truehelp-btn--primary {
    background-color: var(--truehelp-base) !important;
    color: #ffffff !important;
}

.main-footer .truehelp-btn span {
    color: #ffffff !important;
}

.main-footer .truehelp-btn::before,
.main-footer .truehelp-btn::after {
    background-color: #3f6119 !important;
}

.main-footer .footer-widget__logo img {
    height: 84px;
}
/* Static testimonial grid (replaces the template carousel) */
.hb-stories {
    position: relative;
}

.hb-story {
    background: #ffffff;
    border-radius: 16px;
    padding: 34px 32px;
    height: 100%;
    border-top: 4px solid var(--truehelp-base);
    box-shadow: 0 16px 40px rgba(0, 42, 75, 0.08);
}

.hb-story__stars {
    color: #f2b705;
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hb-story__quote {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--truehelp-text-dark);
}

.hb-story__who strong {
    display: block;
    font-family: var(--truehelp-heading-font);
    font-size: 17px;
    color: var(--truehelp-black);
}

.hb-story__who span {
    font-size: 13.5px;
    color: var(--truehelp-text);
}
/* Honeypot field for contact form */
.hb-hp {
    position: absolute !important;
    left: -9999px !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Native form feedback message */
.native-form-msg {
    max-width: 720px;
    margin: 0 auto 22px;
}
/* High-contrast CTA inside the green "Become a Volunteer" card */
.get-involved__card--3 .get-involved__card__button .truehelp-btn {
    background-color: #ffffff !important;
    color: var(--truehelp-base) !important;
}

.get-involved__card--3 .get-involved__card__button .truehelp-btn span {
    color: inherit !important;
}
/* Keep the Donate CTA visible on small screens */
@media (max-width: 767px) {
    .main-header__btn {
        display: inline-flex !important;
    }
    .main-header__link {
        padding-left: 0 !important;
    }
    .main-header__link::after {
        display: none !important;
    }
}

@media (min-width: 1200px) and (max-width: 1299px) {
    .main-header__btn {
        display: inline-flex !important;
    }
}
/* Compact header and hero on phones */
@media (max-width: 575px) {
    .main-header__inner {
        gap: 10px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .main-header__logo img {
        height: 54px !important;
    }
    .main-header__btn.truehelp-btn {
        padding: 8px 18px !important;
        font-size: 14px !important;
    }
    .main-slider__title {
        font-size: 38px !important;
    }
}
/* Footer contact details */
.footer-contact-line {
    margin: 12px 0 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: #5b6b76;
}
.footer-contact-line a {
    color: var(--truehelp-base);
    font-weight: 600;
    text-decoration: none;
}
.footer-contact-line a:hover {
    text-decoration: underline;
}