/* Route-scoped title photographs. Existing custom entity covers are untouched. */
body[data-title-backdrop] .page-hero {
    --title-photo: url('courts.webp');
    --title-photo-position: center 57%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background-color: #060c20;
    background-image: linear-gradient(100deg, #060c20f2 0%, #060c20d1 43%, #060c2078 100%), var(--title-photo);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center, var(--title-photo-position);
}
body[data-title-backdrop="community"] .page-hero {
    --title-photo: url('hero.webp');
    --title-photo-position: center 43%;
}
body[data-title-backdrop] .page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lime), #00bed6 48%, transparent 95%);
    pointer-events: none;
}
body[data-title-backdrop] .page-hero h1 { color: #fff; text-wrap: balance; }
body[data-title-backdrop] .page-hero p { color: #e2eae8; }
body[data-title-backdrop] .page-hero .eyebrow { color: var(--lime); }
body[data-title-backdrop] .page-hero .directory-search input {
    background: #fff;
    color: var(--ink);
    border-color: #ffffff90;
}
body[data-title-backdrop] .page-hero .directory-search input::placeholder { color: #62727a; }
body[data-title-backdrop] .page-hero .facility-area-options a { color: #f0f5ee; }
@media (max-width: 600px) {
    body[data-title-backdrop] .page-hero {
        background-image: linear-gradient(100deg, #060c20f0 0%, #060c20c7 100%), var(--title-photo);
    }
    body[data-title-backdrop="community"] .page-hero { --title-photo-position: 62% center; }
}
