/* Hero Section */
.hero {
    position:relative;
}
.hero .container {
    padding:2rem;
}

.hero h1 {
    font-size:3rem;
    font-family:var(--secondary-font);
    color:var(--main-color);
    line-height: 1.1;
    transition: all 0.3s;        
    font-weight: bold;
    text-align:left;
    margin:0;
}

.hero-search-container {
    display: flex;
    flex-direction:column;
    align-items: left;
    gap:1rem;
    margin:1rem 0;
}

.hero-search-form {
    display: flex;
    gap:.5rem;
}


.hero .hero-image-container {
    width: 100%;
}

.hero::before {
    content: '';
    width:60%;
    height:50%;
    position:absolute;
    left:0;
    top:-45px;
    z-index:-1;
    background:url('../banners/LJU_Home_Fondo_01.svg');
    background-repeat: no-repeat;
    background-size:contain;    
}

.hero::after{
    content:' ';
    width:50%;
    height:100%;
    position: absolute;
    right:0;
    bottom:1rem;
    background:url('../banners/LJU_Home_Fondo_02.svg');
    background-repeat:no-repeat;
    background-size:contain;
    background-position-x:100%;
    background-position-y:bottom;
    z-index:-1;
}


.hero-subtitle {    
    font-size:4rem;
    letter-spacing:-.2rem;
    font-weight: 300;
    margin-top:0;
    margin-bottom: 30px;
    color:var(--light-color);
    font-family: var(--secondary-font);
    text-align:left;
    font-style: italic;
}

.hero-description {
    font-family: var(--primary-font);
    font-size: 1.2rem;
    text-align:left;
    color:var(--dark-color);    
    margin:1rem 0;
}

.hero-description a {
    font-weight: bold;;
    text-decoration: underline;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--dark-color);
}
.hero-description a:hover {
    color: var(--second-color);
}


.hero .hero-search input {
    background:#e8e8e8;
    border:0;
    color:var(--gray-color);
    padding:1rem 2rem;
    font-size:1.2rem;
    border-radius:2rem;    
    width: 100%;
}

.hero .hero-search button {
    cursor: pointer;
    border:0;
    background:#e8e8e8;
    padding:1rem;
    border-radius:2rem;
}
.hero .hero-search button:hover {
    background-color:var(--dark-color);
}

.hero .hero-search button .svg-icon {
    fill:var(--dark-color);
    width:1.5rem;
    height:1.5rem;    
    border-radius: 100%;    
}


.hero .hero-search button:hover .svg-icon {
    fill:var(--light-color);
}
.hero .hero-search input::placeholder{
    color:var(--gray-color);
}

.hero .btn-hero-directory {
    display: block;
    font-size:1.2rem;
    padding:1rem 2rem;
    border-radius:2rem;
    line-height:1.5rem;
}
.hero .btn-hero-directory:hover {
    background-color:var(--second-color);
    color:var(--dark-color);
}

.hero-text {
    margin:1rem 0;
}

/* Search suggestions dropdown */
.hero-search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + .25rem);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    list-style: none;
    margin: 0;
    padding: .5rem 0;
    z-index: 100;
    overflow-y: scroll;
    max-height:300px;
}
.hero-search-suggestions.is-open {
    display: block;
}
.hero-search-suggestions__legend {
    width: 100%;    
    display: flex;
    padding: .75rem 1.5rem;
    font-size: .75rem;
    font-weight: bold;
    text-transform:uppercase;
}
.hero-search-suggestions li {
    padding: .75rem 1.5rem;
    font-size: 1rem;
    color: var(--dark-color);
    cursor: pointer;
    transition: background .15s;
}
.hero-search-suggestions li:hover,
.hero-search-suggestions li.is-active {
    background: #f0f0f0;
}



.hero .hero-image-container .hero-image {
    width: 100%;
    border-radius: 2rem;    
    height:auto;    
}


.hero-cards-section {
    position:relative;
    height:600px;    
}
.hero-banner-mobile {
    display: none;
}
.hero-banner {
    width: 100%;
    position:absolute;
    top:100px;
}




@media screen and (min-width:768px) {

    .hero {
        text-align: left;
        position: relative;
        margin:auto;
        padding-top: calc( var(--padding-top-header) + 20px );    
        /* padding-bottom: calc( var(--padding-top-header) + 20px );  */
        height:100vh;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
        
    .hero-content {
        position: relative;
        z-index: 2;    
        gap:2rem;        
        margin:auto;
        text-align:left;
        display: flex;
        flex-direction: row;
    }

    .hero-content-left {
        display: flex;
        flex-direction:column;
        justify-content: space-around;
    }

    .hero-search-container {
        display: flex;
        flex-direction:row;
        align-items: center;
        gap:.5rem;
        margin:1rem 0;
    }

    .hero-search {
        display: flex;
        flex-direction:row;
    }


    .hero .hero-image-container {
        width: 50%;
        height: auto;
        border-radius: 2rem;
    }

    .hero::before {
        content: '';
        width:25%;
        height:50%;
        position:absolute;
        left:0;
        top:-16%;
        background:url(../banners/LJU_Home_Fondo_01.svg);
        background-repeat: no-repeat;
        background-size:contain;    
    }
    
    .hero::after{
        content:' ';
        width:50%;
        height:50%;
        position: absolute;
        right:7%;
        bottom:5%;
        background:url('../banners/LJU_Home_Fondo_02.svg');
        background-repeat:no-repeat;
        background-size:contain;
        background-position-x:100%;
    }
    
}







@media screen and (min-width: 728px) {

    .hero h1 {        
        font-size: 4.2rem;
    }
}


@media screen and (min-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }
}


@media screen and (min-width: 1300px) {
    .hero h1 {
        font-size: 4rem;
    }
}

@media screen and (min-width: 1400px) {
    .hero h1 {
        font-size: 4rem;
    }
}

@media screen and (min-width: 1510px) {
    .hero h1 {
        font-size: 4rem;
    }
}


