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

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-color-light: #f8f9fa;
  --bg-color-dark: #2a2a2a;
  --login-color: #EA7C07;
}

.page-blog-mb33-win-latest-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--bg-color-light); /* Default light background */
}

/* Hero Section */
.page-blog-mb33-win-latest-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
  background-color: var(--primary-color); /* Brand primary color as background */
  color: var(--text-color-light);
}

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

.page-blog-mb33-win-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-blog-mb33-win-latest-promotions__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-blog-mb33-win-latest-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-light);
}

.page-blog-mb33-win-latest-promotions__subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: var(--text-color-light);
}

/* General Content Area */
.page-blog-mb33-win-latest-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-top: -30px; /* Slightly overlap hero section */
  position: relative;
  z-index: 2;
}

.page-blog-mb33-win-latest-promotions__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-blog-mb33-win-latest-promotions__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-blog-mb33-win-latest-promotions__section-title--light {
  color: var(--text-color-light);
}

.page-blog-mb33-win-latest-promotions__sub-section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-blog-mb33-win-latest-promotions__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-blog-mb33-win-latest-promotions__paragraph--light {
  color: var(--text-color-light);
}

.page-blog-mb33-win-latest-promotions__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-color-dark);
}

.page-blog-mb33-win-latest-promotions__list-item {
  margin-bottom: 10px;
}

/* Buttons */
.page-blog-mb33-win-latest-promotions__btn-primary,
.page-blog-mb33-win-latest-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-mb33-win-latest-promotions__btn-primary {
  background-color: var(--login-color); /* Using login color for primary action */
  color: var(--text-color-light);
  border: 2px solid var(--login-color);
}

.page-blog-mb33-win-latest-promotions__btn-primary:hover {
  background-color: darken(var(--login-color), 10%);
  border-color: darken(var(--login-color), 10%);
}

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

.page-blog-mb33-win-latest-promotions__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-blog-mb33-win-latest-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.page-blog-mb33-win-latest-promotions__card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e0e0e0;
}

.page-blog-mb33-win-latest-promotions__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-blog-mb33-win-latest-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-blog-mb33-win-latest-promotions__card-text {
  font-size: 1rem;
  color: var(--text-color-dark);
  padding: 0 20px;
}

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

.page-blog-mb33-win-latest-promotions__step-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

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

.page-blog-mb33-win-latest-promotions__step-text {
  font-size: 1rem;
  color: var(--text-color-dark);
  margin-bottom: 20px;
}

/* Video Section */
.page-blog-mb33-win-latest-promotions__video-section {
  padding: 40px 0;
  background-color: #f0f2f5;
  text-align: center;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.page-blog-mb33-win-latest-promotions__video-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 20px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-blog-mb33-win-latest-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-blog-mb33-win-latest-promotions__video-caption {
  font-size: 0.95rem;
  color: var(--text-color-dark);
  margin-top: 10px;
}

.page-blog-mb33-win-latest-promotions__video-cta {
  margin-top: 20px;
}

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

.page-blog-mb33-win-latest-promotions__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.page-blog-mb33-win-latest-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  outline: none;
}

.page-blog-mb33-win-latest-promotions__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-mb33-win-latest-promotions__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-blog-mb33-win-latest-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-blog-mb33-win-latest-promotions__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--text-color-dark);
  text-align: left;
}

/* CTA Section */
.page-blog-mb33-win-latest-promotions__cta-section {
  background-color: var(--primary-color);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-color-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-mb33-win-latest-promotions__hero-content {
    padding: 0 15px;
  }
  .page-blog-mb33-win-latest-promotions__content-area {
    padding: 40px 15px;
  }
  .page-blog-mb33-win-latest-promotions__card-grid,
  .page-blog-mb33-win-latest-promotions__steps-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog-mb33-win-latest-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Images */
  .page-blog-mb33-win-latest-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-mb33-win-latest-promotions__hero-image {
    height: auto;
    max-height: 300px; /* Cap hero image height on mobile */
  }
  .page-blog-mb33-win-latest-promotions__card-image {
    height: auto;
    max-height: 180px;
  }

  /* Videos */
  .page-blog-mb33-win-latest-promotions video,
  .page-blog-mb33-win-latest-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-mb33-win-latest-promotions__video-section,
  .page-blog-mb33-win-latest-promotions__video-container,
  .page-blog-mb33-win-latest-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-blog-mb33-win-latest-promotions__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-blog-mb33-win-latest-promotions__video-container {
    padding-bottom: 56.25% !important;
    height: 0 !important;
  }
  .page-blog-mb33-win-latest-promotions__video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
  }

  /* Buttons */
  .page-blog-mb33-win-latest-promotions__btn-primary,
  .page-blog-mb33-win-latest-promotions__btn-secondary,
  .page-blog-mb33-win-latest-promotions a[class*="button"],
  .page-blog-mb33-win-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-mb33-win-latest-promotions__cta-buttons,
  .page-blog-mb33-win-latest-promotions__button-group,
  .page-blog-mb33-win-latest-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* General containers */
  .page-blog-mb33-win-latest-promotions__content-area,
  .page-blog-mb33-win-latest-promotions__container,
  .page-blog-mb33-win-latest-promotions__hero-section,
  .page-blog-mb33-win-latest-promotions__cta-section,
  .page-blog-mb33-win-latest-promotions__card,
  .page-blog-mb33-win-latest-promotions__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-mb33-win-latest-promotions__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }
  .page-blog-mb33-win-latest-promotions__main-title {
    font-size: 2rem;
  }
  .page-blog-mb33-win-latest-promotions__subtitle {
    font-size: 1rem;
  }
  .page-blog-mb33-win-latest-promotions__section-title {
    font-size: 1.5rem;
  }
  .page-blog-mb33-win-latest-promotions__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }
  .page-blog-mb33-win-latest-promotions__faq-answer {
    padding: 0 15px 15px;
  }
  .page-blog-mb33-win-latest-promotions__list {
    margin-left: 15px;
  }
}

/* Color Contrast Fixes */
.page-blog-mb33-win-latest-promotions__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}
.page-blog-mb33-win-latest-promotions__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}
.page-blog-mb33-win-latest-promotions__card {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
}
.page-blog-mb33-win-latest-promotions__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}