.page-index-security-responsible-gaming {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page, light */
  background-color: var(--deep-navy); /* Body background from shared.css */
}

/* --- Utility Classes --- */
.page-index-security-responsible-gaming__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-security-responsible-gaming__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-security-responsible-gaming__dark-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
}

.page-index-security-responsible-gaming__light-bg {
  background-color: var(--text-main); /* White-ish background for cards in dark sections */
  color: var(--deep-navy); /* Dark text on light background */
}

.page-index-security-responsible-gaming__section-title {
  font-size: clamp(28px, 4vw, 38px); /* Responsive font size */
  color: var(--gold); /* Highlight with gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-index-security-responsible-gaming__section-description {
  font-size: 18px;
  color: var(--text-secondary); /* Lighter text for descriptions */
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

.page-index-security-responsible-gaming__card {
  background-color: var(--card-bg); /* Dark background for cards */
  color: var(--text-main); /* Light text on dark card */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-security-responsible-gaming__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-security-responsible-gaming__card-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-index-security-responsible-gaming__card-title {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-security-responsible-gaming__card-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-index-security-responsible-gaming__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-index-security-responsible-gaming__btn-primary,
.page-index-security-responsible-gaming__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for button max-width */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-index-security-responsible-gaming__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-security-responsible-gaming__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

.page-index-security-responsible-gaming__btn-secondary {
  background: var(--text-main); /* White-ish background */
  color: var(--main-color); /* Primary color text */
  border: 2px solid var(--main-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-security-responsible-gaming__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  background: var(--main-color);
  color: var(--text-main);
}

/* --- Hero Section --- */
.page-index-security-responsible-gaming__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--deep-navy);
}

.page-index-security-responsible-gaming__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-index-security-responsible-gaming__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.page-index-security-responsible-gaming__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 40px auto 0 auto;
  padding: 0 20px;
}

.page-index-security-responsible-gaming__main-title {
  font-size: clamp(36px, 5vw, 56px); /* Responsive H1 */
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}