/* style/blog-latest-promotions.css */
.page-blog-latest-promotions {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --background-dark: #08160F;
  --card-background: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);

  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--background-dark);
  line-height: 1.6;
}

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

/* Hero Section */
.page-blog-latest-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* body handles --header-offset, so only a small decorative padding-top here */
  overflow: hidden;
}

.page-blog-latest-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-blog-latest-promotions__hero-image {
  width: 1200px;
  height: 675px;
  object-fit: cover;
  border-radius: 10px;
}

.page-blog-latest-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-blog-latest-promotions__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-latest-promotions__description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-latest-promotions__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-blog-latest-promotions__btn-primary,
.page-blog-latest-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog-latest-promotions__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
}

.page-blog-latest-promotions__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-latest-promotions__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-blog-latest-promotions__btn-secondary:hover {
  background: rgba(17, 168, 78, 0.1);
  color: var(--text-main);
}

/* General Content Styling */
.page-blog-latest-promotions__content-area,
.page-blog-latest-promotions__cta-section,
.page-blog-latest-promotions__benefits-section,
.page-blog-latest-promotions__faq-section,
.page-blog-latest-promotions__final-cta-section {
  padding: 60px 0;
}

.page-blog-latest-promotions__section-title {
  font-size: 2.2em;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-blog-latest-promotions__text-block {
  font-size: 1.05em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-blog-latest-promotions__card {
  background-color: var(--card-background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-latest-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-blog-latest-promotions__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-blog-latest-promotions__card-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-latest-promotions__btn-text {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  align-self: flex-start;
  transition: color 0.3s ease;
}

.page-blog-latest-promotions__btn-text:hover {
  color: var(--text-main);
}

/* Steps Grid */
.page-blog-latest-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-latest-promotions__step-item {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-latest-promotions__step-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog-latest-promotions__step-description {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-blog-latest-promotions__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Benefits List */
.page-blog-latest-promotions__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-blog-latest-promotions__benefit-item {
  background-color: var(--card-background);
  padding: 25px;
  border-radius: 10px;
  border-left: 5px solid var(--primary-color);
  font-size: 1.05em;
  color: var(--text-secondary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-latest-promotions__benefit-item::before {
  content: '✔';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 10px;
}

/* FAQ Section */
.page-blog-latest-promotions__faq-list {
  margin-top: 40px;
}

.page-blog-latest-promotions__faq-item {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-blog-latest-promotions__faq-item[open] > .page-blog-latest-promotions__faq-question {
  background-color: rgba(17, 168, 78, 0.1);
}

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

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

.page-blog-latest-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-blog-latest-promotions__faq-item[open] .page-blog-latest-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-latest-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Final CTA Section */
.page-blog-latest-promotions__final-cta-section {
  text-align: center;
}

/* Background colors for sections */
.page-blog-latest-promotions__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-main);
}

.page-blog-latest-promotions__card-bg {
  background-color: var(--card-background);
  color: var(--text-main);
}

.page-blog-latest-promotions__dark-section {
  background-color: var(--deep-green);
  color: var(--text-main);
}

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

  .page-blog-latest-promotions__section-title {
    font-size: 1.8em;
  }

  .page-blog-latest-promotions__hero-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-blog-latest-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-latest-promotions__hero-section,
  .page-blog-latest-promotions__content-area,
  .page-blog-latest-promotions__cta-section,
  .page-blog-latest-promotions__benefits-section,
  .page-blog-latest-promotions__faq-section,
  .page-blog-latest-promotions__final-cta-section {
    padding: 40px 0;
  }

  .page-blog-latest-promotions__container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-blog-latest-promotions__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-latest-promotions__section,
  .page-blog-latest-promotions__card,
  .page-blog-latest-promotions__container,
  .page-blog-latest-promotions__hero-image-wrapper,
  .page-blog-latest-promotions__promo-grid,
  .page-blog-latest-promotions__steps-grid,
  .page-blog-latest-promotions__benefits-list,
  .page-blog-latest-promotions__faq-list {
    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;
  }

  .page-blog-latest-promotions__main-title {
    font-size: 1.8em;
  }

  .page-blog-latest-promotions__section-title {
    font-size: 1.6em;
  }

  .page-blog-latest-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .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;
  }

  .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;
  }

  .page-blog-latest-promotions__card-image {
    height: 200px;
  }

  .page-blog-latest-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-latest-promotions__faq-answer {
    padding: 0 20px 15px 20px;
  }
}