@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&display=swap');

#zano-project-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    direction: rtl;
    font-family: "Heebo", sans-serif;
}

#zano-project-popup.is-open {
    display: block;
}

.zano-project-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 22, 1);
}

.zano-project-popup-dialog {
    position: relative;
    z-index: 2;
    width: min(1400px, 100vw);
    max-height: 100vh;
    margin: auto;
    padding: 50px 100px;
    box-sizing: border-box;
    overflow-y: auto;
    color: #FFFFFF;
}

.zano-project-popup-close {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999999;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    outline: none !important;
    background: #171716 !important;
    color: #C9BEA0 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.zano-project-popup-close span {
    display: block;
    font: 300 32px/1 "Heebo", sans-serif;
    color: #C9BEA0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.zano-project-popup-close:hover,
.zano-project-popup-close:focus,
.zano-project-popup-close:focus-visible,
.zano-project-popup-close:active {
    outline: none !important;
    color: #ffffff !important;
}

.zano-project-popup-close:hover span,
.zano-project-popup-close:focus span,
.zano-project-popup-close:focus-visible span,
.zano-project-popup-close:active span {
    color: #ffffff !important;
}

.zano-project-top {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 20px;
    direction: ltr;
}

.zano-project-gallery {
    padding: 20px;
    border: 1px solid rgba(201, 190, 160, .14);
}

.zano-project-main-image img,
.zano-project-side-image img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.zano-project-main-image img {
    height: 400px;
    object-fit: cover;
}

.zano-project-side-image img {
    height: 512px;
    object-fit: cover;
}

.zano-project-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.zano-project-thumb {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.zano-project-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transition: opacity .3s ease;
}

.zano-project-thumb:hover,
.zano-project-thumb:focus,
.zano-project-thumb:focus-visible,
.zano-project-thumb:active {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.zano-project-thumb:hover img,
.zano-project-thumb.active img {
    opacity: 1;
}

.zano-project-bottom {
    display: grid;
    grid-template-columns: .75fr 1.45fr .8fr;
    gap: 50px;
    align-items: start;
    margin-top: 50px;
    direction: ltr;
}

.zano-project-map,
.zano-project-about,
.zano-project-details {
    direction: rtl;
}

.zano-project-map {
    min-height: 225px;
}

.zano-map-box {
    width: 100%;
    min-height: 250px;
    overflow: hidden;
}

.zano-map-box iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: 0;
}

.zano-project-about {
    padding-right: 50px !important;
    border-right: 5px solid #C9BEA0;
}

.zano-project-about h5 {
    margin: 0 0 20px;
    color: #C9BEA0;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 400;
}

.zano-project-about-text {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1.5;
}

.zano-project-details {
    text-align: right;
}

.zano-project-details h3 {
    margin: 0 0 10px;
    color: #C9BEA0;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 400;
}

.zano-project-meta {
    color: #C9BEA0;
    font-size: 18px;
    line-height: 1.5;
}

.zano-project-meta strong,
.zano-project-meta .zano-white {
    color: #FFFFFF;
}


.zano-project-button:hover {
    background: #C9BEA0;
    color: #171716;
}

body.zano-popup-open {
    overflow: hidden;
}

.zano-project-map iframe {
    filter: grayscale(100%) contrast(90%);
    -webkit-filter: grayscale(100%) contrast(90%);
}

@media (max-width: 767px) {

    .zano-project-popup-dialog {
        width: 100vw;
        max-height: 100vh;
        margin: auto;
        padding: 50px 20px;
    }

    .zano-project-top {
        display: flex;
        flex-direction: column-reverse;
    }

    .zano-project-gallery {
        padding: 20px;
    }

    .zano-project-side-image {
        margin-top: 20px;
    }

    .zano-project-side-image img,
    .zano-project-main-image img {
        height: 250px;
    }

    .zano-project-bottom {
        display: flex;
        width:100%;
        flex-direction: column-reverse;
        gap: 20px;
        margin-top: 20px;
        align-items: stretch;
    }

    .zano-project-about {
        padding-right: 0px !important;
        padding-top: 20px !important;
        border-right: 0px solid #C9BEA0;
        border-top: 5px solid #C9BEA0;
    }

    .zano-project-about h5 {
        font-size: 26px;
    }

    .zano-project-details h3 {
        font-size: 26px;
    }

    .zano-project-popup-close {
        border: 0 !important;
        padding: 0 !important;
    }

    .zano-project-popup-close span {
        font-size: 26px;
    }

    .zano-project-meta,
    .zano-project-about-text {
    font-size: 16px;
    }
}
