.br-hero-mosaic {
    display: grid;
    gap: 0.7rem;
    height: clamp(300px, 44vw, 500px);
}

.br-hero-mosaic__tile {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: zoom-in;
    background: var(--sand);
}

.br-hero-mosaic__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.br-hero-mosaic--count-3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.br-hero-mosaic--count-3 .br-hero-mosaic__tile--0 {
    grid-row: span 2;
}

.br-hero-mosaic--count-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.br-hero-mosaic--count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.br-hero-mosaic__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(28, 22, 16, 0.72);
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
}

.br-hero-mosaic__more {
    position: absolute;
    inset: 0;
    background: rgba(28, 22, 16, 0.5);
    color: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

@media (max-width: 900px) {
    .br-hero-mosaic {
        height: clamp(280px, 60vw, 420px);
    }

    .br-hero-mosaic--count-3 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1.4fr 1fr;
        height: clamp(380px, 90vw, 520px);
    }

    .br-hero-mosaic--count-3 .br-hero-mosaic__tile--0 {
        grid-row: 1;
        grid-column: 1 / -1;
    }
}

/* Mobile: at most 2 tiles; the second carries the mobile "+N" label. */
.br-hero-mosaic__more--mobile {
    display: none;
}

@media (max-width: 767px) {
    .br-hero-mosaic .br-hero-mosaic__tile--2,
    .br-hero-mosaic__more--desktop {
        display: none;
    }

    .br-hero-mosaic__more--mobile {
        display: flex;
    }

    .br-hero-mosaic--count-3 {
        grid-template-columns: 1fr;
        grid-template-rows: 1.5fr 1fr;
        height: clamp(360px, 110vw, 520px);
    }

    .br-hero-mosaic--count-3 .br-hero-mosaic__tile--0 {
        grid-row: 1;
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .br-hero-mosaic {
        height: clamp(220px, 70vw, 320px);
    }

    .br-hero-mosaic--count-3 {
        height: clamp(340px, 110vw, 480px);
    }

    .br-hero-mosaic__badge {
        font-size: 0.62rem;
        padding: 0.35rem 0.65rem;
    }

    .br-hero-mosaic__more {
        font-size: 1.05rem;
    }
}
