/* ===== EV Metals – CSS overrides ===== */
:root{
  --ev-bg:#ffffff;
  --ev-ink:#ffffff;
  --ev-ink-2:#ffffff;
  --ev-muted:#ffffff;
  --ev-line:#ffffff;
  --ev-accent:#ffffff; /* adjust if you want brand blue */
  --ev-gap:24px;
}
html{scroll-behavior:smooth}
body{background:var(--ev-bg);color:var(--ev-ink);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
a{color:var(--ev-ink-2);text-decoration:none;transition:color .2s,text-decoration-color .2s,opacity .2s}
a:hover{color:var(--ev-accent);text-decoration:underline;text-underline-offset:3px}
/* Header nav polish */
header nav a{padding:.75rem .9rem;letter-spacing:.02em}
header nav a:focus-visible{outline:2px solid var(--ev-accent);outline-offset:2px}
/* Cards / panels on white */
.card,.post-card,.news-card,.panel,.module{
  background:#fff;border:1px solid var(--ev-line);border-radius:12px;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover,.post-card:hover,.news-card:hover,.panel:hover,.module:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.card .media img,.post-card .media img,.news-card .media img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
/* Buttons */
.button,.btn,a.button,a.btn{border-radius:10px;line-height:1.15}
.button:focus-visible,.btn:focus-visible{outline:2px solid var(--ev-accent);outline-offset:2px}
/* Grids and gaps */
.grid,.cards,.tiles{gap:var(--ev-gap)}
/* Footer (light on white sites) */
.site-footer,footer[role="contentinfo"]{background:#fff;border-top:1px solid var(--ev-line);color:var(--ev-muted)}
.site-footer a,footer[role="contentinfo"] a{color:var(--ev-muted)}
.site-footer a:hover,footer[role="contentinfo"] a:hover{color:var(--ev-ink)}
.footer-legal,.site-footer .legal{display:flex;flex-wrap:wrap;gap:.8rem .9rem;align-items:center}
/* Your credit */
.pwd-footer-link__a{margin-left:.75ch;color:var(--ev-muted)!important;border:0;text-decoration:none;white-space:nowrap}
.pwd-footer-link__a:hover{color:var(--ev-ink);text-decoration:underline}
/* Mobile tweaks */
@media (max-width:980px){
  .grid,.cards,.tiles{gap:16px}
}
/* ===== /EV Metals overrides ===== */
