/* --- Kicsi lapozható képgaléria --- */
.mini-gallery {
    clear: both;
    width: 100%;
    max-width: 700px;
    margin: 2rem auto;
    text-align: center;
    position: relative;
    background: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 1.5rem 1rem;
}

.mini-gallery h3 {
    margin-bottom: 1rem;
    color: #111;
    font-size: 1.3rem;
}

/* --- Galéria keret --- */
.mini-gallery-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* --- Képtartó sáv --- */
.mini-gallery-track {
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

/* --- Egyes képek --- */
.mini-gallery-item {
    display: none;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: opacity .3s ease, transform .3s ease;
}

.mini-gallery-item.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.mini-gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

.mini-gallery-item p {
    margin: 0;
    padding: 0.6rem 0.9rem 0.9rem;
    font-size: 0.9rem;
    color: #333;
}

/* --- Lapozó gombok --- */
.mg-btn {
    background: #fff;
    border: 1px solid #ccc;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    color: #333;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.mg-btn:hover {
    background: #c21c24;
    color: #fff;
    border-color: #c21c24;
}

/* --- Pöttyök --- */
.mini-gallery-dots {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 1rem;
}

.mg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all .3s ease;
}

.mg-dot.active {
    background: #c21c24;
    transform: scale(1.2);
}

/* --- Mobilbarát nézet --- */
@media (max-width: 600px) {
    .mini-gallery-item img {
        height: 190px;
    }

    .mini-gallery-wrapper {
        gap: .3rem;
    }
}
