.page-resources-phtaya16-introduction {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light body background */
  background-color: #FFFFFF;
}

.page-resources-phtaya16-introduction__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
}

.page-resources-phtaya16-introduction__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
}

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

.page-resources-phtaya16-introduction__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

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

.page-resources-phtaya16-introduction__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-resources-phtaya16-introduction__button--register {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register text color */
  border: 2px solid #FFFFFF;
}

.page-resources-phtaya16-introduction__button--register:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-phtaya16-introduction__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-phtaya16-introduction__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-resources-phtaya16-introduction__button--download {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources-phtaya16-introduction__button--download:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources-phtaya16-introduction__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-phtaya16-introduction__button--join-now:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-resources-phtaya16-introduction__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-resources-phtaya16-introduction__article {
  padding: 20px 0;
}

.page-resources-phtaya16-introduction__section-title {
  font-size: 2.2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-phtaya16-introduction__sub-title {
  font-size: 1.7em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-phtaya16-introduction__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

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

.page-resources-phtaya16-introduction__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  border-radius: 8px;
}

.page-resources-phtaya16-introduction__call-to-action-text {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources-phtaya16-introduction__back-link-container {
  text-align: center;
  margin-top: 50px;
}

.page-resources-phtaya16-introduction__back-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-resources-phtaya16-introduction__back-link:hover {
  background-color: #333333;
}

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

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

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

  .page-resources-phtaya10-introduction__button {
    width: 100%;
    max-width: 250px;
  }

  .page-resources-phtaya16-introduction__content-area {
    margin: 20px auto;
    padding: 15px;
  }

  .page-resources-phtaya16-introduction__section-title {
    font-size: 1.8em;
  }

  .page-resources-phtaya16-introduction__sub-title {
    font-size: 1.4em;
  }

  .page-resources-phtaya16-introduction__paragraph {
    font-size: 1em;
  }

  .page-resources-phtaya16-introduction__image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and do not overflow */
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }

  .page-resources-phtaya16-introduction__call-to-action-text {
    font-size: 1.2em;
  }

  /* Critical: Prevent content overflow on mobile */
  .page-resources-phtaya16-introduction img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-resources-phtaya16-introduction__hero-title {
    font-size: 1.5em;
  }

  .page-resources-phtaya16-introduction__hero-description {
    font-size: 0.9em;
  }

  .page-resources-phtaya16-introduction__hero-content {
    padding: 10px;
  }

  .page-resources-phtaya16-introduction__button {
    padding: 10px 20px;
  }
}