/* LMV static site — compact adaptation of WordPress Twenty Sixteen. */

:root {
  --background: #1a1a1a;
  --paper: #fff;
  --text: #1a1a1a;
  --muted: #686868;
  --border: #d1d1d1;
  --link: #007acc;
  --link-hover: #686868;
  --content-width: 1320px;
}

* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.75;
}
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { color: var(--link-hover); }
a:focus { outline: 2px solid var(--link); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
code, pre { font-family: "SFMono-Regular", Consolas, monospace; }
pre { overflow: auto; padding: 1rem; background: #f7f7f7; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.75em; }
th, td { padding: .55em; border: 1px solid var(--border); text-align: left; vertical-align: top; }
blockquote { margin: 0 0 1.75em; padding-left: 1.4em; border-left: 4px solid var(--text); color: var(--muted); }

.site {
  max-width: var(--content-width);
  min-height: calc(100vh - 42px);
  margin: 21px auto;
  background: var(--paper);
  overflow: hidden;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  padding: .8rem 1rem;
  background: var(--paper);
  color: var(--link);
  font-family: Arial, sans-serif;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header { padding: 3.25rem 4.5%; }
.site-header-main { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-branding { display: flex; align-items: center; gap: 1.25rem; min-width: 17rem; }
.site-logo { width: 108px; flex: 0 0 auto; }
.site-title, .site-description { margin: 0; }
.site-title {
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
}
.site-title a { color: var(--text); }
.site-description { color: var(--muted); font-size: .82rem; line-height: 1.5; }

.primary-menu, .footer-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-navigation a, .footer-navigation a {
  color: var(--text);
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.4;
}
.main-navigation a:hover, .main-navigation a:focus,
.main-navigation .current-menu-item > a { color: var(--link); }
.menu-toggle {
  display: none;
  padding: .55rem .8rem;
  border: 1px solid var(--border);
  background: transparent;
  font-family: Montserrat, Arial, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(230px, 1fr);
  gap: 7%;
  padding: 2.5rem 4.5% 5rem;
}
.entry-header { margin-bottom: 2.25rem; }
.entry-title {
  margin: 0;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.entry-date { margin: .5rem 0 0; color: var(--muted); font-size: .82rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  margin: 1.8em 0 .75em;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.3;
}
.entry-content h1 { font-size: 1.8rem; }
.entry-content h2 { font-size: 1.4rem; }
.entry-content h3 { font-size: 1.1rem; }
.entry-content h4 { font-size: .95rem; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1.35em; }
.entry-content li > ul, .entry-content li > ol { margin-bottom: 0; }
.entry-content a { box-shadow: 0 1px 0 currentColor; }
.entry-content figure { margin: 0 0 1.75em; }
.alignleft { float: left; margin: .4em 1.75em 1.25em 0; }
.alignright { float: right; margin: .4em 0 1.25em 1.75em; }
.entry-content::after { display: table; clear: both; content: ""; }

.sidebar { font-size: .9rem; }
.widget { margin-bottom: 2.75rem; padding-top: 1.3rem; border-top: 4px solid var(--text); }
.widget-title {
  margin: 0 0 1.1rem;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { margin-bottom: .55rem; line-height: 1.45; }
.widget .count { color: var(--muted); }

.publication-index {
  border-top: 4px solid #1a1a1a;
  border-bottom: 1px solid #d1d1d1;
  margin: 0 0 3rem;
  padding: 1.25rem 0 .25rem;
}
.publication-index h2 { font-size: 1rem; margin: 0 0 .75rem; text-transform: uppercase; }
.publication-index ul { columns: 2; list-style: none; margin: 0 0 1rem; padding: 0; }
.publication-index li { break-inside: avoid; margin-bottom: .45rem; }
.publication-year { margin-bottom: 4rem; scroll-margin-top: 1rem; }
.publication-year > h2 { border-bottom: 1px solid #d1d1d1; padding-bottom: .55rem; }
.publication-category { margin: 2rem 0 2.75rem; }
.publication-category > h3 { color: #686868; font-size: 1rem; margin-bottom: 1.2rem; }
.publication-year .count, .publication-index .count { color: #686868; font-weight: 400; }
.publication { padding: 0 0 .25rem; }
.publication p { margin-bottom: 1.2rem; }

@media screen and (max-width: 56.875em) {
  .publication-index ul { columns: 1; }
}
.news-summary { margin-bottom: 2.3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.news-summary h3 { margin-bottom: .25rem; }
.news-summary .entry-date { margin-bottom: .75rem; }
.more-link { font-family: Montserrat, Arial, sans-serif; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid #ffb900; background: #fff8e5; }

.site-footer {
  margin: 0 4.5%;
  padding: 2.2rem 0 3rem;
  border-top: 1px solid var(--border);
}
.footer-navigation { margin-bottom: 1.25rem; }
.site-info { margin: 0; color: var(--muted); font-size: .78rem; }

@media (max-width: 985px) {
  .site { margin: 0; min-height: 100vh; }
  .site-header-main { align-items: flex-start; flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .js .main-navigation { display: none; width: 100%; }
  .js .main-navigation.is-open { display: block; }
  .primary-menu { display: block; border-top: 1px solid var(--border); }
  .primary-menu li { border-bottom: 1px solid var(--border); }
  .primary-menu a { display: block; padding: .8rem 0; }
}

@media (max-width: 800px) {
  .site-header { padding-top: 2rem; padding-bottom: 1.5rem; }
  .site-content { grid-template-columns: 1fr; padding-top: 1.5rem; }
  .sidebar { margin-top: 2.5rem; }
}

@media (max-width: 520px) {
  .site-branding { min-width: 0; }
  .site-logo { width: 72px; }
  .site-title { font-size: 1.15rem; }
  .site-description { font-size: .75rem; }
  .alignleft, .alignright { float: none; margin: 0 0 1.25em; }
}

@media print {
  body, .site { background: #fff; }
  .site { margin: 0; }
  .main-navigation, .menu-toggle, .sidebar, .footer-navigation { display: none; }
  .site-content { display: block; padding: 0; }
  a { color: #000; }
}
