/* Castle Logs – Nav buttons (scoped, loaded after theme) */
.castle-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  /* Prevent bottom border clipping in tight flex rows */
  padding-bottom:6px;
  margin:10px 0 18px 0;
}

/* Beat generic theme rules like "a { ... }" by being more specific */
.castle-nav a.castle-nav-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  padding:11px 16px;
  border-radius:999px;
  /* Theme-safe: some themes (e.g., Astra) apply higher-specificity link/button rules.
     Use !important only for the core identity properties so the pills stay blue. */
  border:1px solid transparent !important;
  box-shadow:inset 0 0 0 1px #1289BE;
  background:#fff !important;
  color:#1289BE !important;
  text-decoration:none;
  background-clip:padding-box;
  transform:translateZ(0);
  line-height:1.2;
  font-weight:600;
  transition:all .2s linear;
}

.castle-nav a.castle-nav-btn:hover{
  background:#E6F6FB !important;
  color:#1289BE !important;
}
