:root {
  --ink: #1f2430;
  --text: #3b3f47;
  --muted: #55585f;
  --rule: #e6e6e1;
  --soft: #f6f5f0;
  --button: #f1f1ec;
  --blue: #1253a3;
  --blue-dark: #0b3a75;
  --serif: "Source Serif 4", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.topbar { border-bottom: 1px solid var(--rule); }
.topbar-inner { display: flex; align-items: center; gap: 8px 16px; padding-top: 6px; padding-bottom: 6px; font-size: 14px; }
.brand-small { display: none; align-items: center; gap: 8px; color: var(--ink); font-family: var(--serif); font-size: 24px; font-weight: 800; flex: 1 1 auto; }
.brand-small:hover { color: var(--ink); text-decoration: none; }
.sections { flex: 1 1 400px; min-width: 0; display: flex; gap: 4px 18px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.sections a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); font-weight: 600; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 4px; }
.dot.big { width: 14px; height: 14px; border-radius: 7px; }
.round-button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 22px; background: var(--button); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.round-button:hover { color: var(--ink); background: #e6e6df; }
.menu-toggle { display: none; }
.subscribe { flex: none; height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 22px; background: var(--blue); color: #fff; font-weight: 700; }
.subscribe:hover { background: var(--blue-dark); color: #fff; text-decoration: none; }

.masthead { padding-top: 36px; padding-bottom: 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.masthead::after { content: ""; display: block; width: 100%; border-bottom: 3px solid var(--ink); margin-top: 20px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); font-family: var(--serif); font-size: 64px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; margin: 0; }
.brand:hover { color: var(--ink); text-decoration: none; }
.tagline { margin: 0; font-size: 14px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }

.page { padding-top: 8px; padding-bottom: 56px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); }
h1 a, h2 a, h3 a { color: var(--ink); }
h1 a:hover, h2 a:hover, h3 a:hover { color: var(--blue-dark); text-decoration: none; }
.chip { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.excerpt { margin: 0; color: var(--text); line-height: 1.6; }
.byline { margin: 0; font-size: 13px; color: var(--muted); }

.lead-story { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-bottom: 48px; }
.lead-image { flex: 7 1 420px; min-width: 0; }
.lead-image img { display: block; width: 100%; height: 400px; object-fit: cover; border-radius: 6px; }
.lead-text { flex: 5 1 320px; display: flex; flex-direction: column; gap: 14px; }
.lead-story.no-image .lead-text { flex-basis: 100%; }
.lead-text h1 { margin: 0; font-size: 40px; line-height: 1.12; font-weight: 800; }
.lead-text .excerpt { font-size: 17px; line-height: 1.65; }
.lead-text .byline { font-size: 14px; }

.block { margin-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.block-title { margin: 0; font-size: 26px; font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 28px; margin-bottom: 32px; }
.card { display: flex; flex-direction: column; gap: 10px; }
.card-image { display: block; height: 190px; border-radius: 6px; overflow: hidden; }
.card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-panel { display: flex; align-items: center; justify-content: center; }
.card h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; }
.card .excerpt { font-size: 15px; }
.more { display: flex; justify-content: center; margin: 0; }
.outline-button { height: 48px; display: inline-flex; align-items: center; padding: 0 28px; border-radius: 24px; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; }
.outline-button:hover { background: var(--ink); color: #fff; text-decoration: none; }

.about { background: var(--soft); border-radius: 10px; padding: 28px; gap: 18px; }
.about .block-title { border: 0; padding: 0; font-size: 24px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tile { background: #fff; border-radius: 8px; padding: 16px; min-height: 92px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; color: var(--ink); font-weight: 700; }
.tile:hover { color: var(--blue-dark); text-decoration: none; box-shadow: 0 0 0 2px var(--rule); }
.mark { width: 28px; height: 6px; border-radius: 3px; }
.tag-cloud { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.tag-cloud a { font-weight: 600; line-height: 1.3; }

.list-head { display: flex; align-items: center; gap: 12px; margin: 8px 0 28px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.list-head h1 { margin: 0; font-size: 36px; font-weight: 800; }
.list-head .count { margin-left: auto; color: var(--muted); font-size: 14px; }
.archive { list-style: none; margin: 0; padding: 0; columns: 2 340px; column-gap: 40px; }
.archive li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.archive .when { color: var(--muted); font-size: 13px; white-space: nowrap; }

.story { max-width: 720px; margin: 8px auto 0; display: flex; flex-direction: column; gap: 16px; }
.story h1 { margin: 0; font-size: 40px; line-height: 1.15; font-weight: 800; }
.story-byline { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.story-byline > span:last-child { display: flex; flex-direction: column; }
.story-byline strong { color: var(--ink); font-weight: 600; }
.avatar { width: 40px; height: 40px; border-radius: 20px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.hero { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: 6px; }
.story-lead { font-family: var(--serif); font-size: 21px; line-height: 1.5; font-weight: 600; }
.story-lead img { display: block; margin: 12px auto; }
.story-lead > :first-child, .content > :first-child { margin-top: 0; }
.story-lead > :empty { display: none; }
.content { font-family: var(--serif); font-size: 19px; line-height: 1.7; color: var(--ink); overflow-wrap: break-word; }
.content img { display: block; margin: 20px auto; border-radius: 4px; }
.content iframe { max-width: 100%; }
.content table { max-width: 100%; display: block; overflow-x: auto; font-family: "Open Sans", sans-serif; font-size: 15px; }
.content blockquote { margin: 20px 0; font-size: 23px; line-height: 1.4; font-weight: 700; color: var(--blue); }
.content h2, .content h3 { line-height: 1.25; }
.story-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 600; font-size: 15px; margin: 8px 0 0; }
.related { max-width: 720px; margin: 40px auto 0; padding-top: 16px; border-top: 3px solid var(--ink); display: flex; flex-direction: column; gap: 16px; }
.related .block-title { border: 0; padding: 0; font-size: 22px; }
.related-item { display: flex; gap: 12px; color: var(--ink); }
.related-item:hover { color: var(--blue-dark); text-decoration: none; }
.related-item img, .related-panel { flex: 0 0 88px; width: 88px; height: 72px; border-radius: 6px; object-fit: cover; display: block; }
.related-item > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.related-item .chip { font-size: 11px; }
.related-title { font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.25; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 20px 0; }
.pagination a { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 22px; background: var(--button); color: var(--ink); font-weight: 600; }
.pagination a:hover { background: #e6e6df; text-decoration: none; }
.pagination .active a { background: var(--ink); color: #fff; }

.site-footer { border-top: 3px solid var(--ink); }
.footer-inner { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; font-size: 14px; color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links button { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; }
.footer-links button:hover { color: var(--blue-dark); text-decoration: underline; }

.maintenance { padding-top: 80px; text-align: center; }
.maintenance .brand { justify-content: center; margin-bottom: 24px; }

.klaro { --green1: #1253a3; --green2: #0e4486; --green3: #1253a3; --blue1: #1253a3; --button-text-color: #fff; font-family: "Open Sans", sans-serif; }

@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  .topbar { border-bottom: 3px solid var(--ink); }
  .topbar-inner { flex-wrap: wrap; }
  .brand-small { display: flex; }
  .menu-toggle { display: inline-flex; }
  .subscribe { display: none; }
  .sections { order: 10; flex: 1 1 100%; display: none; flex-direction: column; white-space: normal; padding-bottom: 8px; }
  .sections.open { display: flex; }
  .sections a { font-size: 17px; }
  .masthead { display: none; }
  .page { padding-top: 24px; }
  .lead-image img { height: 240px; }
  .lead-text h1, .story h1 { font-size: 30px; }
  .list-head h1 { font-size: 28px; }
  .story-lead { font-size: 19px; }
  .content { font-size: 18px; }
  .hero { width: calc(100% + 32px); max-width: none; margin: 0 -16px; border-radius: 0; }
}
