/* Long-form journal reading surface. Keep the navigation language of the rest of the site. */
html:has(.article-page) { scroll-behavior: auto; }
.interior-page:has(.article-page) { background: #f3f2ee; }
.interior-page .article-page { width: min(100% - 80px, 1100px); max-width: none; padding: 146px 0 0; background: #fff; --article-text: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; }
.article-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: 1000px; margin: 0 auto; padding: 0 40px; color: #617480; font-size: 13px; }
.article-breadcrumb a { text-decoration: underline; text-decoration-color: #9ab1bb; text-underline-offset: 4px; }
.article-breadcrumb a:hover { color: var(--navy); }
.article-layout { max-width: 1000px; margin: 0 auto; padding: 34px 40px 0; }
.article-header { max-width: 850px; }
.article-kicker { display: flex; align-items: center; gap: 16px; color: #597485; font-size: 12px; letter-spacing: .11em; }
.article-kicker span:first-child { color: var(--gold-dark); font: 400 16px/1.4 Georgia, serif; letter-spacing: .12em; }
.article-kicker span + span { padding-left: 16px; border-left: 1px solid #b2c3ca; }
.interior-page .article-header h1 { margin: 20px 0 26px; color: var(--navy); font: 600 clamp(32px, 3.2vw, 44px)/1.5 var(--serif); letter-spacing: .015em; overflow-wrap: anywhere; }
.article-deck { max-width: 42em; color: #4d5a63; font: 400 16px/1.95 var(--article-text); letter-spacing: .015em; }
.article-details { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 27px 0 32px; padding-top: 15px; border-top: 1px solid #cbdce3; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #647987; font-size: 12px; letter-spacing: .04em; }
.article-meta span + span::before { content: '•'; margin-right: 18px; color: #9ab1bb; }
.article-meta a { text-decoration: underline; text-underline-offset: 4px; }
.article-cover { position: relative; height: clamp(220px, 28vw, 320px); overflow: hidden; background: #e7edf0; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.article-cover::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #001a2f88); pointer-events: none; }
.article-cover figcaption { position: absolute; z-index: 1; left: 26px; bottom: 18px; color: #fff; font-size: 12px; letter-spacing: .1em; }
.article-columns { display: grid; grid-template-columns: minmax(190px, 230px) minmax(0, 620px); gap: 64px; align-items: start; margin-top: 56px; }
.article-content { min-width: 0; width: 100%; max-width: 620px; }
.article-section { scroll-margin-top: 38px; margin: 0 0 76px; padding-top: 26px; border-top: 1px solid #e0e5e7; }
.article-section-number { margin-bottom: 12px; color: #76623d; font: 500 12px/1.4 var(--sans); letter-spacing: .13em; }
.article-content .article-section h2 { margin: 0 0 30px; padding: 0 0 0 18px; border: 0; border-left: 4px solid #a9925e; color: var(--navy); font: 700 clamp(23px, 2.2vw, 28px)/1.55 var(--sans); letter-spacing: .005em; overflow-wrap: anywhere; }
.article-section > p:not(.article-section-number), .article-introduction > p { margin: 0 0 28px; color: #2e3941; font: 400 17px/2 var(--article-text); letter-spacing: .015em; overflow-wrap: anywhere; line-break: strict; text-wrap: pretty; }
.article-introduction { margin-bottom: 64px; }
.article-introduction > p:first-child { font-size: 18px; color: #223644; }
.article-content strong { color: #142f41; font-weight: 700; }
.article-content p:not(.article-key-message) strong { background: linear-gradient(transparent 65%, #efe5cf 65%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.article-content p.article-key-message { margin: 34px 0; padding: 23px 26px; border-left: 3px solid #a9925e; background: #f7f5ee; font-size: 18px; line-height: 1.9; }
.article-content p.article-key-message strong { font-weight: 700; }
.article-content p:last-child { margin-bottom: 0; }
.article-content p a { color: #2b627e; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
.article-content p a:hover { color: #80682e; }
.article-content p a[rel="external"] { font-family: var(--article-text); font-size: .85em; margin-inline-start: .35em; }
.article-takeaway { margin: 0 0 38px; padding: 27px 30px 30px; border-left: 4px solid #a8c0c9; background: #eef5f7; }
.article-takeaway p { margin-bottom: 12px; color: #577487; font: 500 12px/1.4 var(--sans); letter-spacing: .15em; }
.article-takeaway strong { color: var(--navy); font: 500 19px/1.8 var(--serif); }
.article-actions { position: relative; flex: 0 0 auto; }
.article-feedback { margin: 12px 0 34px; padding: 30px 18px 24px; border-top: 1px solid #dce3e6; border-bottom: 1px solid #dce3e6; text-align: center; font-family: var(--article-text); scroll-margin-top: 40px; }
.article-feedback-caption { margin: 0 0 17px; color: #52616a; font-size: 14px; }
.article-like-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 170px; min-height: 52px; padding: 12px 25px; border: 1px solid #9cabb2; border-radius: 999px; background: #fff; color: #243e50; font: 700 15px/1.5 var(--article-text); touch-action: manipulation; transition: background-color .15s, color .15s; }
.article-like-button:hover:not(:disabled) { background: #f7f5ee; border-color: #a9925e; }
.article-like-button[aria-pressed="true"] { background: #16374a; border-color: #16374a; color: #fff; }
.article-like-button[aria-pressed="true"]:hover:not(:disabled) { background: #244b62; border-color: #244b62; }
.article-like-button[aria-pressed="true"] .article-like-icon { fill: #e0c587; stroke: #e0c587; }
.article-like-button:disabled { cursor: wait; opacity: .65; }
.article-like-count { padding-left: 12px; border-left: 1px solid #91a0a65c; font-variant-numeric: tabular-nums; }
.article-like-status { min-height: 1.8em; margin: 12px 0 6px; color: #3e5e6d; font-size: 12px; line-height: 1.8; }
.article-like-note, .article-like-privacy { color: #63727b; font-size: 11px; line-height: 1.9; }
.article-like-privacy { max-width: 38em; margin: 8px auto 0; }
.article-like-privacy summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.article-like-privacy p { margin-top: 9px; text-align: left; }
.copy-article-link { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ccd5d7; border-radius: 50%; background: #fff; color: #425e6b; cursor: pointer; touch-action: manipulation; transition: background-color .18s, border-color .18s, color .18s; }
.copy-article-link:hover, .copy-article-link:focus-visible { background: #f7f5ee; border-color: #a9925e; color: #80682e; }
.copy-article-link:focus-visible { outline: 2px solid #a9925e; outline-offset: 4px; }
.copy-check-icon { display: none; }
.copy-article-link[data-copied="true"] { background: #16374a; border-color: #16374a; color: #fff; }
.copy-article-link[data-copied="true"] .copy-link-icon { display: none; }
.copy-article-link[data-copied="true"] .copy-check-icon { display: block; }
.copy-tooltip { position: absolute; right: 0; bottom: calc(100% + 8px); width: max-content; padding: 6px 10px; border-radius: 4px; background: #16374a; color: #fff; font: 400 11px/1.5 var(--article-text); pointer-events: none; visibility: hidden; }
.copy-article-link:hover .copy-tooltip, .copy-article-link:focus-visible .copy-tooltip { visibility: visible; }
.copy-status { position: absolute; z-index: 2; right: 0; top: calc(100% + 7px); width: max-content; max-width: min(270px, 75vw); color: #425e6b; font: 400 12px/1.7 var(--article-text); }
.copy-status:not(:empty) { padding: 7px 12px; border: 1px solid #dce3e6; border-radius: 4px; background: #fff; box-shadow: 0 4px 14px #001a2f0a; }
.article-sidebar { position: sticky; top: 38px; max-height: calc(100dvh - 76px); overflow-y: auto; scrollbar-width: thin; }
.article-sidebar nav { padding: 24px 0 19px; border-top: 2px solid var(--navy); border-bottom: 1px solid #cbdce3; }
.article-sidebar nav > p { margin-bottom: 17px; color: #607b89; font: 400 13px/1.5 Georgia, serif; letter-spacing: .16em; }
.article-sidebar ol, .article-toc-mobile ol { margin: 0; padding: 0; list-style: none; }
.article-sidebar li + li { margin-top: 10px; }
.article-sidebar li a, .article-toc-mobile li a { display: flex; align-items: baseline; gap: 11px; padding-block: 4px; color: #485b67; font: 400 13px/1.75 var(--article-text); }
.article-sidebar li a:hover, .article-toc-mobile li a:hover { color: #8b7243; text-decoration: underline; text-underline-offset: 4px; }
.article-sidebar li span, .article-toc-mobile li span { flex: 0 0 auto; color: #8b7243; font: 400 12px/1.5 Georgia, serif; }
.article-sidebar > a { display: inline-block; margin-top: 20px; padding-bottom: 5px; border-bottom: 1px solid #9eb4bf; color: #486b7d; font-size: 13px; }
.article-toc-mobile { display: none; }
.article-more { margin-top: 16px; padding: 50px max(40px, calc((100% - 920px)/2)) 70px; background: #eaf2f5; }
.article-more-heading p { color: #597485; font: 400 13px/1.4 Georgia, serif; letter-spacing: .17em; }
.article-more-heading h2 { margin: 9px 0 24px; color: var(--navy); font: 700 26px/1.5 var(--sans); }
.related-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.related-card { display: grid; grid-template-columns: 95px minmax(0, 1fr); min-height: 120px; background: #fff; border: 1px solid #d2e0e5; }
.related-card img { width: 95px; height: 100%; object-fit: cover; }
.related-card > span { display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 14px 18px; }
.related-card small { color: #607b89; font-size: 11px; }
.related-card strong { color: var(--navy); font: 700 16px/1.7 var(--sans); }
.related-card:hover { border-color: #8da8b6; }
.article-next { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 20px; margin-top: 30px; padding: 18px 0; border-top: 1px solid #b6cbd4; border-bottom: 1px solid #b6cbd4; }
.article-next span { color: #607b89; font-size: 12px; }
.article-next strong { color: var(--navy); font: 700 16px/1.7 var(--sans); }
.article-progress { position: fixed; z-index: 9; top: 0; left: 0; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left; background: #b9954d; pointer-events: none; }
@media(max-width:900px) {
  .interior-page .article-page { width: calc(100% - 40px); }
  .article-layout { padding-inline: 32px; }
  .article-breadcrumb { padding-inline: 32px; }
  .article-columns { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 620px; margin: 40px auto 0; }
  .article-sidebar { display: none; }
  .article-toc-mobile { display: block; margin: 0 0 48px; border: 1px solid #d4e1e6; background: #f6f9fa; }
  .article-toc-mobile summary { padding: 16px 20px; color: var(--navy); font: 700 15px/1.5 var(--sans); cursor: pointer; }
  .article-toc-mobile details[open] summary { border-bottom: 1px solid #d4e1e6; }
  .article-toc-mobile ol { padding: 14px 20px 20px; }
  .article-toc-mobile li + li { margin-top: 11px; }
}
@media(max-width:600px) {
  .interior-page .article-page { width: 100%; padding-top: 112px; }
  .article-breadcrumb { padding-inline: 22px; font-size: 12px; }
  .article-layout { padding: 31px 22px 0; }
  .article-kicker { gap: 9px; font-size: 11px; }
  .article-kicker span + span { padding-left: 9px; }
  .interior-page .article-header h1 { margin: 19px 0 22px; font-size: clamp(27px, 7.2vw, 34px); line-height: 1.55; }
  .article-deck { font-size: 15px; }
  .article-details { margin: 22px 0 25px; }
  .article-meta { gap: 8px 12px; }
  .article-meta span + span::before { margin-right: 10px; }
  .article-cover { height: clamp(190px, 55vw, 260px); margin-inline: -22px; }
  .article-cover figcaption { left: 22px; bottom: 13px; }
  .article-section { margin-bottom: 60px; padding-top: 24px; }
  .article-content .article-section h2 { margin-bottom: 26px; padding-left: 14px; font-size: 22px; line-height: 1.6; }
  .article-section > p:not(.article-section-number), .article-introduction > p { margin-bottom: 25px; font-size: 16px; line-height: 1.95; letter-spacing: .01em; }
  .article-introduction > p:first-child { font-size: 17px; }
  .article-content p.article-key-message { margin-block: 29px; padding: 20px; font-size: 17px; line-height: 1.85; }
  .article-content p:last-child { margin-bottom: 0; }
  .article-takeaway { padding: 22px; }
  .article-more { padding: 42px 22px 55px; }
  .related-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media(max-width:360px) {
  .interior-page .article-header h1 { font-size: 26px; letter-spacing: 0; }
  .article-kicker { flex-direction: column; align-items: flex-start; gap: 5px; }
  .article-kicker span + span { padding-left: 0; border-left: 0; }
}
@media(prefers-reduced-motion:reduce) { .article-progress { transition: none; } }
