/* Veldur Core — kingdom-specific dynamic leadership. Scoped to shortcode. */
.veldur-leadership {
  --vl-accent: #c79a3b;
  --vl-border: #4a3d24;
  color: #d8c8a3;
  background: #11100e;
  border: 1px solid var(--vl-border);
  border-radius: 10px;
  padding: 24px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.veldur-leadership-lugroth { --vl-accent: #80a96b; --vl-border: #3f5938; }
.veldur-leadership-kargia { --vl-accent: #d65a50; --vl-border: #67302c; }
.veldur-leadership-valmoth { --vl-accent: #a3c5de; --vl-border: #42586a; }
.veldur-leadership-heading {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin: 0 0 22px;
}
.veldur-leadership-heading .veldur-leadership-crown { color: var(--vl-accent); font-size: 26px; line-height: 1; }
.veldur-leadership-heading h2 {
  margin: 0; color: #f3e8cf; font: 600 24px/1.25 'Cinzel', Georgia, serif;
}
.veldur-leadership-kingdom {
  color: var(--vl-accent); font: 600 12px/1.3 'Cinzel', Georgia, serif;
  letter-spacing: 1px; margin-left: auto;
}
.veldur-leadership-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr));
  gap: 14px; min-width: 0;
}
.veldur-leadership-card {
  text-align: center; min-width: 0; overflow: hidden;
  border: 1px solid #433627; border-radius: 8px;
  background: linear-gradient(180deg, #1e1a15 0%, #0d0c0b 100%);
  padding: 14px 12px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.veldur-leadership-card.is-first { border-color: var(--vl-accent); }
.veldur-leadership-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; overflow: hidden;
  border: 1px solid var(--vl-border); border-radius: 8px;
  background: #211a12; color: var(--vl-accent);
}
.veldur-leadership-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.veldur-leadership-avatar > span { font-size: 48px; line-height: 1; }
.veldur-leadership-role { color: var(--vl-accent); font: 600 13px/1.35 'Cinzel', Georgia, serif; }
.veldur-leadership-name,
.veldur-leadership-name:visited {
  color: #f3e8cf; font: 600 15px/1.35 'Cinzel', Georgia, serif;
  text-decoration: none; overflow-wrap: anywhere;
}
.veldur-leadership-name[href]:hover,
.veldur-leadership-name[href]:focus-visible { color: var(--vl-accent); text-decoration: underline; }
.veldur-leadership-rank { color: #a99b86; font: 12px/1.4 Arial, sans-serif; }
.veldur-leadership-card.is-vacant { opacity: .82; }
.veldur-leadership-empty {
  color: #b8a88f; padding: 22px; text-align: center;
  border: 1px dashed #57482f; border-radius: 7px;
}
@media (max-width: 767px) {
  .veldur-leadership { padding: 16px; }
  .veldur-leadership-heading h2 { font-size: 20px; }
  .veldur-leadership-kingdom { margin-left: 0; }
  .veldur-leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .veldur-leadership-card { padding: 12px 8px 14px; }
  .veldur-leadership-avatar { width: 76px; height: 76px; }
  .veldur-leadership-name { font-size: 13px; }
}
@media (max-width: 365px) {
  .veldur-leadership-grid { grid-template-columns: 1fr; }
}
/* Replace the former purple chess pawn with a theme-matching medieval helm crest. */
.veldur-leadership-vacant-crest {
  display:block;
  width:68px;
  height:68px;
  max-width:85%;
  max-height:85%;
  color:var(--vl-accent);
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.65));
  opacity:.72;
}
.veldur-leadership-card.is-vacant .veldur-leadership-avatar {
  background:radial-gradient(circle at center,#2d251a 0%,#15110e 75%);
}
@media(max-width:767px) {
  .veldur-leadership-vacant-crest {width:58px;height:58px;}
}
