/* style/news.css */
.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f8f9fa;
}

.page-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-news__hero-section {
    background: linear-gradient(135deg, #007bff, #ffc107);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.page-news__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-news__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f8ff;
}

.page-news__hero-link {
    color: #f0f8ff;
    text-decoration: underline;
    font-weight: bold;
}

.page-news__hero-button {
    display: inline-block;
    background-color: #ffc107;
    color: #007bff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__hero-button:hover {
    background-color: #e0a800;
    color: #0056b3;
}

.page-news__intro-section, .page-news__articles-section, .page-news__featured-news, .page-news__more-news, .page-news__cta-section {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.page-news__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-news__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #555555;
}

.page-news__text-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-news__text-link:hover {
    text-decoration: underline;
}

.page-news__highlight {
    color: #007bff;
    font-weight: bold;
}

.page-news__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-news__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news__article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news__article-card {
    background-color: #f0f8ff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.page-news__article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

.page-news__card-title {
    font-size: 1.5em;
    margin: 20px 20px 10px;
    color: #007bff;
    min-height: 70px; /* Ensure consistent height */
}

.page-news__card-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-news__card-link:hover {
    text-decoration: underline;
}

.page-news__card-text-link {
    color: #007bff;
    text-decoration: none;
    font-weight: normal;
}

.page-news__card-text-link:hover {
    text-decoration: underline;
}

.page-news__card-description {
    font-size: 0.95em;
    color: #666666;
    margin: 0 20px 20px;
    flex-grow: 1;
}

.page-news__card-button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    margin: 0 20px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.page-news__card-button:hover {
    background-color: #0056b3;
}

.page-news__featured-article {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    background-color: #f0f8ff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-news__featured-article:nth-child(even) {
    flex-direction: row-reverse;
}

.page-news__article-image {
    width: 40%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.page-news__featured-article:nth-child(even) .page-news__article-image {
    border-radius: 0 10px 10px 0;
}

.page-news__article-content {
    width: 60%;
    padding: 30px;
}

.page-news__article-heading {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-news__article-text {
    font-size: 1.05em;
    color: #555555;
    margin-bottom: 15px;
    text-align: justify;
}

.page-news__button {
    display: inline-block;
    background-color: #ffc107;
    color: #007bff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 15px;
}

.page-news__button:hover {
    background-color: #e0a800;
    color: #0056b3;
}

.page-news__news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-news__list-item {
    background-color: #f0f8ff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-news__list-title {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-news__list-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-news__list-link:hover {
    text-decoration: underline;
}

.page-news__list-description {
    color: #666666;
    font-size: 1em;
    margin-bottom: 15px;
}

.page-news__list-button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-news__list-button:hover {
    background-color: #0056b3;
}

.page-news__cta-section {
    text-align: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    padding: 80px 0;
    border-radius: 0;
    box-shadow: none;
}

.page-news__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-news__cta-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #f0f8ff;
}

.page-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button--primary {
    background-color: #ffc107;
    color: #007bff;
}

.page-news__cta-button--primary:hover {
    background-color: #e0a800;
    color: #0056b3;
    transform: translateY(-3px);
}

.page-news__cta-button--secondary {
    background-color: #ffffff;
    color: #007bff;
    border: 2px solid #007bff;
}

.page-news__cta-button--secondary:hover {
    background-color: #007bff;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-news__hero-title {
        font-size: 2.8em;
    }
    .page-news__section-title {
        font-size: 2em;
    }
    .page-news__featured-article {
        flex-direction: column;
    }
    .page-news__featured-article:nth-child(even) {
        flex-direction: column;
    }
    .page-news__article-image,
    .page-news__article-content {
        width: 100%;
        border-radius: 10px;
    }
    .page-news__featured-article:nth-child(even) .page-news__article-image {
        border-radius: 10px;
    }
    .page-news__article-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .page-news__hero-title {
        font-size: 2.2em;
    }
    .page-news__hero-description {
        font-size: 1em;
    }
    .page-news__section-title {
        font-size: 1.8em;
    }
    .page-news__cta-title {
        font-size: 2.5em;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-news__cta-button {
        width: 80%;
        margin: 0 auto;
    }
    .page-news__article-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-news__hero-title {
        font-size: 1.8em;
    }
    .page-news__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-news__section-title {
        font-size: 1.5em;
    }
    .page-news__cta-title {
        font-size: 2em;
    }
    .page-news__paragraph, .page-news__article-text, .page-news__list-description {
        font-size: 0.95em;
    }
}