/* style/news.css */

.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

.page-news__hero-section {
    background: linear-gradient(135deg, #007bff, #4da3ff);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-news__hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 70%);
    opacity: 0.3;
    z-index: 0;
}

.page-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.page-news__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
    position: relative;
    z-index: 1;
}

.page-news__hero-description a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.page-news__hero-description a:hover {
    text-decoration: underline;
}

.page-news__cta-button {
    display: inline-block;
    background-color: #ffc107;
    color: #0056b3;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

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

.page-news__content-area {
    padding: 60px 0;
}

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

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

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

.page-news__article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-news__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news__article-title {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
    color: #007bff;
    font-weight: bold;
}

.page-news__article-title a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__article-title a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.page-news__sub-title {
    font-size: 1.4em;
    color: #007bff;
    margin-top: 25px;
    margin-bottom: 10px;
    border-left: 4px solid #ffc107;
    padding-left: 10px;
}

.page-news__article-text {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
}

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

.page-news__article-text a:hover {
    text-decoration: underline;
}

.page-news__button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: auto; /* Push button to the bottom */
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

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

.page-news__announcement-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-news__announcement-item {
    background-color: #f0f8ff;
    border-left: 5px solid #007bff;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.page-news__announcement-item-title {
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 5px;
    color: #007bff;
}

.page-news__announcement-item-title a {
    color: #007bff;
    text-decoration: none;
}

.page-news__announcement-item-title a:hover {
    text-decoration: underline;
}

.page-news__announcement-item-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 10px;
}

.page-news__why-choose-us {
    background-color: #e9f7ff;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
}

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

.page-news__section-description {
    font-size: 1.1em;
    color: #444;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-news__section-description a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-news__section-description a:hover {
    text-decoration: underline;
}

.page-news__feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-news__feature-item {
    background-color: #fff;
    border: 1px solid #007bff;
    border-radius: 8px;
    padding: 20px 25px;
    flex: 1 1 calc(33% - 40px);
    min-width: 280px;
    max-width: 350px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-weight: bold;
    color: #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-news__feature-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-news__feature-item a:hover {
    text-decoration: underline;
}

.page-news__feature-item:hover {
    transform: translateY(-5px);
    border-color: #ffc107;
}

.page-news__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-news__final-cta {
    background-color: #0056b3;
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.page-news__final-cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #fff;
    font-weight: bold;
}

.page-news__final-cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-news__final-cta-description a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.page-news__final-cta-description a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-news__hero-title {
        font-size: 2.8em;
    }

    .page-news__section-title {
        font-size: 2em;
    }

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

    .page-news__feature-item {
        flex: 1 1 calc(50% - 20px);
    }

    .page-news__final-cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding: 60px 0;
    }

    .page-news__hero-title {
        font-size: 2.2em;
    }

    .page-news__hero-description {
        font-size: 1em;
    }

    .page-news__content-area {
        padding: 40px 0;
    }

    .page-news__article-card {
        margin-bottom: 20px;
    }

    .page-news__article-grid {
        grid-template-columns: 1fr;
    }

    .page-news__why-choose-us {
        padding: 30px;
    }

    .page-news__section-title {
        font-size: 1.8em;
    }

    .page-news__feature-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .page-news__final-cta-title {
        font-size: 1.8em;
    }

    .page-news__final-cta-description {
        font-size: 1em;
    }

    .page-news__cta-button--large {
        padding: 15px 25px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-news__hero-title {
        font-size: 1.8em;
    }

    .page-news__hero-description {
        font-size: 0.9em;
    }

    .page-news__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-news__article-title {
        font-size: 1.5em;
    }

    .page-news__sub-title {
        font-size: 1.2em;
    }

    .page-news__section-title {
        font-size: 1.6em;
    }

    .page-news__final-cta-title {
        font-size: 1.6em;
    }
}