/* Radsportonline – Veranstaltungsseite „Rund um die Hohe Esse IV“ */

:root {
  --rso-blue: #2a7db8;
  --rso-blue-dark: #0056b3;
  --rso-green: #008f3d;
  --rso-green-dark: #006b2e;
  --rso-ink: #000033;
  --rso-bg: #cdcdcd;
  --rso-panel: #ffffff;
  --rso-soft: #f3f8fc;
  --rso-line: #d6e3ee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 18px 8px 28px;
  background: var(--rso-bg);
  color: var(--rso-ink);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

a:link,
a:visited {
  color: var(--rso-blue-dark);
  font-weight: bold;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #b71360;
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.rso-wrapper {
  width: min(960px, 100%);
  margin: 0 auto;
  border: 7px solid var(--rso-blue);
  border-collapse: separate;
  border-radius: 20px;
  background: var(--rso-panel);
  box-shadow: 7px 7px 18px #888;
  overflow: hidden;
  table-layout: fixed;
}

.rso-wrapper > tbody > tr > td {
  border: 0;
  padding: 0;
}

.rso-header {
  padding: 15px 18px 12px !important;
  border-bottom: 2px solid var(--rso-blue) !important;
  background: #fff;
}

.rso-brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--rso-ink) !important;
  text-decoration: none !important;
}

.rso-brand-title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: bold;
  line-height: 1.1;
}

.rso-brand-subtitle {
  margin-top: 3px;
  color: var(--rso-green-dark);
  font-size: 14px;
  font-weight: bold;
  letter-spacing: .04em;
}

.rso-nav {
  padding: 8px 18px !important;
  border-bottom: 1px solid #dcdcdc !important;
  background: #fff;
}

.rso-nav-inner {
  text-align: center;
  line-height: 1.6;
}

.rso-nav a,
.nav-sep {
  font-size: 14px;
}

.nav-sep {
  padding: 0 .35rem;
  color: #777;
  font-weight: bold;
}

.rso-hero {
  position: relative;
  background: #202020;
}

.rso-hero img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.rso-hero-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px 24px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
  color: #fff;
  font-size: 12px;
  font-style: italic;
}

.rso-content {
  padding: 26px 36px 34px !important;
  background: #fff;
}

.article-meta {
  margin-bottom: 8px;
  color: #777;
  font-size: 12px;
}

.region-badge {
  display: inline-block;
  margin-bottom: 13px;
  padding: 5px 12px;
  border-radius: 3px;
  background: var(--rso-green);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  color: var(--rso-ink);
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.25;
}

h2 {
  margin: 28px 0 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--rso-blue);
  color: var(--rso-blue-dark);
  font-size: 18px;
  line-height: 1.35;
}

.article-intro {
  margin: 0 0 22px;
  padding: 0 0 0 14px;
  border-left: 4px solid var(--rso-blue);
  color: var(--rso-blue-dark);
  font-size: 15px;
  font-weight: bold;
  line-height: 1.65;
}

.article-body p,
.article-body li {
  color: #111133;
  font-size: 15px;
  line-height: 1.7;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 4px;
}

.fact-card {
  padding: 15px 16px;
  border: 1px solid #c8ddf0;
  border-radius: 10px;
  background: var(--rso-soft);
  box-shadow: 2px 3px 10px rgba(0, 60, 120, .08);
}

.fact-card strong,
.fact-card span {
  display: block;
}

.fact-card strong {
  margin-bottom: 4px;
  color: var(--rso-green-dark);
  font-size: 15px;
}

.event-list {
  margin: 10px 0 0;
  padding-left: 1.3rem;
}

.event-list li {
  margin-bottom: 9px;
}

.foto-duo {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 22px;
}

.foto-karte {
  flex: 1 1 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #c8ddf0;
  border-radius: 10px;
  background: #f4f8fd;
  box-shadow: 2px 3px 10px rgba(0, 60, 120, .10);
}

.foto-karte img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.foto-unterschrift {
  min-height: 38px;
  padding: 9px 14px 11px;
  border-top: 1px solid #dce6f0;
  background: #f4f8fd;
  color: #334466;
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
}

.info-box {
  margin-top: 26px;
  padding: 18px 20px;
  border: 2px solid var(--rso-green);
  border-radius: 10px;
  background: #f3faf6;
}

.info-box h2 {
  margin-top: 0;
  border-bottom-color: var(--rso-green);
  color: var(--rso-green-dark);
}

.info-box p {
  margin: 7px 0;
}

.rso-backlink {
  padding: 12px 10px 16px !important;
  text-align: center;
  background: #fff;
}

.rso-footer {
  padding: 16px 10px !important;
  border-radius: 0 0 13px 13px;
  background: #ededed;
  color: #444;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
}

.rso-footer a {
  font-size: 13px;
}

@media (max-width: 760px) {
  body {
    padding: 8px 4px 18px;
  }

  .rso-wrapper {
    width: 100%;
    border-width: 3px;
    border-radius: 12px;
    box-shadow: 3px 3px 9px #999;
  }

  .rso-header,
  .rso-nav,
  .rso-content,
  .rso-footer {
    padding-right: 11px !important;
    padding-left: 11px !important;
  }

  .rso-brand {
    display: flex;
    align-items: center;
    text-align: center;
  }

  .rso-nav a,
  .nav-sep {
    font-size: 12px;
  }

  .rso-hero-caption {
    position: static;
    padding: 8px 11px;
    background: #222;
  }

  .rso-content {
    padding-top: 18px !important;
    padding-bottom: 22px !important;
  }

  h1 {
    font-size: 21px;
  }

  h2 {
    font-size: 17px;
  }

  .article-intro,
  .article-body p,
  .article-body li,
  .foto-unterschrift {
    font-size: 14px;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .foto-duo {
    display: block;
  }

  .foto-duo .foto-karte {
    margin-bottom: 18px;
  }

  .foto-karte img {
    aspect-ratio: auto;
  }
}
