.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); /* Assuming shared.css defines --black-color as a dark color */
}

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

.page-news__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjust padding-top to account for fixed header */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-news__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

.page-news__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

.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;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-news__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-news__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-news__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-news__text-link:hover {
  color: #1a7bb7;
}

.page-news__intro-section,
.page-news__platform-section,
.page-news__conclusion-section,
.page-news__utilize-section {
  padding: 80px 0;
}

.page-news__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
  color: inherit; /* Inherits color from section for contrast */
}

.page-news__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: inherit;
}

.page-news__categories-section {
  padding: 80px 0;
}

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

.page-news__category-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  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__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-news__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-news__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin: 20px 20px 10px;
  line-height: 1.3;
}

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

.page-news__card-title a:hover {
  text-decoration: underline;
}

.page-news__card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-news__btn-text-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px 20px;
  transition: color 0.3s ease;
}

.page-news__btn-text-link:hover {
  color: #1a7bb7;
  text-decoration: underline;
}

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

.page-news__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 30px;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-news__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer; /* Add cursor pointer for click event */
}

.page-news__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
  color: #ffffff;
  font-size: 4em;
  text-decoration: none;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.3s ease;
  pointer-events: none; /* Allow video interaction initially */
  z-index: 1;
}

.page-news__video-wrapper:hover .page-news__video-overlay-link {
  opacity: 1;
  pointer-events: auto; /* Enable overlay link on hover */
}

.page-news__play-button {
  background-color: rgba(38, 169, 224, 0.8); /* Brand color with transparency */
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.page-news__play-button:hover {
  background-color: #1a7bb7;
}

.page-news__video-caption {
  font-size: 1.1em;
  color: inherit;
}

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

.page-news__info-block {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

.page-news__info-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-news__info-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-news__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
  display: flex;
  flex-direction: column;
}

.page-news__step-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-news__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__faq-section {
  padding: 80px 0;
}

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

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

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question background */
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
  background-color: #1a7bb7;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(0deg); /* '+' becomes '-' */
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px; /* Restore padding when active */
}

.page-news__faq-answer p {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 0;
}

/* Conclusion section specific styling */
.page-news__conclusion-section .page-news__cta-buttons {
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-news {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-news__container {
    padding: 0 15px; /* Mobile padding */
  }
  .page-news__hero-section {
    padding: 80px 0 50px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top is correct */
    min-height: 300px;
  }
  .page-news__hero-title {
    font-size: 2.2em;
  }
  .page-news__hero-description {
    font-size: 1em;
  }
  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__intro-section,
  .page-news__platform-section,
  .page-news__conclusion-section,
  .page-news__utilize-section,
  .page-news__categories-section,
  .page-news__faq-section {
    padding: 50px 0;
  }
  .page-news__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-news__paragraph {
    font-size: 0.95em;
  }
  .page-news__category-grid,
  .page-news__info-grid,
  .page-news__utilize-steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-news__card-image,
  .page-news__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}