.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 21, 74, 0.4);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-content {
    background-color: #fff;
    border-radius: 16px;
    position: relative;
    max-width: 720px;
    width: calc(100% - 160px);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.popup-content .popup-body {
    display: flex;
    min-height: 360px;
}

.popup-content .popup-body img {
    width: 50%;
    object-fit: cover;
}

.popup-content .popup-body .popup-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 12px;
    width: 50%;
}

.popup-content .popup-body .popup-content-wrapper h2 {
    width: 100%;
    font-family: CircularXX TT, sans-serif;
    font-weight: 450;
    font-size: 24px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: left;
    vertical-align: middle;
    margin: 0;
}

.popup-content .popup-body .popup-content-wrapper p {
    font-size: 16px;
    text-align: left;
    margin: 0;
}

.popup-content .popup-body .popup-content-wrapper .popup-link {
    background-color: rgba(50, 186, 246, 1);
    font-size: 16px;
    color: #fff;
    padding: 10px 20px;
    border-radius: 24px;
    text-decoration: none;
    margin: 0;
}

.popup-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    background: none;
    border: none;
    z-index: 10000;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #000;
}

.popup-close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .popup-content .popup-body {
        flex-direction: column-reverse;
    }
    .popup-content .popup-body img {
        width: 100%;
        height: 200px;
    }
    .popup-content .popup-body .popup-content-wrapper {
        width: 100%;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: calc(100% - 55px);
    }
}

