.page-partner-gioi-thieu {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: var(--background-color, #0D0E12); /* Default to #0D0E12 if var not set */
}

.page-partner-gioi-thieu__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

/* Hero Section */
.page-partner-gioi-thieu__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background-color: #0D0E12; /* Background */
}

.page-partner-gioi-thieu__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.page-partner-gioi-thieu__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-partner-gioi-thieu__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF3E6; /* Text Main */
}

.page-partner-gioi-thieu__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
}

.page-partner-gioi-thieu__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-partner-gioi-thieu__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-partner-gioi-thieu__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
  width: 100%; /* For responsive container */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-partner-gioi-thieu__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%; /* For responsive buttons */
}

.page-partner-gioi-thieu__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-partner-gioi-thieu__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-partner-gioi-thieu__btn-secondary {
  background: transparent;
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #FFA53A; /* Border color */
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.2);
}

.page-partner-gioi-thieu__btn-secondary:hover {
  background: rgba(255, 165, 58, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.3);
}

/* Section Titles */
.page-partner-gioi-thieu__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFF3E6; /* Text Main */
  line-height: 1.3;
}

.page-partner-gioi-thieu__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
}

/* Benefits Section */
.page-partner-gioi-thieu__benefits-section {
  background-color: #17191F; /* Card BG */
  padding: 80px 0;
}

.page-partner-gioi-thieu__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-partner-gioi-thieu__benefit-card {
  background-color: #0D0E12; /* Background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #A84F0C; /* Border */
}

.page-partner-gioi-thieu__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-partner-gioi-thieu__icon-box-media {
  width: 180px; /* Square dimensions */
  height: 180px; /* Must be equal to width */
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FFA53A; /* Auxiliary color border */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 165, 58, 0.1);
}

.page-partner-gioi-thieu__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Ensure image itself is circular */
  display: block;
}

.page-partner-gioi-thieu__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFF3E6; /* Text Main */
}

.page-partner-gioi-thieu__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
}

/* Partner Types Section */
.page-partner-gioi-thieu__partner-types-section {
  background-color: #0D0E12; /* Background */
  padding: 80px 0;
}

.page-partner-gioi-thieu__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-partner-gioi-thieu__type-card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #A84F0C; /* Border */
}

.page-partner-gioi-thieu__type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-partner-gioi-thieu__type-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-partner-gioi-thieu__type-card .page-partner-gioi-thieu__card-content {
  padding: 0 25px;
}

.page-partner-gioi-thieu__type-card .page-partner-gioi-thieu__card-title {
  margin-top: 25px;
  margin-bottom: 10px;
  text-align: left;
}

.page-partner-gioi-thieu__type-card .page-partner-gioi-thieu__card-text {
  margin-bottom: 25px;
  text-align: left;
}

/* How to Join Section */
.page-partner-gioi-thieu__how-to-join-section {
  background-color: #17191F; /* Card BG */
  padding: 80px 0;
}

.page-partner-gioi-thieu__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-partner-gioi-thieu__step-card {
  background-color: #0D0E12; /* Background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border */
  position: relative;
}

.page-partner-gioi-thieu__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-partner-gioi-thieu__cta-bottom {
  text-align: center;
}

/* FAQ Section */
.page-partner-gioi-thieu__faq-section {
  background-color: #0D0E12; /* Background */
  padding: 80px 0;
}

.page-partner-gioi-thieu__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-partner-gioi-thieu__faq-item {
  background-color: #17191F; /* Card BG */\  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-partner-gioi-thieu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFF3E6; /* Text Main */
  background-color: rgba(255, 165, 58, 0.05); /* Light highlight */
  list-style: none; /* Hide default details marker */
}

.page-partner-gioi-thieu__faq-question::-webkit-details-marker, 
.page-partner-gioi-thieu__faq-question::marker {
  display: none;
}

.page-partner-gioi-thieu__faq-question:hover {
  background-color: rgba(255, 165, 58, 0.1);
}

.page-partner-gioi-thieu__faq-item[open] .page-partner-gioi-thieu__faq-question {
  background-color: rgba(255, 165, 58, 0.1);
}

.page-partner-gioi-thieu__faq-qtext {
  flex-grow: 1;
}

.page-partner-gioi-thieu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-partner-gioi-thieu__faq-item[open] .page-partner-gioi-thieu__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-partner-gioi-thieu__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
}

.page-partner-gioi-thieu__faq-answer p {
  margin-bottom: 0;
}

/* General image responsive */
.page-partner-gioi-thieu img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-partner-gioi-thieu__hero-title {
    font-size: 2.8em;
  }
  .page-partner-gioi-thieu__section-title {
    font-size: 2em;
  }
  .page-partner-gioi-thieu__icon-box-media {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-partner-gioi-thieu__hero-section {
    padding-top: 10px !important; /* Small top padding, important for strict compliance */
    padding-bottom: 40px;
  }
  .page-partner-gioi-thieu__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }
  .page-partner-gioi-thieu__hero-content {
    order: 2; /* Content below image */
    text-align: center;
  }
  .page-partner-gioi-thieu__hero-image {
    order: 1; /* Image above content */
  }
  .page-partner-gioi-thieu__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-partner-gioi-thieu__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-partner-gioi-thieu__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-partner-gioi-thieu__btn {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General containers */
  .page-partner-gioi-thieu__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-partner-gioi-thieu__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-partner-gioi-thieu__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* Module 1: Benefits Section (three-column intro with circular images) */
  .page-partner-gioi-thieu__benefits-section {
    padding: 60px 0;
  }
  .page-partner-gioi-thieu__benefits-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-partner-gioi-thieu__benefit-card {
    padding: 25px;
  }
  .page-partner-gioi-thieu__icon-box-media {
    width: 150px; /* Still square */
    height: 150px; /* Still square */
    margin-bottom: 15px;
  }
  .page-partner-gioi-thieu__card-title {
    font-size: 1.4em;
  }
  .page-partner-gioi-thieu__card-text {
    font-size: 0.95em;
  }

  /* Partner Types Section (three-column) */
  .page-partner-gioi-thieu__partner-types-section {
    padding: 60px 0;
  }
  .page-partner-gioi-thieu__types-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .page-partner-gioi-thieu__type-card img {
    height: 200px; /* Adjust height for mobile */
  }
  .page-partner-gioi-thieu__type-card .page-partner-gioi-thieu__card-title,
  .page-partner-gioi-thieu__type-card .page-partner-gioi-thieu__card-text {
    padding: 0 20px;
  }
  .page-partner-gioi-thieu__type-card .page-partner-gioi-thieu__card-title {
    margin-top: 20px;
  }
  .page-partner-gioi-thieu__type-card .page-partner-gioi-thieu__card-text {
    margin-bottom: 20px;
  }

  /* How to Join Section (steps grid) */
  .page-partner-gioi-thieu__how-to-join-section {
    padding: 60px 0;
  }
  .page-partner-gioi-thieu__steps-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
    margin-bottom: 30px;
  }
  .page-partner-gioi-thieu__step-card {
    padding: 25px;
  }
  .page-partner-gioi-thieu__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  /* FAQ Section */
  .page-partner-gioi-thieu__faq-section {
    padding: 60px 0;
  }
  .page-partner-gioi-thieu__faq-list {
    padding: 0 15px;
  }
  .page-partner-gioi-thieu__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-partner-gioi-thieu__faq-toggle {
    font-size: 1.3em;
  }
  .page-partner-gioi-thieu__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  /* Universal image/container rules for mobile */
  .page-partner-gioi-thieu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  /* Exception for circular images, height:auto will break aspect ratio */
  .page-partner-gioi-thieu__icon-box-media img {
    height: 100% !important; /* Keep original height for object-fit */
    width: 100% !important;
    object-fit: cover !important; /* Ensure it covers the circular container */
  }

  /* Text size adjustment for mobile */
  .page-partner-gioi-thieu p,
  .page-partner-gioi-thieu li {
    font-size: 16px;
    line-height: 1.6;
  }
}