.page-news {
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from body, explicit for clarity */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-news__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-news__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-news__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-news__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-news__hero-cta-button {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: 2px solid #26A9E0;
}

.page-news__hero-cta-button:hover {
  background-color: #1e87b8;
}

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

.page-news__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent background for contrast */
  border-radius: 10px;
  margin-top: -60px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 3;
}

.page-news__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #26A9E0;
}

.page-news__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-news__article-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

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

.page-news__article-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-news__article-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__article-heading {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-news__article-heading a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-heading a:hover {
  color: #ffffff;
}

.page-news__article-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

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

.page-news__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-news__dark-section .page-news__section-title {
  color: #ffffff;
}

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

.page-news__protection-guide {
  background-color: #26A9E0;
}

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

.page-news__feature-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-news__feature-item:hover {
  transform: translateY(-5px);
}

.page-news__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-news__feature-heading {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-news__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-news__game-showcase {
  background-color: #1a1a1a;
}

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

.page-news__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.page-news__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-news__game-heading {
  font-size: 1.4em;
  margin: 20px 20px 10px;
  color: #26A9E0;
}

.page-news__game-heading a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__game-heading a:hover {
  color: #ffffff;
}

.page-news__game-text {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-news__highlight {
  color: #EA7C07; /* Highlight color for keywords */
  font-weight: bold;
}

.page-news__faq-section {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.page-news__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-news__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.page-news__faq-question {
  background: rgba(255, 255, 255, 0.1);
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-news__faq-heading {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.page-news__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(45deg);
  color: #EA7C07;
}

.page-news__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background: rgba(255, 255, 255, 0.05);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px;
}

.page-news__faq-text {
  color: #f0f0f0;
  font-size: 1em;
}

.page-news__cta-section {
  background-color: #1a1a1a;
  padding: 80px 20px;
}

.page-news__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-news__btn-primary,
.page-news__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.page-news__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-news__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-news__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-news__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 2.8em;
  }

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

  .page-news__article-grid,
  .page-news__feature-grid,
  .page-news__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    height: 500px;
  }

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

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

  .page-news__hero-cta-button,
  .page-news__btn-primary,
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-news__section {
    padding: 40px 15px;
  }

  .page-news__content-area {
    padding: 40px 15px;
    margin-top: -40px;
  }

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

  .page-news__article-grid,
  .page-news__feature-grid,
  .page-news__game-grid {
    grid-template-columns: 1fr;
  }

  .page-news__article-image,
  .page-news__feature-icon,
  .page-news__game-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news__hero-image,
  .page-news__article-card,
  .page-news__feature-item,
  .page-news__game-card,
  .page-news__faq-item,
  .page-news__container,
  .page-news__article-grid,
  .page-news__feature-grid,
  .page-news__game-grid,
  .page-news__faq-list,
  .page-news__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-news__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  
  .page-news__faq-question {
    padding: 15px 20px;
  }
  
  .page-news__faq-answer {
    padding: 0 20px;
  }
  
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-news__hero-title {
    font-size: 1.8em;
  }

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

  .page-news__hero-cta-button,
  .page-news__btn-primary,
  .page-news__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}