/* style/resources-responsible-gaming.css */

/* Base styles for the page content */
.page-resources-responsible-gaming {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f4f4f4; /* Inherited from shared, but for clarity */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-resources-responsible-gaming__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-resources-responsible-gaming__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #003366; /* Secondary brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.page-resources-responsible-gaming__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-resources-responsible-gaming__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: #FF6600; /* Primary brand color for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-responsible-gaming__text-block {
  padding: 20px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.page-resources-responsible-gaming__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: flex-start;
}

.page-resources-responsible-gaming__bullet-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 15px;
  color: #333333;
}

.page-resources-responsible-gaming__bullet-list li {
  margin-bottom: 8px;
}

/* Color contrast enforcement */
.page-resources-responsible-gaming__light-bg {
  background-color: #f9f9f9;
  color: #333333;
}

.page-resources-responsible-gaming__dark-section {
  background: linear-gradient(135deg, #003366, #FF6600); /* Blend of primary and secondary for strong visual */
  color: #ffffff;
}

.page-resources-responsible-gaming__dark-section .page-resources-responsible-gaming__section-title,
.page-resources-responsible-gaming__dark-section .page-resources-responsible-gaming__sub-title,
.page-resources-responsible-gaming__dark-section .page-resources-responsible-gaming__section-description {
  color: #ffffff;
}

.page-resources-responsible-gaming__medium-bg {
  background-color: #e0e0e0;
  color: #333333;
}

/* Hero Section */
.page-resources-responsible-gaming__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px; /* Reduced padding-top here as main already has it */
  overflow: hidden;
  min-height: 500px;
}

.page-resources-responsible-gaming__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-resources-responsible-gaming__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-responsible-gaming__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 12px;
  margin-top: -80px; /* Overlap image slightly */
}

.page-resources-responsible-gaming__hero-title {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-responsible-gaming__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-resources-responsible-gaming__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-responsible-gaming__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box; /* Ensure padding is included in width */
  max-width: 100%; /* Important for mobile responsiveness */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-resources-responsible-gaming__btn-primary {
  background: #FF6600;
  color: #ffffff;
  border: 2px solid #FF6600;
}

.page-resources-responsible-gaming__btn-primary:hover {
  background: #e65c00;
  border-color: #e65c00;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-responsible-gaming__btn-secondary {
  background: #003366;
  color: #ffffff;
  border: 2px solid #003366;
}

.page-resources-responsible-gaming__btn-secondary:hover {
  background: #002244;
  border-color: #002244;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Feature Grid (for self-control tools) */
.page-resources-responsible-gaming__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-responsible-gaming__feature-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

.page-resources-responsible-gaming__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-responsible-gaming__feature-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-resources-responsible-gaming__feature-title {
  font-size: 22px;
  color: #003366;
  margin-bottom: 15px;
  flex-grow: 1; /* Allow title to take available space */
}

.page-resources-responsible-gaming__feature-item p {
  font-size: 16px;
  color: #555555;
  text-align: left;
}

.page-resources-responsible-gaming__feature-item ul {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
  margin-top: 10px;
}

.page-resources-responsible-gaming__image-left {
  width: 100%;
  height: auto;
  max-width: 500px; /* Max width for image in text block */
  border-radius: 8px;
  float: left; /* Float image to the left */
  margin-right: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section styles */
.page-resources-responsible-gaming__faq-section {
  padding-bottom: 80px;
}

.page-resources-responsible-gaming__faq-list {
  max-width: 900px;
  margin: 0 auto;
}