/* Main Stylesheet for TenoVisia Theme */

/* Carousel Navigation */
.news-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-nav {
    background: #E5231B;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    flex-shrink: 0;
    padding: 0;
}

.carousel-nav img {
    display: block;
    filter: brightness(0) invert(1); /* Bílá barva pro SVG */
}

.carousel-prev img {
    width: 20px;
    height: 24px;
}

.carousel-next img {
    width: 14px;
    height: 17px;
}

.carousel-nav:hover {
    background: #c00;
}

.news-carousel {
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    -ms-overflow-style: none;
}

.news-carousel::-webkit-scrollbar {
    height: 8px;
}

.news-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.news-carousel::-webkit-scrollbar-thumb {
    background: #E5231B;
    border-radius: 4px;
}

/* Division Content Icon */
.division-content-icon {
    margin-top: 2rem;
    text-align: center;
}

.division-content-icon img {
    max-width: 100px;
    height: auto;
    filter: brightness(0);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.division-content {
    animation: fadeIn 0.3s ease-in-out;
}
