/* style/responsible-gambling.css */
.page-responsible-gambling {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-responsible-gambling__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 40px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: #08160F;
}

.page-responsible-gambling__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

.page-responsible-gambling__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-responsible-gambling__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-responsible-gambling__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-responsible-gambling__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-responsible-gambling__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main for button */
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

.page-responsible-gambling__section {
  padding: 60px 20px;
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-responsible-gambling__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-responsible-gambling__section-title {
  font-size: 2.2em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-responsible-gambling__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F, #13994A);
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-responsible-gambling__text-block {
  font-size: 1.05em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-responsible-gambling__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #F2FFF6; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.page-responsible-gambling__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-responsible-gambling__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

.page-responsible-gambling__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2AD16F; /* A bright green for checkmark */
  font-weight: bold;
}

.page-responsible-gambling__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-responsible-gambling__feature-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__feature-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-responsible-gambling__feature-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.5;
}

.page-responsible-gambling__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #2AD16F; /* Bright green for secondary button text */
  border: 2px solid #2AD16F;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  margin-top: 20px;
}

.page-responsible-gambling__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F; /* Dark background color for hover text */
  transform: translateY(-2px);
}

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

.page-responsible-gambling__list--columns .page-responsible-gambling__list-item {
  padding-left: 0;
  margin-bottom: 0;
}

.page-responsible-gambling__list--columns .page-responsible-gambling__list-item::before {
  content: none;
}

.page-responsible-gambling__list-title {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-responsible-gambling__help-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-responsible-gambling__help-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__help-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-responsible-gambling__help-card .page-responsible-gambling__list-item a {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
}

.page-responsible-gambling__help-card .page-responsible-gambling__list-item a:hover {
  text-decoration: underline;
}

.page-responsible-gambling__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

.page-responsible-gambling__faq-list {
  margin-top: 40px;
}

.page-responsible-gambling__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-responsible-gambling__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  transition: background-color 0.3s ease;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-responsible-gambling__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Lighter border color for hover */
}

.page-responsible-gambling__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

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

.page-responsible-gambling__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

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

.page-responsible-gambling__faq-item summary {
  list-style: none;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-responsible-gambling__hero-section {
    padding-bottom: 30px;
  }

  .page-responsible-gambling__main-title {
    font-size: clamp(1.8em, 4vw, 3em);
  }

  .page-responsible-gambling__section {
    padding: 40px 15px;
  }

  .page-responsible-gambling__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-responsible-gambling__card-grid, 
  .page-responsible-gambling__feature-grid, 
  .page-responsible-gambling__list--columns, 
  .page-responsible-gambling__help-resources {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-responsible-gambling__card, 
  .page-responsible-gambling__feature-card, 
  .page-responsible-gambling__help-card {
    padding: 25px;
  }

  .page-responsible-gambling__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }

  .page-responsible-gambling__faq-answer {
    padding: 0 20px 15px;
  }
}

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

  .page-responsible-gambling__hero-section {
    padding: 10px 15px 20px; /* Small top padding, reduced bottom */
  }

  .page-responsible-gambling__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-responsible-gambling__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-responsible-gambling__btn-primary, .page-responsible-gambling__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-responsible-gambling__section {
    padding: 30px 15px;
  }

  .page-responsible-gambling__section-title {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .page-responsible-gambling__text-block {
    font-size: 0.95em;
  }

  /* Images and their containers */
  .page-responsible-gambling img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-responsible-gambling__section,
  .page-responsible-gambling__card,
  .page-responsible-gambling__container,
  .page-responsible-gambling__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ specific for mobile */
  .page-responsible-gambling__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-responsible-gambling__faq-answer {
    padding: 0 15px 12px;
  }

  .page-responsible-gambling__help-resources {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-responsible-gambling__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}