/* Small additions to al-folio's original responsive layouts. */
html { scroll-padding-top: 6rem; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 2000; padding: .65rem 1rem; background: var(--global-bg-color); border: 2px solid var(--global-theme-color); }
.skip-link:focus { top: 1rem; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--global-theme-color); outline-offset: 4px; }
.profile img { width: 100%; height: auto; }
/* The original portrait is 3:4; display its lower 80%. */
.profile figure { position: relative; aspect-ratio: 15 / 16; overflow: hidden; border-radius: .25rem; }
.profile picture { position: absolute; inset: 0; display: block; }
.profile picture img { position: absolute; bottom: 0; left: 0; height: 125%; object-fit: cover; }
.profile .more-info { font-family: inherit; font-size: .85rem; line-height: 1.6; }
.profile .more-info p { display: block; margin: .1rem 0; }
.post-header .desc { font-size: .98rem; line-height: 1.7; }
.post article > .clearfix h3 { margin-top: 1.7rem; font-size: 1.3rem; }
.post article > .clearfix li { margin-bottom: .4rem; }
.about-links { margin-top: 1.4rem; }
.about-links a { white-space: nowrap; }
.publication-legend { color: var(--global-text-color-light); font-size: .88rem; margin: 0 0 1.7rem; }
.publications .title { line-height: 1.5; }
.publications .abbr { margin-top: .25rem; }
.publications ol.bibliography .abbr abbr.badge { color: #fff !important; box-shadow: none; line-height: 1.15; white-space: nowrap; text-decoration: none; }
.publications h2.bibliography { color: var(--global-text-color-light); font-size: 1.35rem; }
.publications .author { line-height: 1.65; }
.publications .author em { font-style: normal; font-weight: 600; }
.publications .periodical { line-height: 1.6; }
.publications .periodical + .periodical:not(:empty) { color: var(--global-theme-color); font-size: .88rem; font-weight: 500; }
.publications ol.bibliography li { margin-bottom: 1.8rem; }
.cv .card { box-shadow: none; border: 1px solid var(--global-divider-color); border-radius: 4px; }
.cv .card-title { font-size: 1.35rem; margin-bottom: 1.1rem; }
.cv .publications { margin-top: 0; }
.cv .publications h2 { font-size: 1.15rem; }
.cv .publications .col-sm-10 { flex-basis: 100%; max-width: 100%; }
.cv .table-cv { margin-bottom: .4rem; }
.cv .table-cv .badge { white-space: normal; line-height: 1.55; font-size: .72rem; padding: .4rem .6rem; }
.cv-download { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; margin-top: .7rem; border: 1px solid var(--global-theme-color); padding: .45rem .7rem; border-radius: 3px; }
.cv-pdf-actions { margin: -1rem 0 1rem; text-align: right; font-size: .9rem; }
.cv-pdf-frame { display: block; width: 100%; height: calc(100vh - 190px); min-height: 760px; border: 1px solid var(--global-divider-color); border-radius: 4px; background: #f3f3f3; }
footer.sticky-bottom { margin-top: 4rem; }
@media (max-width: 575.98px) {
  .profile { width: 100%; float: none !important; margin: 0 0 1.6rem !important; }
  .profile figure { max-width: 230px; margin: 0 auto 1rem; }
  .profile .more-info { text-align: center; }
  .post-title { font-size: 2.35rem; }
  .cv-download { float: none !important; display: flex; width: max-content; margin: .85rem 0 1rem; }
  .cv-pdf-frame { min-height: 560px; height: calc(100vh - 170px); }
  .cv .list-group-item { padding-left: 0; padding-right: 0; }
  .cv .row > div[style] { width: auto !important; padding-left: 15px; }
  .publications .row { margin-right: 0; }
  .publications .abbr { margin-bottom: .35rem; }
  .publications ol.bibliography .abbr abbr.badge { width: auto !important; max-width: 100%; }
}
@media print {
  nav, footer, .cv-download, .skip-link, .social, .links { display: none !important; }
  body { padding-top: 0 !important; color: #000; background: #fff; }
  .container { max-width: 100%; }
  .cv .card { break-inside: avoid; }
}
