/* DonorGood v2.8.5.9.8 Stable Website Shell Builder */
.dg-org-shell, .dg-org-shell * { box-sizing: border-box; }
.dg-shell-container { width: min(1480px, calc(100% - 56px)); margin: 0 auto; }
.dg-public-shell-header { background: var(--dg-shell-header-bg, #fff); color: var(--dg-shell-text, #111827); position: relative; z-index: 100; font-family: inherit; overflow: visible; }
.dg-shell-topbar { background: var(--dg-shell-topbar-bg, var(--dg-shell-primary, #1c3419)); color: var(--dg-shell-topbar-text, #fff); font-weight: 900; font-size: var(--dg-shell-topbar-font-size, 16px); min-height: var(--dg-shell-topbar-height, 50px); }
.dg-shell-topbar-inner { min-height: var(--dg-shell-topbar-height, 50px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 0; }
.dg-shell-topbar-zone { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dg-shell-topbar-left { justify-content: flex-start; }
.dg-shell-topbar-center { justify-content: center; text-align: center; }
.dg-shell-topbar-right { justify-content: flex-end; text-align: right; }
.dg-shell-topbar-layout-right .dg-shell-topbar-inner, .dg-shell-topbar-layout-split-right .dg-shell-topbar-inner { grid-template-columns: 1fr auto; }
.dg-shell-topbar-layout-right .dg-shell-topbar-left, .dg-shell-topbar-layout-right .dg-shell-topbar-center, .dg-shell-topbar-layout-split-right .dg-shell-topbar-center { display: none; }
.dg-shell-topbar-layout-right .dg-shell-topbar-right, .dg-shell-topbar-layout-split-right .dg-shell-topbar-right { grid-column: 2; }
.dg-shell-topbar-layout-center .dg-shell-topbar-inner { grid-template-columns: 1fr; }
.dg-shell-topbar-layout-center .dg-shell-topbar-left, .dg-shell-topbar-layout-center .dg-shell-topbar-right { justify-content: center; text-align: center; }
.dg-shell-topbar a { color: var(--dg-shell-topbar-link, #fff); text-decoration: none; font-weight: 900; }
.dg-shell-topbar-social { width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--dg-shell-primary, #1c3419) !important; font-size: 18px; line-height: 1; text-transform: lowercase; font-weight: 950; text-decoration: none; }
.dg-shell-topbar-social span { transform: translateY(0); display: inline-block; }
.dg-shell-mainnav { min-height: var(--dg-shell-header-row-height, 96px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 14px 0; background: var(--dg-shell-header-bg, #fff); position: relative; overflow: visible; }
.dg-shell-logo { display: inline-flex; align-items: center; justify-content: flex-start; text-decoration: none; color: var(--dg-shell-primary, #1c3419); font-weight: 950; font-size: 24px; position: relative; z-index: 40; }
.dg-shell-logo img { width: var(--dg-shell-logo-width, 175px); max-height: none; object-fit: contain; display: block; filter: drop-shadow(0 8px 18px rgba(0,0,0,.16)); }
.dg-logo-overlay-enabled { overflow: visible; }
.dg-logo-overlay-enabled .dg-shell-mainnav { padding-left: calc(var(--dg-shell-overlay-logo-left, 48px) + var(--dg-shell-overlay-logo-width, 220px) + 34px); }
.dg-logo-overlay-enabled .dg-shell-logo { position: absolute; left: var(--dg-shell-overlay-logo-left, 48px); top: var(--dg-shell-overlay-logo-top, 0px); width: var(--dg-shell-overlay-logo-width, 220px); z-index: 250; overflow: visible; }
.dg-logo-overlay-enabled .dg-shell-logo img { width: var(--dg-shell-overlay-logo-width, 220px); max-width: var(--dg-shell-overlay-logo-width, 220px); max-height: none; filter: drop-shadow(0 14px 24px rgba(0,0,0,.22)); }
.dg-nav-align-right.dg-logo-overlay-enabled .dg-shell-navlinks { justify-content: flex-end !important; }
.dg-nav-align-left.dg-logo-overlay-enabled .dg-shell-navlinks { justify-content: flex-start !important; }
.dg-nav-align-center.dg-logo-overlay-enabled .dg-shell-navlinks { justify-content: center !important; }
.dg-shell-navlinks { display: flex; align-items: center; justify-content: center; justify-self: center; width: auto; max-width: 100%; min-width: 0; gap: var(--dg-shell-menu-gap, 24px); flex-wrap: wrap; }
.dg-nav-align-left .dg-shell-navlinks { justify-content: flex-start !important; justify-self: start !important; text-align: left; margin-left: 0; margin-right: auto; width: auto; }
.dg-nav-align-center .dg-shell-navlinks { justify-content: center !important; justify-self: center !important; text-align: center; margin-left: auto; margin-right: auto; width: auto; }
.dg-nav-align-right .dg-shell-navlinks { justify-content: flex-end !important; justify-self: end !important; text-align: right; margin-left: auto; margin-right: 0; width: auto; }
.dg-actions-align-left .dg-shell-actions { justify-content: flex-start !important; justify-self: start !important; }
.dg-actions-align-center .dg-shell-actions { justify-content: center !important; justify-self: center !important; }
.dg-actions-align-right .dg-shell-actions { justify-content: flex-end !important; justify-self: end !important; }
.dg-shell-navlinks a { color: var(--dg-shell-text, #111827); font-weight: 900; text-decoration: none; font-size: var(--dg-shell-menu-font-size, 16px); line-height: 1.1; padding: 14px 0 12px; border-bottom: 5px solid transparent; white-space: nowrap; }
.dg-shell-navlinks a:hover, .dg-shell-navlinks a:focus { color: var(--dg-shell-secondary, #144580); border-bottom-color: var(--dg-shell-accent, #d8ba4c); }
.dg-shell-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; flex-wrap: wrap; }
.dg-shell-btn, .dg-shell-footer-cta { display: inline-flex; align-items: center; justify-content: center; min-height: var(--dg-shell-button-height, 44px); border-radius: var(--dg-shell-button-radius, 8px); padding: 0 28px; font-weight: 950; text-transform: uppercase; letter-spacing: .01em; text-decoration: none; font-size: var(--dg-shell-button-font-size, 14px); line-height: 1; }
.dg-shell-btn-donate, .dg-shell-footer-cta { background: var(--dg-shell-button-bg, #d8ba4c); color: var(--dg-shell-button-text, #071a35) !important; border: 3px solid rgba(0,0,0,.22); }
.dg-shell-btn-portal { background: var(--dg-shell-secondary, #144580); color: #fff !important; border: 3px solid rgba(0,0,0,.10); }
.dg-header-layout-centered-logo .dg-shell-mainnav, .dg-logo-position-center:not(.dg-logo-overlay-enabled) .dg-shell-mainnav { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 14px; }
.dg-header-layout-centered-logo .dg-shell-actions, .dg-logo-position-center:not(.dg-logo-overlay-enabled) .dg-shell-actions { justify-content: center; }
/* Footer repair */
.dg-public-shell-footer { background: var(--dg-shell-footer-bg, #1c3419) !important; color: var(--dg-shell-footer-text, #fff); font-family: inherit; margin: 0; padding: 0; position: relative; overflow: hidden; }
.dg-public-shell-footer a { color: var(--dg-shell-footer-link, #d8ba4c); text-decoration: none; font-weight: 850; }
.dg-shell-footer-contact { background: var(--dg-shell-footer-bg, #1c3419) !important; border-bottom: 1px solid rgba(255,255,255,.16); }
.dg-shell-footer-contact-inner { min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; font-size: clamp(17px, 1.4vw, 23px); font-weight: 900; }
.dg-shell-socials { display: inline-flex; align-items: center; gap: 12px; }
.dg-shell-footer-mission { background: var(--dg-shell-footer-band, #173f1b) !important; padding: 54px 0; }
.dg-shell-footer-mission-inner { display: grid; grid-template-columns: .85fr 1.55fr; gap: 66px; align-items: center; }
.dg-shell-footer-mission h2 { color: var(--dg-shell-footer-heading, #d8ba4c); margin: 0; font-size: clamp(32px, 3.1vw, 56px); line-height: 1; text-transform: uppercase; font-weight: 950; letter-spacing: .02em; }
.dg-shell-footer-mission p { margin: 0; color: var(--dg-shell-footer-text, #fff); font-size: clamp(20px, 1.6vw, 30px); line-height: 1.55; font-weight: 500; }
.dg-shell-footer-main { position: relative; padding: 68px 0 62px; background: var(--dg-shell-footer-bg, #1c3419) !important; }
.dg-shell-footer-main:before { content: ""; position: absolute; left: -70px; bottom: 18px; width: 320px; height: 320px; background-image: var(--dg-shell-watermark-image); background-size: contain; background-repeat: no-repeat; background-position: center; opacity: var(--dg-shell-watermark-opacity, .08); pointer-events: none; }
.dg-shell-footer-columns { display: grid; grid-template-columns: 1.2fr .85fr .95fr; gap: 74px; position: relative; z-index: 1; }
.dg-shell-footer-column h3 { color: var(--dg-shell-footer-heading, #d8ba4c); font-size: clamp(23px, 1.6vw, 32px); line-height: 1.1; margin: 0 0 22px; font-weight: 950; }
.dg-shell-footer-column p { color: var(--dg-shell-footer-text, #fff); font-size: clamp(17px, 1.2vw, 22px); line-height: 1.65; margin: 0 0 18px; }
.dg-shell-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dg-shell-footer-links a { color: var(--dg-shell-footer-text, #fff); text-decoration: underline; text-underline-offset: 5px; font-size: clamp(17px, 1.1vw, 21px); font-weight: 650; }
.dg-shell-footer-cta { margin-top: 8px; box-shadow: 0 6px 0 rgba(0,0,0,.18); }
.dg-shell-footer-bottom { background: var(--dg-shell-footer-bg, #1c3419) !important; border-top: 1px solid rgba(255,255,255,.16); padding: 24px 0; }
.dg-shell-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; color: rgba(255,255,255,.74); font-size: 15px; }
.dg-shell-powered { text-align: right; }
@media (max-width: 1180px) {
    .dg-logo-overlay-enabled .dg-shell-mainnav { padding-left: calc(var(--dg-shell-overlay-logo-left, 40px) + min(var(--dg-shell-overlay-logo-width, 220px), 260px) + 24px); }
    .dg-logo-overlay-enabled .dg-shell-logo, .dg-logo-overlay-enabled .dg-shell-logo img { width: min(var(--dg-shell-overlay-logo-width, 220px), 260px); max-width: min(var(--dg-shell-overlay-logo-width, 220px), 260px); }
    .dg-shell-navlinks { gap: calc(var(--dg-shell-menu-gap, 24px) * .65); }
}
@media (max-width: 980px) {
    .dg-shell-container { width: min(100% - 36px, 1480px); }
    .dg-shell-topbar-inner, .dg-shell-footer-bottom-inner { display: flex; flex-direction: column; text-align: center; justify-content: center; }
    .dg-shell-topbar-left, .dg-shell-topbar-center, .dg-shell-topbar-right { justify-content: center; text-align: center; }
    .dg-shell-mainnav, .dg-logo-overlay-enabled .dg-shell-mainnav { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 16px; padding-left: 0; }
    .dg-logo-overlay-enabled .dg-shell-logo { position: relative; left: auto; top: auto; width: var(--dg-shell-mobile-logo-width, 230px); }
    .dg-logo-overlay-enabled .dg-shell-logo img { width: var(--dg-shell-mobile-logo-width, 230px); max-width: var(--dg-shell-mobile-logo-width, 230px); }
    .dg-shell-navlinks, .dg-shell-actions { justify-content: center; gap: 12px; }
    .dg-shell-logo img { width: var(--dg-shell-mobile-logo-width, 220px); max-width: 100%; }
    .dg-shell-footer-mission-inner, .dg-shell-footer-columns { grid-template-columns: 1fr; gap: 28px; }
    .dg-shell-footer-mission { padding: 40px 0; }
    .dg-shell-footer-main { padding: 42px 0; }
    .dg-shell-powered { text-align: center; }
}


/* v2.8.5.9.5 Builder Enforced Alignment */
/* Align the navigation group in the grid column. Do not stretch it to 100%, or right alignment looks centered. */
.dg-org-shell .dg-shell-navlinks { width: auto !important; max-width: 100% !important; min-width: 0 !important; }
.dg-org-shell.dg-nav-align-left .dg-shell-navlinks { justify-content: flex-start !important; justify-self: start !important; text-align: left !important; margin-left: 0 !important; margin-right: auto !important; }
.dg-org-shell.dg-nav-align-center .dg-shell-navlinks { justify-content: center !important; justify-self: center !important; text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
.dg-org-shell.dg-nav-align-right .dg-shell-navlinks { justify-content: flex-end !important; justify-self: end !important; text-align: right !important; margin-left: auto !important; margin-right: 0 !important; }
.dg-org-shell.dg-actions-align-left .dg-shell-actions { justify-content: flex-start !important; justify-self: start !important; }
.dg-org-shell.dg-actions-align-center .dg-shell-actions { justify-content: center !important; justify-self: center !important; }
.dg-org-shell.dg-actions-align-right .dg-shell-actions { justify-content: flex-end !important; justify-self: end !important; }


/* v2.8.5.9.8 Topbar sizing and mobile header/menu safety */
@media (max-width: 980px) {
    .dg-shell-topbar { min-height: var(--dg-shell-mobile-topbar-height, 48px) !important; font-size: var(--dg-shell-mobile-topbar-font-size, 15px) !important; }
    .dg-shell-topbar-inner { min-height: var(--dg-shell-mobile-topbar-height, 48px) !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 6px !important; padding: 8px 0 !important; text-align: center !important; }
    .dg-shell-topbar-zone { justify-content: center !important; text-align: center !important; width: 100% !important; gap: 10px !important; }
    .dg-org-shell.dg-logo-overlay-enabled .dg-shell-mainnav, .dg-org-shell .dg-shell-mainnav { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; grid-template-columns: 1fr !important; width: min(100% - 28px, 1480px) !important; min-height: auto !important; padding: 20px 0 24px !important; margin-left: auto !important; margin-right: auto !important; gap: 16px !important; text-align: center !important; overflow: visible !important; }
    .dg-org-shell.dg-logo-overlay-enabled .dg-shell-logo, .dg-org-shell .dg-shell-logo { position: relative !important; left: auto !important; top: auto !important; width: var(--dg-shell-mobile-logo-width, 220px) !important; max-width: var(--dg-shell-mobile-logo-width, 220px) !important; z-index: 5 !important; margin: 0 auto !important; justify-content: center !important; }
    .dg-org-shell.dg-logo-overlay-enabled .dg-shell-logo img, .dg-org-shell .dg-shell-logo img { width: var(--dg-shell-mobile-logo-width, 220px) !important; max-width: min(var(--dg-shell-mobile-logo-width, 220px), 88vw) !important; height: auto !important; max-height: none !important; }
    .dg-org-shell .dg-shell-navlinks { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: center !important; width: 100% !important; max-width: 100% !important; margin: 0 auto !important; gap: 10px 16px !important; text-align: center !important; }
    .dg-org-shell .dg-shell-navlinks a { font-size: clamp(14px, 4vw, 17px) !important; line-height: 1.15 !important; padding: 8px 0 !important; }
    .dg-org-shell .dg-shell-actions { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: center !important; width: 100% !important; margin: 0 auto !important; gap: 10px !important; }
    .dg-org-shell .dg-shell-actions .dg-shell-btn { min-height: max(44px, calc(var(--dg-shell-button-height, 44px) * .82)) !important; padding-left: 20px !important; padding-right: 20px !important; }
}

/* DG V2.8.5.9.8 MOBILE DROPDOWN MENU START */
.dg-shell-mobile-menu-toggle {
    display: none;
}
@media (max-width: 980px) {
    .dg-org-shell .dg-shell-mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        min-height: 48px !important;
        padding: 0 26px !important;
        border-radius: var(--dg-shell-button-radius, 8px) !important;
        border: 2px solid var(--dg-shell-accent, #d8ba4c) !important;
        background: var(--dg-shell-primary, #1c3419) !important;
        color: #ffffff !important;
        font-size: 17px !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        text-transform: uppercase !important;
        letter-spacing: .02em !important;
        cursor: pointer !important;
        box-shadow: 0 4px 0 rgba(0,0,0,.14) !important;
    }
    .dg-org-shell .dg-shell-mobile-menu-icon {
        display: inline-flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 4px !important;
        width: 22px !important;
        height: 18px !important;
    }
    .dg-org-shell .dg-shell-mobile-menu-icon span {
        display: block !important;
        width: 22px !important;
        height: 3px !important;
        border-radius: 999px !important;
        background: currentColor !important;
        transition: transform .18s ease, opacity .18s ease !important;
    }
    .dg-org-shell.dg-mobile-menu-open .dg-shell-mobile-menu-icon span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }
    .dg-org-shell.dg-mobile-menu-open .dg-shell-mobile-menu-icon span:nth-child(2) {
        opacity: 0 !important;
    }
    .dg-org-shell.dg-mobile-menu-open .dg-shell-mobile-menu-icon span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    /* Default mobile state: hide menu links and action buttons until the Menu button opens them. */
    .dg-org-shell .dg-shell-navlinks,
    .dg-org-shell .dg-shell-actions {
        display: none !important;
    }

    .dg-org-shell.dg-mobile-menu-open .dg-shell-navlinks {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: min(100%, 420px) !important;
        max-width: 100% !important;
        gap: 0 !important;
        margin: 2px auto 0 !important;
        padding: 10px 18px !important;
        background: #ffffff !important;
        border: 1px solid rgba(28,52,25,.14) !important;
        border-radius: 14px !important;
        box-shadow: 0 16px 34px rgba(0,0,0,.16) !important;
        text-align: center !important;
    }
    .dg-org-shell.dg-mobile-menu-open .dg-shell-navlinks a {
        display: block !important;
        width: 100% !important;
        padding: 14px 10px !important;
        border-bottom: 1px solid rgba(28,52,25,.12) !important;
        color: var(--dg-shell-primary, #1c3419) !important;
        font-size: clamp(16px, 4.6vw, 19px) !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        text-align: center !important;
        text-decoration: none !important;
    }
    .dg-org-shell.dg-mobile-menu-open .dg-shell-navlinks a:last-child {
        border-bottom: 0 !important;
    }

    .dg-org-shell.dg-mobile-menu-open .dg-shell-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        width: min(100%, 420px) !important;
        max-width: 100% !important;
        gap: 10px !important;
        margin: 0 auto !important;
    }
    .dg-org-shell.dg-mobile-menu-open .dg-shell-actions .dg-shell-btn {
        display: flex !important;
        width: 100% !important;
        min-height: 50px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        font-size: clamp(14px, 4.2vw, 17px) !important;
    }
}
/* DG V2.8.5.9.8 MOBILE DROPDOWN MENU END */

