.home-popup-event-modal .modal-dialog {
    width: calc(100% - 32px);
    max-width: 700px;
    min-height: calc(100% - 2rem);
    margin: 1rem auto;
}

.home-popup-event-content {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin: auto;
    border: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: 0 18px 60px #0004;
}

.home-popup-event-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    border-radius: 12px;
    object-fit: contain;
}

.home-popup-event-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e8c5b7;
    border-radius: 50%;
    background: #fff;
    color: #b1593f;
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 2px 10px #0002;
    cursor: pointer;
}

    .home-popup-event-close:hover {
        background: #f8ece6;
    }

    .home-popup-event-close:focus-visible {
        outline: 2px solid #b1593f;
        outline-offset: 3px;
    }
