/* ============================================================
   Systemseiten: 404 und Suche — Präfix igr-404- / igr-suche-
   Divis Standardansichten (Sidebar, „Neueste Kommentare", Du-Ansprache)
   sind damit abgelöst. Wird automatisch enqueued (functions.php).
   ============================================================ */

/* ---------- gemeinsame Formularzeile ---------- */
.igr-404-suche,
.igr-suche-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 560px;
}
.igr-404-suche input[type="search"],
.igr-suche-form input[type="search"] {
  flex: 1 1 240px;
  padding: 13px 18px;
  border: 1px solid #73839f;   /* 3,4:1 gegen die helle Sektion — WCAG 1.4.11 */
  border-radius: 40px;
  background: #fff;
  font-size: 15.5px;
  color: #14213d;
}
.igr-404-suche input[type="search"]:focus,
.igr-suche-form input[type="search"]:focus {
  outline: 2px solid #0D9DE5;
  outline-offset: 1px;
  border-color: #0D9DE5;
}

/* ---------- 404 ---------- */
.igr-404-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.igr-404-karte {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid #e2e8f1;
  border-radius: 18px;
  padding: 26px 56px 26px 28px;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.igr-404-karte:hover {
  border-color: #0D9DE5;
  transform: translateY(-2px);
}
.igr-404-karte h2 {
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
  font-size: 20px;
  color: #032863;
  margin: 0 0 8px;
  padding-bottom: 0;
}
.igr-404-karte p {
  font-size: 15px;
  line-height: 1.6;
  color: #55617a;
  margin: 0;
}
.igr-404-pfeil {
  position: absolute;
  top: 26px;
  right: 26px;
  font-size: 19px;
  color: #0D9DE5;
}
.igr-404-suche-titel {
  font-weight: 700;
  color: #032863;
  margin: 0 0 14px;
}

/* ---------- Suchergebnisse ---------- */
.igr-suche-form { margin-bottom: 36px; }
.igr-suche-liste {
  display: grid;
  gap: 16px;
}
.igr-suche-treffer {
  background: #fff;
  border: 1px solid #e2e8f1;
  border-radius: 18px;
  padding: 24px 28px;
}
.igr-suche-art {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #04549E;              /* #0D9DE5 lag bei 3,0:1 auf Weiß — AA verfehlt */
  margin-bottom: 8px;
}
.igr-suche-treffer h2 {
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
  font-size: 21px;
  margin: 0 0 10px;
  padding-bottom: 0;
}
.igr-suche-treffer h2 a {
  color: #032863;
  text-decoration: none;
}
.igr-suche-treffer h2 a:hover { color: #04549E; }
.igr-suche-treffer p {
  font-size: 15px;
  line-height: 1.65;
  color: #55617a;
  margin: 0 0 14px;
}
.igr-suche-leer {
  font-size: 16px;
  color: #55617a;
}
.igr-suche-blaettern { margin-top: 28px; }
.igr-suche-blaettern .nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.igr-suche-blaettern .page-numbers {
  display: inline-block;
  min-width: 40px;
  text-align: center;
  padding: 9px 14px;
  border: 1px solid #d5dfec;
  border-radius: 40px;
  background: #fff;
  color: #032863;
  text-decoration: none;
  font-weight: 600;
}
.igr-suche-blaettern .page-numbers.current {
  background: #032863;
  border-color: #032863;
  color: #fff;
}

@media (max-width: 820px) {
  .igr-404-grid { grid-template-columns: 1fr; }
}
