.jd-facade-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #26348c;
}

.jd-facade-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
    opacity: 0.38;
    pointer-events: none;
}

.jd-facade-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(38, 52, 140, 0.72), rgba(38, 52, 140, 0.42));
    pointer-events: none;
}

.jd-facade-hero > .container {
    position: relative;
    z-index: 1;
}

.jd-facade-hero--sousa .jd-facade-hero-photo {
    object-position: center 48%;
}

.jd-facade-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.jd-facade-card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(26, 37, 106, 0.12);
}

.jd-facade-card--featured {
    grid-column: 1 / -1;
}

.jd-facade-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 42%;
}

.jd-facade-card--featured img {
    aspect-ratio: 16 / 9;
    object-position: center 50%;
}

.jd-facade-card--single img {
    aspect-ratio: 4 / 3;
    object-position: center;
}

.jd-facade-card figcaption {
    padding: 10px 12px;
    color: #26348c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.jd-facade-card figcaption a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jd-facade-card figcaption a:focus-visible {
    outline: 2px solid #26348c;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .jd-facade-hero-photo {
        opacity: 0.32;
    }

    .jd-facade-hero::after {
        background: linear-gradient(180deg, rgba(38, 52, 140, 0.65), rgba(38, 52, 140, 0.5));
    }

    .jd-facade-gallery {
        gap: 12px;
    }

    .jd-facade-card figcaption {
        padding: 8px;
        font-size: 12px;
    }
}
