/* style/index-latest-promotions.css */
.page-index-latest-promotions {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-index-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-latest-promotions__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 60px; /* Adjust as needed */
}

.page-index-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-index-latest-promotions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF; /* White text for hero overlay */
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay for text readability */
  border-radius: 8px;
}

.page-index-latest-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-index-latest-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-index-latest-promotions__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-latest-promotions__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, color 0.3s ease;
  white-space: nowrap;
}

.page-index-latest-promotions__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-index-latest-promotions__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.page-index-latest-promotions__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-latest-promotions__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-index-latest-promotions__overview-section {
  padding: 60px 0;
  background-color: #F8F8F8;
  text-align: center;
}

.page-index-latest-promotions__overview-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-index-latest-promotions__overview-text {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-index-latest-promotions__promo-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-latest-promotions__category-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 280px; /* Ensure cards have similar height */
}

.page-index-latest-promotions__category-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #000000;
}

.page-index-latest-promotions__category-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-latest-promotions__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border: 1px solid #FCBC45;
}

.page-index-latest-promotions__button--small:hover {
  background-color: #E0A83A;
  color: #FFFFFF;
}

.page-index-latest-promotions__featured-promos {
  padding: 80px 0;
  background-color: #FFFFFF;
  text-align: center;
}

.page-index-latest-promotions__featured-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000;
}

.page-index-latest-promotions__featured-description {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 60px;
  color: #555555;
}

.page-index-latest-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.page-index-latest-promotions__promo-card {
  background-color: #FDFDFD;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-index-latest-promotions__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index-latest-promotions__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index-latest-promotions__promo-card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
}

.page-index-latest-promotions__promo-card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index-latest-promotions__why-choose-us {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-index-latest-promotions__why-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-index-latest-promotions__why-description {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #E0E0E0;
}

.page-index-latest-promotions__why-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-index-latest-promotions__why-list-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__why-list-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-index-latest-promotions__why-list-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #C0C0C0;
}

.page-index-latest-promotions__why-conclusion {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

.page-index-latest-promotions__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index-latest-promotions__button--large:hover {
  background-color: #E0A83A;
  color: #FFFFFF;
}

.page-index-latest-promotions__how-to-claim {
  padding: 80px 0;
  background-color: #F8F8F8;
  text-align: center;
}

.page-index-latest-promotions__how-to-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #000000;
}

.page-index-latest-promotions__how-to-description {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-index-latest-promotions__how-to-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-index-latest-promotions__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-index-latest-promotions__step-item h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #000000;
}

.page-index-latest-promotions__step-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-latest-promotions__how-to-footer {
  font-size: 1.1em;
  margin-top: 40px;
  color: #555555;
}

.page-index-latest-promotions__faq-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-index-latest-promotions__faq-title {
  font-size: 2.8em;
  margin-bottom: 50px;
  text-align: center;
  color: #FCBC45;
}

.page-index-latest-promotions__accordion-item {
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.page-index-latest-promotions__accordion-header {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px 25px;
  font-size: 1.4em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFFFFF;
  transition: background-color 0.3s ease;
}

.page-index-latest-promotions__accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index-latest-promotions__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-index-latest-promotions__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-latest-promotions__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions__accordion-content p {
  padding: 15px 0;
  font-size: 1em;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-index-latest-promotions__final-cta {
  padding: 80px 0;
  background-color: #FCBC45;
  text-align: center;
  color: #000000;
}

.page-index-latest-promotions__final-cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #000000;
}

.page-index-latest-promotions__final-cta-description {
  font-size: 1.2em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #333333;
}

.page-index-latest-promotions__button--final {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 20px 40px;
  font-size: 1.3em;
}

.page-index-latest-promotions__button--final:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-latest-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-index-latest-promotions__hero-description {
    font-size: 1.1em;
  }
  .page-index-latest-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-latest-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-index-latest-promotions__hero-description {
    font-size: 1em;
  }
  .page-index-latest-promotions__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-latest-promotions__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-index-latest-promotions__overview-title,
  .page-index-latest-promotions__featured-title,
  .page-index-latest-promotions__why-title,
  .page-index-latest-promotions__how-to-title,
  .page-index-latest-promotions__faq-title,
  .page-index-latest-promotions__final-cta-title {
    font-size: 2em;
  }
  .page-index-latest-promotions__promo-categories,
  .page-index-latest-promotions__promo-grid,
  .page-index-latest-promotions__why-list,
  .page-index-latest-promotions__how-to-steps {
    grid-template-columns: 1fr;
  }
  .page-index-latest-promotions__promo-card-title {
    font-size: 1.5em;
  }
  .page-index-latest-promotions__accordion-header {
    font-size: 1.2em;
    padding: 15px 20px;
  }
  /* Mobile content area image constraint */
  .page-index-latest-promotions img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index-latest-promotions__hero-content {
    width: 95%;
    padding: 15px;
  }
  .page-index-latest-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-index-latest-promotions__hero-description {
    font-size: 0.9em;
  }
  .page-index-latest-promotions__button {
    width: 90%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-latest-promotions__overview-title,
  .page-index-latest-promotions__featured-title,
  .page-index-latest-promotions__why-title,
  .page-index-latest-promotions__how-to-title,
  .page-index-latest-promotions__faq-title,
  .page-index-latest-promotions__final-cta-title {
    font-size: 1.8em;
  }
  .page-index-latest-promotions__category-card,
  .page-index-latest-promotions__promo-card,
  .page-index-latest-promotions__why-list-item,
  .page-index-latest-promotions__step-item {
    padding: 20px;
  }
  .page-index-latest-promotions__promo-image {
    height: 200px;
  }
}