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

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

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

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

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

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

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

.page-news__card {
    background-color: var(--background-color-card);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.page-news__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background 0.3s ease, transform 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__cta-button:hover {
    background: var(--button-gradient-hover);
    transform: translateY(-2px);
}

.page-news__cta-button--secondary {
    background: none;
    border: 2px solid var(--glow-color);
    color: var(--glow-color);
}

.page-news__cta-button--secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    color: #ffffff;
}

/* Hero Section */
.page-news__hero-section {
    padding-top: 10px;
    text-align: center;
}

.page-news__hero-section .page-news__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-news__main-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

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

.page-news__main-title {
    font-size: 3.2em;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
}

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

/* Latest Articles Section */
.page-news__latest-articles {
    background-color: var(--background-color-primary);
}

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

.page-news__article-card {
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.page-news__card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-news__card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.page-news__card-title {
    font-size: 1.5em;
    color: var(--text-main-color);
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: bold;
}

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

.page-news__card-date {
    font-size: 0.85em;
    color: var(--text-secondary-color);
    opacity: 0.7;
}

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

/* Categories Section */
.page-news__categories {
    background-color: var(--deep-green-color);
}

.page-news__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.page-news__category-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    min-height: 180px;
}

.page-news__category-icon {
    width: 100px; /* Display size */
    height: 100px; /* Display size */
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 2px solid var(--glow-color);
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-news__category-title {
    font-size: 1.3em;
    color: var(--text-main-color);
    font-weight: bold;
    line-height: 1.3;
}

/* Download CTA Section */
.page-news__download-cta {
    background-color: var(--background-color-primary);
}

.page-news__download-box {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
}

.page-news__download-image {
    flex-shrink: 0;
    width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.page-news__download-content {
    flex-grow: 1;
    text-align: left;
}

.page-news__download-content .page-news__section-title {
    text-align: left;
    font-size: 2em;
}

.page-news__download-content .page-news__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-news__button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-news__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.page-news__faq-item {
    overflow: hidden;
    padding: 0;
}

.page-news__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--text-main-color);
    background-color: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
}

.page-news__faq-item summary:hover {
    background-color: rgba(0, 0, 0, 0.25);
}

.page-news__faq-item summary::-webkit-details-marker, 
.page-news__faq-item summary::marker {
    display: none;
}

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

.page-news__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
    transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
    transform: rotate(45deg);
}

.page-news__faq-answer {
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-secondary-color);
    font-size: 1em;
}

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

.page-news__link-btn {
    display: inline-block;
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

.page-news__link-btn:hover {
    text-decoration: underline;
}

/* Global image and container responsiveness */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-news__section,
.page-news__card,
.page-news__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-news {
        font-size: 15px;
    }

    .page-news__container {
        padding: 15px;
    }

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

    .page-news__main-title {
        font-size: 2.2em;
        line-height: 1.3;
    }

    .page-news__description {
        font-size: 1em;
    }

    /* Hero Section - Mobile */
    .page-news__hero-section {
        padding-top: 10px !important;
    }

    .page-news__main-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
        max-height: none !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Latest Articles Section - Mobile */
    .page-news__articles-grid {
        grid-template-columns: 1fr;
    }

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

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

    /* Categories Section - Mobile */
    .page-news__category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .page-news__category-card {
        padding: 15px;
        min-height: 150px;
    }

    .page-news__category-icon {
        width: 80px; /* Adjusted display size for mobile */
        height: 80px; /* Adjusted display size for mobile */
        margin-bottom: 10px;
    }

    .page-news__category-title {
        font-size: 1.1em;
    }

    /* Download CTA Section - Mobile */
    .page-news__download-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .page-news__download-image {
        width: 100% !important;
        height: auto !important;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .page-news__download-content .page-news__section-title,
    .page-news__download-content .page-news__section-description {
        text-align: center;
    }

    .page-news__button-group {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    /* Button Responsiveness - Mobile */
    .page-news__cta-button,
    .page-news__cta-button--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__button-group,
    .page-news__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* FAQ Section - Mobile */
    .page-news__faq-item summary {
        font-size: 1em;
        padding: 12px 15px;
    }

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

    /* General image and container responsiveness for mobile */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-news__section,
    .page-news__card,
    .page-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__section:not(.page-news__hero-section) {
        padding: 20px 0;
    }
}