:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-news {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-news__section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.page-news__dark-section {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

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

.page-news__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-news h3 {
    font-size: 1.8em;
    color: var(--color-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-news p {
    margin-bottom: 1em;
    color: var(--color-text-secondary);
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--color-deep-green);
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

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

.page-news__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
    color: var(--color-text-main);
}

.page-news__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 900;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-news__intro-description {
    font-size: 1.2em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-news__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-news__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

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

.page-news__btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-main);
    transform: translateY(-3px);
}

/* News Highlights Section */
.page-news__news-highlights {
    background-color: var(--color-background);
}

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

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

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

.page-news__card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    min-height: 200px;
}

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

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

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

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

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

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

.page-news__read-more {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

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

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

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

/* Guide Section */
.page-news__guide-section {
    background-color: var(--color-deep-green);
}

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

.page-news__guide-block {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.page-news__guide-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-height: 200px;
}

.page-news__guide-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

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

.page-news__guide-text {
    font-size: 1em;
    margin-bottom: 20px;
}

/* Platform Overview Section */
.page-news__platform-overview {
    background-color: var(--color-background);
}

.page-news__overview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-news__overview-image {
    flex: 1;
    min-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-height: 200px;
}

.page-news__overview-text {
    flex: 2;
    min-width: 400px;
    color: var(--color-text-secondary);
}

.page-news__overview-text h3 {
    color: var(--color-text-main);
    font-size: 1.6em;
}

/* FAQ Section */
.page-news__faq-section {
    background-color: var(--color-deep-green);
}

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

.page-news__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--color-text-secondary);
}

.page-news__faq-item[open] {
    background-color: var(--color-card-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    position: relative;
    list-style: none;
}

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

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

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

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

/* CTA Bottom Section */
.page-news__cta-bottom {
    background-color: var(--color-background);
    text-align: center;
}

.page-news__cta-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.page-news__cta-bottom .page-news__section-title {
    margin-bottom: 20px;
}

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


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__overview-image,
    .page-news__overview-text {
        min-width: unset;
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .page-news__section {
        padding: 40px 0;
    }

    .page-news__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

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

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

    .page-news__articles-grid,
    .page-news__guide-blocks {
        grid-template-columns: 1fr;
    }

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

    .page-news__cta-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-news__view-all-button-container {
      padding: 0 15px;
      box-sizing: border-box;
      width: 100%;
    }

    .page-news__hero-image-wrapper {
        max-height: 400px;
    }

    /* Mobile image and container responsiveness */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-height: 200px !important;
    }
    
    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__hero-section,
    .page-news__news-highlights,
    .page-news__guide-section,
    .page-news__platform-overview,
    .page-news__faq-section,
    .page-news__cta-bottom,
    .page-news__overview-content,
    .page-news__guide-block,
    .page-news__cta-bottom-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    .page-news__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px !important;
    }

    /* Button specific mobile adjustments */
    .page-news__cta-button,
    .page-news__btn-primary,
    .page-news__btn-secondary,
    .page-news a[class*="button"],
    .page-news a[class*="btn"] {
        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__cta-buttons,
    .page-news__button-group,
    .page-news__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }
    
    .page-news {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-news__section-title {
        font-size: 1.8em;
    }

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

    .page-news h3 {
        font-size: 1.4em;
    }
}

/* Ensure images in content area are not too small */
.page-news__overview-image,
.page-news__guide-image,
.page-news__card-image {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filter for images */
.page-news img {
    filter: none;
}