
.inner-wrapper .hero {
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    height: calc(var(--window-height) - var(--bottom-menu-height));
}

.inner-wrapper .hero .darken {
    height: 100%;
    width: 100%;
    background-color: rgb(0 0 0 / 35%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--menu-height);
}

.inner-wrapper .hero .logo {
    /* width: 100%; */
    max-width: 40vw;
    max-height: 30vh;
}

.inner-wrapper .hero .title {
    font-family: 'Ragam', sans-serif;
    font-size: 2em;
    color: white;
    text-align: left;
    margin: 20px 0;
    line-height: 1.2em;
}

.inner-wrapper .hero .inner {
    height: 100%;
    align-content: center;
}

.intro.container {
    padding-top: 60px;
}

.intro .title {
    color: #0a2d2c;
    font-family: 'contralto-small';
    font-size: 2.3em;
    margin-bottom: 30px;
    font-weight: 600;
    padding: 0px 30px;;
}

.intro .text {
    font-family: 'elza', sans-serif;
    font-size: 1.1em;
    line-height: 1.3em;
    padding: 0px 30px;
}

.intro .text p {
    margin-bottom: 20px;
}

.intro .gallery {
    margin-top: 80px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.intro .gallery .gallery-flex {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: row;
}

.intro .gallery>.gallery-item {
    width: 100%;
    aspect-ratio: 1.2;
}

.intro .gallery .gallery-flex .gallery-item:nth-child(1) {
    flex: 1.5;
    aspect-ratio: 1.5;
}

.intro .gallery .gallery-flex .gallery-item:nth-child(2) {
    flex: 1;
}

.intro .gallery .gallery-item img {
    height: 100%;
    width: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.map {

}

.map .title {
    font-family: 'contralto-small';
    font-size: 2.3em;
    margin-bottom: 30px;
    font-weight: 600;
    padding: 0px 30px;
    color: #0a2d2c;
}

.map .text {
    font-family: 'elza', sans-serif;
    font-size: 1em;
    line-height: 1.6em;
    padding: 0px 30px;
}

.map #map {
    width: 100%;
    aspect-ratio: 1;
}

.map .map-info {
    background: #0a2d2c;
    padding: 32px 32px 32px 100px;
    border-radius: 42px;

    background-image: url(/wp-content/themes/elvearesidenze/static/images/pattern-2.png);
    background-repeat: repeat-y;
    background-size: 30%;
    background-position-x: 10%;
    margin-top: -50px;
    z-index: 3;
    position: relative;
}

.map .map-info .map-help-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.map .map-info .map-help-mobile img {
    width: 64px;
    margin-right: 10px;
}

.map .map-info .map-help-mobile span {
    color: white;
    font-family: 'elza', sans-serif;
    font-size: 1.1em;
}

.map .map-info ul {
    list-style: none;
    padding-inline-start: 0px;
    aspect-ratio: 1;
    overflow-y: scroll;
    margin-bottom: 0px;
}

.map .map-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.map .map-info ul li .logo {
    height: 48px;
}

.map .map-info ul li .number {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

.map .map-info ul li .label {
    color: white;
    margin-left: 10px;
}

.details {

}

.details .main-title {
    font-family: 'contralto-small';
    font-size: 2.3em;
    margin-bottom: 30px;
    font-weight: 600;
    padding: 0px 30px;
    color: #23433e;
    text-align: center;
    font-style: italic;
}

.details .head-copy {

}

.details .head-copy img.image-pre {
    aspect-ratio: 1.2;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.details .head-copy img.image-post {
    width: 100%;
    aspect-ratio: 1.2;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.details .head-copy h2 {
    font-family: 'contralto-small';
    font-size: 2.3em;
    margin-bottom: 30px;
    font-weight: 600;
    padding: 0px 30px;
    color: #0a2d2c;
}

.details .head-copy .text {
    font-family: 'elza', sans-serif;
    font-size: 1em;
    line-height: 1.6em;
    padding: 0px 30px;
}

.details .slides-container {
    background-color: #061d1d;
    padding: 32px 0px 0px 0px;
    color: white;
    margin-top: -42px;
    border-radius: 42px 42px 0px 0px;
    background-image: url(/wp-content/themes/elvearesidenze/static/images/pattern-2.png);
    background-repeat: repeat-y;
    background-size: 30%;
    background-position-x: 10%;
    position: relative;
    z-index: 1;
}

.details .slides-container.contrast {
    background-color: #e0dcce;
    color: #061d1d;
    background-image: url(/wp-content/themes/elvearesidenze/static/images/pattern-1.png);
    background-size: 50%;
    background-position-x: 5%;
    background-repeat: no-repeat;
}

.details .slider-arrows {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.details .slider-arrows .slider-arrow {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.details .slides .slide {
    width: 100%;
}

.details .slides .slide .detail-copy {
    padding: 0px 42px;
}

.details .slides .slide .detail-copy h2 {
    font-family: 'contralto-small';
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: 600;
}

.details .slides .slide .detail-images {
    display: flex;
    gap: 12px;
}

.details .slides .slide .detail-images .detail-image {
    flex: 1;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 1;
}

.details .slides .slide .detail-images .detail-image:first-child {
    flex: 1.5;
}

@media (min-width: 992px) {
    .inner-wrapper .hero {
        height: var(--window-height);
    }

    .inner-wrapper .hero .logo {
        width: 25%;
    }

    .inner-wrapper .hero .title {
        font-size: 5em;
    }

    .intro .gallery {
        margin-top: 0px;
        margin-right: calc(-1 * (100vw - var(--container-width)) / 2);
    }

    .intro .gallery .gallery-item:nth-child(1) {
        width: 60%;
    }

    .intro .gallery .gallery-flex {
        width: auto;
        flex-direction: column;
        flex: 1;
    }
    
    .intro .gallery .gallery-flex .gallery-item:nth-child(1) {
        width: 100%;
        height: 70%;
    }

    .intro .title {
        padding: 0px 0px 0px 0px;
    }

    .intro .text {
        padding: 0px 0px 0px 0px;
    }

    .map .title {
        padding: 0px 0px 0px 0px;
    }

    .map .text {
        padding: 0px 0px 0px 0px;
    }

    .map #map {
        aspect-ratio: auto;
        height: 600px;
    }

    .map .map-help {
        align-items: center;
    }

    .map .map-help img {
        width: 64px;
        margin-left: 20px;
    }

    .map .map-help span {
        margin-left: 20px;
        font-size: .9em;
    }

    .map .map-info {
        margin-top: 0px;
        height: 530px;
        padding: 32px 32px 32px 60px;
    }

    .map .map-info ul {
        height: 100%;
        overflow-y: auto;
        aspect-ratio: 0;
    }



    .map .map-info ul::-webkit-scrollbar {
        width: 5px;
    }

    /* Track */
    .map .map-info ul::-webkit-scrollbar-track {
        background: #23433e;
    }

    /* Handle */
    .map .map-info ul::-webkit-scrollbar-thumb {
        background: #f1f1f1;
    }

    /* Handle on hover */
    .map .map-info ul::-webkit-scrollbar-thumb:hover {
        background: #3a6e67;
    }



    .details .head-copy {
        margin-top: 100px;
        margin-bottom: -200px;
        position: relative;
        z-index: 2;
    }

    .details .head-copy img.image-pre {
        width: 50%;
    }
    
    .details .head-copy .side-copy {
        width: 50%;
    }

    .details .head-copy h2 {
        padding: 0px 150px;
    }

    .details .head-copy .text {
        padding: 0px 150px;
    }

    .details .head-copy img.image-post {
        aspect-ratio: 1.7;
    }

    .details .slides-container {
        border-radius: 100px 100px 0px 0px;
        position: relative;
        padding-top: 300px;
        background-size: 10%;
    }
    
    .details .slides-container.contrast {
        background-size: 20%;
    }

    .details .slides-container>.container {
        position: relative;
    }

    .details .slider-arrows {
        position: absolute;
        top: 50px;
        right: 0px;
        z-index: 1;
    }

    .details .slides .slide .detail-copy {
        padding: 0px;
        width: 60%;
        margin-left: 150px;
    }

    .details .slides .slide .detail-images .detail-image {
        aspect-ratio: 1.5;
    }

    .details .slider-arrows .slider-arrow {
        width: 42px;
        height: 42px;
    }
}