:root { --ink: #202a29; --muted: #53625d; --green: #174d40; --line: #dce4df; }
body { color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.7; background: #fff; }
a { color: var(--green); text-underline-offset: .19em; text-decoration-thickness: 1px; }
a:hover { color: #0c3329; }
a:focus-visible, button:focus-visible { outline: 3px solid #ab6928; outline-offset: 5px; }
h1, h2, h3, .navbar-brand { font-family: Georgia, "Times New Roman", serif; color: var(--ink); }
h1 { font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.3rem); letter-spacing: -.045em; line-height: 1.08; }
h2 { font-weight: 400; letter-spacing: -.025em; font-size: 1.9rem; margin-top: 2.4rem; }
.navbar { border-bottom: 1px solid var(--line); padding: 1.15rem max(1rem, calc((100vw - 1160px) / 2)); background: #fff !important; }
.navbar-brand { font-size: 1.38rem; letter-spacing: -.02em; }
.navbar-nav .nav-link { color: #45554f; font-size: .94rem; padding-inline: .75rem !important; }
.navbar-nav .nav-link.active { color: var(--green); font-weight: 600; }
.navbar .navbar-nav.ms-auto .nav-link { border: 1px solid var(--green); border-radius: 3px; padding: .35rem .9rem !important; }
#quarto-content { padding-top: 2.4rem; }
#quarto-document-content { padding-bottom: 3rem; }
.quarto-title-block { margin-bottom: 2.5rem; }
.profile { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; max-width: 1120px; margin: 2rem auto 4rem; }
.eyebrow { display: inline-block; font-size: .875rem; color: var(--green); letter-spacing: .13em; font-weight: 650; margin-bottom: .9rem; }
.profile h1 { margin: 0 0 1.2rem; }
.profile .role { font-size: 1.17rem; color: var(--muted); }
.profile-copy > p { max-width: 39rem; }
.profile-photo img { width: 100%; height: auto; border-radius: 3px; }
.profile-photo p, .profile-photo figure { margin: 0; }
.profile-photo .quarto-figure { margin: 0; }
.profile-photo figcaption { display: none; }
.profile-links { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.2rem; }
.profile-links p { display: contents; }
.primary-link, .secondary-link { display: inline-block; padding: .65rem 1.15rem; border: 1px solid var(--green); border-radius: 3px; text-decoration: none; font-size: .98rem; }
.primary-link { background: var(--green); color: white; }
.primary-link:hover { background: #103b30; color: white; }
.home-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; border-top: 1px solid var(--line); max-width: 1120px; margin: auto; padding: .5rem 0 2.5rem; }
.home-column h2 { margin-top: 1.8rem; }
.home-column p { color: var(--muted); }
.project-band { max-width: 1120px; margin: 0 auto 1rem; padding: 1.4rem 2rem; background: #f0f5f2; border-left: 3px solid var(--green); }
.project-band h2 { margin-top: 0; font-size: 1.6rem; }
.project-band p:last-child { margin-bottom: 0; }
.bibliography-list ul { list-style: none; padding-left: 0; }
.bibliography-list li { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.bibliography-list li:first-child { padding-top: .3rem; }
.bibliography-list li > p { margin-bottom: 0; }
.contact-email { font-size: clamp(1.3rem, 4vw, 1.75rem); }
.nav-footer { border-top: 1px solid var(--line); color: var(--muted); padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: .9rem; }
@media (max-width: 767px) {
 #quarto-content { padding-top: 1rem; }
 .profile { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1rem; margin-bottom: 2.5rem; }
 .profile-photo { grid-row: 1; max-width: 260px; }
 .home-sections { grid-template-columns: 1fr; gap: 0; }
 .project-band { padding: 1.2rem; }
 .navbar { padding: .8rem 1rem; }
 .navbar .navbar-nav.ms-auto .nav-link { display: inline-block; margin-top: .4rem; }
 h1 { font-size: 2.75rem; }
}
@media print { .navbar, .nav-footer, #quarto-margin-sidebar { display: none; } a { color: inherit; } }

.quarto-title-block:empty { display: none; }

/* Original menu restored as persistent left navigation. */
#quarto-sidebar { border-right: 1px solid var(--line); background: #fff !important; padding: 1.5rem 1.2rem 1.5rem 1rem; }
#quarto-sidebar .sidebar-item-text { font-size: .925rem; line-height: 1.5; }
#quarto-sidebar .sidebar-item { margin-bottom: .35rem; }
#quarto-sidebar .sidebar-section { margin-top: 1.15rem; }
#quarto-sidebar .sidebar-section .sidebar-item-text { font-size: .875rem; }
.profile { gap: 2rem; grid-template-columns: 1.3fr 1fr; margin-top: .5rem; }
.profile h1 { font-size: clamp(2.5rem, 4vw, 3.7rem); }
.profile-photo { align-self: start; margin-top: 1rem; }
.home-sections { gap: 2rem; }
@media (max-width: 1199px) { .profile { grid-template-columns: 1fr; } .profile-photo { max-width: 300px; grid-row: 1; } }
@media (max-width: 767px) { .profile-photo { max-width: 240px; } }

/* Economic feeds occupy the right margin; content stays in the center. */
#quarto-margin-sidebar { padding: 1.5rem 0 1.5rem 1rem; border-left: 1px solid var(--line); }
.news-rail { font-size: .9rem; line-height: 1.5; }
.news-rail h2.news-rail-title { font-family: inherit; font-size: .9rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; border: 0; padding: 0; margin: 0 0 1.5rem; }
.news-feed { margin-bottom: 1.8rem; }
.news-feed h3 { font-family: inherit; font-size: 1rem; font-weight: 650; margin: 0 0 .65rem; line-height: 1.4; }
.news-feed h3 a { text-decoration: none; }
.news-feed ul { list-style: none; padding: 0; margin: 0; }
.news-feed li { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.news-feed li a { text-decoration: none; }
.news-feed li a:hover { text-decoration: underline; }
.news-date, .feed-status { color: var(--muted); font-size: .875rem; }
.news-date { display: block; margin-top: .25rem; }
.feed-status { margin: .7rem 0 0; }
@media (min-width: 1200px) { #quarto-margin-sidebar { max-height: calc(100vh - 6rem); overflow-y: auto; } }
@media (max-width: 991px) {
 #quarto-margin-sidebar { display: block !important; grid-column: body-content-start / body-content-end; grid-row: content-bottom / page-bottom; position: static !important; border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0; margin-top: 2rem; width: auto !important; }
 #quarto-margin-sidebar > .quarto-margin-header { display: block !important; }
 .news-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); column-gap: 1.5rem; }
 .news-rail-title { grid-column: 1 / -1; }
}
@media print { .news-rail { display: none; } }
