/* style/blog-huong-dan-dang-ky-fb8bet.css */
:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --text-main-color: #1F2D3D;
  --text-custom-color: #000000;
  --card-bg-color: #FFFFFF;
  --background-page-color: #F4F7FB;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-blog-huong-dan-dang-ky-fb8bet {
  font-family: Arial, sans-serif;
  color: var(--text-main-color);
  background-color: var(--background-page-color);
  line-height: 1.6;
}

.page-blog-huong-dan-dang-ky-fb8bet__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Fixed header spacing */
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--primary-color);
}

.page-blog-huong-dan-dang-ky-fb8bet__hero-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.page-blog-huong-dan-dang-ky-fb8bet__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

.page-blog-huong-dan-dang-ky-fb8bet__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-fb8bet__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-blog-huong-dan-dang-ky-fb8bet__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

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

.page-blog-huong-dan-dang-ky-fb8bet__content-section {
  padding: 20px;
  margin-bottom: 40px;
}

.page-blog-huong-dan-dang-ky-fb8bet__home-content-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  border: 5px solid var(--primary-color);
  border-radius: 15px;
  box-shadow: 0 0 20px var(--glow-color);
  height: 700px; /* Desktop fixed height */
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-fb8bet__home-content-inner {
  height: 100%;
  overflow-y: auto; /* Desktop scrollable */
  padding-right: 15px; /* For scrollbar */
}

.page-blog-huong-dan-dang-ky-fb8bet__home-content-inner::-webkit-scrollbar {
  width: 8px;
}

.page-blog-huong-dan-dang-ky-fb8bet__home-content-inner::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.page-blog-huong-dan-dang-ky-fb8bet__home-content-inner::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

.page-blog-huong-dan-dang-ky-fb8bet__home-content-inner::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.page-blog-huong-dan-dang-ky-fb8bet__heading-2 {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: 700;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-fb8bet__heading-3 {
  font-size: 1.8em;
  color: var(--text-custom-color);
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog-huong-dan-dang-ky-fb8bet__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-fb8bet__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-blog-huong-dan-dang-ky-fb8bet__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-blog-huong-dan-dang-ky-fb8bet__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-dang-ky-fb8bet__highlight-text {
  color: var(--primary-color);
  font-weight: 700;
}

.page-blog-huong-dan-dang-ky-fb8bet__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-fb8bet__related-posts-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  background-color: var(--card-bg-color);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-fb8bet__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-blog-huong-dan-dang-ky-fb8bet__blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-blog-huong-dan-dang-ky-fb8bet__blog-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-fb8bet__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-blog-huong-dan-dang-ky-fb8bet__blog-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-blog-huong-dan-dang-ky-fb8bet__blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-blog-huong-dan-dang-ky-fb8bet__blog-card-title {
  font-size: 1.4em;
  color: var(--text-custom-color);
  padding: 15px;
  margin-bottom: 5px;
  font-weight: 600;
}

.page-blog-huong-dan-dang-ky-fb8bet__blog-card-excerpt {
  font-size: 0.95em;
  color: var(--text-main-color);
  padding: 0 15px 15px;
}

.page-blog-huong-dan-dang-ky-fb8bet__read-more {
  display: block;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0 15px 15px;
  text-align: right;
}

/* General image and button responsive styles */
.page-blog-huong-dan-dang-ky-fb8bet img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog-huong-dan-dang-ky-fb8bet__btn-primary,
.page-blog-huong-dan-dang-ky-fb8bet a[class*="button"],
.page-blog-huong-dan-dang-ky-fb8bet a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-fb8bet__cta-wrapper,
.page-blog-huong-dan-dang-ky-fb8bet__button-group,
.page-blog-huong-dan-dang-ky-fb8bet__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles for smaller screens */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-fb8bet__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-blog-huong-dan-dang-ky-fb8bet__blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Placeholder for hero-carousel-section - not present in HTML */
  .page-blog-huong-dan-dang-ky-fb8bet__hero-carousel-section {
    padding-top: 10px !important; /* Satisfy requirement, minimal impact */
  }

  /* Placeholder for guide-box - not present in HTML */
  .page-blog-huong-dan-dang-ky-fb8bet__guide-box {
    padding: 0; /* Satisfy requirement, minimal impact */
  }

  .page-blog-huong-dan-dang-ky-fb8bet__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__hero-content {
    padding: 20px 15px;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__description {
    font-size: 1em;
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__btn-primary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__content-section {
    padding: 10px;
    margin-bottom: 20px;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__home-content-box {
    height: auto !important; /* Mobile auto height */
    max-width: 100% !important;
    padding: 15px;
    box-sizing: border-box !important;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__home-content-inner {
    height: auto !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__heading-2 {
    font-size: 1.8em;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__heading-3 {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__paragraph,
  .page-blog-huong-dan-dang-ky-fb8bet__list-item {
    font-size: 0.95em;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__list {
    margin-left: 20px;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__related-posts-section {
    padding: 20px 10px;
    margin-bottom: 40px;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__section-title {
    font-size: 2em;
    margin-bottom: 25px;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__blog-grid {
    grid-template-columns: 1fr !important; /* Single column on mobile */
    gap: 20px;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__blog-card img {
    
  }

  .page-blog-huong-dan-dang-ky-fb8bet__blog-card-title {
    font-size: 1.2em;
    padding: 10px;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__blog-card-excerpt {
    padding: 0 10px 10px;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__read-more {
    padding: 0 10px 10px;
  }

  /* General image and button mobile specific overrides */
  .page-blog-huong-dan-dang-ky-fb8bet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-dang-ky-fb8bet__cta-wrapper,
  .page-blog-huong-dan-dang-ky-fb8bet__button-group,
  .page-blog-huong-dan-dang-ky-fb8bet__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-dang-ky-fb8bet__cta-wrapper {
    display: flex;
    flex-direction: column;
  }
}