/* News Banner */
.news-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.news-banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.news-banner p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.news-banner .breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.news-banner .breadcrumb a {
    color: var(--white);
    transition: var(--transition);
}

.news-banner .breadcrumb a:hover {
    color: var(--secondary-color);
}

.news-banner .divider {
    margin: 0 10px;
    opacity: 0.7;
}

/* News Categories */
.news-categories {
    padding: 30px 0;
    background-color: var(--gray);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--white);
    color: var(--dark-gray);
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* News List */
.news-list-section {
    padding: 60px 0;
}

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

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 2;
}

.news-date .day {
    font-size: 18px;
    font-weight: 700;
}

.news-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.news-meta .category {
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.news-meta .company {
    background-color: rgba(39, 112, 184, 0.1);
    color: var(--primary-color);
}

.news-meta .industry {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.news-meta .technology {
    background-color: rgba(233, 30, 99, 0.1);
    color: #E91E63;
}

.news-meta .events {
    background-color: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.news-content h2 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content h2 a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
}

.news-content h2 a:hover {
    color: var(--primary-color);
}

.news-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.read-more:hover {
    color: #2a7ac7;
    gap: 8px;
}

/* News Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-nav,
.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: var(--white);
    color: var(--dark-gray);
    border: 1px solid #ddd;
    transition: var(--transition);
}

.page-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-number.active,
.page-number:hover,
.page-nav:not(.disabled):hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.newsletter-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.newsletter-content p {
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    flex-grow: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 0 30px;
    background-color: var(--secondary-color);
    color: var(--dark-gray);
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #ffea00;
}

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

@media (max-width: 768px) {
    .news-banner {
        padding: 80px 0 40px;
    }
    
    .news-banner h1 {
        font-size: 32px;
    }
    
    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 4px;
    }
    
    .newsletter-form button {
        margin-top: 10px;
    }
}