/* Logo vertikal mittig zum Menü */
#header .navbar-section.logo,
#header .navbar-brand {
  display: flex;
  align-items: center;
}

#header .logo img,
.mobile-logo img {
  display: block;   /* entfernt den Abstand unter Inline-Bildern */
  height: 42px;
  width: auto;
}

/* kleiner beim Scrollen (wie im Theme) */
body.header-fixed.header-animated #header.scrolled .logo img {
  height: 28px;
}
/* Veröffentlichungsdatum: besserer Kontrast und etwas größer */
.card-subtitle.text-gray,
.blog-date,
.blog-date time {
  color: #5a6377 !important;   /* 6,0:1 auf Weiß */
}

.blog-date {
  font-size: 0.875rem;         /* 14px statt 13px */
}

/* ===== Pagination: Rahmen ===== */
.pagination {
  gap: 0.4rem;                /* Abstand zwischen den Kästchen */
  flex-wrap: wrap;
}

.pagination .page-item {
  margin: 0;
}

.pagination .page-item a,
.pagination .page-item span {
  display: inline-block;
  min-width: 2.5rem;          /* gleich breite Kästchen, gut klickbar */
  padding: 0.4rem 0.6rem;
  text-align: center;
  line-height: 1.4;
  border: 1px solid #5a6377;  /* 6,0:1 – Rahmen müssen mind. 3:1 haben */
  border-radius: 4px;
}

/* aktuelle Seite: Rahmen in der Füllfarbe */
.pagination .page-item.active a,
.pagination .page-item.active span {
  border-color: #1d4f9f;
}

/* „…“ ohne Rahmen, damit es nicht wie ein Button aussieht */
.pagination .page-item:not(.active):not(.disabled) span {
  border-color: transparent;
}

/* sichtbarer Tastaturfokus */
.pagination .page-item a:focus-visible {
  outline: 3px solid #1d4f9f;
  outline-offset: 2px;
}
