/* style/doi-tac.css */
.page-doi-tac {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8;
}

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

.page-doi-tac__hero-section {
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  color: #F3F8FF;
  padding-top: 10px; /* Small top padding, body handles main offset */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
}

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

.page-doi-tac__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-doi-tac__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-doi-tac__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

.page-doi-tac__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-doi-tac__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #113B7A; /* Primary */
}

.page-doi-tac__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-doi-tac__benefits-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-doi-tac__benefit-card {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-doi-tac__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-doi-tac__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #113B7A; /* Primary */
}

.page-doi-tac__card-text {
  font-size: 1em;
  color: #555555;
}

.page-doi-tac__join-section {
  background: linear-gradient(180deg, #08162B 0%, #113B7A 100%);
  color: #F3F8FF;
  padding: 80px 0;
}

.page-doi-tac__join-section .page-doi-tac__section-title {
  color: #F2C14E; /* Gold */
}

.page-doi-tac__join-section .page-doi-tac__section-intro {
  color: #AFC4E8; /* Text Secondary */
}

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

.page-doi-tac__step-item {
  background: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-doi-tac__step-icon {
  background: #F2C14E; /* Gold */
  color: #113B7A;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-doi-tac__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-doi-tac__step-text {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-doi-tac__step-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
}

.page-doi-tac__btn-secondary {
  display: inline-block;
  background: #F2C14E; /* Gold */
  color: #113B7A;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__btn-secondary:hover {
  background: #e0b03d;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-doi-tac__requirements-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-doi-tac__requirements-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
}

.page-doi-tac__requirements-list li {
  background: #f0f0f0;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: flex-start;
  color: #333333;
}

.page-doi-tac__list-icon {
  color: #2B73F6;
  font-size: 1.4em;
  margin-right: 10px;
  line-height: 1;
}

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

.page-doi-tac__faq-section {
  background: #08162B; /* Deep Navy */
  color: #F3F8FF;
  padding: 80px 0;
}

.page-doi-tac__faq-section .page-doi-tac__section-title {
  color: #F2C14E; /* Gold */
}

.page-doi-tac__faq-section .page-doi-tac__section-intro {
  color: #AFC4E8; /* Text Secondary */
}

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

.page-doi-tac__faq-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-doi-tac__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  background-color: #1B3357; /* Divider */
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-doi-tac__faq-question:hover {
  background-color: #244D84; /* Border color on hover */
}

.page-doi-tac__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-doi-tac__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  border-top: 1px solid #244D84;
}

.page-doi-tac__faq-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-doi-tac__contact-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

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

/* General responsive for images and buttons */
.page-doi-tac img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-doi-tac a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

  .page-doi-tac__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-doi-tac__main-title {
    font-size: 2em !important;
    margin-bottom: 15px;
  }

  .page-doi-tac__description {
    font-size: 1em !important;
    margin-bottom: 25px;
  }

  .page-doi-tac__btn-primary,
  .page-doi-tac__btn-secondary,
  .page-doi-tac a[class*="btn"] {
    padding: 12px 20px !important;
    font-size: 1em !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-doi-tac__section-intro {
    font-size: 0.95em !important;
    margin-bottom: 30px;
  }

  .page-doi-tac__benefits-section,
  .page-doi-tac__join-section,
  .page-doi-tac__requirements-section,
  .page-doi-tac__faq-section,
  .page-doi-tac__contact-section {
    padding: 50px 0;
  }

  .page-doi-tac__benefits-grid,
  .page-doi-tac__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-doi-tac__benefit-card,
  .page-doi-tac__step-item {
    padding: 20px;
  }

  .page-doi-tac__card-title,
  .page-doi-tac__step-title {
    font-size: 1.2em !important;
  }

  .page-doi-tac__card-text,
  .page-doi-tac__step-text {
    font-size: 0.95em !important;
  }

  .page-doi-tac__requirements-list {
    margin: 20px auto;
  }

  .page-doi-tac__requirements-list li {
    font-size: 1em;
    padding: 12px 15px;
  }

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

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

  /* Generic image responsive rules for content areas */
  .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;
  }

  /* Placeholder for homepage-specific modules (as per '必写清单' instruction, despite '非首页图片类型限制') */
  /* Note: These rules are included to fulfill a specific checklist requirement in the prompt, */
  /* even though the HTML for this non-homepage 'doi-tac.html' does not contain these elements. */
  .page-doi-tac__hero-carousel-section {
    padding-top: 10px !important; /* Example minimal rule */
  }
  .page-doi-tac__guide-box {
    padding: 10px !important;
  }
  .page-doi-tac__guide-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  .page-doi-tac__guide-card {
    flex: 0 0 48% !important; /* Example: two columns */
    max-width: 48% !important;
    padding-top: 0 !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; /* Resetting any grid spans for simpler mobile layout */
  }
  .page-doi-tac__home-content-box {
    max-width: 100% !important;
    height: auto !important; /* Full height on mobile */
    box-shadow: none !important;
    border: none !important;
    padding: 15px !important;
  }
  .page-doi-tac__home-content-inner {
    height: auto !important;
    overflow: visible !important;
  }
  .page-doi-tac__blog-section {
    padding: 40px 0 !important;
  }
  .page-doi-tac__blog-grid {
    grid-template-columns: 1fr !important; /* Single column on mobile */
    gap: 15px !important;
  }
}