.page-resources-safety-tips {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #FFFFFF;
}

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

.page-resources-safety-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-resources-safety-tips__hero-container {
  position: relative;
  max-width: 100%;
  height: 450px; /* Fixed height for hero section */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-resources-safety-tips__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  margin: 0 auto;
}

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

.page-resources-safety-tips__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-resources-safety-tips__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-safety-tips__hero-button:hover {
  background-color: #FFD700;
}

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

.page-resources-safety-tips__article-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-safety-tips__article-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 15px;
}

.page-resources-safety-tips__article-intro {
  font-size: 1.1em;
  color: #555555;
}

.page-resources-safety-tips__table-of-contents {
  background-color: #F5F5F5;
  border-left: 5px solid #FCBC45;
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 5px;
}

.page-resources-safety-tips__toc-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-resources-safety-tips__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-safety-tips__toc-list li {
  margin-bottom: 10px;
}

.page-resources-safety-tips__toc-list a {
  color: #333333;
  text-decoration: none;
  font-weight: normal;
  transition: color 0.3s ease;
}

.page-resources-safety-tips__toc-list a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-resources-safety-tips__section {
  margin-bottom: 60px;
}

.page-resources-safety-tips__section-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 25px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-safety-tips__subsection-title {
  font-size: 1.6em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-safety-tips__section-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  min-width: 200px; /* Minimum image width */
  min-height: 200px; /* Minimum image height */
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-safety-tips__article-content p {
  margin-bottom: 1.5em;
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
}

.page-resources-safety-tips__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 1.5em;
  font-size: 1.1em;
  color: #333333;
}

.page-resources-safety-tips__list li {
  margin-bottom: 0.8em;
}

.page-resources-safety-tips__quote {
  background-color: #F8F8F8;
  border-left: 4px solid #FCBC45;
  padding: 20px 25px;
  margin: 30px 0;
  font-style: italic;
  color: #555555;
  font-size: 1.1em;
}

.page-resources-safety-tips__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  margin-right: 15px;
  transition: background-color 0.3s ease;
}

.page-resources-safety-tips__cta-button:hover {
  background-color: #FFD700;
}

.page-resources-safety-tips__cta-button--secondary {
  background-color: #000000;
  color: #FFFFFF;
}

.page-resources-safety-tips__cta-button--secondary:hover {
  background-color: #333333;
}

.page-resources-safety-tips__action-buttons {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #EEEEEE;
}

.page-resources-safety-tips__main-cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  margin: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-safety-tips__main-cta-button:hover {
  background-color: #FFD700;
  transform: translateY(-3px);
}

.page-resources-safety-tips__back-button {
  display: inline-block;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  margin: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-safety-tips__back-button:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .page-resources-safety-tips__hero-container {
    height: 350px;
  }

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

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

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

  .page-resources-safety-tips__content-area {
    padding: 0 15px;
  }

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

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

  .page-resources-safety-tips__subsection-title {
    font-size: 1.4em;
  }

  .page-resources-safety-tips__article-content p,
  .page-resources-safety-tips__list,
  .page-resources-safety-tips__quote {
    font-size: 1em;
  }

  .page-resources-safety-tips__section-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
  }

  .page-resources-safety-tips__main-cta-button,
  .page-resources-safety-tips__back-button {
    padding: 15px 25px;
    font-size: 1.1em;
    margin: 8px;
  }

  /* Ensure content area images do not overflow */
  .page-resources-safety-tips img {
    max-width: 100%;
    height: auto;
  }
}