/* style/resources-phjl-security-licenses.css */
.page-resources-phjl-security-licenses {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources-phjl-security-licenses__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: 0;
}

.page-resources-phjl-security-licenses__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-resources-phjl-security-licenses__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 800px;
  padding: 20px;
  z-index: 1;
}

.page-resources-phjl-security-licenses__main-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FCBC45; /* Highlight title with a golden hue */
  line-height: 1.2;
}

.page-resources-phjl-security-licenses__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-resources-phjl-security-licenses__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-phjl-security-licenses__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1em;
}

.page-resources-phjl-security-licenses__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-phjl-security-licenses__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-resources-phjl-security-licenses__button--secondary {
  background-color: #000000;
  color: #FFFFFF; /* Register button color */
  border: 2px solid #FFFFFF;
}

.page-resources-phjl-security-licenses__button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

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

.page-resources-phjl-security-licenses__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

.page-resources-phjl-security-licenses__back-link:hover {
  text-decoration: underline;
}

.page-resources-phjl-security-licenses__article-heading {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #000000;
}

.page-resources-phjl-security-licenses__sub-heading {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000000;
}

.page-resources-phjl-security-licenses__article p {
  margin-bottom: 1em;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-resources-phjl-security-licenses__image-wrapper {
  text-align: center;
  margin: 30px 0;
}

.page-resources-phjl-security-licenses__article-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-resources-phjl-security-licenses__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-phjl-security-licenses__call-to-action p {
  font-size: 1.3em;
  margin-bottom: 25px;
  font-weight: bold;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-phjl-security-licenses__main-title {
    font-size: 2em;
  }

  .page-resources-phjl-security-licenses__intro-text {
    font-size: 1em;
  }

  .page-resources-phjl-security-licenses__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-phjl-security-licenses__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-resources-phjl-security-licenses__content-area {
    margin: 20px auto;
    padding: 0 15px;
  }

  .page-resources-phjl-security-licenses__article p,
  .page-resources-phjl-security-licenses__call-to-action p {
    font-size: 0.95em;
  }

  .page-resources-phjl-security-licenses__article-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size on mobile */
    min-height: 200px;
  }
  
  /* Ensure content area images do not cause horizontal scroll */
  .page-resources-phjl-security-licenses img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-resources-phjl-security-licenses__main-title {
    font-size: 1.8em;
  }

  .page-resources-phjl-security-licenses__hero-content {
    padding: 15px;
  }

  .page-resources-phjl-security-licenses__button {
    width: 90%;
  }
}