/* ===== Base ===== */
body { background:#f8f9fa; }
.brand { font-weight: 800; letter-spacing:.3px; }
h1,h2,h3,h4,h5,h6 { font-weight: 600!important; }

/* Topbar */
.topbar { font-size:.875rem; background:#111; color:#eee; }
.topbar a { color:#ccc; }
.topbar a:hover { color:#fff; text-decoration:none; }

/* Category scroller */
.nav-scroller { position: relative; z-index: 2; height: 3rem; overflow-y: hidden; }
.nav-scroller .nav { display:flex; flex-wrap:nowrap; padding-bottom:1rem; margin-top:-1px; overflow-x:auto; white-space:nowrap; -webkit-overflow-scrolling:touch; }
.nav-scroller .nav a { padding:.75rem 1rem; color:#6c757d; }
.nav-scroller .nav a.active { color:#000; font-weight:700; }

/* List header */
.list-header { background:#fff; border:1px solid #e9ecef; border-radius:.25rem; }
.list-header .form-control, .list-header .custom-select { height: calc(2.2rem + 2px); }

/* Article card */
.article-card img { object-fit:cover; height:180px; }
.article-card .badge { position:absolute; top:.5rem; left:.5rem; }
.article-card:hover { transform:translateY(-3px); transition:.15s ease; }

/* Media list item */
.media-thumb { width:110px; height:75px; object-fit:cover; }

/* Sidebar */
.sidebar .list-group-item { padding:.6rem .9rem; }

/* Footer */
.footer-links a { color:#adb5bd; }
.footer-links a:hover { color:#fff; text-decoration:none; }

/* Utilities */
.sticky-sidebar { position:sticky; top:80px; }

/* Single */
.post-meta { color:#6c757d; }
.post-hero img { width:100%; height:auto; }
.share .btn { margin-right:.5rem; }

/* Responsive tweaks */
@media (max-width: 575.98px) {
  .article-card img { height:160px; }
}

/* WP core adjustments */
.alignwide, .alignfull { display:block; }
.wp-caption { max-width:100%; }
.wp-caption .wp-caption-text { font-size:.875rem; color:#6c757d; }
img { height:auto; }