/*
 * Inner-page image banners only. Loaded conditionally by the matching MU
 * plugin; the homepage slider markup and styling are never targeted.
 */
.custom-header-text {
    align-self: stretch;
    border: 0;
    color: #ffffff;
    display: block !important;
    margin: 0;
    max-width: none;
    padding: 0 54px 0 28px;
    text-align: right !important;
    width: 100% !important;
}

.custom-header-text .elementor-widget-container,
.custom-header-text .elementor-shortcode {
    display: block !important;
    text-align: right !important;
    width: 100% !important;
}

.custom-header-text .anahata-page-title--hero {
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: clamp(30px, 3.35vw, 52px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin: 0 0 0 auto !important;
    max-width: min(780px, 78vw);
    padding: 0;
    text-align: right !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

/* Full titles remain in the document/H1 for accessibility and SEO but do not
 * turn long administrative text into a visual banner headline. */
.ahy-screen-reader-title {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media screen and (max-width: 767px) {
    .custom-header-text {
        padding: 0 22px 0 18px;
    }
    .custom-header-text .anahata-page-title--hero {
        font-size: clamp(25px, 7.6vw, 34px);
        line-height: 1.16;
        margin-left: auto !important;
        max-width: 80vw;
        text-align: right !important;
    }
}
