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

.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: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Primary color for titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-news__section-title--light {
  color: #FFF6D6; /* Text Main for light titles on dark backgrounds */
}

.page-news__lead-text {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF6D6;
}

.page-news__lead-text--light {
  color: #FFF6D6;
}

.page-news__center-text {
  text-align: center;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 600px;
  overflow: hidden;
  padding-top: 10px; /* Adjusted for shared header offset */
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.6) 100%), #0A0A0A;
}

.page-news__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.4;
}

.page-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  text-align: center;
}

.page-news__main-title {
  font-size: 56px;
  font-weight: bold;
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

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

.page-news__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Card BG for text on primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #FFE69A 0%, #E6B03D 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

.page-news__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow color for text on secondary button */
  border: 2px solid #3A2A12; /* Border color */
  margin-left: 20px;
}

.page-news__btn-secondary:hover {
  background: #1A1A1A;
  border-color: #F2C14E;
  color: #F2C14E;
  transform: translateY(-2px);
}

.page-news__btn-large {
  padding: 16px 40px;
  font-size: 20px;
}

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

/* Latest News Section */
.page-news__latest-news-section {
  background-color: #0A0A0A;
}

.page-news__news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.page-news__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

.page-news__news-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-news__news-card-content {
  padding: 20px;
}

.page-news__news-card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-news__news-card-title a {
  color: #FFD36B; /* Glow color for card titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__news-card-title a:hover {
  color: #F2C14E;
}

.page-news__news-meta {
  font-size: 14px;
  color: #999999;
  margin-bottom: 15px;
}

.page-news__news-excerpt {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-news__read-more-btn {
  display: inline-block;
  font-size: 15px;
  color: #F2C14E; /* Primary color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more-btn:hover {
  color: #FFD36B;
}

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

/* Featured Articles Section */
.page-news__featured-articles-section {
  background-color: #111111; /* Card BG */
}

.page-news__dark-section {
  background-color: #111111;
}

.page-news__featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.page-news__featured-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news__featured-card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.page-news__featured-card-content {
  padding: 25px;
}

.page-news__featured-card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.3;
}

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

.page-news__featured-card-title a:hover {
  color: #FFD36B;
}

.page-news__featured-meta {
  font-size: 15px;
  color: #AAAAAA;
  margin-bottom: 18px;
}

.page-news__featured-excerpt {
  font-size: 17px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 25px;
}

.page-news__read-more-btn--light {
  color: #FFD36B;
}

.page-news__read-more-btn--light:hover {
  color: #FFF6D6;
}

/* Call to Action Section */
.page-news__call-to-action-section {
  background: linear-gradient(90deg, #F2C14E 0%, #FFD36B 100%);
  padding: 80px 0;
}

.page-news__dark-bg {
  background: linear-gradient(90deg, #F2C14E 0%, #FFD36B 100%); /* Brand colors for background */
  color: #111111; /* Card BG for text on light background */
}

.page-news__dark-bg .page-news__section-title {
  color: #111111;
}

.page-news__dark-bg .page-news__lead-text {
  color: #111111;
}

.page-news__dark-bg .page-news__btn-primary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__dark-bg .page-news__btn-primary:hover {
  background: #000000;
  color: #F2C14E;
}

.page-news__dark-bg .page-news__btn-secondary {
  background: transparent;
  border-color: #111111; /* Card BG */
  color: #111111; /* Card BG */
}

.page-news__dark-bg .page-news__btn-secondary:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #000000;
}

/* FAQ Section */
details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: #1A1A1A;
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B; /* Glow color */
}
.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF6D6; /* Text Main */
  font-size: 16px;
}

/* Contact CTA Section */
.page-news__contact-cta-section {
  background-color: #0A0A0A;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news__featured-grid {
    grid-template-columns: 1fr;
  }

  .page-news__hero-section {
    height: 500px;
  }

  .page-news__main-title {
    font-size: 48px;
  }

  .page-news__section-title {
    font-size: 32px;
  }

  .page-news__news-card-image {
    height: 200px;
  }

  .page-news__featured-card-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    height: 400px;
    padding-top: 10px; /* Consistent small top padding */
  }

  .page-news__hero-image {
    object-fit: contain !important; /* Specific for banner, as per U888 template */
  }

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

  .page-news__main-title {
    font-size: clamp(32px, 8vw, 40px); /* Use clamp for H1 font size */
    margin-bottom: 15px;
  }

  .page-news__lead-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

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

  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

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

  .page-news__news-card-image {
    height: 180px;
  }

  .page-news__news-card-title {
    font-size: 20px;
  }

  .page-news__news-meta {
    font-size: 13px;
  }

  .page-news__news-excerpt {
    font-size: 15px;
  }

  .page-news__featured-grid {
    grid-template-columns: 1fr;
  }

  .page-news__featured-card-image {
    height: 200px;
  }

  .page-news__featured-card-title {
    font-size: 22px;
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .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;
    margin: 0 !important; /* Remove margin-left for secondary button */
  }

  .page-news__btn-large {
    padding: 14px 25px;
    font-size: 18px;
  }

  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;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* General image responsiveness for mobile */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .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;
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: clamp(28px, 7vw, 36px);
  }
  .page-news__section-title {
    font-size: 24px;
  }
  .page-news__hero-section {
    height: 350px;
  }
}