/**
 * News Page Styles
 */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

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

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

.news-card-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-category {
    padding: 6px 16px;
    text-transform: uppercase;
}

.news-card-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.news-card-title {
    font-size: 24px;
    line-height: 1.3;
}

.news-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.news-card-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.news-card-link:hover {
    gap: 12px;
}

.news-card-link::after {
    content: "→";
    font-size: 18px;
}

@media (max-width: 768px) {
    .news-container {
        padding: 100px 16px 60px;
    }

    .news-header h1 {
        font-size: 36px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-card-title {
        font-size: 20px;
    }
}
