/* style/responsible-gambling.css */

/* Variables from shared.css are assumed to be available */
/* --primary-color: #FFD700; */
/* --secondary-color: #1A202C; */
/* --text-dark: #333333; */
/* --text-light: #ffffff; */

.page-responsible-gambling {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark, #333333); /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* A light background for the page */
}

/* --- Hero Section --- */
.page-responsible-gambling__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: var(--secondary-color, #1A202C); /* Dark background for hero */
  color: var(--text-light, #ffffff);
  overflow: hidden; /* Prevent image overflow */
}

.page-responsible-gambling__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-responsible-gambling__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-responsible-gambling__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-responsible-gambling__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-responsible-gambling__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--primary-color, #FFD700);
  line-height: 1.2;
}

.page-responsible-gambling__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light, #ffffff);
}

.page-responsible-gambling__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color, #FFD700);
  color: var(--text-light, #ffffff);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-responsible-gambling__cta-button:hover {
  background: #E6C200; /* Darker shade of primary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- General Section Styles --- */
.page-responsible-gambling__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

.page-responsible-gambling__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color, #1A202C);
}

.page-responsible-gambling__sub-section-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--secondary-color, #1A202C);
}

.page-responsible-gambling__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-responsible-gambling__image-center {
  display: block;
  margin: 20px auto 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* --- Color Backgrounds --- */
.page-responsible-gambling__light-bg {
  background-color: #f8f8f8;
  color: var(--text-dark, #333333);
}

.page-responsible-gambling__dark-bg {
  background-color: var(--secondary-color, #1A202C);
  color: var(--text-light, #ffffff);
}

.page-responsible-gambling__dark-bg .page-responsible-gambling__section-title,
.page-responsible-gambling__dark-bg .page-responsible-gambling__sub-section-title {
  color: var(--primary-color, #FFD700);
}

/* --- Grid Layout for Principles --- */
.page-responsible-gambling__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-responsible-gambling__card {
  background-color: var(--text-light, #ffffff);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark, #333333); /* Ensure card text is dark */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gambling__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-responsible-gambling__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color, #1A202C);
}

.page-responsible-gambling__card-description {
  font-size: 1em;
  line-height: 1.7;
}