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

.page-blog-kwin68-latest-games-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark); /* Default text color for light body background */
  background-color: var(--background-color, #ffffff);
}

/* Hero Section */
.page-blog-kwin68-latest-games-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
}

.page-blog-kwin68-latest-games-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-blog-kwin68-latest-games-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent background for text */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-kwin68-latest-games-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-blog-kwin68-latest-games-promotions__hero-description {
  font-size: 1.1em;
  color: var(--text-color-dark);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-blog-kwin68-latest-games-promotions__btn-primary,
.page-blog-kwin68-latest-games-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-blog-kwin68-latest-games-promotions__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: 2px solid var(--primary-color);
}

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

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

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

.page-blog-kwin68-latest-games-promotions__cta-buttons--centered {
  margin-top: 30px;
}

/* General Section Styling */
.page-blog-kwin68-latest-games-promotions__section {
  padding: 60px 20px;
  background-color: var(--background-color, #ffffff);
}

.page-blog-kwin68-latest-games-promotions__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

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

.page-blog-kwin68-latest-games-promotions__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-blog-kwin68-latest-games-promotions__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

/* Video Section */
.page-blog-kwin68-latest-games-promotions__video-section {
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

.page-blog-kwin68-latest-games-promotions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%; /* Desktop width constraint */
  max-width: 1200px;
}

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

.page-blog-kwin68-latest-games-promotions__video-caption {
  font-size: 1em;
  color: #666;
  margin-top: 10px;
}

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

.page-blog-kwin68-latest-games-promotions__game-card,
.page-blog-kwin68-latest-games-promotions__promo-card,
.page-blog-kwin68-latest-games-promotions__feature-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px; /* Add padding to bottom */
}

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

.page-blog-kwin68-latest-games-promotions__game-image,
.page-blog-kwin68-latest-games-promotions__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-blog-kwin68-latest-games-promotions__feature-icon {
  width: 100%;
  height: 150px; /* Fixed height for consistency */
  object-fit: contain; /* Ensure icons fit without cropping */
  margin-bottom: 15px;
  padding: 20px;
}

.page-blog-kwin68-latest-games-promotions__game-title,
.page-blog-kwin68-latest-games-promotions__promo-title,
.page-blog-kwin68-latest-games-promotions__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-blog-kwin68-latest-games-promotions__game-title a,
.page-blog-kwin68-latest-games-promotions__promo-title a,
.page-blog-kwin68-latest-games-promotions__feature-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-blog-kwin68-latest-games-promotions__game-title a:hover,
.page-blog-kwin68-latest-games-promotions__promo-title a:hover,
.page-blog-kwin68-latest-games-promotions__feature-title a:hover {
  text-decoration: underline;
}

.page-blog-kwin68-latest-games-promotions__game-description,
.page-blog-kwin68-latest-games-promotions__promo-description,
.page-blog-kwin68-latest-games-promotions__feature-description {
  font-size: 0.95em;
  color: #666;
  line-height: 1.5;
  padding: 0 15px;
}

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

/* How to Join Section */
.page-blog-kwin68-latest-games-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  counter-reset: step-counter;
}

.page-blog-kwin68-latest-games-promotions__step-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  padding-left: 40px;
  position: relative;
  color: var(--text-color-dark);
}

.page-blog-kwin68-latest-games-promotions__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9em;
}

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

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

.page-blog-kwin68-latest-games-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

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

.page-blog-kwin68-latest-games-promotions__faq-question:hover {
  background-color: #e0e0e0;
}

.page-blog-kwin68-latest-games-promotions__faq-qtext {
  flex-grow: 1;
}

.page-blog-kwin68-latest-games-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-blog-kwin68-latest-games-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555;
  background-color: var(--secondary-color);
  /* For non-details elements, manage max-height here */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-blog-kwin68-latest-games-promotions__faq-item.active .page-blog-kwin68-latest-games-promotions__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding-top: 15px;
  padding-bottom: 20px;
}

/* For details tag, ensure answer is visible */
details.page-blog-kwin68-latest-games-promotions__faq-item[open] .page-blog-kwin68-latest-games-promotions__faq-answer {
  max-height: none;
  overflow: visible;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-kwin68-latest-games-promotions__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

  .page-blog-kwin68-latest-games-promotions__section-title {
    font-size: 2em;
  }
}

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

  .page-blog-kwin68-latest-games-promotions__hero-section {
    min-height: 450px;
    padding-bottom: 30px;
  }

  .page-blog-kwin68-latest-games-promotions__hero-content {
    padding: 15px;
  }

  .page-blog-kwin68-latest-games-promotions__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-blog-kwin68-latest-games-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-blog-kwin68-latest-games-promotions__btn-primary,
  .page-blog-kwin68-latest-games-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-kwin68-latest-games-promotions__section {
    padding: 40px 15px;
  }

  .page-blog-kwin68-latest-games-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-kwin68-latest-games-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-kwin68-latest-games-promotions__text-block {
    font-size: 1em;
  }

  .page-blog-kwin68-latest-games-promotions__video-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-blog-kwin68-latest-games-promotions__video-wrapper {
    padding-bottom: 56.25% !important;
    height: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-blog-kwin68-latest-games-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-kwin68-latest-games-promotions__game-grid,
  .page-blog-kwin68-latest-games-promotions__promo-grid,
  .page-blog-kwin68-latest-games-promotions__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog-kwin68-latest-games-promotions__game-image,
  .page-blog-kwin68-latest-games-promotions__promo-image,
  .page-blog-kwin68-latest-games-promotions__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-kwin68-latest-games-promotions__game-card,
  .page-blog-kwin68-latest-games-promotions__promo-card,
  .page-blog-kwin68-latest-games-promotions__feature-card {
    padding-bottom: 15px;
  }

  .page-blog-kwin68-latest-games-promotions__game-title,
  .page-blog-kwin68-latest-games-promotions__promo-title,
  .page-blog-kwin68-latest-games-promotions__feature-title {
    font-size: 1.2em;
  }

  .page-blog-kwin68-latest-games-promotions__game-description,
  .page-blog-kwin68-latest-games-promotions__promo-description,
  .page-blog-kwin68-latest-games-promotions__feature-description {
    font-size: 0.9em;
  }

  .page-blog-kwin68-latest-games-promotions__step-item {
    font-size: 1em;
    padding-left: 35px;
  }

  .page-blog-kwin68-latest-games-promotions__step-item::before {
    width: 25px;
    height: 25px;
    font-size: 0.8em;
  }

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

  .page-blog-kwin68-latest-games-promotions__faq-toggle {
    font-size: 1.2em;
  }

  .page-blog-kwin68-latest-games-promotions__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-blog-kwin68-latest-games-promotions__hero-section {
    min-height: 350px;
  }

  .page-blog-kwin68-latest-games-promotions__main-title {
    font-size: clamp(1.2em, 7vw, 2em);
  }

  .page-blog-kwin68-latest-games-promotions__hero-description {
    font-size: 0.9em;
  }

  .page-blog-kwin68-latest-games-promotions__section-title {
    font-size: 1.5em;
  }

  .page-blog-kwin68-latest-games-promotions__game-card,
  .page-blog-kwin68-latest-games-promotions__promo-card,
  .page-blog-kwin68-latest-games-promotions__feature-card {
    padding-bottom: 10px;
  }

  .page-blog-kwin68-latest-games-promotions__game-image,
  .page-blog-kwin68-latest-games-promotions__promo-image,
  .page-blog-kwin68-latest-games-promotions__feature-icon {
    height: 150px; /* Adjust height for smaller screens */
  }
}