/* style/resources-online-gambling-safety-tips.css */
.page-resources-online-gambling-safety-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8;
}

.page-resources-online-gambling-safety-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000080; /* Dark blue background */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-online-gambling-safety-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  z-index: 1;
}

.page-resources-online-gambling-safety-tips__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-online-gambling-safety-tips__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-resources-online-gambling-safety-tips__btn-primary,
.page-resources-online-gambling-safety-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-online-gambling-safety-tips__btn-primary {
  background-color: #FFD700;
  color: #000080; /* Dark blue text on gold for contrast */
  border: 2px solid #FFD700;
}

.page-resources-online-gambling-safety-tips__btn-primary:hover {
  background-color: #e0c000;
  border-color: #e0c000;
}

.page-resources-online-gambling-safety-tips__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-online-gambling-safety-tips__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080; /* Dark blue text on gold for contrast */
}

.page-resources-online-gambling-safety-tips__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #000080;
}

.page-resources-online-gambling-safety-tips__section-title--white {
  color: #FFD700; /* Gold text on dark background */
}

.page-resources-online-gambling-safety-tips__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #333333;
}

.page-resources-online-gambling-safety-tips__text-block--white {
  color: #f0f0f0;
}

.page-resources-online-gambling-safety-tips__content-section {
  padding: 80px 20px;
}

.page-resources-online-gambling-safety-tips__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-online-gambling-safety-tips__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-resources-online-gambling-safety-tips__dark-bg {
  background-color: #000080;
  color: #ffffff;
}

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

.page-resources-online-gambling-safety-tips__grid-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__grid-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-resources-online-gambling-safety-tips__item-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-resources-online-gambling-safety-tips__dark-bg .page-resources-online-gambling-safety-tips__item-title {
  color: #FFD700;
}

.page-resources-online-gambling-safety-tips__grid-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-resources-online-gambling-safety-tips__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
}

.page-resources-online-gambling-safety-tips__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-online-gambling-safety-tips__text-link {
  color: #000080;
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-online-gambling-safety-tips__text-link:hover {
  color: #FFD700;
}

.page-resources-online-gambling-safety-tips__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-online-gambling-safety-tips__tip-item {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-resources-online-gambling-safety-tips__tip-item .page-resources-online-gambling-safety-tips__item-title {
  color: #000080;
  margin-bottom: 10px;
  text-align: left;
}

.page-resources-online-gambling-safety-tips__tip-item p {
  text-align: left;
}

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

.page-resources-online-gambling-safety-tips__contact-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-resources-online-gambling-safety-tips__contact-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-online-gambling-safety-tips__faq-section {
  padding: 80px 20px;
}

.page-resources-online-gambling-safety-tips__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-resources-online-gambling-safety-tips__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-resources-online-gambling-safety-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #FFD700; /* Gold background for question */
  color: #000080; /* Dark blue text on gold */
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.page-resources-online-gambling-safety-tips__faq-question:hover {
  background-color: #e0c000;
}

.page-resources-online-gambling-safety-tips__faq-title {
  margin: 0;
  color: #000080;
}

.page-resources-online-gambling-safety-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-online-gambling-safety-tips__faq-item.active .page-resources-online-gambling-safety-tips__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-online-gambling-safety-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f0f0f0; /* Light background for answer */
  color: #333333;
}

.page-resources-online-gambling-safety-tips__faq-item.active .page-resources-online-gambling-safety-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources-online-gambling-safety-tips__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #000080;
  color: #ffffff;
}

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

.page-resources-online-gambling-safety-tips__video-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #000080;
  color: #ffffff;
}

.page-resources-online-gambling-safety-tips__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 40px auto;
  background-color: #000;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-online-gambling-safety-tips__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-resources-online-gambling-safety-tips__video-cta {
  margin-top: 30px;
}

/* All images base responsive styles */
.page-resources-online-gambling-safety-tips img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Explicitly ensure no filter is applied */
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-resources-online-gambling-safety-tips {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-online-gambling-safety-tips__hero-title {
    font-size: 2em;
  }

  .page-resources-online-gambling-safety-tips__hero-description {
    font-size: 1em;
  }

  .page-resources-online-gambling-safety-tips__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-online-gambling-safety-tips__btn-primary,
  .page-resources-online-gambling-safety-tips__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.9em;
  }

  .page-resources-online-gambling-safety-tips__section-title {
    font-size: 1.8em;
  }

  .page-resources-online-gambling-safety-tips__text-block {
    font-size: 1em;
  }

  .page-resources-online-gambling-safety-tips__grid,
  .page-resources-online-gambling-safety-tips__feature-list,
  .page-resources-online-gambling-safety-tips__contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-resources-online-gambling-safety-tips__grid-item,
  .page-resources-online-gambling-safety-tips__feature-item,
  .page-resources-online-gambling-safety-tips__tip-item,
  .page-resources-online-gambling-safety-tips__contact-item,
  .page-resources-online-gambling-safety-tips__faq-item {
    padding: 20px;
  }

  .page-resources-online-gambling-safety-tips__feature-icon,
  .page-resources-online-gambling-safety-tips__contact-icon {
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
  }

  .page-resources-online-gambling-safety-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-online-gambling-safety-tips__hero-section,
  .page-resources-online-gambling-safety-tips__content-section,
  .page-resources-online-gambling-safety-tips__video-section,
  .page-resources-online-gambling-safety-tips__contact-section,
  .page-resources-online-gambling-safety-tips__faq-section,
  .page-resources-online-gambling-safety-tips__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-resources-online-gambling-safety-tips__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section respects header offset on mobile */
  }

  .page-resources-online-gambling-safety-tips__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-resources-online-gambling-safety-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-online-gambling-safety-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-online-gambling-safety-tips__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-resources-online-gambling-safety-tips__faq-answer {
    padding: 0 20px;
  }

  .page-resources-online-gambling-safety-tips__faq-item.active .page-resources-online-gambling-safety-tips__faq-answer {
    padding: 15px 20px;
  }
}