/* style/blog-ac888-latest-promotions.css */

/* Base styles for the page content area */
.page-blog-ac888-latest-promotions {
  background-color: var(--background-color, #F5F7FA); /* Default to light background */
  color: var(--text-main-color, #333333); /* Default to dark text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-blog-ac888-latest-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* Ensure image doesn't overflow */
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #E53935; /* Fallback background */
}

.page-blog-ac888-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for large screens */
  min-width: 200px;
  min-height: 200px;
}

.page-blog-ac888-latest-promotions__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1; /* Ensure content is above any background elements */
  color: #ffffff; /* White text for hero content */
  background-color: #E53935; /* Brand color background for content block */
  margin-top: -5px; /* Slight overlap to visually connect */
  position: relative;
  width: 100%;
}

.page-blog-ac888-latest-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-blog-ac888-latest-promotions__hero-description {
  font-size: clamp(1em, 2vw, 1.25em);
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Section Styles */
.page-blog-ac888-latest-promotions__section {
  padding: 60px 0;
  background-color: #F5F7FA; /* Default section background */
  color: #333333;
}

.page-blog-ac888-latest-promotions__section:nth-of-type(odd) {
  background-color: #ffffff; /* Alternate background for readability */
}

.page-blog-ac888-latest-promotions__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #E53935; /* Brand color for section titles */
}

.page-blog-ac888-latest-promotions__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

/* CTA Buttons */
.page-blog-ac888-latest-promotions__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
  text-align: center;
  box-sizing: border-box;
}

.page-blog-ac888-latest-promotions__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-ac888-latest-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-ac888-latest-promotions__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-blog-ac888-latest-promotions__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

.page-blog-ac888-latest-promotions__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Grid for Promo Types */
.page-blog-ac888-latest-promotions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-ac888-latest-promotions__card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-blog-ac888-latest-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-blog-ac888-latest-promotions__card-title {
  font-size: 1.4em;
  font-weight: 600;
  padding: 15px 20px 10px;
  color: #E53935;
}

.page-blog-ac888-latest-promotions__card-text {
  font-size: 0.95em;
  padding: 0 20px 20px;
  flex-grow: 1; /* Allow text to take up available space */
}

.page-blog-ac888-latest-promotions__card .page-blog-ac888-latest-promotions__cta-button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* How-To-Claim Section */
.page-blog-ac888-latest-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 800px;
}

.page-blog-ac888-latest-promotions__list-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  color: #333333;
}

.page-blog-ac888-latest-promotions__list-title {
  font-size: 1.3em;
  color: #E53935;
  margin-bottom: 10px;
}

.page-blog-ac888-latest-promotions__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 40px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

/* Terms & Conditions Section (Dark Background) */
.page-blog-ac888-latest-promotions__dark-section {
  background-color: #E53935; /* Brand primary color for dark section */
  color: #ffffff;
}

.page-blog-ac888-latest-promotions__dark-section .page-blog-ac888-latest-promotions__section-title {
  color: #ffffff;
}

.page-blog-ac888-latest-promotions__dark-section .page-blog-ac888-latest-promotions__paragraph,
.page-blog-ac888-latest-promotions__dark-section .page-blog-ac888-latest-promotions__list-item {
  color: #f0f0f0;
}

.page-blog-ac888-latest-promotions__dark-section .page-blog-ac888-latest-promotions__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border-color: #ffffff;
}

.page-blog-ac888-latest-promotions__dark-section .page-blog-ac888-latest-promotions__btn-secondary:hover {
  background: #f0f0f0;
  color: #E53935;
}

.page-blog-ac888-latest-promotions__bullet-list {
  list-style: disc;
  padding-left: 25px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-blog-ac888-latest-promotions__bullet-list .page-blog-ac888-latest-promotions__list-item {
  background: none;
  border: none;
  box-shadow: none;
  padding: 5px 0;
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.5;
}

/* FAQ Section */
.page-blog-ac888-latest-promotions__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-blog-ac888-latest-promotions__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-blog-ac888-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-blog-ac888-latest-promotions__faq-question:hover {
  background-color: #f9f9f9;
}

.page-blog-ac888-latest-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #E53935;
}

.page-blog-ac888-latest-promotions__faq-answer {
  padding: 0 20px 15px;
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-blog-ac888-latest-promotions__faq-item[open] .page-blog-ac888-latest-promotions__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

.page-blog-ac888-latest-promotions__faq-item[open] .page-blog-ac888-latest-promotions__faq-toggle {
  content: "−";
}

/* CTA Banner */
.page-blog-ac888-latest-promotions__cta-banner {
  background-color: #E53935; /* Brand primary color */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-blog-ac888-latest-promotions__cta-banner .page-blog-ac888-latest-promotions__section-title {
  color: #ffffff;
}

.page-blog-ac888-latest-promotions__cta-banner .page-blog-ac888-latest-promotions__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-ac888-latest-promotions__hero-section {
    padding-top: 10px;
  }
  .page-blog-ac888-latest-promotions__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-blog-ac888-latest-promotions__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }
  .page-blog-ac888-latest-promotions__hero-image {
    max-height: 400px;
  }
  .page-blog-ac888-latest-promotions__hero-content {
    padding: 30px 15px;
  }
  .page-blog-ac888-latest-promotions__main-title {
    font-size: 2em;
  }
  .page-blog-ac888-latest-promotions__hero-description {
    font-size: 1em;
  }

  .page-blog-ac888-latest-promotions__section {
    padding: 40px 0;
  }
  .page-blog-ac888-latest-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-blog-ac888-latest-promotions__paragraph {
    font-size: 1em;
  }

  .page-blog-ac888-latest-promotions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog-ac888-latest-promotions__card-image {
    height: 180px;
  }
  .page-blog-ac888-latest-promotions__card-title {
    font-size: 1.2em;
  }
  .page-blog-ac888-latest-promotions__card-text {
    font-size: 0.9em;
  }

  .page-blog-ac888-latest-promotions__list-item {
    padding: 20px;
  }
  .page-blog-ac888-latest-promotions__list-title {
    font-size: 1.1em;
  }

  .page-blog-ac888-latest-promotions__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
  .page-blog-ac888-latest-promotions__faq-answer {
    padding: 0 15px 12px;
  }

  /* Mobile image adaptation */
  .page-blog-ac888-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min size even on mobile */
    min-height: 200px !important; /* Enforce min size even on mobile */
  }
  .page-blog-ac888-latest-promotions__container,
  .page-blog-ac888-latest-promotions__section,
  .page-blog-ac888-latest-promotions__card,
  .page-blog-ac888-latest-promotions__button-group,
  .page-blog-ac888-latest-promotions__faq-list,
  .page-blog-ac888-latest-promotions__cta-banner,
  .page-blog-ac888-latest-promotions__introduction-section,
  .page-blog-ac888-latest-promotions__promo-types-section,
  .page-blog-ac888-latest-promotions__how-to-claim-section,
  .page-blog-ac888-latest-promotions__terms-conditions-section,
  .page-blog-ac888-latest-promotions__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile button adaptation */
  .page-blog-ac888-latest-promotions__cta-button,
  .page-blog-ac888-latest-promotions__btn-primary,
  .page-blog-ac888-latest-promotions__btn-secondary,
  .page-blog-ac888-latest-promotions a[class*="button"],
  .page-blog-ac888-latest-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-blog-ac888-latest-promotions__button-group {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }
}

/* Ensuring contrast for various elements on potential dark/light backgrounds */
/* Assuming body is light, default text is dark. Specific dark sections will have light text. */
.page-blog-ac888-latest-promotions__dark-bg { /* Example class if a section is intentionally dark */
  color: #ffffff; /* Dark background with light text */
  background-color: #E53935;
}

.page-blog-ac888-latest-promotions__light-bg { /* Example class if a section is intentionally light */
  color: #333333; /* Light background with dark text */
  background-color: #ffffff;
}

.page-blog-ac888-latest-promotions__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}

/* No CSS filters for images */
.page-blog-ac888-latest-promotions img {
  filter: none;
}