/* Responsive extension point; base breakpoints remain in site.css. */

/* Shared heading system. Homepage hero and intentionally compact CTA headings stay unique. */
#duc-main h2.duc-unified-title {
    display: flex;
    width: min(100%, 48rem);
    align-items: center;
    justify-content: center;
    gap: .9rem;
    margin-inline: auto;
    color: var(--duc-green);
    font-family: Montserrat, Arial, sans-serif;
    font-size: clamp(1.65rem, 2.6vw, 2.15rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.025em;
    padding-bottom: 0;
    text-align: center;
    text-transform: none;
    white-space: nowrap;
}

#duc-main h2.duc-unified-title::before,
#duc-main h2.duc-unified-title::after {
    position: static;
    display: block;
    width: auto;
    height: .0625rem;
    min-width: 2rem;
    flex: 1;
    inset: auto;
    border-radius: 0;
    background: var(--duc-border);
    content: '';
}

#duc-main .duc-unified-heading {
    display: flex;
    width: min(100%, 42rem);
    max-width: 42rem;
    grid-template-columns: none;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    margin-inline: auto;
    text-align: center;
}

#duc-main .duc-unified-heading::before,
#duc-main .duc-unified-heading::after {
    display: none;
}

#duc-main .duc-unified-heading > h2.duc-unified-title {
    margin: 0;
    white-space: nowrap;
}

#duc-main .duc-about-banner h1::after {
    display: none;
}

#duc-main .duc-page-banner h1,
#duc-main .duc-about-banner h1,
#duc-main .duc-error-page h1,
#duc-main .duc-prose > h1 {
    color: var(--duc-dark);
    font-family: Montserrat, Arial, sans-serif;
    font-size: var(--duc-hero-title-size);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.045em;
    text-transform: none;
}

@media (max-width: 480px) {
    .duc-header-main__inner {
        gap: .75rem;
    }

    .duc-fallback-brand {
        width: auto;
        max-width: calc(100% - 3.75rem);
        min-width: 0;
        flex: 1 1 auto;
    }

    .duc-hero__grid > *,
    .duc-split > * {
        min-width: 0;
    }

    .duc-placeholder-visual {
        width: 100%;
    }

    .duc-actions .duc-button {
        width: 100%;
    }

    #duc-main .duc-unified-heading {
        gap: .5rem;
    }

    #duc-main h2.duc-unified-title::before,
    #duc-main h2.duc-unified-title::after {
        display: none;
    }

    #duc-main h2.duc-unified-title,
    #duc-main .duc-unified-heading > h2.duc-unified-title {
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .elementor-location-header .duc-elementor-header > .e-con > .e-con-inner {
        flex-wrap: nowrap;
        gap: .75rem;
        padding: .75rem 1rem;
    }

    .elementor-location-header .duc-elementor-brand-column {
        width: calc(100% - 3.75rem);
        min-width: 0;
        flex: 1 1 auto;
        --width: calc(100% - 3.75rem);
    }

    .elementor-location-header .duc-elementor-nav-column {
        width: 3rem;
        flex: 0 0 3rem;
        --width: 3rem;
    }

    .elementor-location-header .duc-elementor-donate-column {
        display: none;
    }

    .elementor-location-header .duc-brand {
        max-width: 13rem;
    }

    .elementor-location-header .duc-brand__image {
        max-height: 3.75rem;
    }

    .elementor-location-header .elementor-menu-toggle {
        margin-inline-start: auto !important;
    }
}
