/* Shared colours, typography, page structure and responsive layouts. */

:root {
  --navy: #172b4d;
  --teal: #216c70;
  --paper: #faf9f6;
  --line: #dce1df;
  --muted: #586575;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b08b3a;
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -2.4px;
}

h2 {
  font-size: 36px;
  letter-spacing: -0.8px;
}

h3 {
  font-size: 25px;
}

.wrap {
  max-width: 1180px;
  padding-left: 40px;
  padding-right: 40px;
  margin: auto;
}

header {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 246, 0.97);
  border-top: 5px solid var(--navy);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.header-inner {
  padding: 19px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
}

.wordmark {
  color: var(--navy);
  font:
    23px Georgia,
    serif;
  letter-spacing: -0.5px;
}

.wordmark span {
  display: block;
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 2px;
  margin-top: 9px;
}

header nav {
  display: flex;
  align-items: center;
}

header nav a {
  color: var(--navy);
}

#menu-button {
  display: none;
}

.hero {
  display: grid;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 19px;
}

.role {
  font:
    25px Georgia,
    serif;
  margin-top: 18px;
}

.affiliation {
  font-size: 14px;
  color: var(--muted);
  margin-top: 9px;
}

.hero-copy {
  max-width: 610px;
  color: var(--muted);
  font-size: 16px;
}

.leadership {
  font-size: 14px;
  margin-top: 20px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  border: 1px solid #b4c4c6;
  border-radius: 3px;
  padding: 11px 17px;
  font-size: 13px;
  min-height: 46px;
}

.portrait-block {
  padding-top: 9px;
}

.portrait {
  background: #e8edeb;
  border: 1px solid #d5ddda;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.portrait:before {
  content: "";
  position: absolute;
  border: 1px solid #d4ddda;
  inset: 17px;
}

.portrait:after {
  content: "";
  position: absolute;
  border: 1px solid #d4ddda;
}

.portrait:after {
  inset: 25px;
}

.news-layout {
  padding-top: 30px;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 32px;
}

.news-layout h2 {
  font-size: 25px;
}

.news-layout .eyebrow {
  margin-bottom: 10px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-item {
  border-left: 1px solid #ccd7d1;
  padding-left: 20px;
  font-size: 12px;
  color: #4c5d61;
}

.news-item time {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--teal);
  display: block;
  margin-bottom: 10px;
}

.news-item strong {
  font-weight: 600;
  color: var(--navy);
}

.news-item .news-category {
  font-size: 9px;
  text-transform: uppercase;
  background: #dfe8e1;
  padding: 3px 5px;
  margin-left: 5px;
}

.section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: end;
}

.section-intro {
  margin: 18px 0 28px;
  color: var(--muted);
  max-width: 720px;
}

.text-link,
.text-button {
  font-size: 13px;
  color: var(--teal);
}

.text-button {
  background: none;
  border: 0;
  padding: 8px 0;
}

.text-link span {
  margin-left: 10px;
}

.paper {
  border-bottom: 1px solid var(--line);
  display: grid;
}

.paper:first-child {
  border-top: 1px solid var(--line);
}

.paper-year {
  font-family: Georgia, serif;
  color: var(--muted);
  font-size: 18px;
}

.paper h3 a {
  color: var(--navy);
}

.paper-authors {
  color: var(--muted);
}

.paper-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.paper-actions a {
  color: var(--teal);
  cursor: pointer;
}

.recognition {
  display: inline-block;
  margin-top: 11px;
  font-size: 10px;
  letter-spacing: 0.3px;
  color: #715b24;
  background: #f1eadb;
  padding: 4px 8px;
}

.small-heading {
  font:
    600 13px Arial,
    sans-serif;
  margin: 28px 0 18px;
}

.external-links {
  display: flex;
  gap: 18px;
  font-size: 12px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  gap: 15px;
  background: #eef1ed;
}

.filters label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 120px;
}

.filters .search-label {
  flex: 1;
}

input,
select {
  border: 1px solid #cbd4cf;
  background: #fff;
  padding: 10px 12px;
  border-radius: 3px;
  color: var(--navy);
  font-size: 14px;
  min-height: 44px;
  width: 100%;
}

.pub-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

.author-legend {
  font-size: 11px;
  color: var(--muted);
}

#teaching-list {
  padding-top: 20px;
  line-height: 1.9;
}

footer {
  background: var(--navy);
  color: white;
  padding-top: 50px;
}

address {
  font-style: normal;
  font-size: 12px;
  line-height: 1.9;
  color: #c6d1dc;
}

.mobile-nav {
  display: none;
}

#more-menu {
  position: fixed;
  right: 20px;
  top: 88px;
  z-index: 30;
  background: var(--paper);
  box-shadow: 0 10px 35px #172b4d26;
  border: 1px solid var(--line);
  padding: 15px;
  min-width: 240px;
}

#more-menu a {
  display: block;
  padding: 12px;
  font-size: 14px;
}

#more-menu[hidden] {
  display: none;
}

.skip {
  position: absolute;
  top: -100px;
  left: 10px;
  background: white;
  z-index: 100;
  padding: 12px;
}

.skip:focus {
  top: 10px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 850px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .external-links {
    justify-content: flex-end;
  }
}

@media (max-width: 650px) {
  html {
    scroll-padding-top: 82px;
  }

  body {
    font-size: 15px;
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .wrap {
    padding-left: 23px;
    padding-right: 23px;
  }

  .header-inner {
    padding: 15px 23px;
  }

  .wordmark {
    font-size: 20px;
  }

  .wordmark span {
    font-size: 8px;
    margin-top: 6px;
  }

  header nav {
    display: none;
  }

  #menu-button {
    display: block;
    border: 0;
    background: none;
    color: var(--navy);
    padding: 10px;
    font-size: 12px;
  }

  .hero {
    flex-direction: column;
  }

  .hero > div {
    display: contents;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.6px;
    margin-bottom: 0;
  }

  .hero h1 {
    letter-spacing: -1.6px;
  }

  .role {
    font-size: 23px;
    margin-top: -21px;
  }

  .affiliation {
    font-size: 12px;
    margin-top: -24px;
  }

  .hero-copy {
    font-size: 14px;
    order: 2;
    margin-top: -14px;
  }

  .leadership {
    font-size: 13px;
    order: 3;
    margin-top: -12px;
  }

  .actions {
    order: 4;
    margin-top: -6px;
    gap: 8px;
  }

  .button {
    font-size: 12px;
    gap: 12px;
    padding: 10px 13px;
  }

  .portrait-block {
    order: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0;
  }

  .portrait {
    flex-shrink: 0;
  }

  .portrait:before {
    inset: 7px;
  }

  .portrait:after {
    display: none;
  }

  .news-layout {
    padding-block: 26px;
    gap: 20px;
  }

  .news-layout > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .news-layout .eyebrow {
    display: none;
  }

  .news-layout h2 {
    font-size: 24px;
  }

  .news-list {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .news-item {
    border-left: 2px solid #cad7cf;
    padding-left: 15px;
    font-size: 12px;
  }

  .news-item time {
    margin-bottom: 4px;
  }

  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .section-heading {
    flex-direction: column;
    gap: 14px;
  }

  .section-intro {
    font-size: 14px;
    margin: 17px 0 23px;
  }

  .paper-year {
    color: var(--teal);
  }

  .paper-actions a {
    display: inline-flex;
    align-items: center;
  }

  .external-links {
    justify-content: start;
  }

  .filters {
    flex-wrap: wrap;
    gap: 12px;
  }

  .filters .search-label {
    flex-basis: 100%;
  }

  .filters label:not(.search-label) {
    flex: 1;
    min-width: 0;
  }

  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #faf9f6;
    border-top: 1px solid #cbd4cf;
    padding: 5px 10px calc(5px + env(safe-area-inset-bottom));
    justify-content: space-around;
    box-shadow: 0 -5px 20px #172b4d06;
  }

  .mobile-nav a,
  .mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 0;
    background: none;
    color: var(--muted);
    min-height: 52px;
    text-decoration: none;
  }

  .mobile-nav span {
    font-size: 22px;
    line-height: 1.2;
  }

  .mobile-nav a.active {
    color: var(--teal);
    background: #e9efea;
    border-radius: 5px;
  }

  #more-menu {
    top: auto;
    bottom: calc(72px + env(safe-area-inset-bottom));
    left: 15px;
    right: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  header,
  .mobile-nav,
  .filters,
  #more-menu {
    display: none;
  }

  .paper {
    break-inside: avoid;
  }

  body {
    background: white;
  }
}

header nav a[aria-current="page"] {
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
  padding-block: 9px 7px;
}

.header-inner {
  gap: 24px;
}

.wordmark {
  white-space: nowrap;
}

.hero {
  padding-top: 42px;
  padding-bottom: 32px;
  gap: 60px;
  grid-template-columns: 1fr 180px;
}

.hero h1 {
  font-size: 51px;
}

.hero .role {
  font-size: 22px;
  margin-top: 13px;
}

.hero .hero-copy {
  margin-top: 22px;
}

.hero .leadership {
  margin-top: 12px;
}

.hero .actions {
  margin-top: 20px;
}

.portrait {
  height: 210px;
}

.page-index #selected .eyebrow {
  display: none;
}

.page-index #selected h2 {
  font-size: 27px;
}

.page-index #selected .section-heading {
  margin-bottom: 14px;
}

.page-index .news-layout {
  padding-block: 22px;
}

.paper {
  padding: 12px 0;
  grid-template-columns: 48px 1fr;
}

.paper h3 {
  font:
    600 16px/1.45 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: 0;
}

.paper-year {
  font:
    13px Arial,
    sans-serif;
  padding-top: 3px;
}

.paper-authors,
.paper-venue {
  font-size: 12px;
}

.paper-actions {
  line-height: 1.4;
}

.paper-actions a {
  font-size: 11px;
}

.paper .recognition {
  padding: 2px 6px;
  font-size: 10px;
}

.filters {
  padding: 15px;
  margin-top: 24px;
}

.section {
  padding-block: 42px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.biography-page {
  max-width: 900px;
}

.biography-page p:not(.eyebrow) {
  font-size: 15px;
  margin-top: 20px;
}

.biography-page .text-link {
  display: inline-block;
  margin-top: 20px;
}

.contact-page {
  max-width: 900px;
  padding-top: 0;
}

.contact-page p {
  margin-block: 16px;
}

.contact-page address {
  color: var(--muted);
  font-size: 14px;
}

.admin-page {
  min-height: 600px;
}

.admin-page h1 {
  font-size: 38px;
  letter-spacing: -0.8px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.admin-grid h2 {
  font-size: 27px;
}

.admin-grid p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}

.admin-grid details {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 17px;
  font-size: 14px;
}

.admin-grid summary {
  cursor: pointer;
  color: var(--teal);
}

.compact-footer {
  background: var(--paper);
  color: var(--muted);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.compact-footer > .wrap {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 11px;
}

@media (min-width: 651px) and (max-width: 1000px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 9px;
  }

  header nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    gap: 30px;
  }
}

@media (max-width: 650px) {
  .hero {
    padding-block: 27px;
    gap: 22px;
    display: flex;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero .role {
    font-size: 21px;
    margin-top: -15px;
  }

  .hero .affiliation {
    margin-top: -17px;
  }

  .hero .hero-copy {
    margin-top: 0;
  }

  .hero .leadership {
    margin-top: -8px;
  }

  .hero .actions {
    margin-top: 0;
  }

  .portrait {
    width: 78px;
    height: 95px;
  }

  .page-index #selected .section-heading {
    gap: 8px;
  }

  .paper {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .paper-year {
    font-size: 11px;
  }

  .paper-authors,
  .paper-venue {
    font-size: 12px;
  }

  .paper-actions a {
    font-size: 11px;
  }

  .section {
    padding-block: 30px;
  }

  .section h2 {
    font-size: 29px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .admin-page h1 {
    font-size: 32px;
  }

  .admin-grid h2 {
    font-size: 25px;
  }

  .admin-page {
    min-height: auto;
  }

  .compact-footer > .wrap {
    gap: 12px;
    flex-direction: column;
    font-size: 11px;
  }

  .mobile-nav a,
  .mobile-nav button {
    font-size: 12px;
  }

  .contact-page {
    padding-top: 0;
  }

  .page-index .news-layout .eyebrow {
    display: none;
  }

  .page-index .news-layout {
    gap: 17px;
  }
}

.page-index .news-section {
  background: none;
  border: 0;
}

.page-index .news-layout {
  display: block;
  padding-top: 28px;
  padding-bottom: 28px;
}

.page-index .news-layout > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.page-index .news-layout h2 {
  font-size: 27px;
  letter-spacing: -0.5px;
}

.page-index .news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-index .news-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.page-index .news-item:first-child {
  border-top: 1px solid var(--line);
}

.page-index .news-item time {
  font-size: 11px;
  margin: 0;
  line-height: 1.7;
}

.page-index .news-category {
  display: block;
  width: fit-content;
  margin: 4px 0 0;
}

.page-index #selected {
  padding-block: 28px;
}

.research-introduction {
  padding-top: 38px;
  padding-bottom: 24px;
}

.research-introduction h1 {
  font-size: 38px;
  letter-spacing: -0.8px;
}

.research-introduction .eyebrow {
  margin-bottom: 12px;
}

.research-introduction p:not(.eyebrow) {
  max-width: 870px;
  font-size: 15px;
  color: var(--muted);
  margin-top: 16px;
}

.page-research #publications {
  padding-top: 12px;
}

.page-research #publications h2 {
  font-size: 28px;
}

.header-inner {
  max-width: 1240px;
}

header nav {
  gap: 19px;
  font-size: 12px;
}

@media (max-width: 650px) {
  .page-index .news-item {
    grid-template-columns: 1fr;
    font-size: 12px;
  }

  .page-index .news-item time {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .page-index .news-category {
    display: inline-block;
    margin: 0;
  }

  .page-index .news-layout h2 {
    font-size: 27px;
  }

  .page-index .news-layout {
    padding-block: 23px;
  }

  .research-introduction {
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .research-introduction h1 {
    font-size: 31px;
  }

  .research-introduction p:not(.eyebrow) {
    font-size: 14px;
  }

  .page-research #publications {
    padding-top: 6px;
  }
}

.author-phd {
  color: #18703e;
  font-weight: 600;
}

.author-undergraduate {
  color: #b3262d;
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.author-legend {
  margin-top: 12px;
  margin-bottom: 12px;
}

.news-archive-link {
  font-size: 12px;
  min-height: 40px;
  padding: 7px 14px;
}

.page-index #team {
  padding-block: 30px 40px;
}

.page-index #team .eyebrow {
  display: none;
}

.page-index #team h2 {
  font-size: 27px;
}

.page-index #team .section-intro {
  margin: 14px 0 18px;
  font-size: 13px;
}

.page-index #team .small-heading {
  font-size: 16px;
  margin-top: 24px;
}

.news-archive-page h1 {
  font-size: 38px;
  letter-spacing: -0.8px;
}

.news-archive-page .news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 25px;
}

.news-archive-page .news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 25px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  font-size: 14px;
}

.news-archive-page .news-item:first-child {
  border-top: 1px solid var(--line);
}

.news-archive-page .news-item time {
  font-size: 12px;
}

.news-archive-page .news-category {
  display: block;
  width: fit-content;
  margin: 5px 0 0;
}

.location-map {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 25px;
  background: #eef1ed;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.location-map > a {
  display: block;
  padding: 13px 16px;
  font-size: 12px;
  background: var(--paper);
}

@media (max-width: 650px) {
  .hero h1 {
    margin-top: 0;
  }

  .news-archive-page h1 {
    font-size: 31px;
  }

  .news-archive-page .news-item {
    grid-template-columns: 1fr;
    font-size: 13px;
  }

  .news-archive-page .news-item time {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
  }

  .news-archive-page .news-category {
    margin: 0;
  }

  .location-map iframe {
    height: 280px;
  }

  .page-index #team .section-heading {
    gap: 12px;
  }

  .page-index #team .section-heading h2 {
    font-size: 27px;
  }
}

.actions .profile-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  font-size: 13px;
  white-space: nowrap;
}

.actions {
  align-items: center;
}

@media (max-width: 650px) {
  .actions .profile-link {
    font-size: 12px;
    padding-inline: 8px;
  }
}

.bristol-roles {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
}

.bristol-roles li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.bristol-roles strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.bristol-roles span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}

.compact-record {
  padding-top: 23px;
  padding-bottom: 23px;
  border-top: 1px solid var(--line);
}

.compact-record h2 {
  font-size: 25px;
  margin-bottom: 13px;
}

.compact-record ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compact-record li,
.compact-record p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 10px;
}

.compact-record strong {
  font-weight: 600;
  color: var(--navy);
}

.compact-record li:last-child,
.compact-record p:last-child {
  margin-bottom: 0;
}

.compact-record#service {
  padding-bottom: 32px;
}

@media (max-width: 650px) {
  .mobile-nav a,
  .mobile-nav button {
    width: 25%;
  }

  .compact-record {
    padding-block: 21px;
  }

  .compact-record h2 {
    font-size: 25px;
  }

  .compact-record li,
  .compact-record p {
    font-size: 12px;
  }
}

.portrait.portrait-photo {
  height: auto;
  background: none;
  display: block;
  border-radius: 3px;
  overflow: hidden;
}

.portrait.portrait-photo:before,
.portrait.portrait-photo:after {
  display: none;
}

.portrait-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.page-index #team.compact-team {
  padding-block: 24px;
}

.supervision-list {
  margin: 15px 0 12px;
}

.supervision-list > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.75;
}

.supervision-list dt {
  font-weight: 600;
}

.supervision-list dd {
  margin: 0;
}

.supervision-list dd small,
.compact-enquiry {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 650px) {
  .portrait.portrait-photo {
    width: 78px;
    height: auto;
  }

  .supervision-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
    font-size: 12px;
    padding-block: 9px;
  }

  .supervision-list dd small {
    font-size: 11px;
  }

  .page-index #team.compact-team .section-heading {
    gap: 8px;
  }

  .compact-enquiry {
    font-size: 12px;
  }
}

.paper {
  padding-block: 9px;
  gap: 12px;
}

.paper h3 {
  font-size: 15px;
  line-height: 1.35;
}

.paper-authors {
  margin-top: 2px;
  line-height: 1.35;
}

.paper-venue {
  margin-top: 1px;
  line-height: 1.35;
}

.paper-actions {
  margin-top: 3px;
  gap: 14px;
}

.paper .recognition {
  margin-top: 3px;
  padding-block: 1px;
}

.page-index .news-item {
  padding-block: 10px;
  line-height: 1.5;
}

.news-archive-page .news-item {
  padding-block: 16px;
  line-height: 1.5;
}

@media (max-width: 650px) {
  .paper {
    padding-block: 10px;
    gap: 9px;
  }

  .paper h3 {
    font-size: 14px;
    line-height: 1.35;
  }

  .paper-actions {
    margin-top: 1px;
  }

  .paper-actions a {
    min-height: 28px;
  }

  .page-index .news-item {
    padding-block: 10px;
    gap: 3px;
  }

  .news-archive-page .news-item {
    padding-block: 13px;
    gap: 3px;
  }
}

.institution-link,
.wordmark-name {
  color: inherit;
}

.wordmark-name,
.wordmark .institution-link {
  font: inherit;
  letter-spacing: inherit;
}

.biography-page h1 {
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: -0.8px;
}

.actions .profile-link,
.paper h3 a {
  text-decoration: underline;
  text-underline-offset: 0.19em;
  text-decoration-color: #a2b7b4;
}

.paper h3 a:hover,
.actions .profile-link:hover {
  text-decoration-color: currentColor;
}
