.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherited from shared.css */
}

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

/* Hero Section */
.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px);
  color: #ffffff;
  overflow: hidden;
}

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

.page-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

.page-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Section Styling */
.page-news__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-news__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

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

.page-news__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

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

.page-news__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb3;
  border-color: #1a7fb3;
}

/* Dark Section */
.page-news__dark-section {
  background-color: #1a1a1a;
  padding: 60px 0;
}

/* Latest News Section */
.page-news__latest-news-section {
  padding: 60px 0;
}

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

.page-news__news-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

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

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

.page-news__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
}

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

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

.page-news__card-text {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

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

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

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

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

/* Platform Announcements Section */
.page-news__platform-announcements-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-news__announcement-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-news__announcement-item {
  display: flex;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

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

.page-news__announcement-content {
  padding: 25px;
  width: 65%;
}

.page-news__announcement-title {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-news__announcement-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__announcement-title a:hover {
  color: #ffffff;
}

.page-news__announcement-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 15px;
}

/* Industry Trends Section */
.page-news__industry-trends-section {
  padding: 80px 0;
}

.page-news__article-content {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-news__article-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 8px;
  display: block;
}

.page-news__article-content p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #e0e0e0;
}

.page-news__article-content strong {
  color: #26A9E0;
}

/* Video Section */
.page-news__video-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-news__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-news__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-news__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ Section */
.page-news__faq-section {
  padding: 60px 0;
}

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

.page-news__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-news__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

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

.page-news__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-news__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

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

.page-news__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #e0e0e0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-news__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

/* CTA Section */
.page-news__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 3em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__announcement-item {
    flex-direction: column;
  }
  .page-news__announcement-image,
  .page-news__announcement-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-news__hero-title {
    font-size: 2.5em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__section-description {
    font-size: 0.9em;
  }
  .page-news__news-grid {
    grid-template-columns: 1fr;
  }
  .page-news__news-card,
  .page-news__announcement-item,
  .page-news__article-content,
  .page-news__video-wrapper,
  .page-news__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-news__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image Responsive Fix */
  .page-news img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__hero-image-wrapper,
  .page-news__news-card,
  .page-news__announcement-item,
  .page-news__article-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Video Responsive Fix */
  .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-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-news__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
  }

  /* Button Responsive Fix */
  .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__hero-cta-group,
  .page-news__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 2em;
  }
  .page-news__section-title {
    font-size: 1.5em;
  }
  .page-news__announcement-content {
    padding: 15px;
  }
  .page-news__announcement-title {
    font-size: 1.3em;
  }
  .page-news__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }
  .page-news__faq-toggle {
    font-size: 1.2em;
  }
  .page-news__faq-answer {
    padding: 10px 15px 15px;
  }
  .page-news__article-content {
    padding: 20px;
  }
}