/* style/news.css */
.page-news {
  color: #FFF1E8; /* Main text color for dark background */
  background-color: #140C0C; /* Page background color */
}

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

.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

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

.page-news__hero-content {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(20, 12, 12, 0.7); /* Semi-transparent background for text on hero */
  margin-top: -100px; /* Overlap slightly for visual effect, but not on image */
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
  border-radius: 10px;
}

.page-news__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF1E8;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* No fixed font-size, rely on clamp for responsiveness if needed, but not here */
}

.page-news__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #FFF1E8;
  margin-bottom: 30px;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
  border: none;
  margin: 0 10px;
}

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

.page-news__btn-secondary {
  background: #ffffff;
  color: #C61F1F;
  border: 2px solid #C61F1F;
  margin: 0 10px;
}

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

.page-news__introduction-section,
.page-news__latest-news-section,
.page-news__cta-section,
.page-news__faq-section {
  padding: 60px 0;
}

.page-news__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FFF1E8;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-news__text-block {
  font-size: 1.05em;
  line-height: 1.8;
  color: #FFF1E8;
  margin-bottom: 30px;
  text-align: justify;
}

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

.page-news__news-card {
  background-color: #2A1212; /* Card BG 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;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

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

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

.page-news__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  flex-grow: 1;
}

.page-news__card-title a {
  color: #FFF1E8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #FFB04A;
}

.page-news__card-meta {
  font-size: 0.9em;
  color: #F3C54D; /* Gold color */
  margin-bottom: 15px;
}

.page-news__card-excerpt {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF1E8;
  margin-bottom: 20px;
}

.page-news__read-more {
  display: inline-block;
  color: #FFB04A; /* Gold color */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  margin-top: auto;
}

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

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

.page-news__why-choose-us-section {
  background-color: #C61F1F; /* Deep Red color for dark section */
  padding: 80px 0;
}

.page-news__why-choose-us-section .page-news__section-title {
  color: #FFF1E8;
}

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

.page-news__feature-item {
  background-color: #7E0D0D; /* Deep Red variant */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__feature-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #FFB04A; /* Gold color for feature titles */
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-news__feature-description {
  font-size: 0.95em;
  line-height: 1.7;
  color: #FFF1E8;
}

.page-news__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #140C0C; /* Background color */
}

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

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

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

.page-news__faq-item {
  background-color: #2A1212; /* Card BG color */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #FFF1E8;
  cursor: pointer;
  background-color: #2A1212;
  border-bottom: 1px solid #6A1E1E; /* Border color */
  list-style: none;
}

.page-news__faq-question::-webkit-details-marker {
  display: none;
}

.page-news__faq-item[open] .page-news__faq-question {
  background-color: #C61F1F; /* Primary color when open */
  color: #FFF1E8;
}

.page-news__faq-qtext {
  flex-grow: 1;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
  transform: rotate(45deg);
}

.page-news__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #FFF1E8;
  background-color: #140C0C; /* Background color for answer */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 2.8em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__card-title {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-bottom: 40px;
  }
  .page-news__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
  .page-news__main-title {
    font-size: 2.2em !important;
    line-height: 1.3;
  }
  .page-news__description {
    font-size: 1em;
  }
  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-news__text-block {
    font-size: 0.95em;
  }
  .page-news__news-grid {
    grid-template-columns: 1fr;
  }
  .page-news__card-title {
    font-size: 1.1em;
  }
  .page-news__features-grid {
    grid-template-columns: 1fr;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    margin: 0;
    padding: 12px 20px;
  }
  .page-news__introduction-section,
  .page-news__latest-news-section,
  .page-news__cta-section,
  .page-news__faq-section,
  .page-news__why-choose-us-section {
    padding: 40px 0;
  }

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

  /* Mobile container responsiveness */
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-section,
  .page-news__introduction-section,
  .page-news__latest-news-section,
  .page-news__why-choose-us-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;
    overflow: hidden !important;
  }
  .page-news__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }
}

/* Ensure images don't use filter */
.page-news img {
  filter: none; /* Explicitly disable any potential filter */
}

/* Desktop video container width for consistency (even if no video) */
.page-news__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}