.page-resources-online-gambling-safety-guide {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #1a1a1a;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-resources-online-gambling-safety-guide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-online-gambling-safety-guide-section {
  padding: 60px 0;
}

.page-resources-online-gambling-safety-guide-section:nth-child(odd) {
  background-color: var(--bg-light);
}

.page-resources-online-gambling-safety-guide h1,
.page-resources-online-gambling-safety-guide h2,
.page-resources-online-gambling-safety-guide h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-online-gambling-safety-guide h1 {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--text-light);
}

.page-resources-online-gambling-safety-guide h2 {
  font-size: 2.5em;
  font-weight: bold;
  margin-top: 40px;
}

.page-resources-online-gambling-safety-guide h3 {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}

.page-resources-online-gambling-safety-guide p {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: justify;
}

.page-resources-online-gambling-safety-guide-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%, #001a4d 100%); /* Darker gradient for hero */
}

.page-resources-online-gambling-safety-guide-hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-online-gambling-safety-guide-hero-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-online-gambling-safety-guide-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-online-gambling-safety-guide-hero-content p {
  color: var(--text-light);
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-resources-online-gambling-safety-guide-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-online-gambling-safety-guide-cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-online-gambling-safety-guide-cta-button-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources-online-gambling-safety-guide-cta-button-secondary {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-online-gambling-safety-guide-cta-button-secondary:hover {
  background: #001a4d; /* Darker blue */
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.page-resources-online-gambling-safety-guide-image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-online-gambling-safety-guide-image-centered {
  display: block;
  margin: 30px auto;
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-online-gambling-safety-guide-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-online-gambling-safety-guide-feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-gambling-safety-guide-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-gambling-safety-guide-feature-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 15px;
  text-align: left;
}

.page-resources-online-gambling-safety-guide-list,
.page-resources-online-gambling-safety-guide-ordered-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-resources-online-gambling-safety-guide-ordered-list {
  list-style-type: decimal;
}

.page-resources-online-gambling-safety-guide-list li,
.page-resources-online-gambling-safety-guide-ordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-resources-online-gambling-safety-guide-list li strong,
.page-resources-online-gambling-safety-guide-ordered-list li strong {
  color: var(--primary-color);
}

.page-resources-online-gambling-safety-guide-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-online-gambling-safety-guide-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-online-gambling-safety-guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-online-gambling-safety-guide-card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
  text-align: left;
}

.page-resources-online-gambling-safety-guide-faq-items {
  margin-top: 40px;
}

/* FAQ default state - answer hidden */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Enough height to contain content */
  padding: 15px;
  background: var(--bg-light);
  border-radius: 0 0 5px 5px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Question style */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px; /* Space between FAQ items */
}

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

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

/* Toggle icon */
.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-resources-online-gambling-safety-guide-conclusion p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-resources-online-gambling-safety-guide-conclusion .page-resources-online-gambling-safety-guide-cta-button {
  margin: 10px;
}

/* Responsive design */
@media (max-width: 992px) {
  .page-resources-online-gambling-safety-guide h1 {
    font-size: 2.5em;
  }
  .page-resources-online-gambling-safety-guide h2 {
    font-size: 2em;
  }
  .page-resources-online-gambling-safety-guide h3 {
    font-size: 1.5em;
  }
  .page-resources-online-gambling-safety-guide-hero-image {
    max-height: 400px;
  }
  .page-resources-online-gambling-safety-guide-features,
  .page-resources-online-gambling-safety-guide-info-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-online-gambling-safety-guide-section {
    padding: 40px 0;
  }
  .page-resources-online-gambling-safety-guide h1 {
    font-size: 2em;
  }
  .page-resources-online-gambling-safety-guide h2 {
    font-size: 1.8em;
  }
  .page-resources-online-gambling-safety-guide h3 {
    font-size: 1.3em;
  }
  .page-resources-online-gambling-safety-guide p {
    font-size: 1em;
  }
  .page-resources-online-gambling-safety-guide-hero-image {
    max-height: 300px;
  }
  .page-resources-online-gambling-safety-guide-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-resources-online-gambling-safety-guide-image-centered {
    max-width: 95%;
  }
  .faq-question {
    padding: 12px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-item.active .faq-answer {
    padding: 10px;
  }
  .page-resources-online-gambling-safety-guide-conclusion .page-resources-online-gambling-safety-guide-cta-button {
    display: block;
    margin: 15px auto;
    width: fit-content;
  }
}

@media (max-width: 480px) {
  .page-resources-online-gambling-safety-guide h1 {
    font-size: 1.8em;
  }
  .page-resources-online-gambling-safety-guide h2 {
    font-size: 1.5em;
  }
  .page-resources-online-gambling-safety-guide h3 {
    font-size: 1.2em;
  }
  .page-resources-online-gambling-safety-guide-hero-image {
    max-height: 200px;
  }
  .page-resources-online-gambling-safety-guide-cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-resources-online-gambling-safety-guide-features,
  .page-resources-online-gambling-safety-guide-info-cards {
    grid-template-columns: 1fr;
  }
}