/* Base styles for the page */
.page-blog-88acb-latest-promotions {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background: #FFFFFF;
}

.page-blog-88acb-latest-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-88acb-latest-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Brand primary color for titles */
}

.page-blog-88acb-latest-promotions__section-title--white {
  color: #ffffff;
}

.page-blog-88acb-latest-promotions__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog-88acb-latest-promotions__text-block--white {
  color: #ffffff;
}

.page-blog-88acb-latest-promotions__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-blog-88acb-latest-promotions__list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-blog-88acb-latest-promotions__list--white li {
  color: #ffffff;
}

/* Buttons */
.page-blog-88acb-latest-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-blog-88acb-latest-promotions__btn-primary,
.page-blog-88acb-latest-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-88acb-latest-promotions__btn-primary {
  background: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-blog-88acb-latest-promotions__btn-primary:hover {
  background: #a30707;
  border-color: #a30707;
}

.page-blog-88acb-latest-promotions__btn-secondary {
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-blog-88acb-latest-promotions__btn-secondary:hover {
  background: #f0f0f0;
  color: #005a2b;
}

/* Hero Section */
.page-blog-88acb-latest-promotions__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #017439;
  overflow: hidden;
}

.page-blog-88acb-latest-promotions__hero-image-wrapper {
  width: 100%;
  height: 500px; /* Fixed height for desktop hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-blog-88acb-latest-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image covers the area */
  display: block;
}

.page-blog-88acb-latest-promotions__hero-content {
  position: relative; /* Relative positioning for content below image */
  padding: 40px 20px;
  text-align: center;
  background-color: #017439;
  color: #ffffff;
  margin-top: -5px; /* Slight overlap with image for smooth transition */
}

.page-blog-88acb-latest-promotions__main-title {
  font-size: clamp(32px, 4vw, 48px); /* Responsive font size */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-88acb-latest-promotions__hero-description {
  font-size: 19px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

/* Promotions Grid Section */
.page-blog-88acb-latest-promotions__promotions-grid-section {
  padding: 60px 0;
  background: #017439; /* Brand primary color background */
  color: #ffffff;
}

.page-blog-88acb-latest-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-88acb-latest-promotions__promo-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-blog-88acb-latest-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-blog-88acb-latest-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog-88acb-latest-promotions__card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 20px 10px;
  color: #017439;
}

.page-blog-88acb-latest-promotions__card-text {
  font-size: 15px;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-88acb-latest-promotions__card-link {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border-radius: 0 0 10px 10px;
}

.page-blog-88acb-latest-promotions__card-link:hover {
  background: #005a2b;
}

/* How to Claim Section */
.page-blog-88acb-latest-promotions__how-to-claim-section {
  padding: 60px 0;
  background: #f9f9f9;
}

.page-blog-88acb-latest-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog-88acb-latest-promotions__step-item {
  text-align: center;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-88acb-latest-promotions__step-icon {
  width: 60px;
  height: 60px;
  background: #017439;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.page-blog-88acb-latest-promotions__step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #017439;
}

.page-blog-88acb-latest-promotions__step-text {
  font-size: 15px;
  color: #555555;
}

.page-blog-88acb-latest-promotions__image-full-width {
  text-align: center;
}

.page-blog-88acb-latest-promotions__article-figure {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

/* Terms Section */
.page-blog-88acb-latest-promotions__terms-section {
  padding: 60px 0;
  background: #017439;
  color: #ffffff;
}

/* Why Choose Section */
.page-blog-88acb-latest-promotions__why-choose-section {
  padding: 60px 0;
  background: #f9f9f9;
}

/* FAQ Section */
details.page-blog-88acb-latest-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-blog-88acb-latest-promotions__faq-item summary.page-blog-88acb-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog-88acb-latest-promotions__faq-item summary.page-blog-88acb-latest-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-88acb-latest-promotions__faq-item summary.page-blog-88acb-latest-promotions__faq-question:hover {
  background: #f5f5f5;
}
.page-blog-88acb-latest-promotions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-blog-88acb-latest-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-88acb-latest-promotions__faq-item .page-blog-88acb-latest-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* Final CTA Section */
.page-blog-88acb-latest-promotions__final-cta-section {
  padding: 60px 0;
  background: #017439;
  text-align: center;
  color: #ffffff;
}

/* Global image responsiveness */
.page-blog-88acb-latest-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Responsive Styles --- */

/* Desktop/Tablet common styles (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-blog-88acb-latest-promotions__container {
    padding: 15px;
  }

  .page-blog-88acb-latest-promotions__section-title {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .page-blog-88acb-latest-promotions__text-block {
    font-size: 16px;
  }

  .page-blog-88acb-latest-promotions__hero-image-wrapper {
    height: 400px;
  }

  .page-blog-88acb-latest-promotions__main-title {
    font-size: clamp(28px, 3.5vw, 42px);
  }

  .page-blog-88acb-latest-promotions__hero-description {
    font-size: 17px;
  }

  .page-blog-88acb-latest-promotions__btn-primary,
  .page-blog-88acb-latest-promotions__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-blog-88acb-latest-promotions__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-blog-88acb-latest-promotions__promo-card {
    height: auto;
  }

  .page-blog-88acb-latest-promotions__card-image {
    height: 180px;
  }

  .page-blog-88acb-latest-promotions__card-title {
    font-size: 20px;
  }

  .page-blog-88acb-latest-promotions__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* Mobile specific styles (max-width: 768px) */
@media (max-width: 768px) {
  /* General mobile container and text adjustments */
  .page-blog-88acb-latest-promotions__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-88acb-latest-promotions__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .page-blog-88acb-latest-promotions__text-block,
  .page-blog-88acb-latest-promotions__list li {
    font-size: 15px;
  }

  /* HERO Section - Mobile */
  .page-blog-88acb-latest-promotions__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }
  
  .page-blog-88acb-latest-promotions__hero-image-wrapper {
    height: 250px; /* Shorter hero image for mobile */
  }

  .page-blog-88acb-latest-promotions__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible without cropping */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio */
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-88acb-latest-promotions__hero-content {
    padding: 30px 15px;
  }

  .page-blog-88acb-latest-promotions__main-title {
    font-size: clamp(24px, 7vw, 36px); /* More aggressive clamping for mobile H1 */
    margin-bottom: 15px;
  }

  .page-blog-88acb-latest-promotions__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Buttons - Mobile */
  .page-blog-88acb-latest-promotions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-88acb-latest-promotions__btn-primary,
  .page-blog-88acb-latest-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Promotions Grid - Mobile */
  .page-blog-88acb-latest-promotions__promotions-grid-section {
    padding: 40px 0;
    overflow-x: hidden; /* Prevent horizontal scroll for this section */
  }

  .page-blog-88acb-latest-promotions__grid {
    grid-template-columns: 1fr; /* Single column for promo cards on mobile */
    gap: 20px;
    padding: 0 15px; /* Ensure grid itself has padding */
  }

  .page-blog-88acb-latest-promotions__promo-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-88acb-latest-promotions__card-image {
    height: 150px;
  }

  .page-blog-88acb-latest-promotions__card-title {
    font-size: 18px;
  }

  .page-blog-88acb-latest-promotions__card-text {
    font-size: 14px;
  }

  /* How to Claim Section - Mobile */
  .page-blog-88acb-latest-promotions__how-to-claim-section {
    padding: 40px 0;
  }

  .page-blog-88acb-latest-promotions__steps-grid {
    grid-template-columns: 1fr; /* Single column for steps on mobile */
    gap: 20px;
    padding: 0 15px;
  }

  .page-blog-88acb-latest-promotions__step-item {
    padding: 20px;
  }

  .page-blog-88acb-latest-promotions__step-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 15px;
  }

  .page-blog-88acb-latest-promotions__step-title {
    font-size: 18px;
  }

  .page-blog-88acb-latest-promotions__step-text {
    font-size: 14px;
  }

  .page-blog-88acb-latest-promotions__image-full-width {
    padding: 0 15px; /* Ensure image container has padding */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-88acb-latest-promotions__article-figure {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* Terms Section - Mobile */
  .page-blog-88acb-latest-promotions__terms-section {
    padding: 40px 0;
  }

  /* Why Choose Section - Mobile */
  .page-blog-88acb-latest-promotions__why-choose-section {
    padding: 40px 0;
  }

  /* FAQ Section - Mobile */
  details.page-blog-88acb-latest-promotions__faq-item summary.page-blog-88acb-latest-promotions__faq-question {
    padding: 15px;
  }
  .page-blog-88acb-latest-promotions__faq-qtext {
    font-size: 15px;
  }
  details.page-blog-88acb-latest-promotions__faq-item .page-blog-88acb-latest-promotions__faq-answer {
    padding: 0 15px 15px;
  }

  /* Final CTA Section - Mobile */
  .page-blog-88acb-latest-promotions__final-cta-section {
    padding: 40px 0;
  }

  /* General content area images (e.g., in p tags or standalone) */
  .page-blog-88acb-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Any section/div/card containing images or text that needs to be constrained */
  .page-blog-88acb-latest-promotions__section,
  .page-blog-88acb-latest-promotions__card,
  .page-blog-88acb-latest-promotions__container,
  .page-blog-88acb-latest-promotions__promo-card,
  .page-blog-88acb-latest-promotions__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}