/* Custom styles for the news portal */

/* Navigation */
.navbar-item img {
    max-height: 14em;
}

.navbar.has-background-danger-dark .navbar-item:hover {
    background-color: #780C28 !important;
}

/* Cards */
.card {
    transition: transform 0.2s;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-image img {
    object-fit: cover;
}

/* Tabs */
.tabs.is-boxed li.is-active a {
    background-color: #780C28;
    border-color: #780C28;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.is-active {
    display: block;
}

/* Footer */
.footer {
    padding: 3rem 1.5rem;
}

.footer ul {
    list-style: none;
    margin-left: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: #780C28 !important;
}



/* Media queries */
@media screen and (max-width: 768px) {
    .navbar-menu {
        background-color: #780C28;
    }
    
    .navbar-item {
        color: white !important;
    }

    .navbar-item img {
        align-content: center;
    }
}

/*CAROUSEL CSS*/
.carousel-container {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
}

.carousel-slide {
    position: absolute;
    width: 240px;
    height: 140px;
    transition: transform 1s ease-in-out;
}

.carousel-slide iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #780C28;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }
