.page-responsible-gambling {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

.page-responsible-gambling__hero {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-color: #007bff; /* Fallback */
}

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

.page-responsible-gambling__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.page-responsible-gambling__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.7), rgba(255, 193, 7, 0.7));
  z-index: 2;
}

.page-responsible-gambling__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-responsible-gambling__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-responsible-gambling__hero-cta {
  display: inline-block;
  background-color: #ffc107;
  color: #000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gambling__hero-cta:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-responsible-gambling__introduction, 
.page-responsible-gambling__core-principles, 
.page-responsible-gambling__detail-pages-list, 
.page-responsible-gambling__faq, 
.page-responsible-gambling__call-to-action {
  padding: 60px 0;
}

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-responsible-gambling__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-responsible-gambling__text-content {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #444;
}

.page-responsible-gambling__highlight-text {
  color: #007bff;
  font-weight: bold;
}

.page-responsible-gambling__core-principles {
  background-color: #e9f5ff;
}

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

.page-responsible-gambling__principle-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-responsible-gambling__principle-card:hover {
  transform: translateY(-10px);
}

.page-responsible-gambling__principle-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-responsible-gambling__principle-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-responsible-gambling__principle-description {
  font-size: 1em;
  color: #555;
}

.page-responsible-gambling__detail-pages-list {
  background-color: #f8f9fa;
}

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

.page-responsible-gambling__card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

.page-responsible-gambling__card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-responsible-gambling__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-responsible-gambling__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-responsible-gambling__card-title a:hover {
  text-decoration: underline;
}

.page-responsible-gambling__card-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-responsible-gambling__card-button {
  display: inline-block;
  background-color: #ffc107;
  color: #000; /* Dark text for contrast */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-responsible-gambling__card-button:hover {
  background-color: #e0a800;
}

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

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

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

.page-responsible-gambling__accordion-header {
  width: 100%;
  padding: 20px 25px;
  background-color: #007bff;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-responsible-gambling__accordion-header:hover {
  background-color: #0056b3;
}

.page-responsible-gambling__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-responsible-gambling__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-responsible-gambling__accordion-content {
  padding: 0 25px;
  background-color: #fefefe;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-responsible-gambling__accordion-content.active {
  max-height: 200px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-responsible-gambling__accordion-content p {
  margin: 0;
  color: #333;
}

.page-responsible-gambling__accordion-content a {
  color: #007bff;
  text-decoration: underline;
}

.page-responsible-gambling__accordion-content a:hover {
  color: #0056b3;
}

.page-responsible-gambling__call-to-action {
  background-color: #007bff;
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.page-responsible-gambling__call-to-action .page-responsible-gambling__section-title {
  color: #fff;
}

.page-responsible-gambling__call-to-action .page-responsible-gambling__section-title::after {
  background-color: #ffc107;
}

.page-responsible-gambling__call-to-action .page-responsible-gambling__text-content {
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-responsible-gambling__cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #000; /* Dark text for contrast */
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  margin: 0 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gambling__cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-responsible-gambling__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #ffc107;
  color: #ffc107;
}

.page-responsible-gambling__cta-button--secondary:hover {
  background-color: #ffc107;
  color: #000;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.8em;
  }
  .page-responsible-gambling__section-title {
    font-size: 2em;
  }
  .page-responsible-gambling__principles-grid, 
  .page-responsible-gambling__cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero {
    height: 380px;
  }
  .page-responsible-gambling__hero-title {
    font-size: 2.2em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 1em;
  }
  .page-responsible-gambling__hero-cta {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-responsible-gambling__introduction, 
  .page-responsible-gambling__core-principles, 
  .page-responsible-gambling__detail-pages-list, 
  .page-responsible-gambling__faq, 
  .page-responsible-gambling__call-to-action {
    padding: 40px 0;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-responsible-gambling__text-content {
    font-size: 0.95em;
  }
  .page-responsible-gambling__principle-card, 
  .page-responsible-gambling__card {
    padding: 25px;
  }
  .page-responsible-gambling__card-title {
    font-size: 1.5em;
  }
  .page-responsible-gambling__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px 0;
  }
  .page-responsible-gambling__call-to-action .page-responsible-gambling__text-content {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .page-responsible-gambling__hero {
    height: 300px;
  }
  .page-responsible-gambling__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 0.9em;
  }
  .page-responsible-gambling__hero-cta {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.5em;
    margin-bottom: 25px;
  }
  .page-responsible-gambling__principles-grid, 
  .page-responsible-gambling__cards-grid {
    grid-template-columns: 1fr;
  }
  .page-responsible-gambling__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-responsible-gambling__accordion-content {
    padding: 15px 20px;
  }
  .page-responsible-gambling__cta-button {
    display: block;
    width: 80%;
    max-width: 300px;
    margin: 15px auto;
  }
}