.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-main, #FFF6D6);
  background: var(--color-background, #0A0A0A);
}

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

.page-news__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-glow, #FFD36B);
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-news__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-text-main, #FFF6D6);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news__cta-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text on bright button */
  border: none;
}

.page-news__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
}

.page-news__btn-secondary {
  background: transparent;
  color: var(--color-glow, #FFD36B);
  border: 2px solid var(--color-glow, #FFD36B);
}

.page-news__cta-button:hover,
.page-news__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-news__btn-secondary:hover {
  background: var(--color-glow, #FFD36B);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

/* Color Contrast System */
.page-news__dark-bg {
  background: var(--color-background, #0A0A0A);
  color: var(--color-text-main, #FFF6D6);
}

.page-news__light-bg {
  background: #111111; /* Card BG */
  color: var(--color-text-main, #FFF6D6);
}

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

.page-news__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-news__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-news__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.3);
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-news__hero-section h1 {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 900;
  color: var(--color-glow, #FFD36B);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-news__hero-description {
  font-size: 1.2em;
  color: var(--color-text-main, #FFF6D6);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Latest Articles Section */
.page-news__latest-articles {
  padding: 60px 0;
}

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

.page-news__article-card {
  background: var(--color-card-bg, #111111);
  border: 1px solid var(--color-border, #3A2A12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-news__article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-news__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--color-border, #3A2A12);
}

.page-news__article-content {
  padding: 20px;
}

.page-news__article-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--color-glow, #FFD36B);
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__article-excerpt {
  font-size: 0.95em;
  color: var(--color-text-main, #FFF6D6);
  margin-bottom: 15px;
  opacity: 0.8;
}

.page-news__article-date {
  font-size: 0.85em;
  color: var(--color-glow, #FFD36B);
  opacity: 0.6;
}

.page-news__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* G666 Updates Section */
.page-news__g666-updates {
  padding: 60px 0;
}

.page-news__update-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-news__update-item {
  background: var(--color-card-bg, #111111);
  border: 1px solid var(--color-border, #3A2A12);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-news__update-title {
  font-size: 1.6em;
  color: var(--color-glow, #FFD36B);
  margin-bottom: 10px;
}

.page-news__update-text {
  font-size: 1em;
  color: var(--color-text-main, #FFF6D6);
  margin-bottom: 15px;
  opacity: 0.9;
}

.page-news__update-date {
  font-size: 0.85em;
  color: var(--color-glow, #FFD36B);
  opacity: 0.6;
}

/* Industry Insights Section */
.page-news__industry-insights {
  padding: 60px 0;
}

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

.page-news__insight-card {
  background: var(--color-card-bg, #111111);
  border: 1px solid var(--color-border, #3A2A12);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-news__insight-title {
  font-size: 1.3em;
  color: var(--color-glow, #FFD36B);
  margin-bottom: 10px;
}

.page-news__insight-text {
  font-size: 0.95em;
  color: var(--color-text-main, #FFF6D6);
  opacity: 0.85;
}

/* FAQ Section */
details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--color-border, #3A2A12);
  overflow: hidden;
  background: var(--color-card-bg, #111111);
}
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: rgba(255, 211, 107, 0.05);
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--color-text-main, #FFF6D6);
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-glow, #FFD36B);
  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: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 5px 5px;
  color: var(--color-text-main, #FFF6D6);
  font-size: 0.95em;
}
.page-news__faq-answer p {
    margin-top: 10px;
}
.page-news__faq-answer a {
    color: var(--color-glow, #FFD36B);
    text-decoration: none;
}
.page-news__faq-answer a:hover {
    text-decoration: underline;
}

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

.page-news__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: var(--color-card-bg, #111111);
  border: 1px solid var(--color-border, #3A2A12);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-news__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.2);
}

.page-news__cta-title {
  font-size: 2em;
  color: var(--color-glow, #FFD36B);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-news__cta-description {
  font-size: 1.1em;
  color: var(--color-text-main, #FFF6D6);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-news {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-news__container {
    padding: 15px;
  }

  .page-news__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 400px;
  }

  .page-news__hero-section h1 {
    font-size: 2.2em;
  }

  .page-news__hero-description {
    font-size: 1em;
  }

  .page-news__cta-button,
  .page-news__btn-primary,
  .page-news__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-news__section-title {
    font-size: 2em;
  }

  .page-news__section-description {
    font-size: 0.95em;
  }

  .page-news__articles-grid,
  .page-news__insights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-news__article-title {
    font-size: 1.2em;
  }

  .page-news__update-item {
    padding: 20px;
  }

  .page-news__update-title {
    font-size: 1.3em;
  }

  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px;
  }

  .page-news__faq-qtext {
    font-size: 1em;
  }

  .page-news__faq-toggle {
    font-size: 20px;
  }

  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
  }

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

  .page-news__cta-title {
    font-size: 1.5em;
  }

  .page-news__cta-description {
    font-size: 0.95em;
  }

  .page-news__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 0;
    padding-right: 0;
  }

  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-news__section,
  .page-news__card,
  .page-news__container,
  .page-news__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}