/* tennissporten.dk / tennissverige.se: grund, header og footer for hubbens sider. Kopieret fra badminton-data-hub
   (som selv er genskabt efter tennissportens Divi-skabeloner) og farvet med tennissportens grønne (#015421/#028635,
   målt i Divi-CSS'en 13. nov 2026). Sektionerne er pluginets egne filer (tdh-layout.css, players.css …) uændret. */

@font-face { font-family: "Roboto Condensed"; src: url("../fonts/rc-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap;
	unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/rc-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/rc-italic-latin.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/rc-italic-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--ts-primary: #015421;
	--ts-dark: #013d18;
	--ts-text: #202020;
	--tdh-l-primary: #015421;
	--tdh-l-accent: #015421;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f1f1f1; color: var(--ts-text); font: 400 16px/1.5 "Roboto Condensed", Helvetica, Arial, sans-serif; }
a { color: var(--ts-primary); }
img { max-width: 100%; height: auto; }

/* Header og footer: genskabt efter WordPress-sitets Divi-skabeloner (målt 10. nov 2026 ved 1400 og 400 px).
   Oprejst skrift. Kursiven på WP-sitet var WP Rockets fejl med lokalt hostede Google-skrifter (wp-media/wp-rocket#9191),
   rettet 11. nov 2026. Den kursive skrift bruges kun, hvor CSS'en beder om kursiv (fx aflyste kampe). */
.ts-inner { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.ts-stripe { height: 3px; background: linear-gradient(90deg, #015421 50%, #028635 50%); }
.ts-header { position: relative; z-index: 10; background: #fff; box-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.ts-bar .ts-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.ts-logo { display: block; line-height: 0; flex: 0 0 auto; }
.ts-logo img { display: block; width: 220px; height: auto; }
.ts-nav { display: flex; align-items: center; gap: 22px; }
.ts-nav a { display: inline-flex; align-items: center; gap: 4px; color: #444; text-decoration: none; font-size: 16px; font-weight: 500; line-height: 14px; white-space: nowrap; }
.ts-nav a:hover { opacity: .7; }
.ts-nav a[aria-current] { color: var(--ts-primary); }
.ts-nav svg { width: 16px; height: 16px; fill: var(--ts-primary); flex: 0 0 16px; }
.ts-flag img { display: block; width: 25px; height: 15px; }
.ts-burger { display: none; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.ts-burger span, .ts-burger span::before, .ts-burger span::after { position: absolute; left: 5px; width: 22px; height: 2px; background: var(--ts-primary); content: ""; }
.ts-burger span { top: 15px; }
.ts-burger span::before { left: 0; top: -7px; }
.ts-burger span::after { left: 0; top: 7px; }

/* Footer: præcis WordPress-footerens Divi-layout (et_footer_layout 4861; målt i Chrome 13. nov 2026 ved 1920, 1400, 1000,
   800 og 400 px). Rækker 100 % (maks. 1440 px) med 20 px luft, på mobil 92 % uden luft; fem kolonner à 17,6 % med 3 %
   mellemrum (Divi gutter 2), under 980 px under hinanden med 30 px. Ikonerne er Font Awesome 7 som SVG (hub/fa_icons.py). */
.ts-footer { color: #fff; font-size: 18px; font-weight: 500; line-height: 1.7; }
.ts-footer p { margin: 0; padding: 0; }
.ts-footer a { color: #fff; text-decoration: none; }
.ts-footer a:hover { text-decoration: underline; }
.ts-fa { display: inline-block; width: 1.25em; height: 1em; vertical-align: -.125em; fill: currentColor; overflow: visible; }
.ts-ft-row { box-sizing: border-box; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.ts-ft-top { background: #222; padding: 30px 0 10px; }
.ts-ft-top .ts-ft-row { display: flex; padding: 30px 20px 40px; }
.ts-ft-col { width: 17.6%; margin-right: 3%; }
.ts-ft-col:last-child { margin-right: 0; }
.ts-ft-text { color: #028635; font-size: 14px; font-weight: 300; line-height: 1.8em; }
.ts-ft-text + .ts-ft-text { margin-top: 8.523%; }
.ts-ft-h { color: #fff; font-size: 22px; font-weight: 600; line-height: 1em; padding-bottom: 10px !important; }
.ts-ft-h--ads { font-size: 20px; }
.ts-fa-spin { animation: ts-spin 2s linear infinite; }
@keyframes ts-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ts-ft-col .ts-fa { animation: none !important; } }
.ts-ft-bottom { background: #171717; padding: 25px 0 20px; font-size: 13px; font-weight: 300; line-height: 30.6px; }
.ts-ft-logo { display: flex; align-items: center; gap: 24px; min-height: 55px; align-content: flex-start; }
.ts-ft-logo > img { display: block; width: 220px; height: auto; align-self: flex-start; }
.ts-ft-info { display: flex; }
.ts-ft-c35 { width: 58.8%; margin-right: 3%; }
.ts-ft-c25 { width: 38.2%; text-align: right; color: #028635; }
.ts-ft-bottom strong { font-weight: 700; }
.ts-addr-m { display: none; }
.ts-legal a { margin: 0 8px; }
.ts-legal a:first-child, .ts-legal .ts-legal-fb + a { margin-left: 0; }
.ts-legal a:last-child { margin-right: 0; }
.ts-legal span { color: #028635; }
/* Sprogvalg (som fodboldspilleren, Boss 13. nov 2026): flagene til højre for footer-logoet; sitets eget flag med hvid
   ring, de andre dæmpede til hover. 40×30 px (Boss 13. nov 2026: «lidt større»). */
.ts-sprog { display: flex; gap: 14px; align-items: center; }
.ts-sprog a, .ts-sprog span { line-height: 0; }
.ts-sprog a { opacity: .6; transition: opacity .15s; }
.ts-sprog a:hover, .ts-sprog a:focus-visible { opacity: 1; }
.ts-sprog span { outline: 2px solid #fff; outline-offset: 2px; border-radius: 3px; }
.ts-flag { display: block; width: 40px; height: 30px; border-radius: 3px; }
@media (max-width: 980px) {
	.ts-ft-top .ts-ft-row, .ts-ft-info { flex-direction: column; }
	.ts-ft-col, .ts-ft-c35, .ts-ft-c25 { width: 100%; margin-right: 0; }
	.ts-ft-col + .ts-ft-col, .ts-ft-c25 { margin-top: 30px; }
	.ts-ft-empty { display: none; }
	.ts-ft-text + .ts-ft-text { margin-top: 30px; }
}
@media (max-width: 767px) {
	.ts-ft-row { width: 92%; padding-left: 0; padding-right: 0; }
	.ts-ft-top .ts-ft-row { padding: 30px 0 40px; }
	.ts-ft-logo { justify-content: center; }
	.ts-ft-info, .ts-ft-c25 { text-align: center; }
	.ts-addr { display: none; }
	.ts-addr-m { display: block; }
}


@media (max-width: 980px) {
	.ts-inner { padding: 0 4%; }
	.ts-bar .ts-inner { min-height: 0; padding-top: 20px; padding-bottom: 20px; }
	.ts-burger { display: block; }
	.ts-bar { position: relative; }
	.ts-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
		padding: 5% 4%; background: #fff; border-top: 3px solid var(--ts-primary); box-shadow: 0 2px 5px rgba(0, 0, 0, .1); }
	.ts-nav.ts-open { display: flex; }
	.ts-nav a { padding: 10px 5%; border-bottom: 1px solid rgba(0, 0, 0, .03); line-height: 1.4; }
}

/* Cookie-banner — målt på Moove-banneret (GDPR Cookie Compliance) på WordPress-siderne 10. nov 2026:
   hvid bund med 1px mørk kant, Nunito 700, knapper med runde hjørner i sitets farve. Under 768px som Moove's mobil. */
@font-face { font-family: "TS Nunito"; src: url("../fonts/nunito-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
.ts-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9900; background: #fff; border-top: 1px solid #202020;
	text-align: center; font-family: "TS Nunito", Nunito, sans-serif; font-weight: 700; }
.ts-cookie[hidden] { display: none; }
.ts-cookie-in { display: inline-flex; align-items: center; padding: 10px 70px; text-align: left; }
.ts-cookie p { margin: 0; padding: 0; color: #202020; font-size: 14px; line-height: 18px; }
.ts-cookie-btns { display: flex; align-items: center; padding-left: 43px; }
.ts-cookie button { margin: 3px 4px; padding: 8px 30px; border: 0; border-radius: 150px; font: inherit; font-size: 14px;
	line-height: 20px; cursor: pointer; white-space: nowrap; transition: .3s; }
.ts-cookie-ok { background: #015421; color: #fff; }
.ts-cookie-ok:hover { background: #202020; }
.ts-cookie-nec { background: transparent; color: #202020; box-shadow: inset 0 0 0 1px #202020; opacity: .7; }
.ts-cookie-nec:hover { opacity: 1; }
@media (max-width: 767px) {
	.ts-cookie-in { display: block; padding: 15px; }
	.ts-cookie p { padding: 0 4px 10px; }
	.ts-cookie-btns { padding: 0; flex-wrap: wrap; }
	.ts-cookie button { padding: 5px 20px; font-size: 12px; }
}

/* Oversigtssidernes hero og menulinje (_hero.html.j2): som WordPress-sidernes Divi-sektion 0 og 1 på
   badmintonpeople.dk (/badminton-i-tv/) og tennissportens oversigter — målt 11. nov 2026. Rækken er Divis
   80 % / max 1200 px (mobil: 12 px luft i siderne). */
.ts-ov-hero { background-color: #013d18; background-size: cover; background-position: 50% 50%; padding: 60px 0; }
.ts-ov-row { width: 80%; max-width: 1200px; margin: 0 auto; text-align: center; }
.ts-ov-hero h1 { margin: 0; padding: 0; color: #fff; font-size: 70px; line-height: 1.2; font-weight: 700; }
/* Menulinjen under heroen: tennissportens Divi-sektion 1 (#047a30, 10 px, h2 16 px/1.7, normal vægt) */
.ts-ov-bar { background: #047a30; padding: 10px 0; color: #fff; }
.ts-ov-bar h2 { margin: 0; padding: 0; font-size: 16px; line-height: 1.7; font-weight: 400; color: #fff; }
.ts-ov-bar svg { width: 16px; height: 16px; fill: currentColor; vertical-align: -2px; margin-right: 5px; }
@media (max-width: 980px) { .ts-ov-hero { padding: 70px 0; } .ts-ov-hero h1 { font-size: 48px; } }
@media (max-width: 767px) { .ts-ov-hero { padding: 40px 0; } .ts-ov-hero h1 { font-size: 40px; } .ts-ov-row { width: auto; margin: 0 12px; } }

/* Følg-ikonerne: pluginet bruger Font Awesome (<i>), hubben egne SVG'er i samme størrelse og farve. */
.tdh-player-profile .tdh-follow-icon svg { width: 30px; height: 30px; fill: currentColor; display: block; }
@media (max-width: 767px) { .tdh-player-profile .tdh-follow-icon svg { width: 24px; height: 24px; } }

/* Oversigtssidernes indhold (Divi-sektion 2/3: 35 px luft, rækken 92 % på mobil) og Divis "toggle" som <details>
   (indholdet står i DOM'en, som på WordPress-siden). */
.ts-ov-main { padding: 35px 0; }
.ts-ov-main .ts-ov-wide { width: 80%; max-width: 1200px; margin: 0 auto; }
.ts-toggle { max-width: 1200px; width: 80%; margin: 0 auto 35px; background: #fff; border: 1px solid #d9d9d9; padding: 20px; }
.ts-toggle summary { cursor: pointer; list-style: none; }
.ts-toggle summary::-webkit-details-marker { display: none; }
.ts-toggle summary h3 { display: inline; margin: 0; font-size: 16px; font-weight: 700; color: #333; }
.ts-toggle summary::after { content: "+"; float: right; font-size: 18px; color: #015421; }
.ts-toggle[open] summary::after { content: "−"; }
.ts-toggle-body { padding-top: 14px; font-size: 14px; line-height: 1.7; color: #666; }
.ts-toggle-body h4 { margin: 18px 0 6px; font-size: 16px; color: #333; }
@media (max-width: 980px) { .ts-ov-main .ts-ov-wide, .ts-toggle { width: 92%; } }

/* ── Forsiden (hub.frontpage): WordPress-forsidens Divi-sektioner, målt i Divi-CSS'en 13. nov 2026 ────────────── */
.ts-fp-hero h1 { font-size: 70px; }
.ts-fp-band { position: sticky; top: 0; z-index: 40; background-color: #047a30; }
.ts-fp-sec { padding: 35px 0; }
.ts-fp-grey { background: #f4f4f4; }
.ts-fp-white { background: #fff; }
.ts-fp-row { width: 80%; max-width: 1200px; margin: 0 auto; }
.ts-fp-sec .tdh-section-header h2 { font-weight: 700; font-size: 36px; text-align: center; }
/* Nyhedskolonnerne: mørk overskrift på tennisbaggrund (15 px øverste hjørner), hvid krop (15 px nederste hjørner) */
.ts-fp-cols { display: flex; gap: 3%; }
.ts-fp-col { flex: 1 1 0; min-width: 0; }
.ts-fp-col-h { background-image: linear-gradient(180deg, rgba(0,0,0,.65) 0, rgba(0,0,0,.65) 100%), var(--ts-fp-colbg);
	background-color: #fff; background-size: cover; background-position: center; border-radius: 15px 15px 0 0; padding: 35px 0 25px; }
.ts-fp-col-h--last { padding-bottom: 30px; }
.ts-fp-col-h h3 { margin: 0; font-weight: 700; font-size: 32px; line-height: 1.1; color: #fff; text-align: center; }
.ts-fp-col-body { background: #fff; border-radius: 0 0 15px 15px; padding: 20px; margin-bottom: 5px; }
.br-rss-feed, .br-rss-item { font-size: 22px; font-weight: 600; color: #015421; line-height: 1.2; margin: 0; }
a.br-rss-title { font-size: 22px; font-weight: 600; color: #015421; line-height: 1.2; text-decoration: none; }
a.br-rss-title:hover, .br-rss-item a:visited { color: #666; }
.br-rss-meta { font-size: 16px; color: #666; font-weight: 500; margin: 0 0 10px; }
.ts-fp-btnwrap { text-align: center; margin-top: 20px; }
.ts-fp-btn { display: inline-block; padding: 10px 20px; border-radius: 10px; background: #015421; color: #fff; font-size: 16px;
	text-decoration: none; transition: all .3s ease; }
.ts-fp-btn:hover { background: #028635; }
/* Spillerstriben (de danske spillere) på Dannebrog: bred (4 kolonner, 70 %) og smal (mobil, 94 %) */
.ts-fp-flag { background-color: #015421; background-size: cover; background-position: center; }
.ts-fp-flag--wide { padding: 25px 0 10px; }
.ts-fp-flag--narrow { display: none; padding: 15px 0 2px; }
.ts-fp-players-row { display: flex; width: 70%; margin: 0 auto; }
.ts-fp-pl { width: 25%; text-align: center; }
.ts-fp-pl img { width: 120px; height: auto; border-radius: 60px; margin-right: 5px; transition: transform .2s; }
.ts-fp-pl img:hover { transform: scale(1.05); }
.ts-fp-pl-name { color: #fff; font-size: 16px; margin-top: -10px; }
.ts-fp-players--narrow .ts-fp-pl img { width: 70px; border-radius: 50px; }
.ts-fp-players--narrow .ts-fp-pl-name { font-size: 12px; }
@media (max-width: 980px) {
	.ts-fp-hero h1 { font-size: 48px; }
	.ts-fp-row { width: 92%; }
	.ts-fp-cols { flex-direction: column; gap: 20px; }
	.ts-fp-players-row { width: 40%; }
}
@media (max-width: 767px) {
	.ts-fp-hero h1 { font-size: 40px; }
	.ts-fp-sec .tdh-section-header h2 { font-size: 32px; }
	.ts-fp-col-h h3 { font-size: 28px; }
	.ts-fp-flag--wide { display: none; }
	.ts-fp-flag--narrow { display: block; }
	.ts-fp-players-row { width: 94%; }
}
