/* Loaded last — overrides Tailwind CDN utilities */

#navbar.site-navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 50 !important;
}

body.admin-bar #navbar.site-navbar {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar #navbar.site-navbar {
    top: 46px !important;
  }
}

.site-brand img,
.custom-logo,
.custom-logo-link img,
.site-logo {
  width: 2rem !important;
  height: 2rem !important;
  max-width: 2rem !important;
  max-height: 2rem !important;
  object-fit: cover !important;
  border-radius: 0.5rem !important;
}

/* Links — must win over Tailwind + inherit rules */
a.card-title-link {
  color: var(--text) !important;
  text-decoration: none !important;
  font-weight: 700;
}
.card-hover:hover a.card-title-link {
  color: var(--accent) !important;
}

a.card-more-link {
  color: var(--accent) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
}
a.card-more-link:hover {
  color: var(--accent2) !important;
}

.post-content a,
.entry-content a,
.wp-block-post-content a {
  color: #7c3aed !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
html.light .post-content a,
html.light .entry-content a,
html.light .wp-block-post-content a {
  color: #6d28d9 !important;
}
.post-content a:hover,
.entry-content a:hover,
.wp-block-post-content a:hover {
  color: #06b6d4 !important;
}

a.nav-link {
  color: var(--muted) !important;
  text-decoration: none !important;
}
a.nav-link:hover,
a.nav-link.active {
  color: var(--text) !important;
}

.site-footer a {
  color: var(--muted) !important;
  text-decoration: none !important;
}
.site-footer a:hover {
  color: var(--accent) !important;
}
