.page-news {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-news__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* body handles --header-offset */
  background-color: #08160F;
}

.page-news__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-news__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-news__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

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

.page-news__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-news__section-description {
  font-size: 1rem;
  color: #A7D9B8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__sub-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-news__latest-news-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-news__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-news__news-card {
  background-color: #11271B;
  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;
  border: 1px solid #2E7A4E;
}

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

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

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

.page-news__card-date {
  font-size: 0.9rem;
  color: #A7D9B8;
  margin-bottom: 10px;
  display: block;
}

.page-news__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-news__card-title a {
  color: #F2FFF6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-title a:hover {
  color: #57E38D;
}

.page-news__card-excerpt {
  font-size: 0.95rem;
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-news__card-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-news__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: opacity 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.page-news__btn-primary:hover {
  opacity: 0.9;
}

.page-news__btn-secondary {
  background: #11271B;
  color: #57E38D;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  border: 2px solid #2E7A4E;
  cursor: pointer;
}

.page-news__btn-secondary:hover {
  background-color: #2E7A4E;
  color: #F2FFF6;
}

.page-news__dark-section {
  background-color: #0A4B2C;
  padding: 60px 0;
}

.page-news__sports-news-section, .page-news__casino-games-news-section, .page-news__security-section {
  padding: 60px 0;
}

.page-news__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-news__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-news__text-block {
  flex: 1;
}

.page-news__text-block p {
  color: #A7D9B8;
  margin-bottom: 20px;
}

.page-news__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-news__content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-news__promotions-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-news__promotions-item {
  background-color: #11271B;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid #2E7A4E;
}

.page-news__promotions-item p {
  color: #A7D9B8;
}

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

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

.page-news__faq-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-news__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-news__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #1E3A2A;
  border-bottom: 1px solid #2E7A4E;
  list-style: none; /* For details/summary */
}

.page-news__faq-question::-webkit-details-marker {
  display: none;
}

.page-news__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

.page-news__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-news__faq-item[open] .page-news__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 20px;
}

.page-news__faq-item[open] .page-news__faq-question {
  border-bottom: none;
}

.page-news__faq-item[open] .page-news__faq-toggle {
  content: '−';
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-news__hero-content {
    padding: 0 15px;
  }

  .page-news__content-grid {
    flex-direction: column;
  }

  .page-news__content-grid--reverse {
    flex-direction: column;
  }

  .page-news__text-block, .page-news__image-block {
    flex: none;
    width: 100%;
  }

  .page-news__content-image {
    max-width: 100%;
  }
}

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

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

  .page-news__main-title {
    font-size: 2rem;
  }

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

  .page-news__section-title {
    font-size: 1.8rem;
    padding-top: 30px;
  }

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

  .page-news__sub-title {
    font-size: 1.3rem;
  }

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

  .page-news__card-image {
    height: 180px;
  }

  .page-news__card-title {
    font-size: 1.1rem;
  }

  .page-news__card-excerpt {
    font-size: 0.9rem;
  }

  .page-news__btn-primary,
  .page-news__btn-secondary {
    width: 100% !important;
    max-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: 0 15px;
  }

  .page-news__container,
  .page-news__latest-news-section,
  .page-news__sports-news-section,
  .page-news__casino-games-news-section,
  .page-news__promotions-events-section,
  .page-news__security-section,
  .page-news__cta-section,
  .page-news__faq-section,
  .page-news__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Force responsive for all images */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-news__video-section {
    padding-top: 10px !important;
  }

  .page-news__video-container,
  .page-news__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-news__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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