/* style/blog-huong-dan-dang-ky-g88.css */

/* Variables */
:root {
  --g88-primary: #113B7A;
  --g88-secondary: #1D5FD1;
  --g88-text-main: #F3F8FF;
  --g88-text-secondary: #AFC4E8;
  --g88-card-bg: #10233F;
  --g88-border: #244D84;
  --g88-glow: #4FA8FF;
  --g88-gold: #F2C14E;
  --g88-divider: #1B3357;
  --g88-deep-navy: #08162B;
}

/* Base styles for the page content */
.page-blog-huong-dan-dang-ky-g88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--g88-text-main); /* Default text color for dark body background */
  background-color: var(--g88-deep-navy); /* Assumed body background from shared.css */
}

.page-blog-huong-dan-dang-ky-g88__content-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-g88 h1,
.page-blog-huong-dan-dang-ky-g88 h2,
.page-blog-huong-dan-dang-ky-g88 h3 {
  color: var(--g88-gold);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-huong-dan-dang-ky-g88 h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--g88-gold);
}

.page-blog-huong-dan-dang-ky-g88 h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  text-align: center;
  margin-bottom: 40px;
  color: var(--g88-gold);
}

.page-blog-huong-dan-dang-ky-g88 h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--g88-text-main);
}

.page-blog-huong-dan-dang-ky-g88 p {
  margin-bottom: 15px;
  color: var(--g88-text-secondary);
}

.page-blog-huong-dan-dang-ky-g88 ul {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
  color: var(--g88-text-secondary);
}

.page-blog-huong-dan-dang-ky-g88 li {
  margin-bottom: 8px;
  color: var(--g88-text-secondary);
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-g88__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--g88-primary) 0%, var(--g88-deep-navy) 100%);
  color: var(--g88-text-main);
}

.page-blog-huong-dan-dang-ky-g88__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 40px 16px;
  gap: 40px;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-g88__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-blog-huong-dan-dang-ky-g88__main-title {
  margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-g88__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--g88-text-secondary);
}

.page-blog-huong-dan-dang-ky-g88__hero-image {
  flex: 1 1 45%;
  text-align: center;
}

.page-blog-huong-dan-dang-ky-g88__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-g88__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-huong-dan-dang-ky-g88__btn-primary,
.page-blog-huong-dan-dang-ky-g88__btn-secondary {
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-g88__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-huong-dan-dang-ky-g88__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--g88-glow), 0.4);
}

.page-blog-huong-dan-dang-ky-g88__btn-secondary {
  background: var(--g88-card-bg);
  color: var(--g88-gold);
  border: 2px solid var(--g88-gold);
}

.page-blog-huong-dan-dang-ky-g88__btn-secondary:hover {
  background: var(--g88-gold);
  color: var(--g88-card-bg);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--g88-gold), 0.4);
}

/* Guide Section */
.page-blog-huong-dan-dang-ky-g88__guide-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background for content area */
  color: #333333; /* Dark text for light background */
}

.page-blog-huong-dan-dang-ky-g88__guide-section h2 {
  color: var(--g88-primary);
}

.page-blog-huong-dan-dang-ky-g88__guide-section p,
.page-blog-huong-dan-dang-ky-g88__guide-section ul,
.page-blog-huong-dan-dang-ky-g88__guide-section li {
  color: #555555;
}

.page-blog-huong-dan-dang-ky-g88__step-item {
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
}

.page-blog-huong-dan-dang-ky-g88__step-title {
  color: var(--g88-primary);
  margin-bottom: 15px;
  text-align: left;
}

.page-blog-huong-dan-dang-ky-g88__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-blog-huong-dan-dang-ky-g88__step-description {
  font-size: 1rem;
}

.page-blog-huong-dan-dang-ky-g88__step-list {
  list-style: decimal inside;
  margin-top: 10px;
  padding-left: 0;
}

.page-blog-huong-dan-dang-ky-g88__step-list li {
  margin-bottom: 5px;
}

/* Benefits Section */
.page-blog-huong-dan-dang-ky-g88__benefits-section {
  padding: 60px 0;
  background-color: var(--g88-primary);
  color: var(--g88-text-main);
}

.page-blog-huong-dan-dang-ky-g88__benefits-section h2 {
  color: var(--g88-gold);
}

.page-blog-huong-dan-dang-ky-g88__benefits-section p,
.page-blog-huong-dan-dang-ky-g88__benefits-section ul,
.page-blog-huong-dan-dang-ky-g88__benefits-section li {
  color: var(--g88-text-secondary);
}

.page-blog-huong-dan-dang-ky-g88__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-blog-huong-dan-dang-ky-g88__benefits-list li {
  background-color: var(--g88-card-bg);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--g88-border);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--g88-text-secondary);
}

.page-blog-huong-dan-dang-ky-g88__benefits-list li strong {
  color: var(--g88-text-main);
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-g88__faq-section {
  padding: 60px 0;
  background-color: #f0f2f5; /* Light background */
  color: #333333; /* Dark text */
}

.page-blog-huong-dan-dang-ky-g88__faq-section h2 {
  color: var(--g88-primary);
}

.page-blog-huong-dan-dang-ky-g88__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-blog-huong-dan-dang-ky-g88__faq-item {
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-blog-huong-dan-dang-ky-g88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  color: var(--g88-primary);
  list-style: none; /* For <summary> */
}

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

.page-blog-huong-dan-dang-ky-g88__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-g88__faq-item[open] .page-blog-huong-dan-dang-ky-g88__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-huong-dan-dang-ky-g88__faq-answer {
  padding: 0 20px 15px;
  font-size: 0.95rem;
  color: #555555;
}

/* CTA Bottom Section */
.page-blog-huong-dan-dang-ky-g88__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--g88-deep-navy) 0%, var(--g88-primary) 100%);
  color: var(--g88-text-main);
}

.page-blog-huong-dan-dang-ky-g88__cta-bottom-section h2 {
  color: var(--g88-gold);
}

.page-blog-huong-dan-dang-ky-g88__cta-bottom-section p {
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--g88-text-secondary);
}

.page-blog-huong-dan-dang-ky-g88__cta-bottom-section .page-blog-huong-dan-dang-ky-g88__cta-buttons {
  justify-content: center;
}

/* General Image styles */
.page-blog-huong-dan-dang-ky-g88 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* HERO Section */
  .page-blog-huong-dan-dang-ky-g88__hero-section {
    padding-top: 10px !important; /* Small top padding, overriding any shared padding */
    padding-bottom: 40px;
  }

  .page-blog-huong-dan-dang-ky-g88__hero-container {
    flex-direction: column;
    padding: 20px 15px;
    gap: 30px;
  }

  .page-blog-huong-dan-dang-ky-g88__hero-content {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-blog-huong-dan-dang-ky-g88__hero-image {
    flex: 1 1 100%;
  }

  .page-blog-huong-dan-dang-ky-g88__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-blog-huong-dan-dang-ky-g88__description {
    font-size: 1rem;
  }

  .page-blog-huong-dan-dang-ky-g88__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  /* Buttons - forced full width */
  .page-blog-huong-dan-dang-ky-g88__btn-primary,
  .page-blog-huong-dan-dang-ky-g88__btn-secondary,
  .page-blog-huong-dan-dang-ky-g88 a[class*="button"],
  .page-blog-huong-dan-dang-ky-g88 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;
  }

  /* Button containers */
  .page-blog-huong-dan-dang-ky-g88__cta-buttons,
  .page-blog-huong-dan-dang-ky-g88__button-group,
  .page-blog-huong-dan-dang-ky-g88__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Ensure buttons wrap if not stacked */
    gap: 10px;
  }

  /* Guide Section */
  .page-blog-huong-dan-dang-ky-g88__guide-section {
    padding: 30px 0;
  }

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

  .page-blog-huong-dan-dang-ky-g88__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 25px;
  }

  .page-blog-huong-dan-dang-ky-g88__step-item {
    padding: 15px;
    margin-bottom: 30px;
  }

  /* Benefits Section */
  .page-blog-huong-dan-dang-ky-g88__benefits-section {
    padding: 40px 0;
  }

  .page-blog-huong-dan-dang-ky-g88__benefits-list {
    grid-template-columns: 1fr; /* Single column for benefits */
  }

  /* FAQ Section */
  .page-blog-huong-dan-dang-ky-g88__faq-section {
    padding: 40px 0;
  }

  .page-blog-huong-dan-dang-ky-g88__faq-question {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .page-blog-huong-dan-dang-ky-g88__faq-answer {
    padding: 0 15px 12px;
  }

  /* CTA Bottom Section */
  .page-blog-huong-dan-dang-ky-g88__cta-bottom-section {
    padding: 40px 0;
  }

  /* Generic image responsive for content area */
  .page-blog-huong-dan-dang-ky-g88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog-huong-dan-dang-ky-g88__section,
  .page-blog-huong-dan-dang-ky-g88__card,
  .page-blog-huong-dan-dang-ky-g88__container,
  .page-blog-huong-dan-dang-ky-g88__content-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}