:root {
  color-scheme: light;
  --blue-dark: #082d7b;
  --blue-nav: #0a3185;
  --blue-active: #2865df;
  --link: #2459cf;
  --ink: #202c38;
  --muted: #6b7784;
  --line: #d6dce2;
  --soft-blue: #eef5fc;
  --panel-blue: #337ebd;
  --panel-blue-dark: #2765d5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: var(--link); }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #e4bd62; outline-offset: 2px; }
.container { width: min(1425px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 30; padding: 10px 14px; background: #fff; color: var(--blue-dark); border: 2px solid var(--blue-dark); }
.skip-link:focus { top: 10px; }

.site-header { position: sticky; top: 0; z-index: 50; color: #fff; background: var(--blue-dark); box-shadow: 0 2px 5px rgba(0,0,0,.16); }
.brand-row { min-height: 112px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.brand-logo { display: block; width: auto; max-width: 82px; height: 67px; object-fit: contain; object-position: center; }
.brand-mark { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid rgba(255,255,255,.72); color: #fff; font: 700 30px Georgia, serif; }
.brand-copy { display: block; color: #fff; font-size: 27px; line-height: 1.25; font-weight: 400; }
.brand-copy strong { font: inherit; }
.nav-band { background: var(--blue-nav); border-top: 1px solid rgba(255,255,255,.13); }
.nav-row { min-height: 61px; display: flex; align-items: stretch; gap: 3px; }
.nav-home, .nav-link, .browse-menu > summary { display: flex; align-items: center; min-height: 61px; padding: 0 17px; color: #c5cedb; font-size: 16px; text-decoration: none; cursor: pointer; }
.nav-home:hover, .nav-link:hover, .browse-menu > summary:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-home.active { color: #fff; background: var(--blue-active); font-weight: 600; }
.browse-menu { position: relative; display: flex; }
.browse-menu > summary { list-style: none; }
.browse-menu > summary::-webkit-details-marker { display: none; }
.browse-dropdown { position: absolute; z-index: 20; display: none; top: 100%; left: 0; min-width: 235px; padding: 5px 0; border: 1px solid #d1d8df; background: white; box-shadow: 0 5px 14px rgba(0,0,0,.17); }
.browse-menu[open] .browse-dropdown { display: grid; }
.browse-dropdown a { padding: 9px 14px; color: #33485a; font-size: 14px; text-decoration: none; }
.browse-dropdown a:hover { color: var(--link); background: #f0f5fa; }
.site-search { display: flex; align-items: center; gap: 5px; margin: 0 0 0 auto; padding: 0 15px; }
.site-search input { width: min(320px, 24vw); height: 42px; padding: 7px 11px; border: 1px solid #b9c3cf; border-radius: 4px; background: white; color: var(--ink); }
.site-search input::placeholder { color: #9299a0; }
.site-search button { width: 48px; height: 42px; border: 1px solid #3970d7; border-radius: 4px; color: white; background: #1746ac; font-size: 25px; line-height: 1; cursor: pointer; }
.site-search button:hover { background: #2865df; }

main.container { min-height: 58vh; padding-bottom: 46px; }
.breadcrumb { display: flex; align-items: center; min-height: 46px; margin: 18px 0 48px; padding: 0 18px; list-style: none; border-radius: 4px; background: var(--soft-blue); color: #34495e; font-size: 13px; }
.breadcrumb a { color: #34495e; text-decoration: none; }
.breadcrumb .separator { margin: 0 8px; color: #7e8b96; }
.home-grid { display: grid; grid-template-columns: minmax(310px, 1fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.section-title { margin: 0 0 11px; font-size: 28px; line-height: 1.3; font-weight: 500; }
.section-intro { margin: 0 0 12px; font-size: 17px; }
.browse-columns { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.browse-column h3 { margin: 0 0 7px; font-size: 16px; font-weight: 400; }
.list-group { display: flex; flex-direction: column; }
.list-group-item { position: relative; display: flex; justify-content: space-between; align-items: start; gap: 10px; min-height: 48px; margin-top: -1px; padding: 11px 14px; border: 1px solid var(--line); background: #fff; color: var(--link); text-decoration: none; line-height: 1.35; }
.list-group-item:first-child { margin-top: 0; border-radius: 4px 4px 0 0; }
.list-group-item:last-child { border-radius: 0 0 4px 4px; }
.list-group-item:only-child { border-radius: 4px; }
.list-group-item:hover { z-index: 1; background: #f7faff; text-decoration: underline; }
.collection-list .list-group-item { min-height: 62px; padding: 16px 38px; font-size: 18px; }
.badge { flex: 0 0 auto; min-width: 27px; padding: 1px 7px; border-radius: 15px; background: #999; color: white; text-align: center; font-size: 12px; line-height: 1.5; font-weight: 700; }
.more-link { display: block; margin: 9px 4px 0 0; color: var(--link); text-align: right; text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.empty-note { margin: 0; padding: 15px; border: 1px dashed #bdc8d2; border-radius: 4px; color: var(--muted); font-size: 14px; }

.panel { margin: 48px 0 40px; border: 1px solid #2865d5; border-radius: 4px; overflow: hidden; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 16px; color: white; background: linear-gradient(180deg, #2865df, #337ebd); }
.panel-heading h2 { margin: 0; font-size: 17px; font-weight: 500; }
.panel-heading a { color: white; font-size: 13px; text-decoration: none; }
.panel-heading a:hover { text-decoration: underline; }
.recent-list { padding: 0 18px; }
.recent-list .record-row { grid-template-columns: 145px minmax(0,1fr) auto; }
.record-row { display: grid; grid-template-columns: 125px minmax(0,1fr) auto; gap: 13px; align-items: center; min-height: 51px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.record-row:last-child { border-bottom: 0; }
.record-date { color: #4c5a67; font-size: 14px; }
.record-title { color: var(--link); font-size: 15px; }
.record-author { display: block; color: var(--muted); font-size: 13px; }
.record-arrow { color: var(--link); font-size: 17px; }
.record-row:hover .record-title { text-decoration: underline; }

.site-footer { margin-top: 38px; padding: 23px 0; border-top: 1px solid #d7dde3; background: #f3f5f7; color: #415261; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { color: #26435d; }
.footer-brand .brand-logo { height: 38px; max-width: 54px; }
.footer-brand .brand-mark { width: 38px; height: 38px; border-color: #718496; color: #173c61; font-size: 20px; }
.footer-brand .brand-copy { color: #26435d; font-size: 14px; }
.footer-copy, .footer-links { color: #627280; font-size: 12px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #315f90; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.subpage-hero { padding: 25px 0 26px; border: 1px solid #d7dde3; border-radius: 4px; background: linear-gradient(#f5f5f5, #ededed); }
.subpage-hero .container { width: min(100% - 40px, 1425px); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #5d6b78; font-size: 13px; }
.breadcrumbs a { color: #47617a; text-decoration: none; }
.breadcrumbs a:hover { color: var(--link); text-decoration: underline; }
.subpage-hero h1 { display: inline-block; margin: 27px 12px 4px 0; font-size: 34px; line-height: 1.2; font-weight: 500; }
.subpage-hero p { max-width: 900px; margin: 7px 0 0; color: #626e78; font-size: 15px; }
.subpage-body { padding: 32px 0 60px; }
.subpage-meta { display: flex; align-items: center; gap: 22px; margin: 0 0 21px; color: #586775; font-size: 14px; }
.subpage-meta strong { color: var(--ink); }
.child-collections { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 26px; }
.child-collections a { padding: 8px 14px; border: 1px solid var(--line); margin-right: -1px; background: #f8f9fa; color: var(--link); text-decoration: none; }
.child-collections a:hover { background: #eef5fc; text-decoration: underline; }
.subpage-list { display: grid; }
.subpage-list .record-row { grid-template-columns: 145px minmax(0,1fr) auto; border-top: 1px solid var(--line); border-bottom: 0; }
.subpage-list .record-row:last-child { border-bottom: 1px solid var(--line); }
.collection-title-panel { margin: 24px 0 56px; padding: 26px; border: 1px solid #d5d9de; border-radius: 4px; background: linear-gradient(#f4f4f4, #ededed); }
.collection-title-panel h1 { display: inline; margin: 0 12px 0 0; font-size: 32px; font-weight: 500; }
.collection-title-panel .collection-parent { color: #7c8790; font-size: 20px; }
.collection-title-panel p { margin: 16px 0 0; color: #5f6c77; }
.browse-tabs { margin: 0 0 47px; padding: 0 18px 16px; border: 1px solid #2865d5; border-radius: 4px; }
.browse-tabs h2 { margin: 0 -18px 16px; padding: 11px 18px; background: linear-gradient(180deg, #2865df, #337ebd); color: white; font-size: 17px; font-weight: 500; }
.tab-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.tab-links a { padding: 10px 7px; margin-left: -1px; border: 1px solid #cfd5dc; border-radius: 3px; background: linear-gradient(#fff, #e9e9e9); color: #354759; text-align: center; text-decoration: none; }
.tab-links a:hover { color: var(--link); background: #f5f8fc; }

.record-page { padding: 21px 0 62px; }
.record-page > .breadcrumb { margin: 0 0 24px; padding: 0; background: transparent; }
.record-heading-panel { margin: 0 0 24px; padding: 25px; border: 1px solid #d5d9de; border-radius: 4px; background: linear-gradient(#f4f4f4, #ededed); }
.record-heading-panel h1 { display: inline; margin: 0 12px 0 0; font-size: 33px; line-height: 1.25; font-weight: 500; }
.record-heading-panel .record-home-link { color: #89939b; font-size: 18px; }
.record-type { margin-bottom: 7px; color: #73808b; font-size: 13px; }
.record-byline { display: block; margin-top: 8px; color: #334c62; font-size: 16px; }
.record-description { margin: 0; }
.metadata-table { width: 100%; border-collapse: collapse; margin: 0 0 52px; }
.metadata-table th, .metadata-table td { padding: 11px 10px; border-top: 1px solid #d5dadd; vertical-align: top; text-align: left; }
.metadata-table th { width: 245px; font-weight: 400; }
.metadata-table td { overflow-wrap: anywhere; }
.metadata-table a { text-decoration: none; }
.metadata-table a:hover { text-decoration: underline; }
.files-panel { border: 1px solid #a5d9ef; border-radius: 4px; overflow: hidden; }
.files-panel .panel-heading { justify-content: flex-start; color: #347da8; background: #cceaf6; border-bottom: 1px solid #b6dfef; }
.files-panel .panel-heading h2 { font-size: 16px; }
.table-scroll { width: 100%; overflow-x: auto; }
.files-table, .results-table { width: 100%; border-collapse: collapse; }
.files-table th, .files-table td, .results-table th, .results-table td { padding: 10px; border-bottom: 1px solid #d7dde2; text-align: left; vertical-align: top; }
.files-table th, .results-table th { font-weight: 600; }
.file-button { display: inline-block; padding: 8px 13px; border: 1px solid #173eaf; border-radius: 4px; background: #1746ac; color: #fff; text-decoration: none; white-space: nowrap; }
.file-button:hover { background: #2865df; color: white; }
.abstract-section { margin: 32px 0; }
.abstract-section h2, .keywords-section h2 { font-size: 20px; font-weight: 500; }
.abstract-section p { white-space: pre-line; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: 3px 8px; border: 1px solid #d5e1eb; border-radius: 3px; background: #f2f7fb; color: #355b7b; font-size: 13px; }
.record-footer-note { margin-top: 30px; color: var(--muted); font-size: 13px; }

.plain-page { padding: 0 0 55px; }
.plain-page > .breadcrumb { margin: 18px 0 32px; padding: 0 18px; min-height: 46px; background: var(--soft-blue); }
.plain-page h1 { margin: 0 0 10px; font-size: 30px; font-weight: 500; }
.plain-page .intro { margin: 0 0 23px; color: #5c6873; }
.browse-byline { padding: 18px 0 15px; border-top: 1px solid var(--line); }
.browse-byline h2 { margin: 0 0 9px; font-size: 17px; font-weight: 500; }
.browse-byline ul { margin: 0; padding-left: 23px; }
.browse-byline li { padding: 4px 0; }
.browse-byline a { text-decoration: none; }
.browse-byline a:hover { text-decoration: underline; }
.last-updated { margin-top: 25px; color: var(--muted); font-size: 12px; }
.search-page-title { margin: 0 0 20px; font-size: 29px; font-weight: 500; }
.search-summary { margin: 0 0 10px; color: #5c6873; }
.search-results-area { min-height: 100px; }
.search-results-area .results-table th:first-child { width: 100px; }
.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; }

@media (max-width: 1000px) {
  .brand-copy { font-size: 23px; }
  .nav-home, .nav-link, .browse-menu > summary { padding-inline: 12px; font-size: 14px; }
  .site-search { padding-inline: 7px; }
  .site-search input { width: min(240px, 22vw); }
  .home-grid { grid-template-columns: minmax(250px, .9fr) minmax(0, 1.7fr); gap: 16px; }
  .browse-columns { gap: 10px; }
  .collection-list .list-group-item { padding-inline: 18px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1425px); }
  .brand-row { min-height: 90px; }
  .brand-logo { height: 56px; }
  .brand-mark { width: 51px; height: 51px; }
  .brand-copy { max-width: 70vw; font-size: 19px; }
  .nav-row { flex-wrap: wrap; align-items: center; padding-bottom: 6px; }
  .nav-home, .nav-link, .browse-menu > summary { min-height: 46px; }
  .site-search { order: 2; width: 100%; padding: 4px 0 3px; }
  .site-search input { width: 100%; }
  .site-search button { flex: 0 0 48px; }
  .home-grid { grid-template-columns: 1fr; gap: 34px; }
  .browse-columns { grid-template-columns: 1fr 1fr; gap: 22px 13px; }
  .breadcrumb { margin-bottom: 32px; }
  .collection-list .list-group-item { min-height: 53px; padding: 13px 15px; font-size: 16px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .record-row, .recent-list .record-row, .subpage-list .record-row { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .record-date { grid-column: 1 / -1; }
  .record-arrow { grid-column: 2; grid-row: 2 / 4; }
  .subpage-hero h1, .collection-title-panel h1, .record-heading-panel h1 { font-size: 27px; }
  .metadata-table th { width: 36%; }
  .metadata-table th, .metadata-table td { padding: 9px 7px; }
  .tab-links { grid-template-columns: 1fr 1fr; }
  .files-table { min-width: 650px; }
}
@media (max-width: 460px) {
  .brand-copy { font-size: 16px; }
  .brand-logo { max-width: 58px; height: 48px; }
  .brand-mark { width: 44px; height: 44px; font-size: 23px; }
  .nav-home, .nav-link, .browse-menu > summary { padding-inline: 8px; font-size: 13px; }
  .browse-columns { grid-template-columns: 1fr; }
  .breadcrumb { min-height: 40px; margin-top: 12px; padding-inline: 12px; }
  .section-title { font-size: 25px; }
  .record-heading-panel, .collection-title-panel { padding: 17px; }
  .metadata-table th { width: 34%; }
  .metadata-table th, .metadata-table td { font-size: 14px; }
  .panel-heading { align-items: flex-start; }
}
