.page-resources-ace-ph-security {
  color: #ffffff; /* Light text for dark body background */
  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-ace-ph-security__hero-section {
  background-color: #1A202C;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-resources-ace-ph-security__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-ace-ph-security__hero-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-ace-ph-security__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-resources-ace-ph-security__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  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;
}

.page-resources-ace-ph-security__hero-button:hover {
  background-color: #e6c200;
  color: #0d1016;
}

.page-resources-ace-ph-security__hero-image {
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.page-resources-ace-ph-security__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-ace-ph-security__content-area {
  max-width: 800px; /* Article content width for readability */
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #2D3748; /* Slightly lighter than body for contrast */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-ace-ph-security__article {
  padding: 20px 0;
}

.page-resources-ace-ph-security__intro-paragraph {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-resources-ace-ph-security__section-title {
  font-size: 2em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-resources-ace-ph-security__article p {
  margin-bottom: 15px;
  color: #f0f0f0;
  font-size: 1em;
}

.page-resources-ace-ph-security__image-container {
  margin: 30px 0;
  text-align: center;
}

.page-resources-ace-ph-security__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-ace-ph-security__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-resources-ace-ph-security__cta-button {
  display: inline-block;
  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, transform 0.2s ease;
  min-width: 200px;
}

.page-resources-ace-ph-security__cta-button--primary {
  background-color: #FFD700;
  color: #1A202C;
}

.page-resources-ace-ph-security__cta-button--primary:hover {
  background-color: #e6c200;
  color: #0d1016;
  transform: translateY(-2px);
}

.page-resources-ace-ph-security__cta-button--secondary {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-ace-ph-security__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-resources-ace-ph-security__back-link {
  text-align: center;
  margin-top: 40px;
}

.page-resources-ace-ph-security__back-button {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border: 1px solid #FFD700;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-ace-ph-security__back-button:hover {
  background-color: #FFD700;
  color: #1A202C;
}

@media (max-width: 768px) {
  .page-resources-ace-ph-security__hero-section {
    padding: 60px 15px;
  }

  .page-resources-ace-ph-security__hero-title {
    font-size: 2.2em;
  }

  .page-resources-ace-ph-security__hero-description {
    font-size: 1em;
  }

  .page-resources-ace-ph-security__content-area {
    padding: 20px 15px;
  }

  .page-resources-ace-ph-security__section-title {
    font-size: 1.6em;
  }

  .page-resources-ace-ph-security__hero-image img,
  .page-resources-ace-ph-security__image-container img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-resources-ace-ph-security__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}