:root {
  color-scheme: light;
  --ink: #414b50;
  --deep: #263f47;
  --link: #236e80;
  --nav: #2b798a;
  --nav-active: #205b69;
  --rule: #dce6e8;
  --wash: #edf4f5;
}
* { box-sizing: border-box; }
body.blog-layout {
  margin: 0; background: #fff; color: var(--ink); font: 14px/1.65 Arial, sans-serif;
}
.blog-layout [hidden] { display: none !important; }
.blog-layout a { color: var(--link); text-decoration: none; }
.blog-layout a:hover { text-decoration: underline; }
.blog-layout :focus-visible { outline: 3px solid #ad7525; outline-offset: 3px; }
.blog-layout img { max-width: 100%; height: auto; }
.blog-wrap { width: min(980px, 94%); margin-inline: auto; }
.blog-skip { position: absolute; left: 12px; top: -100px; background: white; padding: 10px; z-index: 5; }
.blog-skip:focus { top: 8px; }
.blog-top { background: #25424a; color: #e4f0f2; }
.blog-top .blog-wrap { padding: 7px 12px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.blog-brand { display: flex; align-items: center; min-height: 112px; padding: 17px 9px; }
.blog-brand a:hover { text-decoration: none; }
.blog-name { display: block; font-size: clamp(27px, 4.6vw, 44px); font-weight: 750; letter-spacing: -.045em; line-height: 1.05; color: #2a5662; overflow-wrap: anywhere; }
.blog-tagline { display: block; color: #62767d; margin-top: 7px; font-size: 13px; }
.blog-menu { display: flex; flex-wrap: wrap; background: var(--nav); }
.blog-menu a { color: #fff; padding: 12px 15px; font-size: 13px; font-weight: bold; }
.blog-menu a:hover, .blog-menu a[aria-current] { background: var(--nav-active); }
.blog-menu a[aria-current] { box-shadow: inset 0 -3px #dec083; }
.blog-columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); padding-block: 27px 40px; }
.blog-content { min-width: 0; padding-right: 24px; }
.blog-sidebar { min-width: 0; border-left: 1px solid #e8eded; padding-left: 19px; }
.blog-heading { color: var(--deep); font-size: 28px; line-height: 1.2; border-bottom: 1px solid var(--rule); padding: 0 0 13px; margin: 0 0 18px; }
.blog-feature { background: #264b5a; margin-bottom: 27px; }
.blog-slide { position: relative; }
.blog-slide img { display: block; width: 100%; height: 330px; object-fit: cover; }
.blog-slide-title { position: absolute; inset: auto 0 0; padding: 34px 20px 17px; color: white !important; background: linear-gradient(transparent, #10272fed 56%); }
.blog-slide-title small { display: block; text-transform: uppercase; letter-spacing: .16em; color: #f0d8aa; font-size: 10px; margin-bottom: 4px; }
.blog-slide-title strong { display: block; font-size: clamp(20px, 3vw, 26px); line-height: 1.2; }
.blog-controls { display: flex; justify-content: center; gap: 8px; padding: 10px; }
.blog-layout button, .blog-layout input { font: inherit; }
.blog-layout button { cursor: pointer; }
.blog-controls button { width: 28px; height: 28px; background: transparent; color: #fff; border: 1px solid #a6bec5; border-radius: 50%; font-size: 12px; padding: 0; }
.blog-controls button[aria-pressed=true] { background: #f4e8c9; border-color: #f4e8c9; color: #243d49; }
.blog-post { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--rule); }
.blog-post h2 { font-size: 23px; font-weight: 500; line-height: 1.28; margin: 0 0 12px; }
.blog-post-body { display: flex; align-items: flex-start; gap: 15px; }
.blog-thumb { flex: 0 0 34%; }
.blog-thumb img { display: block; width: 100%; aspect-ratio: 210/142; object-fit: cover; background: var(--wash); }
.blog-excerpt { flex: 1; min-width: 0; }
.blog-meta { margin: 0 0 9px; padding: 4px 8px; font-size: 11px; color: #365760; background: var(--wash); }
.blog-excerpt p { margin: 0 0 8px; }
.blog-more { font-size: 12px; font-weight: bold; }
.blog-sidebar h2 { margin: 23px 0 8px; padding-bottom: 7px; border-bottom: 2px solid var(--rule); font-size: 18px; line-height: 1.3; color: var(--deep); }
.blog-sidebar h2:first-child { margin-top: 0; }
.blog-sidebar ul, .blog-footer ul { list-style: none; padding: 0; margin: 0; }
.blog-sidebar li { border-bottom: 1px solid #e9eeef; padding: 8px 0; }
.blog-sidebar li a { color: #49666f; }
.blog-search label { display: block; color: var(--deep); margin-bottom: 6px; }
.blog-search-row { display: flex; gap: 5px; }
.blog-search-row input { width: 100%; min-width: 0; border: 1px solid #bfcfd3; border-radius: 2px; padding: 7px 9px; background: #fff; }
.blog-search-row button { border: 0; border-radius: 2px; background: var(--nav); color: #fff; padding: 7px 12px; }
.blog-search-clear { display: inline-block; margin-bottom: 18px; }
.blog-pagination { display: flex; flex-wrap: wrap; gap: 7px; }
.blog-pagination button { padding: 6px 13px; color: var(--link); background: var(--wash); border: 0; border-radius: 2px; }
.blog-pagination [aria-current] { color: white; background: var(--nav-active); }
.blog-footer { background: #283c42; color: #d3e0e2; }
.blog-footer .blog-wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; padding: 30px 12px; }
.blog-footer h2 { margin: 0 0 9px; color: #f3f6f7; font-size: 14px; letter-spacing: .07em; text-transform: uppercase; }
.blog-footer p { margin: 0; }
.blog-footer a { color: #d5e5e8; }
.blog-footline { background: #203138; color: #d3e0e2; font-size: 12px; padding: 11px 0; }
.blog-reading { overflow-wrap: anywhere; }
.blog-reading h2, .blog-reading h3 { color: var(--deep); line-height: 1.3; margin: 1.4em 0 .6em; }
.blog-reading h2 { font-size: 22px; }
.blog-reading h3 { font-size: 17px; }
.blog-reading p { margin: 0 0 16px; }
.blog-reading figure { margin: 18px 0; }
.blog-reading figcaption { color: #526b73; font-size: 12px; }
.blog-reading pre, .blog-reading .table-responsive { max-width: 100%; overflow: auto; }
.blog-reading pre, .blog-reading blockquote { margin-inline: 0; padding: 12px; background: var(--wash); }
.blog-reading table { border-collapse: collapse; max-width: 100%; }
.blog-reading th, .blog-reading td { padding: 7px; border: 1px solid var(--rule); }
.blog-reading iframe, .blog-reading video { max-width: 100%; }
.blog-reading .blog-crumb { margin: 0 0 10px; font-size: 12px; }
.blog-reading .blog-heading { line-height: 1.24; margin-top: 0; }
@media (max-width: 767px) {
  .blog-brand { min-height: 93px; padding-inline: 0; }
  .blog-menu a { padding: 9px 11px; font-size: 12px; }
  .blog-columns { grid-template-columns: minmax(0, 1fr); padding-block: 20px 32px; }
  .blog-content { padding-right: 0; }
  .blog-sidebar { border-left: 0; border-top: 1px solid var(--rule); padding: 23px 0 0; margin-top: 27px; }
  .blog-slide img { height: clamp(230px, 47vw, 300px); }
  .blog-post h2 { font-size: 21px; }
}
@media (max-width: 430px) {
  .blog-post-body { display: block; }
  .blog-thumb img { width: 100%; max-height: 190px; margin-bottom: 10px; }
  .blog-footer .blog-wrap { grid-template-columns: 1fr; gap: 20px; }
}
.blog-reading .breadcrumbs, .blog-reading .breadcrumb { font-size: 12px; color: #526b73; margin-bottom: 10px; }
.blog-reading .article-meta, .blog-reading .article-meta-row, .blog-reading .article-meta-bar,
.blog-reading .article-byline, .blog-reading .article-byline-card, .blog-reading .blog-original-content .meta {
  padding: 7px 10px; margin: 10px 0 15px; background: var(--wash); color: #365760; font-size: 12px;
}
.blog-reading .toc-box, .blog-reading .callout-box, .blog-reading .side-card,
.blog-reading .callout {
  --color-gold: #ad7525;
  padding: 14px; margin-block: 16px; background: #f5f8f8; border: 1px solid var(--rule);
}
.blog-reading .toc-box > :first-child, .blog-reading .callout-box > :first-child,
.blog-reading .side-card > :first-child { margin-top: 0; }
.blog-reading input[type=number] { min-width: 0; max-width: 100%; padding: 5px; border: 1px solid #bfcfd3; }
.blog-reading #btn-calc-formula { padding: 8px 13px; background: var(--nav); color: white; border: 0; }

.blog-brand > a { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.blog-brand-mark { width: clamp(43px, 8vw, 61px); height: auto; flex: none; }
.blog-brand-text { min-width: 0; }
@media (max-width: 430px) { .blog-brand > a { gap: 9px; } }

/* Wayback branding */
.blog-brand .blog-brand-wbm { display:block; height:auto; width:auto; max-height:75px; max-width:min(350px, 73vw); flex:none; }
.blog-brand .blog-brand-wbm.is-symbol { max-width:clamp(44px,8vw,62px); max-height:62px; }
.blog-brand .blog-brand-wbm.needs-dark { background:#263640; border-radius:3px; padding:6px; }
.blog-brand a:has(.blog-brand-wbm.is-wordmark) { flex-wrap:wrap; gap:4px 13px; }

.blog-restored-home .home-aside-intro {
  margin-top: 23px;
  padding: 13px;
  background: var(--wash);
  border: 1px solid var(--rule);
}
.blog-restored-home .home-aside-intro h2 { margin-top: 0; }
.blog-restored-home .home-aside-intro p { margin: 0; }
.blog-restored-home .home-source-section {
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid var(--rule);
}
.blog-restored-home .home-source-section h2,
.blog-restored-home .home-source-section h3 {
  color: var(--deep);
  line-height: 1.3;
  margin: 0 0 10px;
}
.blog-restored-home .home-source-section h2 { font-size: 23px; }
.blog-restored-home .home-source-section h3 { font-size: 17px; }
.blog-restored-home .home-source-section p { margin: 0 0 13px; }
.blog-restored-home .home-source-section figure { margin: 0; }
.blog-restored-home .home-source-section img {
  display: block;
  max-width: 100%;
  max-height: 290px;
  object-fit: contain;
}
.blog-restored-home .home-source-section details {
  padding: 9px 11px;
  border: 1px solid var(--rule);
  margin-bottom: 8px;
}
.blog-restored-home .home-source-section summary { cursor: pointer; }
.blog-restored-home .home-source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  gap: 14px;
}
.blog-restored-home .home-source-grid > * { min-width: 0; }
.blog-restored-home .home-source-grid > :is(div, article, figure) {
  padding: 11px;
  background: #f5f8f8;
  border: 1px solid var(--rule);
}
.blog-restored-home .home-source-section,
.blog-restored-home .home-aside-intro,
.blog-restored-home .blog-post { overflow-wrap: anywhere; }
.blog-restored-home .blog-post img { background-color: var(--wash); }
