/* The shared editorial masthead and reading layout are scoped to articles. */
.ba-detail {
  --ba-ink: #192f3e;
  --ba-muted: #465b61;
  --ba-line: #d5dedc;
  --ba-nav-height: 102px;
  background: #fff;
  color: var(--ba-ink);
}
main.ba-detail {padding-top: 88px;}
.ba-detail .ba-wrap {width: min(1152px, calc(100% - clamp(40px, 8vw, 112px))); margin-inline:auto;}
.ba-detail .ba-mast {background: #163344; color:#fff; padding: clamp(14px, 2.1vw, 30px) 0 clamp(32px, 4vw, 60px);}
.ba-detail .ba-mast .ba-breadcrumb {display:flex; align-items:baseline; flex-wrap:wrap; gap: .25rem .65rem; padding: 0; margin:0 0 clamp(24px,3vw,46px); font: 500 .95rem/1.5 var(--font-sans,system-ui); color:#e0e9eb;}
.ba-detail .ba-breadcrumb a {color:inherit; text-decoration:underline; text-decoration-color:#77909b; text-underline-offset:.23em;}
.ba-detail .ba-breadcrumb span[aria-hidden] {color:#a4bac2;}
.ba-detail .ba-mast header {padding: 0; margin: 0; width:100%; max-width:100%; border:0;}
.ba-detail .ba-mast .ba-topic {color:#e8d6a8; margin:0 0 .85rem!important; font:600 1rem/1.5 var(--font-sans,system-ui)!important; letter-spacing:0; text-transform:none;}
.ba-detail .ba-topic a {color:inherit; text-decoration:underline; text-decoration-color:#a29375;}
.ba-detail .ba-mast h1 {
  max-width:24ch; margin:0; color:#fff; font-family:var(--font-display,Georgia,serif);
  font-size:clamp(2.4rem,4.6vw,4.35rem); font-weight:400; letter-spacing:-.034em; line-height:1.08; text-wrap:balance;
}
.ba-detail .ba-mast .ba-lead {color:#edf2f3; font-family:var(--font-sans,system-ui); font-size:clamp(1.12rem,1.45vw,1.35rem)!important; line-height:1.55!important; max-width:65ch; margin:1.15rem 0 0;}
.ba-detail .ba-mast .ba-by {display:flex; flex-wrap:wrap; align-items:baseline; gap:.25rem .6rem; padding:0; color:#c7d7db; border:0; font:400 .97rem/1.5 var(--font-sans,system-ui)!important; margin:1.15rem 0 0;}
.ba-detail .ba-mast .ba-by a {color:#f3f5f5; font-weight:600; text-decoration:underline; text-underline-offset:.23em;}
.ba-detail .ba-mast a:focus-visible {outline:2px solid #f0d494;outline-offset:4px;}
.ba-detail .ba-layout, .ba-detail .lp-article-layout {
  display:grid; grid-template-columns:minmax(13.5rem, .32fr) minmax(0, 1fr); gap:clamp(32px,5.5vw,78px); align-items:start;
  padding:clamp(30px,4.4vw,66px) 0 0; margin:0;
}
.ba-detail .ba-toc {position:sticky; top:var(--ba-nav-height); align-self:start; border:0; border-inline-start:2px solid #b59a62; background:none; padding:0 0 0 1.15rem; color:var(--ba-ink); max-height:calc(100vh - var(--ba-nav-height) - 20px); overflow-y:auto;}
.ba-detail .ba-toc .ba-toc-title {font:600 1.05rem/1.45 var(--font-sans,system-ui)!important; letter-spacing:0; text-transform:none; color:var(--ba-ink); margin:0 0 .55rem;}
.ba-detail .ba-toc ol {list-style:none; margin:0; padding:0; display:block;}
.ba-detail .ba-toc li {padding:0; margin:0; line-height:1.45!important;}
.ba-detail .ba-toc a {display:block; color:var(--ba-muted); font-size:1rem; line-height:1.45; padding:.3rem 0; text-decoration:none; overflow-wrap:anywhere;}
.ba-detail .ba-toc a:hover, .ba-detail .ba-toc a:focus-visible {text-decoration:underline; color:var(--ba-ink);}
.ba-detail .ba-body {min-width:0; width:100%; margin:0; max-width:76ch; padding:0;}
.ba-detail .ba-body .kr-copy {max-width:none;}
.ba-detail .ba-body .kr-copy :is(p,li) {font-size:clamp(1.1rem,1.32vw,1.22rem);line-height:1.7;}
.ba-detail .ba-body .kr-copy h2 {font-family:var(--font-display,Georgia,serif);font-weight:400;font-size:clamp(1.8rem,2.4vw,2.55rem);line-height:1.16;margin:0 0 .65rem;letter-spacing:-.02em;}
.ba-detail .ba-body .kr-copy section+section {margin-top:2rem;}
.ba-detail .ba-body .lp-section {padding-block:2.2rem;}
.ba-detail .ba-body .lp-section:first-child {padding-top:0;}
.ba-detail .ba-body .lp-section h2 {font-size:clamp(1.8rem,2.65vw,2.65rem);}
.ba-detail .ba-body .lp-split {display:block;}
.ba-detail .ba-body .lp-answer {margin:0 0 1.8rem;}
.ba-detail .ba-collection {display:inline-block; font-size:1rem; font-weight:600; color:#22495b; margin-top:1rem; text-decoration:underline; text-underline-offset:.22em;}
/* The site's root already supplies clearance for its fixed masthead. */
.ba-detail [id] {scroll-margin-top:0;}
@media (max-width:1400px) {
  html:not(.nav-enhanced) main.ba-detail {padding-top:0;}
  html:not(.nav-enhanced):has(main.ba-detail) {scroll-padding-top:1rem;}
}
@media (max-width:900px) {
  .ba-detail .ba-layout, .ba-detail .lp-article-layout {grid-template-columns:minmax(0,1fr);gap:1.7rem;}
  .ba-detail .ba-toc {position:static;max-height:none;overflow:visible;}
  .ba-detail .ba-body {max-width:none;}
}
@media (max-width:720px) {
  main.ba-detail {padding-top:78px;}
  .ba-detail {--ba-nav-height:88px;}
  .ba-detail .ba-wrap {width:calc(100% - 2rem);}
  .ba-detail .ba-mast h1 {font-size:clamp(2.15rem,8.5vw,3.3rem);overflow-wrap:break-word;}
  .ba-detail .ba-mast .ba-breadcrumb {font-size:.89rem;}
}
