/* style/responsible-gambling-support-resources.css */

/* Variables for consistent styling */
:root {
  --page-primary-color: #0A2239;
  --page-secondary-color: #FFD700;
  --page-text-light: #F0F0F0; /* For dark backgrounds */
  --page-text-dark: #333333; /* For light backgrounds */
  --page-background-light: #FFFFFF;
  --page-background-dark: #0A2239;
  --page-accent-color: #f5ddc6; /* Complementary to primary */
}

/* Base styles for the page content */
.page-responsible-gambling-support-resources {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--page-text-dark);
  background-color: var(--page-background-light);
}

/* Container for content alignment */
.page-responsible-gambling-support-resources__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-responsible-gambling-support-resources__hero-section {
  background: linear-gradient(135deg, var(--page-primary-color) 0%, #1A3A5A 100%);
  color: var(--page-text-light);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-responsible-gambling-support-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--page-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling-support-resources__hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
  color: var(--page-accent-color);
}

.page-responsible-gambling-support-resources__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

/* Content Sections */
.page-responsible-gambling-support-resources__content-section {
  padding: 60px 0;
  background-color: var(--page-background-light);
}

.page-responsible-gambling-support-resources__content-section:nth-of-type(odd) {
  background-color: #f9f9f9; /* Slightly different background for visual separation */
}

.page-responsible-gambling-support-resources__section-title {
  font-size: 2.5em;
  color: var(--page-primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-responsible-gambling-support-resources__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-secondary-color);
  border-radius: 2px;
}

.page-responsible-gambling-support-resources__content-section p {
  font-size: 1.1em;
  margin-bottom: 1.5em;
  color: var(--page-text-dark);
  text-align: justify;
}

.page-responsible-gambling-support-resources__list {
  list-style: none;
  padding: 0;
  margin-bottom: 2em;
}

.page-responsible-gambling-support-resources__list li {
  background-color: #e8f0f7; /* Light blue for list items */
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid var(--page-secondary-color);
  border-radius: 5px;
  font-size: 1.05em;
  color: var(--page-text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling-support-resources__list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling-support-resources__list li strong {
  color: var(--page-primary-color);
}

.page-responsible-gambling-support-resources__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Resource Grid */
.page-responsible-gambling-support-resources__resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-responsible-gambling-support-resources__resource-card {
  background-color: var(--page-background-light);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling-support-resources__resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-responsible-gambling-support-resources__card-title {
  font-size: 1.8em;
  color: var(--page-primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-responsible-gambling-support-resources__resource-card p {
  font-size: 1em;
  margin-bottom: 10px;
  color: var(--page-text-dark);
}

.page-responsible-gambling-support-resources__link-button {
  display: inline-block;
  background-color: var(--page-primary-color);
  color: var(--page-text-light);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 1px solid var(--page-primary-color);
}

.page-responsible-gambling-support-resources__link-button:hover {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
  transform: translateY(-2px);
  border-color: var(--page-secondary-color);
}

/* Call to Action (CTA) */
.page-responsible-gambling-support-resources__cta-container {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: var(--page-primary-color);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: var(--page-text-light);
}

.page-responsible-gambling-support-resources__cta-container p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: var(--page-accent-color);
}

.page-responsible-gambling-support-resources__main-cta-button,
.page-responsible-gambling-support-resources__secondary-cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 700;
  margin: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling-support-resources__main-cta-button {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
  border: 2px solid var(--page-secondary-color);
}

.page-responsible-gambling-support-resources__main-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-responsible-gambling-support-resources__secondary-cta-button {
  background-color: transparent;
  color: var(--page-secondary-color);
  border: 2px solid var(--page-secondary-color);
}

.page-responsible-gambling-support-resources__secondary-cta-button:hover {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gambling-support-resources__hero-title {
    font-size: 2.5em;
  }

  .page-responsible-gambling-support-resources__hero-subtitle {
    font-size: 1.1em;
  }

  .page-responsible-gambling-support-resources__section-title {
    font-size: 2em;
  }

  .page-responsible-gambling-support-resources__resource-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling-support-resources__hero-section {
    padding: 60px 15px;
  }

  .page-responsible-gambling-support-resources__hero-title {
    font-size: 2em;
  }

  .page-responsible-gambling-support-resources__hero-subtitle {
    font-size: 1em;
  }

  .page-responsible-gambling-support-resources__section-title {
    font-size: 1.8em;
  }

  .page-responsible-gambling-support-resources__content-section p,
  .page-responsible-gambling-support-resources__list li {
    font-size: 0.95em;
  }

  .page-responsible-gambling-support-resources__resource-card {
    padding: 20px;
  }

  .page-responsible-gambling-support-resources__card-title {
    font-size: 1.5em;
  }
}