﻿.news-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333 !important;
}

.news-section .section-divider {
    width: 60px;
    height: 2px;
    background-color: #ff6a00;
    margin: 10px auto;
}

.news-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffe0b2, #7b3400, #d9870f, #ef6c00);
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
    transition: transform 0.3s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #ff9800;
}

    .news-image img {
        max-height: 98%;
        width: 98%;
        border-radius: 10px;
    }

.news-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
    min-height: 60px;
    line-height: 1.4;
}

.news-date {
    font-size: 0.95rem;
    color: #fff;
    background-color: #ff8000;
    border-radius: 5px;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 8px;
}

.news-description {
    font-size: 1rem !important;
    color: #fff !important;
    text-align: justify !important;
    min-height: 130px !important;
}

.btn-primary {
    background-color: #ff6a00;
    border-color: #ff6a00;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e65c00;
    border-color: #e65c00;
}

/* Mobil uyum */
@media (max-width: 576px) {
    .news-image {
        height: 180px;
    }

    .news-title {
        font-size: 1rem;
    }

    .news-description {
        font-size: 0.95rem;
    }

    .news-card {
        border-radius: 10px;
    }
}
