/* style/resources-phs777-introduction.css */

:root {
  --phs777-primary-color: #0A2463;
  --phs777-secondary-color: #FFD700;
  --phs777-text-dark: #333333;
  --phs777-text-light: #ffffff;
  --phs777-bg-light: #f8f8f8;
}

.page-resources-phs777-introduction {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--phs777-text-dark); /* Body background is light, so use dark text */
  background-color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-phs777-introduction__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--phs777-text-light);
  text-align: center;
  padding: 0;
}

.page-resources-phs777-introduction__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-resources-phs777-introduction__hero-container {
  position: relative;
  width: 100%;
}

.page-resources-phs777-introduction__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-resources-phs777-introduction__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: var(--phs777-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-phs777-introduction__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--phs777-text-light);
}

.page-resources-phs777-introduction__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-resources-phs777-introduction__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-resources-phs777-introduction__button--primary {
  background-color: var(--phs777-secondary-color);
  color: var(--phs777-primary-color);
}

.page-resources-phs777-introduction__button--primary:hover {
  background-color: darken(var(--phs777-secondary-color), 10%);
  transform: translateY(-2px);
}

.page-resources-phs777-introduction__button--secondary {
  background-color: var(--phs777-primary-color);
  color: var(--phs777-text-light);
  border: 1px solid var(--phs777-secondary-color);
}

.page-resources-phs777-introduction__button--secondary:hover {
  background-color: lighten(var(--phs777-primary-color), 10%);
  transform: translateY(-2px);
}

.page-resources-phs777-introduction__content-area {
  max-width: 800px; /* Content width for comfortable reading */
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources-phs777-introduction__article-heading {
  font-size: 2.2em;
  color: var(--phs777-primary-color);
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-phs777-introduction__sub-heading {
  font-size: 1.8em;
  color: var(--phs777-primary-color);
  margin-top: 35px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--phs777-secondary-color);
  padding-bottom: 5px;
}

.page-resources-phs777-introduction__sub-sub-heading {
  font-size: 1.4em;
  color: var(--phs777-primary-color);
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-resources-phs777-introduction__article p {
  margin-bottom: 1em;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-phs777-introduction__article-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-phs777-introduction__feature-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 1.5em;
  padding-left: 0;
}

.page-resources-phs777-introduction__feature-list li {
  margin-bottom: 0.8em;
  font-size: 1.1em;
}

.page-resources-phs777-introduction__feature-list strong {
  color: var(--phs777-primary-color);
}

.page-resources-phs777-introduction__inline-link {
  color: var(--phs777-primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-phs777-introduction__inline-link:hover {
  color: var(--phs777-secondary-color);
  text-decoration: none;
}

.page-resources-phs777-introduction__call-to-action {
  background-color: var(--phs777-primary-color);
  color: var(--phs777-text-light);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-resources-phs777-introduction__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-resources-phs777-introduction__call-to-action .page-resources-phs777-introduction__button {
  margin: 0 10px;
}

.page-resources-phs777-introduction__return-link-container {
  text-align: center;
  margin-top: 40px;
}

.page-resources-phs777-introduction__return-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--phs777-primary-color);
  color: var(--phs777-text-light);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-resources-phs777-introduction__return-link:hover {
  background-color: lighten(var(--phs777-primary-color), 10%);
}

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

  .page-resources-phs777-introduction__hero-description {
    font-size: 1em;
  }

  .page-resources-phs777-introduction__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-phs777-introduction__button {
    width: 80%;
    max-width: 300px;
  }

  .page-resources-phs777-introduction__article-heading {
    font-size: 1.8em;
  }

  .page-resources-phs777-introduction__sub-heading {
    font-size: 1.5em;
  }

  .page-resources-phs777-introduction__sub-sub-heading {
    font-size: 1.2em;
  }

  .page-resources-phs777-introduction__article p,
  .page-resources-phs777-introduction__feature-list li {
    font-size: 1em;
  }

  .page-resources-phs777-introduction__cta-text {
    font-size: 1.2em;
  }

  /* Ensure images do not overflow on mobile */
  .page-resources-phs777-introduction img {
    max-width: 100%;
    height: auto;
  }
}