/* 旧 URL 同址换新皮 — design-iterator legacy 第1轮（已合并） */

.geo-inner-main .legacy-breadcrumb {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.geo-inner-main .legacy-breadcrumb a {
  color: #a50d25;
  text-decoration: none;
}

.geo-inner-main .legacy-breadcrumb a:hover {
  text-decoration: underline;
}

.geo-inner-main .legacy-content-card {
  background: #fff;
  border-radius: 14px;
  padding: clamp(2rem, 4.5vw, 2.75rem) clamp(1.5rem, 3.8vw, 2.35rem);
  box-shadow: 0 6px 28px rgba(26, 5, 8, 0.08);
  border-top: 4px solid #c8102e;
}

.geo-inner-main .legacy-page {
  font-size: 1.04rem;
  line-height: 1.85;
  color: #2a2a2a;
}

.geo-inner-main .legacy-page p {
  margin: 0 0 1.25rem;
  max-width: 72ch;
  text-indent: 2em;
  text-align: justify;
  color: #2a2a2a;
}

.geo-inner-main .legacy-page p:last-child {
  margin-bottom: 0;
}

/* 仅加粗的一句（如「服务特色」）— 顶线强调，非左边框模板 */
.geo-inner-main .legacy-page p:has(strong:only-child),
.geo-inner-main .legacy-page p:has(> strong:first-child:last-child) {
  text-indent: 0;
  max-width: none;
  margin-top: 1.5rem;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(135deg, #faf6f5 0%, #fff 100%);
  border-radius: 10px;
  border-top: 2px solid rgba(200, 16, 46, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.geo-inner-main .legacy-page h2 {
  color: #a50d25;
  font-size: 1.26rem;
  margin: 2.1rem 0 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(200, 16, 46, 0.14);
  text-indent: 0;
  letter-spacing: 0.02em;
}

.geo-inner-main .legacy-page h2 a {
  color: inherit;
  text-decoration: none;
}

.geo-inner-main .legacy-page h2 a:hover {
  color: #c8102e;
  text-decoration: underline;
}

.geo-inner-main .legacy-page h2:first-child {
  margin-top: 0;
}

.geo-inner-main .legacy-page strong {
  color: #1a1a1a;
  font-weight: 700;
}

.geo-inner-main .legacy-page a {
  color: #a50d25;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.geo-inner-main .legacy-page a:hover {
  color: #c8102e;
}

.geo-inner-main .legacy-page figure {
  margin: 2.25rem auto;
  max-width: min(520px, 92%);
  text-align: center;
}

.geo-inner-main .legacy-page figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
}

.geo-inner-main .legacy-page figcaption {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.geo-inner-main .legacy-page .legacy-divider {
  height: 1px;
  margin: 2.25rem auto;
  max-width: 72ch;
  background: linear-gradient(90deg, transparent, rgba(200, 16, 46, 0.22), transparent);
}

/* 专家团队：介绍 + 创始人置顶 + 顾问网格 */
.geo-inner-main .legacy-page--team .legacy-team-intro {
  text-indent: 2em;
  max-width: none;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(200, 16, 46, 0.12);
  font-size: 1.02rem;
  line-height: 1.9;
  color: #333;
}

.geo-inner-main .legacy-team-leader {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #faf6f5 0%, #fff 55%);
  border-radius: 14px;
  border: 1px solid rgba(200, 16, 46, 0.1);
  box-shadow: 0 8px 32px rgba(26, 5, 8, 0.06);
}

.geo-inner-main .legacy-team-leader-photo {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.geo-inner-main .legacy-team-leader-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.geo-inner-main .legacy-team-leader-label {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8102e;
  text-indent: 0;
}

.geo-inner-main .legacy-team-leader-name {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  color: #1a1a1a;
  text-indent: 0;
  border: none;
  padding: 0;
}

.geo-inner-main .legacy-team-leader-name a {
  color: inherit;
  text-decoration: none;
}

.geo-inner-main .legacy-team-leader-name a:hover {
  color: #c8102e;
}

.geo-inner-main .legacy-team-leader-role {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: #666;
  text-indent: 0;
  line-height: 1.6;
}

.geo-inner-main .legacy-team-leader-qual {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #444;
  text-indent: 0;
  background: rgba(200, 16, 46, 0.04);
  border-radius: 8px;
  border-left: 3px solid rgba(200, 16, 46, 0.35);
}

.geo-inner-main .legacy-team-leader-summary {
  margin: 0 0 1rem;
  text-indent: 2em;
  text-align: justify;
  max-width: none;
  line-height: 1.85;
  color: #2a2a2a;
}

.geo-inner-main .legacy-team-leader-more {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: #c8102e;
}

.geo-inner-main .legacy-team-leader-more:hover {
  text-decoration: underline;
}

.geo-inner-main .legacy-team-grid-heading {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  color: #a50d25;
  text-indent: 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(200, 16, 46, 0.14);
}

.geo-inner-main .legacy-team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
}

.geo-inner-main .legacy-team-member {
  margin: 0;
  text-align: center;
}

.geo-inner-main .legacy-team-member-photo {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.65rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.geo-inner-main .legacy-team-member-photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(200, 16, 46, 0.15);
}

.geo-inner-main .legacy-team-member-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.geo-inner-main .legacy-team-member-name {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-indent: 0;
}

.geo-inner-main .legacy-team-member-name a {
  color: #1a1a1a;
  text-decoration: none;
}

.geo-inner-main .legacy-team-member-name a:hover {
  color: #c8102e;
}

.geo-inner-main .legacy-team-member-role {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #666;
  text-indent: 0;
}

.geo-inner-main .legacy-team-member-qual {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.55;
  color: #555;
  text-indent: 0;
  text-align: left;
  padding: 0 0.15rem;
}

@media (max-width: 992px) {
  .geo-inner-main .legacy-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .geo-inner-main .legacy-team-leader {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .geo-inner-main .legacy-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
  }
}

@media (max-width: 640px) {
  .geo-inner-main .legacy-page--team .legacy-team-intro {
    text-indent: 1.5em;
  }
}

/* 专家团队等图片网格（非 teamRoster 页的兜底） */
.geo-inner-main .legacy-page:has(.legacy-grid-item):not(:has(.legacy-article-section)) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem 1rem;
}

.geo-inner-main .legacy-page:has(.legacy-grid-item):not(:has(.legacy-article-section)) figure.legacy-grid-item {
  margin: 0;
  max-width: none;
}

.geo-inner-main .legacy-page:has(.legacy-grid-item):not(:has(.legacy-article-section)) figure.legacy-grid-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.geo-inner-main .legacy-page:has(.legacy-grid-item):not(:has(.legacy-article-section)) p {
  grid-column: 1 / -1;
  text-indent: 0;
  max-width: none;
}

/* 知识产权等：每篇一卡，图左文右（移动端图在上） */
.geo-inner-main .legacy-article-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200, 16, 46, 0.12);
}

.geo-inner-main .legacy-article-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.geo-inner-main .legacy-article-title {
  color: #a50d25;
  font-size: 1.22rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(200, 16, 46, 0.14);
  text-indent: 0;
  letter-spacing: 0.02em;
}

.geo-inner-main .legacy-article-title a {
  color: inherit;
  text-decoration: none;
}

.geo-inner-main .legacy-article-title a:hover {
  color: #c8102e;
  text-decoration: underline;
}

.geo-inner-main .legacy-article-body {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.geo-inner-main .legacy-article-figure {
  margin: 0;
  max-width: none;
  position: sticky;
  top: 1rem;
}

.geo-inner-main .legacy-article-figure img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
}

.geo-inner-main .legacy-article-text p {
  max-width: none;
}

.geo-inner-main .legacy-article-text p:has(strong:only-child),
.geo-inner-main .legacy-article-text p:has(> strong:first-child:last-child) {
  text-indent: 0;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .geo-inner-main .legacy-article-body {
    grid-template-columns: 1fr;
  }

  .geo-inner-main .legacy-article-figure {
    position: static;
    max-width: min(420px, 100%);
    margin: 0 auto;
  }
}

.geo-inner-main .legacy-embed {
  margin: 1.5rem auto;
  max-width: min(640px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.geo-inner-main .legacy-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .geo-inner-main .legacy-page p {
    text-indent: 1.5em;
    font-size: 1rem;
  }

  .geo-inner-main .legacy-content-card {
    padding: 1.35rem 1.1rem 1.6rem;
    border-radius: 12px;
  }
}
