/* News CSS - Styles for news-related pages */

/* News Archive Section */
.news-archive-section {
    padding: 4rem 0;
}

.news-archive-section .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-archive-section .news-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-archive-section .news-item:hover {
    transform: translateY(-5px);
}

.news-archive-section .news-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-archive-section .news-item:hover .news-thumbnail img {
    transform: scale(1.1);
}

.news-archive-section .news-title {
    margin-bottom: 1rem;
}

.news-archive-section .news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-archive-section .news-title a:hover {
    color: #14735b;
}

/* News Single Page */
.news-single-header {
    padding: 2rem 0;
    text-align: center;
}

.news-single-title {
    font-size: clamp(24px, 3vw, 36px);
    color: #333;
    margin-bottom: 1rem;
}

.news-single-thumbnail {
    margin: 2rem 0;
}

.news-single-thumbnail img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.news-single-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    line-height: 1.8;
}

.news-single-content p {
    margin-bottom: 1.5rem;
}

.news-single-content h2 {
    font-size: clamp(20px, 2.5vw, 28px);
    color: #333;
    margin: 2rem 0 1rem;
}

.news-single-content h3 {
    font-size: clamp(18px, 2vw, 24px);
    color: #333;
    margin: 1.5rem 0 1rem;
}

.news-single-content ul, 
.news-single-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.news-single-content li {
    margin-bottom: 0.5rem;
}

.news-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.news-single-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #14735b;
    padding: 1rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.news-single-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.nav-previous a,
.nav-next a {
    display: inline-block;
    background: #14735b;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #1b82d0;
}

.news-back-link {
    text-align: center;
}

.news-back-link a {
    display: inline-block;
    background: #333;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.news-back-link a:hover {
    background: #555;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 3rem 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    margin: 0 0.2rem;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.pagination .page-numbers.current {
    background: #14735b;
    color: white;
    border-color: #14735b;
}

.pagination .page-numbers:hover:not(.current) {
    background: #e9ecef;
    border-color: #14735b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-archive-section .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .news-archive-section .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-single-content {
        padding: 0 1rem;
    }
    
    .news-navigation {
        flex-direction: column;
        gap: 1rem;
    }
} 