/* style/blog-chien-thuat-choi-tai-xiu-8kbet.css */

/* Base styles for the page content */
.page-blog-chien-thuat-choi-tai-xiu-8kbet {
  background: #B71C1C; /* Custom background color */
  color: #FFF5E1; /* Custom main text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Hero Article Section (Main Title and Image) */
.page-blog-chien-thuat-choi-tai-xiu-8kbet__hero-article {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background: #7A0E0E; /* Deep Red for hero section */
  color: #FFF5E1;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* H1 font size with clamp */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-align: center;
  color: #FFD86A; /* Gold color for title */
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__intro-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__article-meta {
  text-align: center;
  font-size: 0.9em;
  margin-bottom: 30px;
  color: rgba(255, 245, 225, 0.8);
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__meta-item:not(:last-child) {
  margin-right: 15px;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__hero-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-blog-chien-thuat-choi-tai-xiu-8kbet__content-area {
  padding: 40px 0;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__article-body h2 {
  font-size: clamp(1.8em, 3.5vw, 2.2em);
  color: #FFCC66; /* Glow color for H2 */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #F2B544; /* Border color for H2 */
  padding-bottom: 10px;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__article-body h3 {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #F4D34D; /* Gold color for H3 */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__article-body p {
  margin-bottom: 1em;
  color: #FFF5E1; /* Main text color */
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__list {
  list-style: disc inside;
  margin-bottom: 1em;
  padding-left: 20px;
  color: #FFF5E1; /* Main text color */
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__list li {
  margin-bottom: 0.5em;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Table of Contents */
.page-blog-chien-thuat-choi-tai-xiu-8kbet__table-of-contents {
  background: #D32F2F; /* Card BG color */
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #FFF5E1; /* Text Main color */
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__toc-title {
  font-size: 1.5em;
  color: #FFD86A; /* Gold color for TOC title */
  margin-bottom: 15px;
  text-align: center;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__toc-list li {
  margin-bottom: 8px;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__toc-list a {
  color: #FFF5E1;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 10px;
  border-radius: 4px;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__toc-list a:hover {
  color: #FFCC66; /* Glow color on hover */
  background-color: rgba(255, 255, 255, 0.1);
}

/* CTA Section */
.page-blog-chien-thuat-choi-tai-xiu-8kbet__cta-section {
  background: #7A0E0E; /* Deep Red for CTA section */
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__cta-title {
  font-size: clamp(1.8em, 3vw, 2.2em);
  color: #FFD86A; /* Gold for CTA title */
  margin-bottom: 15px;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__cta-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-primary,
.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-secondary,
.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-inline {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button gradient */
  color: #7A0E0E; /* Deep Red text for primary button */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-secondary {
  background: #D32F2F; /* Card BG for secondary button */
  color: #FFF5E1; /* Text Main for secondary button */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: #C91F17; /* Main color on hover */
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-inline {
  background: #F4D34D; /* Gold color for inline button */
  color: #7A0E0E; /* Deep Red text for inline button */
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9em;
  margin-top: 10px;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-inline:hover {
  background: #FFCC66; /* Glow color on hover */
}

/* FAQ Section */
.page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-list {
  margin-top: 30px;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-item {
  background: #D32F2F; /* Card BG color */
  border: 1px solid #F2B544; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #FFF5E1; /* Text Main color */
  cursor: pointer;
  background: #C91F17; /* Main color for question background */
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-item[open] .page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-question {
  background-color: #E53935; /* Auxiliary color when open */
  border-bottom-color: #F2B544;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-item[open] .page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to cross */
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95em;
  color: #FFF5E1; /* Text Main color */
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-answer p {
  margin-bottom: 0.5em;
}

/* Details element specific styling */
.page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

/* Related Articles Section */
.page-blog-chien-thuat-choi-tai-xiu-8kbet__related-articles {
  padding: 40px 0 60px;
  background: #7A0E0E; /* Deep Red for related articles section */
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__article-card {
  background: #D32F2F; /* Card BG color */
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #FFF5E1; /* Text Main color */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__card-title {
  font-size: 1.2em;
  font-weight: bold;
  padding: 15px 15px 5px;
  color: #FFD86A; /* Gold color for card title */
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__card-date {
  font-size: 0.85em;
  color: rgba(255, 245, 225, 0.7);
  padding: 0 15px 15px;
}

/* Global Image and Button Responsive Styles */
.page-blog-chien-thuat-choi-tai-xiu-8kbet img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__cta-button,
.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-primary,
.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-secondary,
.page-blog-chien-thuat-choi-tai-xiu-8kbet a[class*="button"],
.page-blog-chien-thuat-choi-tai-xiu-8kbet a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-chien-thuat-choi-tai-xiu-8kbet__cta-buttons,
.page-blog-chien-thuat-choi-tai-xiu-8kbet__button-group,
.page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive styles for mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-blog-chien-thuat-choi-tai-xiu-8kbet {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO Article Section */
  .page-blog-chien-thuat-choi-tai-xiu-8kbet__hero-article {
    padding-top: 10px !important; /* Small top padding, relying on body for header offset */
    padding-bottom: 30px;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__intro-description {
    font-size: 1em;
    margin-bottom: 15px;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__article-meta {
    font-size: 0.8em;
    margin-bottom: 20px;
  }

  /* Content Area */
  .page-blog-chien-thuat-choi-tai-xiu-8kbet__content-area {
    padding: 30px 0;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__article-body h2 {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__article-body h3 {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* Table of Contents */
  .page-blog-chien-thuat-choi-tai-xiu-8kbet__table-of-contents {
    padding: 20px;
    margin-bottom: 30px;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__toc-title {
    font-size: 1.3em;
  }

  /* CTA Section */
  .page-blog-chien-thuat-choi-tai-xiu-8kbet__cta-section {
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__cta-title {
    font-size: 1.6em;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__cta-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-primary,
  .page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-secondary,
  .page-blog-chien-thuat-choi-tai-xiu-8kbet a[class*="button"],
  .page-blog-chien-thuat-choi-tai-xiu-8kbet a[class*="btn"] {
    padding: 12px 20px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__btn-inline {
    padding: 8px 12px;
    font-size: 0.85em;
    max-width: 100% !important;
    width: auto !important; /* Allow inline buttons to be smaller if text allows */
  }

  /* FAQ Section */
  .page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-chien-thuat-choi-tai-xiu-8kbet__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9em;
  }
}