/* OMReport static — schlankes Stylesheet
   Farbpalette übernommen aus dem alten omreport WordPress-Theme.
*/

:root {
  --navy: #001d3d;
  --navy-soft: #0a2e57;
  --link: #0066cc;
  --link-hover: #096095;
  --accent-red: #ff4b33;
  --accent-purple: #743399;
  --text: #1f2933;
  --text-muted: #555c66;
  --meta: #8892a0;
  --surface: #f5f8fc;
  --surface-alt: #ebeef3;
  --border: #d8dde5;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0, 29, 61, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 29, 61, 0.12);
  --radius: 8px;
  --max-width: 1200px;
  --narrow-width: 760px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { color: var(--link-hover); text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; color: var(--navy); }
h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow {
  max-width: var(--narrow-width);
}
.muted { color: var(--text-muted); font-weight: 400; }

/* Header */
.site-header {
  background: var(--navy);
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 100%),
    url("/assets/bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  border-bottom: 4px solid var(--accent-red);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.brand img {
  width: 200px;
  height: auto;
}
.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--white); border-bottom-color: var(--accent-red); text-decoration: none; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent-red); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 56px 0 64px;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.01em;
}
.hero .tagline {
  margin: 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
}

/* Episodes grid */
.episodes { padding: 48px 0 72px; }
.section-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), transparent);
  margin-left: 8px;
}
.episode-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .episode-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .episode-grid { grid-template-columns: 1fr; gap: 20px; }
}
.episode-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.episode-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.episode-link {
  display: block;
  color: inherit;
}
.episode-link:hover { text-decoration: none; }

.still-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-alt);
  overflow: hidden;
}
.still-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}
.episode-card:hover .still-wrap img { transform: scale(1.04); }
.still-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%),
    url("/assets/bg.jpg") center/cover;
}
.episode-num {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.episode-meta {
  padding: 14px 16px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.episode-meta::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-red);
  border-radius: 999px;
  flex-shrink: 0;
}
.episode-title {
  margin: 6px 16px 18px;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 600;
}
.episode-card:hover .episode-title { color: var(--link); }

/* Episode single page */
.episode-page { padding: 32px 0 72px; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--meta);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--text-muted); }
.episode-header { margin-bottom: 24px; }
.episode-header h1 { margin: 4px 0 0; }
.episode-header .episode-meta {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  color: var(--meta);
}
.episode-num-inline {
  color: var(--accent-red);
  font-weight: 700;
}

.video-embed {
  margin: 0 0 28px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed figcaption {
  margin-top: 6px;
  font-size: 0.82rem;
  text-align: right;
}

.video-link {
  margin: 0 0 24px;
  padding: 14px 18px;
  background: var(--surface-alt);
  border-left: 4px solid var(--accent-purple);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Body content (post HTML) */
.entry-body { color: var(--text); }
.entry-body p { margin: 0 0 1.1em; }
.entry-body a { color: var(--link); }
.entry-body a:hover { color: var(--link-hover); }
.entry-body img {
  margin: 14px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 100%;
  height: auto;
}
.entry-body img.alignright {
  float: right;
  margin: 6px 0 16px 22px;
  max-width: 300px;
}
.entry-body img.alignleft {
  float: left;
  margin: 6px 22px 16px 0;
  max-width: 300px;
}
.entry-body img.aligncenter {
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 580px) {
  .entry-body img.alignright,
  .entry-body img.alignleft {
    float: none;
    margin: 14px auto;
    display: block;
  }
}
.entry-body blockquote {
  margin: 18px 0;
  padding: 16px 22px;
  border-left: 4px solid var(--accent-red);
  background: var(--surface-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
}
.entry-body blockquote p:last-child { margin-bottom: 0; }
.entry-body h2, .entry-body h3 { margin-top: 1.6em; }
.entry-body iframe {
  max-width: 100%;
  border: 0;
  border-radius: var(--radius);
}
.entry-body ul, .entry-body ol { padding-left: 22px; }

/* Hide the inline image used as "still" so it doesn't appear twice */
.entry-body .wp-image-still-suppressed { display: none; }

/* Transcript */
.transcript {
  margin-top: 36px;
  padding: 24px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Episode prev/next nav */
.episode-nav {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.episode-nav a {
  font-size: 0.92rem;
  color: var(--link);
  max-width: 48%;
}
.episode-nav .nav-next { margin-left: auto; text-align: right; }

/* About */
.about-page { padding: 40px 0 80px; }
.about-page .entry-body { overflow: hidden; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 28px 0;
  text-align: center;
  font-size: 0.88rem;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--accent-red); }
.footer-note {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}
