/* Base styles for the page */
.page-blog-huong-dan-dang-ky-bk8 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background: var(--deep-navy); /* From shared, main body background */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-bk8__hero-section {
  width: 100%;
  max-width: 1920px;
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding to avoid double spacing with body padding-top */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-blog-huong-dan-dang-ky-bk8__hero-image {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.page-blog-huong-dan-dang-ky-bk8__hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog-huong-dan-dang-ky-bk8__hero-content {
  width: 100%;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 10;
  position: relative;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-bk8__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #113B7A; /* Dark text on light background for contrast */
  margin-bottom: 20px;
  text-align: center;
  font-size: clamp(24px, 4vw, 42px);
}

.page-blog-huong-dan-dang-ky-bk8__description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-bk8__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-bk8__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-blog-huong-dan-dang-ky-bk8__cta-button--secondary {
  background: #ffffff;
  color: #113B7A; /* Primary color for text */
  border: 2px solid #113B7A;
  box-shadow: none;
}

.page-blog-huong-dan-dang-ky-bk8__cta-button--secondary:hover {
  background: #f0f0f0;
  color: #113B7A;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-blog-huong-dan-dang-ky-bk8__cta-button--small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
}

/* General Section Styling */
.page-blog-huong-dan-dang-ky-bk8__section {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-bk8__content-area {
  background: #ffffff; /* Light background for content for contrast */
  color: #333333;
}

.page-blog-huong-dan-dang-ky-bk8__dark-bg {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
}

.page-blog-huong-dan-dang-ky-bk8__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-bk8__section-title {
  font-size: clamp(22px, 3vw, 36px);
  color: #113B7A; /* Primary color for titles on light background */
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-blog-huong-dan-dang-ky-bk8 h3 {
  font-size: clamp(18px, 2.5vw, 28px);
  color: #1D5FD1; /* Auxiliary color for sub-titles on light background */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-huong-dan-dang-ky-bk8 p {
  font-size: 17px;
  margin-bottom: 15px;
  line-height: 1.7;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-bk8 a {
  color: #1D5FD1; /* Auxiliary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-huong-dan-dang-ky-bk8 a:hover {
  color: #2B73F6;
  text-decoration: underline;
}

.page-blog-huong-dan-dang-ky-bk8__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding: 0;
}

.page-blog-huong-dan-dang-ky-bk8__list li {
  font-size: 17px;
  margin-bottom: 10px;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-bk8__figure {
  margin: 30px 0;
  text-align: center;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
}

.page-blog-huong-dan-dang-ky-bk8__figure img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
}

.page-blog-huong-dan-dang-ky-bk8__figcaption {
  font-size: 15px;
  color: #666666;
  margin-top: 10px;
  font-style: italic;
}

.page-blog-huong-dan-dang-ky-bk8__step-item {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.page-blog-huong-dan-dang-ky-bk8__step-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-blog-huong-dan-dang-ky-bk8__step-title {
  color: #113B7A;
  font-size: clamp(20px, 2.5vw, 30px);
  margin-top: 0;
  margin-bottom: 20px;
  text-align: left;
}

.page-blog-huong-dan-dang-ky-bk8__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* FAQ Section */
details.page-blog-huong-dan-dang-ky-bk8__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-blog-huong-dan-dang-ky-bk8__faq-item summary.page-blog-huong-dan-dang-ky-bk8__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-blog-huong-dan-dang-ky-bk8__faq-item summary.page-blog-huong-dan-dang-ky-bk8__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-huong-dan-dang-ky-bk8__faq-item summary.page-blog-huong-dan-dang-ky-bk8__faq-question:hover {
  background: #f5f5f5;
}
.page-blog-huong-dan-dang-ky-bk8__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #113B7A;
}
.page-blog-huong-dan-dang-ky-bk8__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-huong-dan-dang-ky-bk8__faq-item .page-blog-huong-dan-dang-ky-bk8__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-blog-huong-dan-dang-ky-bk8__faq-answer p {
  font-size: 16px;
  color: #333333;
}

/* Copyright Section */
.page-blog-huong-dan-dang-ky-bk8__copyright-section {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  margin-top: 50px;
  background: #08162B; /* Deep Navy */
  color: #AFC4E8; /* Text Secondary */
}

.page-blog-huong-dan-dang-ky-bk8__copyright-text {
  font-size: 14px;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-bk8__hero-content {
    max-width: 768px;
    margin-top: -60px;
    padding: 30px;
  }

  .page-blog-huong-dan-dang-ky-bk8__section {
    max-width: 90%;
    padding: 30px;
    margin: 20px auto;
  }

  .page-blog-huong-dan-dang-ky-bk8__main-title {
    font-size: clamp(28px, 4.5vw, 38px);
  }

  .page-blog-huong-dan-dang-ky-bk8__description {
    font-size: 16px;
  }

  .page-blog-huong-dan-dang-ky-bk8__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-blog-huong-dan-dang-ky-bk8__section-title {
    font-size: clamp(24px, 3.5vw, 32px);
  }

  .page-blog-huong-dan-dang-ky-bk8 h3 {
    font-size: clamp(18px, 2.8vw, 24px);
  }

  .page-blog-huong-dan-dang-ky-bk8 p,
  .page-blog-huong-dan-dang-ky-bk8__list li {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-blog-huong-dan-dang-ky-bk8__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }
  
  .page-blog-huong-dan-dang-ky-bk8__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    position: static; /* Adjust positioning for contain */
    height: auto; /* Ensure height adjusts */
  }
  
  .page-blog-huong-dan-dang-ky-bk8__hero-image {
    padding-bottom: 0; /* Remove fixed padding-bottom when using object-fit: contain */
    height: auto;
  }

  .page-blog-huong-dan-dang-ky-bk8__hero-content {
    margin-top: -40px; /* Adjust overlap for mobile */
    padding: 20px;
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-huong-dan-dang-ky-bk8__main-title {
    font-size: clamp(22px, 6vw, 32px);
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-dang-ky-bk8__description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-bk8__cta-button,
  .page-blog-huong-dan-dang-ky-bk8 a[class*="button"],
  .page-blog-huong-dan-dang-ky-bk8 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;
    font-size: 16px;
    padding: 12px 15px;
  }

  .page-blog-huong-dan-dang-ky-bk8__cta-group {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-huong-dan-dang-ky-bk8__section,
  .page-blog-huong-dan-dang-ky-bk8__card,
  .page-blog-huong-dan-dang-ky-bk8__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin: 15px auto;
  }

  .page-blog-huong-dan-dang-ky-bk8__section-title {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-bk8 h3 {
    font-size: clamp(17px, 4.5vw, 22px);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-bk8 p,
  .page-blog-huong-dan-dang-ky-bk8__list li {
    font-size: 15px;
  }

  .page-blog-huong-dan-dang-ky-bk8 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  details.page-blog-huong-dan-dang-ky-bk8__faq-item summary.page-blog-huong-dan-dang-ky-bk8__faq-question { padding: 15px; }
  .page-blog-huong-dan-dang-ky-bk8__faq-qtext { font-size: 16px; }
  .page-blog-huong-dan-dang-ky-bk8__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-blog-huong-dan-dang-ky-bk8__faq-item .page-blog-huong-dan-dang-ky-bk8__faq-answer {
    padding: 0 15px 15px;
  }
}