/* style/resources-vf555-affiliate-program.css */

:root {
  --page-primary-color: #007bff;
  --page-secondary-color: #ffc107;
  --page-text-color: #333;
  --page-light-text-color: #f8f9fa;
  --page-background-color: #f4f7f6;
  --page-card-background: #ffffff;
  --page-border-color: #e0e0e0;
}

.page-resources-vf555-affiliate-program {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-text-color);
  background-color: var(--page-background-color);
}

.page-resources-vf555-affiliate-program__hero {
  position: relative;
  background: linear-gradient(135deg, var(--page-primary-color) 0%, #0056b3 100%); /* Adjusted for better contrast with text */
  color: var(--page-light-text-color);
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure hero section has a minimum height */
}

.page-resources-vf555-affiliate-program__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-vf555-affiliate-program__back-link {
  color: var(--page-light-text-color);
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 20px;
  display: block;
  text-align: left;
  width: 100%;
}

.page-resources-vf555-affiliate-program__back-link:hover {
  text-decoration: underline;
}

.page-resources-vf555-affiliate-program__title {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--page-light-text-color);
  line-height: 1.2;
}

.page-resources-vf555-affiliate-program__meta {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 30px;
}

.page-resources-vf555-affiliate-program__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

.page-resources-vf555-affiliate-program__btn {
  display: inline-block;
  background-color: var(--page-secondary-color);
  color: var(--page-text-color); /* Darker text for contrast on yellow */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  margin-top: 20px;
}

.page-resources-vf555-affiliate-program__btn:hover {
  background-color: #e0a800; /* Slightly darker yellow */
  transform: translateY(-2px);
}

.page-resources-vf555-affiliate-program__btn--primary {
  background-color: var(--page-secondary-color);
  color: #333;
}

.page-resources-vf555-affiliate-program__article-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: var(--page-card-background);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 40px;
}

.page-resources-vf555-affiliate-program__section {
  margin-bottom: 40px;
}

.page-resources-vf555-affiliate-program__heading {
  font-size: 2.2rem;
  color: var(--page-primary-color);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--page-secondary-color);
  padding-bottom: 10px;
}

.page-resources-vf555-affiliate-program__sub-heading {
  font-size: 1.6rem;
  color: #0056b3; /* Darker blue for contrast */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-vf555-affiliate-program__section p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.page-resources-vf555-affiliate-program__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.page-resources-vf555-affiliate-program__list li {
  margin-bottom: 10px;
}

.page-resources-vf555-affiliate-program__faq-item {
  background-color: #f8f9fa;
  border: 1px solid var(--page-border-color);
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-resources-vf555-affiliate-program__faq-item .page-resources-vf555-affiliate-program__sub-heading {
  margin-top: 0;
  font-size: 1.4rem;
  color: var(--page-primary-color);
  margin-bottom: 10px;
}

.page-resources-vf555-affiliate-program__section--cta {
  text-align: center;
  background-color: #e9f5ff; /* Lighter blue background for CTA */
  padding: 40px;
  border-radius: 8px;
  margin-top: 50px;
  border: 1px dashed var(--page-primary-color);
}

.page-resources-vf555-affiliate-program__section--cta .page-resources-vf555-affiliate-program__heading {
  color: var(--page-primary-color);
  border-bottom: none;
}

.page-resources-vf555-affiliate-program__section--cta p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.15rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-vf555-affiliate-program__title {
    font-size: 2.2rem;
  }

  .page-resources-vf555-affiliate-program__heading {
    font-size: 1.8rem;
  }

  .page-resources-vf555-affiliate-program__sub-heading {
    font-size: 1.4rem;
  }

  .page-resources-vf555-affiliate-program__article-container {
    padding: 20px;
    margin: 20px auto;
  }

  .page-resources-vf555-affiliate-program__section p,
  .page-resources-vf555-affiliate-program__list li {
    font-size: 1rem;
  }

  .page-resources-vf555-affiliate-program__hero {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-vf555-affiliate-program__title {
    font-size: 1.8rem;
  }

  .page-resources-vf555-affiliate-program__heading {
    font-size: 1.5rem;
  }

  .page-resources-vf555-affiliate-program__sub-heading {
    font-size: 1.2rem;
  }

  .page-resources-vf555-affiliate-program__btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .page-resources-vf555-affiliate-program__article-container {
    padding: 15px;
  }
}