/* style/blog-latest-promotions.css */
:root {
  --k9win-primary-color: #26A9E0;
  --k9win-secondary-color: #FFFFFF;
  --k9win-login-color: #EA7C07;
  --k9win-text-dark: #333333;
  --k9win-text-light: #ffffff;
  --k9win-background-light: #f8f9fa;
  --k9win-background-dark: #202020;
}

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

.page-blog-latest-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  color: var(--k9win-text-light);
  text-align: center;
  background-color: var(--k9win-primary-color); /* Fallback if image not loaded */
  overflow: hidden;
}

.page-blog-latest-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-blog-latest-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-blog-latest-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

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

.page-blog-latest-promotions__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--k9win-text-light);
}

.page-blog-latest-promotions__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-blog-latest-promotions__btn-primary,
.page-blog-latest-promotions__btn-secondary,
.page-blog-latest-promotions__card-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-blog-latest-promotions__btn-primary:hover {
  background-color: #d16b00;
  border-color: #d16b00;
}

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

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

.page-blog-latest-promotions__content-section,
.page-blog-latest-promotions__promos-grid-section,
.page-blog-latest-promotions__guide-section,
.page-blog-latest-promotions__video-section,
.page-blog-latest-promotions__faq-section,
.page-blog-latest-promotions__cta-bottom {
  padding: 60px 0;
}

.page-blog-latest-promotions__dark-bg {
  background-color: var(--k9win-primary-color);
  color: var(--k9win-text-light);
}

.page-blog-latest-promotions__light-bg {
  background-color: var(--k9win-background-light);
  color: var(--k9win-text-dark);
}

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

.page-blog-latest-promotions__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-blog-latest-promotions__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-blog-latest-promotions__promo-card {
  background-color: var(--k9win-secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--k9win-text-dark);
  display: flex;
  flex-direction: column;
}

.page-blog-latest-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-blog-latest-promotions__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog-latest-promotions__card-title a {
  color: var(--k9win-primary-color);
  text-decoration: none;
}

.page-blog-latest-promotions__card-title a:hover {
  text-decoration: underline;
}

.page-blog-latest-promotions__card-description {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-latest-promotions__card-button {
  margin-top: auto; /* Push button to bottom */
  width: 100%;
}

.page-blog-latest-promotions__terms-list,
.page-blog-latest-promotions__guide-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-blog-latest-promotions__terms-item,
.page-blog-latest-promotions__guide-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-blog-latest-promotions__terms-item::before,
.page-blog-latest-promotions__guide-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--k9win-login-color);
  font-weight: bold;
}

.page-blog-latest-promotions__guide-list li:before {
  content: counter(list-item) '.';
  counter-increment: list-item;
  color: var(--k9win-login-color);
  font-weight: bold;
  left: 0;
}

.page-blog-latest-promotions__guide-list {
  counter-reset: list-item;
}

.page-blog-latest-promotions__guide-list a {
  color: var(--k9win-primary-color);
  text-decoration: none;
}

.page-blog-latest-promotions__guide-list a:hover {
  text-decoration: underline;
}

.page-blog-latest-promotions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 30px;
  border-radius: 12px;
}

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

.page-blog-latest-promotions__video-link {
  z-index: 1;
}

.page-blog-latest-promotions__faq-item {
  background-color: var(--k9win-secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--k9win-text-dark);
}

.page-blog-latest-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #f5f5f5;
  color: var(--k9win-primary-color);
  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: #eaeaea;
}

.page-blog-latest-promotions__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  margin-left: 15px;
  color: var(--k9win-login-color);
}

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

.page-blog-latest-promotions__faq-answer a {
  color: var(--k9win-primary-color);
  text-decoration: none;
}

.page-blog-latest-promotions__faq-answer a:hover {
  text-decoration: underline;
}

.page-blog-latest-promotions__cta-bottom {
  text-align: center;
  background-color: var(--k9win-primary-color);
  color: var(--k9win-text-light);
}

.page-blog-latest-promotions__cta-bottom .page-blog-latest-promotions__section-title {
  color: var(--k9win-text-light);
}

.page-blog-latest-promotions__cta-bottom .page-blog-latest-promotions__text-block {
  color: var(--k9win-text-light);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-latest-promotions__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .page-blog-latest-promotions__hero-description {
    font-size: 1.1rem;
  }
  .page-blog-latest-promotions__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-blog-latest-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-latest-promotions__hero-section {
    padding: 10px 15px 40px;
  }
  .page-blog-latest-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-blog-latest-promotions__hero-description {
    font-size: 1rem;
  }
  .page-blog-latest-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-blog-latest-promotions__btn-primary,
  .page-blog-latest-promotions__btn-secondary,
  .page-blog-latest-promotions__card-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
  }
  .page-blog-latest-promotions__content-section,
  .page-blog-latest-promotions__promos-grid-section,
  .page-blog-latest-promotions__guide-section,
  .page-blog-latest-promotions__video-section,
  .page-blog-latest-promotions__faq-section,
  .page-blog-latest-promotions__cta-bottom {
    padding: 40px 0;
  }
  .page-blog-latest-promotions__container {
    padding: 0 15px;
  }
  .page-blog-latest-promotions__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-blog-latest-promotions__text-block {
    font-size: 0.95rem;
  }
  .page-blog-latest-promotions__card-image {
    height: 180px;
  }
  .page-blog-latest-promotions__card-title {
    font-size: 1.2rem;
  }
  .page-blog-latest-promotions__card-description {
    font-size: 0.9rem;
  }
  .page-blog-latest-promotions__terms-item,
  .page-blog-latest-promotions__guide-item {
    font-size: 0.95rem;
  }
  .page-blog-latest-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-blog-latest-promotions__faq-answer {
    padding: 0 20px 15px;
  }
  /* Mobile specific image/video handling */
  .page-blog-latest-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-latest-promotions video,
  .page-blog-latest-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-latest-promotions__video-wrapper,
  .page-blog-latest-promotions__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-blog-latest-promotions__video-section {
    padding-top: 10px !important; /* body has padding-top, only small decorative padding here */
  }
  .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;
  }
  .page-blog-latest-promotions__card {
    padding: 0;
  }
  .page-blog-latest-promotions__card-content {
    padding: 20px;
  }
}