.page-news {
    color: var(--text-main); /* #FFF3E6 */
    background-color: var(--bg-color); /* #0D0E12 */
    padding-top: 10px; /* Small top padding for first section */
}

/* Hero Section */
.page-news__hero-section {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding: 20px 0 40px;
    position: relative;
    overflow: hidden;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width if needed */
    margin-bottom: 30px; /* Space between image and text */
}

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

.page-news__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-news__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); /* #FF8C1A to #FFA53A */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers not supporting text-fill-color */
    letter-spacing: -0.02em;
}

.page-news__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-news__cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--button-gradient); /* linear-gradient(180deg, #FFA53A 0%, #D96800 100%) */
    color: var(--text-main); /* #FFF3E6 */
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Articles Section */
.page-news__articles-section {
    padding: 60px 0;
    background-color: var(--bg-color); /* #0D0E12 */
}

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

.page-news__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); /* #FF8C1A to #FFA53A */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
}

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

.page-news__article-card {
    background-color: var(--card-bg); /* #17191F */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color); /* #A84F0C */
}

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

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

.page-news__article-content {
    padding: 20px;
}

.page-news__article-date {
    font-size: 0.9rem;
    color: var(--secondary-color); /* #FFA53A */
    margin-bottom: 10px;
    display: block;
}

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

.page-news__article-link {
    color: var(--text-main); /* #FFF3E6 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__article-link:hover {
    color: var(--primary-color); /* #FF8C1A */
}

.page-news__article-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.page-news__read-more {
    color: var(--primary-color); /* #FF8C1A */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-news__read-more:hover {
    color: var(--secondary-color); /* #FFA53A */
}

.page-news__view-all {
    text-align: center;
    margin-top: 50px;
}

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button-gradient); /* linear-gradient(180deg, #FFA53A 0%, #D96800 100%) */
    color: var(--text-main); /* #FFF3E6 */
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-news__view-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-news__faq-section {
    padding: 60px 0 80px;
    background-color: var(--bg-color); /* #0D0E12 */
}

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

.page-news__faq-item {
    background-color: var(--card-bg); /* #17191F */
    border: 1px solid var(--border-color); /* #A84F0C */
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-news__faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    color: var(--text-main); /* #FFF3E6 */
    transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1); /* Slight highlight */
}

.page-news__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color); /* #FF8C1A */
    transition: transform 0.3s ease;
}

.page-news__faq-item.active .page-news__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-news__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-news__faq-item.active .page-news__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 0 25px 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-news__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-news__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

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

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

    .page-news__articles-section,
    .page-news__faq-section {
        padding: 40px 0;
    }

    .page-news__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

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

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

    .page-news__article-title {
        font-size: 1.2rem;
    }

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

    .page-news__view-all {
        margin-top: 30px;
    }

    .page-news__faq-question {
        font-size: 1.1rem;
        padding: 18px 20px;
    }

    .page-news__faq-question::after {
        right: 20px;
    }

    .page-news__faq-answer {
        padding: 0 20px 18px;
        font-size: 0.95rem;
    }

    /* Mobile image overflow prevention */
    .page-news__articles-section img,
    .page-news__hero-image {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure content area images are never too small */
.page-news__articles-section img,
.page-news__hero-image {
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
}

/* Define primary and secondary colors as CSS variables for gradients */
:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --primary-color-rgb: 255, 140, 26; /* RGB for primary color for rgba usage */
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --card-bg: #17191F;
    --bg-color: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}