:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy: #08162B; /* Assuming this is the body background from shared.css */
}

/* Base styles for the page content */
.page-doi-tac {
  background-color: var(--deep-navy); /* Match body background from shared.css */
  color: var(--text-main); /* Light text on dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-doi-tac__section {
  padding: 60px 0;
  text-align: center;
}

.page-doi-tac__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--gold-color); /* Gold color for main titles */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-doi-tac__section-description {
  font-size: 18px;
  color: var(--text-secondary); /* Secondary text color */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-doi-tac__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  color: var(--text-main);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-doi-tac__hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-doi-tac__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px 40px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.page-doi-tac__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-doi-tac__hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-doi-tac__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-doi-tac__btn-primary,
.page-doi-tac__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-doi-tac__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-doi-tac__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-doi-tac__btn-secondary:hover {
  background: rgba(var(--gold-color), 0.1);
  transform: translateY(-2px);
}

/* Why Partner Section */
.page-doi-tac__why-partner-section {
  background-color: var(--deep-navy);
}

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

.page-doi-tac__feature-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-doi-tac__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-doi-tac__feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-doi-tac__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-doi-tac__feature-text {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Partner Programs Section */
.page-doi-tac__programs-section {
  background-color: var(--primary-color); /* A slightly lighter dark background */
  padding: 80px 0;
}

.page-doi-tac__programs-section .page-doi-tac__section-title {
  color: var(--gold-color);
}

.page-doi-tac__programs-section .page-doi-tac__section-description {
  color: var(--text-secondary);
}

.page-doi-tac__program-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-doi-tac__program-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  max-width: 500px;
  flex: 1;
  min-width: 300px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-doi-tac__program-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-doi-tac__program-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-doi-tac__program-text {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  flex-grow: 1;
}

.page-doi-tac__program-card .page-doi-tac__btn-primary,
.page-doi-tac__program-card .page-doi-tac__btn-secondary {
  width: auto;
  align-self: flex-start;
}

/* Benefits Section */
.page-doi-tac__benefits-section {
  background-color: var(--deep-navy);
}

.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-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid var(--border-color);
}

.page-doi-tac__benefit-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-doi-tac__benefit-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-doi-tac__benefit-text {
  font-size: 16px;
  color: var(--text-secondary);
}

/* Process Section */
.page-doi-tac__process-section {
  background-color: var(--primary-color);
  padding: 80px 0;
}

.page-doi-tac__process-section .page-doi-tac__section-title {
  color: var(--gold-color);
}

.page-doi-tac__process-section .page-doi-tac__section-description {
  color: var(--text-secondary);
}

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

.page-doi-tac__step-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-doi-tac__step-icon {
  width: 60px;
  height: 60px;
  background: var(--button-gradient);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-doi-tac__step-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-doi-tac__step-text {
  font-size: 16px;
  color: var(--text-secondary);
}

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

/* FAQ Section */
.page-doi-tac__faq-section {
  background-color: var(--deep-navy);
}

.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: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
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: rgba(var(--primary-color), 0.5); /* Lighter hover for dark background */
}
.page-doi-tac__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-doi-tac__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}
details.page-doi-tac__faq-item .page-doi-tac__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--primary-color), 0.3); /* Slightly different background for answer */
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary);
  text-align: left;
  font-size: 16px;
}
details.page-doi-tac__faq-item .page-doi-tac__faq-answer p {
  margin: 0;
}

/* Contact Section */
.page-doi-tac__contact-section {
  padding-bottom: 80px;
}

.page-doi-tac__contact-section .page-doi-tac__btn-primary {
  margin-top: 30px;
}


/* --- Responsive Styles --- */

/* Tablet: @media (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-doi-tac__container {
    padding: 0 30px;
  }
  .page-doi-tac__section-title {
    font-size: 32px;
  }
  .page-doi-tac__hero-image {
    max-height: 450px;
  }
  .page-doi-tac__main-title {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
  }
  .page-doi-tac__hero-description {
    font-size: 18px;
  }
  .page-doi-tac__features-grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns for tablet */
    gap: 20px;
  }
  .page-doi-tac__feature-card {
    padding: 25px;
  }
  .page-doi-tac__feature-title {
    font-size: 22px;
  }
  .page-doi-tac__feature-text {
    font-size: 15px;
  }
  .page-doi-tac__program-cards {
    gap: 30px;
  }
  .page-doi-tac__program-card {
    max-width: 45%;
    padding: 25px;
  }
  .page-doi-tac__program-title {
    font-size: 26px;
  }
  .page-doi-tac__program-text {
    font-size: 16px;
  }
  .page-doi-tac__benefits-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .page-doi-tac__benefit-item {
    padding: 25px;
  }
  .page-doi-tac__benefit-title {
    font-size: 20px;
  }
  .page-doi-tac__benefit-text {
    font-size: 15px;
  }
  .page-doi-tac__process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .page-doi-tac__step-item {
    padding: 25px;
  }
  .page-doi-tac__step-title {
    font-size: 22px;
  }
  .page-doi-tac__step-text {
    font-size: 15px;
  }
  details.page-doi-tac__faq-item summary.page-doi-tac__faq-question { padding: 16px 18px; }
  .page-doi-tac__faq-qtext { font-size: 17px; }
  .page-doi-tac__faq-toggle { font-size: 26px; width: 30px; }
  details.page-doi-tac__faq-item .page-doi-tac__faq-answer { padding: 0 18px 18px; font-size: 15px; }
}

/* Mobile: @media (max-width: 768px) */
@media (max-width: 768px) {
  .page-doi-tac__container {
    padding: 0 15px;
  }

  .page-doi-tac__section {
    padding: 40px 0;
  }

  .page-doi-tac__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-doi-tac__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* HERO 主图区域 */
  .page-doi-tac__hero-section {
    min-height: unset;
    padding-top: 10px;
  }
  .page-doi-tac__hero-image {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-doi-tac__hero-image img {
    object-fit: contain !important; /* Must be contain for mobile */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-doi-tac__hero-content {
    padding: 0 15px 30px;
  }
  .page-doi-tac__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust clamp for mobile */
    margin-bottom: 10px;
  }
  .page-doi-tac__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* 按钮与按钮容器 */
  .page-doi-tac__cta-buttons,
  .page-doi-tac__button-group,
  .page-doi-tac__btn-container {
    flex-direction: column !important;
    gap: 15px !important;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-doi-tac__btn-primary,
  .page-doi-tac__btn-secondary,
  .page-doi-tac a[class*="button"],
  .page-doi-tac a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* 通用图片与容器 */
  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-doi-tac__section,
  .page-doi-tac__card,
  .page-doi-tac__container,
  .page-doi-tac__feature-card,
  .page-doi-tac__program-card,
  .page-doi-tac__benefit-item,
  .page-doi-tac__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Why Partner Section */
  .page-doi-tac__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-doi-tac__feature-card {
    padding: 20px;
  }
  .page-doi-tac__feature-title {
    font-size: 20px;
  }
  .page-doi-tac__feature-text {
    font-size: 15px;
  }

  /* Product display area (using feature/service as gameshow is forbidden) */
  .page-doi-tac__program-cards {
    flex-direction: column;
    gap: 20px;
  }
  .page-doi-tac__program-card {
    max-width: 100%;
    padding: 20px;
  }
  .page-doi-tac__program-title {
    font-size: 22px;
  }
  .page-doi-tac__program-text {
    font-size: 15px;
  }
  .page-doi-tac__program-card .page-doi-tac__btn-primary,
  .page-doi-tac__program-card .page-doi-tac__btn-secondary {
    width: 100%;
  }

  /* Benefits Section */
  .page-doi-tac__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-doi-tac__benefit-item {
    padding: 20px;
  }
  .page-doi-tac__benefit-title {
    font-size: 20px;
  }
  .page-doi-tac__benefit-text {
    font-size: 15px;
  }

  /* Process Section */
  .page-doi-tac__process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-doi-tac__step-item {
    padding: 20px;
  }
  .page-doi-tac__step-title {
    font-size: 20px;
  }
  .page-doi-tac__step-text {
    font-size: 15px;
  }

  /* FAQ Section */
  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; font-size: 15px; }

  /* Decorative title for long SEO text - not explicitly in current HTML, but for the list */
  /* Assuming a generic article body / content area for SEO text */
  .page-doi-tac__article-body,
  .page-doi-tac__content-area {
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }
  .page-doi-tac__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }
}