/*
 * Article and information pages: head, cover + Story file panel, reading column, TOC,
 * correction note, share compositions, related band, page layout, contact form.
 */

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress__bar { display: block; height: 100%; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .read-progress { top: 32px; }

/* Head ------------------------------------------------------------------ */
.article-head { padding-block: 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.article-head__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.article-head__section {
	display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: .875rem;
	letter-spacing: .08em; text-transform: uppercase; color: var(--signal); text-decoration: none;
}
.article-head__num { background: var(--ink); color: #fff; padding: 3px 6px; font-size: .75rem; letter-spacing: 0; }
.article-head__title {
	font-size: clamp(2rem, 5.6vw, 4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.02;
	max-width: 22ch; overflow-wrap: anywhere; text-wrap: balance;
}
.article-head__standfirst { font-size: clamp(1.125rem, 2vw, 1.375rem); font-style: italic; line-height: 1.5; color: var(--ink-soft); max-width: 58ch; }
@media (min-width: 1200px) { .article-head__title { max-width: 26ch; } }

/* Cover + Story file ----------------------------------------------------- */
.article-split { display: grid; gap: 22px; }
.article-cover { margin: 0; }
.article-cover__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--fog); }
.article-cover__caption { margin-top: 8px; font-family: var(--font-head); font-size: .8125rem; color: var(--muted); }
.story-file { border-top: 4px solid var(--ink); padding-top: 4px; display: flex; flex-direction: column; gap: 16px; align-self: start; }
.story-file__list { margin: 0; }
.story-file__list > div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.story-file dt { font-family: var(--font-head); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.story-file dd { margin: 0; font-family: var(--font-head); font-size: .9375rem; font-weight: 600; }
.story-file dd a { color: var(--ink); }
@media (min-width: 1024px) {
	.article-split { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 36px; }
	.article-split--no-image { grid-template-columns: minmax(0, 8fr); }
}

/* Body layout ------------------------------------------------------------ */
.article-layout { display: grid; gap: 44px; padding-block: 36px 56px; }
.article-main { min-width: 0; max-width: 700px; }
@media (min-width: 1024px) {
	.article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
	.article-main { margin-left: 0; }
}

.update-note { background: var(--note-bg); border-left: 4px solid var(--note-ink); padding: 14px 18px; margin-bottom: 26px; font-family: var(--font-head); font-size: .9375rem; color: #3d2a00; }
.update-note__title { font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; color: var(--note-ink); margin-bottom: 4px; }
.type-note { margin-bottom: 26px; padding: 12px 16px; border: 1px solid var(--ink); font-family: var(--font-head); font-size: .9375rem; }
.type-note--opinion { background: var(--ink); color: #fff; }
.type-note--sponsored { background: var(--note-bg); border-color: var(--note-ink); color: #3d2a00; }

.toc { margin-bottom: 30px; border: 1px solid var(--line); border-top: 4px solid var(--signal); background: var(--fog); }
.toc summary { cursor: pointer; padding: 12px 16px; font-family: var(--font-head); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .875rem; }
.toc ol { padding: 0 16px 14px 40px; font-family: var(--font-head); font-size: .9375rem; }
.toc li { padding-block: 4px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Reading text ----------------------------------------------------------- */
.entry-content { font-size: 1.125rem; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content h2 { font-size: 1.625rem; font-weight: 900; margin-top: 1.8em; letter-spacing: -.015em; scroll-margin-top: calc(var(--header-offset) + 16px); }
.entry-content h3 { font-size: 1.25rem; font-weight: 800; margin-top: 1.5em; }
.entry-content a { color: var(--link); }
.entry-content a:hover { color: var(--signal); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--signal); font-style: italic; font-size: 1.25rem; color: var(--ink-soft); }
.entry-content img, .entry-content figure { max-width: 100%; height: auto; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-caption-text { font-family: var(--font-head); font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font-head); font-size: .9375rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.entry-content .sample-note { font-family: var(--font-head); font-size: .9375rem; line-height: 1.5; padding: 12px 16px; background: var(--fog); border: 1px dashed var(--muted); }
.article .entry-content > p:first-of-type:not(.sample-note)::first-letter, .article .entry-content > .sample-note + p::first-letter {
	float: left; font-family: var(--font-head); font-weight: 900; font-size: 3.6em; line-height: .8; margin: .08em .1em 0 0; color: var(--signal);
}
.page-links { margin-top: 24px; font-family: var(--font-head); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 32px; }
.tag-list a { display: inline-block; padding: 6px 10px; background: var(--fog); font-family: var(--font-head); font-size: .875rem; font-weight: 700; text-decoration: none; }
.tag-list a:hover { background: var(--ink); color: #fff; }

/* Share ----------------------------------------------------------------- */
.share { --social-bg: #fff; }
.share__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.share__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px;
	border: 1px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); text-decoration: none;
	font-family: var(--font-head); font-weight: 700; font-size: .875rem; padding: 0;
}
.share__btn:hover { background: var(--ink); color: #fff; --social-bg: var(--ink); }
.share__btn--text { border-radius: 999px; padding-inline: 14px; }
.share__btn .social-icon { width: 20px; height: 20px; }
.share--top { display: flex; flex-direction: column; gap: 8px; }
.share__title--inline { font-family: var(--font-head); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.share__status { font-family: var(--font-head); font-size: .875rem; min-height: 1.4em; color: var(--ink); }

.share--end { margin-top: 44px; padding: 26px; background: var(--ink); color: #fff; --social-bg: var(--ink); }
.share--end .share__title { font-size: 1.5rem; font-weight: 900; }
.share__note { margin-top: 6px; font-family: var(--font-head); font-size: .875rem; color: #c9ced6; }
.share--end .share__list { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.share--end .share__btn {
	width: 100%; justify-content: flex-start; padding: 10px 14px; border-radius: var(--radius); border-color: #4a515c;
	background: transparent; color: #fff; --social-bg: var(--ink);
}
.share--end .share__btn:hover { background: #fff; color: var(--ink); --social-bg: #fff; }
.share--end :focus-visible { outline-color: var(--signal-on-dark); }
.share__field { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.share__field label { color: #c9ced6; font-size: .8125rem; }
.share__field input { background: #22262d; color: #fff; border-color: #4a515c; font-family: var(--font-head); font-size: .875rem; }
.share--end .share__status { color: var(--signal-on-dark); margin-top: 8px; }

/* Related band ----------------------------------------------------------- */
.related { padding-block: 44px 56px; }

/* Information pages ----------------------------------------------------- */
.site-main--page { padding-bottom: 56px; }
.site-main--page > .container:first-child { padding-top: 22px; }
.page-layout { display: grid; gap: 40px; }
.page-article { max-width: 720px; min-width: 0; }
.page-index { border-top: 4px solid var(--ink); padding-top: 12px; align-self: start; }
.page-index ul { list-style: none; }
.page-index a { display: block; padding-block: 9px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.page-index a[aria-current] { color: var(--signal); }
@media (min-width: 1024px) { .page-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; } }

.sitemap-grid { display: grid; gap: 32px; margin-top: 12px; }
@media (min-width: 768px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .sitemap-grid { grid-template-columns: repeat(3, 1fr); } }
.sitemap-sec { border-top: 4px solid var(--ink); padding-top: 10px; }
.sitemap-sec h2 { font-size: 1.25rem; font-weight: 900; margin-bottom: 8px; }
.sitemap-sec h2 span { color: var(--signal); font-size: .875rem; }
.sitemap-sec h2 a { text-decoration: none; }
.sitemap-list { list-style: none; font-family: var(--font-head); }
.sitemap-list li { padding-block: 8px; border-bottom: 1px solid var(--line); }
.sitemap-list a { font-weight: 600; }
.sitemap-list time { display: block; font-size: .75rem; color: var(--muted); }

/* Contact form ---------------------------------------------------------- */
.contact-form-wrap { margin-top: 36px; padding: 26px; border: 1px solid var(--line); border-top: 4px solid var(--signal); }
.contact-form-wrap h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 18px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row--2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.form-field--check input { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; accent-color: var(--signal); }
.form-field--check label { font-weight: 400; font-family: var(--font-text); }
.form-note { padding: 12px 16px; font-family: var(--font-head); font-weight: 600; margin-bottom: 16px; }
.form-note--success { background: #e6f2ea; border-left: 4px solid #1e6b3a; }
.form-note--error { background: #fbe9e5; border-left: 4px solid var(--signal); }
.contact-form .meta { font-family: var(--font-head); font-size: .8125rem; color: var(--muted); }
