/* General styles for the page-da-ga scope */
.page-da-ga {
  font-family: Arial, sans-serif;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  line-height: 1.6;
}

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

.page-da-ga__container--centered {
  text-align: center;
}

.page-da-ga__section {
  padding: 60px 0;
  border-bottom: 1px solid #6A1E1E; /* Border */
}

.page-da-ga__section:last-of-type {
  border-bottom: none;
}

.page-da-ga__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-da-ga__section-title--gold {
  color: #F3C54D; /* Gold */
}

.page-da-ga__main-title {
  font-size: clamp(36px, 5vw, 56px); /* Use clamp for H1 */
  font-weight: 800;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-da-ga__subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #FFF1E8; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-da-ga__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-da-ga__content-grid--reverse {
  grid-template-areas: "image text"; /* Default for desktop */
}

.page-da-ga__content-grid--reverse .page-da-ga__text-block {
  grid-area: text;
}

.page-da-ga__content-grid--reverse .page-da-ga__image-block {
  grid-area: image;
}

.page-da-ga__text-block p {
  margin-bottom: 15px;
}

.page-da-ga__image-block {
  text-align: center;
}

.page-da-ga__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-da-ga__image-block--full-width {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-da-ga__image-block--promotion {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Hero Section */
.page-da-ga__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero has a minimum height */
}

.page-da-ga__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit image height */
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}

.page-da-ga__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.page-da-ga__hero-content-wrapper {
  position: relative;
  z-index: 10;
  text-align: center;
}

/* Call to Action Buttons */
.page-da-ga__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-da-ga__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #FFF1E8; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-da-ga__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-da-ga__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold border */
  box-shadow: 0 4px 15px rgba(243, 197, 77, 0.2);
}

.page-da-ga__btn-secondary:hover {
  background: #140C0C; /* Background */
  color: #FFB04A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 197, 77, 0.4);
}

.page-da-ga__btn-primary--center,
.page-da-ga__btn-secondary--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 300px;
}

/* Lists */
.page-da-ga__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-da-ga__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #FFF1E8;
}

.page-da-ga__list-item::before {
  content: '★'; /* Star icon */
  position: absolute;
  left: 0;
  color: #F3C54D; /* Gold */
  font-size: 1.2em;
  line-height: 1;
  top: 0;
}

.page-da-ga__sub-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 20px;
}

.page-da-ga__sub-list-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #FFF1E8;
  font-size: 0.95em;
}

.page-da-ga__sub-list-item::before {
  content: '•'; /* Bullet point */
  position: absolute;
  left: 0;
  color: #E53030; /* Auxiliary Red */
  font-size: 1.2em;
  line-height: 1;
  top: 0;
}

.page-da-ga__numbered-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-da-ga__numbered-list .page-da-ga__list-item {
  counter-increment: step-counter;
  padding-left: 40px;
}

.page-da-ga__numbered-list .page-da-ga__list-item::before {
  content: counter(step-counter) ".";
  color: #F3C54D; /* Gold */
  font-weight: bold;
  font-size: 1.2em;
  left: 0;
  top: 0;
}

/* Cards Grid */
.page-da-ga__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-da-ga__card {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF1E8; /* Text Main */
}

.page-da-ga__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-da-ga__card-title {
  font-size: 24px;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-da-ga__card-text {
  font-size: 16px;
  color: #FFF1E8; /* Text Main */
}

/* FAQ Section */
details.page-da-ga__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}
details.page-da-ga__faq-item summary.page-da-ga__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;
  color: #F3C54D; /* Gold */
}
details.page-da-ga__faq-item summary.page-da-ga__faq-question::-webkit-details-marker {
  display: none;
}
details.page-da-ga__faq-item summary.page-da-ga__faq-question:hover {
  background: #7E0D0D; /* Deep Red */
}
.page-da-ga__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-da-ga__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
}
details.page-da-ga__faq-item .page-da-ga__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-da-ga__hero-image-wrapper {
    max-height: 600px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-da-ga__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 40px;
    min-height: auto;
  }
  .page-da-ga__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 20px;
  }
  .page-da-ga__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
  }
  .page-da-ga__main-title {
    font-size: clamp(28px, 8vw, 48px);
    margin-bottom: 15px;
  }
  .page-da-ga__subtitle {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 30px;
  }

  /* 通用图片与容器 */
  .page-da-ga__section,
  .page-da-ga__card,
  .page-da-ga__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-da-ga img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* 按钮与按钮容器 */
  .page-da-ga__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
  .page-da-ga__btn-primary,
  .page-da-ga__btn-secondary,
  .page-da-ga a[class*="button"],
  .page-da-ga 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: 12px 20px !important;
    font-size: 16px !important;
  }
  .page-da-ga__btn-primary--center,
  .page-da-ga__btn-secondary--center {
    max-width: 100%; /* Ensure centered buttons also take full width */
  }

  /* Content Grid */
  .page-da-ga__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    grid-template-areas: unset; /* Reset grid area for mobile */
  }
  .page-da-ga__content-grid--reverse .page-da-ga__text-block,
  .page-da-ga__content-grid--reverse .page-da-ga__image-block {
    grid-area: unset;
  }

  /* Section Titles */
  .page-da-ga__section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 30px;
  }

  /* Cards Grid */
  .page-da-ga__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-da-ga__card {
    padding: 25px;
  }
  .page-da-ga__card-title {
    font-size: 20px;
  }

  /* FAQ */
  details.page-da-ga__faq-item summary.page-da-ga__faq-question { padding: 15px; }
  .page-da-ga__faq-qtext { font-size: 16px; }
  .page-da-ga__faq-toggle { font-size: 24px; width: 28px; }
  details.page-da-ga__faq-item .page-da-ga__faq-answer { padding: 0 15px 15px; }

  /* Text blocks for SEO content */
  .page-da-ga__text-block {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    text-align: left;
  }
}