body:has(.modal-main-wrap.active), html:has(.modal-main-wrap.active) {
  overflow: hidden;
}

/* lightbox */
.modal-album{
    & h2{
        font-size:2rem !important;
        text-align:left;
        margin:0;
        padding:0;
    }
    & ol{
        padding-left:10px;
        & li{
            font-size:0.9rem;
            text-align:left;
            list-style-position: inside;
        }
    }
    & p{
        text-align:left;
        font-size:0.9rem;
        padding:0px 0;
        margin:0;
    }

    & .commander-cta a{
        font-family:'Rambla';
        font-weight:400;
        font-size:0.9rem;
        color:var(--white);
        border:1px solid var(--white);
        padding: 12px 30px;
        margin:15px 0 0 0;
        transition: all 0.3s ease;
        border-radius:0;
        background-color:transparent;
        &:hover{
            background-color:var(--argent);
            border:1px solid var(--black);
            color:var(--black);
            transition: all 0.3s ease;
        }
    }
    & figure{
        margin:0;
        padding: 0;
    }
    & .wp-container-core-columns-is-layout-9d6595d7{
        padding-bottom:0 !important;
        margin-bottom:0 !important;

    }
    & .dashicons{
        font-size:30px !important;
    }
}

.modal-album-column{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}

.eb-modal-container{
    background-color:rgba(0, 0, 0, 0.544);
}

.eb-popup-content{
    box-shadow: none !important;
    margin: 0 !important;
}


@media screen and (max-width:1024px){
    .root-eb-column-dxjr7{
        width:100%;
    }

    .modal-album {
    & h2{
        padding: 0;
        font-size: 25px !important;
        }
    & ol {
        & li {
            font-size: 0.8rem;
            }
        }
    & p {
        font-size: 0.8rem;
        }
    & .commander-cta a {
        font-size: 0.8rem;
        padding: 8px 25px;
        }
    & :where(.wp-block-columns.is-layout-flex){
        gap:1em;
        }
    & .eb-popup-dpcz5.eb-popup-container .eb-popup-close-icon{
        top:0;
    }
    }

    .eb-popup-content{
        margin:0 !important;
        padding:0 !important;
    }

}


@media screen and (max-width:780px){
    .eb-modal-container{
        padding: 70px 50px;
    }

    .modal-album {
    & h2{
        font-size: 20px !important;
        }
    & ol {
        & li {
            font-size: 0.7rem;
            line-height: 1.3;
            }
        }
    & p {
        font-size: 0.7rem;
        line-height: 1.3;
        }
    & .commander-cta a {
        font-size: 0.7rem;
        padding: 8px 25px;
        margin:15px 0 0 0;
        }
    & figure{
        padding:20px 0 0 0; 
        width:fit-content;
        & img{
            max-width:200px;
        }
        }

    & .eb-popup-dpcz5.eb-popup-container .eb-popup-close-icon{
        top:13px;
    }
    }

    & .eb-modal-container.eb_popup_middle_center {
        align-items: center;
    }
}

@media screen and (max-width:350px){
    .modal-album{
        & figure{
            & img{
                max-width:150px;
            }
        }
    }
}