/* style/news.css */
.page-news {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f0f2f5;
}

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

/* Hero Section */
.page-news__hero {
    background: linear-gradient(135deg, #2C3E50 0%, #F39C12 100%);
    color: #ffffff;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-news__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-news__title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-news__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

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

.page-news__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

.page-news__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(50%);
}

/* Main Content Section */
.page-news__content-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-news__main-article {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-news__section-heading {
    font-size: 2.2em;
    color: #2C3E50;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
}

.page-news__sub-heading {
    font-size: 1.6em;
    color: #F39C12;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-news__main-article p {
    margin-bottom: 18px;
    color: #555;
    font-size: 1.05em;
}

.page-news__image-inline {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-news__button-secondary {
    display: inline-block;
    background-color: transparent;
    color: #F39C12;
    border: 2px solid #F39C12;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    font-size: 1.05em;
}

.page-news__button-secondary:hover {
    background-color: #F39C12;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-news__category-list,
.page-news__tips-list {
    list-style: disc inside;
    margin-bottom: 25px;
    padding-left: 20px;
}

.page-news__category-list li,
.page-news__tips-list li {
    margin-bottom: 12px;
    color: #555;
    font-size: 1.05em;
}

.page-news__cta-button--inline {
    margin-top: 25px;
    margin-bottom: 35px;
}

/* Latest Articles Section */
.page-news__latest-articles {
    padding: 60px 0;
    background-color: #eef1f5;
}

.page-news__section-description {
    text-align: center;
    margin-bottom: 45px;
    font-size: 1.15em;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-news__article-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    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 6px 20px rgba(0, 0, 0, 0.12);
}

.page-news__article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-news__article-card h3 {
    font-size: 1.4em;
    margin: 20px 25px 12px;
    color: #2C3E50;
    font-weight: bold;
}

.page-news__article-card h3 a {
    text-decoration: none;
    color: #2C3E50;
    transition: color 0.3s ease;
}

.page-news__article-card h3 a:hover {
    color: #F39C12;
}

.page-news__article-description {
    font-size: 1em;
    color: #666;
    margin: 0 25px 20px;
    flex-grow: 1;
}

.page-news__read-more {
    display: inline-block;
    color: #F39C12;
    text-decoration: none;
    font-weight: bold;
    margin: 0 25px 25px;
    transition: color 0.3s ease;
}

.page-news__read-more:hover {
    color: #e08e0b;
    text-decoration: underline;
}

/* Call to Action Section */
.page-news__call-to-action {
    background-color: #2C3E50;
    color: #ffffff;
    padding: 70px 0;
    text-align: center;
}

.page-news__cta-content {
    max-width: 900px;
}

.page-news__cta-content .page-news__section-heading {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 2.5em;
}

.page-news__cta-content p {
    font-size: 1.2em;
    margin-bottom: 35px;
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-news__title {
        font-size: 2.5em;
    }
    .page-news__subtitle {
        font-size: 1.2em;
    }
    .page-news__section-heading {
        font-size: 2em;
    }
    .page-news__sub-heading {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-news__hero {
        padding: 60px 15px;
    }
    .page-news__title {
        font-size: 2.2em;
    }
    .page-news__subtitle {
        font-size: 1.1em;
    }
    .page-news__section-heading {
        font-size: 1.8em;
    }
    .page-news__sub-heading {
        font-size: 1.3em;
    }
    .page-news__main-article {
        padding: 25px;
    }
    .page-news__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-news__cta-content .page-news__section-heading {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-news__hero {
        padding: 40px 10px;
    }
    .page-news__title {
        font-size: 1.8em;
    }
    .page-news__subtitle {
        font-size: 1em;
    }
    .page-news__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-news__section-heading {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    .page-news__sub-heading {
        font-size: 1.2em;
        margin-top: 25px;
    }
    .page-news__main-article {
        padding: 15px;
    }
    .page-news__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-news__article-card h3 {
        font-size: 1.2em;
    }
    .page-news__cta-content .page-news__section-heading {
        font-size: 1.6em;
    }
    .page-news__cta-content p {
        font-size: 1em;
    }
    .page-news__call-to-action {
        padding: 50px 0;
    }
}