/* Atlas del Vino — estilos propios de ESPAÑA (comparte atlas.css) */

body.theme-espana {
  --bg: #0F0C08;
  --page-bg: #080604;
  --panel: #181208;
  --poster-glow: rgba(201, 162, 75, 0.16);
}

.theme-espana .topnav-inner {
  flex-wrap: wrap;
  row-gap: 8px;
}

.theme-espana .topnav-links {
  gap: 18px;
  flex-wrap: wrap;
}

.theme-espana .subtitle {
  max-width: 640px;
}

.theme-espana .varietals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 10px;
}

.theme-espana .vcard {
  padding: 16px 16px 18px;
}

.theme-espana .vcard .vtitle {
  font-size: 15.5px;
  margin: 0 0 6px;
}

.theme-espana .vcard .vdesc {
  font-size: 11.3px;
  min-height: 0;
  margin-bottom: 10px;
}

.theme-espana .chip {
  font-size: 10.6px;
  padding: 3px 9px;
}

.theme-espana .xcard {
  background: var(--panel);
}

.theme-espana .footer-legend {
  gap: 14px;
}

.theme-espana .footer-legend .fitem {
  gap: 6px;
  font-size: 10.5px;
}

.theme-espana .footer-legend .fswatch {
  width: 10px;
  height: 10px;
}

@media (max-width:640px) {
  .theme-espana .varietals {
    display: grid;
    grid-template-columns: 1fr;
  }
}
