/* style/news.css */
.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background: #0A0A0A; /* Page background color */
}

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

/* Hero Section */
.page-news__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0A0A0A;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for large screens */
}

.page-news__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: #111111; /* Card BG for content block */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: -80px; /* Overlap with image slightly for visual appeal */
    position: relative;
    z-index: 1;
    border: 1px solid #3A2A12; /* Border color */
}

.page-news__main-title {
    font-size: 2.8em;
    font-weight: bold;
    color: #FFD36B; /* Glow color for title */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-news__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-news__cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Articles Section */
.page-news__articles-section {
    padding: 40px 0;
    background: #0A0A0A; /* Page background */
}

.page-news__section-title {
    font-size: 2.2em;
    color: #FFD36B; /* Glow color for section title */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

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

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

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

.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.4em;
    color: #FFD36B; /* Glow color for article title */
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: 600;
}

.page-news__article-excerpt {
    font-size: 0.95em;
    color: #FFF6D6; /* Main text color */
    margin-bottom: 15px;
}

.page-news__article-date {
    font-size: 0.85em;
    color: #F2C14E; /* Primary color for date */
    display: block;
    text-align: right;
}

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

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 25px;
    background: #F2C14E; /* Primary color */
    color: #111111; /* Dark text for primary color button */
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-news__view-all-button:hover {
    background: #FFD36B; /* Auxiliary color on hover */
    transform: translateY(-2px);
}

/* FAQ Section */
.page-news__faq-section {
    padding: 40px 0 60px;
    background: #0A0A0A; /* Page background */
}

.page-news__faq-list {
    margin-top: 30px;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px; /* Slightly larger border-radius for aesthetic */
  border: 1px solid #3A2A12; /* Border color */
  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 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B; /* Glow color for question text */
  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: #1a1a1a; /* Slightly lighter dark on hover */
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 1.1em; /* Slightly larger font */
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6; /* Main text color */
}
.page-news__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #F2C14E; /* Primary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Larger width for toggle */
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 20px; /* Adjusted padding */
  background: #0A0A0A; /* Page background for answer area */
  border-radius: 0 0 10px 10px;
  color: #FFF6D6; /* Main text color for answer */
}
.page-news__faq-answer p {
    margin: 0;
    padding-top: 10px;
}

/* General responsive for images and containers */
.page-news img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__hero-content {
        padding: 30px 20px;
        margin-top: -60px;
    }
    .page-news__main-title {
        font-size: 2.2em;
    }
    .page-news__description {
        font-size: 1em;
    }
    .page-news__section-title {
        font-size: 2em;
    }
    .page-news__articles-grid {
        gap: 20px;
    }
    .page-news__article-title {
        font-size: 1.2em;
    }
    .page-news__article-image {
        height: 200px;
    }
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px 20px;
    }
    .page-news__faq-qtext {
        font-size: 1em;
    }
    .page-news__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 768px) {
    /* General responsive for images and containers */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news__container,
    .page-news__hero-section,
    .page-news__articles-section,
    .page-news__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section */
    .page-news__hero-section {
        padding-top: 10px !important; /* Specific override for mobile */
        margin-bottom: 30px;
    }
    .page-news__hero-content {
        padding: 25px 15px;
        margin-top: -40px; /* Reduced overlap */
        border-radius: 8px;
    }
    .page-news__main-title {
        font-size: 1.8em;
        line-height: 1.3;
    }
    .page-news__description {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .page-news__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Articles Section */
    .page-news__articles-section {
        padding: 30px 0;
    }
    .page-news__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-news__articles-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    .page-news__article-card {
        border-radius: 8px;
    }
    .page-news__article-image {
        height: 180px; /* Adjusted height for mobile cards */
    }
    .page-news__article-title {
        font-size: 1.1em;
    }
    .page-news__article-excerpt {
        font-size: 0.9em;
    }
    .page-news__article-date {
        font-size: 0.8em;
    }
    .page-news__view-all-wrapper {
        margin-top: 40px;
    }
    .page-news__view-all-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 10px 20px;
        font-size: 0.95em;
    }

    /* FAQ Section */
    .page-news__faq-section {
        padding: 30px 0 40px;
    }
    details.page-news__faq-item {
        border-radius: 8px;
    }
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px 15px;
    }
    .page-news__faq-qtext {
        font-size: 0.95em;
    }
    .page-news__faq-toggle {
        font-size: 20px;
        width: 22px;
        margin-left: 10px;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 15px 15px;
    }
    .page-news__faq-answer p {
        font-size: 0.9em;
    }
}