/* style/responsible-gaming.css */
:root {
  --primary-color: #0A2463; /* Midnight Blue */
  --secondary-color: #E3B505; /* Golden Yellow */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark-card: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-responsible-gaming {
  color: var(--text-dark);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--bg-light);
}

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

/* Fixed header padding */
.page-responsible-gaming__intro-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

.page-responsible-gaming__main-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-responsible-gaming__intro-text {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.page-responsible-gaming__keyword-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-responsible-gaming__keyword-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-responsible-gaming__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin: 60px 0 30px 0;
  line-height: 1.3;
}

.page-responsible-gaming__section-description {
  font-size: 17px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gaming__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 40px;
  object-fit: cover;
}

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

.page-responsible-gaming__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-responsible-gaming__card-image {
  width: 250px; /* Minimum 200px */
  height: 200px; /* Minimum 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-responsible-gaming__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-responsible-gaming__card-text {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  flex-grow: 1;
}

/* Feature List for Tools Section */
.page-responsible-gaming__dark-section {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-responsible-gaming__dark-section .page-responsible-gaming__section-title,
.page-responsible-gaming__dark-section .page-responsible-gaming__section-description {
  color: var(--text-light);
}

.page-responsible-gaming__dark-section .page-responsible-gaming__keyword-link {
  color: var(--secondary-color);
}

.page-responsible-gaming__feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

.page-responsible-gaming__feature-item {
  display: flex;
  align-items: flex-start;
  background: var(--bg-dark-card);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__feature-icon {
  width: 200px; /* Minimum 200px */
  height: 200px; /* Minimum 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-right: 25px;
  flex-shrink: 0;
}

.page-responsible-gaming__feature-content {
  flex-grow: 1;
}

.page-responsible-gaming__feature-title {
  font-size: 26px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-responsible-gaming__feature-text {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

.page-responsible-gaming__cta-block {
  text-align: center;
  margin-top: 50px;
}

.page-responsible-gaming__cta-block p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 25px;
}

.page-responsible-gaming__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__cta-button:hover {
  background: #f0c23a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* List Grid for Signs Section */
.page-responsible-gaming__list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-responsible-gaming__list-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gaming__list-icon {
  width: 200px; /* Minimum 200px */
  height: 200px; /* Minimum 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-responsible-gaming__list-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-responsible-gaming__list-text {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  flex-grow: 1;
}

/* Contact Grid for Help Section */
.page-responsible-gaming__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-responsible-gaming__contact-card {
  background: var(--bg-dark-card);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gaming__contact-icon {
  width: 200px; /* Minimum 200px */
  height: 200px; /* Minimum 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-responsible-gaming__contact-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-responsible-gaming__contact-text {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-responsible-gaming__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
  cursor: pointer;
}

.page-responsible-gaming__btn-secondary:hover {
  background: var(--secondary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Benefits Section */
.page-responsible-gaming__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-responsible-gaming__benefit-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gaming__benefit-icon {
  width: 200px; /* Minimum 200px */
  height: 200px; /* Minimum 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-responsible-gaming__benefit-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-responsible-gaming__benefit-text {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  flex-grow: 1;
}

/* Advice Section */
.page-responsible-gaming__advice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-responsible-gaming__advice-card {
  background: var(--bg-dark-card);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-responsible-gaming__advice-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-responsible-gaming__advice-text {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Conclusion Section */
.page-responsible-gaming__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--bg-light);
}

.page-responsible-gaming__conclusion-text {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.page-responsible-gaming__cta-button--large {
  padding: 18px 45px;
  font-size: 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 10px;
}

.page-responsible-gaming__cta-button--large:hover {
  background: #f0c23a;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gaming__main-title {
    font-size: 38px;
  }
  .page-responsible-gaming__section-title {
    font-size: 32px;
  }
  .page-responsible-gaming__feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-responsible-gaming__feature-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming__intro-section {
    padding-top: 140px !important; /* Mobile: Adjust based on mobile fixed header height */
  }
  .page-responsible-gaming__container {
    padding: 15px;
  }
  .page-responsible-gaming__main-title {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .page-responsible-gaming__intro-text {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-responsible-gaming__section-title {
    font-size: 28px;
    margin: 40px 0 25px 0;
  }
  .page-responsible-gaming__section-description,
  .page-responsible-gaming__card-text,
  .page-responsible-gaming__feature-text,
  .page-responsible-gaming__list-text,
  .page-responsible-gaming__contact-text,
  .page-responsible-gaming__benefit-text,
  .page-responsible-gaming__advice-text,
  .page-responsible-gaming__conclusion-text,
  .page-responsible-gaming__cta-block p {
    font-size: 15px;
  }
  .page-responsible-gaming__card-title,
  .page-responsible-gaming__list-title,
  .page-responsible-gaming__benefit-title {
    font-size: 20px;
  }
  .page-responsible-gaming__feature-title,
  .page-responsible-gaming__contact-title,
  .page-responsible-gaming__advice-title {
    font-size: 22px;
  }
  .page-responsible-gaming__cta-button,
  .page-responsible-gaming__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-responsible-gaming__cta-button--large {
    padding: 15px 30px;
    font-size: 18px;
  }
  .page-responsible-gaming__card-image,
  .page-responsible-gaming__feature-icon,
  .page-responsible-gaming__list-icon,
  .page-responsible-gaming__contact-icon,
  .page-responsible-gaming__benefit-icon {
    width: 200px !important;
    height: 150px !important;
    max-width: 100% !important;
    object-fit: cover;
  }

  .page-responsible-gaming img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-responsible-gaming__intro-section,
  .page-responsible-gaming__principles-section,
  .page-responsible-gaming__tools-section,
  .page-responsible-gaming__signs-section,
  .page-responsible-gaming__help-section,
  .page-responsible-gaming__benefits-section,
  .page-responsible-gaming__advice-section,
  .page-responsible-gaming__conclusion-section,
  .page-responsible-gaming__container,
  .page-responsible-gaming__card,
  .page-responsible-gaming__feature-item,
  .page-responsible-gaming__list-item,
  .page-responsible-gaming__contact-card,
  .page-responsible-gaming__benefit-item,
  .page-responsible-gaming__advice-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Color Contrast Fixes (if needed, though design aims for compliance) */
.page-responsible-gaming__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-responsible-gaming__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}