/* style/blog-top-cac-giai-da-ga-c2-khong-the-bo-lo.css */
.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo {
  color: #333333;
  background-color: #F5F7FA;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__hero-section {
  position: relative;
  padding-top: 10px; /* Aligns with body padding-top from shared.css */
  background-color: #E53935;
  color: #ffffff;
  text-align: center;
  padding-bottom: 40px;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  color: #ffffff;
  text-align: center;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-top-cac-g2-khong-the-bo-lo__intro-text {
  font-size: clamp(1em, 1.8vw, 1.2em);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__content-area {
  padding: 40px 0;
  background-color: #F5F7FA;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__section-title {
  font-size: 2.2em;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  padding-top: 20px;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__sub-title {
  font-size: 1.8em;
  color: #FF5A4F;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo p {
  margin-bottom: 15px;
  color: #333333;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo a {
  color: #E53935;
  text-decoration: none;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo a:hover {
  text-decoration: underline;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__cta-button:hover {
  opacity: 0.9;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__cta-wrapper {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__cta-wrapper--final {
  margin-top: 40px;
  margin-bottom: 0;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__figure {
  margin: 20px 0;
  text-align: center;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo figcaption {
  font-style: italic;
  color: #555555;
  margin-top: 10px;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__ordered-list,
.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__unordered-list {
  margin-bottom: 15px;
  padding-left: 25px;
  color: #333333;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__ordered-list li,
.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__unordered-list li {
  margin-bottom: 8px;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__faq-list {
  margin-top: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__faq-question {
  font-size: 1.3em;
  color: #E53935;
  margin-top: 20px;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__faq-question:first-child {
  margin-top: 0;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__faq-answer {
  color: #333333;
  margin-bottom: 15px;
  padding-left: 10px;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__related-posts-section {
  padding: 40px 0;
  background-color: #F5F7FA;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__blog-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__blog-card:hover {
  transform: translateY(-5px);
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__blog-card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__blog-card-title {
  font-size: 1.2em;
  color: #333333;
  padding: 15px;
  min-height: 60px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__blog-card-excerpt {
  font-size: 0.9em;
  color: #555555;
  padding: 0 15px 15px;
  min-height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__blog-card-readmore {
  display: block;
  text-align: right;
  color: #E53935;
  padding: 0 15px 15px;
  font-weight: bold;
}

/* Placeholder CSS for elements not in HTML but required by prompt */
.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__hero-carousel-section { /* Basic styling for carousel container */ }
.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__hero-slider { /* Basic slider styling */ }
.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__hero-slide { /* Basic slide styling */ }
.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-box { /* Guide box styling */ }
.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-grid { /* Guide grid styling */ }
.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-card { /* Guide card styling */ }
.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__home-content-box { /* Home content box styling */ }
.page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__home-content-inner { /* Home content inner styling */ }

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__section-title {
    font-size: 2em;
  }
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__sub-title {
    font-size: 1.6em;
  }
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__hero-content {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__intro-text {
    font-size: 1em;
  }

  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__sub-title {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__blog-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  /* General images responsive styles */
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* All image containers */
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__hero-image-wrapper,
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__figure,
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__blog-card-image {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* All buttons responsive styles */
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__cta-button,
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__btn-primary,
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__btn-secondary,
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo a[class*="button"],
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo 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 !important;
    padding-right: 15px !important;
  }
  
  /* Button containers */
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__cta-wrapper,
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__button-group,
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Specific media queries for mandatory elements not used in HTML for this page */
  /* 1. Top carousel section */
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__hero-carousel-section {
    padding-top: 10px !important;
    /* Add more specific carousel mobile styles if it were present */
  }

  /* 2. Guide box + five team vertical cards */
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-box {
    padding: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Default to 2 columns */
    gap: 10px;
    justify-content: center;
  }
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-card {
    padding-top: 0 !important; /* Reset desktop specific padding */
    flex: none;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  /* Specific layout for 5 cards: top 2 get span 1, bottom 3 get span 1 */
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-card:nth-child(1), 
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-card:nth-child(2) {
    grid-column: span 1;
  }
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-card:nth-child(3), 
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-card:nth-child(4),
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-card:nth-child(5) {
    grid-column: span 1;
  }
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__guide-card img {
    aspect-ratio: 250/350;
    object-fit: contain;
  }

  /* 3. home_content outer frame */
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__home-content-box {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Auto height on mobile */
    padding: 10px;
    box-sizing: border-box !important;
  }
  .page-blog-top-cac-giai-da-ga-c2-khong-the-bo-lo__home-content-inner {
    height: auto !important;
    overflow: visible !important;
  }
}