.page-resources-how-to-use-2jl-link-safely {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

@media (max-width: 768px) {
  .page-resources-how-to-use-2jl-link-safely {
    overflow-x: hidden;
  }
}

.page-resources-how-to-use-2jl-link-safely__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background-color: #000000; /* Main color as hero background */
  color: #FFFFFF;
  overflow: hidden;
}

.page-resources-how-to-use-2jl-link-safely__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-how-to-use-2jl-link-safely__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the image to make text readable */
}

.page-resources-how-to-use-2jl-link-safely__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-how-to-use-2jl-link-safely__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-resources-how-to-use-2jl-link-safely__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-resources-how-to-use-2jl-link-safely__hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-resources-how-to-use-2jl-link-safely__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.page-resources-how-to-use-2jl-link-safely__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-resources-how-to-use-2jl-link-safely__button--register:hover {
  background-color: #F0F0F0;
}

.page-resources-how-to-use-2jl-link-safely__button--login,
.page-resources-how-to-use-2jl-link-safely__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-how-to-use-2jl-link-safely__button--login:hover,
.page-resources-how-to-use-2jl-link-safely__button--join-now:hover {
  background-color: #E0A030;
}

.page-resources-how-to-use-2jl-link-safely__button--register-inline {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-how-to-use-2jl-link-safely__button--register-inline:hover {
  background-color: #333333;
}

.page-resources-how-to-use-2jl-link-safely__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-how-to-use-2jl-link-safely__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-how-to-use-2jl-link-safely__back-link:hover {
  color: #E0A030;
}

.page-resources-how-to-use-2jl-link-safely__section-title {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-how-to-use-2jl-link-safely__sub-section-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-how-to-use-2jl-link-safely__paragraph {
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-how-to-use-2jl-link-safely__image-container {
  margin: 30px 0;
  text-align: center;
}

.page-resources-how-to-use-2jl-link-safely__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto; /* Center image */
}

.page-resources-how-to-use-2jl-link-safely__final-cta {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-resources-how-to-use-2jl-link-safely__copyright {
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
  background-color: #000000;
  color: #FFFFFF;
  font-size: 0.9em;
}

.page-resources-how-to-use-2jl-link-safely__copyright p {
  margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-resources-how-to-use-2jl-link-safely__hero-title {
    font-size: 2em;
  }

  .page-resources-how-to-use-2jl-link-safely__hero-description {
    font-size: 1em;
  }

  .page-resources-how-to-use-2jl-link-safely__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-resources-how-to-use-2jl-link-safely__button {
    width: 100%;
    padding: 10px 20px;
  }

  .page-resources-how-to-use-2jl-link-safely__section-title {
    font-size: 1.6em;
  }

  .page-resources-how-to-use-2jl-link-safely__sub-section-title {
    font-size: 1.3em;
  }

  .page-resources-how-to-use-2jl-link-safely__content-area img {
    max-width: 100%; /* Ensures images do not overflow */
    height: auto;
  }
}

/* Ensure all content images are not small */
.page-resources-how-to-use-2jl-link-safely__content-area img {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-resources-how-to-use-2jl-link-safely__content-area img {
    max-width: 100%;
    height: auto;
  }
}