.page-doi-tac {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-doi-tac__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
    background-color: #f0f8ff; /* Light background for hero */
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
}

.page-doi-tac__hero-image {
    width: 100%;
    max-height: 500px; /* Limit height to prevent excessive size */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-doi-tac__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
    min-width: 200px;
    min-height: 200px;
}

.page-doi-tac__hero-content {
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    z-index: 1;
}

.page-doi-tac__main-title {
    font-size: 42px;
    font-weight: 700;
    color: #26A9E0; /* Brand primary color */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-doi-tac__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555555;
}

/* CTA Buttons */
.page-doi-tac__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure button container takes full width */
    max-width: 100%; /* Ensure button container takes full width */
    box-sizing: border-box;
    padding: 0 15px; /* Add padding for mobile */
}

.page-doi-tac__cta-buttons--center {
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure button adapts to width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

.page-doi-tac__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #26A9E0;
    border-color: #1f8ec4;
}

/* General Section Styling */
.page-doi-tac__section {
    padding: 60px 0;
    margin-bottom: 30px;
    background-color: #FFFFFF; /* Default light background */
}

.page-doi-tac__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0; /* Brand primary color */
    text-align: center;
    margin-bottom: 40px;
}

.page-doi-tac__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-doi-tac__intro-section {
    background-color: #f9f9f9;
}

/* Partners Section */
.page-doi-tac__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-doi-tac__partner-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-doi-tac__partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.page-doi-tac__partner-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: cover;
}

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

.page-doi-tac__card-text {
    font-size: 15px;
    color: #555555;
    flex-grow: 1; /* Allow text to take available space */
}

/* Benefits Section */
.page-doi-tac__feature-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 0 auto 40px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

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

.page-doi-tac__benefit-item {
    background: #f0f8ff; /* Light blue background for benefits */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
}

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

.page-doi-tac__benefit-text {
    font-size: 15px;
    color: #555555;
}

/* Process Section */
.page-doi-tac__process-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-doi-tac__process-list li {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.page-doi-tac__process-step-title {
    font-size: 20px;
    font-weight: 600;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-doi-tac__process-step-text {
    font-size: 16px;
    color: #555555;
}

/* Community Section */
.page-doi-tac__community-section {
    background-color: #f9f9f9;
}

/* FAQ Section */
.page-doi-tac__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

details.page-doi-tac__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Subtle shadow */
}
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: #f5f5f5;
}
.page-doi-tac__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger text */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Dark text for question */
}
.page-doi-tac__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #26A9E0; /* Brand color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px; /* Larger toggle area */
  text-align: center;
}
details.page-doi-tac__faq-item .page-doi-tac__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px; /* Match item radius */
  font-size: 16px;
  color: #555555;
}
details.page-doi-tac__faq-item .page-doi-tac__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
}


/* CTA Bottom Section */
.page-doi-tac__cta-bottom-section {
    background-color: #f0f8ff; /* Light blue background */
    text-align: center;
    padding-bottom: 80px;
}
.page-doi-tac__cta-bottom-section .page-doi-tac__section-title {
    color: #26A9E0;
}
.page-doi-tac__cta-bottom-section .page-doi-tac__text-block {
    color: #555555;
}


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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-doi-tac__main-title {
        font-size: 38px;
    }
    .page-doi-tac__section-title {
        font-size: 32px;
    }
    .page-doi-tac__hero-image {
        max-height: 450px;
    }
}

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

    /* HERO 主图区域 */
    .page-doi-tac__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        margin-bottom: 20px;
    }
    .page-doi-tac__hero-image img {
        object-fit: contain !important; /* Ensure image is fully visible */
        aspect-ratio: unset !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Enforce min size */
        min-height: 200px !important; /* Enforce min size */
    }
    .page-doi-tac__hero-content {
        padding: 20px 15px;
    }
    .page-doi-tac__main-title {
        font-size: clamp(28px, 8vw, 36px); /* Use clamp for H1 on mobile */
        margin-bottom: 15px;
    }
    .page-doi-tac__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* 通用图片与容器 */
    .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,
    .page-doi-tac__grid-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-doi-tac__feature-image {
        margin-left: auto;
        margin-right: auto;
    }

    /* 按钮与按钮容器 */
    .page-doi-tac__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        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;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-doi-tac__section-title {
        font-size: clamp(24px, 7vw, 30px);
        margin-bottom: 25px;
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .page-doi-tac__text-block {
        font-size: 15px;
        text-align: left;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* 产品展示图区域 (Partners grid) */
    .page-doi-tac__grid-container {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-doi-tac__partner-card img {
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-doi-tac__benefits-list {
        grid-template-columns: 1fr; /* Single column for benefits */
        gap: 20px;
    }
    .page-doi-tac__process-list {
        margin-top: 20px;
    }
    .page-doi-tac__process-list li {
        padding: 20px;
    }
    .page-doi-tac__faq-list {
        margin-top: 20px;
    }
    details.page-doi-tac__faq-item summary.page-doi-tac__faq-question { padding: 15px; }
    .page-doi-tac__faq-qtext { font-size: 16px; }
    .page-doi-tac__faq-toggle { font-size: 24px; width: 28px; }
    details.page-doi-tac__faq-item .page-doi-tac__faq-answer { padding: 0 15px 15px; }
}