.page-news {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Default text color for dark background */
  background: #0D0E12; /* Default background */
}

.page-news__section {
  padding: 60px 20px;
  text-align: center;
}

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

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

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

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFB04D; /* Glow color for titles */
}

.page-news__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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 padding top, body handles header offset */
  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;
}

.page-news__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-news__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFF3E6;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__cta-button:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

/* News Grid */
.page-news__news-grid, .page-news__promo-grid, .page-news__update-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-news__news-card, .page-news__promo-card, .page-news__update-card {
  background: #17191F;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-news__light-bg .page-news__news-card, .page-news__light-bg .page-news__update-card {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-news__news-card img, .page-news__promo-card img, .page-news__update-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

.page-news__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-news__news-card .page-news__card-title a, .page-news__update-card .page-news__card-title a {
  color: #FF8C1A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__news-card .page-news__card-title a:hover, .page-news__update-card .page-news__card-title a:hover {
  color: #FFA53A;
}

.page-news__promo-card .page-news__card-title {
  color: #FFB04D;
}

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

.page-news__card-excerpt {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-news__light-bg .page-news__card-excerpt {
  color: #555555;
}

.page-news__read-more {
  display: inline-block;
  color: #FF8C1A;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-news__read-more:hover {
  color: #FFA53A;
}

.page-news__button-group {
  text-align: center;
  margin-top: 30px;
}

.page-news__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-news__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

details.page-news__faq-item summary.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF3E6;
  font-size: 18px;
  font-weight: 600;
}

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, 140, 26, 0.1);
}

.page-news__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}

.page-news__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FF8C1A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-news__faq-item .page-news__faq-answer {
  padding: 0 25px 20px;
  background: rgba(255, 140, 26, 0.05);
  border-top: 1px solid #A84F0C;
  border-radius: 0 0 10px 10px;
  color: #f0f0f0;
  text-align: left;
  font-size: 16px;
}

.page-news__faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
}

/* Bottom CTA */
.page-news__cta-bottom {
  padding: 80px 20px;
  background: #FFA53A;
  color: #333333;
}

.page-news__cta-bottom .page-news__section-title {
  color: #333333;
  text-shadow: none;
}

.page-news__cta-bottom .page-news__section-description {
  color: #555555;
}

.page-news__cta-bottom .page-news__cta-button {
  background: #0D0E12;
  color: #FFF3E6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news__cta-bottom .page-news__cta-button:hover {
  background: #17191F;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__main-title {
    font-size: 40px;
  }
  .page-news__section-title {
    font-size: 30px;
  }
  .page-news__hero-description {
    font-size: 18px;
  }
  .page-news__news-grid, .page-news__promo-grid, .page-news__update-grid {
    gap: 20px;
  }
  .page-news__news-card img, .page-news__promo-card img, .page-news__update-card img {
    height: 220px;
  }
  .page-news__card-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__hero-image {
    border-radius: 8px;
  }
  .page-news__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-news__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-news__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-news__section {
    padding: 40px 15px;
  }
  .page-news__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }
  .page-news__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-news__news-grid, .page-news__promo-grid, .page-news__update-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-news__news-card img, .page-news__promo-card img, .page-news__update-card img {
    height: 200px;
  }
  .page-news__card-content {
    padding: 20px;
  }
  .page-news__card-title {
    font-size: 18px;
  }
  .page-news__card-excerpt {
    font-size: 15px;
  }
  .page-news__read-more {
    font-size: 15px;
  }
  .page-news__btn-primary {
    padding: 10px 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__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  details.page-news__faq-item summary.page-news__faq-question {
    padding: 15px;
    font-size: 16px;
  }
  .page-news__faq-qtext {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }
  .page-news__cta-bottom {
    padding: 60px 15px;
  }

  /* Image responsive rules */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-news__section,
  .page-news__card,
  .page-news__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-news__cta-buttons,
  .page-news__button-group,
  .page-news__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-news__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: 28px;
  }
  .page-news__section-title {
    font-size: 22px;
  }
  .page-news__hero-description {
    font-size: 15px;
  }
  .page-news__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-news__news-card img, .page-news__promo-card img, .page-news__update-card img {
    
  }
  .page-news__card-title {
    font-size: 17px;
  }
  .page-news__card-excerpt {
    font-size: 14px;
  }
  details.page-news__faq-item summary.page-news__faq-question {
    font-size: 15px;
  }
  .page-news__faq-qtext {
    font-size: 15px;
  }
  .page-news__faq-toggle {
    font-size: 22px;
  }
  details.page-news__faq-item .page-news__faq-answer {
    font-size: 14px;
  }
}