:root {
  --ink: #18313d;
  --muted: #5e7078;
  --accent: #9f563c;
  --line: #d9e0e2;
  --paper: #fbfaf7;
  --white: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
header { border-bottom: 1px solid var(--line); background: var(--white); }
.wrap { width: min(900px, calc(100% - 40px)); margin: 0 auto; }
header .wrap { padding: 70px 0 58px; }
.kicker {
  margin: 0 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.intro { max-width: 720px; margin: 26px 0 0; font-size: 1.25rem; color: var(--muted); }
main { padding: 54px 0 80px; }
section { max-width: 720px; margin-bottom: 44px; }
h2 {
  margin: 0 0 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
p { margin: 0 0 14px; font-size: 1.08rem; }
h3 { font-weight: bold; }
.notification {
  margin: 20px 0 24px;
  padding: 12px 16px;
  border: 1px solid #c6d8d3;
  border-left: 3px solid #527b6e;
  border-radius: 3px;
  background: #f0f6f3;
  color: #294f43;
  font: 0.95rem/1.55 Arial, Helvetica, sans-serif;
  overflow-wrap: anywhere;
}
.notification:empty { display: none; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
}
@media (max-width: 600px) {
  header .wrap { padding: 48px 0 40px; }
  main { padding-top: 40px; }
}

/* Editorial content, shared by the public pages and admin preview. */
.home-page { padding-top: 28px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.publication-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  font-family: Arial, Helvetica, sans-serif;
}
.publication-filters[hidden] { display: none; }
.publication-filters label { display: grid; gap: .4rem; min-width: 0; max-width: 100%; }
.publication-filters select {
  max-width: 100%;
  padding: .5rem .75rem;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
}
.content-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.015em;
}
.content-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.content-nav a[aria-current="page"], .content-nav a:hover, .content-nav a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: #f5eee8;
}
.latest { margin-top: 50px; }
.more-information { color: var(--muted); font-size: 0.95rem; }
.content-item { margin: 24px 0 36px; padding: 24px 0 0; border-top: 1px solid var(--line); }
.content-item h2, .content-item h3 { margin: 4px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 500; line-height: 1.3; letter-spacing: normal; text-transform: none; }
.content-item h2 { font-size: 1.55rem; }
.content-item h3 { font-weight: bold; }
.content-type { margin-bottom: 6px; font: 0.8rem Arial, Helvetica, sans-serif; color: var(--accent); }
.content-meta { color: var(--muted); font-size: 0.95rem; }
.content-description { white-space: pre-wrap; overflow-wrap: anywhere; }
.content-image { display: block; max-width: min(100%, 480px); max-height: 280px; width: auto; height: auto; margin: 18px 0; border: 1px solid #e5e1d9; }
.compact-header .wrap { padding: 30px 0 0; }
.site-name { display: block; margin-bottom: 24px; color: var(--ink); font-size: 1.8rem; text-decoration: none; }
.content-page { max-width: 900px; }
.content-page > h1, .content-page .content-item h1 { margin-bottom: 24px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.content-page .content-item h1 { margin-bottom: 8px; }
.content-page .content-item h1 + .content-meta { margin-top: 0; }
.content-page .content-item { max-width: 720px; }
.archive { margin-top: 48px; }
.archive-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--muted);
  font: 0.9rem Arial, Helvetica, sans-serif;
  text-decoration: none;
}
.archive-link:hover, .archive-link:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: #f5eee8;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
