/* style/news.css */

/* Base styles for the page-news scope */
.page-news {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for assumed light body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Color contrast adjustments for specific sections */
.page-news__hero-section,
.page-news__cta-section {
  background: #B71C1C; /* Deep Red Background */
  color: #FFF5E1; /* Light text for dark background */
}

.page-news__news-card {
  background: #D32F2F; /* Card Background Red */
  color: #FFF5E1; /* Light text for dark background */
  border: 1px solid #F2B544; /* Border Gold */
}

.page-news__news-card-link,
.page-news__update-link,
.page-news__faq-link {
  color: #FFD86A; /* Goldish for links on dark background */
  text-decoration: none;
}

.page-news__news-card-link:hover,
.page-news__update-link:hover,
.page-news__faq-link:hover {
  text-decoration: underline;
}

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

.page-news__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
}

.page-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF5E1;
  letter-spacing: 1px;
}

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

.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin: 10px;
  border: 2px solid transparent;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-news__cta-button--gold {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for text on gold button */
  border-color: #F2B544;
}

.page-news__cta-button--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button--red {
  background: #E53935; /* Auxiliary Red */
  color: #FFF5E1; /* Light text */
  border-color: #C91F17;
}

.page-news__cta-button--red:hover {
  background: #C91F17; /* Main Red */
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Section Titles and Subtitles */
.page-news__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #C91F17; /* Main Red */
}

.page-news__section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #333333;
}

/* Featured News Section */
.page-news__featured-news-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

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

.page-news__news-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

.page-news__news-card-date {
  font-size: 0.9rem;
  color: #FFCC66; /* Glow Gold */
  margin-bottom: 15px;
}

.page-news__news-card-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: #F4D34D; /* Gold */
  color: #7A0E0E; /* Deep Red */
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.page-news__read-more-button:hover {
  background: #FFD86A;
}

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

.page-news__view-all-button {
  display: inline-block;
  padding: 12px 28px;
  background: #C91F17; /* Main Red */
  color: #FFF5E1;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition: background 0.3s ease;
}

.page-news__view-all-button:hover {
  background: #E53935; /* Auxiliary Red */
}

/* Latest Updates Section */
.page-news__latest-updates-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

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

.page-news__update-item {
  padding: 30px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-news__update-item:last-child {
  border-bottom: none;
}

.page-news__update-item:hover {
  background-color: #f9f9f9;
}

.page-news__update-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #C91F17;
}

.page-news__update-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.page-news__update-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #444;
}

.page-news__update-link {
  display: inline-block;
  font-weight: bold;
  color: #E53935;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__update-link:hover {
  color: #C91F17;
}

/* FAQ Section */
.page-news__faq-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

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

.page-news__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #C91F17;
  background-color: #fefefe;
  list-style: none;
}

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

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

.page-news__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #E53935;
}

.page-news__faq-item[open] .page-news__faq-toggle {
  content: '−';
}

.page-news__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.page-news__faq-answer p {
  margin-bottom: 15px;
}

.page-news__faq-link {
  display: inline-block;
  font-weight: bold;
  color: #E53935;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__faq-link:hover {
  color: #C91F17;
}

/* Call to Action Section */
.page-news__cta-section {
  padding: 80px 20px;
  text-align: center;
}

.page-news__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-news__cta-section .page-news__section-title {
  color: #FFF5E1;
}

.page-news__cta-section .page-news__section-subtitle {
  color: #FFF5E1;
  margin-bottom: 50px;
}

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

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-news__hero-content,
  .page-news__news-grid,
  .page-news__updates-list,
  .page-news__faq-list,
  .page-news__cta-content,
  .page-news__featured-news-section,
  .page-news__latest-updates-section,
  .page-news__faq-section,
  .page-news__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden;
  }

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

  .page-news__description {
    font-size: 1rem;
  }

  .page-news__cta-button {
    width: 100% !important;
    margin: 10px 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

  .page-news__news-card-title {
    font-size: 1.2rem;
  }

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

  .page-news__section-subtitle {
    font-size: 1rem;
  }

  .page-news img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news video,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-news__video-section {
    padding-top: 10px !important;
  }

  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-news__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }
  .page-news__main-title {
    font-size: clamp(1.5rem, 9vw, 2rem);
  }
  .page-news__description {
    font-size: 0.9rem;
  }
  .page-news__section-title {
    font-size: 1.5rem;
  }
  .page-news__section-subtitle {
    font-size: 0.9rem;
  }
  .page-news__news-card-title {
    font-size: 1.1rem;
  }
  .page-news__update-title {
    font-size: 1.3rem;
  }
  .page-news__faq-question {
    font-size: 1rem;
  }
}