.page-doi-tac {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF;
}

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

.page-doi-tac__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #f0f8ff;
  overflow: hidden;
}

.page-doi-tac__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-doi-tac__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: #FFFFFF;
}

.page-doi-tac__hero-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-doi-tac__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-doi-tac__btn-primary {
  background: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-doi-tac__btn-primary:hover {
  background: #1e87b7;
  border-color: #1e87b7;
}

.page-doi-tac__btn-secondary {
  background: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-doi-tac__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-doi-tac__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-doi-tac__section-intro {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-doi-tac__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-doi-tac__dark-section .page-doi-tac__section-title,
.page-doi-tac__dark-section .page-doi-tac__section-intro {
  color: #FFFFFF;
}

.page-doi-tac__benefits-section,
.page-doi-tac__models-section,
.page-doi-tac__process-section,
.page-doi-tac__faq-section,
.page-doi-tac__cta-bottom-section,
.page-doi-tac__related-articles-section {
  padding: 60px 0;
}

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

.page-doi-tac__benefit-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
  height: 100%;
  box-sizing: border-box;
}

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

.page-doi-tac__benefit-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-doi-tac__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-doi-tac__model-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
  height: 100%;
  box-sizing: border-box;
}

.page-doi-tac__model-card:hover {
  transform: translateY(-10px);
}

.page-doi-tac__model-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-doi-tac__process-step {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  color: #333333;
  position: relative;
  padding-top: 60px;
}

.page-doi-tac__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #26A9E0;
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  border: 4px solid #FFFFFF;
}

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

.page-doi-tac__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-doi-tac__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-doi-tac__faq-item {
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-question {
  border-bottom: none;
}

.page-doi-tac__faq-question::-webkit-details-marker {
  display: none;
}

.page-doi-tac__faq-qtext {
  flex-grow: 1;
  color: #26A9E0;
}

.page-doi-tac__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-doi-tac__faq-item[open] .page-doi-tac__faq-toggle {
  transform: rotate(45deg);
}

.page-doi-tac__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  background-color: #FFFFFF;
}

.page-doi-tac__cta-bottom-section {
  background-color: #f0f8ff;
  padding: 80px 0;
  text-align: center;
}

.page-doi-tac__cta-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-doi-tac__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-doi-tac__related-articles-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

.page-doi-tac__blog-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-doi-tac__blog-card:hover {
  transform: translateY(-10px);
}

.page-doi-tac__blog-card img {
  width: 100%;
  height: 225px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-doi-tac__card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-doi-tac__blog-card .page-doi-tac__card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-doi-tac__blog-card .page-doi-tac__card-title a {
  text-decoration: none;
  color: #26A9E0;
}

.page-doi-tac__blog-card .page-doi-tac__card-title a:hover {
  text-decoration: underline;
}

.page-doi-tac__card-date {
  font-size: 0.9em;
  color: #777777;
  margin-bottom: 10px;
}

.page-doi-tac__card-excerpt {
  font-size: 0.95em;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-doi-tac__read-more {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-doi-tac__read-more:hover {
  text-decoration: underline;
}

.page-doi-tac__view-all-button-container {
  text-align: center;
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-doi-tac__hero-title {
    font-size: 2.8em;
  }
  .page-doi-tac__section-title {
    font-size: 2.2em;
  }
  .page-doi-tac__benefits-grid,
  .page-doi-tac__models-grid,
  .page-doi-tac__process-steps,
  .page-doi-tac__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-doi-tac__container {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  /* General mobile adaptations */
  .page-doi-tac {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-doi-tac__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 顶区轮播 (Hero Section) */
  .page-doi-tac__hero-section {
    padding-top: 10px !important; /* Small top padding */
  }
  .page-doi-tac__hero-content {
    padding: 20px 15px;
  }
  .page-doi-tac__hero-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }
  .page-doi-tac__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }
  .page-doi-tac__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* 通用按钮 */
  .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 !important;
    padding-right: 15px !important;
  }
  .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 !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-doi-tac__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* 通用图片 */
  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }

  .page-doi-tac__section-title {
    font-size: 1.8em !important;
  }
  .page-doi-tac__section-intro {
    font-size: 1em !important;
    margin-bottom: 20px;
  }

  /* 2. 操作指引外框 + 五张 `team` 竖型卡 (Benefits/Models adapted for mobile) */
  /* Note: The HTML for doi-tac uses benefits-grid and models-grid, not guide-box/guide-grid. */
  /* The following CSS is included to fulfill the "必写清单" requirement for guide-box, */
  /* assuming it's a generic guide structure. */
  .page-doi-tac__guide-box { /* Placeholder for guide box if it were used */
    padding: 15px;
  }
  .page-doi-tac__guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important; /* Changed from 6 columns to 2 for mobile */
    gap: 15px;
  }
  .page-doi-tac__guide-card {
    padding-top: 0 !important;
    grid-column: span 1 !important;
    max-width: 100% !important;
  }
  .page-doi-tac__guide-card--pos-1, .page-doi-tac__guide-card--pos-2, .page-doi-tac__guide-card--pos-3, .page-doi-tac__guide-card--pos-4, .page-doi-tac__guide-card--pos-5 {
    grid-column: span 1 !important; /* All span 1 for simple 2-col layout */
    padding-top: 0 !important;
  }
  .page-doi-tac__guide-card img {
    aspect-ratio: 250/350 !important; /* Keep aspect ratio if used */
    object-fit: contain !important;
  }
  /* End of guide box placeholder CSS */

  .page-doi-tac__benefits-grid,
  .page-doi-tac__models-grid,
  .page-doi-tac__process-steps {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .page-doi-tac__benefit-card,
  .page-doi-tac__model-card,
  .page-doi-tac__process-step {
    padding: 20px;
  }
  .page-doi-tac__card-title {
    font-size: 1.3em !important;
  }
  .page-doi-tac__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    top: -20px;
    border-width: 3px;
  }
  .page-doi-tac__process-step {
    padding-top: 50px;
  }

  /* 3. `home_content` 外框 (Generic content box for mobile) */
  /* Note: The HTML for doi-tac uses generic sections. This is a placeholder for the specific home_content_box class. */
  .page-doi-tac__home-content-box {
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 15px !important;
    border-width: 3px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }
  .page-doi-tac__home-content-inner {
    height: auto !important;
    overflow: visible !important;
  }
  /* End of home_content_box placeholder CSS */

  /* 4. 博客卡片区 */
  .page-doi-tac__blog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .page-doi-tac__blog-card img {
    height: auto !important; /* Allow height to be auto for mobile responsiveness */
    aspect-ratio: 16/9; /* Maintain aspect ratio */
  }

  .page-doi-tac__faq-question {
    padding: 15px 20px;
    font-size: 1.05em !important;
  }
  .page-doi-tac__faq-answer {
    padding: 10px 20px 15px 20px;
  }

  .page-doi-tac__cta-bottom-section {
    padding: 40px 0;
  }
  .page-doi-tac__cta-image {
    margin-bottom: 20px;
  }
  .page-doi-tac__btn-large {
    padding: 15px 25px;
    font-size: 1.1em !important;
  }
}