/* Base styles for the page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main - for dark background #B71C1C */
  background-color: #B71C1C; /* Background */
}

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

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

.page-about__dark-section {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
}

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #FFD86A; /* Gold-like for titles */
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  color: #F4D34D; /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__section-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background-color: #B71C1C; /* Background */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  max-height: 700px; /* Max height for hero image */
  overflow: hidden;
  position: relative;
}

.page-about__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop to fill */
  display: block;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(122, 14, 14, 0.8); /* Deep Red with opacity for content block */
  border-radius: 8px;
  margin-top: -80px; /* Pull content slightly over image for design */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-about__main-title {
  font-size: clamp(36px, 5vw, 54px);
  color: #FFD86A; /* Gold for main title */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1; /* Text Main */
}

/* Buttons */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red for text on gold button for contrast */
  box-shadow: 0 5px 15px rgba(255, 204, 102, 0.4);
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 204, 102, 0.6);
}

.page-about__btn-secondary {
  background: #FFF5E1; /* Text Main for background */
  color: #C91F17; /* Main color for text */
  border: 2px solid #C91F17;
}

.page-about__btn-secondary:hover {
  background: #C91F17;
  color: #FFF5E1;
  border-color: #FFF5E1;
  transform: translateY(-3px);
}

.page-about__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General Content Layout */
.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-bottom: 40px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  min-width: 300px;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #FFF5E1; /* Text Main */
}

.page-about__image-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-about__image-block--full-width {
  flex: none;
  width: 100%;
  margin-top: 40px;
}

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

.page-about__value-card {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-about__value-card .page-about__card-title {
  font-size: 22px;
  color: #FFD86A; /* Gold-like */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-card p {
  font-size: 16px;
  color: #FFF5E1; /* Text Main */
}

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

.page-about__product-card {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-about__product-card .page-about__card-title {
  font-size: 24px;
  color: #FFD86A; /* Gold-like */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__product-card p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #FFF5E1; /* Text Main */
}

.page-about__product-link {
  display: inline-block;
  color: #FFD86A; /* Gold-like */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD86A;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about__product-link:hover {
  color: #FFF5E1; /* Text Main */
  border-color: #FFF5E1;
}

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

.page-about__commitment-card {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-about__commitment-card .page-about__card-title {
  font-size: 22px;
  color: #FFD86A; /* Gold-like */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__commitment-card p {
  font-size: 16px;
  color: #FFF5E1; /* Text Main */
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #B71C1C; /* Background */
  padding: 60px 0;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #7A0E0E; /* Deep Red for border */
  overflow: hidden;
  background: #ffffff; /* Light background for FAQ item */
  color: #333333; /* Dark text for light background */
}

details.page-about__faq-item summary.page-about__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: #333333; /* Dark text for light background */
}

details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Dark text for light background */
}

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #C91F17; /* Main color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9; /* Slightly darker light background */
  border-radius: 0 0 5px 5px;
  color: #333333; /* Dark text for light background */
  font-size: 16px;
  text-align: left;
}

/* Final CTA Section */
.page-about__final-cta-section {
  padding: 80px 0;
  background-color: #7A0E0E; /* Deep Red */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__container {
    padding: 20px 30px;
  }

  .page-about__hero-content {
    padding: 30px 20px;
    margin-top: -60px;
  }

  .page-about__main-title {
    font-size: clamp(30px, 4.5vw, 48px);
  }

  .page-about__hero-description {
    font-size: 18px;
  }

  .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-about__text-block, .page-about__image-block {
    min-width: unset;
    width: 100%;
  }

  .page-about__values-grid, .page-about__products-grid, .page-about__commitment-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-about__faq-qtext {
    font-size: 17px;
  }

  .page-about__faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  /* General content padding */
  .page-about__container {
    padding: 0 15px;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .page-about__sub-title {
    font-size: clamp(20px, 5vw, 28px);
  }

  .page-about__section-description {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px; /* Force small top padding */
    padding-bottom: 40px;
  }
  .page-about__hero-image img {
    object-fit: contain !important; /* Mobile: contain to prevent cropping */
    aspect-ratio: unset !important; /* Mobile: unset aspect ratio */
    width: 100% !important;
    height: auto !important;
  }

  .page-about__hero-content {
    padding: 20px 15px;
    margin-top: -40px;
    max-width: calc(100% - 30px);
    width: 100%;
    box-sizing: border-box;
  }

  .page-about__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about 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;
    font-size: 16px;
  }

  .page-about__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: 15px;
  }

  /* 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__text-block,
  .page-about__image-block,
  .page-about__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-about__content-wrapper {
    gap: 20px;
  }

  /* 产品展示图区域 (if applicable, for general grids) */
  .page-about__values-grid, .page-about__products-grid, .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-about__introduction-section .page-about__text-block,
  .page-about__mission-vision-section .page-about__text-block,
  .page-about__values-section .page-about__text-block,
  .page-about__products-overview-section .page-about__text-block,
  .page-about__commitment-section .page-about__text-block {
    text-align: center;
  }
  .page-about__introduction-section .page-about__text-block p,
  .page-about__mission-vision-section .page-about__text-block p,
  .page-about__values-section .page-about__text-block p,
  .page-about__products-overview-section .page-about__text-block p,
  .page-about__commitment-section .page-about__text-block p {
    text-align: left;
  }

  .page-about__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
}