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

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

/* Hero Section */
.page-news__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #f0f8ff;
    padding-top: 10px; /* Minimal top padding, shared.css handles body padding */
    padding-bottom: 40px;
}

.page-news__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news__hero-text-block {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.page-news__hero-title {
    font-size: clamp(2em, 4vw, 2.8em);
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-news__hero-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 25px;
}

.page-news__hero-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Section Title */
.page-news__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-news__section-title--light {
    color: #FFFFFF;
}

/* Latest News Section */
.page-news__latest-news-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-news__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-news__news-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px 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__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-news__news-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-news__news-card-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
}

.page-news__news-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news__news-card-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.page-news__news-card-meta {
    font-size: 0.9em;
    color: #888888;
    margin-bottom: 15px;
}

.page-news__news-card-excerpt {
    font-size: 1em;
    color: #555555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-news__read-more {
    color: #26A9E0;
    font-weight: bold;
    display: inline-block;
    margin-top: auto;
}

.page-news__button-container {
    text-align: center;
}

/* Categories Section */
.page-news__categories-section {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-news__category-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.3s ease, transform 0.2s ease;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-news__category-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.page-news__category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-news__category-title {
    font-size: 1.3em;
    font-weight: 600;
    padding: 0 15px;
}

/* FAQ Section */
.page-news__faq-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-news__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-news__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-news__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    outline: none;
    user-select: none;
}

.page-news__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-news__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
    transform: rotate(45deg);
}

.page-news__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #555555;
}

/* CTA Section */
.page-news__cta-section {
    padding: 60px 0;
    background-color: #f0f8ff;
    text-align: center;
}

.page-news__cta-title {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-news__cta-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease, color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-news__btn-primary:hover {
    background-color: #1a7bbd;
    transform: translateY(-2px);
}

.page-news__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-news__btn-secondary:hover {
    background-color: #e0f2ff;
    color: #1a7bbd;
    transform: translateY(-2px);
}

/* General Image Responsiveness */
.page-news img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-news {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-news__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-news__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-news__hero-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .page-news__hero-image {
        object-fit: contain !important; /* Ensure image is not cropped on mobile */
        height: auto !important;
        max-height: none !important;
        aspect-ratio: unset !important;
    }

    .page-news__hero-text-block {
        padding: 0 15px;
    }

    .page-news__hero-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
    }

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

    .page-news__hero-button {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    /* Section Title */
    .page-news__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    /* Latest News Section */
    .page-news__latest-news-section {
        padding: 40px 0;
    }

    .page-news__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news__news-card-image {
        height: 180px;
    }

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

    /* Categories Section */
    .page-news__categories-section {
        padding: 40px 0;
    }

    .page-news__categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news__category-image {
        height: 150px;
    }

    .page-news__category-title {
        font-size: 1.1em;
    }

    /* FAQ Section */
    .page-news__faq-section {
        padding: 40px 0;
    }

    .page-news__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }

    .page-news__faq-answer {
        padding: 0 15px 15px 15px;
        font-size: 0.95em;
    }

    /* CTA Section */
    .page-news__cta-section {
        padding: 40px 0;
    }

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

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

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Buttons */
    .page-news__btn-primary,
    .page-news__btn-secondary,
    .page-news a[class*="button"],
    .page-news a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button containers mobile adaptation */
    .page-news__cta-buttons,
    .page-news__button-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* All images must be responsive */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-news__section,
    .page-news__card,
    .page-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}