/* style/news-platform-update.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #1a1a1a; /* Assuming var(--black-color) is a dark background */
}

.page-news-platform-update {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark);
}

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

.page-news-platform-update__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-news-platform-update__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-news-platform-update__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
  color: inherit;
}

.page-news-platform-update__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
}

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

.page-news-platform-update__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-news-platform-update__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-news-platform-update__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-news-platform-update__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-news-platform-update__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.page-news-platform-update__btn-primary,
.page-news-platform-update__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-news-platform-update__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-news-platform-update__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-news-platform-update__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-news-platform-update__btn-secondary:hover {
  background-color: #e0e0e0;
}

/* Intro Section */
.page-news-platform-update__intro-section {
  padding: 80px 0;
  text-align: center;
}

.page-news-platform-update__intro-section .page-news-platform-update__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-news-platform-update__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-news-platform-update__features-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-news-platform-update__feature-card {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-news-platform-update__feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-news-platform-update__feature-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-news-platform-update__feature-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 8px;
  margin-top: auto; /* Pushes image to bottom if content above is shorter */
}

/* Video Section */
.page-news-platform-update__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-news-platform-update__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-news-platform-update__video-cta {
  margin-top: 30px;
}

/* Benefits Section */
.page-news-platform-update__benefits-section {
  padding: 80px 0;
  text-align: center;
}

.page-news-platform-update__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-news-platform-update__benefit-item {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-news-platform-update__benefit-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-news-platform-update__benefit-description {
  font-size: 0.95rem;
  line-height: 1.7;
}

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

/* FAQ Section */
.page-news-platform-update__faq-section {
  padding: 80px 0;
}

.page-news-platform-update__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-news-platform-update__faq-item {
  background-color: var(--bg-light);
  color: var(--text-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-news-platform-update__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  list-style: none; /* For details/summary */
}

.page-news-platform-update__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-news-platform-update__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-news-platform-update__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  background-color: var(--bg-light);
}

.page-news-platform-update__faq-item[open] .page-news-platform-update__faq-question {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-platform-update__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-news-platform-update__hero-section {
    padding: 40px 15px;
  }

  .page-news-platform-update__main-title {
    font-size: 2.2rem;
  }

  .page-news-platform-update__hero-description {
    font-size: 1rem;
  }

  .page-news-platform-update__section-title {
    font-size: 2rem;
  }

  .page-news-platform-update__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-news-platform-update__btn-primary,
  .page-news-platform-update__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-news-platform-update__intro-section,
  .page-news-platform-update__features-section,
  .page-news-platform-update__video-section,
  .page-news-platform-update__benefits-section,
  .page-news-platform-update__cta-section,
  .page-news-platform-update__faq-section {
    padding: 40px 0;
  }

  .page-news-platform-update__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-news-platform-update__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-news-platform-update__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-news-platform-update__features-grid,
  .page-news-platform-update__benefits-list {
    grid-template-columns: 1fr;
  }

  .page-news-platform-update__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-news-platform-update__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-news-platform-update__main-title {
    font-size: 1.8rem;
  }

  .page-news-platform-update__section-title {
    font-size: 1.6rem;
  }

  .page-news-platform-update__btn-primary,
  .page-news-platform-update__btn-secondary {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}