/* Biến màu từ custom color */
:root {
  --page-primary-color: #2F6BFF;
  --page-secondary-color: #6FA3FF;
  --page-text-main: #1F2D3D;
  --page-text-black: #000000;
  --page-background-light: #F4F7FB;
  --page-card-background: #FFFFFF;
  --page-border-color: #D6E2FF;
  --page-glow-color: #A5C4FF;
  --page-btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-blog-truc-tiep-ga-thomo-la-gi {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-text-main); /* Giả định body background là sáng */
  background-color: var(--background-color, var(--page-background-light)); /* Fallback nếu shared không có */
}

.page-blog-truc-tiep-ga-thomo-la-gi__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-blog-truc-tiep-ga-thomo-la-gi__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Chỉ 10px, dựa vào body padding-top từ shared */
  padding-bottom: 40px;
  background-color: var(--background-color, var(--page-background-light));
  overflow: hidden;
}

.page-blog-truc-tiep-ga-thomo-la-gi__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-blog-truc-tiep-ga-thomo-la-gi__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-blog-truc-tiep-ga-thomo-la-gi__hero-content {
  max-width: 900px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-blog-truc-tiep-ga-thomo-la-gi__main-title {
  font-weight: 700;
  color: var(--page-text-black);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  font-size: clamp(28px, 4vw, 48px); /* H1 clamp font-size */
}

.page-blog-truc-tiep-ga-thomo-la-gi__intro-text {
  font-size: 18px;
  color: var(--page-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-truc-tiep-ga-thomo-la-gi__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-blog-truc-tiep-ga-thomo-la-gi__btn-primary,
.page-blog-truc-tiep-ga-thomo-la-gi__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-truc-tiep-ga-thomo-la-gi__btn-primary {
  background: var(--page-btn-gradient);
  color: #ffffff;
  border: 2px solid var(--page-primary-color);
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-blog-truc-tiep-ga-thomo-la-gi__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
  transform: translateY(-2px);
}

.page-blog-truc-tiep-ga-thomo-la-gi__btn-secondary {
  background: #ffffff;
  color: var(--page-primary-color);
  border: 2px solid var(--page-primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-blog-truc-tiep-ga-thomo-la-gi__btn-secondary:hover {
  background: var(--page-primary-color);
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.2);
  transform: translateY(-2px);
}

/* Content Section */
.page-blog-truc-tiep-ga-thomo-la-gi__content-section {
  padding: 40px 0;
  background-color: var(--page-card-background);
}

.page-blog-truc-tiep-ga-thomo-la-gi__article-body {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  background: var(--page-card-background);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-blog-truc-tiep-ga-thomo-la-gi__section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--page-text-black);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: left;
  border-bottom: 2px solid var(--page-primary-color);
  padding-bottom: 10px;
}

.page-blog-truc-tiep-ga-thomo-la-gi__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--page-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-blog-truc-tiep-ga-thomo-la-gi p {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--page-text-main);
}

.page-blog-truc-tiep-ga-thomo-la-gi p strong {
  color: var(--page-text-black);
}

.page-blog-truc-tiep-ga-thomo-la-gi a {
  color: var(--page-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-truc-tiep-ga-thomo-la-gi a:hover {
  color: var(--page-secondary-color);
  text-decoration: underline;
}

.page-blog-truc-tiep-ga-thomo-la-gi__article-figure {
  margin: 30px 0;
  text-align: center;
}

.page-blog-truc-tiep-ga-thomo-la-gi__article-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-blog-truc-tiep-ga-thomo-la-gi__figcaption {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

.page-blog-truc-tiep-ga-thomo-la-gi__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--page-text-main);
}

.page-blog-truc-tiep-ga-thomo-la-gi__list li {
  margin-bottom: 8px;
}

.page-blog-truc-tiep-ga-thomo-la-gi__button-group {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 25px;
  margin-bottom: 30px;
}

/* FAQ Section */
.page-blog-truc-tiep-ga-thomo-la-gi__faq-list {
  margin-top: 30px;
  margin-bottom: 40px;
}

details.page-blog-truc-tiep-ga-thomo-la-gi__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--page-border-color);
  overflow: hidden;
  background: var(--page-card-background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-blog-truc-tiep-ga-thomo-la-gi__faq-item summary.page-blog-truc-tiep-ga-thomo-la-gi__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: var(--page-text-black);
}

details.page-blog-truc-tiep-ga-thomo-la-gi__faq-item summary.page-blog-truc-tiep-ga-thomo-la-gi__faq-question::-webkit-details-marker {
  display: none;
}

details.page-blog-truc-tiep-ga-thomo-la-gi__faq-item summary.page-blog-truc-tiep-ga-thomo-la-gi__faq-question:hover {
  background: var(--page-background-light);
}

.page-blog-truc-tiep-ga-thomo-la-gi__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}

.page-blog-truc-tiep-ga-thomo-la-gi__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--page-primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog-truc-tiep-ga-thomo-la-gi__faq-item .page-blog-truc-tiep-ga-thomo-la-gi__faq-answer {
  padding: 0 25px 20px;
  background: var(--page-background-light);
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: var(--page-text-main);
}

/* CTA Section at the end */
.page-blog-truc-tiep-ga-thomo-la-gi__cta-section {
  background: linear-gradient(135deg, var(--page-primary-color) 0%, var(--page-secondary-color) 100%);
  padding: 50px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 50px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(47, 107, 255, 0.4);
}

.page-blog-truc-tiep-ga-thomo-la-gi__cta-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-truc-tiep-ga-thomo-la-gi__cta-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-truc-tiep-ga-thomo-la-gi__cta-section .page-blog-truc-tiep-ga-thomo-la-gi__btn-primary {
  background: #ffffff;
  color: var(--page-primary-color);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-truc-tiep-ga-thomo-la-gi__cta-section .page-blog-truc-tiep-ga-thomo-la-gi__btn-primary:hover {
  background: var(--page-background-light);
  color: var(--page-primary-color);
  border-color: var(--page-background-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-truc-tiep-ga-thomo-la-gi__hero-image-wrapper {
    max-height: 400px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__main-title {
    font-size: clamp(24px, 3.5vw, 42px);
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__intro-text {
    font-size: 17px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__section-title {
    font-size: 28px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__sub-title {
    font-size: 22px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__cta-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-blog-truc-tiep-ga-thomo-la-gi__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__hero-image {
    object-fit: contain !important; /* HERO 移动 object-fit:contain */
    aspect-ratio: unset !important;
    border-radius: 0;
    box-shadow: none;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__hero-content {
    padding: 0 15px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__main-title {
    font-size: clamp(22px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__intro-text {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 按钮与按钮容器 */
  .page-blog-truc-tiep-ga-thomo-la-gi__btn-primary,
  .page-blog-truc-tiep-ga-thomo-la-gi__btn-secondary {
    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;
    font-size: 16px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__cta-buttons,
  .page-blog-truc-tiep-ga-thomo-la-gi__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Allow buttons to wrap */
    gap: 10px;
    justify-content: center;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__button-group {
    flex-direction: column;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-blog-truc-tiep-ga-thomo-la-gi__article-body {
    padding: 0 15px;
    box-shadow: none;
    border-radius: 0;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__section-title {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 8px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
    text-align: center;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi p,
  .page-blog-truc-tiep-ga-thomo-la-gi__list li {
    font-size: 15px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__article-figure {
    margin: 20px 0;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__article-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset; /* Allow smaller than 200px on mobile if scaled */
    min-height: unset;
    border-radius: 5px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__figcaption {
    font-size: 13px;
  }

  /* FAQ Section */
  details.page-blog-truc-tiep-ga-thomo-la-gi__faq-item {
    margin-bottom: 10px;
    border-radius: 5px;
  }
  details.page-blog-truc-tiep-ga-thomo-la-gi__faq-item summary.page-blog-truc-tiep-ga-thomo-la-gi__faq-question {
    padding: 15px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__faq-qtext {
    font-size: 15px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-blog-truc-tiep-ga-thomo-la-gi__faq-item .page-blog-truc-tiep-ga-thomo-la-gi__faq-answer {
    padding: 0 15px 15px;
  }

  /* CTA Section */
  .page-blog-truc-tiep-ga-thomo-la-gi__cta-section {
    padding: 40px 15px;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__cta-title {
    font-size: 28px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__cta-description {
    font-size: 16px;
  }
  
  /* General Images and Containers */
  .page-blog-truc-tiep-ga-thomo-la-gi img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__container,
  .page-blog-truc-tiep-ga-thomo-la-gi__content-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-truc-tiep-ga-thomo-la-gi__content-section { padding-left: 0; padding-right: 0; }
}