/*
Theme Name: SinoPrism
Theme URI: https://sinoprism.com/
Author: SinoPrism
Description: Front-page newspaper theme for SinoPrism. Built from DESIGN-SPEC-v1.0.1.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: sinoprism
*/

:root {
	--ink: #142C3D;
	--vermilion: #C34B3B;
	--vermilion-dark: #A93E30;
	--gold: #C6A46A;
	--paper: #F5F2EB;
	--white: #FFFFFF;
	--slate: #55616B;
	--body-soft: #2B4254;
	--body-serif: #1B2F3E;
	--rule: #DDD8CC;
	--rule-ink: #47596A;
	--footer-text: #D9D4C8;
	--field: #8A949C;
	--serif: Georgia, 'Times New Roman', serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--pad: 40px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.4; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--vermilion-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sp-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 16px; background: var(--ink); color: var(--white); font-weight: 700; }
.sp-skip:focus { left: 0; color: var(--white); }

.sp-outer { background: var(--paper); padding: 0 0 48px; }
.sp-wrap { max-width: 1200px; margin: 0 auto; background: var(--white); padding: 0 var(--pad); }

/* ---- Shared type ---- */
.sp-h24 { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.2; }
.sp-h56 { font-family: var(--serif); font-size: 56px; line-height: 1.05; font-weight: 700; overflow-wrap: anywhere; }
.sp-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vermilion-dark); }
.sp-label--12 { font-size: 12px; }
.sp-label--wide { letter-spacing: 0.12em; }
.sp-meta { font-size: 13px; color: var(--slate); }
.sp-more { font-size: 13px; color: var(--vermilion-dark); white-space: nowrap; }
.sp-more--14 { font-size: 14px; font-weight: 600; }
.sp-more:hover { text-decoration: underline; }
.sp-empty { padding: 28px 0 44px; font-size: 16px; color: var(--slate); }

/* ---- Buttons and fields ---- */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; font-family: var(--sans); font-size: 14px; font-weight: 700; border: 1px solid var(--ink); text-decoration: none; }
.sp-btn--solid { background: var(--ink); color: var(--white); }
.sp-btn--solid:hover { background: var(--vermilion-dark); border-color: var(--vermilion-dark); color: var(--white); }
.sp-btn--line { background: var(--white); color: var(--ink); font-weight: 600; }
.sp-btn--line:hover { background: var(--paper); color: var(--ink); }
.sp-btn--red { background: var(--vermilion); border-color: var(--vermilion); color: var(--white); }
.sp-btn--red:hover { background: var(--vermilion-dark); border-color: var(--vermilion-dark); color: var(--white); }
.sp-btn--sm { padding: 0 16px; }
.sp-btn--48 { min-height: 48px; font-size: 15px; }
.sp-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.sp-field input, .sp-field textarea { font-weight: 400; font-size: 15px; min-height: 44px; padding: 0 12px; border: 1px solid var(--field); background: var(--white); color: var(--ink); }
.sp-field textarea { padding: 12px; resize: vertical; }

/* ---- Header ---- */
.sp-topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 0; min-height: 43px; font-size: 13px; color: var(--slate); border-bottom: 1px solid var(--rule); }
.sp-topbar nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.sp-topbar a { color: var(--slate); display: inline-flex; align-items: center; min-height: 42px; }
.sp-topbar a:hover, .sp-topbar a[aria-current] { color: var(--vermilion-dark); }
.sp-topbar__right { display: flex; align-items: center; gap: 8px; }
.sp-topbar__search { justify-content: center; width: 44px; min-height: 42px; margin-right: -13px; color: var(--ink) !important; }
.sp-topbar__search:hover { color: var(--vermilion-dark) !important; }

.sp-masthead { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 0 18px; }
.sp-masthead a { display: block; max-width: 80%; }
.sp-masthead img { display: block; width: 250px; max-width: 100%; height: auto; }
.sp-masthead--home { gap: 10px; padding: 32px 0 24px; }
.sp-masthead--home img { width: 340px; }
.sp-tagline { font-size: 15px; color: var(--slate); letter-spacing: 0.02em; text-align: center; }

.sp-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 36px; padding: 3px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 15px; font-weight: 600; }
.sp-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.sp-nav a.is-current { color: var(--vermilion-dark); }

.sp-cobar { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; padding: 4px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.sp-cobar a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; }
.sp-cobar__n { color: var(--slate); }
.sp-cobar__all { margin-left: auto; font-weight: 600; color: var(--vermilion-dark); }
.sp-cobar--inline { padding: 8px 0 0; border-bottom: 0; border-top: 1px solid var(--rule); }

/* ---- Hot Search ---- */
.sp-hot { display: flex; flex-direction: column; }
.sp-hot__head { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.2; padding-bottom: 10px; border-bottom: 2px solid var(--vermilion); }
.sp-hot__note { padding-top: 8px; font-size: 12px; color: var(--slate); }
.sp-hot__list li + li { border-top: 1px solid var(--rule); }
.sp-hot__item { display: flex; gap: 14px; padding: 14px 0; }
.sp-hot__num { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--vermilion); flex: 0 0 auto; min-width: 16px; }
.sp-hot__title { font-family: var(--serif); font-size: 15px; line-height: 1.35; }
.sp-hot__rank { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12px; color: var(--slate); }
.sp-hot--home { flex: 1 1 240px; min-width: 0; }
.sp-hot--home .sp-hot__head { font-size: 22px; }
.sp-hot--home .sp-hot__item { padding: 16px 0; }
.sp-hot--home .sp-hot__num { font-size: 30px; }
.sp-hot--home .sp-hot__title, .sp-hot--wide .sp-hot__title { font-size: 16px; }
.sp-hot--wide { flex: 1 1 300px; min-width: 0; max-width: 380px; }

/* ---- Front page: hero ---- */
.sp-hero { display: flex; flex-wrap: wrap; gap: 32px; padding: 32px 0; }
.sp-carousel { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sp-slide { display: flex; flex-direction: column; gap: 14px; }
.sp-slide__img { display: block; aspect-ratio: 16 / 9; background: var(--paper); overflow: hidden; }
.sp-slide__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-slide__title { min-height: 132px; font-family: var(--serif); font-size: 38px; line-height: 1.15; font-weight: 700; text-wrap: pretty; }
.sp-carousel__ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rule); padding-top: 6px; }
.sp-carousel__dots { display: flex; align-items: center; gap: 4px; }
.sp-dot { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; }
.sp-dot span { display: block; width: 32px; height: 4px; background: #C9C3B5; }
.sp-dot.is-current span { background: var(--vermilion); }
.sp-dot:hover span { background: var(--vermilion-dark); }
.sp-carousel__pos { font-size: 13px; color: var(--slate); padding-left: 8px; font-variant-numeric: tabular-nums; }
.sp-carousel__arrows { display: flex; gap: 8px; }
.sp-arrow { width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); background: var(--white); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.sp-arrow--solid { background: var(--ink); color: var(--white); }
.sp-arrow:hover { background: var(--vermilion-dark); border-color: var(--vermilion-dark); color: var(--white); }

.sp-today { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; }
.sp-today__head { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.2; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.sp-today__item { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; }
.sp-today__item + .sp-today__item { border-top: 1px solid var(--rule); }
.sp-today__title { font-family: var(--serif); font-size: 18px; line-height: 1.3; font-weight: 700; }

/* ---- Ads ---- */
.sp-ad { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sp-ad__label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.sp-ad__slot { width: 100%; }
.sp-ad--house { padding: 24px 0; border-top: 1px solid var(--rule); }
.sp-ad--banner { padding: 28px 0; }
.sp-ad--banner .sp-ad__slot { max-width: 970px; min-height: 90px; }
.sp-ad--ruled { padding: 24px 0; border-top: 1px solid var(--rule); }
.sp-ad--box .sp-ad__slot { max-width: 300px; height: 250px; }
.sp-ad--tall .sp-ad__slot { max-width: 300px; height: 600px; }
.sp-ad--article { padding: 8px 0; font-family: var(--sans); }
.sp-ad--article .sp-ad__slot { min-height: 250px; }
.sp-ad--feed { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.sp-ad--feed .sp-ad__slot { min-height: 140px; }
.sp-house { width: 100%; max-width: 970px; min-height: 90px; padding: 12px 28px; background: var(--paper); border: 1px solid var(--rule); border-left: 0; border-right: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.sp-house img { height: 40px; width: auto; }
.sp-house__text { flex: 1 1 320px; font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ink); }
.sp-house__btn { background: var(--vermilion); color: var(--white); font-size: 14px; font-weight: 700; padding: 13px 22px; }
.sp-house:hover .sp-house__btn { background: var(--vermilion-dark); }

/* ---- Front page: section columns ---- */
.sp-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.sp-cols--top { padding: 28px 0 36px; border-top: 3px solid var(--ink); }
.sp-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sp-col__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sp-col__head--ruled { padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.sp-col__img { display: block; height: 190px; background: var(--paper); overflow: hidden; }
.sp-col__img img, .sp-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-col__lead { font-family: var(--serif); font-size: 20px; line-height: 1.3; font-weight: 700; }
.sp-col__more { font-family: var(--serif); font-size: 16px; line-height: 1.35; padding-top: 12px; border-top: 1px solid var(--rule); }

.sp-band { margin: 0 calc(var(--pad) * -1); padding: 36px var(--pad); display: flex; flex-direction: column; gap: 20px; }
.sp-band--paper { background: var(--paper); }
.sp-band--ink { background: var(--ink); color: var(--paper); padding-top: 44px; padding-bottom: 44px; gap: 24px; }
.sp-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sp-card--10 { gap: 10px; }
.sp-card__img { display: block; height: 190px; background: #EBE6DA; overflow: hidden; }
.sp-card__img--220 { height: 220px; }
.sp-card__title { font-family: var(--serif); font-size: 20px; line-height: 1.3; font-weight: 700; }

.sp-trio { display: flex; flex-wrap: wrap; gap: 32px; padding: 36px 0; }
.sp-trio .sp-col { flex: 1 1 300px; }
.sp-trio__ad { flex: 0 1 300px; min-width: 0; }

.sp-prism__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.sp-prism__name { display: flex; align-items: baseline; gap: 14px; }
.sp-prism__name h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.2; }
.sp-prism__name span, .sp-prism__head > a { font-size: 13px; color: var(--gold); }
.sp-prism__name span { letter-spacing: 0.08em; text-transform: uppercase; }
.sp-prism__head > a:hover { text-decoration: underline; }
.sp-prism__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 40px; }
.sp-prism__grid a { color: var(--paper); font-family: var(--serif); font-size: 28px; line-height: 1.25; font-style: italic; border-top: 1px solid var(--rule-ink); padding-top: 18px; }
.sp-prism__grid a:hover { color: var(--gold); }

.sp-companies { padding: 32px 0 40px; border-top: 3px solid var(--ink); display: flex; flex-direction: column; gap: 20px; }
.sp-band--ink + .sp-companies { border-top: 0; }
.sp-termgrid { display: grid; gap: 0 32px; }
.sp-termgrid--200 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.sp-termgrid--240 { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.sp-term { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 17px; }
.sp-term--48 { min-height: 48px; }
.sp-term__n { font-family: var(--sans); font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }

.sp-latestrow { display: flex; flex-wrap: wrap; gap: 40px; padding: 32px 0 44px; border-top: 1px solid var(--ink); }
.sp-latest { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; }
.sp-latest__head { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.2; padding-bottom: 10px; border-bottom: 2px solid var(--vermilion); }
.sp-latest__item { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.sp-latest__item .sp-label { flex: 0 0 112px; padding-top: 5px; }
.sp-latest__title { font-family: var(--serif); font-size: 18px; line-height: 1.35; }
.sp-latest__more { align-self: flex-start; margin-top: 20px; }
.sp-latestrow__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }

.sp-about { background: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sp-about__head { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.2; }
.sp-about__text { font-size: 15px; line-height: 1.55; color: var(--body-soft); }

/* ---- Footer ---- */
.sp-footer { max-width: 1200px; margin: 0 auto; background: var(--ink); color: var(--paper); padding: 44px var(--pad) 28px; display: flex; flex-direction: column; gap: 32px; font-size: 14px; }
.sp-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; }
.sp-footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sp-footer__name { font-family: var(--serif); font-size: 26px; font-weight: 700; }
.sp-footer__text { color: var(--footer-text); line-height: 1.55; }
.sp-footer__head { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.sp-footer a { color: var(--paper); }
.sp-footer a:hover { color: var(--gold); text-decoration: underline; }
.sp-footer :focus-visible { outline-color: var(--paper); }
.sp-footer__legal { border-top: 1px solid var(--rule-ink); padding-top: 18px; font-size: 13px; color: var(--footer-text); }

/* ---- Article ---- */
.sp-article { padding: 36px 0 0; }
.sp-article__head { max-width: 860px; display: flex; flex-direction: column; gap: 18px; }
.sp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--slate); }
.sp-crumbs a { color: var(--slate); }
.sp-crumbs a.sp-crumbs__here { color: var(--vermilion-dark); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.sp-crumbs a:hover { text-decoration: underline; }
.sp-article__title { font-family: var(--serif); font-size: 46px; line-height: 1.12; font-weight: 700; text-wrap: pretty; overflow-wrap: anywhere; }
.sp-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sp-byline__who { font-size: 14px; color: var(--slate); }
.sp-byline__who a { font-weight: 700; }
.sp-byline__actions { display: flex; gap: 8px; }
.sp-lead { margin: 28px 0 0; display: flex; flex-direction: column; gap: 8px; }
.sp-lead img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper); }
.sp-lead figcaption { font-size: 13px; color: var(--slate); }
.sp-article__cols { display: flex; flex-wrap: wrap; gap: 56px; padding: 36px 0 44px; }
.sp-article__main { flex: 999 1 560px; min-width: 0; max-width: 700px; display: flex; flex-direction: column; gap: 22px; }
.sp-side { flex: 1 1 300px; min-width: 0; max-width: 340px; display: flex; flex-direction: column; gap: 32px; }
.sp-side--pad { padding-top: 22px; }

.sp-content { font-family: var(--serif); font-size: 19px; line-height: 1.65; color: var(--body-serif); overflow-wrap: break-word; }
.sp-content > * + * { margin-top: 22px; }
.sp-content > p:first-of-type { font-size: 22px; line-height: 1.55; color: var(--ink); }
.sp-content a { text-decoration: underline; text-underline-offset: 2px; }
.sp-content h2 { font-size: 28px; line-height: 1.2; color: var(--ink); margin-top: 36px; }
.sp-content h3 { font-size: 23px; line-height: 1.25; color: var(--ink); margin-top: 30px; }
.sp-content h4 { font-size: 19px; line-height: 1.3; color: var(--ink); }
.sp-content ul, .sp-content ol { padding-left: 1.3em; }
.sp-content ul { list-style: disc; }
.sp-content ol { list-style: decimal; }
.sp-content li + li { margin-top: 8px; }
.sp-content blockquote { margin: 22px 0 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--vermilion); font-style: italic; color: var(--ink); }
.sp-content blockquote > * + * { margin-top: 14px; }
.sp-content figure { margin-left: 0; margin-right: 0; }
.sp-content img { display: block; max-width: 100%; height: auto; }
.sp-content figcaption { margin-top: 8px; font-family: var(--sans); font-size: 13px; line-height: 1.4; color: var(--slate); }
.sp-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; line-height: 1.4; }
.sp-content th, .sp-content td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.sp-content th { border-bottom: 1px solid var(--ink); }
.sp-content hr { border: 0; border-top: 1px solid var(--rule); }
.sp-content .wp-block-button__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 24px; background: var(--ink); color: var(--white); font-family: var(--sans); font-size: 14px; font-weight: 700; text-decoration: none; border-radius: 0; }
.sp-content .wp-block-button__link:hover { background: var(--vermilion-dark); color: var(--white); }
.sp-content .wp-block-columns { display: flex; flex-wrap: wrap; gap: 32px; }
.sp-content .wp-block-column { flex: 1 1 280px; min-width: 0; }
.sp-content .wp-block-column > * + * { margin-top: 14px; }
.sp-content--page > p:first-of-type { font-size: 19px; line-height: 1.65; color: var(--body-serif); }

.sp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 14px; }
.sp-tags--plain { padding-top: 4px; border-top: 0; }
.sp-tags__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.sp-chip { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--ink); font-weight: 600; }
.sp-chip:hover { background: var(--paper); color: var(--ink); }
.sp-chip--soft { background: var(--paper); border-color: var(--paper); }
.sp-chip--soft:hover { border-color: var(--ink); }
.sp-chip--solid { background: var(--ink); color: var(--white); font-weight: 700; }
.sp-chip--solid:hover { background: var(--vermilion-dark); border-color: var(--vermilion-dark); color: var(--white); }
.sp-chip__n { color: var(--slate); font-weight: 400; }

.sp-authorbox { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 20px; background: var(--paper); }
.sp-authorbox__img { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.sp-authorbox__body { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sp-authorbox__name { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.sp-authorbox__bio { font-size: 15px; line-height: 1.5; color: var(--body-soft); }

.sp-next { padding: 32px 0 40px; border-top: 3px solid var(--ink); display: flex; flex-direction: column; gap: 20px; }

.sp-comments { padding: 32px 0 44px; border-top: 1px solid var(--ink); max-width: 700px; display: flex; flex-direction: column; gap: 16px; }
.sp-comments__list { display: flex; flex-direction: column; gap: 20px; }
.sp-comments__list .children { margin: 20px 0 0 24px; display: flex; flex-direction: column; gap: 20px; }
.sp-comments__list .comment-body { padding-bottom: 20px; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.55; }
.sp-comments__list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.sp-comments__list .comment-author .says { display: none; }
.sp-comments__list .avatar { border-radius: 50%; }
.sp-comments__list .comment-metadata { margin: 4px 0 10px; font-size: 13px; }
.sp-comments__list .comment-metadata a, .sp-comments__list .reply a { color: var(--slate); }
.sp-comments__list .comment-content > * + * { margin-top: 10px; }
.sp-comments__list .reply { margin-top: 8px; font-size: 13px; font-weight: 600; }
.sp-comments .comment-respond { display: flex; flex-direction: column; gap: 16px; }
.sp-cform { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.sp-cform .sp-field { font-size: 14px; }
.sp-cform__full, .sp-cform .form-submit, .sp-cform .comment-form-cookies-consent { grid-column: 1 / -1; }
.sp-cform .form-submit { display: flex; }
.sp-cform .sp-btn { padding: 0 24px; }

/* ---- Lists: section, company, person, author ---- */
.sp-pagehead { display: flex; flex-direction: column; gap: 14px; padding: 40px 0 28px; }
.sp-pagehead__desc { max-width: 720px; font-size: 18px; line-height: 1.5; color: var(--body-soft); }
.sp-pagehead__desc--640 { max-width: 640px; }
.sp-pagehead__desc--680 { max-width: 680px; line-height: 1.55; }

.sp-leadstory { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 28px 0 36px; border-top: 3px solid var(--ink); }
.sp-leadstory__img { flex: 3 1 420px; min-width: 0; height: 380px; background: var(--paper); overflow: hidden; }
.sp-leadstory__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-leadstory__body { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sp-leadstory__title { font-family: var(--serif); font-size: 36px; line-height: 1.15; font-weight: 700; text-wrap: pretty; }
.sp-leadstory__sum { font-size: 16px; line-height: 1.5; color: var(--body-soft); }
.sp-leadstory:hover .sp-meta, .sp-leadstory:hover .sp-leadstory__sum, .sp-row:hover .sp-meta, .sp-row:hover .sp-row__sum, .sp-result:hover .sp-meta, .sp-result:hover .sp-row__sum { color: var(--slate); }
.sp-leadstory:hover .sp-leadstory__sum, .sp-row:hover .sp-row__sum, .sp-result:hover .sp-row__sum { color: var(--body-soft); }

.sp-listcols { display: flex; flex-wrap: wrap; gap: 56px; padding: 0 0 44px; }
.sp-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.sp-list--heavy { border-top-width: 3px; }
.sp-list__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 0 4px; }
.sp-list__head span { font-size: 14px; color: var(--slate); }
.sp-list__end { padding-top: 24px; font-size: 14px; color: var(--slate); }
.sp-row { display: flex; flex-wrap: wrap; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.sp-row__img { flex: 0 0 220px; height: 140px; background: var(--paper); overflow: hidden; }
.sp-row__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-row__body { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sp-row__title { font-family: var(--serif); font-size: 23px; line-height: 1.25; font-weight: 700; }
.sp-row__sum { font-size: 15px; line-height: 1.5; color: var(--body-soft); }
.sp-row__sum strong { color: var(--ink); }

.sp-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 28px; }
.sp-pager__n { font-size: 14px; color: var(--slate); }
.sp-pager__links { display: flex; flex-wrap: wrap; gap: 8px; }

.sp-prismcard { background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.sp-prismcard__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sp-prismcard__head h2 { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.2; }
.sp-prismcard__head span { font-size: 12px; color: var(--slate); }
.sp-prismcard > a { font-family: var(--serif); font-size: 18px; line-height: 1.3; font-style: italic; }

.sp-moreterms { display: flex; flex-direction: column; }
.sp-moreterms__all { padding-top: 14px; align-self: flex-start; }

.sp-entityhead { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 36px; padding: 36px 0 28px; }
.sp-entityhead--portrait { padding: 40px 0 36px; }
.sp-entityhead__img { flex: 0 0 200px; height: 250px; background: var(--paper); overflow: hidden; }
.sp-entityhead__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-entityhead__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sp-entityhead__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.sp-entityhead__role { font-size: 16px; color: var(--slate); }
.sp-count { font-size: 15px; color: var(--slate); white-space: nowrap; }
.sp-count span { font-family: var(--serif); font-size: 28px; color: var(--vermilion); font-weight: 700; }

.sp-authorhead { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; padding: 44px 0 36px; }
.sp-authorhead__img { flex: 0 0 168px; width: 168px; height: 168px; border-radius: 50%; object-fit: cover; background: var(--paper); }
.sp-authorhead__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.sp-authorhead .sp-tags { padding-top: 6px; }

/* ---- Companies / People index ---- */
.sp-indexhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 40px 0 28px; }
.sp-indexhead__body { display: flex; flex-direction: column; gap: 14px; flex: 1 1 420px; min-width: 0; }
.sp-indexhead__find { flex: 0 1 300px; }
.sp-topterms { padding: 28px 0 36px; border-top: 3px solid var(--ink); display: flex; flex-direction: column; gap: 20px; }
.sp-topterms__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.sp-topterm { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px; background: var(--paper); border-top: 3px solid var(--vermilion); }
.sp-topterm__name { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.2; }
.sp-topterm__n { font-size: 13px; color: var(--slate); white-space: nowrap; }
.sp-topterm__n span { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.sp-allterms { padding: 28px 0 44px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 16px; }
.sp-allterms:first-of-type { border-top-width: 3px; }
.sp-allterms__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.sp-allterms__n { font-size: 14px; color: var(--slate); }
.sp-allterms .sp-empty { padding: 0; }

/* ---- Search ---- */
.sp-searchpage { max-width: 820px; display: flex; flex-direction: column; gap: 20px; padding: 40px 0 44px; }
.sp-searchpage__title { font-family: var(--serif); font-size: 40px; line-height: 1.1; font-weight: 700; }
.sp-searchpage__count { font-size: 15px; color: var(--slate); }
.sp-searchpage .sp-empty { padding: 0; }
.sp-searchpage .sp-pager { padding-top: 8px; }
.sp-search { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.sp-search .sp-field { flex: 1 1 320px; min-width: 0; }
.sp-search__btn { align-self: flex-end; border: 0; background: var(--ink); color: var(--white); font-size: 15px; font-weight: 700; }
.sp-search__btn:hover { background: var(--vermilion-dark); }
.sp-search--lg .sp-field input { font-family: var(--serif); font-size: 22px; min-height: 56px; padding: 0 16px; border: 2px solid var(--ink); }
.sp-search--lg .sp-search__btn { min-height: 56px; padding: 0 28px; }
.sp-search--md { max-width: 620px; }
.sp-search--md .sp-field { flex-basis: 280px; }
.sp-search--md .sp-field input { font-size: 17px; min-height: 52px; padding: 0 14px; border: 2px solid var(--ink); }
.sp-search--md .sp-search__btn { min-height: 52px; padding: 0 26px; }
.sp-entity { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; background: var(--paper); border-top: 3px solid var(--vermilion); }
.sp-entity__body { display: flex; flex-direction: column; gap: 4px; }
.sp-entity__name { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.2; }
.sp-results { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.sp-result { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--rule); }

/* ---- 404 ---- */
.sp-404 { display: flex; flex-wrap: wrap; gap: 56px; padding: 64px 0 72px; }
.sp-404__main { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sp-404__code { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vermilion-dark); }
.sp-404__title { font-family: var(--serif); font-size: 64px; line-height: 1.05; font-weight: 700; text-wrap: balance; }
.sp-404__text { max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--body-soft); }
.sp-404__btns { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }

/* ---- Static pages ---- */
.sp-page { max-width: 700px; padding: 40px 0 56px; display: flex; flex-direction: column; gap: 24px; }

/* ---- Narrow screens (desktop design degraded; a dedicated phone design is still to come) ---- */
@media (max-width: 1040px) {
	.sp-carousel { order: -1; flex-basis: 100%; }
	.sp-slide__title { min-height: 0; }
}
@media (max-width: 760px) {
	.sp-h56 { font-size: 40px; }
	.sp-article__title { font-size: 34px; }
	.sp-404__title { font-size: 44px; }
	.sp-slide__title { font-size: 30px; }
	.sp-leadstory__title { font-size: 28px; }
	.sp-leadstory__img { height: auto; aspect-ratio: 16 / 9; flex-basis: 100%; }
	.sp-prism__grid a { font-size: 23px; }
	.sp-side { max-width: none; }
	.sp-ad--tall { display: none; }
	.sp-article__cols, .sp-listcols, .sp-404 { gap: 36px; }
}
@media (max-width: 600px) {
	:root { --pad: 20px; }
	.sp-masthead img, .sp-masthead--home img { width: 240px; }
	.sp-tagline { display: none; }
	.sp-topbar__right > span { display: none; }
	.sp-nav { flex-wrap: nowrap; justify-content: flex-start; gap: 0 24px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); }
	.sp-nav::-webkit-scrollbar { display: none; }
	.sp-cobar__all { margin-left: 0; }
	.sp-row { gap: 14px; }
	.sp-row__img { flex: 1 1 100%; height: auto; aspect-ratio: 16 / 9; }
	.sp-row__title { font-size: 21px; }
	.sp-content { font-size: 18px; }
	.sp-content > p:first-of-type { font-size: 20px; }
	.sp-latest__item { flex-direction: column; gap: 4px; }
	.sp-latest__item .sp-label { flex: none; padding-top: 0; }
	.sp-house__text { font-size: 19px; }
}

@media (prefers-reduced-motion: no-preference) {
	a, .sp-btn, .sp-arrow, .sp-dot span, .sp-house__btn { transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
}

@media print {
	.sp-topbar, .sp-nav, .sp-cobar, .sp-side, .sp-ad, .sp-next, .sp-comments, .sp-footer, .sp-byline__actions { display: none !important; }
	.sp-outer, body { background: #fff; }
}
