:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main: #333333;
    --card-bg: #FFFFFF;
    --page-bg: #F5F7FA;
    --border-color: #E0E0E0;
    --header-offset: 70px; /* Default value, assumed to be set in shared.css body padding-top */
}

.page-news {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for light background */
    background-color: var(--page-bg); /* Page background */
    line-height: 1.6;
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Force image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 40px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-news__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-news__main-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* No fixed font-size, rely on clamp if needed, otherwise let browser/shared.css handle */
}

.page-news__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555;
}

/* General Section Styling */
.page-news__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-news__section-title {
    text-align: center;
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* News Grid */
.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: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    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 16px rgba(0, 0, 0, 0.1);
}

.page-news__card-image {
    width: 100%;
    height: 200px; /* 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.4em;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

.page-news__card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: var(--secondary-color);
}

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

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

.page-news__card-excerpt a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-news__card-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__card-link:hover {
    color: var(--primary-color);
}

.page-news__view-all {
    text-align: center;
}


/* Why Follow Section */
.page-news__why-follow {
    background-color: var(--primary-color); /* Dark background */
    color: #ffffff; /* Light text for dark background */
}

.page-news__why-follow .page-news__section-title,
.page-news__why-follow .page-news__section-description {
    color: #ffffff; /* Ensure titles/descriptions are white */
}

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

.page-news__benefit-item {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white background */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-news__benefit-icon {
    width: 100%; /* Max width for image */
    height: auto;
    max-height: 200px; /* Limit height for icons */
    object-fit: contain; /* Ensure image fits */
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-news__benefit-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-news__benefit-text {
    font-size: 1em;
    color: #f0f0f0;
}

.page-news__benefit-text a {
    color: #fff;
    text-decoration: underline;
}

/* How to Access Section */
.page-news__access-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-news__method-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-news__method-title {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-news__method-text {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__method-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.page-news__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-color);
    border-radius: 8px;
}

.page-news__faq-item[open] .page-news__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

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

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

.page-news__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    color: var(--primary-color);
}

.page-news__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: #555;
    border-top: 1px solid var(--border-color);
}

.page-news__faq-answer p {
    margin-bottom: 10px;
}

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

.page-news__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Call to Action Buttons */
.page-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure button adapts to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-news__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    border: none;
}

.page-news__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-news__btn-secondary {
    background-color: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-news__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Highlight keyword style */
.highlight-keyword {
    color: var(--primary-color);
    font-weight: bold;
}

/* General image styling to prevent small icons */
.page-news img:not(.page-news__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news__hero-content {
        padding: 0 30px;
    }
    .page-news__main-title {
        font-size: clamp(2em, 5vw, 3em); /* Example clamp for h1, not fixed */
    }
    .page-news__section-title {
        font-size: 1.8em;
    }
    .page-news__news-grid,
    .page-news__benefits-grid,
    .page-news__access-methods {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .page-news__hero-section {
        padding: 10px 0 30px 0;
    }

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

    .page-news__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust h1 for mobile */
    }

    .page-news__intro-text {
        font-size: 1em;
    }

    .page-news__section {
        padding: 40px 15px;
    }

    .page-news__section-title {
        font-size: 1.6em;
        margin-bottom: 15px;
    }

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

    /* Mobile image responsiveness */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Content area image CSS size lower bound enforcement */
    .page-news__news-card .page-news__card-image,
    .page-news__benefit-icon {
        min-width: 200px !important;
        min-height: 200px !important;
        width: 100% !important; /* Ensure it respects container width */
        height: auto !important; /* Maintain aspect ratio */
    }

    /* Mobile container padding for images/videos/buttons */
    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__hero-section,
    .page-news__news-grid,
    .page-news__benefits-grid,
    .page-news__access-methods,
    .page-news__faq-list,
    .page-news__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Fixed top padding for video section (if present) */
    .page-news__video-section {
        padding-top: 10px !important; /* body padding-top is handled by shared.css */
    }

    /* Mobile button responsiveness */
    .page-news__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-news__news-grid,
    .page-news__benefits-grid,
    .page-news__access-methods {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .page-news__card-image {
        height: auto; /* Allow image height to be dynamic */
    }

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

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

@media (max-width: 480px) {
    .page-news__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-news__section-title {
        font-size: 1.4em;
    }
}