/* style/blog-huong-dan-choi-no-hu-cho-nguoi-moi.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --background-light: #f5f5f5;
  --button-login-color: #EA7C07;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-text-color);
  background-color: var(--background-light); /* Default light background from shared.css */
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* ~10px top padding as per instruction */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  color: var(--light-text-color);
  background-color: var(--primary-color); /* Fallback for dark-bg, but hero-image should be main visual */
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__hero-image-wrapper {
  width: 100%;
  height: 500px; /* Fixed height for hero image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--light-text-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-primary,
.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-primary {
  background-color: var(--button-login-color); /* Login color as primary CTA */
  color: var(--light-text-color);
  border: 2px solid var(--button-login-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-primary:hover {
  background-color: darken(var(--button-login-color), 10%);
  border-color: darken(var(--button-login-color), 10%);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-secondary {
  background-color: transparent;
  color: var(--light-text-color);
  border: 2px solid var(--light-text-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-secondary:hover {
  background-color: var(--light-text-color);
  color: var(--dark-text-color);
}

/* General Section Styling */
.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__section {
  padding: 60px 0;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__sub-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__paragraph {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--dark-text-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__ordered-list,
.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--dark-text-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__list-item {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* FAQ Section */
.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-list {
  margin-top: 40px;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  outline: none;
  color: var(--dark-text-color);
  list-style: none;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-qtext {
  flex-grow: 1;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #555;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-answer p {
  margin-bottom: 0;
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__cta-buttons--bottom {
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__container {
    padding: 0 30px;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-cho-nguoi-moi__hero-image-wrapper {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__hero-image-wrapper {
    height: 300px;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 按钮与按钮容器 */
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-primary,
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-secondary,
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi a[class*="button"],
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi 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-huong-dan-choi-no-hu-cho-nguoi-moi__cta-buttons,
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__button-group,
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__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;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* 深色导语区 (if applicable, though not a separate section here, content starts directly) */
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__section {
    padding: 30px 0;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__sub-heading {
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__paragraph,
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__list-item {
    font-size: 0.95rem;
  }

  /* 通用图片与容器 */
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto !important;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__content-area,
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__text-block,
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__card,
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  /* FAQ 区域 */
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-answer {
    padding: 0 20px 15px;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-toggle {
    font-size: 1.2rem;
  }
}

@media (max-width: 549px) {
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__hero-image-wrapper {
    height: 250px;
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-primary,
  .page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-secondary {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}

/* Color Contrast Fixes - Ensure text is always readable */
.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__dark-bg {
  background: var(--primary-color);
  color: var(--light-text-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__light-bg {
  background: var(--background-light);
  color: var(--dark-text-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-primary {
  background: var(--button-login-color);
  color: var(--light-text-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-secondary {
  background: transparent;
  color: var(--light-text-color);
  border-color: var(--light-text-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__btn-secondary:hover {
  background: var(--light-text-color);
  color: var(--primary-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-item {
  background-color: var(--secondary-color);
  color: var(--dark-text-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-question {
  color: var(--dark-text-color);
}

.page-blog-huong-dan-choi-no-hu-cho-nguoi-moi__faq-toggle {
  color: var(--primary-color);
}