/* News Carousel Styles */
.news-carousel-section {
    margin-bottom: 2.5rem;
}

.news-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.news-carousel-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1a2233;
    letter-spacing: 0.5px;
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.news-carousel-arrows {
    display: flex;
    gap: 0.5rem;
}

.news-carousel-arrow {
    background: #e9ecef;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #1a2233;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(30, 40, 90, 0.07);
    cursor: pointer;
    outline: none;
}

.news-carousel-arrow:focus,
.news-carousel-arrow:hover {
    background: #1e5bff;
    color: #fff;
    box-shadow: 0 2px 8px rgba(30, 40, 90, 0.13);
}

.news-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding-bottom: 0.5rem;
}

.news-carousel::-webkit-scrollbar {
    display: none;
}

.news-card {
    min-width: 320px;
    max-width: 340px;
    flex: 0 0 auto;
    background: #f8f9fa;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(30, 40, 90, 0.07);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    border: none;
}

.news-card:hover {
    box-shadow: 0 6px 24px rgba(30, 40, 90, 0.13);
    transform: translateY(-4px) scale(1.02);
}

.news-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    background: #e9ecef;
}

.news-card-body {
    padding: 1.1rem 1.1rem 0.9rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.news-card-title {
    font-size: 1.13rem;
    font-weight: 600;
    color: #1a2233;
    margin-bottom: 0.7rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.news-card:hover .news-card-title {
    color: #1e5bff;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.97rem;
    color: #6c757d;
    margin-top: auto;
    font-weight: 500;
}

.news-card-meta .meta-author {
    font-weight: 500;
}

.news-card-meta .meta-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 991px) {
    .news-card {
        min-width: 48vw;
        max-width: 52vw;
    }
}

@media (max-width: 767px) {
    .news-card {
        min-width: 92vw;
        max-width: 96vw;
    }

    .news-carousel-section {
        margin-bottom: 1.2rem;
    }

    .news-carousel-title {
        font-size: 1.2rem;
    }
}