/* Global Styles */
body.modal-open {
    overflow: hidden;
}
a:read-write {
    outline: none !important;
    background: transparent !important;
}

/* Custom read more for text limit */
.readmore-toggle-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

/* Flipbox Modal */
#flipbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#flipbox-modal.show {
    display: flex;
    opacity: 1;
}

#flipbox-modal-content-box {
    background: #f0e3d0;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pop_close_btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    line-height: 100%;
    font-weight: 300;
    font-size: 14px;
    width: 25px;
    height: 25px;
    padding: 0;
}

/* Mobile Menu Customization */
.mob-custom-location {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #fff;
    padding: 15px 30px;
    border-radius: 0;
    width: 100%;
}
div.page-mobile-menu-content {
    height: calc(100vh - 180px);
}

/* Mobile Approach */
@media (max-width: 575px) {
    .mob_popup_approach .unicamp-flip-box .layer.back-side {
        display: none !important;
    }
    .mob_popup_approach .unicamp-flip-box .overlay {
        background-color: #00000090 !important;
    }
    .read-more-popup-btn {
        font-size: 14px;
        border-bottom: 1px solid #fff;
    }
}