/* The GFT practice journal: quiet editorial hierarchy, scoped to single posts. */
.single-post .aurora-main { padding: 0 0 72px; }
/* Third-party widgets must not expand the mobile reading viewport. */
.single-post .google-auto-placed { max-width: 100%; overflow-x: clip; }
.single-post .mailmunch-scrollbox { max-width: calc(100vw - 24px); }
.gft-editorial { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.gft-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; padding: 30px 0; color: #606978; font-size: 12px; line-height: 1.6; }
.gft-breadcrumb a { color: inherit; }
.gft-breadcrumb > span[aria-hidden] { color: #a7a090; }
.gft-story-header { max-width: 960px; padding: 25px 0 35px; }
.gft-story-kicker { display: flex; align-items: center; gap: 12px; color: #805b2c; font: 700 11px/1.5 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.gft-story-kicker a { color: inherit; }
.gft-story-kicker__line { width: 34px; height: 2px; background: #b88746; }
.gft-story-header h1 { margin: 22px 0 28px; max-width: 24ch; color: #15324f; font-family: var(--aurora-display); font-size: clamp(42px, 4.8vw, 66px); font-weight: 400; line-height: 1.07; letter-spacing: -.025em; text-wrap: balance; }
.gft-story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; color: #586474; font-size: 12px; }
.gft-story-meta > time, .gft-story-meta > span:last-child { border-left: 1px solid #d6cebf; padding-left: 22px; }
.gft-story-byline { display: inline-flex; gap: 10px; align-items: center; }
.gft-story-byline a { font-weight: 600; color: #263b53; }
.gft-story-avatar { display: grid; place-items: center; width: 32px; height: 32px; background: #153a6b; color: #fffdf8; border-radius: 50%; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.gft-story-cover { margin: 0 0 40px; }
.gft-story-cover__image { width: 100%; max-height: 560px; object-fit: cover; border-radius: 4px; }
.gft-story-cover figcaption { padding: 10px 0; font-size: 12px; color: #586474; }
.gft-reading-layout { display: grid; grid-template-columns: 220px minmax(0, 804px); gap: 52px; border-top: 1px solid #d8cfbf; padding-top: 40px; }
.gft-reading-rail { min-width: 0; }
.gft-reading-rail__inner { position: sticky; top: 150px; max-height: calc(100vh - 180px); overflow-y: auto; padding-right: 8px; }
.gft-toc[hidden] { display: none; }
.gft-toc summary { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #596374; cursor: pointer; }
.gft-toc ol { list-style: none; padding: 0; margin: 18px 0 26px; border-left: 1px solid #d8cfbf; }
.gft-toc li { margin: 0; }
.gft-toc a { display: block; border-left: 2px solid transparent; margin-left: -1px; padding: 8px 0 8px 15px; color: #596374; font-size: 12px; line-height: 1.6; }
.gft-toc a:hover, .gft-toc a[aria-current="location"] { color: #153a6b; border-color: #b88746; background: rgba(184,135,70,.05); }
.gft-rail-back { display: inline-block; font-size: 12px; padding: 10px 0; }
.gft-rail-back span { margin-right: 6px; }
.gft-story-main { min-width: 0; padding: 38px 40px 30px; background: var(--aurora-surface, #fffdf8); border: 1px solid #e3dbce; border-radius: 4px; }
.gft-prose { color: #354151; font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.gft-prose > p:first-child { font-size: 21px; line-height: 1.7; color: #253c53; margin-top: -6px; padding-bottom: 27px; border-bottom: 1px solid #e0d8ca; margin-bottom: 29px; }
.gft-prose p { margin: 0 0 24px; }
.gft-prose h2, .gft-prose h3, .gft-prose h4 { color: #1b354d; scroll-margin-top: 155px; }
.gft-prose h2 { font-family: var(--aurora-display); font-weight: 400; font-size: clamp(30px, 3vw, 38px); line-height: 1.16; letter-spacing: -.015em; margin: 48px 0 19px; }
.gft-prose h3 { font-family: Inter, sans-serif; font-size: 21px; line-height: 1.4; font-weight: 600; margin: 32px 0 16px; }
.gft-prose h4 { font-size: 18px; line-height: 1.5; margin-top: 28px; }
.gft-prose strong { color: #25364b; font-weight: 600; }
.gft-prose a { text-decoration: underline; text-decoration-color: #b4bfc5; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.gft-prose a:hover { text-decoration-color: #153a6b; }
.gft-prose ul, .gft-prose ol { padding-left: 25px; margin: 0 0 28px; }
.gft-prose li { padding-left: 6px; margin: 12px 0; }
.gft-prose li::marker { color: #9b723c; font-weight: 600; }
.gft-prose blockquote { border: 0; border-left: 3px solid #b88746; padding: 18px 26px; background: #f0e9dd; color: #253c53; margin: 32px 0; font-size: 20px; }
.gft-prose blockquote p:last-child { margin-bottom: 0; }
.gft-prose img { height: auto; border-radius: 4px; }
.gft-prose figure { max-width: 100%; margin: 30px 0; }
.gft-prose figcaption { color: #596374; font-size: 13px; line-height: 1.6; padding-top: 10px; }
.gft-table-scroll { max-width: 100%; overflow-x: auto; margin: 30px 0; border: 1px solid #d8cfbf; border-radius: 4px; background: #fffdf8; overscroll-behavior-x: contain; }
.gft-table-scroll:focus-visible { outline: 2px solid #153a6b; outline-offset: 4px; }
.gft-prose table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.7; text-align: left; margin: 28px 0; }
.gft-table-scroll table { margin: 0; min-width: 580px; }
.gft-prose th { background: #193d60; color: #fffdf8; font-weight: 600; vertical-align: top; }
.gft-prose td, .gft-prose th { padding: 16px 18px; border: 0; border-bottom: 1px solid #e3dccf; }
.gft-prose td { vertical-align: top; }
.gft-prose tbody tr:nth-child(even) { background: #f4efe6; }
.gft-prose tbody tr:last-child td { border-bottom: 0; }
.gft-prose pre { overflow-x: auto; padding: 22px; }
.gft-prose iframe, .gft-prose video { max-width: 100%; }
.gft-story-footer { border-top: 1px solid #d8cfbf; margin-top: 40px; padding-top: 26px; }
.gft-story-endnote { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.gft-story-endnote > span { display: grid; place-items: center; width: 44px; height: 44px; color: #153a6b; border: 1px solid #cabca7; font-size: 11px; letter-spacing: .08em; }
.gft-story-endnote p { margin: 0; font-size: 13px; line-height: 1.7; color: #596374; }
.gft-story-endnote strong { color: #253c53; font-weight: 500; }
.gft-story-tags summary { font-size: 12px; color: #596374; cursor: pointer; padding: 12px 0; }
.gft-story-tags > div { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0; }
.gft-story-tags a { padding: 6px 10px; border: 1px solid #d8cfbf; border-radius: 3px; font-size: 11px; }
.gft-related { margin-top: 80px; padding-top: 34px; border-top: 1px solid #d8cfbf; }
.gft-related-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.gft-related-heading h2 { font: 400 38px/1.2 var(--aurora-display); color: #1b354d; margin: 10px 0 0; }
.gft-related-heading > a { font-size: 12px; white-space: nowrap; padding: 8px 0; }
.gft-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.gft-related-item { border-top: 2px solid #b88746; padding-top: 20px; }
.gft-related-item img { width: 100%; height: 150px; object-fit: cover; margin-bottom: 18px; border-radius: 3px; }
.gft-related-item time { display: block; font-size: 11px; color: #596374; }
.gft-related-item h3 { font: 400 26px/1.2 var(--aurora-display); margin: 12px 0; }
.gft-related-item h3 a { color: #1b354d; }
.gft-related-item p { font-size: 13px; line-height: 1.75; color: #596374; }
.gft-reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1001; pointer-events: none; }
.gft-reading-progress span { display: block; height: 100%; background: #b88746; transform: scaleX(0); transform-origin: left; }
.admin-bar .gft-reading-progress { top: 32px; }
.gft-editorial :focus-visible { outline: 2px solid #153a6b; outline-offset: 4px; }
@media (max-width: 991px) {
  .gft-editorial { max-width: 820px; padding: 0 26px; }
  .gft-reading-layout { grid-template-columns: minmax(0,1fr); gap: 28px; padding-top: 26px; }
  .gft-reading-rail__inner { position: static; max-height: none; padding: 0; }
  .gft-toc { padding: 16px 20px; background: #efe8dc; border: 1px solid #ded4c5; border-radius: 4px; }
  .gft-toc summary { min-height: 24px; }
  .gft-toc a { font-size: 13px; padding-top: 10px; padding-bottom: 10px; }
  .gft-rail-back { display: none; }
  .gft-story-header { padding-top: 16px; }
  .single-post .outer-header.aurora-header { position: relative; }
  .gft-prose h2, .gft-prose h3, .gft-prose h4 { scroll-margin-top: 24px; }
}
@media (max-width: 600px) {
  .gft-editorial { padding: 0 22px; }
  .gft-story-main { margin: 0 -22px; padding: 30px 22px 26px; border-left: 0; border-right: 0; border-radius: 0; }
  .gft-breadcrumb { padding: 22px 0; font-size: 11px; gap: 8px; }
  .gft-story-header { padding: 10px 0 27px; }
  .gft-story-header h1 { font-size: 42px; line-height: 1.08; margin: 18px 0 24px; }
  .gft-story-meta { font-size: 11px; gap: 12px; }
  .gft-story-byline { flex-basis: 100%; }
  .gft-story-meta > time { border-left: 0; padding-left: 0; }
  .gft-story-meta > span:last-child { padding-left: 12px; }
  .gft-prose { font-size: 16px; line-height: 1.85; }
  .gft-prose > p:first-child { font-size: 19px; line-height: 1.75; }
  .gft-prose h2 { font-size: 32px; margin-top: 38px; }
  .gft-prose h3 { font-size: 20px; }
  .gft-prose th, .gft-prose td { padding: 14px; }
  .gft-related { margin-top: 50px; }
  .gft-related-heading { display: block; }
  .gft-related-heading h2 { font-size: 32px; }
  .gft-related-heading > a { display: inline-block; margin-top: 12px; }
  .gft-related-grid { grid-template-columns: 1fr; gap: 24px; }
  .gft-related-item img { height: auto; max-height: 240px; }
  .admin-bar .gft-reading-progress { top: 46px; }
}
@media (prefers-reduced-motion: reduce) { .gft-editorial a { transition: none; } }
