/* style/blog-huong-dan-choi-da-ga-thomo.css */
.page-blog-huong-dan-choi-da-ga-thomo {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff; /* Default body background */
}

.page-blog-huong-dan-choi-da-ga-thomo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.page-blog-huong-dan-choi-da-ga-thomo__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  margin-bottom: 40px;
  background-color: #f0f8ff; /* Light blue tint */
}

.page-blog-huong-dan-choi-da-ga-thomo__hero-image-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-blog-huong-dan-choi-da-ga-thomo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog-huong-dan-choi-da-ga-thomo__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: -150px auto 0 auto; /* Pull content up over image slightly */
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-blog-huong-dan-choi-da-ga-thomo__main-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-huong-dan-choi-da-ga-thomo__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-blog-huong-dan-choi-da-ga-thomo__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-blog-huong-dan-choi-da-ga-thomo__btn-primary,
.page-blog-huong-dan-choi-da-ga-thomo__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-huong-dan-choi-da-ga-thomo__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog-huong-dan-choi-da-ga-thomo__btn-primary:hover {
  background-color: #1a8ccf;
  border-color: #1a8ccf;
}

.page-blog-huong-dan-choi-da-ga-thomo__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-blog-huong-dan-choi-da-ga-thomo__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1a8ccf;
  border-color: #1a8ccf;
}

/* Guide Section */
.page-blog-huong-dan-choi-da-ga-thomo__guide-section {
  padding: 60px 0;
  background: #f5f5f5;
  margin-bottom: 40px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.page-blog-huong-dan-choi-da-ga-thomo__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog-huong-dan-choi-da-ga-thomo__section-description {
  font-size: 1.1em;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-choi-da-ga-thomo__guide-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.page-blog-huong-dan-choi-da-ga-thomo__guide-card {
  flex: 0 0 calc(20% - 12px); /* 5 cards per row, accounting for gap */
  max-width: calc(20% - 12px);
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  background-color: #ffffff;
}

.page-blog-huong-dan-choi-da-ga-thomo__guide-card a {
  display: block;
  text-decoration: none;
}

.page-blog-huong-dan-choi-da-ga-thomo__guide-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 350;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-choi-da-ga-thomo__guide-card:hover {
  transform: translateY(-5px);
}

.page-blog-huong-dan-choi-da-ga-thomo__guide-card:hover img {
  transform: scale(1.03);
}

/* Main Article Section (home-content-box imitation) */
.page-blog-huong-dan-choi-da-ga-thomo__main-article-section {
  padding: 40px 0;
  margin-bottom: 40px;
}

.page-blog-huong-dan-choi-da-ga-thomo__home-content-box {
  max-width: 91%;
  margin: 0 auto;
  padding: 10px 16px;
  border: 5px solid #26A9E0; /* Using brand color for border */
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(38, 169, 224, 0.5); /* Brand color shadow */
  height: 700px; /* Fixed height for desktop */
  overflow: hidden; /* Ensure shadow/border is contained */
  background-color: #ffffff;
}

.page-blog-huong-dan-choi-da-ga-thomo__home-content-inner {
  height: 100%;
  overflow-y: auto; /* Scrollable content for desktop */
  padding-right: 15px; /* Space for scrollbar */
  box-sizing: border-box;
}

.page-blog-huong-dan-choi-da-ga-thomo__home-content-inner::-webkit-scrollbar {
  width: 8px;
}

.page-blog-huong-dan-choi-da-ga-thomo__home-content-inner::-webkit-scrollbar-thumb {
  background-color: #26A9E0;
  border-radius: 4px;
}

.page-blog-huong-dan-choi-da-ga-thomo__home-content-inner::-webkit-scrollbar-track {
  background-color: #f0f0f0;
}

.page-blog-huong-dan-choi-da-ga-thomo__article-heading {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog-huong-dan-choi-da-ga-thomo__sub-heading {
  font-size: 1.6em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-huong-dan-choi-da-ga-thomo p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333333;
}

.page-blog-huong-dan-choi-da-ga-thomo ul,
.page-blog-huong-dan-choi-da-ga-thomo ol {
  margin-bottom: 15px;
  padding-left: 25px;
  color: #333333;
}

.page-blog-huong-dan-choi-da-ga-thomo li {
  line-height: 1.7;
  margin-bottom: 8px;
}

.page-blog-huong-dan-choi-da-ga-thomo__image-figure {
  margin: 30px 0;
  text-align: center;
}

.page-blog-huong-dan-choi-da-ga-thomo__article-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-blog-huong-dan-choi-da-ga-thomo__image-caption {
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
}

.page-blog-huong-dan-choi-da-ga-thomo__cta-section {
  background-color: #e6f7ff; /* Lighter shade of brand color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 40px;
}

.page-blog-huong-dan-choi-da-ga-thomo__cta-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-blog-huong-dan-choi-da-ga-thomo__cta-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
}

/* Related Articles Section */
.page-blog-huong-dan-choi-da-ga-thomo__related-articles-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-card:hover {
  transform: translateY(-5px);
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* Standard aspect ratio for blog images */
  object-fit: cover;
  display: block;
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-card-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-card-title a:hover {
  color: #1a8ccf;
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-card-meta {
  font-size: 0.9em;
  color: #777777;
  margin-bottom: 15px;
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-card-excerpt {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-card-read-more {
  display: inline-block;
  padding: 8px 15px;
  background-color: #EA7C07; /* Using 'login' color for read more */
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 600;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-blog-huong-dan-choi-da-ga-thomo__blog-card-read-more:hover {
  background-color: #d16b06;
}

/* General image responsiveness */
.page-blog-huong-dan-choi-da-ga-thomo img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-blog-huong-dan-choi-da-ga-thomo__hero-content {
    margin-top: -100px;
    padding: 30px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__main-title {
    font-size: 2.5em;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__guide-card {
    flex: 0 0 calc(33.333% - 10px); /* 3 cards per row */
    max-width: calc(33.333% - 10px);
  }

  .page-blog-huong-dan-choi-da-ga-thomo__home-content-box {
    max-width: 95%;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-blog-huong-dan-choi-da-ga-thomo__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__hero-content {
    margin-top: -50px; /* Adjust for smaller screens */
    padding: 20px;
    border-radius: 0;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__btn-primary,
  .page-blog-huong-dan-choi-da-ga-thomo__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* Guide Section */
  .page-blog-huong-dan-choi-da-ga-thomo__guide-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__guide-grid {
    display: grid; /* Use grid for more control */
    grid-template-columns: repeat(6, 1fr); /* 6 columns for flexible placement */
    gap: 10px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__guide-card {
    padding-top: 0 !important; /* Reset specific desktop padding */
    flex: auto; /* Allow flex items to size automatically */
    max-width: 100%;
    box-shadow: none;
  }

  /* Specific layout for 5 cards: top 2 span 3, bottom 3 span 2 */
  .page-blog-huong-dan-choi-da-ga-thomo__guide-card--pos-1,
  .page-blog-huong-dan-choi-da-ga-thomo__guide-card--pos-2 {
    grid-column: span 3; /* Two cards occupy 3 columns each */
  }

  .page-blog-huong-dan-choi-da-ga-thomo__guide-card--pos-3,
  .page-blog-huong-dan-choi-da-ga-thomo__guide-card--pos-4,
  .page-blog-huong-dan-choi-da-ga-thomo__guide-card--pos-5 {
    grid-column: span 2; /* Three cards occupy 2 columns each */
  }

  /* Main Article Section */
  .page-blog-huong-dan-choi-da-ga-thomo__main-article-section {
    padding: 20px 0;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__home-content-box {
    max-width: 100%;
    height: auto; /* Auto height for mobile */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(38, 169, 224, 0.3); /* Lighter shadow */
    border-width: 3px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__home-content-inner {
    height: auto; /* Content is fully visible */
    overflow: visible; /* No scrollbar needed */
    padding-right: 0;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__article-heading {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__sub-heading {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo p,
  .page-blog-huong-dan-choi-da-ga-thomo li {
    font-size: 1em;
    line-height: 1.6;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__cta-section {
    padding: 20px;
    margin-top: 30px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__cta-title {
    font-size: 1.5em;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__cta-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Related Articles Section */
  .page-blog-huong-dan-choi-da-ga-thomo__related-articles-section {
    padding: 30px 0;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__blog-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__blog-card-title {
    font-size: 1.1em;
  }

  /* General image and container responsiveness for mobile */
  .page-blog-huong-dan-choi-da-ga-thomo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__container,
  .page-blog-huong-dan-choi-da-ga-thomo__section,
  .page-blog-huong-dan-choi-da-ga-thomo__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-huong-dan-choi-da-ga-thomo__cta-buttons,
  .page-blog-huong-dan-choi-da-ga-thomo__button-group,
  .page-blog-huong-dan-choi-da-ga-thomo__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-huong-dan-choi-da-ga-thomo__cta-buttons {
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for CTA buttons */
  }
}