/* About page (PbootCMS contenttpl) */

:root {
  --a-bg: #f6f8fc;
  --a-text: #0f172a;
  --a-muted: #64748b;
  --a-border: rgba(15, 23, 42, 0.12);
  --a-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --a-blue: #00327e;
  --a-blue2: #00255e;
}

body.page-about {
  margin: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--a-text);
  background: var(--a-bg);
}

@media (min-width: 1600px) {
  body.page-about {
    zoom: min(1.75, max(1, 100vw / 1760));
  }
}

.page-about .container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: clamp(12px, 3vw, 32px);
  padding-right: clamp(12px, 3vw, 32px);
}

@media (min-width: 1200px) {
  .page-about .container {
    max-width: 75%;
  }
}

@media (min-width: 2000px) {
  .page-about .container {
    max-width: min(1820px, 80vw);
    padding-left: clamp(16px, 3.2vw, 44px);
    padding-right: clamp(16px, 3.2vw, 44px);
  }
}

@media (min-width: 2600px) {
  .page-about .container {
    max-width: min(2160px, 84vw);
  }
}

/* ---------- Hero ---------- */
.a-hero {
  position: relative;
  padding-top: calc(var(--landing-header-height, 80px) + clamp(28px, 3.2vw, 56px));
  padding-bottom: clamp(24px, 3vw, 48px);
  background:
    radial-gradient(900px 500px at 70% 30%, rgba(0, 50, 126, 0.14) 0%, rgba(0, 50, 126, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, #edf0f7 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.a-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  pointer-events: none;
  z-index: 1;
}

.a-hero > .container {
  position: relative;
  z-index: 2;
}

.a-hero__bg {
  width: 100%;
  height: auto;
  display: block;
}

/* Image-based hero: full-width image, auto height, text vertically centered */
.a-hero--img {
  display: grid;
  grid-template-areas: "stack";
  padding-top: 0;
  padding-bottom: 0;
  background: none;
}

.a-hero--img .a-hero__bg { grid-area: stack; }
.a-hero--img::before { grid-area: stack; }

.a-hero--img > .container {
  grid-area: stack;
  padding-top: calc(var(--landing-header-height, 80px) + clamp(28px, 3.2vw, 56px));
  padding-bottom: clamp(24px, 3vw, 48px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  .a-hero--img {
    min-height: 240px;
  }

  .a-hero--img .a-hero__bg {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.a-breadcrumb {
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(255, 255, 255, 0.85);
}

.a-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.a-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.a-title {
  margin: clamp(10px, 1.2vw, 14px) 0 0;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 12px 28px rgba(2, 6, 23, 0.45);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.15;
}

.a-subtitle {
  margin: 10px 0 0;
  max-width: 62rem;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 10px 22px rgba(2, 6, 23, 0.35);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
}

/* ---------- Sections ---------- */
.a-section {
  padding: clamp(26px, 3.2vw, 56px) 0;
}

.a-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.a-card__inner {
  padding: clamp(18px, 2vw, 28px);
}

.a-h2 {
  margin: 0 0 12px;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 900;
  color: var(--a-text);
}

.a-divider {
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: var(--a-blue);
  opacity: 0.95;
  margin: 12px 0 18px;
}

/* 小分隔条（用于卡片内） */
.a-divider--sm {
  width: 72px;
  margin: 10px 0 16px;
}

/* 图文：文字环绕图片（PC）；移动端上下排 */
.a-intro {
  display: block;
}

.a-intro::after {
  content: "";
  display: table;
  clear: both;
}

.a-intro__media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, rgba(0, 50, 126, 0.08) 0%, rgba(15, 23, 42, 0.03) 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  margin-bottom: clamp(16px, 2.2vw, 24px);
}

.a-intro__media.is-hidden {
  display: none !important;
}

.a-intro__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 520px);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .a-intro__media {
    float: left;
    width: min(44vw, 520px);
    max-width: 46%;
    margin: 0 clamp(18px, 2.6vw, 36px) clamp(10px, 1.2vw, 14px) 0;
  }
}

/* 后台「多图」字段：{pboot:pics} */
.a-gallery {
  display: none;
  margin-top: clamp(20px, 2.8vw, 36px);
  padding-top: clamp(18px, 2.4vw, 28px);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.a-gallery:has(.a-gallery__item) {
  display: grid;
}

.a-gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.a-gallery__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.a-rich {
  color: #334155;
  font-size: 16px;
  line-height: 1.85;
  word-break: break-word;
}

.a-rich img {
  max-width: 100%;
  height: auto;
}

.a-stats {
  margin-top: clamp(16px, 2.4vw, 28px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 900px) {
  .a-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.a-stat {
  background: rgba(246, 248, 252, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 16px 16px;
  text-align: center;
}

.a-stat__v {
  font-size: clamp(20px, 1.85vw, 28px);
  font-weight: 900;
  color: var(--a-blue);
  line-height: 1.1;
}

.a-stat__k {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-muted);
}

.a-actions {
  margin-top: clamp(16px, 2.4vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.a-more {
  margin-top: clamp(18px, 2.8vw, 40px);
  padding-top: clamp(18px, 2.8vw, 40px);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.a-more__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2.2vw, 22px);
}

@media (min-width: 900px) {
  .a-more__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.a-more__card {
  background: rgba(246, 248, 252, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: clamp(16px, 2vw, 22px);
}

.a-h3 {
  margin: 0 0 6px;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--a-text);
}

.a-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.a-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.a-point__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 50, 126, 0.12);
  color: var(--a-blue);
}

.a-point__t {
  font-weight: 900;
  color: var(--a-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 14px;
}

.a-point__d {
  margin: 6px 0 0;
  color: var(--a-muted);
  font-size: 14px;
  line-height: 1.65;
}

.a-caps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.a-cap {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--a-muted);
  font-size: 14px;
  line-height: 1.55;
}

.a-cap i {
  margin-top: 2px;
  color: var(--a-blue);
}

.a-cta {
  margin-top: clamp(14px, 2.2vw, 22px);
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(700px 260px at 20% 0%, rgba(0, 50, 126, 0.12) 0%, rgba(0, 50, 126, 0) 55%),
    linear-gradient(180deg, #fff 0%, #edf0f7 100%);
  overflow: hidden;
}

.a-cta__inner {
  padding: clamp(18px, 2.4vw, 28px);
  text-align: center;
}

.a-cta__title {
  margin: 0 0 10px;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--a-blue);
}

.a-cta__lead {
  margin: 0 auto 18px;
  max-width: 44rem;
  color: var(--a-muted);
  font-size: 14px;
  line-height: 1.65;
}

.a-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.a-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.2;
}

.a-btn--primary {
  background: var(--a-blue);
  color: #fff;
}

.a-btn--primary:hover {
  background: var(--a-blue2);
}

.a-btn--ghost {
  background: rgba(0, 50, 126, 0.08);
  color: var(--a-blue);
}

.a-btn--ghost:hover {
  background: rgba(0, 50, 126, 0.12);
}

