/* News Section Styles */
.news-section {
    padding: 80px 20px;
    background-color: var(--background-color);
    height: auto;
    min-height: auto;
    display: flex;
    align-items: center;
}

.news-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.news-content h2 {
    text-align: left;
    font-size: var(--h2-font-size);
    margin-bottom: 60px;
    color: var(--h2-text-color);
}

.news-content h2::after {
    content: '';
    display: block;
    width: 460px;
    height: 3px;
    background-color: var(--header-link-color);
    margin-top: 10px;
}

.news-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Main News Styles */
.main-news {
    height: 625px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.main-news:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.main-news .news-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.main-news .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-news:hover .news-image img {
    transform: scale(1.05);
}

.main-news .news-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-category {
    display: inline-block;
    width: fit-content;
    background-color: var(--header-link-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-news h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--h2-text-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.main-news .news-excerpt {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #888;
}

.read-more-btn {
    display: inline-block;
    background-color: var(--header-link-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    width: auto;
    margin-right: auto;
}

.read-more-btn:hover {
    background-color: var(--button-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(209, 162, 62, 0.4);
}

/* Side News Styles */
.side-news {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 625px;
}

.news-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.news-item .news-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.news-item .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-item .news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item .news-category {
    font-size: 0.7rem;
    padding: 4px 8px;
    margin-bottom: 10px;
}

.news-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--h2-text-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-item .news-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item .news-meta {
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.read-more-link {
    color: var(--header-link-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--button-hover-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-news {
        height: auto;
    }
    
    .main-news .news-image {
        height: 250px;
    }
    
    .main-news h3 {
        font-size: 1.5rem;
    }
    
    .side-news {
        flex-direction: row;
        gap: 20px;
        height: auto;
    }
    
    .news-item .news-image {
        height: 120px;
    }
    
    .news-content h2::after {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 600px) {
    .side-news {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }
    
    .main-news {
        height: auto;
    }
    
    .main-news .news-image {
        height: 200px;
    }
    
    .main-news .news-content {
        padding: 20px;
    }
    
    .main-news h3 {
        font-size: 1.3rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .news-item .news-image {
        height: 100px;
    }
    
    .news-item .news-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 60px 15px;
    }
    
    .main-news h3 {
        font-size: 1.2rem;
    }
    
    .main-news .news-excerpt {
        font-size: 0.9rem;
    }
}
