@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap");

:root {
  --academic-blue: #183b68;
  --ink: #231f20;
  --muted: #5b6270;
  --rule: #d9dee7;
  --page-width: 1060px;
  --page-gutter: clamp(1.25rem, 3.5vw, 2.5rem);
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-padding-top: 1.5rem; }

body {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

#quarto-content.page-columns {
  grid-template-columns:
    [screen-start] minmax(var(--page-gutter), 1fr)
    [screen-start-inset page-start page-start-inset body-start-outset body-start body-content-start]
    minmax(0, var(--page-width))
    [body-content-end body-end body-end-outset page-end-inset page-end screen-end-inset]
    minmax(var(--page-gutter), 1fr) [screen-end];
}
main.content {
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding: 0;
}
.quarto-title-block { display: none; }

h1, h2, h3 {
  color: var(--academic-blue);
  font-family: var(--sans);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(1.95rem, 3.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 2.75rem 0 1rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 .35rem;
}

p { margin: 0 0 1rem; }

a {
  color: #173f61;
  text-decoration-thickness: .06em;
  text-underline-offset: .16em;
}
a:hover, a:focus { color: #0f2f4a; }

.profile-section {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: clamp(2.75rem, 5vw, 4.75rem);
  align-items: start;
  padding: clamp(3.25rem, 6vw, 4.75rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.profile-photo,
.profile-copy { margin: 0; }

.profile-photo p { margin: 0; }

.profile-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.profile-copy h1 { margin-top: -.06em; }
.profile-copy p { margin-bottom: .9rem; }
.profile-contact { margin-top: 1.05rem; }
.profile-contact p { margin-bottom: .45rem; }

.content-section { padding: 0 0 clamp(3.5rem, 6vw, 4.75rem); }
.content-section > h2:first-child { margin-top: 0; }
.paper-entry { margin: 0 0 2.15rem; }
.paper-entry p { margin: .55rem 0 0; }
/* Keep authors close to the paper title */
.paper-entry h3 {
  margin-bottom: 0.1rem;
}
.paper-entry h3 + p {
  margin-top: 0.15rem;
}
/* Keep the former-title line close to the preceding metadata */
.paper-entry p:has(.former-title) {
  margin-top: 0rem;
}
.paper-entry h3,
.paper-entry h3 a {
  color: var(--academic-blue);
  font-size: 1.05rem;
  font-weight: 700;
}

.discussion-list strong {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}
.paper-entry h3 a:hover,
.paper-entry h3 a:focus { color: #0f2f4a; }
.paper-entry h3 a.paper-title-ssrn {
  margin-left: .45rem;
  color: #8b1e3f;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: .02em;
  vertical-align: baseline;
}

.paper-entry h3 a.paper-title-ssrn:hover,
.paper-entry h3 a.paper-title-ssrn:focus {
  color: #5f142b;
}
.research-description p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  text-align-last: left;
}
.coauthors { color: var(--ink); font-weight: 400; }
.former-title { color: var(--muted); font-size: .94rem; }
.discussion-list p { margin: 0 0 1rem; }

.nav-footer {
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: .88rem;
}

.nav-footer .nav-footer-center,
.nav-footer .nav-footer-left,
.nav-footer .nav-footer-right { padding-block: 1.1rem; }

@media (max-width: 767px) {
  :root { --page-gutter: 1.25rem; }
  body { font-size: .97rem; line-height: 1.62; }
  .profile-section {
    grid-template-columns: 1fr;
    gap: 1.9rem;
    padding: 2.25rem 0 1.75rem;
  }
  .profile-photo { width: min(100%, 280px); margin-inline: auto; }
  .profile-copy { width: 100%; }
  .profile-copy h1 { text-align: center; font-size: 2rem; }
  h2 { margin-top: 2.25rem; }
  .research-description p {
    text-align: left;
    text-align-last: auto;
  }
}

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