:root {
    color-scheme: light;
    --navy-dark: #191959;
    --navy: #262685;
    --kleinblue: #002fa7;
    --ink: #16191d;
    --muted: #5f6c78;
    --line: #d6e0e8;
    --line-strong: #7898b5;
    --soft: #f3f6f9;
    --paper: #ffffff;
    --accent: var(--kleinblue);
    --heading: var(--navy-dark);
    --link: var(--kleinblue);
    --guide-fade: 18px;
    --rule-fade: 72px;
    --content: 1160px;
    --body-font: Arial, Helvetica, "Liberation Sans", "Nimbus Sans L", "Microsoft YaHei", "Microsoft YaHei UI", SimHei, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
    --brand-font: "Mingjianli Brand Serif", "Source Han Serif SC", "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", STZhongsong, SimSun, serif;
}

@font-face {
    font-display: block;
    font-family: "Demo Icomoon";
    font-style: normal;
    font-weight: normal;
    src: url("/assets/fonts/icomoon/icomoon-subset.v1.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "Mingjianli Brand Serif";
    font-style: normal;
    font-weight: 250 900;
    src: url("/assets/fonts/brand-serif/mingjianli-brand-serif.v1.woff2") format("woff2");
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    color: inherit;
    font: inherit;
    letter-spacing: 0;
}

button,
select {
    cursor: pointer;
}

.site-header {
    background: var(--paper);
    border: 0;
    box-shadow: none;
    position: relative;
}

.site-header::before {
    align-items: center;
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.88);
    content: "COMPUTATIONAL MECHANICS · MULTIPHYSICS";
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    height: 42px;
    letter-spacing: 0;
    padding-left: max(24px, calc((100% - var(--content)) / 2 + 24px));
}

.site-header::after,
.primary-nav::before,
.site-footer::before {
    background: linear-gradient(
        90deg,
        transparent 0,
        #c5d3de var(--rule-fade),
        #c5d3de calc(100% - var(--rule-fade)),
        transparent 100%
    );
    content: "";
    height: 1px;
    left: 50%;
    pointer-events: none;
    position: absolute;
    transform: translateX(-50%);
    width: min(calc(100% - 48px), calc(var(--content) - 48px));
}

.site-header::after {
    bottom: 0;
    filter: drop-shadow(0 3px 3px rgba(25, 25, 89, 0.13));
}

.brand-row {
    align-items: center;
    display: flex;
    gap: 14px;
    margin: 0 auto;
    max-width: var(--content);
    min-height: 116px;
    padding: 18px 24px;
    position: relative;
}

.brand-row::before {
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    content: "MING-JIAN LI";
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    height: 42px;
    letter-spacing: 0;
    position: absolute;
    right: 24px;
    top: -42px;
    white-space: nowrap;
    z-index: 1;
}

.brand-mark {
    flex: 0 0 62px;
    height: 62px;
    object-fit: contain;
    width: 62px;
}

.brand-name {
    color: var(--navy-dark);
    font-family: var(--brand-font);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.brand-field {
    color: #465f77;
    font-family: var(--brand-font);
    font-size: 15px;
    font-weight: 500;
    margin: 3px 0 0;
}

.primary-nav {
    background: var(--paper);
    border-top: 0;
    overflow-x: auto;
    position: relative;
}

.primary-nav::before {
    top: 0;
}

.primary-nav ul {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0 auto;
    max-width: var(--content);
    min-width: max-content;
    padding: 0 24px;
}

.primary-nav a {
    border-bottom: 0;
    box-shadow: none;
    display: block;
    font-family: "FZXiaoBiaoSong-B05S", "方正小标宋简", STZhongsong, "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
    font-size: 18px;
    isolation: isolate;
    min-width: 88px;
    padding: 13px 24px 12px;
    position: relative;
    text-align: center;
}

.primary-nav a:hover {
    background: transparent;
    color: var(--kleinblue);
}

.primary-nav a[aria-current="page"] {
    background: transparent;
    box-shadow: none;
    color: #ffffff;
    font-weight: 700;
}

.primary-nav a[aria-current="page"]::before {
    background: var(--kleinblue);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.28), inset 0 -2px rgba(25, 25, 89, 0.38);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    content: "";
    filter: drop-shadow(0 2px 2px rgba(25, 25, 89, 0.24));
    inset: 0;
    position: absolute;
    z-index: -1;
}

.primary-nav li:first-child a[aria-current="page"]::before {
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.primary-nav li:last-child a[aria-current="page"]::before {
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
}

.page-shell {
    margin: 0 auto;
    max-width: var(--content);
    padding: 28px 24px 64px;
    width: 100%;
}

.page-heading {
    align-items: end;
    border-bottom: 2px solid var(--line-strong);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding-bottom: 18px;
}

.page-heading h1 {
    font-size: 30px;
    line-height: 1.25;
    margin: 0;
}

.page-heading p {
    color: var(--muted);
    margin: 5px 0 0;
}

.page-intro {
    color: #314c66;
    margin: 0 0 18px;
    padding: 0 0 8px 2em;
}

.compact-catalog .page-intro,
.note-catalog .page-intro {
    line-height: 1.5;
    padding: 0 0 8px 2em;
}

.catalog-toolbar {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 18px 0;
}

.search-box {
    position: relative;
    width: min(100%, 520px);
}

.search-box::before {
    border: 2px solid var(--heading);
    border-radius: 50%;
    content: "";
    height: 11px;
    left: 15px;
    pointer-events: none;
    position: absolute;
    top: 12px;
    width: 11px;
    z-index: 1;
}

.search-box::after {
    background: var(--heading);
    content: "";
    height: 2px;
    left: 27px;
    pointer-events: none;
    position: absolute;
    top: 26px;
    transform: rotate(45deg);
    transform-origin: left center;
    width: 7px;
    z-index: 1;
}

.search-box input {
    background: var(--paper);
    border: 1px solid #aebfce;
    border-radius: 2px;
    height: 42px;
    outline: none;
    padding: 0 14px 0 43px;
    width: 100%;
}

.search-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.12);
}

.mobile-category {
    background: var(--paper);
    border: 1px solid #b9c1c9;
    border-radius: 4px;
    display: none;
    height: 42px;
    min-width: 150px;
    padding: 0 34px 0 12px;
}

.catalog-layout {
    display: grid;
    gap: 44px;
    grid-template-columns: 190px minmax(0, 1fr);
    padding-top: 18px;
}

.catalog-sidebar {
    align-self: start;
    position: sticky;
    top: 20px;
}

.sidebar-title {
    color: var(--heading);
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.category-list {
    border-top: 0;
    position: relative;
}

.category-list::before,
.category-button::after {
    background: linear-gradient(
        90deg,
        transparent 0,
        var(--line) var(--guide-fade),
        var(--line) calc(100% - var(--guide-fade)),
        transparent 100%
    );
    content: "";
    height: 1px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.category-list::before {
    top: 0;
}

.category-button {
    align-items: center;
    background: transparent;
    border: 0;
    border-left: 3px solid transparent;
    display: flex;
    justify-content: space-between;
    min-height: 43px;
    padding: 7px 8px 7px 12px;
    position: relative;
    text-align: left;
    width: 100%;
}

.category-button::after {
    bottom: 0;
}

.category-button:hover {
    background: var(--soft);
}

.category-button[aria-pressed="true"] {
    background: var(--kleinblue);
    border-left-color: var(--accent);
    color: #ffffff;
    font-weight: 700;
}

.category-button[aria-pressed="true"] .category-count {
    color: rgba(255, 255, 255, 0.8);
}

.category-count {
    color: var(--muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.catalog-summary {
    align-items: baseline;
    border-bottom: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 64px;
    margin-bottom: 0;
    padding: 0 8px 10px 12px;
    position: relative;
}

.catalog-summary::before {
    background: var(--kleinblue);
    bottom: 10px;
    content: "";
    left: 0;
    position: absolute;
    top: 3px;
    width: 4px;
}

.catalog-summary::after {
    background: linear-gradient(90deg, #7898b5 0, #7898b5 calc(100% - var(--rule-fade)), transparent 100%);
    bottom: 0;
    content: "";
    height: 2px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.catalog-layout > section {
    min-width: 0;
}

.catalog-summary h2 {
    color: var(--navy-dark);
    font-size: 19px;
    margin: 0;
}

.views-heading {
    color: var(--muted);
    font-size: 13px;
    min-width: 64px;
    text-align: right;
}

.article-list {
    border-top: 0;
    margin-top: 0;
}

.catalog-summary[hidden] {
    display: none;
}

.catalog-group + .catalog-group {
    margin-top: 34px;
}

.article-row {
    align-items: center;
    border-bottom: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 86px;
    padding: 14px 10px 14px 8px;
    position: relative;
    transition: background-color 120ms ease;
}

.article-row::after,
.timeline-row::after {
    background: linear-gradient(
        90deg,
        transparent 0,
        var(--line) var(--rule-fade),
        var(--line) calc(100% - var(--rule-fade)),
        transparent 100%
    );
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.note-catalog .article-row {
    min-height: 72px;
    padding-bottom: 9px;
    padding-top: 9px;
}

.compact-catalog .article-row {
    min-height: 72px;
    padding-bottom: 9px;
    padding-top: 9px;
}

.article-row:hover {
    background: #f7f7f7;
}

.article-index {
    color: #426a8e;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    text-align: center;
}

.article-title {
    color: var(--link);
    display: inline;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.45;
}

.article-title-wrap {
    align-items: center;
    display: flex;
    gap: 9px;
    min-width: 0;
}

.article-title-wrap .article-title {
    min-width: 0;
}

.new-badge {
    background: linear-gradient(108deg, #1682d0 0%, #197dd1 52%, #1d77d2 100%);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 3px;
    box-shadow: 0 0 7px rgba(25, 125, 209, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    overflow: hidden;
    padding: 4px 6px 3px;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.new-badge::after {
    animation: new-badge-glint 10s ease-in-out infinite;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
    content: "";
    inset: -2px auto -2px -45%;
    position: absolute;
    transform: skewX(-18deg) translateX(-180%);
    width: 38%;
}

@keyframes new-badge-glint {
    0%, 18%, 100% {
        opacity: 0;
        transform: skewX(-18deg) translateX(-180%);
    }
    28% {
        opacity: 0.9;
    }
    46% {
        opacity: 0;
        transform: skewX(-18deg) translateX(520%);
    }
}

.article-headline {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 64px;
}

.article-title:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-title.is-static {
    color: #1b2025;
}

.article-title.is-static:hover {
    text-decoration: none;
}

.article-detail {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
    margin-top: 4px;
}

.teaching-catalog .article-detail {
    white-space: pre-line;
}

.example-thumbnail-link {
    align-self: center;
}

.example-thumbnail {
    aspect-ratio: 1106 / 495;
    border: 1px solid #b9c9d7;
    border-radius: 3px;
    display: block;
    height: auto;
    object-fit: cover;
    width: 110px;
}

.examples-catalog .article-row {
    min-height: 80px;
}

.examples-catalog .article-row.has-thumbnail {
    grid-template-columns: 44px 110px minmax(0, 1fr);
}

.example-detail-page {
    max-width: 1028px;
}

.example-detail-heading {
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 20px;
}

.example-breadcrumb {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: 13px;
    gap: 8px;
    margin: 0 0 12px;
}

.example-breadcrumb a {
    color: var(--link);
}

.example-detail-heading h1 {
    color: var(--heading);
    font-size: 28px;
    line-height: 1.35;
    margin: 0;
}

.example-detail-summary {
    color: #43515e;
    margin: 10px 0 0;
}

.example-publication-meta {
    width: 100%;
    color: var(--muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    line-height: 1.7;
    margin-top: 14px;
    text-align: right;
}

.example-author-line {
    color: #303942;
}

.example-facts {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    border-top: 2px solid #7898b5;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 18px 0;
}

.example-facts div {
    border-right: 1px solid var(--line);
    min-width: 0;
    padding: 7px 18px;
}

.example-facts div:nth-child(3n) {
    border-right: 0;
}

.example-facts dt {
    color: var(--muted);
    font-size: 12px;
}

.example-facts dd {
    font-weight: 650;
    margin: 2px 0 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.example-parameter-section {
    margin-top: 30px;
}

.example-parameter-section h2 {
    color: var(--heading);
    font-size: 18px;
    margin: 0 0 12px;
}

.example-parameter-list {
    border-top: 1px solid var(--line-strong);
    margin: 0;
}

.example-parameter-list div {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 18px;
    grid-template-columns: 150px minmax(0, 1fr);
    padding: 9px 4px;
}

.example-parameter-list div:nth-child(even) {
    background: var(--paper);
}

.example-parameter-list dt {
    color: var(--heading);
    font-weight: 650;
}

.example-parameter-list dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.example-media-section {
    margin-top: 34px;
}

.example-media-section h2 {
    color: var(--heading);
    font-size: 18px;
    margin: 0 0 12px;
}

.example-animation {
    margin: 0;
}

.example-animation img,
.example-animation video {
    background: var(--soft);
    border: 1px solid #b9c9d7;
    display: block;
    height: auto;
    width: 100%;
}

.example-animation figcaption {
    color: var(--muted);
    font-size: 13px;
    margin-top: 7px;
}

.example-video-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.example-video-grid .example-animation video {
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

.project-detail-page {
    padding-bottom: 72px;
}

.project-detail-content {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.85;
    margin-top: 30px;
    min-width: 0;
}

.project-detail-content p,
.project-detail-content ul,
.project-detail-content ol,
.project-detail-content blockquote,
.project-detail-content figure,
.project-detail-content table,
.project-detail-content pre {
    margin-top: 0;
    margin-bottom: 18px;
}

.project-detail-content h2,
.project-detail-content h3,
.project-detail-content h4 {
    color: var(--heading);
    line-height: 1.4;
    margin: 30px 0 12px;
}

.project-detail-content h2 {
    border-left: 4px solid var(--heading);
    font-size: 18px;
    padding-left: 12px;
}

.project-detail-content h3 {
    font-size: 16px;
}

.project-detail-content a {
    color: var(--link);
    text-underline-offset: 0.18em;
}

.project-detail-content a:hover {
    color: var(--accent);
}

.project-detail-content img,
.project-detail-content video,
.project-detail-content svg,
.project-detail-content canvas {
    display: block;
    height: auto;
    margin: 22px auto 28px;
    max-width: 100%;
}

.project-detail-content blockquote {
    border-left: 3px solid var(--line-strong);
    color: var(--muted);
    padding-left: 14px;
}

.project-detail-content table {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.project-detail-content th,
.project-detail-content td {
    border: 1px solid var(--line);
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.project-detail-content pre {
    background: var(--soft);
    border: 1px solid var(--line);
    max-width: 100%;
    overflow-x: auto;
    padding: 14px;
}

.project-detail-content .math.display,
.project-detail-content mjx-container[display="true"] {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.achievement-catalog .article-title {
    font-size: 15px;
    line-height: 1.4;
}

.achievement-catalog .article-row:has(.publication-detail) .article-title {
    font-size: 14px;
}

.achievement-catalog .article-row:has(.publication-detail) .achievement-title-row .article-title {
    font-weight: 400;
}

.achievement-catalog .article-row {
    align-items: start;
}

.achievement-catalog .catalog-summary,
.achievement-catalog .article-headline {
    grid-template-columns: minmax(0, 1fr) 88px;
}

.achievement-catalog .article-headline.achievement-text-only {
    grid-template-columns: minmax(0, 1fr);
}

.achievement-metric-headings,
.achievement-metrics {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: right;
}

.achievement-metric-headings {
    color: var(--muted);
    font-size: 13px;
}

.achievement-metric-headings.is-hidden {
    visibility: hidden;
}

.citation-status {
    color: var(--muted);
    font-size: 12px;
    margin: -1px 0 10px;
    text-align: right;
}

.citation-status[hidden] {
    display: none;
}

.achievement-metrics {
    color: var(--ink);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.publication-title-row,
.sci-publication-detail-row {
    align-items: flex-start;
    display: grid;
    gap: 8px;
    grid-template-columns: 18px minmax(0, 1fr);
    min-width: 0;
}

.achievement-title-row {
    min-width: 0;
}

.pdf-download {
    color: #c62828;
    flex: 0 0 18px;
    font-family: "Demo Icomoon";
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
}

.pdf-download:hover {
    color: #8e1717;
}

.journal-name {
    color: var(--link);
    font-weight: 650;
}

.publication-detail {
    color: var(--ink);
}

.achievement-catalog .publication-detail {
    font-size: 13px;
    line-height: 1.55;
}

.publication-doi {
    color: #526273;
    display: block;
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.achievement-catalog .publication-doi {
    font-size: 12px;
}

.achievement-author {
    color: inherit;
    font-weight: 700;
}

.achievement-plain-author {
    color: var(--muted);
    font-weight: 400;
}

.achievement-award {
    color: var(--link);
    font-weight: 650;
}

.achievement-catalog .conference-title {
    font-weight: 400;
}

.achievement-catalog .regular-result-title {
    font-size: 14px;
    font-weight: 400;
}

.article-meta {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 6px 13px;
    margin-top: 5px;
}

.article-date-line {
    color: var(--muted);
    display: block;
    flex-basis: 100%;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
    margin-top: 2px;
}

.article-detail + .article-date-line {
    margin-top: 5px;
}

.article-category {
    color: var(--ink);
    font-weight: 700;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
}

.article-tag::before {
    color: #9aa3ac;
    content: "#";
}

.article-views {
    color: var(--ink);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.empty-state {
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    display: none;
    padding: 54px 12px;
    text-align: center;
}

.empty-state.is-visible {
    display: block;
}

.site-footer {
    background: var(--paper);
    border-top: 0;
    color: var(--muted);
    font-size: 13px;
    margin-top: auto;
    padding: 24px;
    position: relative;
    text-align: center;
}

.site-footer::before {
    top: 0;
}

.email-line {
    align-items: center;
    display: flex;
    justify-content: center;
}

.email-address {
    color: var(--link);
}

.email-line a {
    color: var(--ink);
}

.email-icon {
    color: var(--ink);
    font-family: "Demo Icomoon";
    font-size: 15px;
    margin-right: 6px;
}

.home-introduction {
    color: #22272c;
    line-height: 1.95;
    margin: 0;
    text-indent: 2em;
}

.profile-search {
    margin-bottom: 38px;
    margin-top: 8px;
    max-width: 980px;
}

.profile-search .search-box {
    display: block;
}

.profile-title {
    border-bottom: 0;
    color: var(--navy-dark);
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 12px;
    padding: 0 0 10px 14px;
    position: relative;
}

.profile-section {
    margin-top: 34px;
}

.profile-section h2 {
    border-bottom: 0;
    color: var(--navy-dark);
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    padding: 0 0 10px 14px;
    position: relative;
}

.profile-title::before,
.profile-section h2::before {
    background: var(--kleinblue);
    bottom: 9px;
    content: "";
    left: 0;
    position: absolute;
    top: 2px;
    width: 4px;
}

.profile-title::after,
.profile-section h2::after {
    background: linear-gradient(90deg, #9bb2c6 0, #9bb2c6 calc(100% - var(--rule-fade)), transparent 100%);
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.profile-section .timeline {
    border-top: 0;
    margin-top: 0;
}

.profile-history .timeline {
    margin-left: 2em;
    max-width: 700px;
}

.profile-history .timeline-row {
    min-height: 54px;
    padding-bottom: 5px;
    padding-top: 5px;
}

.profile-history .timeline-institution,
.profile-history .timeline-role {
    color: var(--navy-dark);
}

.profile-recruitment p {
    background: var(--paper);
    border-left: 0;
    margin: 12px 0 0 2em;
    padding: 0;
}

.profile-recruitment .email-address {
    color: var(--link);
}

.search-results {
    border-top: 1px solid var(--line-strong);
    margin-top: 16px;
    max-width: 820px;
}

.search-result {
    border-bottom: 1px solid var(--line);
    padding: 11px 4px;
}

.search-result a {
    color: var(--link);
    font-weight: 650;
}

.search-result-path {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.timeline {
    border-top: 1px solid var(--line-strong);
    margin-top: 18px;
}

.timeline-row {
    align-items: center;
    border-bottom: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: 42px 140px 180px minmax(0, 1fr) 76px;
    min-height: 64px;
    padding: 9px 10px;
    position: relative;
    transition: background-color 120ms ease;
}

.timeline-row:hover {
    background: #f7f7f7;
}

.timeline-logo {
    display: block;
    margin: 0 auto;
    max-height: 28px;
    max-width: 34px;
}

.timeline-period {
    align-items: baseline;
    color: var(--muted);
    column-gap: 3px;
    display: grid;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-width: 0;
    white-space: nowrap;
}

.timeline-period-start {
    grid-column: 1;
    justify-self: start;
}

.timeline-period-separator {
    grid-column: 2;
    justify-self: center;
}

.timeline-period-end {
    grid-column: 3;
    justify-self: end;
}

.timeline-institution {
    font-weight: 700;
    padding-left: 12px;
}

.timeline-unit {
    color: var(--muted);
}

.timeline-role {
    color: var(--heading);
    font-weight: 700;
    text-align: right;
}

.legal-line {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-top: 5px;
}

.legal-icon {
    height: 14px;
    width: 14px;
}

@media (max-width: 760px) {
    :root {
        --guide-fade: 12px;
        --rule-fade: 24px;
    }

    .site-header::before {
        font-size: 10px;
        height: 34px;
        padding-left: 16px;
    }

    .site-header::after,
    .primary-nav::before,
    .site-footer::before {
        width: calc(100% - 32px);
    }

    .brand-row {
        min-height: 94px;
        padding: 14px 16px;
    }

    .brand-row::before {
        font-size: 10px;
        height: 34px;
        right: 16px;
        top: -34px;
    }

    .brand-mark {
        flex-basis: 52px;
        height: 52px;
        width: 52px;
    }

    .brand-name {
        font-size: 24px;
    }

    .primary-nav ul {
        padding: 0 8px;
    }

    .primary-nav a {
        font-size: 17px;
        min-width: 80px;
        padding: 12px 18px 11px;
    }

    .page-shell {
        padding: 20px 16px 48px;
    }

    .page-heading {
        align-items: start;
        display: block;
    }

    .page-heading h1 {
        font-size: 25px;
    }

    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .mobile-category {
        display: block;
        width: 100%;
    }

    .catalog-layout {
        display: block;
        padding-top: 18px;
    }

    .catalog-sidebar {
        display: none;
    }

    .article-row {
        gap: 8px;
        grid-template-columns: 30px minmax(0, 1fr);
        min-height: 84px;
        padding-right: 2px;
    }

    .note-catalog .article-row {
        min-height: 72px;
        padding-bottom: 9px;
        padding-top: 9px;
    }

    .compact-catalog .article-row {
        min-height: 72px;
        padding-bottom: 9px;
        padding-top: 9px;
    }

    .views-heading {
        min-width: 52px;
    }

    .catalog-summary,
    .article-headline {
        gap: 8px;
        grid-template-columns: minmax(0, 1fr) 42px;
    }

    .catalog-group + .catalog-group {
        margin-top: 28px;
    }

    .achievement-catalog .catalog-summary,
    .achievement-catalog .article-headline {
        grid-template-columns: minmax(0, 1fr) 72px;
    }

    .article-meta {
        display: block;
    }

    .article-title-wrap {
        align-items: flex-start;
    }

    .new-badge {
        margin-top: 4px;
    }

    .article-tags {
        margin-top: 2px;
    }

    .example-thumbnail {
        width: 84px;
    }

    .examples-catalog .article-row.has-thumbnail {
        gap: 10px;
        grid-template-columns: 28px 84px minmax(0, 1fr);
    }

    .example-detail-heading h1 {
        font-size: 24px;
    }

    .example-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .example-facts div:nth-child(3n) {
        border-right: 1px solid var(--line);
    }

    .example-facts div:nth-child(2n) {
        border-right: 0;
    }

    .example-parameter-list div {
        gap: 4px;
        grid-template-columns: 1fr;
        padding: 10px 0;
    }

    .example-video-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-page {
        padding-bottom: 52px;
    }

    .project-detail-content {
        font-size: 14px;
        line-height: 1.8;
        margin-top: 24px;
    }

    .profile-section {
        margin-top: 28px;
    }

    .page-intro,
    .compact-catalog .page-intro,
    .note-catalog .page-intro {
        margin-bottom: 18px;
        padding: 0 0 8px 2em;
    }

    .profile-title,
    .profile-section h2 {
        padding-left: 12px;
    }

    .profile-recruitment p {
        margin-left: 0;
        padding-left: 0;
    }

    .timeline-row {
        align-items: start;
        gap: 2px 10px;
        grid-template-columns: 34px minmax(0, 1fr) auto;
        min-height: 88px;
        padding: 12px 4px;
    }

    .profile-history .timeline-row {
        line-height: 1.25;
        min-height: 76px;
        padding-bottom: 8px;
        padding-top: 8px;
    }

    .timeline-logo {
        grid-column: 1;
        grid-row: 1 / 4;
        margin-top: 2px;
    }

    .timeline-period {
        grid-column: 2;
        grid-row: 1;
    }

    .timeline-institution {
        grid-column: 2 / 4;
        grid-row: 2;
        padding-left: 0;
    }

    .timeline-unit {
        font-size: 13px;
        grid-column: 2 / 4;
        grid-row: 3;
    }

    .timeline-role {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (max-width: 430px) {
    .brand-field {
        font-size: 14px;
    }

    .page-heading p {
        max-width: 230px;
    }

    .article-title {
        font-size: 15px;
    }
}
