/* 公司与新闻页面共用首页视觉基础，内容布局限定在独立类名内。 */
.company-page [hidden] { display: none !important; }
/* 与产品服务横幅统一高度，窄屏长内容允许自然撑开。 */
.news-page .site-header { position: fixed; right: 0; left: 0; }
.news-hero { min-height: 542px; }
.editorial-hero { background: #f5f7f8; padding: 44px 0 76px; overflow: hidden; }
.about-hero {
  min-height: 470px;
  padding: 68px 0 72px;
  /* 完整铺开装饰画布，保留两侧点阵与心电线，避免宽屏裁切。 */
  background: #f6f9fb url('../img/about-hero-pattern.svg') center / 100% 100% no-repeat;
}
.about-hero .company-emblem { background: radial-gradient(circle at 50% 50%, rgba(224,240,249,.68), rgba(255,255,255,.08) 64%, transparent 73%); }
.about-hero .company-emblem::before { content: ''; position: absolute; inset: 8px 9%; border-radius: 50%; background: radial-gradient(circle, transparent 54%, rgba(225,240,248,.28) 67%, transparent 73%); filter: blur(7px); }
.about-hero .emblem-core { background: linear-gradient(145deg,rgba(255,255,255,.84),rgba(238,247,251,.66)); border-color: rgba(255,255,255,.9); box-shadow: 0 22px 52px rgba(68,105,127,.13), inset 0 1px 0 #fff; }
.about-hero .ring-one { border-color: rgba(255,255,255,.86); box-shadow: 0 0 30px rgba(255,255,255,.62); }
.about-hero .ring-two { border-color: rgba(255,143,74,.64); }
/* kicker 前置细线，与主标题形成「标签—标题」的层级关系。 */
.page-kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--text-secondary); font-size: 12px; line-height: 20px; letter-spacing: 2.5px; margin-bottom: 22px; }
.page-kicker::before { content: ''; width: 28px; height: 1px; background: var(--orange); opacity: .85; }
.editorial-hero h1 { font-size: 52px; line-height: 66px; font-weight: 500; letter-spacing: 2px; }
.editorial-hero h1 span { color: var(--orange); }
/* 两行标题同字号同字重，仅用品牌色与字距变化形成节奏，避免一大一小的拼凑感。 */
.editorial-hero .brand-headline { font-size: clamp(40px, 4.2vw, 56px); line-height: 1.3; font-weight: 600; letter-spacing: 4px; color: #232a30; }
.editorial-hero .brand-headline .headline-line { display: block; color: inherit; }
.editorial-hero .brand-headline .headline-response { margin-top: 10px; font-weight: 600; letter-spacing: 4px; }
.editorial-hero .brand-headline .headline-accent { color: #f3632c; }
.news-hero-heading .page-kicker,.about-hero-grid .page-kicker { margin-bottom: 26px; letter-spacing: 3px; }
.page-subtitle { color: var(--text-body); font-size: 14px; line-height: 30px; margin-top: 24px; letter-spacing: .3px; }
.about-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 60px; margin-top: 22px; }
.company-emblem { position: relative; height: 360px; display: grid; place-items: center; isolation: isolate; background: radial-gradient(ellipse,rgba(209,229,240,.65),transparent 68%); }
.emblem-ring { position: absolute; z-index: 0; width: 286px; height: 286px; border: 1px solid #d6e1e8; border-radius: 50%; }
.ring-two { width: 334px; height: 334px; border-style: dashed; border-color: #e1e7eb; }
.emblem-connectors { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.emblem-connectors path { stroke: rgba(255,138,65,.58); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.emblem-core { position: relative; z-index: 2; width: 270px; height: 136px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; padding: 25px 28px 19px; background: rgba(255,255,255,.8); border: 1px solid white; border-radius: 17px; -webkit-backdrop-filter: blur(18px) saturate(115%); backdrop-filter: blur(18px) saturate(115%); }
.emblem-core img { width: 210px; height: auto; display: block; }
.emblem-core span { margin-top: 12px; color: #778ea0; font-size: 9px; line-height: 1; letter-spacing: 4px; white-space: nowrap; }
.emblem-service { position: absolute; z-index: 3; width: 194px; min-height: 76px; display: inline-flex; align-items: center; gap: 12px; box-sizing: border-box; padding: 12px 16px 12px 12px; color: #243b4d; border: 1px solid rgba(255,255,255,.88); border-radius: 18px; background: linear-gradient(135deg,rgba(255,255,255,.9),rgba(244,249,252,.76)); box-shadow: 0 13px 32px rgba(63,98,120,.13), inset 0 1px 0 rgba(255,255,255,.95); -webkit-backdrop-filter: blur(15px) saturate(115%); backdrop-filter: blur(15px) saturate(115%); white-space: nowrap; }
.emblem-service-icon { display: grid; place-items: center; flex: 0 0 45px; width: 45px; height: 45px; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#ff9a3d,#ff602d); box-shadow: 0 7px 16px rgba(255,105,37,.26); }
.emblem-service-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.emblem-service > span { display: flex; flex-direction: column; gap: 6px; }
.emblem-service strong { font-size: 15px; line-height: 1; font-weight: 600; letter-spacing: .5px; }
.emblem-service small { color: #71899c; font-size: 9px; line-height: 1; font-weight: 400; letter-spacing: .6px; }
.service-pharmacy { top: 22px; left: -12px; border-radius: 18px 18px 7px 18px; }
.service-diagnosis { top: 24px; right: -12px; border-radius: 18px 18px 18px 7px; }
.service-prescription { bottom: 23px; left: -20px; border-radius: 18px 7px 18px 18px; }
.service-industry { right: 1px; bottom: 12px; border-radius: 7px 18px 18px 18px; }
.company-section { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: .85fr 1.5fr; gap: 80px; }
.company-heading h2,.company-values h2,.company-cta h2,.news-section h2 { font-size: 32px; line-height: 42px; font-weight: 500; }
.company-since { display: flex; align-items: baseline; gap: 12px; margin-top: 38px; font-size: 12px; color: var(--text-secondary); }
.company-since strong { font-size: 42px; font-weight: 400; color: #597487; letter-spacing: 1px; line-height: 1; }
.company-prose h3 { font-size: 18px; line-height: 28px; margin-bottom: 22px; font-weight: 500; }
.company-prose p { font-size: 14px; line-height: 28px; color: var(--text-body); }
.company-prose p + p { margin-top: 22px; }
.company-capabilities { background: #f5f7f9; padding: 76px 0; }
.capability-layout { display: grid; grid-template-columns: .85fr 1.5fr; gap: 80px; }
.capability-tags { display: flex; gap: 20px; margin-bottom: 26px; }
.capability-tags span { font-size: 22px; line-height: 1; padding: 0 24px 0 0; border-right: 1px solid #dce4e9; color: #698496; }
.capability-tags span:first-child { color: var(--orange); }
.capability-tags span:last-child { border: 0; }
.company-text-link { display: inline-flex; align-items: center; gap: 24px; color: #e76024 !important; font-size: 14px; margin-top: 28px; }
.company-text-link .ui-icon { transition: transform .2s; }
.company-text-link:hover .ui-icon { transform: translate(2px,-2px); }
.company-values { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; padding-bottom: 80px; }
.company-values article { position: relative; padding: 42px; border-radius: 12px; overflow: hidden; }
.value-mission { background: #2d414f; color: #fff; }
.value-mission .page-kicker { color: #a3b9c7; }
.value-mission .page-kicker::before { background: #7d97a8; opacity: 1; }
.company-values p { margin-top: 24px; font-size: 14px; line-height: 28px; position: relative; z-index: 1; }
.value-mission p { color: #c7d5df; }
.value-vision { background: #f6f7f8; }
.value-vision p { color: var(--text-body); }
.value-line { position: absolute; width: 200px; height: 200px; border: 1px solid #597382; border-radius: 50%; right: -70px; bottom: -120px; }
.company-cta { border-top: 1px solid #e9edf0; padding-top: 56px; padding-bottom: 66px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.company-cta p { color: var(--text-body); font-size: 14px; margin-top: 14px; }
.office-section { padding-top: 60px; padding-bottom: 80px; }
.office-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.office-heading h1 { font-size: 40px; line-height: 52px; }
.office-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.office-province { grid-column: 1 / -1; font-size: 24px; line-height: 34px; margin-top: 42px; padding-left: 14px; border-left: 3px solid var(--orange); }
.office-grid .adress { padding: 28px; background: #f6f8f9; border-radius: 8px; }
.office-grid p { color: var(--text-body); font-size: 14px; line-height: 26px; }
.office-grid .nametitle { font-size: 18px; color: #3c505e; margin-bottom: 14px; }
.news-hero-heading { display: block; margin-top: 8px; }
.news-hero-heading > div:first-child { min-width: 0; }
/* 背景延伸到毛玻璃导航下方，同时补回导航高度，保持首屏内容位置不变。 */
.news-hero { position: relative; padding: 140px 0 72px; background: #f7fafc url('../img/news-hero-editorial-alt.png') center / cover no-repeat; }
.news-hero > .container { position: relative; z-index: 2; }
.news-hero .news-hero-heading .page-subtitle { max-width: 520px; margin-top: 18px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.news-section { padding-top: 60px; padding-bottom: 84px; min-height: 440px; }
.news-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid #e7ecef; }
.news-section-heading > span { color: var(--text-secondary); font-size: 12px; }
.news-articles { list-style: none; }
.news-article { border-bottom: 1px solid #e7ecef; }
.news-article > a,.news-article > .news-unlinked { display: grid; grid-template-columns: 260px 1fr 48px; gap: 36px; align-items: center; padding: 32px 0; }
.news-picture { display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 16 / 10; background: #eef3f6; border-radius: 8px; }
.news-picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-picture.no-image::after { content: '程医橙心 · 企业动态'; color: var(--text-secondary); font-size: 12px; letter-spacing: 1px; }
.news-article a:hover img { transform: scale(1.025); }
.news-copy { min-width: 0; }
.news-copy time { font-size: 12px; color: var(--text-secondary); letter-spacing: 1px; }
.news-copy h3 { font-size: 20px; font-weight: 500; line-height: 30px; margin-top: 12px; color: #344753; overflow-wrap: anywhere; }
.news-copy p { font-size: 14px; line-height: 26px; color: var(--text-body); margin-top: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.news-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #e5eaee; border-radius: 50%; color: var(--text-secondary); transition: color .2s,background .2s; }
.news-article a:hover .news-arrow { color: var(--orange); background: #fff6ef; border-color: #f5dcca; }
.news-article:first-child > a,.news-article:first-child > .news-unlinked { grid-template-columns: 43% 1fr 48px; padding: 38px 0; }
.news-article:first-child h3 { font-size: 26px; line-height: 38px; }
.news-article:first-child .news-picture { aspect-ratio: 16 / 9; }
.news-feedback:not(:empty) { color: var(--text-secondary); font-size: 14px; text-align: center; padding: 42px 20px 24px; }
.news-retry { display: block; margin: 0 auto 36px; background: #fff; color: #dc642c; border: 1px solid #f0c9b3; border-radius: 6px; padding: 10px 24px; cursor: pointer; }
.news-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 36px; flex-wrap: wrap; }
.news-pagination button { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e4eaee; border-radius: 50%; background: white; color: var(--text-secondary); cursor: pointer; font: inherit; font-size: 13px; }
.news-pagination button[aria-current] { color: #fff; background: var(--orange); border-color: var(--orange); }
.news-pagination button:disabled { opacity: .35; cursor: default; }
.news-pagination > span { color: var(--text-secondary); font-size: 12px; }
.news-skeleton { height: 190px; margin: 30px 0; border-radius: 8px; background: linear-gradient(100deg,#f3f6f8 25%,#fafbfc 50%,#f3f6f8 75%); background-size: 200% 100%; animation: news-loading 2.4s linear infinite; }
@keyframes news-loading { to { background-position: -200% 0; } }
@media (max-width: 1000px) {
  .editorial-hero h1 { font-size: 42px; line-height: 56px; }
  .editorial-hero .brand-headline { font-size: clamp(36px, 4.6vw, 46px); letter-spacing: 3px; }
  .editorial-hero .brand-headline .headline-response { letter-spacing: 3px; }
  .news-hero .news-hero-heading .page-subtitle { max-width: 520px; padding: 0; }
  .about-hero-grid { gap: 20px; }
  .company-emblem { transform: scale(.85); }
  .company-section,.capability-layout { gap: 36px; grid-template-columns: .9fr 1.3fr; }
  .company-values article { padding: 32px; }
  .company-heading h2,.company-values h2,.company-cta h2 { font-size: 28px; line-height: 40px; }
  .news-article > a,.news-article > .news-unlinked { grid-template-columns: 200px 1fr 40px; gap: 24px; }
  .news-article:first-child > a,.news-article:first-child > .news-unlinked { grid-template-columns: 40% 1fr; }
  .news-article:first-child .news-arrow { display: none; }
}
@media (max-width: 700px) {
  .news-page .news-hero { min-height: 544px; padding: 104px 0 46px; }
  .news-hero { background-position: 58% center; }
  .editorial-hero { padding: 30px 0 46px; }
  .editorial-hero h1 { font-size: 36px; line-height: 48px; letter-spacing: 1px; }
  .editorial-hero .brand-headline { font-size: clamp(29px, 8.4vw, 37px); line-height: 1.3; letter-spacing: 2px; }
  .editorial-hero .brand-headline .headline-response { margin-top: 6px; letter-spacing: 2px; }
  .page-kicker { margin-bottom: 16px; font-size: 11px; letter-spacing: 2px; gap: 9px; }
  .page-kicker::before { width: 20px; }
  .about-hero-grid { grid-template-columns: minmax(0,1fr); margin-top: 12px; gap: 16px; }
  .about-hero { background-size: auto 100%; background-position: 62% center; }
  .about-hero .company-emblem::before { inset: 12px 4%; }
  .company-emblem { width: 450px; height: 360px; left: auto; justify-self: center; transform: scale(.74); transform-origin: center; margin: -28px 0 -44px; }
  .service-industry { right: -20px; }
  .page-subtitle { font-size: 13px; line-height: 26px; margin-top: 20px; }
  .company-section,.capability-layout { grid-template-columns: 1fr; gap: 30px; }
  .company-section { padding-top: 48px; padding-bottom: 48px; }
  .company-since { margin-top: 24px; }
  .company-since strong { font-size: 34px; }
  .company-capabilities { padding: 48px 0; }
  .company-values { grid-template-columns: 1fr; gap: 16px; padding-bottom: 48px; }
  .company-values article { padding: 30px 26px; }
  .company-cta { display: block; padding-top: 42px; padding-bottom: 48px; }
  .company-cta .primary-link { margin-top: 24px; }
  .company-cta h2 { font-size: 26px; line-height: 38px; }
  .company-cta p { font-size: 12px; }
  .office-heading { display: block; }
  .office-grid { grid-template-columns: 1fr; }
  .news-hero-heading { display: block; margin-top: 10px; }
  .news-hero .news-hero-heading .page-subtitle { max-width: none; margin-top: 24px; padding: 16px 18px; }
  .news-hero-heading .page-subtitle br { display: none; }
  .news-section { padding-top: 36px; padding-bottom: 48px; }
  .news-section h2 { font-size: 28px; line-height: 38px; }
  .news-section-heading { gap: 12px; padding-bottom: 24px; }
  .news-section-heading > span { font-size: 10px; }
  .news-article > a,.news-article > .news-unlinked,.news-article:first-child > a,.news-article:first-child > .news-unlinked { grid-template-columns: 1fr; gap: 20px; padding: 26px 0; }
  .news-picture,.news-article:first-child .news-picture { aspect-ratio: 16 / 9; }
  .news-copy h3,.news-article:first-child h3 { font-size: 20px; line-height: 30px; margin-top: 10px; }
  .news-arrow { display: none; }
  .news-pagination { gap: 7px; }
  .news-pagination button { min-width: 36px; height: 36px; }
}
@media (max-width: 380px) {
  .company-cta h2 { font-size: 24px; }
  .company-cta p { font-size: 11.5px; }
}
@media (max-width: 360px) {
  .company-emblem { transform: scale(.62); margin: -48px 0 -64px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-skeleton { animation: none; }
  .news-picture img,.news-arrow,.company-text-link .ui-icon { transition: none; }
}

/* 关于我们页的产品悬浮菜单沿用首页胶囊、蓝色图标和交互样式。 */
@media (hover: hover) and (min-width: 701px) {
  .company-document .company-page.medical-layout .product-submenu {
    top: calc(100% + 14px);
    width: min(800px, calc(100vw - 64px));
    box-sizing: border-box;
    gap: 12px;
    padding: 12px;
    border-color: rgba(255, 255, 255, .95);
    border-radius: 999px;
    background: rgba(247, 250, 255, .82);
    box-shadow: 0 12px 30px rgba(26, 49, 76, .09), inset 0 1px 0 #fff;
    transform: translate(-50%, 6px);
    transition: opacity .18s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .company-document .company-page.medical-layout .product-submenu::before { height: 20px; }
  .company-document .company-page.medical-layout .product-submenu a:nth-child(n) {
    height: 62px;
    box-sizing: border-box;
    justify-content: center;
    gap: 10px;
    padding: 0 12px;
    border-color: rgba(218, 229, 243, .4);
    background: rgba(255, 255, 255, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
    color: #203962;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    opacity: 1;
    transform: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
  }
  .company-document .company-page.medical-layout .product-submenu a + a::before { display: none; }
  .company-document .company-page.medical-layout .product-submenu a svg {
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    padding: 9px;
    border-radius: 50%;
    background: #e6efff;
    color: #3375df;
    transition: color .18s ease, background-color .18s ease;
  }
  .company-document .company-page.medical-layout .product-submenu a:is(:hover, :focus-visible, :active) {
    color: #e95820;
    background-color: #fff5ee;
    border-color: #ffcfb4;
    box-shadow: 0 4px 12px rgba(232, 85, 11, .07), inset 0 1px 0 rgba(255, 255, 255, .9);
  }
  .company-document .company-page.medical-layout .product-submenu a:is(:hover, :focus-visible, :active) svg { color: #e95820; background-color: #ffe1cc; }
  .company-document .company-page.medical-layout .site-header.is-at-top .nav-products:is(:hover, :focus-within) .product-submenu { transform: translate(-50%, 0); }
}
@media (hover: hover) and (min-width: 701px) and (max-width: 900px) {
  .company-document .company-page.medical-layout .product-submenu { width: min(420px, calc(100vw - 64px)); grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .company-document .company-page.medical-layout .product-submenu,
  .company-document .company-page.medical-layout .product-submenu a:nth-child(n),
  .company-document .company-page.medical-layout .product-submenu a svg { transition: none; }
}
