/* 成功案例整页：Figma 1218:9823，共用导航、320px横幅、联系条和Footer。 */
.cases-showcase { position: relative; padding: 72px 0; min-height: 928px; color: #fff; background: linear-gradient(179.338deg,rgba(0,42,94,.862) 7.0875%,rgba(0,42,94,.931) 70.779%,rgba(0,42,94,.98) 99.268%), url('../images/cases-page/brain.webp') center / cover no-repeat; }
.cases-showcase h2, .cases-list-header h2 { margin: 0; font-size: 36px; line-height: 56px; font-weight: 600; }
.cases-showcase h2 span { color: #5ddcff; }
.cases-showcase-layout { display: grid; grid-template-columns: 360px minmax(0,1fr); gap: 104px; margin-top: 40px; }
.cases-fields { padding: 24px; background: rgba(0,42,94,.56); }
.cases-fields button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 64px; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; color: #fff; font-size: 20px; line-height: 26px; }
.cases-fields button img { width: 24px; height: 24px; flex: 0 0 24px; filter: brightness(0) invert(1); }
.cases-fields button:is(:hover,.is-active) { border-color: #2cc0e9; background: linear-gradient(180deg,transparent 58.621%,rgba(0,174,223,.1) 98.323%); }
.cases-fields button.is-active { font-weight: 600; }
.cases-field-panel { padding-top: 40px; min-width: 0; max-height: 688px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #ffffff40 transparent; }
.cases-field-panel > p { margin: 0; font-size: 16px; line-height: 26px; overflow-wrap: anywhere; }
.cases-field-panel ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 56px; padding: 0; margin: 0; list-style: none; }
.cases-field-panel a { display: flex; gap: 8px; color: #fff; font-size: 18px; line-height: 28px; overflow-wrap: anywhere; }
.cases-field-panel a > span { flex: 0 0 24px; font-weight: 900; }
.cases-field-panel a:hover { color: #5ddcff; }
.cases-list { padding: 72px 0; background: #f9f9f9; scroll-margin-top: 100px; }
.cases-list-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.cases-list-header h2 span { color: #169edc; }
.cases-search { width: 384px; max-width: 100%; }
.cases-search > div { display: flex; align-items: center; height: 48px; padding: 3px; border: 1px solid rgba(0,0,0,.15); border-radius: 2px; background: #fff; }
.cases-search input { flex: 1; min-width: 0; width: 0; height: 40px; padding: 0 12px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.cases-search > div:focus-within { border-color: #169edc; }
.cases-search button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 40px; padding: 0 20px 0 12px; border-radius: 2px; color: #fff; background: #169edc; font-size: 16px; }
.cases-results { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; font-size: 14px; line-height: 24px; color: #666; }
.cases-results button { color: #169edc; }
.cases-active-tag { display: inline-flex; align-items: center; gap: 8px; padding: 2px 8px; border-radius: 2px; background: #e7f5fc; }
.cases-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.case-list-card { display: flex; flex-direction: column; min-height: 188px; padding: 24px; border-radius: 8px; background: #fff; transition: box-shadow .2s; }
.case-list-card:hover { box-shadow: 0 8px 24px #002a5e0d; }
.case-list-main { display: flex; min-height: 64px; }
.case-list-main h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; width: 100%; color: #000; font-size: 20px; line-height: 30px; font-weight: 600; overflow-wrap: anywhere; }
.case-list-main:hover h3 { color: #169edc; }
.case-list-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.case-list-tags button { min-height: 24px; padding: 2px 8px; white-space: nowrap; border-radius: 2px; background: rgba(245,245,245,.84); color: rgba(0,0,0,.5); font-size: 12px; line-height: 20px; font-weight: 500; }
.case-list-tags button:is(:hover,.is-active) { color: #169edc; }
.case-list-more { display: inline-flex; gap: 11px; align-items: center; align-self: start; padding-top: 24px; margin-top: auto; color: #16a0de; font-size: 16px; line-height: 20px; font-weight: 500; }
.case-list-more img { width: 20px; height: 20px; flex: 0 0 20px; }
.cases-empty { padding: 64px 24px; text-align: center; color: #666; }
.cases-empty button { margin-top: 16px; color: #169edc; }
.cases-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 56px; font-size: 12px; line-height: 24px; }
.cases-pagination button { min-width: 24px; height: 24px; border-radius: 2px; padding: 0 5px; }
.cases-pagination button[aria-current='page'] { background: #169edc; color: #fff; }
.cases-pagination button:disabled { opacity: .35; cursor: default; }
.cases-pagination form { display: flex; align-items: center; gap: 8px; }
.cases-pagination input { width: 48px; height: 24px; border: 1px solid #e7e7e7; text-align: center; background: #fff; }
.cases-page-size select { height: 24px; border: 1px solid #e7e7e7; background: #fff; font-size: 12px; }
.cases-page button:focus-visible, .cases-page a:focus-visible { outline: 2px solid #169edc; outline-offset: 3px; }
@media (max-width: 1023px) {
 .cases-showcase { padding: 40px 0; min-height: 0; }
 .cases-showcase h2, .cases-list-header h2 { font-size: 28px; line-height: 40px; }
 .cases-showcase-layout { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
 .cases-fields { display: flex; overflow-x: auto; padding: 12px; gap: 16px; }
 .cases-fields button { width: auto; flex: 0 0 auto; min-height: 48px; font-size: 16px; }
 .cases-field-panel { padding-top: 0; max-height: 420px; }
 .cases-field-panel > p { font-size: 14px; line-height: 24px; }
 .cases-field-panel ol { gap: 16px 24px; }
 .cases-field-panel a { font-size: 16px; line-height: 26px; }
 .cases-list { padding: 40px 0; }
 .cases-list-header { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 24px; }
 .cases-search { width: 100%; }
 .cases-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
 .case-list-card { padding: 20px; }
 .case-list-main h3 { font-size: 18px; line-height: 28px; }
}
@media (max-width: 639px) { .cases-grid, .cases-field-panel ol { grid-template-columns: 1fr; } .cases-pagination { gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .case-list-card { transition: none; } .case-list-card:hover { transform: none; } }
