/* El Patio - Separación superior del logo en móvil */

@media (max-width: 790px) {

    .site-head .head-content {
        height: 104px;
        min-height: 104px;
    }

    .site-head .brand {
        transform: translateY(4px);
    }

    .site-head .links {
        top: 104px;
    }

}
/* EL PATIO - Separar texto de las ilustraciones */

@media (min-width: 1001px) {

    .hero .hero-left {
        padding-left: 102px !important;
        padding-right: 25px !important;
    }

    .hero .hero-left h1,
    .hero .hero-left p,
    .hero .hero-left .hero-actions {
        position: relative;
        z-index: 2;
    }

}
/* EL PATIO - Centrar banner principal */

@media (min-width: 1001px) {

    .hero {
        width: 100%;
        max-width: 1024px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .hero .hero-left {
        width: 100%;
        max-width: 1024px;
        margin: 0 auto;
        padding-left: 33px;
        padding-right: 33px;
        transform: none;
    }

    .hero .hero-right {
        inset: 0 0 0 50%;
        background-position: center center;
        background-size: cover;
    }

}
/* Centrar Nuestra Historia */
@media (min-width: 701px) {
    .story {
        width: 100%;
        max-width: 1024px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 47% 53%;
        height: auto;
        min-height: 370px;
        overflow: hidden;
    }

    .story-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 16px 18px 16px 33px;
    }

    .story-photo {
        min-height: 370px;
        max-height: none;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #fcf5ec;
    }

    .story-photo::before {
        display: none;
    }
}
/* El Patio - Fotografía y degradado de Nuestra Historia */

@media (min-width: 701px) {

    .story-photo {
        min-height: 370px;
        background-size: cover;
        background-position: 49% 48%;
        background-repeat: no-repeat;
    }

    .story-photo::before {
        display: block;
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            90deg,
            #fdf6ed 0%,
            rgba(253, 246, 237, 0.92) 7%,
            rgba(253, 246, 237, 0.53) 20%,
            rgba(253, 246, 237, 0) 38%
        );
        pointer-events: none;
    }
}