/* style/news.css */
/* Base styles for the page-news scope */
.page-news {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Ensure all images are responsive by default */
.page-news img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Main content container for consistent width */
.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 60px; /* Adjust as needed */
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #08160F; /* Ensure hero background matches page */
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

.page-news__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-news__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for H1 */
  font-weight: bold;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news__description {
  font-size: 1.125rem; /* 18px */
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
}

.page-news__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Section Titles and Descriptions */
.page-news__section-title {
  font-size: 2.5rem; /* 40px */
  font-weight: bold;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 20px;
}

.page-news__section-description {
  font-size: 1.125rem; /* 18px */
  color: #A7D9B8; /* Secondary text color */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* News List Section */
.page-news__news-list-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green from palette */
}

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

.page-news__card {
  background-color: #11271B; /* Card BG from custom palette */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 200px; /* Minimum card image size */
  color: #F2FFF6; /* Main text color for card */
}

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

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

.page-news__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-news__card-content {
  padding: 25px;
}

.page-news__card-title {
  font-size: 1.5rem; /* 24px */
  font-weight: bold;
  color: #F2C14E; /* Gold color for card titles */
  margin-bottom: 10px;
  min-height: 60px; /* Ensure consistent height for titles */
}

.page-news__card-meta {
  font-size: 0.9rem; /* 14px */
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 15px;
}

.page-news__card-excerpt {
  font-size: 1rem; /* 16px */
  color: #F2FFF6; /* Main text color */
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limit excerpt to 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-news__read-more {
  display: inline-block;
  color: #2AD16F; /* A brighter green for links */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-news__read-more:hover {
  color: #57E38D; /* Glow color on hover */
}

/* Video Section */
.page-news__video-section {
  padding: 80px 0;
  background-color: #08160F; /* Background color from custom palette */
  text-align: center;
}

.page-news__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  box-sizing: border-box; /* Ensure padding/border doesn't cause overflow */
}

.page-news__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer; /* Indicate it's clickable */
  min-height: 200px; /* Minimum size requirement */
}

.page-news__video-cta {
  margin-top: 20px;
}

/* Promotions Callout Section */
.page-news__promotions-callout {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green from palette */
  color: #F2FFF6; /* Main text color */
}

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

.page-news__promo-card {
  background-color: #11271B; /* Card BG from custom palette */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  min-height: 200px; /* Ensure content images are large enough */
}

.page-news__promo-title {
  font-size: 1.6rem; /* 26px */
  font-weight: bold;
  color: #F2C14E; /* Gold color */
  margin-bottom: 15px;
}

.page-news__promo-text {
  font-size: 1rem; /* 16px */
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 25px;
}

/* FAQ Section */
.page-news__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Background color from custom palette */
}

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

.page-news__faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  background-color: #11271B; /* Card BG from custom palette */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden; /* For details tag */
}

.page-news__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem; /* 20px */
  font-weight: bold;
  color: #F2FFF6; /* Main text color */
  background-color: #11271B; /* Card BG from custom palette */
  border-bottom: 1px solid #1E3A2A; /* Divider color */
}

.page-news__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-news__faq-qtext {
  flex-grow: 1;
  color: #F2C14E; /* Gold color for question text */
}

.page-news__faq-toggle {
  font-size: 1.8rem; /* Larger for +/- */
  font-weight: normal;
  color: #2AD16F; /* Brighter green */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
  transform: rotate(45deg); /* Rotate + to form X or similar */
}

.page-news__faq-answer {
  padding: 20px 25px 25px;
  font-size: 1rem; /* 16px */
  color: #A7D9B8; /* Secondary text color */
  background-color: #11271B; /* Card BG from custom palette */
}

/* Call to Action Section */
.page-news__cta-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green from palette */
  text-align: center;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap */
}

/* Buttons */
.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.125rem; /* 18px */
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box; /* Include padding in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Main text color */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #57E38D 0%, #2AD16F 100%); /* Glow color on hover */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-news__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Brighter green */
  border: 2px solid #2AD16F; /* Border color */
}

.page-news__btn-secondary:hover {
  background-color: #2AD16F; /* Brighter green */
  color: #08160F; /* Dark background color for text on hover */
  border-color: #2AD16F;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-news__section-title {
    font-size: 2rem;
  }

  .page-news__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  /* Global mobile content padding */
  .page-news__container {
    padding: 0 15px;
  }

  .page-news__hero-section {
    padding-bottom: 40px;
  }

  .page-news__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news__hero-image-wrapper {
    max-height: 300px;
  }

  .page-news__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-news__description,
  .page-news__section-description,
  .page-news__card-excerpt,
  .page-news__promo-text,
  .page-news__faq-answer p {
    font-size: 1rem; /* 16px */
  }

  .page-news__section-title {
    font-size: 1.8rem; /* 28.8px */
  }

  .page-news__news-list-section,
  .page-news__video-section,
  .page-news__promotions-callout,
  .page-news__faq-section,
  .page-news__cta-section {
    padding: 50px 0;
  }

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

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

  .page-news__card-title,
  .page-news__promo-title {
    font-size: 1.3rem; /* 20.8px */
  }

  .page-news__faq-item summary {
    font-size: 1.1rem; /* 17.6px */
    padding: 20px;
  }

  .page-news__faq-toggle {
    font-size: 1.5rem;
  }

  .page-news__faq-answer {
    padding: 15px 20px 20px;
 }}