.news-page .hero {
    background: linear-gradient(to bottom, #dbeafe, #bfdbfe);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-bottom: 0;
    margin-top: 20px;
}

.news-page .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

.news-page .hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: #4b5563;
}

.news-page .news-content {
    padding: 0 0 4rem;
    background-color: #fff;
    margin-top: 70px;
}

.news-page .news-content .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.news-page .news-filters {
    margin-bottom: 3rem;
    text-align: center;
}

.news-page .filter-btn {
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border: none;
    background-color: #f3f4f6;
    color: #4b5563;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-page .filter-btn:hover,
.news-page .filter-btn.active {
    background-color: #3b82f6;
    color: #fff;
}

.news-page .news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.news-page .news-card {
    background-color: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 550px;
    margin: 0 auto;
}

.news-page .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-page .news-image {
    width: 100%;
    height: 230px;
}

.news-page .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-page .news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-page .news-category {
    display: inline-block;
    color: #3b82f6;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.news-page .news-date {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-page .news-card h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-page .news-excerpt {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.news-page .read-more {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #3b82f6;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
    font-weight: 500;
}

.news-page .read-more:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .news-page .news-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .news-page .news-image {
        height: 180px;
    }

    .news-page .news-filters {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .news-page .filter-btn {
        margin: 0;
        width: 200px;
        text-align: center;
    }
}

.news-page .news-grid.single-card {
    grid-template-columns: minmax(auto, 550px);
}

.news-page .news-grid.two-cards {
    grid-template-columns: repeat(2, minmax(auto, 550px));
}

body .news-page .news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

body .news-page .news-item {
    display: flex;
    background-color: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 2rem;
    gap: 0;
    align-items: stretch;
}

body .news-page .news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body .news-page .news-thumbnail {
    flex-shrink: 0;
    width: 370px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

body .news-page .news-thumbnail img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

body .news-page .news-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 60px;
}

body .news-page .news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

body .news-page .news-category {
    color: #3b82f6;
    font-size: 1rem;
    font-weight: 500;
}

body .news-page .news-date {
    color: #6b7280;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body .news-page .news-item h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 500;
}

body .news-page .news-excerpt {
    color: #4b5563;
    font-size: 1.125rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

body .news-page .read-more {
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #3b82f6;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

body .news-page .read-more:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body .news-page .read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

body .news-page .read-more:hover i {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    body .news-page .news-thumbnail {
        width: 280px;
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f8f9fa;
    }
    
    body .news-page .news-thumbnail img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    body .news-page .news-item {
        flex-direction: column;
        padding: 1.5rem;
    }

    body .news-page .news-thumbnail {
        width: 100%;
        height: 250px;
        margin-right: 0;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f8f9fa;
    }
    
    body .news-page .news-thumbnail img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    body .news-page .news-info {
        padding-bottom: 0;
    }

    body .news-page .read-more {
        position: static;
        margin-top: 1.5rem;
    }
} 