/* General Styling for page-news */
.page-news {
    background-color: #08160F; /* Background color from custom palette */
    color: #F2FFF6; /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

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

.page-news__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* For mobile overflow safety */
}

.page-news__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #F2C14E; /* Gold color for titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news__section-description {
    font-size: 18px;
    color: #A7D9B8; /* Secondary text color */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-news__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Use cover to fill space */
    max-height: 600px; /* Limit height for aesthetic */
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-news__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px 60px;
}

.page-news__main-title {
    font-size: clamp(30px, 4vw, 52px); /* Responsive font size with clamp */
    font-weight: 800;
    color: #F2C14E; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__hero-description {
    font-size: 20px;
    color: #F2FFF6; /* Main text color */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* For mobile responsiveness */
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding/border in element's total width/height */
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* White-ish text for dark button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-news__btn-secondary {
    background: transparent;
    color: #2AD16F; /* Green text for transparent button */
    border: 2px solid #2E7A4E; /* Border color from palette */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    color: #F2FFF6; /* White-ish text on hover */
    border-color: #2AD16F;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Article Grid */
.page-news__articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-news__article-card {
    background-color: #11271B; /* Card BG from custom palette */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

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

.page-news__article-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__article-title a {
    color: #F2C14E; /* Gold for article titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__article-title a:hover {
    color: #57E38D; /* Glow color on hover */
}

.page-news__article-meta {
    font-size: 14px;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 16px;
    color: #F2FFF6; /* Main text color */
    margin-bottom: 20px;
    flex-grow: 1; /* Allow excerpt to take available space */
}

.page-news__read-more {
    display: inline-block;
    color: #2AD16F; /* Green for read more link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-top: auto; /* Push to bottom */
}

.page-news__read-more:hover {
    color: #57E38D; /* Glow color on hover */
}

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

/* Feature List (Highlights) */
.page-news__feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-news__feature-item {
    background-color: #11271B; /* Card BG from custom palette */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.page-news__feature-title {
    font-size: 24px;
    font-weight: bold;
    color: #F2C14E; /* Gold for feature titles */
    margin-bottom: 15px;
}

.page-news__feature-text {
    font-size: 16px;
    color: #F2FFF6; /* Main text color */
}

/* Strategy Guide */
.page-news__strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-news__strategy-item {
    background-color: #11271B; /* Card BG from custom palette */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.page-news__strategy-title {
    font-size: 24px;
    font-weight: bold;
    color: #F2C14E; /* Gold for strategy titles */
    margin-bottom: 15px;
}

.page-news__strategy-text {
    font-size: 16px;
    color: #F2FFF6; /* Main text color */
}

.page-news__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-news__faq-section {
    background-color: #0A4B2C; /* Deep Green for FAQ background */
    padding: 80px 0;
}

.page-news__faq-section .page-news__section-title {
    color: #F2FFF6; /* White-ish text for dark background */
}

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

details.page-news__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #2E7A4E; /* Border color from palette */
    overflow: hidden;
    background: #11271B; /* Card BG for FAQ item */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

details.page-news__faq-item summary.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
    display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
    background: rgba(46, 122, 78, 0.3); /* Lighter green hover */
}

.page-news__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #F2FFF6; /* Main text color */
}

.page-news__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #57E38D; /* Glow color for toggle */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    line-height: 1;
}

details.page-news__faq-item .page-news__faq-answer {
    padding: 0 25px 20px;
    background: rgba(17, 39, 27, 0.8); /* Slightly transparent Card BG for answer */
    border-top: 1px solid #1E3A2A; /* Divider color */
    border-radius: 0 0 8px 8px;
}

.page-news__faq-answer p {
    font-size: 16px;
    color: #A7D9B8; /* Secondary text color for answers */
    margin: 0;
}

/* Conclusion Section */
.page-news__conclusion {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-news__cta-final {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news__section-title {
        font-size: 32px;
    }
    .page-news__section-description {
        font-size: 16px;
    }
    .page-news__hero-image {
        max-height: 500px;
    }
    .page-news__main-title {
        font-size: clamp(28px, 4.5vw, 48px);
    }
    .page-news__hero-description {
        font-size: 18px;
    }
    .page-news__articles-grid,
    .page-news__feature-list,
    .page-news__strategy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-news__article-title {
        font-size: 20px;
    }
    .page-news__feature-title,
    .page-news__strategy-title {
        font-size: 22px;
    }
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px 20px;
    }
    .page-news__faq-qtext {
        font-size: 17px;
    }
    .page-news__faq-toggle {
        font-size: 26px;
        width: 28px;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 20px 18px;
    }
}

@media (max-width: 768px) {
    /* Banner __hero-section */
    .page-news__hero-section {
        padding-top: 10px; /* Consistent small top padding */
    }
    .page-news__hero-image {
        max-height: 350px;
        object-fit: contain; /* Ensure image fits without cropping too much */
        margin-bottom: 20px;
    }
    .page-news__hero-content {
        padding-bottom: 40px;
    }
    .page-news__main-title {
        font-size: clamp(24px, 7vw, 36px); /* Smaller on mobile, still responsive */
        margin-bottom: 15px;
    }
    .page-news__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-news__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .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__hero-cta .page-news__btn-primary,
    .page-news__hero-cta .page-news__btn-secondary {
        max-width: 300px; /* Limit button width for better appearance */
        margin-left: auto;
        margin-right: auto;
    }
    .page-news__section {
        padding: 40px 0;
    }
    .page-news__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-news__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-news__articles-grid,
    .page-news__feature-list,
    .page-news__strategy-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
    }
    .page-news__article-card {
        max-width: 100%;
        margin: 0 auto;
    }
    .page-news__article-image {
        height: 180px; /* Smaller article image height */
    }
    .page-news__article-title {
        font-size: 18px;
    }
    .page-news__article-excerpt {
        font-size: 15px;
    }
    .page-news__feature-title,
    .page-news__strategy-title {
        font-size: 20px;
    }
    .page-news__faq-section {
        padding: 50px 0;
    }
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px;
    }
    .page-news__faq-qtext {
        font-size: 16px;
    }
    .page-news__faq-toggle {
        font-size: 24px;
        width: 24px;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 15px 15px;
    }
    .page-news__faq-answer p {
        font-size: 15px;
    }
    .page-news__cta-final {
        flex-direction: column;
        gap: 15px;
    }
    .page-news__cta-final .page-news__btn-primary,
    .page-news__cta-final .page-news__btn-secondary {
        max-width: 300px; /* Limit button width for better appearance */
        margin-left: auto;
        margin-right: auto;
    }

    /* Mobile image adaptation - must use !important */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__article-card,
    .page-news__feature-item,
    .page-news__strategy-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Button containers for mobile */
    .page-news__hero-cta,
    .page-news__cta-bottom,
    .page-news__cta-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 15px;
    }
}