/* ===== MAIN IMAGE ===== */
.accord-gallery__main {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* chỉnh theo layout */
    overflow: hidden;
    border-radius: 6px;
    background: #f2f2f2;
}

.accord-gallery__main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* đổi contain nếu cần */
}

/* ===== COUNT BADGE ===== */
.accord-gallery__count {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 4px;
}

/* ===== THUMBNAILS (NO SCROLL) ===== */
.accord-gallery__thumbs {
    display: flex;
    gap: 6px;
    margin-top: 8px;

    overflow: hidden;
    /* ❗ bỏ toàn bộ scroll */
}

/* ===== THUMB ITEM ===== */
.accord-gallery__thumb {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;

    flex: 0 0 auto;
    /* không co */
    border-radius: 4px;
    overflow: hidden;
    outline: none;
}

.accord-gallery__thumb img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* ===== ACTIVE STATE ===== */
.accord-gallery__thumb.is-active {
    border: 2px solid #122257;
}

.accord-gallery__thumb.is-active img {
    opacity: 1;
}

.is-child {
    margin-bottom: 15px !important; 
}