/* =====================================================
   RUBRIK-ÜBERSICHTSSEITEN (overview-*.html)
   Ergänzt styles.css – nutzt dieselben Farben/Abstände.
===================================================== */

.ov-wrap {
  padding: 10px 0 30px 0;
}

.ov-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.ov-intro {
  line-height: 1.55;
  margin-bottom: 14px;
}

.ov-stats {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 14px;
  text-align: center;
}

/* ---------- Aktueller Beitrag ---------- */
.ov-current {
  border: 2px solid var(--darkblue);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  background: #f3f7fd;
}

.ov-current-label {
  display: inline-block;
  background: var(--darkblue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.ov-current-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--darkblue);
  text-decoration: underline;
  margin-bottom: 6px;
}

.ov-current-text {
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Suche & Filter ---------- */
.ov-controls {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.ov-search-row {
  display: flex;
  gap: 8px;
}

.ov-search {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 2px solid var(--darkblue);
  border-radius: 10px;
  font: inherit;
  font-size: 16px; /* verhindert Zoom auf iOS */
  color: var(--textblue);
}

.ov-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}

.ov-search:focus {
  outline: 3px solid #b9cdee;
  outline-offset: 0;
}

.ov-clear {
  border: 2px solid var(--darkblue);
  background: #fff;
  color: var(--darkblue);
  border-radius: 10px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.ov-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ov-chip {
  border: 2px solid var(--darkblue);
  background: #fff;
  color: var(--darkblue);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.ov-chip:hover {
  background: #eef3fb;
}

.ov-chip.active {
  background: var(--darkblue);
  color: #fff;
}

.ov-select {
  border: 2px solid var(--darkblue);
  border-radius: 10px;
  padding: 6px 10px;
  font: inherit;
  font-size: 14px;
  color: var(--darkblue);
  background: #fff;
  max-width: 100%;
}

.ov-spacer {
  flex: 1;
}

.ov-random {
  border: none;
  background: var(--darkblue);
  color: #fff;
  border-radius: 10px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.ov-random:hover {
  background: var(--textblue);
}

.ov-count {
  font-size: 14px;
  margin: 4px 0 10px 0;
  opacity: 0.85;
}

/* ---------- Ergebnisliste ---------- */
.ov-month {
  font-size: 15px;
  font-weight: 700;
  margin: 18px 0 6px 0;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--darkblue);
}

.ov-list {
  display: grid;
  gap: 0;
}

.ov-item {
  padding: 12px 2px;
  border-bottom: 1px solid #dde3ee;
}

.ov-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--darkblue);
  text-decoration: none;
  line-height: 1.35;
}

.ov-item-title:hover {
  text-decoration: underline;
}

.ov-meta {
  font-size: 12.5px;
  opacity: 0.75;
  margin: 3px 0 5px 0;
}

.ov-badge {
  display: inline-block;
  border: 1px solid var(--darkblue);
  border-radius: 10px;
  padding: 0 7px;
  margin-left: 4px;
  font-size: 11.5px;
  font-weight: 700;
  opacity: 1;
}

.ov-badge.new {
  background: var(--darkblue);
  color: #fff;
}

.ov-snippet {
  font-size: 14px;
  line-height: 1.5;
}

.ov-snippet mark,
.ov-item-title mark {
  background: #ffe58a;
  color: inherit;
  padding: 0 1px;
  border-radius: 2px;
}

.ov-more {
  display: block;
  margin: 18px auto 0 auto;
  border: 2px solid var(--darkblue);
  background: #fff;
  color: var(--darkblue);
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
}

.ov-more:hover {
  background: #eef3fb;
}

.ov-empty,
.ov-loading {
  padding: 24px;
  text-align: center;
  border: 2px dashed #bbb;
  border-radius: 10px;
  color: #666;
  margin-top: 10px;
}

/* ---------- Andere Rubriken ---------- */
.ov-other {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 2px solid var(--darkblue);
}

.ov-other-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.ov-other-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ov-other-links a {
  border: 2px solid var(--darkblue);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--darkblue);
  text-decoration: none;
}

.ov-other-links a:hover {
  background: #eef3fb;
}

@media (max-width: 768px) {
  .ov-spacer {
    display: none;
  }
}
