.hero-photos {
    position: relative;
    min-height: 520px;
}

.hero-photos figure {
    margin: 0;
    overflow: hidden;
    background: #dcecf1;
    box-shadow: 0 28px 70px rgba(12, 58, 70, .18);
}

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

.hero-photo-main {
    position: absolute;
    inset: 0 7% 9% 0;
    border-radius: 2rem;
}

.hero-photo-secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    height: 42%;
    border: 7px solid #fff;
    border-radius: 1.5rem;
}

.hero-photo-badge {
    position: absolute;
    left: -1.25rem;
    bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1.1rem;
    border: 1px solid rgba(11, 128, 154, .12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .96);
    color: #073b4c;
    box-shadow: 0 18px 40px rgba(12, 58, 70, .18);
}

.hero-photo-badge > i {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: .8rem;
    background: #dff6fa;
    color: var(--bs-primary);
}

.hero-photo-badge span,
.hero-photo-badge small {
    display: block;
}

.hero-photo-badge small {
    color: #657b83;
}

@media (max-width: 991.98px) {
    .hero-photos {
        min-height: 480px;
        max-width: 680px;
        margin-inline: auto;
    }

    .hero-photo-badge {
        left: .75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-photos {
        min-height: 350px;
    }

    .hero-photo-main {
        inset: 0 3% 12% 0;
        border-radius: 1.4rem;
    }

    .hero-photo-secondary {
        width: 44%;
        height: 39%;
        border-width: 4px;
        border-radius: 1rem;
    }

    .hero-photo-badge {
        left: .5rem;
        bottom: 1rem;
        padding: .65rem .8rem;
        font-size: .86rem;
    }

    .hero-photo-badge > i {
        width: 2.1rem;
        height: 2.1rem;
    }
}
