/* style/news.css */
.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Main text color for dark background */
    background-color: #140C0C; /* Overall page background */
}

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

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

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

.page-news__section-title--light {
    color: #FFF1E8;
}

.page-news__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #FFF1E8;
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    padding-top: 10px; /* Small top margin, relies on body padding-top for header offset */
    padding-bottom: 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    background-color: #140C0C; /* Ensure background matches */
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height of hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Space between image and content */
}

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

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

.page-news__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    color: #F3C54D;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-news__hero-description {
    font-size: 1.2em;
    color: #FFF1E8;
    margin-bottom: 30px;
}

.page-news__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-news__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #FFF1E8;
    border: none;
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
}

.page-news__btn-secondary {
    background: #2A1212; /* Card BG as secondary button background */
    color: #F3C54D; /* Gold for text */
    border: 2px solid #6A1E1E; /* Border color */
}

.page-news__btn-secondary:hover {
    background: #6A1E1E; /* Deep Red for hover */
    color: #FFF1E8;
}

/* Latest News Section */
.page-news__latest-section {
    background-color: #140C0C;
}

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

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

.page-news__news-card:hover {
    transform: translateY(-5px);
}

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

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

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

.page-news__card-date {
    font-size: 0.9em;
    color: #F3C54D; /* Gold for date */
    margin-bottom: 10px;
}

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

.page-news__card-description {
    font-size: 1em;
    color: #FFF1E8;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-news__read-more {
    color: #FFB04A; /* Gold gradient start for read more link */
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: auto; /* Pushes to the bottom */
}

.page-news__read-more:hover {
    text-decoration: underline;
}

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

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

/* CTA Section */
.page-news__cta-section {
    background: #C61F1F; /* Deep Red for CTA section */
    color: #FFF1E8;
    text-align: center;
}

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

.page-news__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-news__faq-section {
    background-color: #140C0C;
    color: #FFF1E8;
}

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

.page-news__faq-item {
    background-color: #2A1212; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #FFF1E8;
    background-color: #2A1212;
    list-style: none; /* Remove default marker */
}

.page-news__faq-question::-webkit-details-marker,
.page-news__faq-question::marker {
    display: none; /* Hide default marker for webkit and standard */
}

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

.page-news__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #FFB04A; /* Gold gradient start for toggle */
}

.page-news__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #FFF1E8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__section-title {
        font-size: 2em;
    }
    .page-news__hero-title {
        font-size: clamp(2em, 4vw, 3em);
    }
    .page-news__news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-news {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO Section */
    .page-news__hero-section {
        padding-top: 10px !important; /* Small top margin, relies on body padding-top */
        padding-bottom: 40px;
    }
    .page-news__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }
    .page-news__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news__hero-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-news__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* General Images and Containers */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !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-padding {
        padding: 40px 0;
    }
    .page-news__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-news__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Product Display Area (News Grid) */
    .page-news__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    .page-news__card-image {
        height: 180px;
    }
    .page-news__card-content {
        padding: 15px;
    }
    .page-news__card-title {
        font-size: 1.1em;
    }
    .page-news__card-description {
        font-size: 0.9em;
    }

    /* Buttons and Button Containers */
    .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 !important;
        padding-right: 15px !important;
    }
    .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-direction: column !important;
        gap: 15px !important;
    }
    .page-news__hero-button, .page-news__view-all-button, .page-news__cta-button {
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    /* Other Content Modules (FAQ) */
    .page-news__faq-item {
        margin-bottom: 10px;
    }
    .page-news__faq-question {
        padding: 15px;
        font-size: 1em;
    }
    .page-news__faq-answer {
        padding: 0 15px 15px 15px;
    }
}