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

:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --border-color: #333d4e;
  --card-bg: rgba(255, 255, 255, 0.08);
}

.page-news-platform-update {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so use light text */
  background-color: var(--bg-dark); /* Ensure consistency with body background */
}

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

.page-news-platform-update__hero-section {
  background: var(--primary-color);
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-news-platform-update__main-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-news-platform-update__description {
  font-size: 20px;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-news-platform-update__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  word-wrap: break-word;
}

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

.page-news-platform-update__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-news-platform-update__cta-button--secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-news-platform-update__cta-button--secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-news-platform-update__section-title {
  font-size: 36px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-news-platform-update__sub-title {
  font-size: 28px;
  color: var(--text-light);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-news-platform-update__text-block {
  font-size: 18px;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-news-platform-update__overview-section,
.page-news-platform-update__features-section,
.page-news-platform-update__benefits-section,
.page-news-platform-update__call-to-action-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  border-top: 1px solid var(--border-color);
}

.page-news-platform-update__overview-section {
  background-color: #121720;
}

.page-news-platform-update__image-wrapper {
  text-align: center;
  margin: 30px 0;
}

.page-news-platform-update__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto;
}

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

.page-news-platform-update__feature-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-platform-update__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
  margin-left: auto;
  margin-right: auto;
}

.page-news-platform-update__feature-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news-platform-update__feature-description {
  font-size: 16px;
  color: #cccccc;
}

.page-news-platform-update__benefit-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-news-platform-update__benefit-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-platform-update__benefit-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-news-platform-update__benefit-item p {
  font-size: 16px;
  color: #cccccc;
}

.page-news-platform-update__call-to-action-section {
  text-align: center;
  background-color: #121720;
  padding-bottom: 80px;
}

.page-news-platform-update__cta-button--large {
  padding: 18px 40px;
  font-size: 20px;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news-platform-update__main-title {
    font-size: 42px;
  }
  .page-news-platform-update__description {
    font-size: 18px;
  }
  .page-news-platform-update__section-title {
    font-size: 32px;
  }
  .page-news-platform-update__sub-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .page-news-platform-update__hero-section {
    padding: 60px 15px 40px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header spacing */
  }
  .page-news-platform-update__main-title {
    font-size: 36px;
  }
  .page-news-platform-update__description {
    font-size: 16px;
  }
  .page-news-platform-update__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-news-platform-update__cta-button {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-news-platform-update__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-news-platform-update__sub-title {
    font-size: 22px;
  }
  .page-news-platform-update__text-block {
    font-size: 16px;
  }
  .page-news-platform-update__overview-section,
  .page-news-platform-update__features-section,
  .page-news-platform-update__benefits-section,
  .page-news-platform-update__call-to-action-section {
    padding: 40px 0;
  }
  .page-news-platform-update__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
  .page-news-platform-update__feature-grid,
  .page-news-platform-update__benefit-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-news-platform-update__feature-item,
  .page-news-platform-update__benefit-item {
    padding: 20px;
  }
  .page-news-platform-update__feature-title {
    font-size: 20px;
  }
  .page-news-platform-update__benefit-title {
    font-size: 18px;
  }
  /* Mobile image and video responsive rules */
  .page-news-platform-update img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news-platform-update__image-wrapper,
  .page-news-platform-update__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-news-platform-update__cta-button--large {
    font-size: 18px;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-news-platform-update__main-title {
    font-size: 30px;
  }
  .page-news-platform-update__section-title {
    font-size: 24px;
  }
  .page-news-platform-update__sub-title {
    font-size: 20px;
  }
  .page-news-platform-update__cta-button {
    font-size: 16px;
    padding: 10px 15px;
  }
  .page-news-platform-update__cta-button--large {
    font-size: 16px;
    padding: 12px 25px;
  }
}