/* Shared editorial styling for The Practical Thinker article collection. */
html { scroll-padding-top: 100px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.mock-nav-menu a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px var(--light-teal); border-radius: 0; }
.editorial-shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.editorial-eyebrow { margin: 0 0 18px; color: #236674; font: 700 12px/1.5 var(--font-heading); letter-spacing: .13em; text-transform: uppercase; }
.editorial-intro { background: var(--paper); border-bottom: 1px solid #e6dfd4; padding: 62px 0 52px; }
.editorial-intro .editorial-shell { display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 70px; }
.editorial-intro h1 { margin: 0; color: var(--navy); font: 750 clamp(42px, 5.4vw, 72px)/1.02 var(--font-heading); letter-spacing: -.045em; }
.intro-note { padding-bottom: 3px; }
.intro-note p { margin: 0 0 16px; max-width: 490px; color: #4b5667; font-size: 18px; line-height: 1.7; }
.underlined-link { color: var(--blue); font-size: 14px; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.latest-section { padding: 46px 0 60px; }
.section-label { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 23px; }
.section-label h2 { margin: 0; font: 700 13px/1.5 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
.section-label p { margin: 0; font-size: 13px; color: #626d7a; }
.featured-article { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--paper); min-height: 390px; }
.featured-image { display: block; overflow: hidden; }
.featured-image img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.featured-copy { padding: 38px 40px; align-self: center; }
.featured-copy h2 { margin: 13px 0 17px; font: 750 clamp(30px, 3.3vw, 44px)/1.12 var(--font-heading); color: var(--navy); letter-spacing: -.035em; }
.featured-copy h2 a, .article-row h3 a { text-decoration: none; }
.featured-copy h2 a:hover, .article-row h3 a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.featured-copy > p:not(.editorial-eyebrow) { font-size: 16px; line-height: 1.75; color: #4b5667; }
.article-date { display: block; margin-bottom: 22px; color: #626d7a; font-size: 12px; }
.article-read { display: inline-flex; gap: 18px; align-items: center; color: var(--blue); font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid #9bb7c7; padding-bottom: 5px; }
.article-read:hover { border-color: var(--blue); }
.archive-section { padding: 0 0 72px; }
.archive-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 42px; }
.article-row { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; }
.article-thumbnail { width: 140px; aspect-ratio: 1.22; object-fit: cover; background: var(--paper); }
.article-thumbnail.is-diagram { object-fit: contain; padding: 5px; }
.article-row h3 { margin: 8px 0 11px; font: 700 22px/1.26 var(--font-heading); letter-spacing: -.02em; color: var(--navy); }
.article-row .editorial-eyebrow { font-size: 10px; letter-spacing: .09em; margin: 0; }
.article-row p:not(.editorial-eyebrow) { margin: 0 0 13px; font-size: 14px; line-height: 1.65; color: #556173; }
.article-row-meta { display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: 11px; color: #626d7a; }
.article-row-meta a { color: var(--blue); text-underline-offset: 3px; }
.follow-section { padding: 48px 0 56px; background: #edf4f3; border-top: 1px solid #d4e4e1; }
.follow-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.follow-layout h2 { margin: 0 0 14px; font: 700 32px/1.15 var(--font-heading); letter-spacing: -.025em; }
.follow-layout p { font-size: 15px; color: #495e64; line-height: 1.8; margin: 0 0 17px; max-width: 530px; }
.feed-address { display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; color: var(--blue); font-size: 14px; text-underline-offset: 4px; }
.copy-feed { margin-top: 16px; padding: 10px 15px; border: 1px solid #7f9da5; border-radius: 2px; background: transparent; color: var(--navy); font-size: 13px; font-weight: 600; cursor: pointer; }
.copy-status { min-height: 25px; margin-top: 8px !important; font-size: 12px !important; }
.rss-icon { width: 16px; height: 16px; display: inline-block; vertical-align: -2px; margin-right: 6px; }

/* Long-form article. Body and figures remain faithful to the source article. */
.article-masthead { background: var(--paper); padding: 43px 0 0; }
.article-breadcrumb { font-size: 12px; color: #526273; display: flex; gap: 10px; margin-bottom: 32px; }
.article-breadcrumb a { text-underline-offset: 4px; }
.article-intro { max-width: 1030px; }
.article-intro h1 { margin: 0 0 24px; max-width: 1040px; font: 750 clamp(44px, 6.3vw, 82px)/1.05 var(--font-heading); color: var(--navy); letter-spacing: -.045em; text-wrap: balance; }
.article-intro .dek { max-width: 850px; margin: 0 0 28px; color: #4b5667; font-size: clamp(19px, 2vw, 23px); line-height: 1.65; }
.article-byline { display: flex; align-items: center; gap: 13px; padding-bottom: 34px; }
.article-byline img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.article-byline p { margin: 0; color: #536175; font-size: 12px; line-height: 1.8; }
.article-byline a { color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; }
.article-byline a:hover { text-decoration: underline; }
.article-cover { margin: 0; padding-bottom: 27px; }
.article-cover img { width: 100%; height: auto; max-height: 590px; object-fit: cover; }
.article-cover figcaption { color: #626a74; font-size: 12px; line-height: 1.65; margin-top: 12px; }
.art-label { font-size: 11px; color: #6a737c; }
.essay-layout { display: grid; grid-template-columns: 235px minmax(0, 760px); gap: 65px; max-width: 1124px; padding: 60px 32px 80px; margin-inline: auto; align-items: start; }
.contents { position: sticky; top: 105px; max-height: calc(100vh - 130px); overflow-y: auto; padding-right: 18px; scrollbar-width: thin; }
.contents h2 { margin: 0 0 20px; font: 700 11px/1.5 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; color: #526273; }
.contents a { display: block; padding: 7px 0 7px 13px; margin: 0 0 2px; border-left: 1px solid #d9e3e5; color: #64707c; font-size: 12px; line-height: 1.5; text-decoration: none; }
.contents a:hover, .contents a[aria-current="location"] { color: var(--blue); border-color: var(--teal); background: #f2f7f7; }
.essay-body { min-width: 0; color: #2d3847; font-size: 18px; line-height: 1.85; }
.essay-body > p { margin: 0 0 25px; }
.essay-body .lead { font: 500 28px/1.5 var(--font-editorial); color: var(--navy); margin-bottom: 25px; }
.essay-body h2 { font: 700 33px/1.22 var(--font-heading); letter-spacing: -.025em; color: var(--navy); margin: 60px 0 24px; text-wrap: balance; }
.essay-body strong { color: var(--navy); }
.essay-body a { color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.essay-body a:hover { color: #194772; }
.essay-body figure { margin: 35px 0 40px; }
.essay-body figure img { width: 100%; height: auto; }
.essay-body figcaption { margin-top: 12px; font-size: 13px; line-height: 1.7; color: #64707c; }
.figure-scroll { border: 1px solid #e0e4e7; background: var(--paper); }
.figure-scroll a { display: block; }
.figure-hint { display: block; margin-top: 8px; font-size: 11px; color: #62747a; }
.essay-body blockquote { margin: 35px 0; padding: 25px 28px; border-left: 3px solid var(--teal); background: #edf5f3; font: 500 25px/1.55 var(--font-editorial); color: var(--navy); }
.essay-body blockquote p { margin: 0; }
.essay-body .opening-line { background: var(--paper); border-color: var(--blue); }
.table-scroll { overflow-x: auto; margin: 34px 0; border: 1px solid var(--line); }
.essay-body table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 1.65; }
.essay-body th, .essay-body td { padding: 17px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.essay-body thead th { color: white; background: var(--navy); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.essay-body tbody th { width: 29%; font-weight: 600; background: #eef4f5; color: var(--navy); }
.essay-body tbody tr:last-child th, .essay-body tbody tr:last-child td { border-bottom: 0; }
.mobile-label { display: none; }
.essay-body .source-note { border-top: 1px solid var(--line); margin-top: 35px; padding-top: 23px; color: #64707c; font-size: 13px; line-height: 1.75; }
.related { border-top: 1px solid var(--line); margin-top: 45px; padding-top: 25px; }
.related .eyebrow { color: #526273; font: 700 11px/1.5 var(--font-heading); letter-spacing: .1em; text-transform: uppercase; }
.related > a { display: block; margin: 11px 0; font: 700 28px/1.3 var(--font-heading); text-decoration: none; }
.related p { margin: 0; font-size: 15px; color: #64707c; }
.article-end { border-top: 1px solid var(--line); padding: 24px 0 0; margin-top: 32px; display: flex; gap: 16px; justify-content: space-between; font-size: 13px; }
.article-end a { color: var(--blue); }
.read-progress { appearance: none; position: fixed; top: 0; left: 0; width: 100%; height: 3px; border: 0; z-index: 110; background: transparent; color: var(--teal); }
.read-progress::-webkit-progress-bar { background: transparent; }
.read-progress::-webkit-progress-value { background: var(--light-teal); }
.read-progress::-moz-progress-bar { background: var(--light-teal); }
.mobile-contents { display: none; }
.home-articles { padding: 58px 0; border-top: 1px solid var(--line); background: #fff; }
.home-articles-layout { display: grid; grid-template-columns: .85fr 1.2fr; gap: 60px; align-items: center; }
.home-articles h2 { margin: 0 0 17px; font: 700 38px/1.1 var(--font-heading); color: var(--navy); letter-spacing: -.03em; }
.home-articles p { color: #556173; font-size: 16px; }
.home-article-feature { display: grid; grid-template-columns: 45% 1fr; gap: 25px; text-decoration: none; align-items: center; }
.home-article-feature img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.home-article-feature h3 { font: 700 25px/1.2 var(--font-heading); margin: 8px 0 12px; letter-spacing: -.02em; }
.home-article-feature small { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: #236674; }
.home-article-feature span { font-size: 13px; color: var(--blue); }
.home-article-feature:hover h3 { color: var(--blue); }
@media (max-width: 1050px) {
  .editorial-intro .editorial-shell { gap: 36px; }
  .featured-copy { padding: 28px; }
  .article-row { grid-template-columns: 108px 1fr; gap: 18px; }
  .article-thumbnail { width: 108px; }
  .essay-layout { grid-template-columns: minmax(0, 760px); max-width: 824px; }
  .contents { display: none; }
  .mobile-contents { display: block; margin-bottom: 36px; padding: 17px 20px; border: 1px solid #d7e2e5; background: #f5f8f8; font-size: 14px; }
  .mobile-contents summary { cursor: pointer; font-weight: 600; color: var(--navy); }
  .mobile-contents a { display: block; padding: 7px 0; text-decoration: none; }
  .mobile-contents a:first-of-type { margin-top: 12px; }
  .home-articles-layout { gap: 32px; }
}
@media (max-width: 760px) {
  .editorial-shell { width: calc(100% - 40px); }
  .editorial-intro { padding: 38px 0 34px; }
  .editorial-intro .editorial-shell { grid-template-columns: 1fr; gap: 22px; }
  .editorial-intro h1 { font-size: 48px; }
  .intro-note p { font-size: 16px; }
  .latest-section { padding: 30px 0 38px; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-image img { min-height: 0; aspect-ratio: 16/10; }
  .featured-copy { padding: 28px 24px; }
  .featured-copy h2 { font-size: 35px; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-section { padding-bottom: 40px; }
  .article-row { grid-template-columns: 100px minmax(0, 1fr); gap: 18px; padding: 25px 0; }
  .article-thumbnail { width: 100px; }
  .article-row h3 { font-size: 22px; }
  .section-label { align-items: start; }
  .section-label p { max-width: 175px; text-align: right; font-size: 11px; }
  .follow-layout { grid-template-columns: 1fr; gap: 22px; }
  .article-masthead { padding-top: 25px; }
  .article-breadcrumb { margin-bottom: 24px; font-size: 11px; }
  .article-intro h1 { font-size: clamp(40px, 9vw, 62px); }
  .article-intro .dek { font-size: 18px; line-height: 1.65; }
  .article-byline { padding-bottom: 26px; }
  .article-cover { margin-inline: -6px; padding-bottom: 20px; }
  .article-cover figcaption { padding-inline: 6px; }
  .article-cover img { max-height: none; }
  .essay-layout { padding: 32px 24px 45px; }
  .essay-body { font-size: 18px; line-height: 1.8; }
  .essay-body .lead { font-size: 25px; }
  .essay-body h2 { font-size: 29px; margin-top: 48px; }
  .essay-body blockquote { font-size: 23px; padding: 22px; }
  .essay-body figure { margin-inline: -6px; }
  .essay-body figcaption, .figure-hint { padding-inline: 6px; }
  .art-label { display: block; }
  .home-articles-layout { grid-template-columns: 1fr; }
  .home-articles h2 { font-size: 33px; }
  .home-article-feature { gap: 20px; }
  .home-article-feature h3 { font-size: 23px; }
  .article-end { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .table-scroll { border: 0; overflow: visible; }
  .essay-body table { display: block; min-width: 0; }
  .essay-body thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .essay-body tbody { display: grid; gap: 18px; }
  .essay-body tbody tr { display: block; padding: 20px; border: 1px solid var(--line); background: #f3f7f7; }
  .essay-body tbody th { display: block; width: auto; padding: 0 0 12px; border: 0; background: none; font-size: 18px; line-height: 1.4; }
  .essay-body tbody td { display: block; width: auto; border: 0; padding: 10px 0 0; font-size: 15px; }
  .mobile-label { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #236674; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .mock-header, .mock-footer, .contents, .mobile-contents, .read-progress, .follow-section, .article-end, .article-breadcrumb, .figure-hint, .related { display: none; }
  .article-masthead { background: #fff; padding: 0; }
  .editorial-shell { width: 100%; }
  .article-intro h1 { font-size: 34pt; }
  .article-intro .dek { font-size: 14pt; }
  .article-cover img { max-height: 220px; width: auto; }
  .essay-layout { display: block; max-width: none; padding: 20px 0 0; }
  .essay-body { font-size: 11pt; line-height: 1.6; }
  .essay-body h2 { font-size: 20pt; break-after: avoid; }
  .essay-body figure, .essay-body blockquote { break-inside: avoid; }
  .essay-body figure img { width: auto; max-height: 600px; max-width: 100%; }
  .essay-body table { min-width: 0; }
}
