/* Public content and brand values are supplied by the selected site. */
[data-site-template="sports-encyclopedia"] {
  --ep-line: color-mix(in srgb, var(--ink, #173527) 20%, transparent);
  --ep-tone: color-mix(in srgb, var(--blue, #285c47) 8%, var(--paper, #fff));
  color: var(--ink); background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}
[data-site-template="sports-encyclopedia"] :is(button,input,select,textarea) {font-family:inherit}
[data-site-template="sports-encyclopedia"] .site-header {border-bottom: 1px solid var(--ep-line); box-shadow: none}
[data-site-template="sports-encyclopedia"] .wordmark {font-weight:700;letter-spacing:.025em}
[data-site-template="sports-encyclopedia"] a:focus-visible {outline:3px solid var(--blue); outline-offset:3px}
.ep-lead {display:grid; align-items:stretch; border-bottom:1px solid var(--ep-line); margin:clamp(18px,3.6vw,48px) 0 0; padding:0 0 clamp(22px,3.4vw,46px); gap:clamp(24px,4vw,64px)}
.ep-lead:has(>img) {grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)}
.ep-lead[data-ym-variant="column"]:has(>img) {grid-template-columns:minmax(0,1fr) min(32%,320px)}
.ep-lead-copy {align-self:center; min-width:0; padding-block:8px}
.ep-lead-copy::before,.ep-profile::before {content:"";display:block; width:52px; height:5px; background:var(--blue); margin-bottom:22px}
.ep-lead h1,.ep-reader h1,.ep-profile h1 {font-weight:700;color:var(--ink);margin:0;text-wrap:balance;overflow-wrap:anywhere;line-height:1.3}
.ep-lead h1 {font-size:clamp(28px,3vw,44px)}
.ep-deck,.ep-standfirst {font-size:clamp(15px,1.2vw,19px);line-height:1.85; margin:18px 0 0; max-width:60ch; white-space:pre-line}
.ep-lead-image {display:block;align-self:center;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:var(--ep-tone)}
.layout-v4 .ep-lead:is([data-ym-variant="home"],[data-ym-variant="intro"]) .ep-lead-image {aspect-ratio:16/9}
.ep-parent,.ep-byline a {color:var(--blue);font-weight:700; text-decoration:underline;text-underline-offset:4px}
.ep-parent {display:inline-block;margin:0 0 12px; font-size:.9rem}
.ep-actions {display:flex;gap:.65rem;flex-wrap:wrap;margin-top:20px}
.ep-actions:empty,.ep-standfirst:empty,.ep-deck:empty,.ep-related>div:not(:has(li)) {display:none}
.ep-actions a {display:inline-block;padding:8px 15px;border:1px solid var(--ep-line);border-radius:3px;color:var(--ink);text-decoration:none;font-weight:650}
.ep-actions span:first-child a {color:var(--paper);background:var(--ink)}
.ep-flow .page-section {background:transparent;border:0;border-top:1px solid var(--ep-line);border-radius:0;box-shadow:none;padding:clamp(20px,3vw,38px) 0;margin:0}
.ep-flow .page-blocks {display:block;margin:0}
.ep-flow .section-title {display:flex;align-items:baseline;gap:1em;justify-content:space-between}
.ep-flow .section-title h2,.ep-reader h2,.ep-related h2 {font-weight:700}
.ep-flow .section-title h2 {font-size:clamp(23px,2.35vw,35px);margin:0 0 .45em}
.ep-flow .info-cards,.ep-flow .faq-list {gap:clamp(14px,2vw,28px)}
.ep-flow .info-card,.ep-flow .article-card,.ep-flow .faq-list>section {border:0;border-radius:0;box-shadow:none;border-top:2px solid var(--ep-line);background:transparent;padding:14px 0}
.ep-flow .info-card h3,.ep-flow .article-card h3 {line-height:1.45}
.ep-flow .info-card img,.ep-flow .article-thumb,.ep-flow .article-thumb img,.ep-flow .home-about-image img {border-radius:0}
.ep-flow .article-card-link:hover h3,.ep-related a:hover {text-decoration:underline;text-underline-offset:4px}
.ep-flow .paired-article-sections {gap:clamp(24px,4vw,60px)}
.ep-reader {max-width:820px;margin:clamp(20px,5vw,68px) auto 36px}
.ep-reader>header {border-top:4px solid var(--blue);padding:22px 0}
.ep-reader h1 {font-size:clamp(30px,3.6vw,52px)}
.ep-byline {display:flex;flex-wrap:wrap;align-items:center;gap:1rem;font-size:.9rem;margin:18px 0}
.ep-byline time {font-variant-numeric:tabular-nums}
.ep-standfirst {border-left:3px solid var(--blue); padding-left:15px}
.ep-cover {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:var(--ep-tone);margin-bottom:24px}
.cover-cover .ep-cover {object-fit:cover}
.ep-reader .article-toc {padding:16px 20px;background:var(--ep-tone);border:0;border-left:3px solid var(--blue);border-radius:0;margin:24px 0}
.ep-reader .article-toc .toc-3 {margin-inline-start:1.5em}
.ep-reader .article-body {font-size:clamp(16px,1.25vw,19px);line-height:1.95;max-width:74ch;margin:0 auto;overflow-wrap:anywhere}
.ep-reader .article-body :is(h2,h3) {scroll-margin-top:7rem}
.ep-reader .article-body img {height:auto;max-width:100%}
.ep-related {max-width:820px;margin:0 auto 40px;border-top:1px solid var(--ep-line);padding:16px 0}
.ep-related li {margin:.6em 0}
.ep-profile {position:relative;display:flex; gap:20px;align-items:center;padding:32px 0;border-bottom:1px solid var(--ep-line)}
.ep-profile::before {position:absolute;top:0}.ep-profile p {color:var(--blue);margin:0 0 .45em}.ep-profile img {border-radius:50%;width:84px;height:84px;object-fit:cover}
@media(max-width:760px){
  .ep-lead:has(>img),.ep-lead[data-ym-variant="column"]:has(>img){grid-template-columns:minmax(0,1fr);gap:18px}
  .ep-lead[data-ym-variant="column"] .ep-lead-image{max-width:280px;justify-self:center}
  .ep-lead-copy::before{margin-bottom:14px}.ep-deck{margin-top:12px}.ep-flow .paired-article-sections{display:block}
  .ep-reader>header{padding-top:16px}.ep-flow .section-title{flex-wrap:wrap;gap:.25rem}.ep-actions a{padding:8px 12px}
}
