/* Dark theme for EJDRIVES */
body {
  font-family: system-ui, sans-serif;
  margin: 0;
  background: #121212;   /* gris oscuro, no negro puro */
  color: #eee;           /* texto claro */
}

a {
  color: #4da3ff;        /* enlaces visibles sobre oscuro */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header, main {
  max-width: 1100px;
  margin: auto;
  padding: 1.25rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff0000;  /* rojo YouTube */
  margin-left: 10px;
  transition: transform .2s ease;
}

.social a:hover {
  transform: scale(1.1);
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.grid {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:16px
}

.card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  background: #1e1e1e;
  color: #fff;
  text-decoration: none;
}

.card h3 {
  margin: .75rem 1rem 1rem;
}

.thumb {
  aspect-ratio: 16/9;
  background: #000;
  background-size: cover;
  background-position: center;
  display: block;
}

iframe {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

/* Footer básico oscuro */
.site-footer{
  margin-top:3rem;
  padding:1.5rem 1rem;
  text-align:center;
  font-size:.9rem;
  color:#aaa;                 /* texto visible en oscuro */
  border-top:1px solid #333;
  background:#121212;         /* coincide con tu dark theme */
}
.footer-social{ margin-bottom:.75rem; }
.footer-social a{
  display:inline-block;
  margin:0 10px;
  color:#aaa;                 /* color de los iconos/enlaces */
  transition:color .2s ease;
}
.footer-social a:hover{ color:#fff; }
.footer-social svg{
  width:24px;
  height:24px;
  fill:currentColor;          /* ¡clave para que el SVG herede #aaa! */
}


