/* style/responsible-gambling-get-help.css */
:root {
  --primary-color: #007bff; /* Deep Blue */
  --secondary-color: #ffc107; /* Bright Gold */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #0056b3;
  --border-color: #e0e0e0;
}

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

.page-responsible-gambling-get-help__hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Adjusted for contrast */
  color: var(--text-color-light);
  overflow: hidden;
}

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

.page-responsible-gambling-get-help__hero-image {
  width: 100%;
  max-width: 800px; /* Adjust max-width as needed */
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(0.8); /* Slightly dim image for better text readability */
}

.page-responsible-gambling-get-help__hero-content {
  text-align: center;
  padding: 0 20px;
}

.page-responsible-gambling-get-help__hero h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-color-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling-get-help__hero p {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-color-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling-get-help__hero a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-responsible-gambling-get-help__hero a:hover {
  color: #fff;
}

.page-responsible-gambling-get-help__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-color-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling-get-help__cta-button:hover {
  background: #ffdb58; /* Lighter gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling-get-help__section {
  padding: 60px 0;
}

.page-responsible-gambling-get-help__section:nth-of-type(odd) {
  background-color: var(--bg-light);
}

.page-responsible-gambling-get-help__section:nth-of-type(even) {
  background-color: #e9ecef;
}

.page-responsible-gambling-get-help__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-responsible-gambling-get-help__section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 15px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gambling-get-help__section h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-responsible-gambling-get-help__section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-responsible-gambling-get-help__section p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-responsible-gambling-get-help__section p a:hover {
  text-decoration: underline;
}

.page-responsible-gambling-get-help__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling-get-help__tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-responsible-gambling-get-help__tool-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling-get-help__tool-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling-get-help__tool-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-responsible-gambling-get-help__tool-icon {
  width: 120px; /* Increased size for content images */
  height: 120px; /* Increased size for content images */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-responsible-gambling-get-help__list,
.page-responsible-gambling-get-help__tip-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-responsible-gambling-get-help__list li,
.page-responsible-gambling-get-help__tip-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-responsible-gambling-get-help__list strong {
  color: var(--primary-color);
}

/* FAQ styles */
.page-responsible-gambling-get-help__faq-items {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f0f0f0;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
  flex-grow: 1;
  text-align: left;
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-color-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 1.05em;
  line-height: 1.6;
}

.faq-answer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.faq-answer p a:hover {
  text-decoration: underline;
}

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

  .page-responsible-gambling-get-help__hero p {
    font-size: 1.1em;
  }

  .page-responsible-gambling-get-help__section h2 {
    font-size: 2em;
  }

  .page-responsible-gambling-get-help__section h3 {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling-get-help__hero {
    padding: 40px 15px;
  }

  .page-responsible-gambling-get-help__hero h1 {
    font-size: 2.2em;
  }

  .page-responsible-gambling-get-help__hero p {
    font-size: 1em;
  }

  .page-responsible-gambling-get-help__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-responsible-gambling-get-help__section {
    padding: 40px 0;
  }

  .page-responsible-gambling-get-help__section h2 {
    font-size: 1.8em;
  }

  .page-responsible-gambling-get-help__section h3 {
    font-size: 1.3em;
  }

  .page-responsible-gambling-get-help__tool-grid {
    grid-template-columns: 1fr;
  }

  .page-responsible-gambling-get-help__tool-item {
    padding: 20px;
  }

  .faq-question {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-question h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }

  .faq-toggle {
    align-self: flex-end;
    margin-top: -30px;
    margin-right: 0;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }

  .page-responsible-gambling-get-help__list,
  .page-responsible-gambling-get-help__tip-list {
    margin-left: 20px;
  }

  .page-responsible-gambling-get-help__list li,
  .page-responsible-gambling-get-help__tip-list li {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling-get-help__hero h1 {
    font-size: 1.8em;
  }

  .page-responsible-gambling-get-help__hero p {
    font-size: 0.95em;
  }

  .page-responsible-gambling-get-help__section h2 {
    font-size: 1.6em;
  }

  .page-responsible-gambling-get-help__section h3 {
    font-size: 1.2em;
  }

  .page-responsible-gambling-get-help__tool-icon {
    width: 100px;
    height: 100px;
  }
}