/* Decorative stock photography. Source records: BANNER-CREDITS.md. */
#main .photo-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 300px;
    padding: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 1.75rem;
    overflow: hidden;
    border-radius: 24px;
    background-color: var(--hero-a);
    background-image: linear-gradient(90deg, rgb(0 0 0 / 78%), rgb(0 0 0 / 53%) 62%, rgb(0 0 0 / 28%)), var(--banner-photo);
    background-size: cover;
    background-position: var(--banner-position, center);
    color: var(--on-hero);
    box-shadow: var(--shadow);
}
#main .photo-banner h1 {
    max-width: 23ch;
    margin: .45rem 0 .7rem;
    color: var(--on-hero);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    overflow-wrap: break-word;
}
#main .photo-banner p {
    max-width: 62ch;
    margin: 0;
    color: var(--on-hero);
    font-size: 1rem;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgb(0 0 0 / 45%);
}
#main .photo-banner .eyebrow { color: var(--hero-highlight); }
#main .photo-banner .about-pill {
    background: var(--accent);
    color: var(--accent-ink);
}
.banner-vienna { --banner-photo: url("https://images.unsplash.com/photo-1568132585619-01ebde363d59?auto=format&fit=crop&w=1600&q=80"); }
.banner-archive { --banner-photo: url("https://images.unsplash.com/photo-1660593089599-f8e50f5204b6?auto=format&fit=crop&w=1600&q=80"); }
.banner-about { --banner-photo: url("https://images.unsplash.com/photo-1610029795220-e5afca4dc7ba?auto=format&fit=crop&w=1600&q=80"); }
.banner-hope { --banner-photo: url("images/Beacon%20of%20hope_%20helping%20hands%20%281%29.png"); }
.banner-scripture { --banner-photo: url("https://images.unsplash.com/photo-1789479925012-cca4d5402296?auto=format&fit=crop&w=1600&q=80"); }
.banner-gathering { --banner-photo: url("https://images.unsplash.com/photo-1761058556617-ddd0f3b9795e?auto=format&fit=crop&w=1600&q=80"); }
.banner-dawn { --banner-photo: url("https://images.unsplash.com/photo-1478341089230-f9be22921e38?auto=format&fit=crop&w=1600&q=80"); }
.banner-memories { --banner-photo: url("https://images.unsplash.com/photo-1610547676403-353e9e1124db?auto=format&fit=crop&w=1600&q=80"); }
.banner-learning { --banner-photo: url("https://images.unsplash.com/photo-1682253406151-45237a6f7acf?auto=format&fit=crop&w=1600&q=80"); }
.banner-scripture { --banner-position: center 55%; }
.banner-dawn { --banner-position: center 45%; }
#main .about-hero.photo-banner { position: relative; isolation: isolate; }
#main .about-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: center 65%;
}
#main .about-hero.photo-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(90deg, rgb(0 0 0 / 68%), rgb(0 0 0 / 44%) 62%, rgb(0 0 0 / 22%));
    pointer-events: none;
}
#main .about-hero.photo-banner > :not(.about-hero-photo) { position: relative; z-index: 2; }

#main .about-hero .about-hope-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.1rem;
    padding: .7rem 1rem;
    border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}
#main .about-hero .about-hope-link:hover { filter: brightness(1.06); }
#main .about-hero .about-hope-link:focus-visible { outline: 3px solid var(--on-hero); outline-offset: 3px; }

@media (max-width: 650px) {
    #main .photo-banner {
        min-height: 260px;
        border-radius: 20px;
        padding: 1.5rem 1.25rem;
        background-image: linear-gradient(rgb(0 0 0 / 65%), rgb(0 0 0 / 65%)), var(--banner-photo);
    }
    #main .photo-banner h1 { font-size: 2rem; }
    .banner-vienna { --banner-photo: url("https://images.unsplash.com/photo-1568132585619-01ebde363d59?auto=format&fit=crop&w=900&q=75"); }
    .banner-archive { --banner-photo: url("https://images.unsplash.com/photo-1660593089599-f8e50f5204b6?auto=format&fit=crop&w=900&q=75"); }
    .banner-about { --banner-photo: url("https://images.unsplash.com/photo-1610029795220-e5afca4dc7ba?auto=format&fit=crop&w=900&q=75"); }
    .banner-hope { --banner-photo: url("images/Beacon%20of%20hope_%20helping%20hands%20%281%29.png"); }
    .banner-scripture { --banner-photo: url("https://images.unsplash.com/photo-1789479925012-cca4d5402296?auto=format&fit=crop&w=900&q=75"); }
    .banner-gathering { --banner-photo: url("https://images.unsplash.com/photo-1761058556617-ddd0f3b9795e?auto=format&fit=crop&w=900&q=75"); }
    .banner-dawn { --banner-photo: url("https://images.unsplash.com/photo-1478341089230-f9be22921e38?auto=format&fit=crop&w=900&q=75"); }
    .banner-memories { --banner-photo: url("https://images.unsplash.com/photo-1610547676403-353e9e1124db?auto=format&fit=crop&w=900&q=75"); }
    .banner-learning { --banner-photo: url("https://images.unsplash.com/photo-1682253406151-45237a6f7acf?auto=format&fit=crop&w=900&q=75"); }
}

.banner-about { --banner-position: center 65%; }
.banner-hope { --banner-position: center 52%; }
.banner-gathering { --banner-position: center 45%; }
