.page-news {
    background-color: #0D0E12;
    color: #FFF3E6;
    font-family: Arial, sans-serif;
}

.page-news__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-news__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFF3E6;
    margin-bottom: 15px;
    /* Using clamp for responsive font-size if absolutely necessary, otherwise rely on font-weight/line-height */
    /* font-size: clamp(2em, 4vw, 3.5em); */
}

.page-news__intro-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-news__cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-news__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-news__latest-news-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-news__section-title {
    font-size: 2.2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #FFF3E6;
    /* Optional gradient text for important titles */
    /* background: linear-gradient(90deg, #FFB04D, #D96800); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
}

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

.page-news__news-card {
    background-color: #17191F;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #A84F0C;
}

.page-news__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.page-news__card-content {
    padding: 25px;
}

.page-news__card-date {
    font-size: 0.9em;
    color: #FFA53A;
    margin-bottom: 10px;
    display: block;
}

.page-news__card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-news__card-title a {
    color: #FFF3E6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: #FFA53A;
}

.page-news__card-excerpt {
    font-size: 1em;
    line-height: 1.6;
    color: #FFF3E6;
    margin-bottom: 20px;
}

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

.page-news__read-more:hover {
    color: #FFB04D;
}

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

.page-news__view-all-button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #FFF3E6;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-news__view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-news__hero-image {
        height: auto;
        max-height: 400px;
    }

    .page-news__main-title {
        font-size: 2em; /* Adjusted for mobile, still not fixed */
    }

    .page-news__intro-description {
        font-size: 0.95em;
    }

    .page-news__section-title {
        font-size: 1.8em;
    }

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

    .page-news__card-image {
        height: 200px; /* Ensure minimum height for cards on mobile */
    }

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

    .page-news__card-excerpt {
        font-size: 0.9em;
    }

    /* Critical: Prevent content overflow on mobile */
    .page-news img {
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-news__hero-content {
        padding: 0 15px;
    }

    .page-news__main-title {
        font-size: 1.8em;
    }

    .page-news__section-title {
        font-size: 1.6em;
    }

    .page-news__latest-news-section {
        padding: 40px 15px;
    }

    .page-news__card-content {
        padding: 20px;
    }
    .page-news__card-image {
        height: 200px; /* Ensure minimum height for cards on mobile */
    }
}