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

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

.page-news__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, not var(--header-offset) */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly dim the image for text readability */
}

.page-news__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  z-index: 10;
  color: #ffffff; /* White text for hero content */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD36B; /* Highlight with auxiliary color */
  line-height: 1.2;
}

.page-news__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff; /* White text for button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-news__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-news__articles-section {
  padding: 40px 0;
}

.page-news__section-title {
  font-size: 32px;
  color: #F2C14E; /* Primary color for section titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-news__article-card {
  background: #111111; /* Card background color */
  border: 1px solid #3A2A12; /* Border color */
  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;
  color: #FFF6D6; /* Text main color for card content */
}

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

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

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

.page-news__article-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__article-title a {
  color: #F2C14E; /* Primary color for article titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #FFD36B; /* Auxiliary color on hover */
}

.page-news__article-date {
  font-size: 14px;
  color: #FFD36B; /* Auxiliary color for date */
  margin-bottom: 15px;
}

.page-news__article-excerpt {
  font-size: 16px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-news__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #3A2A12; /* Border color as background for secondary button */
  color: #FFF6D6; /* Text main color */
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news__read-more-btn:hover {
  background: #F2C14E;
  color: #111111;
}

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

.page-news__view-all-btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.3);
}

.page-news__view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 193, 78, 0.5);
}

.page-news__faq-section {
  padding: 40px 0 60px;
  background: #0A0A0A;
}

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card background */
  color: #FFF6D6;
}

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(242, 193, 78, 0.1);
}

.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Primary color for FAQ questions */
}

.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Darker background for answer */
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
}

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

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .page-news__container {
    padding: 0 15px !important;
  }

  .page-news__hero-section {
    padding-top: 10px !important;
    margin-bottom: 30px;
  }

  .page-news__hero-content {
    width: 95%;
    padding: 0 10px;
  }

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

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

  .page-news__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news__articles-section {
    padding: 30px 0;
  }

  .page-news__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

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

  .page-news__article-card {
    margin-left: 0;
    margin-right: 0;
  }

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

  .page-news__article-title {
    font-size: 18px;
  }

  .page-news__article-date {
    font-size: 13px;
  }

  .page-news__article-excerpt {
    font-size: 14px;
  }

  .page-news__read-more-btn {
    font-size: 14px;
    padding: 8px 15px;
  }

  .page-news__view-all-btn {
    padding: 10px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news__faq-section {
    padding: 30px 0 40px;
  }

  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px;
  }

  .page-news__faq-qtext {
    font-size: 16px;
  }

  .page-news__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
  }

  /* General image and container responsive overrides */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__articles-section,
  .page-news__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Button container responsive overrides */
  .page-news__view-all-button-container,
  .page-news__hero-content .page-news__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* For potential multiple buttons */
    gap: 10px; /* For spacing between buttons */
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
  }
}