.page-news {
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height to prevent excessive stretching */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-news__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-news__intro-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-news__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-news__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-news__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-news__latest-news,
.page-news__featured-articles,
.page-news__faq-section,
.page-news__cta-section {
  padding: 80px 0;
}

.page-news__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-news__dark-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-news__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem); /* Responsive font size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #26A9E0;
}

.page-news__section-title--white {
  color: #ffffff;
}

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

.page-news__news-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-news__news-card--dark {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-news__card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-news__card-image {
  width: 100%;
  height: 225px;
  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.35rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-news__news-card--dark .page-news__card-title {
  color: #ffffff;
}

.page-news__card-meta {
  font-size: 0.95rem;
  color: #777777;
  margin-bottom: 15px;
}

.page-news__news-card--dark .page-news__card-meta {
  color: #bbbbbb;
}

.page-news__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__news-card--dark .page-news__card-description {
  color: #e0e0e0;
}

.page-news__read-more {
  display: inline-flex;
  align-items: center;
  color: #26A9E0;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.page-news__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-news__read-more:hover .page-news__arrow {
  transform: translateX(5px);
}

.page-news__button-wrapper {
  text-align: center;
  margin-top: 20px;
}

.page-news__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-news__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px; /* Standard video aspect ratio max width */
  margin: 0 auto 30px auto;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-news__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-news__video-description {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f0f0f0;
}

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

.page-news__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-news__faq-item[open] {
  background-color: #eaf7ff; /* Lighter background when open */
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none; /* Remove default marker for details */
}

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

.page-news__faq-item[open] .page-news__faq-question {
  color: #26A9E0;
}

.page-news__faq-toggle {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

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

.page-news__cta-content {
  max-width: 900px;
  text-align: center;
}

.page-news__cta-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-news__news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-news__card-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-news__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem); /* Adjust for smaller screens */
  }
  .page-news__intro-text {
    font-size: 1rem;
  }
  .page-news__cta-button {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
  .page-news__latest-news,
  .page-news__featured-articles,
  .page-news__faq-section,
  .page-news__cta-section {
    padding: 50px 0;
  }
  .page-news__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 30px;
  }
  .page-news__news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-news__card-image {
    height: 200px;
  }
  .page-news__card-title {
    font-size: 1.15rem;
  }
  .page-news__card-description {
    font-size: 0.95rem;
  }
  .page-news__video-description {
    font-size: 1rem;
  }
  .page-news__faq-question {
    font-size: 1.05rem;
    padding: 18px 20px;
  }
  .page-news__faq-answer {
    padding: 0 20px 18px 20px;
  }
  .page-news__cta-description {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__cta-button {
    width: 100%;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image and video responsive adaptation */
  .page-news img {
    max-width: 100% !important;
    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__section,
  .page-news__card,
  .page-news__container,
  .page-news__video-section,
  .page-news__video-container,
  .page-news__video-wrapper,
  .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;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  .page-news__video-section {
    padding-top: 10px !important;
  }
  .page-news__cta-button,
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}