.page-news {
    --bg-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    
    background-color: var(--bg-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Add some padding at the bottom */
}

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

.page-news__section-title {
    font-size: 2.5em;
    color: var(--gold-color); /* Use gold for main titles for emphasis */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
    padding-top: 40px;
}

.page-news__section-subtitle {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit image height */
    overflow: hidden;
    position: relative;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover the area without distortion */
}

.page-news__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly with image for visual appeal, but text is below */
    background-color: var(--card-bg-color); /* Give it a background for readability */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
}

.page-news__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* H1 font-size clamp */
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-news__description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

.page-news__cta-button {
    display: inline-block;
    background: var(--btn-gradient);
    color: var(--text-main-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-news__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Latest Articles Section */
.page-news__latest-articles-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

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

.page-news__article-card {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.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: 200px;
    object-fit: cover;
    display: block;
    filter: none !important;
}

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

.page-news__article-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.page-news__article-title a:hover {
    color: var(--gold-color);
}

.page-news__article-date {
    font-size: 0.9em;
    color: var(--text-secondary-color);
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 1em;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more-button {
    display: inline-block;
    color: var(--gold-color);
    text-decoration: none;
    font-weight: bold;
    border: 1px solid var(--gold-color);
    padding: 8px 15px;
    border-radius: 5px;
    align-self: flex-start;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news__read-more-button:hover {
    background-color: var(--gold-color);
    color: var(--bg-color);
}

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

.page-news__view-all-button {
    background: var(--deep-green-color);
    border: 1px solid var(--border-color);
}

.page-news__view-all-button:hover {
    background: var(--btn-gradient);
}

/* Features Section */
.page-news__features-section {
    padding: 60px 0;
    background-color: var(--deep-green-color);
}

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

.page-news__feature-item {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-news__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none !important; /* Ensure no filter is applied */
}

.page-news__feature-title {
    font-size: 1.5em;
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-news__feature-description {
    font-size: 1em;
    color: var(--text-secondary-color);
}

/* Promotions Section */
.page-news__promotions-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.page-news__promotion-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    background-color: var(--card-bg-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-news__promotion-image {
    flex: 1 1 400px;
    max-width: 50%;
    border-radius: 10px;
    display: block;
    object-fit: cover;
    filter: none !important; /* Ensure no filter is applied */
}

.page-news__promotion-text {
    flex: 1 1 400px;
    max-width: 50%;
    color: var(--text-secondary-color);
}

.page-news__promotion-text p {
    margin-bottom: 20px;
}

/* Gaming Experience Section */
.page-news__gaming-experience-section {
    padding: 60px 0;
    background-color: var(--deep-green-color);
}

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

.page-news__experience-item {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.page-news__experience-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    filter: none !important; /* Ensure no filter is applied */
}

.page-news__experience-title {
    font-size: 1.4em;
    color: var(--text-main-color);
    margin-bottom: 10px;
    padding: 15px 20px 0;
}

.page-news__experience-description {
    font-size: 1em;
    color: var(--text-secondary-color);
    padding: 0 20px 20px;
    flex-grow: 1;
}


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

.page-news__faq-list {
    margin-top: 40px;
}

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

.page-news__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-news__faq-item summary::-webkit-details-marker {
    display: none; /* Hide for Webkit browsers */
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
    background-color: var(--deep-green-color);
}

.page-news__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    color: var(--gold-color);
    margin-left: 15px;
}

.page-news__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: var(--text-secondary-color);
}

/* CTA Section */
.page-news__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--deep-green-color);
}

.page-news__cta-container {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    padding: 50px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-news__cta-title {
    font-size: 2.2em;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-news__cta-description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-news__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main-color);
}

.page-news__btn-secondary {
    background: var(--deep-green-color);
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

.page-news__btn-secondary:hover {
    background: var(--btn-gradient);
    border-color: transparent;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-news__hero-content {
        margin-top: -50px;
        padding: 30px 20px;
    }
    .page-news__main-title {
        font-size: 2.5em;
    }
    .page-news__promotion-image,
    .page-news__promotion-text {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .page-news__promotion-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-news__section-title {
        font-size: 2em;
        padding-top: 20px;
    }
    .page-news__section-subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-news__hero-content {
        margin-top: -30px;
        padding: 20px 15px;
    }
    .page-news__main-title {
        font-size: clamp(1.8em, 5vw, 2.2em);
    }
    .page-news__description {
        font-size: 1em;
    }
    .page-news__articles-grid,
    .page-news__features-grid,
    .page-news__experience-grid {
        grid-template-columns: 1fr;
    }

    .page-news__article-image {
        height: 180px;
    }
    .page-news__article-title {
        font-size: 1.2em;
    }
    .page-news__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-news__feature-title {
        font-size: 1.3em;
    }
    .page-news__promotion-image {
        max-width: 100%;
    }
    .page-news__cta-title {
        font-size: 1.8em;
    }
    .page-news__cta-description {
        font-size: 1em;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-news__cta-button {
        width: 100%;
        max-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__btn-primary,
    .page-news__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile image and video responsiveness */
    .page-news img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__section,
    .page-news__container,
    .page-news__hero-section,
    .page-news__latest-articles-section,
    .page-news__features-section,
    .page-news__promotions-section,
    .page-news__gaming-experience-section,
    .page-news__faq-section,
    .page-news__cta-section,
    .page-news__promotion-content,
    .page-news__article-card,
    .page-news__feature-item,
    .page-news__experience-item,
    .page-news__faq-item,
    .page-news__cta-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden; /* Prevent horizontal scroll */
    }
    .page-news__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-news video,
    .page-news__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__video-section,
    .page-news__video-container,
    .page-news__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-news__video-section {
        padding-top: 10px !important;
    }
}

/* Ensure images do not use filters */
.page-news img {
    filter: none !important;
}

/* Contrast fixes for safety */
.page-news__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-news__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}