/* style/news.css */
.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #08160F;
}

.page-news__hero-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

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

.page-news__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-news__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-news__section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

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

.page-news__section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-news p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-news strong {
    color: #22C768; /* Auxiliary color for emphasis */
}

.page-news a {
    color: #22C768; /* Auxiliary color for links */
    text-decoration: none;
}

.page-news a:hover {
    text-decoration: underline;
}

.page-news__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-news__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #2AD16F; /* Button text color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid #2AD16F; /* Border color */
    transition: all 0.3s ease;
    cursor: pointer;
    margin-left: 15px;
}

.page-news__btn-secondary:hover {
    background-color: #2AD16F;
    color: #08160F;
}

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

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

.page-news__news-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

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

.page-news__card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-news__card-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
}

.page-news__card-title a:hover {
    color: #57E38D; /* Glow color on hover */
    text-decoration: underline;
}

.page-news__card-date {
    font-size: 0.9rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-news__card-excerpt {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more-btn {
    display: inline-block;
    color: #2AD16F; /* Button text color */
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    align-self: flex-start;
}

.page-news__read-more-btn:hover {
    text-decoration: underline;
    color: #57E38D;
}

.page-news__view-all-btn {
    margin-top: 50px;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.page-news__content-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-news__faq-section {
    background-color: #08160F;
}

.page-news__faq-list {
    margin-top: 40px;
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-news__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border color */
    border-top: none;
    margin-bottom: 10px;
    border-radius: 0 0 8px 8px;
}

.page-news__faq-item:first-of-type {
    border-top: 1px solid #2E7A4E;
    border-radius: 8px 8px 0 0;
}

.page-news__faq-item:last-of-type {
    border-radius: 0 0 8px 8px;
    margin-bottom: 0;
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    list-style: none;
    user-select: none;
    background-color: #11271B;
    border-bottom: 1px solid #1E3A2A;
}

.page-news__faq-item:last-of-type .page-news__faq-question {
    border-bottom: none;
}

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

.page-news__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #2AD16F;
    transition: transform 0.3s ease;
}

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

.page-news__faq-answer {
    padding: 15px 20px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    background-color: #11271B;
}

.page-news__cta-section {
    background-color: #0A4B2C; /* Deep Green */
    padding: 80px 0;
    text-align: center;
}

.page-news__cta-container {
    max-width: 900px;
}

.page-news__cta-text {
    font-size: 1.2rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: clamp(1.8rem, 4vw, 3rem);
    }
    .page-news__subtitle {
        font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    }
    .page-news__section-title {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
    }
    .page-news p {
        font-size: 1rem;
    }
    .page-news__news-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-news__hero-image {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding-bottom: 40px;
    }
    .page-news__hero-content {
        margin-top: 10px;
    }
    .page-news__main-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }
    .page-news__subtitle {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
    }
    .page-news__section {
        padding: 40px 0;
    }
    .page-news__section-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-bottom: 30px;
    }
    .page-news p {
        font-size: 0.95rem;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-news__news-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-news__news-card {
        margin: 0 auto;
        max-width: 400px; /* Constrain card width on small screens */
    }
    .page-news__card-title {
        font-size: 1.15rem;
    }
    .page-news__card-excerpt {
        font-size: 0.9rem;
    }
    .page-news__content-image {
        margin: 20px auto;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-news__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-news__faq-answer {
        padding: 10px 15px 15px;
        font-size: 0.95rem;
    }
    .page-news__hero-image,
    .page-news__content-image,
    .page-news__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__cta-container,
    .page-news__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__view-all-btn {
        margin-top: 30px;
    }
    .page-news__cta-section {
        padding: 50px 0;
    }
}