.page-responsible-gambling {
  color: #333333; /* Dark text for default white body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-responsible-gambling__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  background-color: #0A2463;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-responsible-gambling__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-responsible-gambling__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-responsible-gambling__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-responsible-gambling__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-responsible-gambling__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-responsible-gambling__section-title {
  font-size: 2.2em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-responsible-gambling__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-responsible-gambling__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-responsible-gambling__commitment-section,
.page-responsible-gambling__tools-section,
.page-responsible-gambling__understanding-section,
.page-responsible-gambling__protection-section,
.page-responsible-gambling__help-section,
.page-responsible-gambling__resources-section,
.page-responsible-gambling__cta-section {
  padding: 80px 0;
}

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

.page-responsible-gambling__commitment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-responsible-gambling__commitment-item {
  background-color: #f0f4f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-responsible-gambling__item-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-responsible-gambling__item-text {
  font-size: 1em;
  color: #444444;
}

.page-responsible-gambling__tools-section {
  background-color: #f8f8f8;
}

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

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

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

.page-responsible-gambling__tool-icon {
  width: 400px; /* Matching HTML width attribute */
  height: 300px; /* Matching HTML height attribute */
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-responsible-gambling__card-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
}

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

.page-responsible-gambling__action-center {
  background-color: #0A2463;
  color: #ffffff;
  padding: 50px;
  border-radius: 10px;
  text-align: center;
}

.page-responsible-gambling__action-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-responsible-gambling__action-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-responsible-gambling__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.page-responsible-gambling__button--primary {
  background-color: #FFD700;
  color: #0A2463;
}

.page-responsible-gambling__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-responsible-gambling__button--secondary {
  background-color: #ffffff;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-responsible-gambling__button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-responsible-gambling__button--tertiary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-responsible-gambling__button--tertiary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
}

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

.page-responsible-gambling__content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-responsible-gambling__content-flex > div {
  flex: 1;
}

.page-responsible-gambling__content-image img {
  width: 600px; /* Matching HTML width attribute */
  height: 450px; /* Matching HTML height attribute */
  max-width: 100%;
  height: auto;
  min-width: 200px; /* Enforce min image size */
  min-
  border-radius: 10px;
  object-fit: cover;
}

.page-responsible-gambling__list {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 20px;
}

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

.page-responsible-gambling__protection-section {
  background-color: #f0f4f8;
}

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

.page-responsible-gambling__protection-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-responsible-gambling__card-image {
  width: 400px; /* Matching HTML width attribute */
  height: 300px; /* Matching HTML height attribute */
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.page-responsible-gambling__help-item {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: #fdfdfd;
}

.page-responsible-gambling__resources-section {
  background-color: #f8f8f8;
}

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

.page-responsible-gambling__resource-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-responsible-gambling__card-link {
  display: inline-block;
  margin-top: 20px;
  color: #0A2463;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-responsible-gambling__card-link:hover {
  color: #FFD700;
  border-color: #0A2463;
}

.page-responsible-gambling__cta-section {
  background-color: #0A2463;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-responsible-gambling__cta-content {
  max-width: 900px;
}

.page-responsible-gambling__cta-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-responsible-gambling__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-responsible-gambling__hero-title {
    font-size: 2.4em;
  }
  .page-responsible-gambling__section-title {
    font-size: 2em;
  }
  .page-responsible-gambling__commitment-grid,
  .page-responsible-gambling__content-flex {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .page-responsible-gambling__content-image {
    order: -1; /* Image above text on mobile */
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero-section {
    padding-bottom: 40px;
  }
  .page-responsible-gambling__hero-title {
    font-size: 2em;
  }
  .page-responsible-gambling__hero-description {
    font-size: 1em;
  }
  .page-responsible-gambling__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__section-intro {
    font-size: 1em;
  }
  .page-responsible-gambling__commitment-section,
  .page-responsible-gambling__tools-section,
  .page-responsible-gambling__understanding-section,
  .page-responsible-gambling__protection-section,
  .page-responsible-gambling__help-section,
  .page-responsible-gambling__resources-section,
  .page-responsible-gambling__cta-section {
    padding: 50px 0;
  }
  .page-responsible-gambling__commitment-grid,
  .page-responsible-gambling__tools-grid,
  .page-responsible-gambling__protection-cards,
  .page-responsible-gambling__help-grid,
  .page-responsible-gambling__resources-grid {
    grid-template-columns: 1fr;
  }
  .page-responsible-gambling__action-buttons,
  .page-responsible-gambling__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-responsible-gambling__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-responsible-gambling__content-flex {
    gap: 20px;
  }
  .page-responsible-gambling__content-image img,
  .page-responsible-gambling__tool-icon,
  .page-responsible-gambling__card-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-
  }
  .page-responsible-gambling__cta-title {
    font-size: 2em;
  }
  .page-responsible-gambling__cta-description {
    font-size: 1em;
  }
  .page-responsible-gambling__list {
    padding-left: 15px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling__section-title {
    font-size: 1.6em;
  }
  .page-responsible-gambling__action-center {
    padding: 30px;
  }
  .page-responsible-gambling__action-title {
    font-size: 1.5em;
  }
  .page-responsible-gambling__cta-title {
    font-size: 1.8em;
  }
}