.page-news {
    font-family: 'Arial', sans-serif;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: #F4F7FB; /* Background */
}

.page-news__hero-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

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

.page-news__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem); /* min 2rem, preferred 5vw, max 2.8rem */
    font-weight: 700;
    line-height: 1.2;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
}

.page-news__hero-description {
    font-size: 1.1rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
}

.page-news__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 15px;
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 180px; /* Ensure button minimum width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    border: none;
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-news__btn-secondary {
    background-color: #ffffff; /* Card BG */
    color: #2F6BFF; /* Primary color */
    border: 2px solid #2F6BFF; /* Primary color */
}

.page-news__btn-secondary:hover {
    background-color: #E0EFFF; /* Lighter blue on hover */
    color: #2F6BFF;
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.2);
}

/* General Section Styles */
.page-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-news__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-news__section-description {
    font-size: 1.1rem;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Latest Updates Section */
.page-news__latest-updates {
    background-color: #F4F7FB; /* Background */
    padding-bottom: 60px;
}

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

.page-news__news-card {
    background-color: #ffffff; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    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 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news__card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

.page-news__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news__card-title a {
    color: #1F2D3D; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: #2F6BFF; /* Primary color */
}

.page-news__card-date {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 15px;
}

.page-news__card-excerpt {
    font-size: 1rem;
    color: #444444;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more-link {
    display: inline-flex;
    align-items: center;
    color: #2F6BFF; /* Primary color */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
    color: #4A8BFF; /* Lighter primary color */
}

.page-news__arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.page-news__read-more-link:hover .page-news__arrow {
    transform: translateX(5px);
}

.page-news__view-all-button-container {
    text-align: center;
    margin-top: 30px;
}

/* In-depth Analysis Section */
.page-news__in-depth-analysis {
    background-color: #2F6BFF; /* Primary color - Dark background */
    color: #ffffff; /* White text for dark background */
    padding: 60px 20px;
}

.page-news__in-depth-analysis .page-news__section-title,
.page-news__in-depth-analysis .page-news__section-description {
    color: #ffffff; /* White text for dark background */
}

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

.page-news__feature-item {
    text-align: center;
}

.page-news__feature-icon {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-news__feature-text {
    font-size: 1rem;
    color: #f0f0f0;
}

/* FAQ Section */
.page-news__faq-section {
    background-color: #F4F7FB; /* Background */
    padding-bottom: 60px;
}

.page-news__faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.page-news__faq-item {
    background-color: #ffffff; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    cursor: pointer;
    background-color: #EBF2FF; /* Lighter shade of primary for summary */
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker */
}

.page-news__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-news__faq-question:hover {
    background-color: #D6E2FF; /* Border color */
}

.page-news__faq-qtext {
    flex-grow: 1;
}

.page-news__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #2F6BFF; /* Primary color */
}

.page-news__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #444444;
    border-top: 1px solid #D6E2FF; /* Border */
}

.page-news__faq-answer p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
    .page-news__section-title {
        font-size: 2rem;
    }
    .page-news__news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-news__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
        padding-bottom: 30px;
    }

    .page-news__main-title {
        font-size: clamp(1.8rem, 6vw, 2rem) !important; /* Adjusted for smaller screens */
        margin-bottom: 15px;
    }

    .page-news__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

    .page-news__btn-primary,
    .page-news__btn-secondary {
        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;
    }

    .page-news__container {
        padding: 0 15px;
    }

    .page-news__section-title {
        font-size: 1.8rem;
        padding-top: 30px;
    }

    .page-news__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

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

    .page-news__card-image {
        height: 180px;
    }

    .page-news__card-title {
        font-size: 1.1rem;
    }

    .page-news__card-excerpt {
        font-size: 0.95rem;
    }

    .page-news__in-depth-analysis {
        padding: 40px 15px;
    }

    .page-news__feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-news__feature-title {
        font-size: 1.3rem;
    }

    .page-news__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-news__faq-answer {
        padding: 10px 20px 15px;
    }

    /* Mobile image responsiveness */
    .page-news img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__hero-section,
    .page-news__latest-updates,
    .page-news__in-depth-analysis,
    .page-news__faq-section,
    .page-news__cta-buttons,
    .page-news__news-grid,
    .page-news__feature-grid,
    .page-news__faq-list {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Specific padding for sections that might have it */
    .page-news__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* Ensure no section padding overrides container padding */
    .page-news__latest-updates .page-news__container,
    .page-news__in-depth-analysis .page-news__container,
    .page-news__faq-section .page-news__container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}