/* score-data.site — classic template. Change only this :root block to restyle. */
:root {
  --primary: #0369a1;
  --accent: #e11d48;
  --bg: #ffffff;
  --surface: #f8f8f9;
  --surface-2: #f0f1f2;
  --text: #0c1a2b;
  --muted: #636c78;
  --border: #e2e4e6;
  --link: #0369a1;
  --font-head: "Rubik", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16.5px/1.7 var(--font-body); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.banner { background: var(--primary); color: #fff; }
.banner .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.banner .logo { background: #fff; border-radius: 10px; padding: 8px 14px; }
.banner .logo img { height: 30px; width: auto; }
.banner .tagline { font-size: 15px; opacity: .9; text-align: right; max-width: 380px; }
.menu { background: var(--surface); border-bottom: 1px solid var(--border); }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; }
.menu a { display: block; padding: 13px 16px; color: var(--text); font: 600 15px var(--font-head); white-space: nowrap; border-bottom: 3px solid transparent; }
.menu a:hover { border-bottom-color: var(--accent); text-decoration: none; }

.body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-top: 36px; padding-bottom: 56px; }

.welcome { border-bottom: 2px solid var(--border); padding-bottom: 22px; margin-bottom: 26px; }
.welcome h1 { font-size: clamp(28px, 4vw, 38px); }
.welcome p { margin: 0; color: var(--muted); font-size: 18px; }

.post { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.post .img { aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.post .cat { font: 700 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--link); }
.post h2 { font-size: 22px; margin: 6px 0; }
.post h2 a { color: var(--text); }
.post p { margin: 0 0 8px; color: var(--muted); font-size: 15.5px; }
.post .more { font-weight: 600; font-size: 14px; }
.empty { color: var(--muted); padding: 18px 0; }
.block-title { font-size: 21px; margin: 34px 0 6px; padding-left: 12px; border-left: 4px solid var(--primary); }

.widget { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px; margin-bottom: 22px; }
.widget h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.widget p { margin: 0; color: var(--muted); font-size: 15px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 7px 0; border-bottom: 1px dotted var(--border); font-size: 15px; }
.widget li:last-child { border-bottom: 0; }

.entry-head h1 { font-size: clamp(30px, 4.5vw, 42px); }
.entry-head .dek { color: var(--muted); font-size: 19px; margin: 0 0 10px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.prose h2 { font-size: 25px; margin-top: 1.7em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose pre { background: var(--surface-2); padding: 16px; border-radius: 8px; overflow-x: auto; font-size: 14px; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }
.prose .box { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: 8px; padding: 16px 20px; margin: 1.5em 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th { background: var(--primary); color: #fff; font-family: var(--font-head); }
.prose th, .prose td { text-align: left; padding: 9px 12px; border: 1px solid var(--border); }

.site-foot { background: var(--surface); border-top: 3px solid var(--primary); color: var(--muted); font-size: 14px; }
.site-foot .container { padding-top: 26px; padding-bottom: 36px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; }
.site-foot a { color: var(--muted); }

@media (max-width: 900px) {
  .body-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .banner .container { flex-direction: column; align-items: flex-start; }
  .banner .tagline { text-align: left; }
  .post { grid-template-columns: minmax(0, 1fr); }
  .post .img { aspect-ratio: 16 / 7; }
}

/* Long words and URLs wrap instead of widening the page on phones */
h1, h2, h3, p, li, td, th, dd, blockquote { overflow-wrap: break-word; }

/* ===== SITE IDENTITY: Score Data — league table ===== */
:root { --blue-d: #075985; --blue-50: #eff8ff; --green: #15803d; --red: #e11d48; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; }
.banner { background: #fff; color: var(--text); border-bottom: 1px solid var(--border); }
.banner .logo { padding: 0; background: none; }
.banner .tagline { color: var(--muted); opacity: 1; font-weight: 500; }
.menu { background: var(--primary); border-bottom: 0; box-shadow: inset 0 -4px 0 var(--blue-d); }
.menu a { color: #fff; font-weight: 600; border-bottom: 4px solid transparent; }
.menu a:hover { border-bottom-color: var(--accent); }
@media (max-width: 600px) {
  .menu ul { flex-wrap: wrap; gap: 0 2px; overflow: visible; }
  .menu a { padding: 9px 10px; font-size: 14px; }
}
.sd-hero { border-bottom: 0; }
.sd-kicker { display: inline-block; font: 700 12px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.sd-hero h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.08; }
.sd-table { margin: 24px 0 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -30px rgba(3, 105, 161, .55); }
.sd-table figcaption { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 12px 16px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--border); background: var(--blue-50); }
.sd-table figcaption span { font: 700 11px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 5px 8px; border-radius: 4px; }
.sd-table .table-wrap { margin: 0; }
.sd-table table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.sd-table th { font: 600 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; padding: 10px 8px; border-bottom: 2px solid var(--primary); }
.sd-table td { text-align: center; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.sd-table td:nth-child(2), .sd-table th:nth-child(2) { text-align: left; }
.sd-table td:nth-child(2) { font-weight: 600; white-space: nowrap; }
.sd-table td:first-child { width: 44px; }
.sd-table td:first-child b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); font-size: 13px; }
.sd-table tr.up td:first-child b { background: #dcfce7; color: var(--green); }
.sd-table tr.down td:first-child b { background: #ffe4e6; color: var(--red); }
.sd-table td:last-child { background: var(--blue-50); color: var(--blue-d); }
.sd-table tr:last-child td { border-bottom: 0; }
.welcome .sd-note { margin: 0; padding: 10px 16px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--border); }
.sd-sections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 6px; }
.sd-sections a { display: block; padding: 16px; border-radius: 12px; border: 1px solid var(--border); border-bottom: 3px solid var(--primary); color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.sd-sections a:nth-child(even) { border-bottom-color: var(--accent); }
.sd-sections a:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -18px rgba(3, 105, 161, .6); text-decoration: none; }
.sd-sections i { display: inline-grid; place-items: center; min-width: 40px; height: 32px; padding: 0 8px; border-radius: 8px; margin-bottom: 10px; font: 700 14px/1 var(--font-head); font-style: normal; color: #fff; background: var(--primary); }
.sd-sections a:nth-child(even) i { background: var(--accent); }
.sd-sections b { display: block; font-size: 18px; margin-bottom: 4px; }
.sd-sections span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.block-title { border-left-color: var(--accent); }
.post .img { display: flex; align-items: flex-end; padding: 10px; background: linear-gradient(90deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px) 0 0 / 25% 100%, linear-gradient(135deg, var(--primary), var(--blue-d)); }
.post .img span { font: 700 13px/1 var(--font-head); color: #fff; text-transform: uppercase; letter-spacing: .06em; }
.post .cat { color: var(--accent); }
.widget h3 { border-bottom-color: var(--primary); }
.site-foot { border-top-color: var(--primary); }
.hub-posts { margin-top: 4px; }
.sd-hero + .tool-teaser { margin: 18px 0 18px; }

.entry-head .sd-kicker { margin-bottom: 10px; }
.prose h2 { padding-bottom: 6px; border-bottom: 2px solid var(--blue-50); }
.prose th { background: var(--primary); font-weight: 600; }
.prose td { font-variant-numeric: tabular-nums; }
.prose tr:nth-child(even) td { background: var(--surface); }
.prose .box { border-top-color: var(--primary); }
.prose .sd-example { border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 18px; margin: 1.5em 0; background: #fff7f8; }
.prose .sd-example p:last-child, .prose .box p:last-child { margin-bottom: 0; }
.prose .box > p > strong:first-child { color: var(--primary); }
.prose .sd-example > p > strong:first-child { color: var(--accent); }
.prose .note { font-size: 14px; color: var(--muted); }
.prose ul.sd-takeaways { list-style: none; padding: 0; }
.prose ul.sd-takeaways li { position: relative; padding-left: 28px; }
.prose ul.sd-takeaways li::before { content: "●"; position: absolute; left: 4px; color: var(--accent); font-size: 12px; top: .25em; }
.sources { font-size: 15px; }

@media (max-width: 900px) { .sd-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sd-table th, .sd-table td { padding: 8px 5px; font-size: 13.5px; } }
@media (max-width: 480px) { .sd-table th:nth-child(7), .sd-table td:nth-child(7), .sd-table th:nth-child(8), .sd-table td:nth-child(8) { display: none; } }

/* layout: one wide column, no side widgets */
.body-grid > aside { display: none; }
@media (min-width: 901px) { .body-grid { grid-template-columns: minmax(0, 1fr); max-width: 1000px; } }

/* ===== TOOLS + READ NEXT (shared, uses the site's colours) ===== */
.tool { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin: 1.2em 0 1.6em; }
.tool-h { font-size: 17px; margin: 4px 0 12px; }
.tool-h ~ .tool-h { margin-top: 20px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tool-grid.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tool label, .tool legend { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); font-family: var(--font-body); }
.tool input, .tool textarea { font: 400 16px/1.4 var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%; min-width: 0; }
.tool textarea { resize: vertical; }
.tool select { font: 400 16px/1.4 var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%; }
.tool input:focus, .tool textarea:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.tool input.bad, .tool textarea.bad { border-color: #dc2626; background: #fef2f2; color: #7f1d1d; }
.tool fieldset { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px 14px; margin: 0; min-width: 0; }
.tool legend { padding: 0 6px; color: var(--text); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tool button { font: 600 15px/1 var(--font-body); border: 0; border-radius: 8px; padding: 11px 16px; background: var(--primary); color: #fff; cursor: pointer; }
.tool button.secondary { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px var(--link); }
.tool-result { margin-top: 16px; }
.tool-result .table-wrap { margin-bottom: 0; }
.tool-big { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0 0 14px; }
.tool-big > div { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.tool-big b { display: block; font: 700 26px/1.15 var(--font-head); color: var(--text); font-variant-numeric: tabular-nums; }
.tool-big span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.tool-big .up { color: #b91c1c; } .tool-big .down { color: #047857; }
.tool-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.tool-verdict { font-weight: 600; margin: 0 0 12px; }
.tool .bar { display: block; height: 6px; margin-top: 4px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.tool .bar i { display: block; height: 100%; background: var(--primary); }
.tool td b { color: var(--text); }
.sg-matches { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 16px; }
.sg-match { display: grid; grid-template-columns: 1fr 52px 14px 52px 1fr; align-items: center; gap: 6px; font-size: 14px; }
.sg-match span:first-child { text-align: right; }
.sg-match input { text-align: center; padding: 8px 4px; }
.sg-match em { text-align: center; color: var(--muted); font-style: normal; }
.sg-table td:last-child { font-weight: 600; white-space: nowrap; }
.cp-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.cp-teams fieldset .tool-grid { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }

.tool-teaser { display: flex; align-items: center; gap: 16px; margin: 20px 0 6px; padding: 16px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; }
.tool-teaser:hover { border-color: var(--link); text-decoration: none; }
.tool-teaser .ico { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font: 700 17px/1 var(--font-head); }
.tool-teaser b { display: block; font-family: var(--font-head); font-size: 19px; line-height: 1.25; }
.tool-teaser .t { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; }
.tool-teaser::after { content: "→"; margin-left: auto; padding-left: 8px; color: var(--link); font-size: 22px; }
@media (max-width: 480px) {
  .tool-teaser { gap: 12px; padding: 14px 16px; align-items: flex-start; }
  .tool-teaser::after { display: none; }
  .tool-teaser .ico { width: 40px; height: 40px; font-size: 15px; }
  .tool-teaser b { font-size: 17px; }
}

.related { margin: 40px 0 8px; padding-top: 22px; border-top: 2px solid var(--border); }
.prose .related-h { font-size: 20px; margin: 0 0 8px; padding: 0; border: 0; text-transform: none; }
.prose .related-h::before, .prose .related-h::after { content: none; }
.related-list { list-style: none; padding: 0; margin: 0 0 18px; }
.related-list li { padding: 9px 0; border-bottom: 1px dashed var(--border); line-height: 1.4; }
.related-list a { font-weight: 600; }
.related-list span { color: var(--muted); font-size: 14px; }
.tool-cta { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); color: var(--text); text-decoration: none; }
.tool-cta:hover { text-decoration: none; border-color: var(--link); }
.tool-cta b { font-family: var(--font-head); font-size: 18px; }
.tool-cta b::after { content: " →"; color: var(--link); }
.tool-cta span { color: var(--muted); font-size: 15px; }

/* breadcrumbs + section pages */
.trail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 26px 0 -4px; font-size: 14px; color: var(--muted); font-family: var(--font-body); }
.trail a { color: var(--muted); text-decoration: none; }
.trail a:hover { color: var(--link); text-decoration: underline; }
.trail .sep { opacity: .55; }
.trail + .article-head, .trail + .page-head, .trail + .post-head, .trail + .entry-head { padding-top: 22px; }
.trail + .doc-title { margin-top: 18px; }
.prose:has(+ .hub-body) { padding-bottom: 0; }
.hub-body { margin: 6px 0 56px; }
.hub-h { font-size: 22px; margin: 30px 0 14px; }
.hub-empty { color: var(--muted); font-style: italic; padding: 10px 0; }
.hub-body .tool-cta { margin-top: 26px; }
.prose figure.chart { margin: 1.7em 0; }
.prose figure.chart img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; border-radius: 10px; border: 1px solid var(--border); }
.prose figure.chart figcaption { max-width: 560px; margin: 8px auto 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
