/* Research tools, using WeiLab's shared typography and colors. */
.server-main { padding: 60px 0 76px; background: #fff; }
.server-container { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.server-intro { text-align: center; margin-bottom: 42px; }
.server-intro h1 { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; padding-bottom: 8px; font-family: var(--lab-display); color: var(--lab-ink); font-size: 64px; font-weight: 500; line-height: 1.15; }
/* Match the upper-left and lower-right accents on the other page headings. */
.server-intro h1::before, .server-intro h1::after { content: ''; position: absolute; width: 24%; height: 2px; background: var(--lab-accent); }
.server-intro h1::before { top: -.12em; left: 0; }
.server-intro h1::after { top: calc(100% + .14em); right: 0; }
.server-entry { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 50px; align-items: center; padding: 42px 0; border-bottom: 1px solid var(--lab-line); scroll-margin-top: 100px; }
.server-image-link { display: flex; align-items: center; justify-content: center; min-width: 0; }
.server-image-link img { display: block; width: auto; height: auto; max-width: 100%; max-height: 240px; }
.server-details { min-width: 0; }
.server-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 10px; }
.server-category { color: var(--lab-muted); font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.server-journal { padding: 4px 10px; border-radius: 4px; background: #edf4f0; color: #365e50; font-size: 11px; line-height: 1.5; }
.server-journal span { white-space: nowrap; }
.server-journal:hover { color: #184f3d; background: #e0eee6; text-decoration: underline; text-underline-offset: 3px; }
.server-details h2 { margin: 0 0 5px; font-family: var(--lab-display); font-size: 39px; font-weight: 500; line-height: 1.1; }
.server-details h2 a { color: var(--lab-ink); }
.server-details h2 a:hover { color: var(--lab-link); }
.server-details .server-subtitle { margin: 0 0 12px; color: #354c43; font-size: 16px; font-weight: 700; line-height: 1.5; }
.server-details .server-description { margin: 0; color: var(--lab-muted); font-size: 14px; line-height: 1.8; }
.server-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 18px; }
.server-visit { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 42px; padding: 10px 17px; border: 1px solid #244e41; border-radius: 5px; background: #244e41; color: #fff; font-family: var(--lab-sans); font-size: 12px; font-weight: 700; transition: background .2s ease; }
.server-visit:hover, .server-visit:focus { background: #163d30; border-color: #163d30; color: #fff; }
.server-links .server-paper { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; color: var(--lab-link); font-size: 12px; }
.server-paper:hover { text-decoration: underline; text-underline-offset: 4px; }
.server-main a:focus-visible, .server-skip-link:focus-visible { outline: 2px solid var(--lab-link) !important; outline-offset: 5px; border-radius: 3px; }
.server-contact { margin: 30px 0 0; color: var(--lab-muted); text-align: center; font-size: 13px; }
.server-contact a { display: inline-block; padding: 9px 4px; color: var(--lab-link); }
.server-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.server-skip-link { position: fixed; z-index: 1100; top: -80px; left: 20px; padding: 12px 20px; background: #fff; color: var(--lab-link); }
.server-skip-link:focus { top: 12px; }
@media (max-width: 991px) {
    .server-entry { grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 30px; }
    .server-meta { gap: 8px 10px; }
    .server-details h2 { font-size: 36px; }
}
@media (max-width: 767px) {
    .server-main { padding: 40px 0 50px; }
    .server-container { width: calc(100% - 40px); }
    .server-intro { margin-bottom: 28px; }
    .server-intro h1 { font-size: 46px; }
    .server-entry { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 32px 0; scroll-margin-top: 84px; }
    .server-image-link img { max-height: 310px; }
    .server-details h2 { font-size: 36px; }
    .server-details .server-subtitle { font-size: 15px; }
    .server-meta { gap: 9px 14px; }
    .server-visit, .server-links .server-paper { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .server-visit { transition: none; }
}
