:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-bg: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text for dark body background */
  background-color: var(--bg-color);
}

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

.page-news__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  text-align: center;
  overflow: hidden;
  color: var(--text-main);
  background-color: var(--deep-green); /* Fallback background */
}

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

.page-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.page-news__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-news__btn-primary {
  display: inline-block;
  background: var(--button-bg);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-news__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-secondary);
}

.page-news__light-bg {
  background-color: #1a2a22; /* Slightly lighter than main bg for contrast */
  color: var(--text-main);
  padding: 60px 0;
}

.page-news__dark-bg {
  background-color: var(--deep-green);
  color: var(--text-main);
  padding: 60px 0;
}

.page-news__latest-news .page-news__section-title,
.page-news__platform-overview .page-news__section-title,
.page-news__responsible-gambling .page-news__section-title,
.page-news__conclusion-cta .page-news__section-title {
  color: var(--gold-color);
}

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

.page-news__news-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-news__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-news__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-main);
  line-height: 1.3;
}

.page-news__card-meta {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-news__card-text {
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-news__card-readmore {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__card-readmore:hover {
  color: var(--secondary-color);
}

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

.page-news__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-news__cta-section {
  padding: 80px 0;
  background-color: var(--deep-green);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-news__cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-right: 40px;
  text-align: left;
}

.page-news__cta-image-wrapper {
  position: relative;
  z-index: 1;
  width: 500px;
  height: 281px; /* Maintain aspect ratio for 16:9 */
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-news__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news__cta-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gold-color);
}

.page-news__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-news__platform-overview .page-news__section-description,
.page-news__betting-strategy .page-news__section-description,
.page-news__responsible-gambling .page-news__section-description,
.page-news__faq-section .page-news__section-description,
.page-news__conclusion-cta .page-news__section-description {
  color: var(--text-secondary);
}

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

.page-news__feature-item,
.page-news__strategy-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-news__feature-title,
.page-news__strategy-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-news__feature-text,
.page-news__strategy-text {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-news__responsible-gambling ul {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-news__responsible-gambling li {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-news__responsible-gambling li::before {
  content: '✅';
  margin-right: 15px;
  font-size: 1.2em;
  color: var(--glow-color);
  flex-shrink: 0;
}

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

.page-news__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-news__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--text-main);
  transition: background-color 0.3s ease;
}

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

.page-news__faq-item summary:hover {
  background-color: var(--divider-color);
}

.page-news__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--primary-color);
}

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

.page-news__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary);
}

.page-news__faq-answer p {
  margin: 0;
}

.page-news__faq-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-news__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-news__conclusion-cta {
  text-align: center;
  padding: 60px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-news__hero-content {
    max-width: 600px;
  }
  .page-news__main-title {
    font-size: 2.8em;
  }
  .page-news__cta-content {
    margin-right: 20px;
  }
  .page-news__cta-image-wrapper {
    width: 400px;
    height: 225px;
  }
}

@media (max-width: 768px) {
  .page-news__hero-section {
    padding-bottom: 40px;
  }
  .page-news__main-title {
    font-size: 2.2em;
  }
  .page-news__subtitle {
    font-size: 1em;
  }
  .page-news__section-title {
    font-size: 2em;
  }
  .page-news__section-description {
    font-size: 0.95em;
  }
  .page-news__news-grid {
    grid-template-columns: 1fr;
  }
  .page-news__news-card {
    margin: 0 15px;
  }
  .page-news__cta-section {
    flex-direction: column;
    padding: 60px 0;
  }
  .page-news__cta-content {
    margin-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  .page-news__cta-image-wrapper {
    width: 100%;
    height: auto;
    max-width: 500px;
  }
  .page-news__features-grid, .page-news__strategy-list {
    grid-template-columns: 1fr;
  }
  .page-news__responsible-gambling li {
    padding: 15px;
    margin: 0 15px 15px 15px;
  }
  .page-news__faq-list {
    margin: 40px 15px;
  }
  .page-news__faq-item summary {
    font-size: 1.1em;
  }
  .page-news__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Mobile image, video, button forced responsive styles */
  .page-news img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-news__section, .page-news__card, .page-news__container,
  .page-news__hero-section, .page-news__latest-news, .page-news__cta-section,
  .page-news__platform-overview, .page-news__betting-strategy,
  .page-news__responsible-gambling, .page-news__faq-section, .page-news__conclusion-cta,
  .page-news__hero-image-wrapper, .page-news__cta-image-wrapper, .page-news__faq-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Ensure content doesn't spill */
  }

  .page-news__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-news__btn-primary,
  .page-news__btn-secondary,
  .page-news a[class*="button"],
  .page-news a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  .page-news__view-all-button,
  .page-news__cta-content,
  .page-news__responsible-gambling .page-news__btn-secondary {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px;
    align-items: center;
  }
  .page-news__cta-content .page-news__btn-primary {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-news__main-title {
    font-size: 1.8em;
  }
  .page-news__section-title {
    font-size: 1.8em;
  }
  .page-news__cta-title {
    font-size: 2em;
  }
  .page-news__feature-title,
  .page-news__strategy-title {
    font-size: 1.4em;
  }
  .page-news__faq-item summary {
    font-size: 1em;
  }
  .page-news__faq-answer {
    font-size: 0.9em;
  }
}