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

/* Base styles */
.page-blog-latest-promotions {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-blog-latest-promotions__section-title {
  color: #F2C14E; /* Gold */
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-blog-latest-promotions__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-blog-latest-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-latest-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-blog-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-latest-promotions__hero-content {
  text-align: center;
  max-width: 900px;
}

.page-blog-latest-promotions__main-title {
  color: #F2FFF6; /* Text Main */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 100%;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-blog-latest-promotions__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-blog-latest-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-latest-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

/* Intro Section */
.page-blog-latest-promotions__intro-section {
  padding: 80px 0;
  background-color: #08160F;
}

/* Promotions Types Section */
.page-blog-latest-promotions__promotions-types {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-blog-latest-promotions__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

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

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

.page-blog-latest-promotions__promo-title {
  color: #F2FFF6; /* Text Main */
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-latest-promotions__promo-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-latest-promotions__btn-secondary {
  background: none;
  color: #11A84E; /* Main color */
  border: 2px solid #11A84E; /* Main color */
  box-shadow: none;
}

.page-blog-latest-promotions__btn-secondary:hover {
  background: rgba(17, 168, 78, 0.1);
  transform: translateY(-3px);
}

/* How-to-Claim Section */
.page-blog-latest-promotions__how-to-claim {
  padding: 80px 0;
  background-color: #08160F;
}

.page-blog-latest-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  counter-reset: step-counter;
}

.page-blog-latest-promotions__step-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px 20px 20px 60px;
  margin-bottom: 15px;
  position: relative;
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog-latest-promotions__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: #11A84E; /* Main color */
  color: #F2FFF6; /* Text Main */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

/* Benefits Section */
.page-blog-latest-promotions__benefits-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-blog-latest-promotions__benefits-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-blog-latest-promotions__benefits-text {
  flex: 1;
}

.page-blog-latest-promotions__benefits-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-latest-promotions__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-blog-latest-promotions__benefits-item {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-blog-latest-promotions__benefits-item::before {
  content: '✔';
  color: #2AD16F; /* Brighter green for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Terms and Conditions Section */
.page-blog-latest-promotions__terms-conditions {
  padding: 80px 0;
  background-color: #08160F;
}

.page-blog-latest-promotions__terms-list {
  list-style: disc;
  margin-left: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-blog-latest-promotions__terms-item {
  margin-bottom: 10px;
  font-size: 1em;
}

/* Conclusion Section */
.page-blog-latest-promotions__conclusion {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

/* FAQ Section */
.page-blog-latest-promotions__faq-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-blog-latest-promotions__faq-list {
  margin-top: 30px;
}

.page-blog-latest-promotions__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog-latest-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-latest-promotions__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.1);
}

.page-blog-latest-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2AD16F;
}

.page-blog-latest-promotions__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-blog-latest-promotions__faq-item[open] .page-blog-latest-promotions__faq-answer {
  max-height: 500px; /* Sufficiently large for content */
  padding: 0 20px 20px 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-blog-latest-promotions__section-title {
    font-size: 2em;
  }

  .page-blog-latest-promotions__hero-description {
    font-size: 1.1em;
  }

  .page-blog-latest-promotions__benefits-wrapper {
    flex-direction: column;
  }

  .page-blog-latest-promotions__benefits-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-blog-latest-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-blog-latest-promotions__hero-section,
  .page-blog-latest-promotions__intro-section,
  .page-blog-latest-promotions__promotions-types,
  .page-blog-latest-promotions__how-to-claim,
  .page-blog-latest-promotions__benefits-section,
  .page-blog-latest-promotions__terms-conditions,
  .page-blog-latest-promotions__conclusion,
  .page-blog-latest-promotions__faq-section {
    padding: 40px 0;
  }

  .page-blog-latest-promotions__container {
    padding: 0 15px;
  }

  /* Mobile image and video adaptation */
  .page-blog-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-latest-promotions__promo-card .page-blog-latest-promotions__promo-image {
    height: auto !important; /* Adjust for smaller screens */
  }

  .page-blog-latest-promotions__hero-section,
  .page-blog-latest-promotions__video-section,
  .page-blog-latest-promotions__video-container,
  .page-blog-latest-promotions__video-wrapper,
  .page-blog-latest-promotions__section,
  .page-blog-latest-promotions__card,
  .page-blog-latest-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-latest-promotions__hero-section {
    padding-top: 10px !important;
  }

  /* Mobile button adaptation */
  .page-blog-latest-promotions__cta-button,
  .page-blog-latest-promotions__btn-primary,
  .page-blog-latest-promotions__btn-secondary,
  .page-blog-latest-promotions a[class*="button"],
  .page-blog-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;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }

  .page-blog-latest-promotions__cta-buttons,
  .page-blog-latest-promotions__button-group,
  .page-blog-latest-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  .page-blog-latest-promotions__promo-card {
    margin-bottom: 20px;
  }

  .page-blog-latest-promotions__benefits-wrapper {
    flex-direction: column;
  }

  .page-blog-latest-promotions__benefits-image {
    max-width: 100%;
    margin-top: 20px;
  }
}