/* Base Styles */
.page-phan-tich-da-ga-c2 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background: var(--bg-primary, #f8f9fa);
}

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

.page-phan-tich-da-ga-c2__section {
  padding: 40px 0;
}

.page-phan-tich-da-ga-c2__section-title {
  font-size: clamp(24px, 4vw, 36px);
  color: #C91F17;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-phan-tich-da-ga-c2__sub-title {
  font-size: clamp(20px, 3vw, 28px);
  color: #E53935;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.page-phan-tich-da-ga-c2__content-area p,
.page-phan-tich-da-ga-c2__list li {
  font-size: 17px;
  margin-bottom: 15px;
  color: #333333;
}

.page-phan-tich-da-ga-c2__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding: 0;
}

.page-phan-tich-da-ga-c2__list li {
  margin-bottom: 8px;
}

.page-phan-tich-da-ga-c2__cta-button,
.page-phan-tich-da-ga-c2__btn-primary,
.page-phan-tich-da-ga-c2__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-phan-tich-da-ga-c2__cta-button {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-phan-tich-da-ga-c2__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-phan-tich-da-ga-c2__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-phan-tich-da-ga-c2__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-phan-tich-da-ga-c2__btn-secondary {
  background: #ffffff;
  color: #C91F17;
  border: 2px solid #C91F17;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-phan-tich-da-ga-c2__btn-secondary:hover {
  background: #f0f0f0;
  color: #7A0E0E;
  border-color: #E53935;
}

.page-phan-tich-da-ga-c2__button-group {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-phan-tich-da-ga-c2__hero-section {
  padding-top: 10px; /* Small top padding, assuming body padding-top is handled by shared.css */
  position: relative;
  text-align: center;
  background: #B71C1C;
  overflow: hidden;
}

.page-phan-tich-da-ga-c2__hero-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
}

.page-phan-tich-da-ga-c2__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-phan-tich-da-ga-c2__hero-content {
  padding: 40px 20px;
  color: #FFF5E1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-phan-tich-da-ga-c2__main-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #FFD86A;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-phan-tich-da-ga-c2__description {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 30px;
  color: #FFF5E1;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Article Figure */
.page-phan-tich-da-ga-c2__article-figure {
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
}

.page-phan-tich-da-ga-c2__article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-phan-tich-da-ga-c2__article-figure figcaption {
  font-size: 15px;
  color: #666;
  margin-top: 10px;
}

/* Dark Section */
.page-phan-tich-da-ga-c2__dark-section {
  background: #C91F17;
  color: #ffffff;
}

.page-phan-tich-da-ga-c2__dark-section .page-phan-tich-da-ga-c2__section-title,
.page-phan-tich-da-ga-c2__dark-section .page-phan-tich-da-ga-c2__sub-title {
  color: #FFD86A;
}

.page-phan-tich-da-ga-c2__dark-section .page-phan-tich-da-ga-c2__content-area p,
.page-phan-tich-da-ga-c2__dark-section .page-phan-tich-da-ga-c2__list li {
  color: #FFF5E1;
}

/* Medium Background Section */
.page-phan-tich-da-ga-c2__medium-bg {
  background: #E53935;
  color: #FFF5E1;
}

.page-phan-tich-da-ga-c2__medium-bg .page-phan-tich-da-ga-c2__section-title,
.page-phan-tich-da-ga-c2__medium-bg .page-phan-tich-da-ga-c2__sub-title {
  color: #FFD86A;
}

.page-phan-tich-da-ga-c2__medium-bg .page-phan-tich-da-ga-c2__content-area p,
.page-phan-tich-da-ga-c2__medium-bg .page-phan-tich-da-ga-c2__list li {
  color: #FFF5E1;
}

/* FAQ Section */
details.page-phan-tich-da-ga-c2__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544;
  overflow: hidden;
  background: #D32F2F;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
details.page-phan-tich-da-ga-c2__faq-item summary.page-phan-tich-da-ga-c2__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background: linear-gradient(90deg, #C91F17 0%, #E53935 100%);
}
details.page-phan-tich-da-ga-c2__faq-item summary.page-phan-tich-da-ga-c2__faq-question::-webkit-details-marker {
  display: none;
}
details.page-phan-tich-da-ga-c2__faq-item summary.page-phan-tich-da-ga-c2__faq-question:hover {
  background: linear-gradient(90deg, #E53935 0%, #C91F17 100%);
}
.page-phan-tich-da-ga-c2__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF5E1;
}
.page-phan-tich-da-ga-c2__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD86A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-phan-tich-da-ga-c2__faq-item .page-phan-tich-da-ga-c2__faq-answer {
  padding: 0 25px 20px;
  background: #D32F2F;
  border-radius: 0 0 8px 8px;
  color: #FFF5E1;
}

/* General Image styles for content area */
.page-phan-tich-da-ga-c2 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-phan-tich-da-ga-c2__hero-image {
    height: 500px;
  }
  .page-phan-tich-da-ga-c2__main-title {
    font-size: clamp(28px, 4.5vw, 40px);
  }
  .page-phan-tich-da-ga-c2__description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-phan-tich-da-ga-c2__section-title {
    font-size: clamp(22px, 3.5vw, 32px);
  }
  .page-phan-tich-da-ga-c2__sub-title {
    font-size: clamp(18px, 2.5vw, 24px);
  }
  .page-phan-tich-da-ga-c2__faq-qtext {
    font-size: 16px;
  }
  .page-phan-tich-da-ga-c2__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-phan-tich-da-ga-c2__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }
  .page-phan-tich-da-ga-c2__hero-image {
    height: 300px;
  }
  .page-phan-tich-da-ga-c2__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
    width: 100% !important;
    height: 100% !important;
  }
  .page-phan-tich-da-ga-c2__hero-content {
    padding: 20px 15px;
  }
  .page-phan-tich-da-ga-c2__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }
  .page-phan-tich-da-ga-c2__description {
    font-size: clamp(15px, 3.5vw, 18px);
    margin-bottom: 20px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-phan-tich-da-ga-c2__section-title {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 20px;
    padding: 0 15px;
  }
  .page-phan-tich-da-ga-c2__sub-title {
    font-size: clamp(18px, 4.5vw, 22px);
    margin-top: 25px;
    margin-bottom: 10px;
    padding: 0 15px;
  }
  .page-phan-tich-da-ga-c2__content-area p,
  .page-phan-tich-da-ga-c2__list li {
    font-size: 16px;
    padding: 0 15px;
  }
  .page-phan-tich-da-ga-c2__list {
    margin-left: 40px; /* Adjust for padding + bullet */
    padding-right: 15px;
  }
  .page-phan-tich-da-ga-c2__article-figure {
    margin: 20px auto;
    max-width: 100%;
    padding: 0 15px;
  }
  .page-phan-tich-da-ga-c2__article-figure img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  /* 通用图片与容器 */
  .page-phan-tich-da-ga-c2 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-phan-tich-da-ga-c2__section,
  .page-phan-tich-da-ga-c2__container,
  .page-phan-tich-da-ga-c2__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* 按钮与按钮容器 */
  .page-phan-tich-da-ga-c2__cta-button,
  .page-phan-tich-da-ga-c2__btn-primary,
  .page-phan-tich-da-ga-c2__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }
  .page-phan-tich-da-ga-c2__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  /* FAQ Section */
  details.page-phan-tich-da-ga-c2__faq-item {
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 5px;
  }
  details.page-phan-tich-da-ga-c2__faq-item summary.page-phan-tich-da-ga-c2__faq-question {
    padding: 15px;
  }
  .page-phan-tich-da-ga-c2__faq-qtext {
    font-size: 15px;
  }
  .page-phan-tich-da-ga-c2__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-phan-tich-da-ga-c2__faq-item .page-phan-tich-da-ga-c2__faq-answer {
    padding: 0 15px 15px;
  }
  details.page-phan-tich-da-ga-c2__faq-item .page-phan-tich-da-ga-c2__faq-answer p {
    padding: 0;
  }
}