/* news.css */

/* News Hero */
.news-hero {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.35)), url('../images/hero-bg-index2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 80px;
    text-align: center;
}

.news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 61, 173, 0.25);
    background-blend-mode: overlay;
    z-index: 0;
}

.news-hero .container {
    position: relative;
    z-index: 1;
}

.news-hero-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.news-hero-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.6;
}

/* Simple News Section */
.simple-news-section {
    padding: 30px 0;
}

.simple-news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 15px;
}

.simple-news-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.simple-news-subtitle {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 700px;
}

/* Simple News List */
.simple-news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
}

.simple-news-item {
    display: flex;
    gap: 25px;
    padding: 28px 0;
    border-bottom: 1px solid var(--gray);
    transition: background-color 0.2s;
}

.simple-news-item:hover {
    background-color: rgba(10, 61, 173, 0.03);
}

.simple-news-img {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: var(--radius);
    overflow: hidden;
}

.simple-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.simple-news-item:hover .simple-news-img img {
    transform: scale(1.05);
}

.simple-news-content {
    flex: 1;
    min-width: 0;
}

.simple-news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.simple-news-date {
    color: var(--metal);
}

.simple-news-category {
    color: #0a3dad;
    font-weight: 600;
    background-color: rgba(10, 61, 173, 0.08);
    padding: 2px 12px;
    border-radius: 12px;
}

.simple-news-category a {
    color: inherit;
    text-decoration: none;
}

.simple-news-category a:hover {
    color: #07308a;
}

.simple-news-item h3.simple-news-title {
    margin-bottom: 10px;
    line-height: 1.4;
}

.simple-news-item h3.simple-news-title a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.simple-news-item h3.simple-news-title a:hover {
    color: #0a3dad;
}

.simple-news-excerpt {
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pagination */
.simple-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--gray);
}

.pagination-info {
    color: var(--metal);
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    gap: 8px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray);
    background-color: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    color: var(--secondary);
    transition: all 0.2s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(.disabled) {
    border-color: #0a3dad;
    color: #0a3dad;
}

.pagination-btn.active {
    background-color: #0a3dad;
    color: var(--white);
    border-color: #0a3dad;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #0a3dad;
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
    color: var(--white);
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    outline: none;
}

.newsletter-form .btn-primary {
    padding: 14px 30px;
    background-color: var(--white);
    color: #0a3dad;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    font-size: 1rem;
}

.newsletter-form .btn-primary:hover {
    background-color: #0830a0;
    color: var(--white);
}

.form-note {
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .news-hero {
        padding: 70px 0 50px;
    }
    
    .news-hero-title {
        font-size: 1.8rem;
    }
    
    .news-hero-subtitle {
        font-size: 1rem;
    }
    
    
    .simple-news-section {
        padding: 20px 0;
    }
    
    .simple-news-title {
        font-size: 2rem;
    }
    
    .simple-news-subtitle {
        font-size: 1rem;
    }
    
    .simple-news-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    
    .simple-news-img {
        width: 100%;
        height: 160px;
    }
    
    .simple-news-item h3.simple-news-title {
        font-size: 1.15rem;
    }
    
    .simple-news-excerpt {
        font-size: 0.9rem;
    }
    
    .simple-pagination {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-section {
        padding: 40px 0;
    }
    
    .newsletter-title {
        font-size: 1.6rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .simple-news-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .simple-news-category {
        font-size: 0.75rem;
        padding: 2px 10px;
    }
    
    .simple-news-category a {
        white-space: nowrap;
    }
}
