/* style/resources-safety-responsible-gaming.css */
.page-resources-safety-responsible-gaming {
  color: #ffffff; /* Body background is dark (#0a0a0a), so text must be light */
  background-color: #0a0a0a;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-resources-safety-responsible-gaming__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #8B0000, #FFD700);
  color: #ffffff;
}

.page-resources-safety-responsible-gaming__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
}

.page-resources-safety-responsible-gaming__hero-title {
  font-size: 42px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources-safety-responsible-gaming__hero-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-safety-responsible-gaming__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-resources-safety-responsible-gaming__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-safety-responsible-gaming__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-2px);
}

.page-resources-safety-responsible-gaming__hero-image-container {
  width: 100%;
  max-width: 800px;
  margin-top: 30px;
}

.page-resources-safety-responsible-gaming__hero-image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-resources-safety-responsible-gaming__section {
  padding: 60px 20px;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-safety-responsible-gaming__section-title {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-safety-responsible-gaming__content-area {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}

.page-resources-safety-responsible-gaming__content-area p {
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-resources-safety-responsible-gaming__card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #f0f0f0;
}

.page-resources-safety-responsible-gaming__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-safety-responsible-gaming__card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-resources-safety-responsible-gaming__card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-safety-responsible-gaming__card p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 0;
}

.page-resources-safety-responsible-gaming__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-safety-responsible-gaming__list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #f0f0f0;
}

.page-resources-safety-responsible-gaming__list li h3 {
  color: #FFD700;
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-resources-safety-responsible-gaming__list li p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 0;
}

.page-resources-safety-responsible-gaming__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-resources-safety-responsible-gaming__icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-resources-safety-responsible-gaming__icon-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(139, 0, 0, 0.3);
  color: #f0f0f0;
}

.page-resources-safety-responsible-gaming__icon-item img {
  
  
  margin-bottom: 15px;
  display: inline-block; /* Ensure icons are centered */
}

.page-resources-safety-responsible-gaming__icon-item h3 {
  color: #FFD700;
  font-size: 22px;
  margin-bottom: 10px;
}

.page-resources-safety-responsible-gaming__icon-item p {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 0;
}

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

.page-resources-safety-responsible-gaming__support-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #f0f0f0;
}

.page-resources-safety-responsible-gaming__support-item h3 {
  color: #FFD700;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-resources-safety-responsible-gaming__support-item p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-resources-safety-responsible-gaming__support-item a {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-safety-responsible-gaming__support-item a:hover {
  background-color: #a00000;
}

.page-resources-safety-responsible-gaming__contact-text {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-resources-safety-responsible-gaming__faq {
  background-color: #1a1a1a; /* Slightly lighter dark background for FAQ */
}

.page-resources-safety-responsible-gaming__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background-color: #2a2a2a;
}

.page-resources-safety-responsible-gaming__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #cccccc;
}

.page-resources-safety-responsible-gaming__faq-item.active .page-resources-safety-responsible-gaming__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #1a1a1a;
  border-radius: 0 0 5px 5px;
}

.page-resources-safety-responsible-gaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-safety-responsible-gaming__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.page-resources-safety-responsible-gaming__faq-question:active {
  background: #4a4a4a;
}

.page-resources-safety-responsible-gaming__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-resources-safety-responsible-gaming__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-resources-safety-responsible-gaming__faq-item.active .page-resources-safety-responsible-gaming__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Responsive styles */
@media (max-width: 1200px) {
  .page-resources-safety-responsible-gaming__hero-title {
    font-size: 38px;
  }
  .page-resources-safety-responsible-gaming__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-resources-safety-responsible-gaming {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure padding top is applied */
  }

  .page-resources-safety-responsible-gaming__hero-section {
    padding: 40px 15px;
  }

  .page-resources-safety-responsible-gaming__hero-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-resources-safety-responsible-gaming__hero-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .page-resources-safety-responsible-gaming__btn-primary,
  .page-resources-safety-responsible-gaming__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-safety-responsible-gaming__section {
    padding: 40px 15px;
  }

  .page-resources-safety-responsible-gaming__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-resources-safety-responsible-gaming__content-area {
    font-size: 15px;
  }

  .page-resources-safety-responsible-gaming__grid-3-columns,
  .page-resources-safety-responsible-gaming__icon-grid,
  .page-resources-safety-responsible-gaming__support-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-safety-responsible-gaming__card {
    padding: 20px;
  }

  .page-resources-safety-responsible-gaming__card img {
    height: 200px;
  }

  .page-resources-safety-responsible-gaming__card-title {
    font-size: 20px;
  }

  .page-resources-safety-responsible-gaming__list li {
    padding: 20px;
  }

  .page-resources-safety-responsible-gaming__list li h3 {
    font-size: 22px;
  }

  .page-resources-safety-responsible-gaming__icon-item h3 {
    font-size: 20px;
  }

  .page-resources-safety-responsible-gaming__support-item h3 {
    font-size: 22px;
  }

  .page-resources-safety-responsible-gaming__contact-text {
    font-size: 16px;
  }

  .page-resources-safety-responsible-gaming__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-resources-safety-responsible-gaming__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-resources-safety-responsible-gaming__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 22px;
  }

  .page-resources-safety-responsible-gaming__faq-answer {
    padding: 0 15px;
  }

  .page-resources-safety-responsible-gaming__faq-item.active .page-resources-safety-responsible-gaming__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive */
  .page-resources-safety-responsible-gaming img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }

  .page-resources-safety-responsible-gaming__hero-image-container,
  .page-resources-safety-responsible-gaming__image-full-width,
  .page-resources-safety-responsible-gaming__card,
  .page-resources-safety-responsible-gaming__icon-item,
  .page-resources-safety-responsible-gaming__support-item,
  .page-resources-safety-responsible-gaming__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
}