/* /sport/ — Sport-Redaktion. Eigenständige Styles. */

:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --ink: #14141a;
  --ink-soft: #43434a;
  --muted: #767680;
  --rule: #e7e3dc;
  --rule-soft: #f1efe9;
  --accent: #b54a18;
  --accent-soft: #fef0e6;
  --shadow-sm: 0 1px 2px rgba(20,20,26,0.04), 0 1px 6px rgba(20,20,26,0.03);
  --shadow-md: 0 4px 18px rgba(20,20,26,0.08), 0 2px 6px rgba(20,20,26,0.04);
  --radius: 6px;
}

/* Category palettes */
.cat-typografie { --cat-bg: linear-gradient(135deg, #c45822 0%, #842f0a 100%); --cat-fg: #ffeacd; --cat-chip: #b54a18; }
.cat-fussball   { --cat-bg: linear-gradient(135deg, #1f5a36 0%, #0d2818 100%); --cat-fg: #d6efde; --cat-chip: #1a472a; }
.cat-olympia    { --cat-bg: linear-gradient(135deg, #1976d2 0%, #003c70 100%); --cat-fg: #d9ebfa; --cat-chip: #0066b3; }
.cat-formel-1   { --cat-bg: linear-gradient(135deg, #d2253b 0%, #6b0a16 100%); --cat-fg: #fad6db; --cat-chip: #c8102e; }
.cat-wintersport{ --cat-bg: linear-gradient(135deg, #4a89b3 0%, #1e3a52 100%); --cat-fg: #d9eaf5; --cat-chip: #3a6a8d; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
a:hover { border-bottom-color: var(--accent); }

/* ───────────── Top header (sticky, brandbar) ───────────── */
.sport-top {
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(180%) blur(6px);
}
.sport-top-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}
.sport-top .brand {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-bottom: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sport-top .brand .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.sport-top .brand .sub { color: var(--muted); font-weight: 500; font-size: 14px; margin-left: 4px; }
.sport-top nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  justify-content: center;
}
.sport-top nav a {
  color: var(--ink-soft);
  border-bottom: none;
  padding: 6px 0;
}
.sport-top nav a:hover { color: var(--accent); }
.sport-top .back {
  font-size: 13px;
  color: var(--muted);
  border-bottom: none;
}
.sport-top .back:hover { color: var(--accent); }

/* ───────────── Page wrap ───────────── */
.sport-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a { color: var(--muted); border-bottom: none; }
.crumbs a:hover { color: var(--accent); }

/* ───────────── Listing page ───────────── */
.section-hero {
  background: linear-gradient(135deg, #1a1a22 0%, #14141a 100%);
  color: #fafaf9;
  padding: 56px 32px;
  border-radius: 10px;
  margin: 8px 0 36px;
}
.section-hero h1 {
  margin: 0 0 12px;
  font-size: 44px;
  letter-spacing: -0.025em;
  font-weight: 900;
  line-height: 1.05;
}
.section-hero p {
  margin: 0;
  font-size: 18px;
  color: #d4d4d8;
  max-width: 640px;
}
.section-hero a { color: #ffb988; border-bottom-color: #ffb988; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .15s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.post-card .thumb {
  height: 170px;
  background: var(--cat-bg, #2b2b30);
  color: var(--cat-fg, #fff);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.post-card .thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(0,0,0,0.20), transparent 50%);
  pointer-events: none;
}
.post-card .thumb .cat {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(0,0,0,0.32);
  border-radius: 3px;
}
.post-card .card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.post-card h2 a {
  color: var(--ink);
  border-bottom: none;
}
.post-card h2 a:hover { color: var(--accent); }
.post-card .meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.post-card .excerpt {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}
.post-card .more {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: none;
}

/* ───────────── Article ───────────── */
.article-hero {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin: 8px 0 32px;
  background: var(--cat-bg, #2b2b30);
  color: var(--cat-fg, #fff);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 44px;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.10), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.30), transparent 50%);
  pointer-events: none;
}
.article-hero > * { position: relative; z-index: 1; }
.article-hero .cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: rgba(0,0,0,0.32);
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 16px;
  align-self: flex-start;
}
.article-hero h1 {
  margin: 0 0 14px;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 900;
  max-width: 820px;
}
.article-hero .byline {
  margin: 0;
  font-size: 14px;
  opacity: 0.92;
}
.article-hero .byline a {
  color: inherit;
  border-bottom: 1px solid rgba(255,255,255,0.35);
}

article.post {
  max-width: 720px;
  margin: 0 auto;
}
article.post header { display: none; }
article.post p {
  margin: 0 0 1.25em;
  color: var(--ink);
  font-size: 17.5px;
  line-height: 1.72;
}
article.post p:first-of-type::first-letter {
  font-size: 3.1em;
  float: left;
  line-height: 0.95;
  font-weight: 800;
  padding: 4px 8px 0 0;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
}
article.post h2 {
  margin: 1.8em 0 0.6em;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.25;
}
article.post h3 {
  margin: 1.4em 0 0.5em;
  font-size: 18.5px;
  font-weight: 700;
}
article.post .note {
  margin: 1.8em 0;
  padding: 18px 22px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  font-size: 15.5px;
  color: var(--ink-soft);
}
article.post .note strong { color: var(--accent); }
article.post .post-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
  color: var(--muted);
}

/* ───────────── Author card ───────────── */
.author-card {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px 26px;
  align-items: flex-start;
}
.author-card .avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #842f0a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(181,74,24,0.30);
}
.author-card .who { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.author-card .role { font-size: 13.5px; color: var(--muted); margin: 2px 0 8px; }
.author-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ───────────── Footer ───────────── */
.sport-footer {
  background: #14141a;
  color: #b8b8c0;
  margin-top: 60px;
}
.sport-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.sport-footer h4 {
  color: #fafaf9;
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 700;
}
.sport-footer p, .sport-footer ul {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}
.sport-footer ul { list-style: none; padding: 0; }
.sport-footer a { color: #d4d4d8; border-bottom: none; }
.sport-footer a:hover { color: #fafaf9; }
.sport-footer-bottom {
  border-top: 1px solid #2a2a32;
  padding: 18px 24px;
  font-size: 12.5px;
  color: #797982;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

/* ───────────── Redaktion (author) page ───────────── */
.redaktion-hero {
  background: linear-gradient(135deg, #1a1a22 0%, #14141a 100%);
  color: #fafaf9;
  border-radius: 10px;
  padding: 44px;
  margin: 8px 0 32px;
  display: flex;
  gap: 28px;
  align-items: center;
}
.redaktion-hero .avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #842f0a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.30);
}
.redaktion-hero h1 {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.020em;
  color: #fff;
}
.redaktion-hero .role { margin: 0; font-size: 15px; color: #d4d4d8; }

/* ───────────── Responsive ───────────── */
@media (max-width: 760px) {
  .sport-top-inner { grid-template-columns: auto 1fr; gap: 16px; padding: 12px 18px; }
  .sport-top nav { display: none; }
  .sport-wrap { padding: 22px 18px 48px; }
  .section-hero { padding: 36px 24px; }
  .section-hero h1 { font-size: 32px; }
  .article-hero { padding: 28px 24px; min-height: 240px; }
  .article-hero h1 { font-size: 26px; }
  article.post p { font-size: 17px; }
  article.post h2 { font-size: 21px; }
  .author-card { flex-direction: column; }
  .sport-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 32px 18px; }
  .sport-footer-bottom { flex-direction: column; gap: 6px; padding: 16px 18px; }
  .redaktion-hero { flex-direction: column; text-align: center; padding: 32px 24px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14141a;
    --surface: #1c1c24;
    --ink: #fafaf9;
    --ink-soft: #c8c8d0;
    --muted: #898994;
    --rule: #2a2a32;
    --rule-soft: #20202a;
    --accent: #ff8a4a;
    --accent-soft: #2d1810;
  }
  .sport-top { background: #1c1c24; }
}


/* ───────────── Anstoss extensions ───────────── */
.site-top .brand .sub { color: var(--muted); font-weight: 500; font-size: 14px; margin-left: 4px; }
.site-top .forum-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13.5px;
  border-bottom: none;
  letter-spacing: 0.015em;
  box-shadow: 0 2px 8px rgba(181,74,24,0.30);
  transition: background .15s ease, transform .12s ease;
}
.site-top .forum-cta:hover { background: var(--accent-chip, #842f0a); transform: translateY(-1px); }

/* Card thumb glyph overlay (used on homepage) */
.post-card .thumb .glyph {
  position: absolute;
  right: 18px; bottom: 12px;
  z-index: 1;
  font-size: 42px;
  font-weight: 700;
  opacity: 0.18;
  color: var(--cat-fg, #fff);
  pointer-events: none;
  letter-spacing: -0.02em;
}

/* section-hero with accent in the H1 */
.section-hero h1 .accent {
  background: linear-gradient(135deg, #ff8a4a, #c45822);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-hero .eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffb988;
  padding: 6px 14px;
  background: rgba(255,138,74,0.10);
  border: 1px solid rgba(255,138,74,0.25);
  border-radius: 100px;
  margin-bottom: 18px;
}

/* Forum CTA block */
.forum-cta-block {
  background: linear-gradient(135deg, #1a1a22 0%, #14141a 60%, #2a1810 100%);
  color: #fafaf9;
  border-radius: 10px;
  padding: 32px 40px;
  margin: 48px auto;
  max-width: 880px;
  position: relative;
  overflow: hidden;
}
.forum-cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,138,74,0.12), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(181,74,24,0.10), transparent 50%);
  pointer-events: none;
}
.forum-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.forum-cta-copy h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.020em;
  color: #fff;
}
.forum-cta-copy p {
  margin: 0;
  color: #d4d4d8;
  font-size: 15px;
  line-height: 1.55;
}
.forum-cta-button {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border-bottom: none;
  letter-spacing: 0.015em;
  box-shadow: 0 4px 14px rgba(181,74,24,0.40);
  transition: transform .12s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.forum-cta-button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(181,74,24,0.55); }

@media (max-width: 760px) {
  .site-top .forum-cta { padding: 6px 12px; font-size: 12.5px; }
  .forum-cta-block { padding: 24px 22px; margin: 32px 16px; }
  .forum-cta-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
}
