/* style/responsible-gaming-support-resources.css */
.page-responsible-gaming-support-resources {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text on dark background */
  background-color: #0F0820; /* Slightly lighter than main #1A0D3B for contrast */
}

.page-responsible-gaming-support-resources__hero {
  background: linear-gradient(135deg, #1A0D3B, #3A1B6B);
  padding: 100px 0;
  text-align: center;
  color: #FFD700; /* Gold for hero text */
  position: relative;
  overflow: hidden;
}

.page-responsible-gaming-support-resources__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_pattern,dark_gold,subtle]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-responsible-gaming-support-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.page-responsible-gaming-support-resources__hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

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

.page-responsible-gaming-support-resources__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-responsible-gaming-support-resources__section:last-of-type {
  border-bottom: none;
}

.page-responsible-gaming-support-resources__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-responsible-gaming-support-resources__sub-section-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-responsible-gaming-support-resources__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-responsible-gaming-support-resources__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-responsible-gaming-support-resources__text-content {
  flex: 1;
  min-width: 300px;
}

.page-responsible-gaming-support-resources__image-box {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-responsible-gaming-support-resources__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming-support-resources__image--center {
  display: block;
  margin: 40px auto;
  max-width: 80%;
}

.page-responsible-gaming-support-resources p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-responsible-gaming-support-resources strong {
  color: #FFD700;
}

.page-responsible-gaming-support-resources__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-responsible-gaming-support-resources__list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.05em;
}

.page-responsible-gaming-support-resources__list--columns {
  list-style-type: none;
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-responsible-gaming-support-resources__list--columns li {
  position: relative;
  padding-left: 30px;
}

.page-responsible-gaming-support-resources__list--columns li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.2em;
}

.page-responsible-gaming-support-resources__btn {
  display: inline-block;
  background-color: #FFD700;
  color: #1A0D3B;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-responsible-gaming-support-resources__btn:hover {
  background-color: #E0B700;
  transform: translateY(-3px);
}

.page-responsible-gaming-support-resources__btn--primary {
  background-color: #FFD700;
  color: #1A0D3B;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-responsible-gaming-support-resources__btn--primary:hover {
  background-color: #E0B700;
}

.page-responsible-gaming-support-resources__note {
  font-style: italic;
  color: #AAAAAA;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

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

.page-responsible-gaming-support-resources__grid-item {
  background-color: #1A0D3B;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming-support-resources__grid-title {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-responsible-gaming-support-resources__grid--tools {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.page-responsible-gaming-support-resources__tool-card:hover {
  transform: translateY(-5px);
  background-color: #2A1B4B;
}

.page-responsible-gaming-support-resources__tool-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-responsible-gaming-support-resources__tool-title {
  color: #FFD700;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-responsible-gaming-support-resources__link {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-responsible-gaming-support-resources__link:hover {
  color: #E0B700;
}

.page-responsible-gaming-support-resources__accordion-item {
  background-color: #1A0D3B;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming-support-resources__accordion-header {
  background-color: #2A1B4B; /* Darker variant of main color */
  color: #FFD700;
  padding: 20px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.25em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  position: relative;
  padding-right: 50px; /* Space for arrow */
}

.page-responsible-gaming-support-resources__accordion-header::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-responsible-gaming-support-resources__accordion-header.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-responsible-gaming-support-resources__accordion-header:hover {
  background-color: #3A1B6B;
}

.page-responsible-gaming-support-resources__accordion-content {
  padding: 0 25px;
  background-color: #1A0D3B;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-responsible-gaming-support-resources__accordion-content.active {
  max-height: 300px; /* Adjust based on expected content length */
  padding: 20px 25px;
}

.page-responsible-gaming-support-resources__accordion-content p {
  margin-bottom: 0;
  color: #E0E0E0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-responsible-gaming-support-resources__hero-title {
    font-size: 2.5em;
  }
  .page-responsible-gaming-support-resources__hero-subtitle {
    font-size: 1.1em;
  }
  .page-responsible-gaming-support-resources__section-title {
    font-size: 2em;
  }
  .page-responsible-gaming-support-resources__content-wrapper {
    flex-direction: column;
  }
  .page-responsible-gaming-support-resources__content-wrapper:nth-child(even) {
    flex-direction: column;
  }
  .page-responsible-gaming-support-resources__list--columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming-support-resources__hero {
    padding: 80px 0;
  }
  .page-responsible-gaming-support-resources__hero-title {
    font-size: 2em;
  }
  .page-responsible-gaming-support-resources__section {
    padding: 40px 0;
  }
  .page-responsible-gaming-support-resources__section-title {
    font-size: 1.8em;
  }
  .page-responsible-gaming-support-resources p {
    font-size: 1em;
  }
  .page-responsible-gaming-support-resources__grid {
    grid-template-columns: 1fr;
  }
  .page-responsible-gaming-support-resources__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
    padding-right: 45px;
  }
  .page-responsible-gaming-support-resources__accordion-header::after {
    right: 20px;
  }
  .page-responsible-gaming-support-resources__accordion-content.active {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming-support-resources__hero {
    padding: 60px 0;
  }
  .page-responsible-gaming-support-resources__hero-title {
    font-size: 1.8em;
  }
  .page-responsible-gaming-support-resources__hero-subtitle {
    font-size: 0.95em;
  }
  .page-responsible-gaming-support-resources__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-responsible-gaming-support-resources__section-title {
    font-size: 1.6em;
  }
  .page-responsible-gaming-support-resources__sub-section-title {
    font-size: 1.5em;
  }
  .page-responsible-gaming-support-resources__list li {
    font-size: 0.95em;
  }
  .page-responsible-gaming-support-resources__tool-icon {
    width: 60px;
    height: 60px;
  }
  .page-responsible-gaming-support-resources__tool-title {
    font-size: 1.4em;
  }
}