.page-resources-spinph99-safety-guide {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-spinph99-safety-guide__hero-section {
  background-color: #1A2B4C; /* Dark blue background */
  color: #ffffff; /* Light text for dark background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-spinph99-safety-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-resources-spinph99-safety-guide__hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-spinph99-safety-guide__hero-content {
  position: relative;
  z-index: 2;
}

.page-resources-spinph99-safety-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  line-height: 1.2;
}

.page-resources-spinph99-safety-guide__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-resources-spinph99-safety-guide__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A2B4C; /* Dark text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-spinph99-safety-guide__cta-button:hover {
  background-color: #e5c100; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-resources-spinph99-safety-guide__cta-button--large {
  font-size: 1.4em;
  padding: 20px 40px;
  margin-top: 40px;
}

.page-resources-spinph99-safety-guide__content-area {
  max-width: 800px; /* Optimal reading width for long articles */
  margin: 0 auto;
  padding: 40px 20px;
}

.page-resources-spinph99-safety-guide__article-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  text-align: justify;
}

.page-resources-spinph99-safety-guide__section {
  margin-bottom: 60px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.page-resources-spinph99-safety-guide__section:last-of-type {
  border-bottom: none;
}

.page-resources-spinph99-safety-guide__section-title {
  font-size: 2.2em;
  color: #1A2B4C; /* Dark blue for main section titles */
  margin-bottom: 25px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-resources-spinph99-safety-guide__subsection-title,
.page-resources-spinph99-safety-title {
  font-size: 1.6em;
  color: #1A2B4C; /* Dark blue for subsections */
  margin-top: 35px;
  margin-bottom: 15px;
}

.page-resources-spinph99-safety-guide__section-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 700px;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-spinph99-safety-guide p {
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-spinph99-safety-guide ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-resources-spinph99-safety-guide li {
  margin-bottom: 10px;
}

.page-resources-spinph99-safety-guide__link-button {
  display: inline-block;
  background-color: #1A2B4C; /* Dark blue button */
  color: #ffffff; /* Light text */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-spinph99-safety-guide__link-button:hover {
  background-color: #3B5A8F; /* Lighter blue on hover */
  transform: translateY(-2px);
}

.page-resources-spinph99-safety-guide__conclusion {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #eee;
}

.page-resources-spinph99-safety-guide__conclusion-title {
  font-size: 2.5em;
  color: #1A2B4C;
  margin-bottom: 25px;
}

.page-resources-spinph99-safety-guide__conclusion p {
  font-size: 1.1em;
  margin-bottom: 25px;
}

.page-resources-spinph99-safety-guide__back-link {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-resources-spinph99-safety-guide__link {
  color: #1A2B4C;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-spinph99-safety-guide__link:hover {
  color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-spinph99-safety-guide__hero-title {
    font-size: 2.5em;
  }

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

  .page-resources-spinph99-safety-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-spinph99-safety-guide__cta-button--large {
    font-size: 1.2em;
    padding: 15px 30px;
  }

  .page-resources-spinph99-safety-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-spinph99-safety-guide__subsection-title,
  .page-resources-spinph99-safety-title {
    font-size: 1.4em;
  }

  .page-resources-spinph99-safety-guide__content-area {
    padding: 20px 15px;
  }

  .page-resources-spinph99-safety-guide p {
    font-size: 0.95em;
  }

  /* Ensure content area images do not overflow on mobile */
  .page-resources-spinph99-safety-guide__hero-image,
  .page-resources-spinph99-safety-guide__section-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-spinph99-safety-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-spinph99-safety-guide__hero-description {
    font-size: 0.9em;
  }

  .page-resources-spinph99-safety-guide__section-title {
    font-size: 1.6em;
  }

  .page-resources-spinph99-safety-guide__subsection-title,
  .page-resources-spinph99-safety-title {
    font-size: 1.2em;
  }
}