body {
   margin: 0;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   background-color: #121212;
   color: #e0e0e0;
   display: flex;
   flex-direction: column;
   min-height: 100vh;
 }

header {
   background: linear-gradient(to right, #ff00cc, #3333ff);
   padding: 20px;
   text-align: center;
 }

header img {
   max-width: 100%;
   height: auto;
   border-radius: 10px;
   box-shadow: 0 0 2px black;
 }

main {
   display: flex;
   flex: 1;
   padding: 20px;
   gap: 20px;
 }

.content {
   flex: 2;
 }

.entry {
   background-color: #1c1c1c;
   padding: 15px;
   margin-bottom: 20px;
   border-left: 4px solid #ff00cc;
   border-radius: 8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.3);
 }

.entry h2 {
   margin-top: 0;
 }


footer {
   text-align: center;
   padding: 10px;
   background-color: #1a1a1a;
   color: #777;
 }

.entry time {
  display: block;
  font-size: 0.9em;
  color: #bbb;
  margin-bottom: 10px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #1a1a1a;
  color: #777;
}

footer h3 {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-scroll {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px 0;
  justify-content: center;
  scroll-snap-type: x mandatory;
}

.footer-scroll .card {
  flex: 0 0 auto;
  background-color: #1e1e1e;
  border: 1px solid #333;
  padding: 15px;
  border-radius: 10px;
  min-width: 200px;
  max-width: 240px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  scroll-snap-align: start;
  transition: transform 0.2s;
  text-align: left;
}

.footer-scroll .card:hover {
  transform: translateY(-4px);
}

.footer-scroll .card h4 {
  margin-top: 0;
  color: #ffccff;
}

.footer-scroll .card p {
  font-size: 0.9em;
  color: #bbb;
}

.entry-thumb {
  max-width: 100%;
  max-height: 220px; /* Aumentado desde 180px */
  object-fit: cover;
  margin-bottom: 12px;
  border-radius: 8px;
  opacity: 0.85;
  transition: opacity 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* En pantallas grandes, alineamos a la izquierda */
@media (min-width: 768px) {
  .entry-thumb {
    margin-left: 0;
    margin-right: 0;
  }
}


.entry-thumb:hover {
  opacity: 1;
}

.card-thumb {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

