/* style/blog-cap-nhat-khuyen-mai-lucky8-moi-nhat.css */

:root {
  --lucky8-primary: #113B7A;
  --lucky8-secondary: #1D5FD1;
  --lucky8-text-main: #F3F8FF;
  --lucky8-text-secondary: #AFC4E8;
  --lucky8-card-bg: #10233F;
  --lucky8-border: #244D84;
  --lucky8-glow: #4FA8FF;
  --lucky8-gold: #F2C14E;
  --lucky8-divider: #1B3357;
  --lucky8-deep-navy: #08162B;
  --lucky8-btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--lucky8-text-main);
  background-color: var(--lucky8-deep-navy); /* Matches body background */
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* HERO / Main Blog Header Section */
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__hero-section {
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  padding-bottom: 60px;
  background-color: var(--lucky8-deep-navy);
  color: var(--lucky8-text-main);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__hero-section .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--lucky8-text-main);
  line-height: 1.2;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--lucky8-text-secondary);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__meta-date {
  font-size: 0.9em;
  color: var(--lucky8-text-secondary);
  margin-bottom: 20px;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__hero-image {
  flex: 1 1 40%;
  text-align: center;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__blog-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* General Content Area */
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__content-area {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--lucky8-deep-navy);
  color: var(--lucky8-text-main);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--lucky8-gold);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--lucky8-btn-gradient);
  margin: 10px auto 0;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--lucky8-text-main);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__promo-card {
  background-color: var(--lucky8-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  color: var(--lucky8-text-main);
  border: 1px solid var(--lucky8-border);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__card-title {
  font-size: 1.6em;
  font-weight: 600;
  color: var(--lucky8-gold);
  margin-bottom: 15px;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__promo-card p {
  font-size: 1em;
  margin-bottom: 15px;
  color: var(--lucky8-text-secondary);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__card-list li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
  color: var(--lucky8-text-main);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__card-list li::before {
  content: '✓';
  color: var(--lucky8-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__card-button {
  margin-top: auto; /* Push button to bottom */
  align-self: flex-start;
}

/* Guide List */
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__guide-list li {
  background-color: var(--lucky8-card-bg);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  border: 1px solid var(--lucky8-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: var(--lucky8-text-main);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__guide-title {
  font-size: 1.8em;
  color: var(--lucky8-gold);
  margin-bottom: 15px;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__guide-list p {
  color: var(--lucky8-text-secondary);
  margin-bottom: 15px;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__guide-button {
  margin-top: 15px;
  display: inline-block;
}

/* General List */
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 20px;
  color: var(--lucky8-text-main);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__list li {
  margin-bottom: 10px;
  color: var(--lucky8-text-secondary);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__list li strong {
  color: var(--lucky8-text-main);
}

/* FAQ Section */
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-container {
  margin-top: 40px;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-item {
  background-color: var(--lucky8-card-bg);
  border: 1px solid var(--lucky8-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--lucky8-text-main);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: var(--lucky8-gold);
  list-style: none;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-question::-webkit-details-marker, /* Hide default marker */
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-question::marker {
  display: none;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-qtext {
  flex-grow: 1;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  line-height: 1;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-item[open] .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-toggle {
  content: '−';
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-answer {
  padding: 0 30px 20px;
  font-size: 1.05em;
  color: var(--lucky8-text-secondary);
}

/* Call to Action Final */
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__cta-final {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: var(--lucky8-card-bg);
  border-radius: 10px;
  border: 1px solid var(--lucky8-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__cta-final .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__btn-primary {
  font-size: 1.3em;
  padding: 15px 30px;
  margin-bottom: 30px;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__btn-primary,
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__btn-primary {
  background: var(--lucky8-btn-gradient);
  color: var(--lucky8-text-main);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__btn-secondary {
  background-color: transparent;
  color: var(--lucky8-gold);
  border: 2px solid var(--lucky8-gold);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__btn-secondary:hover {
  background-color: var(--lucky8-gold);
  color: var(--lucky8-deep-navy);
  transform: translateY(-2px);
}

/* Image Reset */
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__hero-section .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__container {
    flex-direction: column;
    text-align: center;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__hero-content,
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__hero-image {
    flex: 1 1 100%;
    max-width: 700px; /* Constrain width on larger tablets */
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    text-align: center;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__subtitle {
    font-size: 1em;
    text-align: center;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__meta-date {
    text-align: center;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to prevent buttons touching edges */
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__btn-primary,
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General images and containers */
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__container,
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__promo-card,
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__guide-list li,
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-item,
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__section-title {
    font-size: 1.8em;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__card-title,
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__guide-title {
    font-size: 1.4em;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-answer {
    padding: 0 20px 15px;
  }

  /* Placeholder for __icon-box-media mobile rule, if it were present */
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__icon-box-media {
    width: 200px; /* Example size, ensuring it remains square */
    height: 200px;
    margin: 0 auto 16px;
  }

  /* Placeholder for __game-tabs mobile rule, if it were present */
  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__game-tabs .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__tab-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__game-tabs .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__tab-nav button {
    flex: 1 1 auto;
    margin-bottom: 10px;
  }
}

/* Ensure text contrast for dark background */
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__dark-bg {
  background-color: var(--lucky8-deep-navy);
  color: var(--lucky8-text-main);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__light-bg {
  background-color: var(--lucky8-deep-navy);
  color: var(--lucky8-text-main);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat p,
.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat li {
  color: var(--lucky8-text-secondary);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat h1, .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat h2, .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat h3, .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat h4, .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat h5, .page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat h6 {
  color: var(--lucky8-text-main);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__section-title {
  color: var(--lucky8-gold);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__card-title {
  color: var(--lucky8-gold);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__guide-title {
  color: var(--lucky8-gold);
}

.page-blog-cap-nhat-khuyen-mai-lucky8-moi-nhat__faq-question {
  color: var(--lucky8-gold);
}