/* style/resources-pwinph-security.css */

.page-resources-pwinph-security {
  color: #333333; /* Dark text for default light body background */
}

.page-resources-pwinph-security__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #f8f8f8; /* Light background for hero section */
}

.page-resources-pwinph-security__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-resources-pwinph-security__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 90%;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-pwinph-security__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
}

.page-resources-pwinph-security__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-resources-pwinph-security__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-pwinph-security__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  color: #6a0000; /* Slightly darker red on hover */
}

.page-resources-pwinph-security__cta-button--inline {
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-resources-pwinph-security__content-area {
  max-width: 800px; /* Article content width */
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-resources-pwinph-security__back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #8B0000; /* Deep red for back link */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-pwinph-security__back-link:hover {
  color: #FFD700; /* Gold on hover */
}

.page-resources-pwinph-security__section-title {
  font-size: 2.2em;
  color: #8B0000; /* Deep red for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.3;
}

.page-resources-pwinph-security__sub-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold for sub-titles */
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.4;
}

.page-resources-pwinph-security__paragraph {
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-pwinph-security__image-content {
  width: 100%;
  max-width: 800px; /* Ensure content images are not too small */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-resources-pwinph-security__button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.page-resources-pwinph-security__secondary-button {
  display: inline-block;
  background-color: transparent;
  color: #8B0000; /* Deep red text for secondary button */
  border: 2px solid #8B0000; /* Deep red border */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.page-resources-pwinph-security__secondary-button:hover {
  background-color: #8B0000; /* Deep red background on hover */
  color: #ffffff; /* White text on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-pwinph-security__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    padding: 40px 15px;
  }

  .page-resources-pwinph-security__hero-content {
    width: 95%;
  }

  .page-resources-pwinph-security__main-title {
    font-size: 2.5em;
  }

  .page-resources-pwinph-security__intro-text {
    font-size: 1em;
  }

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

  .page-resources-pwinph-security__content-area {
    padding: 30px 15px;
    font-size: 1em;
  }

  .page-resources-pwinph-security__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-resources-pwinph-security__sub-title {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-resources-pwinph-security__image-content {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content area images are not smaller than 200px */
  .page-resources-pwinph-security img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }

  .page-resources-pwinph-security__button-group {
    flex-direction: column;
    align-items: center;
  }

  .page-resources-pwinph-security__cta-button,
  .page-resources-pwinph-security__secondary-button {
    width: 100%;
    max-width: 300px;
  }
}

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

  .page-resources-pwinph-security__intro-text {
    font-size: 0.9em;
  }
}