.page-resources-gk88-link-safety-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--secondary-color, #FFFFFF); /* Body background from shared.css */
}

.page-resources-gk88-link-safety-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-resources-gk88-link-safety-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-gk88-link-safety-guide__dark-bg {
  background: #26A9E0;
  color: #ffffff;
}

.page-resources-gk88-link-safety-guide__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-resources-gk88-link-safety-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-resources-gk88-link-safety-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources-gk88-link-safety-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-resources-gk88-link-safety-guide__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-gk88-link-safety-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-resources-gk88-link-safety-guide__hero-cta-buttons,
.page-resources-gk88-link-safety-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-resources-gk88-link-safety-guide__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-gk88-link-safety-guide__btn-primary:hover {
  background: #d46a00;
  border-color: #d46a00;
}

.page-resources-gk88-link-safety-guide__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-gk88-link-safety-guide__btn-secondary:hover {
  background: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-resources-gk88-link-safety-guide__content-section {
  padding: 60px 0;
}

.page-resources-gk88-link-safety-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: inherit;
}

.page-resources-gk88-link-safety-guide__subsection-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-gk88-link-safety-guide__text-block p {
  margin-bottom: 15px;
  color: inherit;
}

.page-resources-gk88-link-safety-guide__image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.page-resources-gk88-link-safety-guide__gallery-image {
  flex: 1 1 calc(50% - 10px);
  min-width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-gk88-link-safety-guide__faq-list {
  margin-top: 40px;
}

.page-resources-gk88-link-safety-guide__faq-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-resources-gk88-link-safety-guide__faq-item[open] {
  background: #f0f8ff; /* Light blue background for open FAQ item */
}

.page-resources-gk88-link-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background: #ffffff;
  color: #26A9E0;
  list-style: none; /* For details/summary */
}

.page-resources-gk88-link-safety-guide__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-gk88-link-safety-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
}

.page-resources-gk88-link-safety-guide__faq-answer {
  padding: 0 20px 20px;
  color: #333333;
}

.page-resources-gk88-link-safety-guide__faq-answer p {
  margin-bottom: 0;
}

.page-resources-gk88-link-safety-guide__cta-section {
  text-align: center;
  padding: 80px 20px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-resources-gk88-link-safety-guide__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-resources-gk88-link-safety-guide__cta-section .page-resources-gk88-link-safety-guide__container {
  position: relative;
  z-index: 1;
}

.page-resources-gk88-link-safety-guide__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-resources-gk88-link-safety-guide__copyright {
  text-align: center;
  padding: 20px;
  background-color: #222;
  color: #ffffff;
  font-size: 0.9em;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-resources-gk88-link-safety-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-gk88-link-safety-guide__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }

  .page-resources-gk88-link-safety-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-gk88-link-safety-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-gk88-link-safety-guide__hero-cta-buttons,
  .page-resources-gk88-link-safety-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-gk88-link-safety-guide__btn-primary,
  .page-resources-gk88-link-safety-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-gk88-link-safety-guide__section-title {
    font-size: 2em;
  }

  .page-resources-gk88-link-safety-guide__subsection-title {
    font-size: 1.5em;
  }

  .page-resources-gk88-link-safety-guide__gallery-image {
    flex: 1 1 100%;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all images in content sections are responsive */
  .page-resources-gk88-link-safety-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All containers with images/content to prevent overflow */
  .page-resources-gk88-link-safety-guide__section,
  .page-resources-gk88-link-safety-guide__content-section,
  .page-resources-gk88-link-safety-guide__container,
  .page-resources-gk88-link-safety-guide__image-gallery,
  .page-resources-gk88-link-safety-guide__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-gk88-link-safety-guide__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-resources-gk88-link-safety-guide__faq-answer {
    padding: 0 15px 15px;
  }
}

/* Ensure content images are not smaller than 200px display size */
.page-resources-gk88-link-safety-guide__gallery-image,
.page-resources-gk88-link-safety-guide__cta-image {
  min-width: 200px;
  min-height: 200px;
}

/* No CSS filter for images */
.page-resources-gk88-link-safety-guide img {
  filter: none;
}