.modal-close {
    top: 28px;
    right: 30px;
    width: 30px;
    height: 30px;
    font-size: 0;
    color: #585858;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modal-close::before,
.modal-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 1px;
    background-color: currentColor;
    transform-origin: center;
}

.modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close:hover {
    opacity: 1;
}

.carousel-btn {
    position: fixed;
    top: 50%;
    width: 64px;
    height: 96px;
    background-color: transparent;
    color: transparent;
    border: 0;
    border-radius: 0;
    font-size: 0;
    opacity: 0.55;
    z-index: 1001;
    transition: opacity 0.3s ease;
}

.carousel-btn::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    border-left: 1px solid #585858;
    border-bottom: 1px solid #585858;
}

.carousel-btn:hover {
    background-color: transparent;
    opacity: 1;
}

.prev-btn {
    left: 2.8vw;
}

.prev-btn::before {
    transform: rotate(45deg);
}

.next-btn {
    right: 2.8vw;
}

.next-btn::before {
    transform: rotate(-135deg);
}

@media screen and (orientation: portrait) and (max-width: 1024px) {
    .modal-close {
        top: 24px;
        right: 20px;
        width: 28px;
        height: 28px;
    }

    .modal-close::before,
    .modal-close::after {
        width: 24px;
    }

    .carousel-btn {
        width: 44px;
        height: 64px;
    }

    .carousel-btn::before {
        width: 14px;
        height: 14px;
    }

    .prev-btn {
        left: 12px;
    }

    .next-btn {
        right: 12px;
    }
}
