.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as shared.css handles body padding */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

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

.page-news__hero-content {
  max-width: 900px;
  margin: 20px auto 0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  background: #ffffff; /* Default light background for contrast */
  color: #333333; /* Dark text for light background */
  transform: translateY(-50px);
  position: relative;
  z-index: 1;
}

.page-news__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #FF8C1A;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-news__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555555;
}

.page-news__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-news__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

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

.page-news__latest-news-section,
.page-news__in-depth-analysis-section,
.page-news__platform-updates-section,
.page-news__community-events,
.page-news__cta-section,
.page-news__faq-section {
  padding: 60px 0;
}

.page-news__dark-section {
  background: #0D0E12;
  color: #FFF3E6;
}

.page-news__dark-section .page-news__section-title,
.page-news__dark-section .page-news__description {
  color: #FFF3E6;
}

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

.page-news__section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-news__section-description {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #cccccc;
}

.page-news__light-bg .page-news__section-description {
  color: #555555;
}

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

.page-news__news-card {
  background: #17191F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-news__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #FFB04D;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.page-news__card-link:hover .page-news__card-title {
  color: #FFA53A;
}

.page-news__card-date {
  font-size: 14px;
  color: #A84F0C;
  margin-bottom: 15px;
  display: block;
}

.page-news__card-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF3E6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  font-size: 16px;
  font-weight: 600;
  color: #FFA53A;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
}

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

.page-news__view-all-btn-container {
  text-align: center;
}

.page-news__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #A84F0C;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #A84F0C;
}

.page-news__btn-secondary:hover {
  background: transparent;
  color: #A84F0C;
  border-color: #A84F0C;
}

.page-news__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #333333;
}

.page-news__article-body h3 {
  font-size: 24px;
  font-weight: 600;
  color: #FF8C1A;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-news__article-body p {
  margin-bottom: 20px;
}

.page-news__article-figure {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-news__cta-section .page-news__description {
  max-width: 700px;
  margin: 20px auto 40px;
}

/* FAQ Section */
details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F;
  color: #FFF3E6;
}
details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
  display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
  background: #0D0E12;
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFB04D;
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12;
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    margin-bottom: 20px;
  }
  .page-news__hero-image-wrapper {
    max-height: 400px;
  }
  .page-news__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio if any */
    width: 100% !important;
    height: auto !important;
  }
  .page-news__hero-content {
    margin: 10px auto 0;
    padding: 20px;
    transform: translateY(-30px);
  }
  .page-news__main-title {
    font-size: 28px;
  }
  .page-news__description {
    font-size: 16px;
  }
  .page-news__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news__latest-news-section,
  .page-news__in-depth-analysis-section,
  .page-news__platform-updates-section,
  .page-news__community-events,
  .page-news__cta-section,
  .page-news__faq-section {
    padding: 40px 0;
  }

  .page-news__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-news__section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .page-news__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-news__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden;
  }

  .page-news__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-news__card-image {
    height: 180px;
  }

  .page-news__card-title {
    font-size: 18px;
  }

  .page-news__card-excerpt {
    font-size: 15px;
  }

  .page-news__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news__article-body {
    font-size: 16px;
    padding: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-news__article-body h3 {
    font-size: 20px;
  }

  .page-news__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px 0;
  }

  .page-news__cta-section {
    padding: 60px 0;
  }

  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px;
  }
  .page-news__faq-qtext {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
  }

  /* General image and container responsiveness for all images within .page-news */
  .page-news img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__hero-image-wrapper,
  .page-news__news-grid,
  .page-news__view-all-btn-container,
  .page-news__article-body,
  .page-news__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}