/* Site-specific integration of the supplied kiyotakali reference.
   Base layout and component styles are copied unchanged into reference-*.css.
   See kiyotakali-LICENSE.txt for the reference project's MIT license. */
@font-face {
  font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700;
  font-display: swap; src: url('../fonts/space-grotesk.woff2') format('woff2');
}
html { scroll-padding-top: 24px; }
html { background-image: radial-gradient(ellipse at 12% 18%, rgba(53,136,185,.045), transparent 52%), radial-gradient(ellipse at 88% 72%, rgba(110,115,190,.045), transparent 52%); background-attachment: fixed; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 8px 16px; background: white; }
.skip-link:focus { top: 8px; }
a:focus-visible { outline: 2px solid var(--c-hover-border); outline-offset: 3px; }
.page__content h2.section-heading { font-size: 21px; font-weight: 1000; letter-spacing: -.015em; border: 0; padding-bottom: .5em; margin-top: 1.5em; }
.page__content .home-intro h1 { margin-top: 0; }
.content-container { max-width: none; padding: 0; }
.home-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1em 0 1.5em; }
.academic-button { display: inline-flex; align-items: center; gap: .42em; padding: .42em .78em; border: 1.5px solid var(--c-border); border-radius: 8px; color: var(--c-text); background: linear-gradient(135deg,var(--c-bg-start),var(--c-bg-end)); font-size: .88em; font-weight: 600; text-decoration: none !important; }
.academic-button:hover { background: linear-gradient(135deg,var(--c-hover-start),var(--c-hover-end)); border-color: var(--c-hover-border); color: var(--c-hover-text); }
.news-content--complete { max-height: none; overflow: visible; mask-image: none; -webkit-mask-image: none; }
.education-entry { display: flex; align-items: center; gap: 20px; margin: 1em 0 1.4em; }
.education-logo { display: block; width: 100px; flex: 0 0 100px; }
.education-logo img { display: block; width: 100%; height: 100px; object-fit: contain; }
.education-details { min-width: 0; flex: 1; }
.education-entry + .education-entry { padding-top: 1.2em; border-top: 1px solid var(--h1-border); }
.education-stage { display: inline-flex; align-items: center; gap: .45em; margin-bottom: .6em; padding: .15em .65em; border: 1px solid var(--c-border); border-radius: 5px; background: linear-gradient(135deg, var(--c-bg-start), var(--c-bg-end)); color: var(--c-text); font-size: .85em; }
.page__content .entry-heading h3 { margin: 0 0 .3em; font-size: 17px; }
.entry-date { display: block; margin-bottom: .3em; }
.page__content .education-entry p { margin: 0 0 .25em; }
.dated-list time { margin-right: .35em; }
.dated-list time::after { content: ":"; }
.dated-list li { margin-bottom: .6em; }
.service-list { margin-top: 1em; }
.service-list li { margin-bottom: .8em; }
.publications-intro { margin-bottom: 1.5em; }
.publication-list { margin: 0; padding: 0; list-style: none; }
.publication-list > li { margin: 0; padding: 0; }
.publication-card { scroll-margin-top: 24px; }
.page__content .publication-title { margin: 0 0 .3em; font-size: 1.2em; line-height: 1.5; }
.publication-title a { text-decoration: none; }
.publication-author { display: inline-block; }
.author-highlight { color: #000; }
.page__content .publication-authors { margin: .4em 0; }
.publication-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4em; margin-bottom: .3em; }
.badge.journal { background-color: #5b738f; box-shadow: 0 4px 6px rgba(91,115,143,.28); }
.page__content .publication-role { margin: .3em 0; font-size: .85em !important; opacity: .8; }
.paper-box--text-only .paper-box-text { max-width: 100%; padding-left: 0; flex-basis: 100%; }
.paper-box-image a { color: inherit; }
.site-footer { text-align: center; margin: 3em 0 1.5em; font-size: small; position: relative; }
.site-footer .academic-footer { margin-top: .5em; }
.site-footer .academic-footer span { display: block; }
@media (min-width: 925px) {
  /* The reference's pixel and em breakpoints differ near 925px; keep the
     desktop columns constrained through that transition. */
  .sidebar { position: sticky; top: 0; align-self: flex-start; flex: 0 0 15.2542372881%; width: 15.2542372881%; min-width: 0; margin-right: 1.6949152542%; }
  .page { width: 83.0508474576%; padding-left: 4.2372881356%; padding-right: 0; }
}
@media (max-width: 924px) {
  .site-nav__links { justify-content: flex-start; }
  .paper-box--text-only { flex-direction: column; align-items: stretch; }
  .author__content { overflow-wrap: anywhere; }
}
@media (max-width: 767px) {
  .paper-box .paper-box-image > div { width: 100%; max-width: 100%; }
  .paper-box .paper-box-image img { max-width: 100%; height: auto; }
  .education-entry { gap: 16px; align-items: flex-start; }
  .education-logo { width: 72px; flex-basis: 72px; margin-top: 5px; }
  .education-logo img { height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
