.banner-content {
    display: flex;
    flex-wrap: wrap;            /* Permite que los hijos bajen a la siguiente línea en pantallas pequeñas */
    width: 100%;
    max-width: 1440px;
    height: auto;               /* Altura flexible para que crezca según contenido */
    min-height: 350px;          /* Altura mínima razonable */
    background-image: url('/assets/images/banners/1.webp');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    color: black;
    padding: 20px;              /* Algo de espacio interno */
    box-sizing: border-box;
}

.img-banner {
    flex: 1 1 300px;           /* Crece y encoge, base mínima 300px */
    max-width: 600px;          /* No se pasa de 600px */
    width: 100%;               /* Ocupa todo su contenedor */
    height: auto;              /* Mantener proporción */
    object-fit: contain;       /* Que la imagen no se distorsione */
}

.banner-left {
    flex: 1 1 300px;           /* Crece y encoge, base mínima 300px */
    display: flex;
    flex-direction: column;
    padding: 40px 20px;        /* Padding más pequeño y responsivo */
    justify-content: flex-start;
    align-items: flex-end;   /* Para que el texto quede a la izquierda en móviles */
    gap: 6px;
    min-width: 250px;
}

/* Links igual que antes */
.banner-left a {
    color: black;
    text-decoration: none;
    font-weight: 600;
}

.banner-left a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    transform-origin: center;
}

.banner-left a:hover::after {
    width: 100%;
}
