/* style/blog-ke9f-2024-promotions.css */

:root {
  --ke9f-primary-color: #26A9E0;
  --ke9f-secondary-color: #FFFFFF;
  --ke9f-login-color: #EA7C07;
  --ke9f-bg-color: #0a0a0a; /* Body background from shared.css */
  --ke9f-text-color-light: #ffffff;
  --ke9f-text-color-dark: #333333;
  --ke9f-card-bg-dark-opacity: rgba(255, 255, 255, 0.1);
}

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

.page-blog-ke9f-2024-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, bottom for content */
  overflow: hidden;
  background-color: var(--ke9f-bg-color);
}

.page-blog-ke9f-2024-promotions__hero-image-wrapper {
  width: 100%;
  position: relative;
  /* Maintain aspect ratio if needed, but here img itself defines it */
}

.page-blog-ke9f-2024-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-ke9f-2024-promotions__hero-content {
  max-width: 900px;
  margin-top: 40px;
  text-align: center;
  padding: 0 20px;
  color: var(--ke9f-text-color-light);
}

.page-blog-ke9f-2024-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ke9f-secondary-color);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-blog-ke9f-2024-promotions__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-blog-ke9f-2024-promotions__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-blog-ke9f-2024-promotions__btn-primary,
.page-blog-ke9f-2024-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

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

.page-blog-ke9f-2024-promotions__btn-primary:hover {
  background-color: #208ac2;
  border-color: #208ac2;
  transform: translateY(-2px);
}

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

.page-blog-ke9f-2024-promotions__btn-secondary:hover {
  background-color: var(--ke9f-primary-color);
  color: var(--ke9f-secondary-color);
  transform: translateY(-2px);
}

.page-blog-ke9f-2024-promotions__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
  min-width: 150px;
}

.page-blog-ke9f-2024-promotions__section {
  padding: 60px 0;
}

.page-blog-ke9f-2024-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog-ke9f-2024-promotions__content-area--center {
  text-align: center;
}

.page-blog-ke9f-2024-promotions__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-blog-ke9f-2024-promotions__text-block p {
  margin-bottom: 1em;
  color: var(--ke9f-text-color-light);
}

.page-blog-ke9f-2024-promotions__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--ke9f-primary-color);
}

.page-blog-ke9f-2024-promotions__section-title--light {
  color: var(--ke9f-secondary-color);
}

.page-blog-ke9f-2024-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--ke9f-text-color-light);
  opacity: 0.8;
}

.page-blog-ke9f-2024-promotions__dark-section {
  background-color: var(--ke9f-primary-color);
  color: var(--ke9f-secondary-color);
}

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

.page-blog-ke9f-2024-promotions__promo-card {
  background-color: var(--ke9f-text-color-light);
  color: var(--ke9f-text-color-dark);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 500px; /* Ensure cards have minimum height for consistent look */
}

.page-blog-ke9f-2024-promotions__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-blog-ke9f-2024-promotions__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent image size in cards */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-blog-ke9f-2024-promotions__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin: 0 20px 15px 20px;
  color: var(--ke9f-primary-color);
}

.page-blog-ke9f-2024-promotions__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin: 0 20px 25px 20px;
  flex-grow: 1;
}

.page-blog-ke9f-2024-promotions__guide-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-blog-ke9f-2024-promotions__guide-list li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ke9f-text-color-light);
}

.page-blog-ke9f-2024-promotions__guide-title {
  font-size: 1.5em;
  color: var(--ke9f-primary-color);
  margin-bottom: 15px;
}

.page-blog-ke9f-2024-promotions__guide-list li p {
  margin-bottom: 20px;
  color: var(--ke9f-text-color-light);
}

.page-blog-ke9f-2024-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-ke9f-2024-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--ke9f-text-color-light);
}

.page-blog-ke9f-2024-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

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

.page-blog-ke9f-2024-promotions__faq-qtext {
  flex-grow: 1;
  color: var(--ke9f-secondary-color);
}

.page-blog-ke9f-2024-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--ke9f-primary-color);
}

.page-blog-ke9f-2024-promotions__faq-item[open] .page-blog-ke9f-2024-promotions__faq-toggle {
  content: '−';
}

.page-blog-ke9f-2024-promotions__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--ke9f-text-color-light);
}

.page-blog-ke9f-2024-promotions__faq-answer p {
  margin-bottom: 1em;
}

.page-blog-ke9f-2024-promotions__cta-bottom {
  padding: 80px 0;
  background-color: var(--ke9f-primary-color);
  color: var(--ke9f-secondary-color);
}

.page-blog-ke9f-2024-promotions__cta-bottom .page-blog-ke9f-2024-promotions__btn-secondary {
  color: var(--ke9f-secondary-color);
  border-color: var(--ke9f-secondary-color);
}

.page-blog-ke9f-2024-promotions__cta-bottom .page-blog-ke9f-2024-promotions__btn-secondary:hover {
  background-color: var(--ke9f-secondary-color);
  color: var(--ke9f-primary-color);
}

/* ----- Responsive Design ----- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-blog-ke9f-2024-promotions__hero-content {
    max-width: 768px;
  }

  .page-blog-ke9f-2024-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-blog-ke9f-2024-promotions__promo-card {
    min-height: 480px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-blog-ke9f-2024-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-ke9f-2024-promotions__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-blog-ke9f-2024-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-blog-ke9f-2024-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-blog-ke9f-2024-promotions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
  }

  .page-blog-ke9f-2024-promotions__btn-primary,
  .page-blog-ke9f-2024-promotions__btn-secondary {
    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-ke9f-2024-promotions__section {
    padding: 40px 0;
  }

  .page-blog-ke9f-2024-promotions__content-area {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-ke9f-2024-promotions__section-title {
    font-size: clamp(1.6em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-blog-ke9f-2024-promotions__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-blog-ke9f-2024-promotions__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-ke9f-2024-promotions__promo-card {
    min-height: auto;
  }

  .page-blog-ke9f-2024-promotions__promo-image {
    height: 180px;
  }

  .page-blog-ke9f-2024-promotions__card-title {
    font-size: 1.3em;
  }

  .page-blog-ke9f-2024-promotions__guide-list li {
    padding: 25px;
  }

  .page-blog-ke9f-2024-promotions__guide-title {
    font-size: 1.3em;
  }

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

  .page-blog-ke9f-2024-promotions__faq-toggle {
    font-size: 1.3em;
  }

  .page-blog-ke9f-2024-promotions__faq-answer {
    padding: 15px;
  }

  .page-blog-ke9f-2024-promotions__cta-bottom {
    padding: 60px 0;
  }

  /* Image responsive rules */
  .page-blog-ke9f-2024-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers for images/content are responsive */
  .page-blog-ke9f-2024-promotions__hero-image-wrapper,
  .page-blog-ke9f-2024-promotions__promo-card,
  .page-blog-ke9f-2024-promotions__guide-list li,
  .page-blog-ke9f-2024-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-ke9f-2024-promotions__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure content area images are at least 200px wide for desktop */
.page-blog-ke9f-2024-promotions__text-block img,
.page-blog-ke9f-2024-promotions__promo-image {
  min-width: 200px;
  min-height: 200px;
}

/* Contrast Fixes for dark background */
.page-blog-ke9f-2024-promotions p,
.page-blog-ke9f-2024-promotions li,
.page-blog-ke9f-2024-promotions__hero-description,
.page-blog-ke9f-2024-promotions__section-description,
.page-blog-ke9f-2024-promotions__faq-answer {
  color: var(--ke9f-text-color-light);
}

.page-blog-ke9f-2024-promotions a {
  color: var(--ke9f-primary-color);
}

.page-blog-ke9f-2024-promotions a:hover {
  color: #208ac2;
}