/* slider */
.slider-detail-page {
    max-width: 700px;
    margin: 40px auto 0;
    display: flex;
    overflow-x: auto;

    scroll-snap-type: x mandatory;
    /* 🔥 mấu chốt */
    scroll-behavior: smooth;

    border-radius: 8px;
    cursor: grab;
}


.slider-detail-page::-webkit-scrollbar {
    display: none;
    /* ẩn thanh scroll */
}

.slide-detail-page {
    min-width: 100%;
    scroll-snap-align: start;
}

.slide-detail-page img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 100%;
    transition: 0.4s;
}

.banner {
    position: relative;
}

.banner-thumb {
    width: 100%;
    object-fit: cover;
}

.banner .btn_buy_ticket {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    transition: 0.4s;
    z-index: 1000;
}

.banner .btn_buy_ticket:hover {
    transform: translateX(-50%) scale(1.05);
}

.detail-content {
    max-width: 1366px;
    margin: 0 auto;
    padding: 50px 50px;
}

.detail-content .map {
    margin-top: 50px;
}

.map iframe {
    width: 100%;
}

/* artist */
.artist-list {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 1fr);
        overflow: auto;
    gap: 30px;
    margin-top: 40px;
}

.artist-item {
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #eceaea;
    overflow: hidden;
        min-width: 208px;
}

.artist-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s;
    border-bottom: 1px solid #eceaea;
}

.artist-item h4 {
    padding: 17px;
    margin: 0;
    font-size: 1.2rem;
}

.artist-item img:hover {
    opacity: 0.8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    width: 500px;
    border-radius: 8px;
    position: relative;
    margin: 0 10px;
    max-height: 90vh;
    overflow: auto;
}

.modal-content img {
    width: 220px;
    height: 300px;
    border-radius: 8px;
    object-fit: cover;
    /* margin: 0 auto; */
    display: block;
}

#m-desc {

    margin-bottom: 20px;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

/* slider for image text in block */
.slider-image-text {
    width: 50%;
    margin: 40px auto 0;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* 🔥 mấu chốt */
    scroll-behavior: smooth;
    border-radius: 8px;
    cursor: grab;
}

.slider-image-text::-webkit-scrollbar {
    display: none;
    /* ẩn thanh scroll */
}

.slide-image-text {
    min-width: 100%;
    scroll-snap-align: start;
}

.slide-image-text img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 100%;
    transition: 0.4s;
}

/* slider for image text in block */
@media (max-width: 1280px) {
    .artist-list {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1024px) {
    .artist-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .banner button {
        font-size: 1.6rem;
        padding: 0.8rem 1.7rem;
    }

    .detail-content {
        padding: 32px 25px;
    }

    .artist-list {
        gap: 10px;
    }
}

@media (max-width: 768px) {

    .artist-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .slider-image-text {
        width: 100%;
    }

    .banner-thumb {
        width: 100vw;
        height: 100vh;
    }
}

@media (max-width: 576px) {

    .artist-list {
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: repeat(2, 1fr);
        overflow: auto;
    }

    .artist-list .artist-item {
        min-width: 171px;
    }

    .artist-item img {
        height: 230px;
    }
}

@media (max-width: 414px) {


    .artist-item img {
        height: 200px;
    }

    .detail-content {
        padding: 14px 15px;
    }
}