.page-doi-tac {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  line-height: 1.6;
}

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

.page-doi-tac__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #140C0C; /* Background */
}

.page-doi-tac__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

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

.page-doi-tac__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
  background-color: rgba(20, 12, 12, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #6A1E1E; /* Border */
}

.page-doi-tac__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-doi-tac__hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  color: #FFF1E8; /* Text Main */
  margin-bottom: 30px;
}

.page-doi-tac__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-doi-tac__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  border-radius: 2px;
}

.page-doi-tac__text-block {
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #FFF1E8; /* Text Main */
}

.page-doi-tac__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  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%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-doi-tac__intro-section, .page-doi-tac__benefits-section, .page-doi-tac__how-to-join-section, .page-doi-tac__faq-section, .page-doi-tac__contact-cta-section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #140C0C; /* Background */
}

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

.page-doi-tac__image-text-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-doi-tac__image-text-item:hover {
  transform: translateY(-5px);
}

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

.page-doi-tac__image-text-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFB04A; /* From Button gradient */
  margin-bottom: 15px;
}

.page-doi-tac__image-text-description {
  font-size: 16px;
  color: #FFF1E8; /* Text Main */
  line-height: 1.7;
}

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

.page-doi-tac__benefits-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__benefits-heading {
  font-size: 22px;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

.page-doi-tac__benefits-description {
  font-size: 16px;
  color: #FFF1E8; /* Text Main */
  line-height: 1.7;
}

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

.page-doi-tac__step-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-doi-tac__step-icon {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-doi-tac__step-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFB04A; /* From Button gradient */
  margin-bottom: 15px;
}

.page-doi-tac__step-description {
  font-size: 16px;
  color: #FFF1E8; /* Text Main */
  line-height: 1.7;
}

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

.page-doi-tac__faq-list {
  margin-top: 40px;
}

details.page-doi-tac__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* 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(106, 30, 30, 0.5); /* Slightly lighter border color for hover */
}

.page-doi-tac__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF1E8; /* Text Main */
}

.page-doi-tac__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04A; /* From Button gradient */
  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: rgba(42, 18, 18, 0.8); /* Slightly transparent Card BG for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8; /* Text Main */
  font-size: 16px;
}

.page-doi-tac__contact-cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #2A1212; /* Card BG */
  border-top: 1px solid #6A1E1E;
}

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

.page-doi-tac__container {
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-doi-tac__hero-content {
    margin-top: -50px;
    padding: 30px 20px;
  }

  .page-doi-tac__hero-image {
    max-height: 500px;
  }

  .page-doi-tac__image-text-grid,
  .page-doi-tac__benefits-list,
  .page-doi-tac__steps-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-doi-tac__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }

  .page-doi-tac__hero-image-wrapper {
    max-height: none;
  }

  .page-doi-tac__hero-image {
    object-fit: contain !important; /* HERO image must contain, not cover */
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-doi-tac__hero-content {
    margin-top: -30px;
    padding: 20px 15px;
    border-radius: 8px;
  }

  .page-doi-tac__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-doi-tac__hero-description {
    font-size: 16px;
  }

  .page-doi-tac__section-title {
    font-size: clamp(22px, 6vw, 32px);
    margin-bottom: 30px;
    padding-bottom: 10px;
  }

  .page-doi-tac__text-block {
    font-size: 16px;
    padding: 0 15px;
    margin-bottom: 20px;
  }

  .page-doi-tac__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-doi-tac__cta-bottom {
    padding: 0 15px;
    margin-top: 40px;
  }

  .page-doi-tac__intro-section, .page-doi-tac__benefits-section, .page-doi-tac__how-to-join-section, .page-doi-tac__faq-section, .page-doi-tac__contact-cta-section {
    padding: 40px 0;
    margin-bottom: 20px;
  }

  .page-doi-tac__image-text-grid,
  .page-doi-tac__benefits-list,
  .page-doi-tac__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-doi-tac__image-text-item,
  .page-doi-tac__benefits-item,
  .page-doi-tac__step-card {
    padding: 25px;
  }

  .page-doi-tac__image-text-img {
    height: 200px;
  }

  .page-doi-tac__image-text-title,
  .page-doi-tac__benefits-heading,
  .page-doi-tac__step-title {
    font-size: 20px;
  }

  .page-doi-tac__image-text-description,
  .page-doi-tac__benefits-description,
  .page-doi-tac__step-description {
    font-size: 15px;
  }

  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: 20px;
    width: 24px;
  }

  details.page-doi-tac__faq-item .page-doi-tac__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* General image and container responsiveness */
  .page-doi-tac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-doi-tac__container,
  .page-doi-tac__hero-section,
  .page-doi-tac__intro-section,
  .page-doi-tac__benefits-section,
  .page-doi-tac__how-to-join-section,
  .page-doi-tac__faq-section,
  .page-doi-tac__contact-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}