/* style/responsible-gambling.css */
.page-responsible-gambling {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

.page-responsible-gambling__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #26A9E0; /* Brand color background for hero */
  color: #ffffff;
  text-align: center;
}

.page-responsible-gambling__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-responsible-gambling__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
}

.page-responsible-gambling__hero-content {
  max-width: 900px;
  padding: 20px;
  margin-top: 20px;
}

.page-responsible-gambling__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-responsible-gambling__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-responsible-gambling__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-responsible-gambling__btn-primary,
.page-responsible-gambling__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-responsible-gambling__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-responsible-gambling__btn-primary:hover {
  background-color: #d46c00;
  border-color: #d46c00;
}

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

.page-responsible-gambling__btn-secondary:hover {
  background-color: #e0f7fa;
  color: #1a7ea5;
}

.page-responsible-gambling__section {
  padding: 60px 0;
}

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

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0; /* Brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-responsible-gambling__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-responsible-gambling__commitment-section {
  background-color: #f9f9f9;
}

.page-responsible-gambling__tools-section {
  background-color: #f0f8ff; /* Light blue tint for this section */
}

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

.page-responsible-gambling__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gambling__card:hover {
  transform: translateY(-5px);
}

.page-responsible-gambling__card-image {
  width: 100%;
  max-width: 300px; /* Max width for card images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-responsible-gambling__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-responsible-gambling__card-text {
  font-size: 0.95em;
  color: #555555;
  text-align: justify;
}

.page-responsible-gambling__problem-signs-section {
  background-color: #ffffff;
}

.page-responsible-gambling__list {
  list-style-type: disc;
  margin-left: 25px;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-responsible-gambling__list-item {
  margin-bottom: 10px;
  font-size: 1.0em;
  color: #444444;
}

.page-responsible-gambling__tips-section {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
}

.page-responsible-gambling__tips-section .page-responsible-gambling__section-title {
  color: #ffffff;
}

.page-responsible-gambling__tips-section .page-responsible-gambling__text-block {
  color: #f0f0f0;
}

.page-responsible-gambling__tip-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gambling__tip-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-responsible-gambling__tip-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-responsible-gambling__tip-text {
  font-size: 0.95em;
  color: #f0f0f0;
  text-align: justify;
}

.page-responsible-gambling__support-section {
  background-color: #f9f9f9;
}

.page-responsible-gambling__flex-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-responsible-gambling__support-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  flex: 1 1 45%; /* Allows two cards per row on larger screens */
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gambling__support-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-responsible-gambling__support-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-responsible-gambling__support-text {
  font-size: 0.95em;
  color: #555555;
  text-align: justify;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-responsible-gambling__minor-protection-section {
  background-color: #e0f7fa;
}

.page-responsible-gambling__faq-section {
  background-color: #ffffff;
}

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

.page-responsible-gambling__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.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: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-responsible-gambling__faq-question:hover {
  background-color: #f0f0f0;
}

.page-responsible-gambling__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  margin-left: 15px;
}

.page-responsible-gambling__faq-item[open] .page-responsible-gambling__faq-question {
  background-color: #e0f7fa;
  border-bottom: none;
}

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

.page-responsible-gambling__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #eee;
  background-color: #f9f9f9;
}

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

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

/* Common styles for sections with dark background for contrast */
.page-responsible-gambling__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-responsible-gambling__dark-section .page-responsible-gambling__section-title {
  color: #ffffff;
}

.page-responsible-gambling__dark-section .page-responsible-gambling__text-block {
  color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-responsible-gambling__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

@media (max-width: 768px) {
  .page-responsible-gambling__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-responsible-gambling__hero-content {
    padding: 15px;
  }

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

  .page-responsible-gambling__description {
    font-size: 1em;
  }

  .page-responsible-gambling__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-responsible-gambling__btn-primary,
  .page-responsible-gambling__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-responsible-gambling__container {
    padding: 0 15px;
  }

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

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

  .page-responsible-gambling__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-responsible-gambling__flex-container {
    flex-direction: column;
    gap: 20px;
  }

  .page-responsible-gambling__support-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .page-responsible-gambling__list {
    margin-left: 20px;
  }

  .page-responsible-gambling__list-item {
    font-size: 0.9em;
  }

  .page-responsible-gambling img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-responsible-gambling__section,
  .page-responsible-gambling__card,
  .page-responsible-gambling__container,
  .page-responsible-gambling__hero-image-wrapper,
  .page-responsible-gambling__cta-buttons,
  .page-responsible-gambling__button-group,
  .page-responsible-gambling__btn-container,
  .page-responsible-gambling__flex-container,
  .page-responsible-gambling__grid-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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