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

/* Custom Colors */
:root {
  --fcb8-win-primary-color: #11A84E;
  --fcb8-win-secondary-color: #22C768;
  --fcb8-win-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --fcb8-win-card-bg: #11271B;
  --fcb8-win-background: #08160F;
  --fcb8-win-text-main: #F2FFF6;
  --fcb8-win-text-secondary: #A7D9B8;
  --fcb8-win-border: #2E7A4E;
  --fcb8-win-glow: #57E38D;
  --fcb8-win-gold: #F2C14E;
  --fcb8-win-divider: #1E3A2A;
  --fcb8-win-deep-green: #0A4B2C;
}

.page-blog-fcb8-win-latest-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--fcb8-win-text-main); /* Default text color for main content */
  background-color: var(--fcb8-win-background); /* Default background for the page */
}

.page-blog-fcb8-win-latest-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body already handles padding-top from header */
  background-color: var(--fcb8-win-deep-green);
  overflow: hidden;
}

.page-blog-fcb8-win-latest-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.page-blog-fcb8-win-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-blog-fcb8-win-latest-promotions__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Adjust to position content over bottom part of image */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.0) 0%, var(--fcb8-win-background) 80%);
  padding-top: 150px;
  border-radius: 10px;
}

.page-blog-fcb8-win-latest-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fcb8-win-text-main);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-fcb8-win-latest-promotions__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--fcb8-win-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-blog-fcb8-win-latest-promotions__cta-buttons--center {
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-blog-fcb8-win-latest-promotions__btn-primary,
.page-blog-fcb8-win-latest-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-fcb8-win-latest-promotions__btn-primary {
  background: var(--fcb8-win-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-fcb8-win-latest-promotions__btn-primary:hover {
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
  transform: translateY(-2px);
}

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

.page-blog-fcb8-win-latest-promotions__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

.page-blog-fcb8-win-latest-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.7;
  color: var(--fcb8-win-text-main);
}

.page-blog-fcb8-win-latest-promotions__dark-bg {
  background-color: var(--fcb8-win-background);
  color: var(--fcb8-win-text-main);
}

.page-blog-fcb8-win-latest-promotions__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--fcb8-win-glow);
  margin-bottom: 30px;
  margin-top: 50px;
  text-align: center;
}

.page-blog-fcb8-win-latest-promotions h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--fcb8-win-text-main);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-blog-fcb8-win-latest-promotions p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--fcb8-win-text-secondary);
}

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

.page-blog-fcb8-win-latest-promotions__card {
  background-color: var(--fcb8-win-card-bg);
  border: 1px solid var(--fcb8-win-border);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--fcb8-win-text-main);
}

.page-blog-fcb8-win-latest-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.2);
}

.page-blog-fcb8-win-latest-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-blog-fcb8-win-latest-promotions__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--fcb8-win-text-main);
  margin-top: 0;
  margin-bottom: 15px;
}

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

.page-blog-fcb8-win-latest-promotions__card .page-blog-fcb8-win-latest-promotions__btn-primary {
  align-self: center;
  width: 100%;
  max-width: 250px;
  margin-top: auto; /* Push button to bottom */
}

.page-blog-fcb8-win-latest-promotions__list,
.page-blog-fcb8-win-latest-promotions__steps-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-blog-fcb8-win-latest-promotions__list li,
.page-blog-fcb8-win-latest-promotions__steps-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: var(--fcb8-win-text-secondary);
}

.page-blog-fcb8-win-latest-promotions__list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: var(--fcb8-win-glow);
}

.page-blog-fcb8-win-latest-promotions__steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--fcb8-win-glow);
  color: var(--fcb8-win-background);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.page-blog-fcb8-win-latest-promotions__steps-list {
  counter-reset: step-counter;
}

.page-blog-fcb8-win-latest-promotions__faq-section {
  margin-top: 40px;
}

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

.page-blog-fcb8-win-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fcb8-win-text-main);
  cursor: pointer;
  background-color: var(--fcb8-win-deep-green);
  border-bottom: 1px solid var(--fcb8-win-divider);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

.page-blog-fcb8-win-latest-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--fcb8-win-glow);
}

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

.page-blog-fcb8-win-latest-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--fcb8-win-text-secondary);
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-fcb8-win-latest-promotions__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-blog-fcb8-win-latest-promotions__section-title {
    font-size: 2rem;
  }

  .page-blog-fcb8-win-latest-promotions__hero-content {
    margin-top: -100px;
    padding-top: 100px;
  }
}

@media (max-width: 768px) {
  .page-blog-fcb8-win-latest-promotions__hero-section {
    padding-bottom: 40px;
  }

  .page-blog-fcb8-win-latest-promotions__hero-image-wrapper {
    max-height: 300px;
  }

  .page-blog-fcb8-win-latest-promotions__hero-content {
    margin-top: -80px;
    padding-top: 80px;
  }

  .page-blog-fcb8-win-latest-promotions__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog-fcb8-win-latest-promotions__description {
    font-size: 1rem;
  }

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

  .page-blog-fcb8-win-latest-promotions__btn-primary,
  .page-blog-fcb8-win-latest-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-fcb8-win-latest-promotions__content-area {
    padding: 40px 15px;
  }

  .page-blog-fcb8-win-latest-promotions__section-title {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-fcb8-win-latest-promotions h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog-fcb8-win-latest-promotions p {
    font-size: 0.95rem;
  }

  .page-blog-fcb8-win-latest-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 150px !important;
  }

  .page-blog-fcb8-win-latest-promotions__card .page-blog-fcb8-win-latest-promotions__btn-primary {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-blog-fcb8-win-latest-promotions__list li,
  .page-blog-fcb8-win-latest-promotions__steps-list li {
    font-size: 0.95rem;
  }

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

  .page-blog-fcb8-win-latest-promotions__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }

  /* General image/video/container responsiveness */
  .page-blog-fcb8-win-latest-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-fcb8-win-latest-promotions video,
  .page-blog-fcb8-win-latest-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-fcb8-win-latest-promotions__section,
  .page-blog-fcb8-win-latest-promotions__card,
  .page-blog-fcb8-win-latest-promotions__container,
  .page-blog-fcb8-win-latest-promotions__promo-grid,
  .page-blog-fcb8-win-latest-promotions__faq-section,
  .page-blog-fcb8-win-latest-promotions__hero-section,
  .page-blog-fcb8-win-latest-promotions__video-section,
  .page-blog-fcb8-win-latest-promotions__video-container,
  .page-blog-fcb8-win-latest-promotions__video-wrapper,
  .page-blog-fcb8-win-latest-promotions__cta-buttons,
  .page-blog-fcb8-win-latest-promotions__button-group,
  .page-blog-fcb8-win-latest-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-blog-fcb8-win-latest-promotions__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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