/* style/responsible-gambling-self-assessment.css */
.page-responsible-gambling-self-assessment {
  --primary-color: #0A2E50;
  --secondary-color: #FFD700;
  --text-on-dark: #f0f0f0;
  --text-on-light: #333;
  --accent-color-dark: #b39700; /* Darker variant of secondary for text on light secondary background */
  --background-light: #f8f8f8;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-on-light);
}

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

.page-responsible-gambling-self-assessment__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a75 100%);
  color: var(--text-on-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-responsible-gambling-self-assessment__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling-self-assessment__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling-self-assessment__hero-image {
  max-width: 70%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

.page-responsible-gambling-self-assessment__intro-section,
.page-responsible-gambling-self-assessment__how-it-works-section,
.page-responsible-gambling-self-assessment__assessment-section,
.page-responsible-gambling-self-assessment__next-steps-section,
.page-responsible-gambling-self-assessment__resources-section,
.page-responsible-gambling-self-assessment__cta-section {
  padding: 60px 0;
  background-color: var(--background-light);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-responsible-gambling-self-assessment__intro-section,
.page-responsible-gambling-self-assessment__next-steps-section {
  background-color: #ffffff;
}

.page-responsible-gambling-self-assessment__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

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

.page-responsible-gambling-self-assessment p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-on-light);
}

.page-responsible-gambling-self-assessment .highlight-text {
  color: var(--primary-color);
  font-weight: bold;
}

.page-responsible-gambling-self-assessment__image {
  max-width: 40%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 30px 0;
  float: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling-self-assessment__image--right {
  float: right;
  margin-left: 40px;
}

.page-responsible-gambling-self-assessment__image--left {
  float: left;
  margin-right: 40px;
}

.page-responsible-gambling-self-assessment__image--center {
  display: block;
  margin: 30px auto;
  float: none;
}

.page-responsible-gambling-self-assessment__assessment-description {
  text-align: center;
  margin-bottom: 40px;
}

.page-responsible-gambling-self-assessment__form {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

.page-responsible-gambling-self-assessment__question-group {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #eee;
}

.page-responsible-gambling-self-assessment__question-group:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.page-responsible-gambling-self-assessment__question {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-responsible-gambling-self-assessment__question-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1em;
  cursor: pointer;
  color: var(--text-on-light);
}

.page-responsible-gambling-self-assessment__question-group input[type="radio"] {
  margin-right: 10px;
  transform: scale(1.2);
  vertical-align: middle;
}

.page-responsible-gambling-self-assessment__submit-btn {
  display: block;
  width: 100%;
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 30px;
}

.page-responsible-gambling-self-assessment__submit-btn:hover {
  background-color: var(--accent-color-dark);
  transform: translateY(-2px);
}

.page-responsible-gambling-self-assessment__result-box {
  background-color: var(--primary-color);
  color: var(--text-on-dark);
  padding: 30px;
  border-radius: 10px;
  margin-top: 40px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling-self-assessment__result-title {
  font-size: 2em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-responsible-gambling-self-assessment__score-display {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-responsible-gambling-self-assessment__score-display #score {
  color: var(--secondary-color);
}

.page-responsible-gambling-self-assessment__interpretation {
  font-size: 1.2em;
  line-height: 1.8;
}

.page-responsible-gambling-self-assessment__step-card {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-left: 5px solid var(--primary-color);
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.page-responsible-gambling-self-assessment__step-card:hover {
  transform: translateY(-5px);
}

.page-responsible-gambling-self-assessment__step-card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-responsible-gambling-self-assessment__sub-section-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}

.page-responsible-gambling-self-assessment__list {
  list-style: disc inside;
  padding-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-responsible-gambling-self-assessment__list li {
  margin-bottom: 10px;
  color: var(--text-on-light);
}

.page-responsible-gambling-self-assessment__cta-section {
  background-color: var(--primary-color);
  color: var(--text-on-dark);
  text-align: center;
  padding: 80px 0;
}

.page-responsible-gambling-self-assessment__cta-section .page-responsible-gambling-self-assessment__section-title {
  color: var(--secondary-color);
}

.page-responsible-gambling-self-assessment__cta-section .page-responsible-gambling-self-assessment__section-title::after {
  background-color: var(--text-on-dark);
}

.page-responsible-gambling-self-assessment__cta-section p {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling-self-assessment__cta-btn {
  display: inline-block;
  padding: 18px 40px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.page-responsible-gambling-self-assessment__cta-btn:hover {
  background-color: #ffd000; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gambling-self-assessment__hero-title {
    font-size: 2.8em;
  }
  .page-responsible-gambling-self-assessment__hero-subtitle {
    font-size: 1.3em;
  }
  .page-responsible-gambling-self-assessment__section-title {
    font-size: 2em;
  }
  .page-responsible-gambling-self-assessment__image--right,
  .page-responsible-gambling-self-assessment__image--left {
    float: none;
    margin: 30px auto;
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling-self-assessment__hero-title {
    font-size: 2.2em;
  }
  .page-responsible-gambling-self-assessment__hero-subtitle {
    font-size: 1.1em;
  }
  .page-responsible-gambling-self-assessment__form {
    padding: 25px;
  }
  .page-responsible-gambling-self-assessment__question {
    font-size: 1.1em;
  }
  .page-responsible-gambling-self-assessment__question-group label {
    font-size: 1em;
  }
  .page-responsible-gambling-self-assessment__submit-btn {
    font-size: 1.1em;
    padding: 12px 25px;
  }
  .page-responsible-gambling-self-assessment__step-card {
    padding: 20px;
  }
  .page-responsible-gambling-self-assessment__cta-btn {
    font-size: 1.2em;
    padding: 15px 30px;
  }
  .page-responsible-gambling-self-assessment__hero-image {
    max-width: 90%;
  }
  .page-responsible-gambling-self-assessment__image {
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling-self-assessment__hero-section,
  .page-responsible-gambling-self-assessment__intro-section,
  .page-responsible-gambling-self-assessment__how-it-works-section,
  .page-responsible-gambling-self-assessment__assessment-section,
  .page-responsible-gambling-self-assessment__next-steps-section,
  .page-responsible-gambling-self-assessment__resources-section,
  .page-responsible-gambling-self-assessment__cta-section {
    padding: 40px 0;
  }
  .page-responsible-gambling-self-assessment__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling-self-assessment__hero-subtitle {
    font-size: 1em;
  }
  .page-responsible-gambling-self-assessment__section-title {
    font-size: 1.8em;
  }
  .page-responsible-gambling-self-assessment__form {
    padding: 15px;
  }
  .page-responsible-gambling-self-assessment__question-group {
    margin-bottom: 20px;
  }
  .page-responsible-gambling-self-assessment__question {
    font-size: 1em;
  }
  .page-responsible-gambling-self-assessment__question-group label {
    font-size: 0.95em;
  }
  .page-responsible-gambling-self-assessment__cta-btn {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-responsible-gambling-self-assessment__hero-image {
    max-width: 100%;
  }
  .page-responsible-gambling-self-assessment__image {
    max-width: 95%;
  }
}