* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #ffffff; color: #1e293b; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.am-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.am-nav { position: sticky; top: 0; z-index: 60; background: #ffffff; border-bottom: 1px solid #e2e8f0; }
.am-nav-row { position: relative; display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.am-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.am-brand strong { font-size: 18px; font-weight: 900; color: #1d3f8f; }
.am-brand small { display: block; font-size: 10px; color: #64748b; letter-spacing: 0.12em; }
.am-links { display: flex; align-items: center; gap: 28px; }
.am-links .nav-item { position: relative; display: inline-flex; align-items: center; }
.am-links a, .am-links .nav-item > a { position: relative; display: inline-flex; align-items: center; padding: 8px 2px; font-size: 14px; font-weight: 500; color: #334155; text-decoration: none; white-space: nowrap; }
.am-links a:hover, .am-links a.active, .am-links .nav-item.active > a { color: #284aa3; font-weight: 700; }
.am-links a.active::after, .am-links .nav-item.active > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2.5px; background: #284aa3; border-radius: 2px; }
.am-links .nav-dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 150px; padding: 8px 0; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 12px 26px rgba(0,0,0,0.12); z-index: 80; }
.am-links .nav-item:hover > .nav-dropdown { display: block; }
.am-links .nav-dropdown a { display: block; padding: 8px 16px; font-size: 13px; }
.am-links .nav-dropdown a.active::after { display: none; }
.mob-nav-chk { display: none; }
.mob-nav-burger { display: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; padding: 6px; margin-left: auto; }
.mob-nav-burger span { display: block; width: 20px; height: 2px; background: #1d3f8f; border-radius: 2px; }
@media (max-width: 768px) {
  .mob-nav-burger { display: inline-flex; }
  .am-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; background: #ffffff; box-shadow: 0 16px 32px rgba(0,0,0,0.14); z-index: 90; }
  .mob-nav-chk:checked ~ .am-links { display: flex; }
  .am-links a, .am-links .nav-item > a { display: block; width: 100%; padding: 12px 4px; border-bottom: 1px solid #f1f5f9; }
  .am-links a.active::after, .am-links .nav-item.active > a::after { display: none; }
}

/* 深蓝地球主 Banner */
.am-hero { position: relative; min-height: 440px; background: linear-gradient(135deg, #102a6b 0%, #1c47a3 55%, #0e245c 100%); color: #ffffff; display: flex; align-items: center; overflow: hidden; }
.am-hero-bg { position: absolute; inset: 0; }
.am-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.am-hero-in { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; padding: 54px 0; }
.am-hero-card img { width: 100%; border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 22px 44px rgba(0,0,0,0.35); border: 2px solid rgba(255,255,255,0.22); }
.am-hero-copy h1 { margin: 0 0 14px; font-size: 38px; font-weight: 800; letter-spacing: 0.06em; }
.am-hero-copy p { margin: 0 0 24px; font-size: 14.5px; line-height: 1.8; color: rgba(255,255,255,0.85); }
.am-hero-btn { display: inline-block; padding: 10px 26px; border-radius: 999px; background: #ffffff; color: #1d3f8f; font-size: 13.5px; font-weight: 700; text-decoration: none; }

/* 供给好药 服务社会（左圆角双叠建筑图 + 右详细介绍） */
.am-about { padding: 80px 0; background: #ffffff; }
.am-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.am-photo-stack { position: relative; padding-bottom: 42px; }
.am-photo-main { width: 88%; border-radius: 32px 12px 32px 12px; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 18px 36px rgba(16,42,107,0.14); }
.am-photo-sub { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; border: 5px solid #ffffff; box-shadow: 0 14px 28px rgba(16,42,107,0.18); }
.am-about-copy h2 { margin: 0 0 18px; font-size: 28px; font-weight: 800; color: #1d3f8f; }
.am-about-copy p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.9; color: #475569; }
.am-about-link { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: #284aa3; text-decoration: none; }

/* 医药创新研发蓝块 + 三项实力 */
.am-rd { padding: 72px 0; background: #f2f5fa; }
.am-rd-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 22px; }
.am-rd-blue { background: #284aa3; color: #ffffff; padding: 38px 32px; border-radius: 6px; display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; }
.am-rd-blue h3 { margin: 0 0 12px; font-size: 22px; font-weight: 800; }
.am-rd-blue p { margin: 0 0 24px; font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,0.85); }
.am-rd-blue a { color: #ffffff; font-size: 13px; font-weight: 700; text-decoration: none; }
.am-rd-white { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 34px 28px; }
.am-rd-white h3 { margin: 0 0 10px; font-size: 18px; color: #1d3f8f; }
.am-rd-white p { margin: 0 0 18px; font-size: 13px; line-height: 1.75; color: #64748b; }
.am-rd-white a { font-size: 13px; font-weight: 700; color: #284aa3; text-decoration: none; }

/* 页脚 */
.am-footer { background: #142a63; color: rgba(255,255,255,0.78); padding: 48px 0 26px; }
.am-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.am-foot-grid h4 { margin: 0 0 12px; font-size: 14px; color: #ffffff; }
.am-foot-grid p { margin: 0 0 8px; font-size: 12.5px; color: rgba(255,255,255,0.68); line-height: 1.7; }
.am-foot-grid a { display: block; font-size: 12.5px; color: rgba(255,255,255,0.75); text-decoration: none; margin-bottom: 8px; }
.am-foot-links { padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: rgba(255,255,255,0.58); }
.am-foot-links a { color: rgba(255,255,255,0.8); text-decoration: none; }
.am-foot-bot { padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: rgba(255,255,255,0.5); }

/* 子页面 */
.am-sub-banner { background: #142a63; color: #ffffff; padding: 46px 0; }
.am-sub-banner h1 { margin: 0 0 8px; font-size: 30px; }
.am-crumb { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 10px; }
.am-crumb a { color: #ffffff; text-decoration: none; }
.am-sec { padding: 56px 0; background: #f4f7fb; }
.am-panel { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 28px 32px; }
.am-pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.am-pcard { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.am-pimg img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.am-pb { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.am-pb h3 { margin: 0 0 6px; font-size: 15.5px; color: #1d3f8f; }
.am-pb p { margin: 0 0 12px; font-size: 12.5px; color: #64748b; flex: 1; }
.am-pb a { font-size: 12.5px; font-weight: 700; color: #284aa3; text-decoration: none; }
.am-art-list { display: grid; gap: 14px; }
.am-art-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; text-decoration: none; }
.am-art-row h3 { margin: 0 0 6px; font-size: 16px; color: #1d3f8f; }
.am-art-row p { margin: 0; font-size: 13px; color: #64748b; }
.am-detail-body { font-size: 15px; line-height: 1.85; color: #334155; }

@media (max-width: 900px) {
  .am-hero-in, .am-about-grid, .am-rd-grid, .am-foot-grid { grid-template-columns: 1fr; }
  .am-pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) { .am-pgrid { grid-template-columns: 1fr; } }

/* cms-lang-slot */
.cms-lang-slot {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 8px;
}
.cms-lang-slot:empty { display: none; }
.cms-lang-slot .lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(6px);
}
.cms-lang-slot .lang-btn {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
  transition: all 0.16s ease;
  white-space: nowrap;
}
.cms-lang-slot .lang-btn:hover { opacity: 1; }
.cms-lang-slot .lang-btn.active {
  background: #284aa3;
  color: #ffffff !important;
  opacity: 1;
}
@media (max-width: 768px) {
  .cms-lang-slot { margin-left: 6px; }
  .cms-lang-slot .lang-btn { padding: 2px 7px; font-size: 11px; }
}
