.page-doi-tac {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Main text color for dark body background */
  background-color: #140C0C; /* Overall dark background */
}

.page-doi-tac__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-doi-tac__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F3C54D; /* Gold color for titles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-doi-tac__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-doi-tac__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 50px;
  overflow: hidden;
  background-color: #140C0C;
}

.page-doi-tac__hero-image {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-doi-tac__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-doi-tac__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-doi-tac__main-title {
  font-weight: 800;
  color: #F3C54D; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
}

.page-doi-tac__intro-text {
  font-size: 1.3em;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-doi-tac__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-doi-tac__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff; /* White text for primary button */
  border: none;
}

.page-doi-tac__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-doi-tac__btn-secondary {
  background: #2A1212;
  color: #F3C54D; /* Gold text for secondary button */
  border: 2px solid #F3C54D;
}

.page-doi-tac__btn-secondary:hover {
  background: #3A1A1A;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Introduction Section */
.page-doi-tac__introduction-section {
  padding: 60px 0;
  background-color: #140C0C;
}

.page-doi-tac__dark-section {
  background-color: #140C0C;
  color: #FFF1E8;
}

/* Benefits Section */
.page-doi-tac__benefits-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card background for this section */
}

.page-doi-tac__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-doi-tac__benefit-card {
  background: #2A1212; /* Card background */
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #FFF1E8;
}

.page-doi-tac__benefit-card:hover {
  transform: translateY(-5px);
}

.page-doi-tac__benefit-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-doi-tac__card-title {
  font-size: 1.5em;
  color: #F3C54D;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Process Section */
.page-doi-tac__process-section {
  padding: 60px 0;
  background-color: #140C0C;
}

.page-doi-tac__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-doi-tac__step-card {
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF1E8;
}

.page-doi-tac__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #ffffff;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-doi-tac__step-title {
  font-size: 1.3em;
  color: #F3C54D;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-doi-tac__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-doi-tac__faq-section {
  padding: 60px 0;
  background-color: #2A1212;
}

.page-doi-tac__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-doi-tac__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #140C0C;
  color: #FFF1E8;
}

details.page-doi-tac__faq-item summary.page-doi-tac__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-doi-tac__faq-item summary.page-doi-tac__faq-question::-webkit-details-marker {
  display: none;
}

details.page-doi-tac__faq-item summary.page-doi-tac__faq-question:hover {
  background: #2A1212;
}

.page-doi-tac__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D;
}

.page-doi-tac__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-doi-tac__faq-item .page-doi-tac__faq-answer {
  padding: 0 20px 20px;
  background: #2A1212;
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

.page-doi-tac__faq-answer p {
    margin: 0;
}

/* Contact CTA Section */
.page-doi-tac__contact-cta-section {
  padding: 60px 0;
  background-color: #140C0C;
  text-align: center;
}

/* Global image responsiveness */
.page-doi-tac img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-doi-tac__container {
    padding: 20px 30px;
  }
  .page-doi-tac__hero-image img {
    object-fit: contain !important; /* Ensure image is not cropped on smaller screens */
    aspect-ratio: unset !important;
  }
  .page-doi-tac__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-doi-tac__section-title {
    font-size: 2em;
  }
  .page-doi-tac__intro-text {
    font-size: 1.1em;
  }
  .page-doi-tac__benefits-grid, .page-doi-tac__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-doi-tac__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* HERO 主图区域 */
  .page-doi-tac__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 30px;
  }
  .page-doi-tac__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-doi-tac__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-doi-tac__intro-text {
    font-size: 1em;
  }
  .page-doi-tac__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  
  /* 按钮与按钮容器 */
  .page-doi-tac__btn-primary,
  .page-doi-tac__btn-secondary,
  .page-doi-tac a[class*="button"],
  .page-doi-tac 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;
  }
  .page-doi-tac__cta-buttons,
  .page-doi-tac__button-group,
  .page-doi-tac__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-doi-tac__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-doi-tac__text-block {
    font-size: 1em;
  }

  /* 通用图片与容器 */
  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-doi-tac__section,
  .page-doi-tac__card,
  .page-doi-tac__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Ensure no horizontal scroll */
  }

  /* 产品展示图区域 (Benefits Grid) */
  .page-doi-tac__benefits-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
    overflow-x: hidden;
  }
  .page-doi-tac__benefit-card {
    padding: 20px;
  }
  .page-doi-tac__card-title {
    font-size: 1.3em;
  }

  /* Steps Grid */
  .page-doi-tac__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden;
  }
  .page-doi-tac__step-card {
    padding: 20px;
  }
  .page-doi-tac__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-doi-tac__step-title {
    font-size: 1.2em;
  }

  /* FAQ Section */
  details.page-doi-tac__faq-item summary.page-doi-tac__faq-question { padding: 15px; }
  .page-doi-tac__faq-qtext { font-size: 1em; }
  .page-doi-tac__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px; }
  details.page-doi-tac__faq-item .page-doi-tac__faq-answer {
    padding: 0 15px 15px;
  }

  /* 长文 SEO 区 - N/A for this page, but generally for .page-doi-tac__article-body */
  /* If .page-doi-tac__article-body were present, it would need:
  .page-doi-tac__article-body {
      max-width: 100% !important;
      padding: 0 15px;
      box-sizing: border-box;
      overflow-x: hidden;
  }
  .page-doi-tac__article-body img, .page-doi-tac__article-figure {
      max-width: 100% !important;
      height: auto !important;
      margin-left: auto !important;
      margin-right: auto !important;
  }
  */
}