/* Publication and service rows retain the classic academic layout. */
[hidden] { display: none !important; }
.publication-filters { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1rem 0; }
.publication-filters button { padding: .45rem .9rem; border: 1px solid #0a6daf; border-radius: 4px; background: white; color: #075d94; cursor: pointer; font: inherit; font-size: .85em; }
.publication-filters button[aria-pressed="true"] { color: white; background: #0a6daf; }
.publication-list { max-height: var(--publication-list-height, 44rem); overflow-y: auto; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #a9b8c3 #f5f7f9; }
.publication-list:focus-visible { outline: 2px solid #0a6daf; outline-offset: 3px; }
.publication-entry { display: grid; grid-template-columns: 175px minmax(0, 1fr); align-items: start; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid #edf0f2; }
.publication-entry .paper-box-image, .publication-entry .paper-box-text { display: block; width: auto; max-width: none; min-width: 0; padding: 0; order: initial; }
.publication-entry .badge { display: block; min-width: 0; margin: 0; padding: .4rem .65rem; font-size: .73em; line-height: 1.5; }
.publication-entry p { margin: 0 0 .4rem; }
.publication-title { font-weight: 600; }
.publication-links, .publication-note { font-size: .82em; }
.publication-note { color: #545e66; }
.reviewer-list { list-style: none; }
.reviewer-list summary { position: relative; cursor: pointer; list-style: none; border-radius: 4px; }
.reviewer-list summary::-webkit-details-marker { display: none; }
.reviewer-list summary::before { content: ''; position: absolute; left: -1em; top: .5em; width: .4em; height: .6em; background: #0a6daf; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.reviewer-list details[open] > summary::before { transform: rotate(90deg); }
.reviewer-list summary:hover { color: #075d94; }
.reviewer-list summary:focus-visible { outline: 2px solid #0a6daf; outline-offset: 3px; }
.reviewer-years { display: block; margin-top: .25rem; color: #545e66; font-size: .9em; }
a:focus-visible, button:focus-visible { outline: 2px solid #0a6daf; outline-offset: 3px; }
@media (max-width: 600px) {
  .publication-list { max-height: min(var(--publication-list-height, 44rem), 75vh); }
  .publication-entry { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .publication-entry .badge { display: inline-block; }
}
@media print {
  .publication-list { max-height: none; overflow: visible; }
}

/* Travel page: a quiet, typographic interlude. */
.travel-page { max-width: 42rem; margin: 0 auto; padding: .5rem 0 3rem; }
.travel-page .travel-kicker { margin: 0 0 2.4rem; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; font-weight: 600; letter-spacing: 0; text-align: center; color: #0a6daf; }
.travel-page .travel-lead { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.32rem; line-height: 1.95; color: #27303c; }
.travel-page .travel-ornament { display: block; width: 132px; height: 11px; margin: 2.8rem auto; }
.travel-page .travel-poem { margin: 0; padding: 0; border: 0; text-align: center; }
.travel-page .travel-poem p { margin: 0 0 1.5rem; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.6rem; line-height: 1.8; color: #1b2430; }
.travel-page .travel-poem cite { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.02rem; letter-spacing: 0; color: #545e66; }
.travel-page .travel-coda { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.36rem; line-height: 1.9; color: #27303c; text-align: center; }
@media (max-width: 600px) {
  .travel-page .travel-kicker { font-size: 1.3rem; margin-bottom: 1.8rem; }
  .travel-page .travel-lead { font-size: 1.16rem; line-height: 1.8; }
  .travel-page .travel-poem p { font-size: 1.34rem; }
  .travel-page .travel-coda { font-size: 1.18rem; }
}
