/* Base styles for the news page */
.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Background */
}

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

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

.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;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, not --header-offset */
    margin-bottom: 40px;
    background: #140C0C; /* Background */
}

.page-news__hero-image-wrapper {
    width: 100%;
    height: 600px; /* Fixed height for desktop */
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Desktop: cover to fill space */
    display: block;
}

.page-news__hero-content {
    position: relative; /* Changed from absolute to relative to ensure text below image */
    text-align: center;
    padding: 40px 15px;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.page-news__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for responsive H1 */
    font-weight: 700;
    color: #FFB04A; /* Part of button gradient, fitting gold theme */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news__subtitle {
    font-size: 1.2em;
    color: #FFF1E8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    white-space: normal;
    word-wrap: break-word;
}

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

.page-news__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-news__btn-secondary {
    background: transparent;
    color: #F3C54D; /* Gold */
    border: 2px solid #F3C54D; /* Gold */
}

.page-news__btn-secondary:hover {
    background: #F3C54D; /* Gold */
    color: #140C0C; /* Background */
    transform: translateY(-2px);
}

/* Latest Articles Section */
.page-news__latest-articles {
    padding: 60px 0;
    background: #140C0C; /* Background */
}

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

.page-news__article-card {
    background: #2A1212; /* 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;
    border: 1px solid #6A1E1E; /* Border */
}

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

.page-news__article-link {
    text-decoration: none;
    display: block;
    color: #FFF1E8;
}

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

.page-news__article-content {
    padding: 20px;
}

.page-news__article-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F3C54D; /* Gold */
    line-height: 1.3;
}

.page-news__article-meta {
    font-size: 0.9em;
    color: rgba(255, 241, 232, 0.7); /* Lighter version of Text Main */
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 0.95em;
    color: #FFF1E8;
}

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

/* About News Section */
.page-news__about-news-section {
    padding: 60px 0;
}

.page-news__dark-section {
    background: #2A1212; /* Card BG */
}

.page-news__content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

.page-news__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-news__text-block {
    flex: 1;
    font-size: 1.05em;
    color: #FFF1E8;
}

.page-news__text-block h3 {
    font-size: 1.8em;
    color: #F3C54D; /* Gold */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-news__text-block ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

.page-news__text-block li {
    margin-bottom: 8px;
    color: #FFF1E8;
}

.page-news__image-block {
    flex: 1;
    min-width: 400px; /* Ensure image block has a minimum width */
}

.page-news__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-news__full-width-text {
    font-size: 1.05em;
    color: #FFF1E8;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-news__full-width-text h3 {
    font-size: 1.8em;
    color: #F3C54D; /* Gold */
    margin-top: 40px;
    margin-bottom: 15px;
}

/* CTA Section */
.page-news__cta-section {
    padding: 60px 0;
    text-align: center;
    background: #140C0C; /* Background */
}

/* FAQ Section */
.page-news__faq-section {
    padding: 60px 0;
    background: #2A1212; /* Card BG */
}

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #140C0C; /* Background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3C54D; /* Gold */
  font-size: 1.1em;
  font-weight: 600;
}
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: #0d0707; /* Darker hover for dark background */
}
.page-news__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}
.page-news__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Wider toggle area */
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 20px; /* Consistent padding */
  background: #0d0707; /* Slightly darker than item background */
  border-radius: 0 0 8px 8px;
  color: #FFF1E8;
}
.page-news__faq-answer p {
    margin: 0;
    padding: 0;
}


/* --- Responsive Styles --- */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
    .page-news__hero-image-wrapper {
        height: 500px;
    }
    .page-news__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-news__subtitle {
        font-size: 1.1em;
    }
    .page-news__section-title {
        font-size: 2.5em;
    }
    .page-news__content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .page-news__content-wrapper--reverse {
        flex-direction: column; /* Keep column for reverse on tablet */
    }
    .page-news__image-block {
        min-width: unset;
        width: 100%;
        max-width: 600px; /* Constrain image width */
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    /* General content area padding */
    .page-news__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__section {
        padding: 40px 0;
    }

    /* HERO Section */
    .page-news__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        margin-bottom: 30px;
    }
    .page-news__hero-image-wrapper {
        height: auto; /* Auto height for mobile */
    }
    .page-news__hero-image {
        object-fit: contain !important; /* Force contain for mobile hero */
        aspect-ratio: unset !important; /* Remove aspect ratio if set */
        width: 100% !important;
        height: auto !important;
    }
    .page-news__hero-content {
        padding: 20px 15px;
    }
    .page-news__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }
    .page-news__subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* Buttons and Button Containers */
    .page-news__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px; /* Add padding to buttons container */
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important; /* Force full width */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Section Titles */
    .page-news__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-news__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Latest Articles Grid */
    .page-news__articles-grid {
        grid-template-columns: 1fr; /* Single column for articles */
        gap: 20px;
    }
    .page-news__article-image {
        height: 180px; /* Slightly smaller image height */
    }
    .page-news__article-title {
        font-size: 1.2em;
    }
    .page-news__article-excerpt {
        font-size: 0.9em;
    }

    /* About News Section - Content Wrapper */
    .page-news__content-wrapper {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    .page-news__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-news__text-block h3 {
        font-size: 1.5em;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .page-news__image-block {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news__full-width-text {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__full-width-text h3 {
        font-size: 1.5em;
        margin-top: 30px;
    }
}