/* General styles for the about page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity */
}

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

.page-about__text-center {
  text-align: center;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 40px;
  text-align: center;
}

.page-about__section-title--light {
  color: #FFFFFF; /* White for dark backgrounds */
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__sub-title--light {
  color: #FFFFFF;
}

.page-about p {
  margin-bottom: 15px;
}

.page-about ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-about li {
  margin-bottom: 8px;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding-top: 10px; /* Assuming shared.css handles body padding-top */
  padding-bottom: 60px;
  background-color: #26A9E0; /* Brand color background for hero */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-about__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-about__hero-section img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: #FFFFFF; /* White text for hero content */
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-size: clamp(2.2em, 4vw, 3.5em); /* Example clamp */
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* Buttons */
.page-about__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background-color: #d66a00;
}

.page-about__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 15px; /* Spacing for multiple buttons */
}

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7eb3;
  border-color: #1a7eb3;
}

/* Section Backgrounds */
.page-about__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Content Grid for text and image blocks */
.page-about__content-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

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

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

.page-about__text-block--light {
  color: #FFFFFF;
}

.page-about__image-block {
  flex: 1;
  min-width: 300px;
  display: flex; /* To center image if smaller */
  justify-content: center;
  align-items: center;
}

.page-about__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: block; /* Ensure no extra space below image */
}

/* Call to Action Section */
.page-about__cta-section {
  padding: 60px 0;
}

.page-about__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 15px; /* Spacing between buttons */
}

/* Copyright Section */
.page-about__copyright-section {
  padding: 30px 0;
  text-align: center;
  background-color: #1a1a1a; /* Darker background for footer-like section */
  color: #CCCCCC;
  font-size: 0.9em;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__content-grid {
    gap: 30px;
  }
  .page-about__hero-section {
    padding-bottom: 40px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container {
    padding: 15px;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-about__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  /* Hero Section */
  .page-about__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
    padding-bottom: 30px;
  }
  .page-about__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Content Grid */
  .page-about__content-grid {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  .page-about__content-grid--reverse {
    flex-direction: column;
  }

  /* Images - MUST BE RESPONSIVE */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__image-block,
  .page-about__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about__section,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons - MUST BE RESPONSIVE */
  .page-about__btn,
  .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-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important;
  }

  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__cta-description {
    margin-bottom: 30px;
  }

  /* Mandatory mobile media query blocks (even if empty for specific elements not present) */
  /* HERO 主图区域 - Covered by .page-about__hero-section */
  /* 长文金框区 - Not applicable for About Us page */
  /* 游戏轮播 - Not applicable for About Us page */
  /* 合作品牌六宫格 - Not applicable for About Us page */
  /* 博客卡片区 - Not applicable for About Us page */
  /* 通用图片与容器 - Covered by .page-about img, .page-about__image-block, .page-about__section, .page-about__container */
  /* 按钮与按钮容器 - Covered by .page-about__btn, .page-about__cta-buttons */

  /* Placeholder for other required mobile blocks if they were to exist */
  /* .page-about__home-content { /* Not used on About page */ /* }
  /* .page-about__slider-track { /* Not used on About page */ /* }
  /* .page-about__banners-top-wrapper { /* Not used on About page */ /* }
  /* .page-about__blog-masonry { /* Not used on About page */ /* }
  /* .page-about__blog-slider-track { /* Not used on About page */ /* }
}