/* ============================================================
   HOMEHERO.CSS - HERO RESPONSIVO DE LA PAGINA DE INICIO
   ============================================================ */

.homehero_main {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.homehero_container {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto 0;
    position: relative;
    overflow: hidden;
}

.homehero_picture {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    aspect-ratio: 2 / 1;
}

.homehero_image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 1100px) {
    .homehero_container {
        margin-top: 30px;
    }

    .homehero_picture {
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 768px) {
    .homehero_container {
        margin-top: 20px;
    }

    .homehero_picture {
        aspect-ratio: 4 / 5;
    }
}
