/* style/resources-online-gambling-safety-guide.css */
.page-resources-online-gambling-safety-guide {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-online-gambling-safety-guide__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.page-resources-online-gambling-safety-guide__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px; /* Minimum height for hero section */
}

.page-resources-online-gambling-safety-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4); /* Darken image for text readability, not changing color */
}

.page-resources-online-gambling-safety-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
}

.page-resources-online-gambling-safety-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-online-gambling-safety-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-online-gambling-safety-guide__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-online-gambling-safety-guide__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
  min-width: 200px;
  text-align: center;
}

.page-resources-online-gambling-safety-guide__button--register {
  background-color: #FFFFFF;
  color: #000000; /* Ensure contrast with white background */
  border: 2px solid #FFFFFF;
}

.page-resources-online-gambling-safety-guide__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-resources-online-gambling-safety-guide__button--login {
  background-color: #FCBC45;
  color: #000000; /* Ensure contrast with FCBC45 background */
  border: 2px solid #FCBC45;
}

.page-resources-online-gambling-safety-guide__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-resources-online-gambling-safety-guide__button--download {
  background-color: #FCBC45;
  color: #000000; /* Ensure contrast with FCBC45 background */
  border: 2px solid #FCBC45;
}

.page-resources-online-gambling-safety-guide__button--download:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-resources-online-gambling-safety-guide__content-area {
  max-width: 800px; /* Article content width */
  margin: 40px auto;
  padding: 0 20px;
}

.page-resources-online-gambling-safety-guide__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-online-gambling-safety-guide__back-link:hover {
  color: #FFFFFF;
}

.page-resources-online-gambling-safety-guide__article {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for content card */
  padding: 40px;
  border-radius: 10px;
}

.page-resources-online-gambling-safety-guide__section-title {
  font-size: 2.2em;
  color: #FCBC45;
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(252, 188, 69, 0.3);
  padding-bottom: 10px;
}

.page-resources-online-gambling-safety-guide__subsection-title {
  font-size: 1.6em;
  color: #FFFFFF;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-online-gambling-safety-guide__article p {
  margin-bottom: 1em;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

.page-resources-online-gambling-safety-guide__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-online-gambling-safety-guide__feature-icon {
  width: 250px; /* Min size 200px, so 250px is good */
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-resources-online-gambling-safety-guide__feature-title {
  font-size: 1.3em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-resources-online-gambling-safety-guide__feature-card p {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-resources-online-gambling-safety-guide__payment-list,
.page-resources-online-gambling-safety-guide__action-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

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

.page-resources-online-gambling-safety-guide__faq-section {
  margin-top: 40px;
}

.page-resources-online-gambling-safety-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-resources-online-gambling-safety-guide__faq-question {
  font-size: 1.2em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-resources-online-gambling-safety-guide__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
}

.page-resources-online-gambling-safety-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-online-gambling-safety-guide__hero-title {
    font-size: 2.8em;
  }
  .page-resources-online-gambling-safety-guide__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-resources-online-gambling-safety-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-online-gambling-safety-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-online-gambling-safety-guide__button {
    width: 100%;
    max-width: 300px; /* Constrain button width on small screens */
  }
  .page-resources-online-gambling-safety-guide__content-area {
    padding: 0 15px;
  }
  .page-resources-online-gambling-safety-guide__article {
    padding: 25px;
  }
  .page-resources-online-gambling-safety-guide__section-title {
    font-size: 1.8em;
  }
  .page-resources-online-gambling-safety-guide__subsection-title {
    font-size: 1.4em;
  }
  /* Mobile content image constraint */
  .page-resources-online-gambling-safety-guide__article-image,
  .page-resources-online-gambling-safety-guide__feature-icon {
    max-width: 100%;
    height: auto;
  }
  .page-resources-online-gambling-safety-guide__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-online-gambling-safety-guide__hero-container {
    min-height: 350px;
  }
}

@media (max-width: 480px) {
  .page-resources-online-gambling-safety-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-online-gambling-safety-guide__hero-description {
    font-size: 0.9em;
  }
  .page-resources-online-gambling-safety-guide__hero-actions {
    flex-direction: column;
  }
  .page-resources-online-gambling-safety-guide__button {
    min-width: unset;
  }
  .page-resources-online-gambling-safety-guide__article {
    padding: 15px;
  }
  .page-resources-online-gambling-safety-guide__section-title {
    font-size: 1.5em;
  }
  .page-resources-online-gambling-safety-guide__subsection-title {
    font-size: 1.2em;
  }
}