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

:root {
  --page-primary-color: #0A246A;
  --page-secondary-color: #F39C12;
  --page-text-color-dark: #333333;
  --page-text-color-light: #ffffff;
  --page-bg-light: #f4f7f6;
  --page-bg-dark: #0A246A;
  --page-border-color: #e0e0e0;
}

.page-responsible-gambling-help-resources {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--page-text-color-dark);
  background-color: var(--page-bg-light);
}

.page-responsible-gambling-help-resources__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-responsible-gambling-help-resources__hero-section {
  background: linear-gradient(135deg, var(--page-primary-color) 0%, #1a3a8a 100%);
  color: var(--page-text-color-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-responsible-gambling-help-resources__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract_lines,gradient_pattern,tech_blue]');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.page-responsible-gambling-help-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--page-text-color-light);
  position: relative;
  z-index: 1;
}

.page-responsible-gambling-help-resources__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.page-responsible-gambling-help-resources__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1em;
  position: relative;
  z-index: 1;
}

.page-responsible-gambling-help-resources__btn--primary {
  background-color: var(--page-secondary-color);
  color: var(--page-text-color-light);
}

.page-responsible-gambling-help-resources__btn--primary:hover {
  background-color: #d88b0f;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling-help-resources__btn--secondary {
  background-color: transparent;
  color: var(--page-primary-color);
  border: 2px solid var(--page-primary-color);
}

.page-responsible-gambling-help-resources__btn--secondary:hover {
  background-color: var(--page-primary-color);
  color: var(--page-text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling-help-resources__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-responsible-gambling-help-resources__content-section {
  padding: 60px 0;
}

.page-responsible-gambling-help-resources__section-title {
  font-size: 2.5em;
  color: var(--page-primary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  font-weight: 700;
}

.page-responsible-gambling-help-resources__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-responsible-gambling-help-resources__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-responsible-gambling-help-resources__image-text-layout:nth-of-type(even) {
  flex-direction: row-reverse;
}

.page-responsible-gambling-help-resources__image {
  flex: 1;
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-responsible-gambling-help-resources__text-content {
  flex: 1;
  max-width: 50%;
}

.page-responsible-gambling-help-resources__text-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--page-text-color-dark);
}

.page-responsible-gambling-help-resources__list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-responsible-gambling-help-resources__list li {
  background-color: var(--page-text-color-light);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid var(--page-primary-color);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
}

.page-responsible-gambling-help-resources__list-small {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-responsible-gambling-help-resources__list-small li {
  font-size: 0.95em;
  margin-bottom: 5px;
  color: var(--page-text-color-dark);
}

.page-responsible-gambling-help-resources__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-responsible-gambling-help-resources__card {
  background-color: var(--page-text-color-light);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-responsible-gambling-help-resources__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.page-responsible-gambling-help-resources__card-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 25px;
}

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

.page-responsible-gambling-help-resources__card-description {
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-responsible-gambling-help-resources__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-responsible-gambling-help-resources__feature-item {
  background-color: var(--page-text-color-light);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  border-top: 5px solid var(--page-secondary-color);
}

.page-responsible-gambling-help-resources__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-responsible-gambling-help-resources__feature-item p {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-responsible-gambling-help-resources__advice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.page-responsible-gambling-help-resources__advice-item {
  background-color: var(--page-text-color-light);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  border-left: 6px solid var(--page-primary-color);
}

.page-responsible-gambling-help-resources__advice-title {
  font-size: 1.4em;
  color: var(--page-primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-responsible-gambling-help-resources__advice-item p {
  font-size: 0.95em;
  color: #555;
}

.page-responsible-gambling-help-resources__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  text-align: center;
}

.page-responsible-gambling-help-resources__contact-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: var(--page-text-color-dark);
}

.page-responsible-gambling-help-resources__cta-group {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-responsible-gambling-help-resources__final-note {
  text-align: center;
  margin-top: 60px;
  font-style: italic;
  color: #777;
  font-size: 1em;
  padding-top: 20px;
  border-top: 1px dashed var(--page-border-color);
}

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

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

  .page-responsible-gambling-help-resources__image-text-layout {
    flex-direction: column;
    text-align: center;
  }

  .page-responsible-gambling-help-resources__image-text-layout:nth-of-type(even) {
    flex-direction: column;
  }

  .page-responsible-gambling-help-resources__image,
  .page-responsible-gambling-help-resources__text-content {
    max-width: 100%;
  }

  .page-responsible-gambling-help-resources__image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling-help-resources__hero-title {
    font-size: 2.2em;
  }

  .page-responsible-gambling-help-resources__hero-description {
    font-size: 1em;
  }

  .page-responsible-gambling-help-resources__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-responsible-gambling-help-resources__cards-grid,
  .page-responsible-gambling-help-resources__feature-grid,
  .page-responsible-gambling-help-resources__advice-grid {
    grid-template-columns: 1fr;
  }

  .page-responsible-gambling-help-resources__card,
  .page-responsible-gambling-help-resources__feature-item,
  .page-responsible-gambling-help-resources__advice-item {
    padding: 25px;
  }

  .page-responsible-gambling-help-resources__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-responsible-gambling-help-resources__btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling-help-resources__hero-section {
    padding: 80px 0;
  }

  .page-responsible-gambling-help-resources__hero-title {
    font-size: 1.8em;
  }

  .page-responsible-gambling-help-resources__section-title {
    font-size: 1.5em;
  }

  .page-responsible-gambling-help-resources__list li {
    padding: 12px 15px;
    font-size: 0.95em;
  }

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

  .page-responsible-gambling-help-resources__feature-title {
    font-size: 1.3em;
  }

  .page-responsible-gambling-help-resources__advice-title {
    font-size: 1.2em;
  }
}