.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-header {
    text-align: center;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-content {
    padding: 1.5rem;
    background: linear-gradient(to bottom, #fff 80%, #f8f9fa 100%);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 180px;
    margin-top: 10px;
}

.news-content > *:not(.news-link) {
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.news-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    max-height: none;
    opacity: 1;
    transform: none;
    transition: none;
    overflow: visible;
}

.news-link {
    display: inline-block;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #ffd700;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-top: auto;
    align-self: flex-start;
}

.news-link:hover {
    color: #000;
    background: #ffed4a;
    transform: translateY(-2px);
}

.news-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 3rem 1rem;
    }

    .news-header h2 {
        font-size: 2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 1.5rem;
    }

    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 1.2rem;
        min-height: 140px;
    }

    .news-title {
        font-size: 1.2rem;
    }

    .news-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 2rem 0.5rem;
    }

    .news-header h2 {
        font-size: 1.8rem;
    }

    .news-grid {
        gap: 1rem;
    }

    .news-image {
        height: 160px;
    }

    .news-content {
        padding: 1rem;
        min-height: 120px;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-description {
        font-size: 0.9rem;
    }
} 
