
.banner-rotator-block {
    display: flex;
    gap: 0;
    background: #000;
    aspect-ratio: 5 / 2;
    overflow: hidden;
    position: relative;
    margin: 0 !important;
}

/* 80% Bal oldal - Nagy banner */
.banner-main {
    width: 80%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-slide.active {
    display: block;
    opacity: 1;
}

.banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 16px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    pointer-events: none;
}

/* 20% Jobb oldal - Thumbnail lista */
.banner-thumbnails {
    width: 20%;
    height: 100%;
    background: #1a1a1a;
    overflow: hidden;
    position: relative;
}

.thumbnails-track {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 5px;
    overflow-y: auto;
    height: 100%;
    scroll-behavior: smooth;

    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.thumbnails-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.thumbnail-item {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 5px 0;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.5;
    flex-shrink: 0;
}

.thumbnail-item.active {
    border-color: #fff;
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-item:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.banner-rotator-error {
    padding: 20px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .thumbnail-item {
        margin: 4px 0;
    }
}

@media (max-width: 480px) {
    .banner-main {
        width: 80%;
    }

    .banner-thumbnails {
        width: 20%;
    }
}
