
/* WordPress integration */
.admin-bar .site-header { top: 32px; }
.wp-block-image img { height:auto; }
.page-content > *:first-child { margin-top:0; }
.pagination { display:flex; gap:.5rem; justify-content:center; margin:2.5rem 0; }
.pagination .page-numbers { padding:.65rem .85rem; border:1px solid rgba(0,0,0,.15); text-decoration:none; }
.pagination .current { background:#111; color:#fff; }
/* User requested black mobile bar; desktop retains the steel/dark-blue theme. */
@media (max-width: 820px) {
  .site-header__inner { background:#050505 !important; }
  .site-header .brand-logo img { filter: brightness(0) invert(1); }
  .site-header .nav-toggle, .site-header .nav-toggle__label { color:#fff; }
  .site-header .nav-toggle__icon span { background:#fff; }
}
@media (max-width:782px){ .admin-bar .site-header { top:46px; } }

/* WP-only fixes: preserve the static typography, image scaling and archive filter. */
body.wp-theme-legimia { font-family: var(--sans); }
.article-card[hidden], .no-results[hidden] { display: none !important; }
.article-card__media img { width:100%; height:100%; object-fit:cover; }
.article-card__media img.article-card__fallback-logo { object-fit:contain; padding: 18%; }
@media (min-width:821px) and (max-width:1100px) {
 .hero__grid { grid-template-columns: minmax(0,1fr) minmax(0,.95fr); gap:32px; }
 .hero__visual.hero-photo-feature { min-width:0; }
}
@media (max-width:600px) { .admin-bar .site-header { top:0; } }
