/* style/blog-chien-thuat-choi-no-hu-hieu-qua.css */

/* Variables from color scheme */
:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --card-bg: #10233F;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --border-color: #244D84;
  --divider-color: #1B3357;
  --deep-navy: #08162B;
  --gold-color: #F2C14E;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Light text for dark body background */
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

/* Hero Section */
.page-blog-chien-thuat-choi-no-hu-hieu-qua__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 40px;
  background-color: var(--deep-navy); /* Consistent with body */
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__hero-content {
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--gold-color); /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  min-width: 180px;
  max-width: 100%; /* Ensure button fits container */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__btn--primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__btn--secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__btn--secondary:hover {
  background-color: rgba(29, 95, 209, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Article Content */
.page-blog-chien-thuat-choi-no-hu-hieu-qua__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--deep-navy); /* Match body background */
  border-radius: 10px;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__article-content {
  max-width: 800px; /* Standard readable width for long text */
  margin: 0 auto;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-color);
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua p {
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__list-item {
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__sub-list {
  list-style: circle;
  margin-left: 20px;
  margin-top: 5px;
  color: var(--text-secondary);
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__sub-list-item {
  margin-bottom: 5px;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__figure {
  margin: 30px 0;
  text-align: center;
  background-color: var(--card-bg); /* Dark background for figures */
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  min-height: 200px; /* Minimum image size */
  margin: 0 auto;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__warning-card {
  background-color: rgba(242, 193, 78, 0.1); /* Light gold tint for warning */
  border-left: 5px solid var(--gold-color);
  padding: 15px 20px;
  margin: 30px 0;
  border-radius: 5px;
  color: var(--text-main);
  font-weight: bold;
}

.page-blog-chien-thuat-choi-no-hu-hieu-qua__cta-buttons--bottom {
  margin-top: 50px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__article-wrap {
    padding: 30px 15px;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__hero-content {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  /* 1. Top Section Title + Dual CTA */
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust H1 for mobile */
    margin-bottom: 15px;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add horizontal padding to button container */
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__btn {
    width: 100% !important; /* Full width for buttons */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* 2. Single Column Long Content Container */
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__article-wrap {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__article-content {
    padding: 0 10px;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__section-title {
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua p,
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__list-item,
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__sub-list-item {
    font-size: 15px;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__warning-card {
    padding: 12px 15px;
    margin: 25px 0;
  }

  /* 3. Universal Images and Figures */
  .page-blog-chien-thuat-choi-no-hu-hieu-qua img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__figure {
    margin: 20px 0;
    padding: 10px;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__figcaption {
    font-size: 0.85rem;
  }

  /* 4. Buttons and Button Containers */
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__cta-buttons--bottom {
    margin-top: 40px;
    padding: 0 15px;
  }

  /* 5. Registration Tutorial and FAQ Blocks - Handled by general article styles */
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__section,
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__card,
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__cta-button,
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__btn-primary,
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__btn-secondary,
  .page-blog-chien-thuat-choi-no-hu-hieu-qua a[class*="button"],
  .page-blog-chien-thuat-choi-no-hu-hieu-qua a[class*="btn"] {
    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-chien-thuat-choi-no-hu-hieu-qua__cta-buttons,
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__button-group,
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-blog-chien-thuat-choi-no-hu-hieu-qua__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}