/* Small bibliography additions; Academic Pages layouts and themes are retained. */
[hidden] { display: none !important; }
/* Keep the footer after long publication lists instead of covering the viewport. */
.page__footer { position: relative; bottom: auto; }
body { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.bibliography-entry { margin: 1.4em 0 1.7em; }
.bibliography-entry .bibliography-title { margin: 0 0 .4em; font-size: 1em; line-height: 1.5; }
.bibliography-entry p { margin: .35em 0; }
.bibliography-authors, .bibliography-venue { font-size: .85em; line-height: 1.65; }
.bibliography-venue { font-style: italic; }
.bibliography-links { display: flex; flex-wrap: wrap; gap: .8em; font-size: .8em; }
.bibliography-links a { border: 1px solid currentColor; border-radius: 3px; padding: .15em .55em; text-decoration: none; }
.bibliography-links a:hover { text-decoration: underline; }
.bibliography-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .7em; margin: 1.5em 0 .5em; }
.bibliography-filters label { flex: 1 1 135px; min-width: 0; margin: 0; font-size: .75em; }
.bibliography-filters label:first-child { flex: 2 1 240px; }
.bibliography-filters input, .bibliography-filters select { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; margin: .4em 0 0; height: 42px; min-height: 42px; border: 1px solid #8b9095; border-radius: 3px; padding: .5em; color: var(--global-text-color); background: var(--global-bg-color); }
.bibliography-filters .btn { min-height: 42px; margin: 0; }
.bibliography-filters input::placeholder { color: var(--global-text-color); opacity: .7; }
.bibliography-count { font-size: .75em; }
.page__title-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6em 1em; margin-bottom: 1em; }
.page__title-row .page__title { margin: 0; }
.page-language-switch { display: flex; flex-wrap: wrap; gap: .5em; margin: 0; font-size: .7em; }
.page-language-switch a { display: inline-block; padding: .45em .9em; border: 1px solid currentColor; border-radius: 4px; text-decoration: none; }
.page-language-switch a:hover { text-decoration: underline; }
.page-language-switch a[aria-current="page"] { color: var(--global-text-color); font-weight: 700; border-width: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #438fa8; outline-offset: 3px; }
@media print { .masthead, .page__footer, .bibliography-filters { display: none; } .bibliography-entry { break-inside: avoid; } }
