.page-resources-understanding-rtp {
  color: #333333;
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources-understanding-rtp__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-resources-understanding-rtp__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-resources-understanding-rtp__hero-title {
  font-size: 3.2em;
  margin-bottom: 25px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

.page-resources-understanding-rtp__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 35px;
  line-height: 1.5;
  color: #E0E0E0;
}

.page-resources-understanding-rtp__hero-cta {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.page-resources-understanding-rtp__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover; /* Ensure image covers the area without distortion */
}

.page-resources-understanding-rtp__content-area {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-understanding-rtp__table-of-contents {
  background-color: #F8F8F8;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-understanding-rtp__toc-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-understanding-rtp__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-understanding-rtp__toc-list li {
  margin-bottom: 10px;
}

.page-resources-understanding-rtp__toc-list li a {
  text-decoration: none;
  color: #000000;
  font-weight: normal;
  transition: color 0.3s ease;
}

.page-resources-understanding-rtp__toc-list li a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-resources-understanding-rtp__article-heading {
  font-size: 2.2em;
  color: #000000;
  margin-top: 50px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-resources-understanding-rtp__article-paragraph {
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-understanding-rtp__article-list {
  list-style-type: disc;
  margin: 20px 0 20px 25px;
  padding: 0;
  color: #333333;
}

.page-resources-understanding-rtp__article-list li {
  margin-bottom: 10px;
}

.page-resources-understanding-rtp__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-understanding-rtp__call-to-action {
  background-color: #000000;
  color: #FFFFFF;
  padding: 40px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-understanding-rtp__cta-text {
  font-size: 1.5em;
  margin-bottom: 25px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-resources-understanding-rtp__related-resources {
  margin-top: 60px;
  padding: 30px;
  background-color: #F8F8F8;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-understanding-rtp__aside-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-understanding-rtp__aside-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-understanding-rtp__aside-list li {
  margin-bottom: 12px;
}

.page-resources-understanding-rtp__aside-link {
  text-decoration: none;
  color: #000000;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-understanding-rtp__aside-link:hover {
  color: #FCBC45;
  text-decoration: underline;
}

.page-resources-understanding-rtp__back-to-resources-link {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-understanding-rtp__back-to-resources-link:hover {
  color: #FCBC45;
}

/* Button styles */
.page-resources-understanding-rtp__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Main color */
}

.page-resources-understanding-rtp__button--primary:hover {
  background-color: #E6A73C;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-understanding-rtp__hero-title {
    font-size: 2.8em;
  }
  .page-resources-understanding-rtp__hero-description {
    font-size: 1.1em;
  }
  .page-resources-understanding-rtp__article-heading {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-understanding-rtp__hero-title {
    font-size: 2.2em;
  }
  .page-resources-understanding-rtp__hero-description {
    font-size: 1em;
  }
  .page-resources-understanding-rtp__hero-section {
    padding: 60px 15px 30px;
  }
  .page-resources-understanding-rtp__hero-cta {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-understanding-rtp__content-area {
    padding: 0 15px;
  }
  .page-resources-understanding-rtp__article-heading {
    font-size: 1.8em;
  }
  .page-resources-understanding-rtp__cta-text {
    font-size: 1.3em;
  }
  .page-resources-understanding-rtp__related-resources {
    padding: 20px;
  }
  .page-resources-understanding-rtp__aside-title {
    font-size: 1.6em;
  }
  /* Ensure content images do not overflow on mobile */
  .page-resources-understanding-rtp__content-image, .page-resources-understanding-rtp__hero-image {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-resources-understanding-rtp__hero-title {
    font-size: 1.8em;
  }
  .page-resources-understanding-rtp__hero-description {
    font-size: 0.95em;
  }
  .page-resources-understanding-rtp__article-heading {
    font-size: 1.5em;
  }
  .page-resources-understanding-rtp__toc-title, .page-resources-understanding-rtp__aside-title {
    font-size: 1.4em;
  }
  .page-resources-understanding-rtp__call-to-action {
    padding: 30px 15px;
  }
  .page-resources-understanding-rtp__cta-text {
    font-size: 1.1em;
  }
}