/* Base styles for the page */
.page-blog-huong-dan-dang-ky-alo789-can-tho {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Page background color */
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-alo789-can-tho__hero-section {
  padding-top: 10px; /* Small top padding for fixed header */
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__hero-image-wrapper {
  width: 100%;
  max-height: 400px; /* Adjust as needed */
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__main-title {
  font-size: clamp(2rem, 4vw, 2.8rem); /* Use clamp for H1 */
  font-weight: 700;
  color: #E53935; /* Brand color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__lead-paragraph {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
}

/* General Container */
.page-blog-huong-dan-dang-ky-alo789-can-tho__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Titles */
.page-blog-huong-dan-dang-ky-alo789-can-tho__section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 50px;
}

/* Buttons */
.page-blog-huong-dan-dang-ky-alo789-can-tho__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__btn-primary,
.page-blog-huong-dan-dang-ky-alo789-can-tho__btn-secondary,
.page-blog-huong-dan-dang-ky-alo789-can-tho a[class*="button"],
.page-blog-huong-dan-dang-ky-alo789-can-tho a[class*="btn"] {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Important for mobile */
  box-sizing: border-box; /* Important for mobile */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

/* Content Area */
.page-blog-huong-dan-dang-ky-alo789-can-tho__content-section {
  padding: 20px 0;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__content-section p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__content-section ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__content-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__content-section strong {
  color: #E53935;
}

/* Guide Items */
.page-blog-huong-dan-dang-ky-alo789-can-tho__step-by-step-guide {
  margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__guide-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #E0E0E0;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__guide-title {
  font-size: 1.5rem;
  color: #E53935;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__guide-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none;
}

/* Game List */
.page-blog-huong-dan-dang-ky-alo789-can-tho__game-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__game-list li {
  background-color: #ffffff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #E0E0E0;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__game-list li a {
  text-decoration: none;
  color: #E53935;
  font-weight: 600;
  display: block;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__game-list li a:hover {
  color: #FF5A4F;
  text-decoration: underline;
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-alo789-can-tho__faq-section {
  padding: 60px 0;
  background-color: #F5F7FA; /* Light background for FAQ */
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__faq-list {
  margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  list-style: none; /* Hide default marker */
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__faq-toggle {
  font-size: 1.5rem;
  color: #E53935;
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__faq-item[open] .page-blog-huong-dan-dang-ky-alo789-can-tho__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for open state */
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__faq-item[open] .page-blog-huong-dan-dang-ky-alo789-can-tho__faq-answer {
    max-height: 500px; /* Sufficiently large to show content */
    transition: max-height 0.5s ease-in;
}

/* Final CTA Section */
.page-blog-huong-dan-dang-ky-alo789-can-tho__final-cta-section {
  padding: 60px 0;
  background: #E53935; /* Dark background for CTA */
  color: #ffffff; /* White text for dark background */
  text-align: center;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__final-cta-section .page-blog-huong-dan-dang-ky-alo789-can-tho__section-title {
  color: #ffffff;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__final-cta-section p {
  color: #f0f0f0;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Image specific rules */
.page-blog-huong-dan-dang-ky-alo789-can-tho img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Ensure no filter is applied */
  filter: none;
}

/* Placeholder for general blog masonry/slider styles, as per template requirement for blog pages */
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #E0E0E0;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-card-link:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: none;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
  line-height: 1.4;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-card-excerpt {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__btn-outline {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #E53935;
  border-radius: 5px;
  color: #E53935;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto; /* Push to bottom of card */
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__btn-outline:hover {
  background-color: #E53935;
  color: #ffffff;
}

.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  margin-top: 40px;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slider-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari */
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slide {
  flex: 0 0 calc(33.333% - 14px); /* 3 items with gap */
  max-width: calc(33.333% - 14px);
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #E0E0E0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slide-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: none;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slide-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slide-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 8px;
  line-height: 1.4;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slide-date {
  font-size: 0.85rem;
  color: #777777;
  margin-bottom: 10px;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slide-excerpt {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slide-link {
  display: inline-block;
  color: #E53935;
  text-decoration: none;
  font-weight: 500;
  margin-top: auto;
}
.page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slide-link:hover {
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog-huong-dan-dang-ky-alo789-can-tho__hero-content {
    padding: 30px 15px;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__section-title {
    font-size: 1.8rem;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__game-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-blog-huong-dan-dang-ky-alo789-can-tho__hero-section {
    padding-top: 10px;
    margin-bottom: 20px;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__hero-content {
    padding: 20px 15px;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__main-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 10px;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__lead-paragraph {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* 通用图片与容器 */
  .page-blog-huong-dan-dang-ky-alo789-can-tho img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__section,
  .page-blog-huong-dan-dang-ky-alo789-can-tho__card,
  .page-blog-huong-dan-dang-ky-alo789-can-tho__container,
  .page-blog-huong-dan-dang-ky-alo789-can-tho__guide-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-blog-huong-dan-dang-ky-alo789-can-tho__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__btn-primary,
  .page-blog-huong-dan-dang-ky-alo789-can-tho__btn-secondary,
  .page-blog-huong-dan-dang-ky-alo789-can-tho a[class*="button"],
  .page-blog-huong-dan-dang-ky-alo789-can-tho 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;
  }

  /* Content area */
  .page-blog-huong-dan-dang-ky-alo789-can-tho__section-title {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__content-section p,
  .page-blog-huong-dan-dang-ky-alo789-can-tho__content-section li {
    font-size: 1rem;
    line-height: 1.5;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__guide-item {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__guide-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__game-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* FAQ Section */
  .page-blog-huong-dan-dang-ky-alo789-can-tho__faq-section {
    padding: 40px 0;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px 15px 20px;
  }

  /* Final CTA Section */
  .page-blog-huong-dan-dang-ky-alo789-can-tho__final-cta-section {
    padding: 40px 0;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__final-cta-section p {
    font-size: 1rem;
  }

  /* Mobile specific for blog-related elements */
  .page-blog-huong-dan-dang-ky-alo789-can-tho__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__blog-card-link {
    width: 100% !important;
    max-width: 100% !important;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .page-blog-huong-dan-dang-ky-alo789-can-tho__blog-slider-track {
    padding-left: 15px;
    padding-right: 15px;
  }
}