.page-resources-safe-login-tips {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-safe-login-tips__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
}

.page-resources-safe-login-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-safe-login-tips__hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px 20px;
  max-width: 900px;
  border-radius: 10px;
}

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

.page-resources-safe-login-tips__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-resources-safe-login-tips__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-safe-login-tips__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-resources-safe-login-tips__button--register {
  background-color: #FCBC45; /* Login color for Register */
  color: #000000;
}

.page-resources-safe-login-tips__button--register:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-resources-safe-login-tips__button--login {
  background-color: #FFFFFF; /* Register color for Login */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-safe-login-tips__button--login:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-resources-safe-login-tips__button--support {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
}

.page-resources-safe-login-tips__button--support:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
}

.page-resources-safe-login-tips__content-area {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 40px auto;
  padding: 0 20px;
}

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

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

.page-resources-safe-login-tips__article-meta {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 20px;
}

.page-resources-safe-login-tips__back-link,
.page-resources-safe-login-tips__back-link-bottom {
  display: inline-block;
  margin-top: 20px;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-safe-login-tips__back-link:hover,
.page-resources-safe-login-tips__back-link-bottom:hover {
  color: #e0a53b;
}

.page-resources-safe-login-tips__main-heading {
  font-size: 1.8em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.page-resources-safe-login-tips__sub-heading {
  font-size: 1.4em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-safe-login-tips__article-body p {
  margin-bottom: 1em;
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
}

.page-resources-safe-login-tips__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1em;
  padding-left: 0;
}

.page-resources-safe-login-tips__list-item {
  margin-bottom: 0.5em;
  font-size: 1.1em;
  color: #333333;
}

.page-resources-safe-login-tips__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum image size */
  min-height: 200px; /* Enforce minimum image size */
}

.page-resources-safe-login-tips__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-resources-safe-login-tips__final-thought {
  text-align: center;
  font-style: italic;
  color: #666666;
  margin-top: 30px;
}

.page-resources-safe-login-tips__back-to-resources {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-resources-safe-login-tips__hero-title {
    font-size: 2em;
  }

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

  .page-resources-safe-login-tips__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-safe-login-tips__button {
    width: 100%;
    padding: 12px 20px;
  }

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

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

  .page-resources-safe-login-tips__main-heading {
    font-size: 1.5em;
  }

  .page-resources-safe-login-tips__sub-heading {
    font-size: 1.2em;
  }

  .page-resources-safe-login-tips__article-body p,
  .page-resources-safe-login-tips__list-item {
    font-size: 1em;
  }

  .page-resources-safe-login-tips__image {
    max-width: 100%;
    height: auto; /* Ensure images scale down correctly */
    min-width: 200px; /* Maintain minimum size for content images */
    min-height: 200px; /* Maintain minimum size for content images */
  }

  .page-resources-safe-login-tips__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-resources-safe-login-tips__hero-overlay {
    padding: 30px 15px;
  }

  .page-resources-safe-login-tips__hero-title {
    font-size: 1.6em;
  }

  .page-resources-safe-login-tips__hero-description {
    font-size: 0.9em;
  }

  .page-resources-safe-login-tips__article-title {
    font-size: 1.5em;
  }

  .page-resources-safe-login-tips__main-heading {
    font-size: 1.3em;
  }

  .page-resources-safe-login-tips__sub-heading {
    font-size: 1.1em;
  }
}