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

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

.page-news__hero-section {
    padding-top: 10px; /* Fixed header spacing */
    margin-bottom: 40px;
    background-color: #0A0A0A; /* Background */
}

.page-news__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

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

.page-news__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-news__description {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-news__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #FFD36B; /* Glow */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-news__articles-section {
    padding: 40px 0;
    background-color: #0A0A0A; /* Background */
}

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

.page-news__article-card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-news__article-title {
    font-size: 1.4rem;
    color: #FFD36B; /* Glow */
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__article-date {
    font-size: 0.9rem;
    color: #FFF6D6;
    opacity: 0.7;
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 1rem;
    color: #FFF6D6;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A; /* Dark text for gradient button */
    border: none;
}

.page-news__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-news__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Glow */
    border: 2px solid #FFD36B; /* Glow */
    margin-left: 20px;
}

.page-news__btn-secondary:hover {
    background: #FFD36B;
    color: #0A0A0A; /* Dark text on hover */
}

.page-news__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #0A0A0A; /* Background */
    border-top: 1px solid #3A2A12; /* Border */
    border-bottom: 1px solid #3A2A12; /* Border */
}

.page-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-news__faq-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
}

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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(255, 211, 107, 0.1); /* Lighter hover for dark background */
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6; /* Text Main */
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: rgba(17, 17, 17, 0.8); /* Slightly lighter dark background for answer */
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
}

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

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-news {
        font-size: 15px;
        line-height: 1.5;
    }

    /* 1. Hero Section */
    .page-news__hero-section {
        padding-top: 10px !important; /* Specific top padding */
        margin-bottom: 20px;
    }

    .page-news__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-news__hero-image {
        border-radius: 0;
    }

    .page-news__hero-content {
        padding: 0 15px 20px;
    }

    .page-news__main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .page-news__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* 2. Articles Section */
    .page-news__articles-section {
        padding: 30px 0;
    }

    .page-news__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-news__articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .page-news__article-card {
        border-radius: 5px;
    }

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

    .page-news__article-title {
        font-size: 1.2rem;
    }

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

    /* 3. CTA Section */
    .page-news__cta-section {
        padding: 40px 15px;
    }

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* 4. Buttons */
    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 15px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important; /* Remove margin for vertical stack */
    }

    /* 5. General Images and Containers */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-news__container,
    .page-news__hero-image-wrapper,
    .page-news__articles-section,
    .page-news__cta-section,
    .page-news__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 6. FAQ Section */
    details.page-news__faq-item {
        border-radius: 5px;
    }
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px;
    }
    .page-news__faq-qtext {
        font-size: 1rem;
    }
    .page-news__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 15px 15px;
    }
}

/* --- Tablet Responsive Styles (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .page-news__container {
        padding: 0 15px;
    }

    .page-news__main-title {
        font-size: 2.8rem;
    }

    .page-news__description {
        font-size: 1.05rem;
    }

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

    .page-news__article-image {
        height: 200px;
    }

    .page-news__article-title {
        font-size: 1.3rem;
    }

    .page-news__btn-primary,
    .page-news__btn-secondary {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .page-news__cta-section {
        padding: 50px 0;
    }

    .page-news__faq-section {
        padding: 50px 0;
    }
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px 18px;
    }
    .page-news__faq-qtext {
        font-size: 1.05rem;
    }
}