.album-hero {
  text-align: center;
  margin-top: 40px;
}

.album-title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.8rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 20px;
  font-weight: 300;
}

.album-container {
  display: flex; 
  flex-direction: column; 
  align-items: center;
  width: 100%; 
  max-width: 1200px; 
  margin: 0 auto;
  padding: 0 20px;
}

.album-slot.main-feature { 
  width: 100%; 
  max-width: 1000px; 
  height: 600px; 
  background: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#canvas-reel canvas {
  max-width: 100%;
  height: auto !important;
  display: block;
}

.paper-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 60px;
  background-image: url('img/centerBackground.png');
  background-size: 100% 100%;
  color: #222;
  font-family: 'Georgia', serif;
  line-height: 1.8;
  font-size: 1.15rem;
}

.paper-content p {
  margin-bottom: 1.5rem;
}

.paper-content p:last-child {
  margin-bottom: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.video-slot {
  background-image: url('img/centerBackground.png');
  background-size: 100% 100%;
  padding: 30px; 
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}

/* Centrado del último slot cuando está solo */
.video-slot:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: calc(50% - 20px);
}

.video-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.video-info {
  margin-top: 15px;
  color: #333;
}

.video-info h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.video-links {
  margin-top: 15px;
  display: flex;
  flex-direction: row; /* Cambio a fila */
  flex-wrap: wrap;    /* Por si el texto es largo en móviles */
  gap: 15px;          /* Espaciado horizontal entre links */
}

.video-links a {
  color: #c44;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
}

.video-links a:hover {
  color: #000;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .video-slot:last-child:nth-child(odd) {
    max-width: 100%;
  }

  .album-slot.main-feature {
    height: 400px;
  }
}