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

.page-promo__hero-section {
  background-color: #000000;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.page-promo__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-promo__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1.2;
}

.page-promo__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-promo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-promo__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-promo__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-promo__button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-promo__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-promo__button--primary {
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-promo__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #FCBC45;
}

.page-promo__button--secondary:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
}

.page-promo__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
}

.page-promo__button--small:hover {
  background-color: #e0a53b;
  transform: translateY(-1px);
}

.page-promo__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-promo__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promo__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-promo__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-promo__promo-card {
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promo__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-promo__card-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin: 0 20px 15px;
  font-weight: bold;
}

.page-promo__card-description {
  font-size: 1em;
  margin: 0 20px 25px;
  flex-grow: 1;
}

.page-promo__claim-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-promo__step-item {
  background-color: #f8f8f8;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.5;
}

.page-promo__step-item strong {
  color: #000000;
}

.page-promo__step-item a {
  color: #FCBC45;
  text-decoration: none;
}

.page-promo__step-item a:hover {
  text-decoration: underline;
}

.page-promo__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-promo__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promo__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-promo__resource-list {
  list-style: none;
  padding: 0;
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-promo__resource-item {
  background-color: #000000;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-promo__resource-item a {
  color: #FCBC45;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
}

.page-promo__resource-item a:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

.page-promo__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-promo__details-list-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-promo__detail-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-promo__detail-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promo__detail-title a {
  color: #FCBC45;
  text-decoration: none;
}

.page-promo__detail-title a:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

.page-promo__detail-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-promo__hero-section {
    padding: 60px 15px 30px;
  }

  .page-promo__hero-title {
    font-size: 2.2em;
  }

  .page-promo__hero-description {
    font-size: 1.1em;
  }

  .page-promo__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-promo__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-promo__content-area {
    padding: 40px 15px;
  }

  .page-promo__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-promo__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-promo__promo-card {
    margin-bottom: 20px;
  }

  .page-promo__card-image {
    height: 200px;
  }

  .page-promo__card-title {
    font-size: 1.4em;
  }

  .page-promo__faq-question {
    font-size: 1.2em;
  }

  .page-promo__resource-list {
    grid-template-columns: 1fr;
  }

  .page-promo__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promo__text-block, .page-promo__faq-answer, .page-promo__detail-description {
    font-size: 1em;
  }

  /* Ensure all content area images are responsive and not too small */
  .page-promo img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
  }

  .page-promo__card-image, .page-promo__hero-image {
    min-width: unset;
    min-height: unset;
  }
}