/* --- blog.css --- */
/* Estilos específicos para los artículos/posts del álbum Rocking Horse Glittered */

.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;
}

/* Contenedor del personaje Spine */
.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;
}

/* Sección de papel (Parte 1 - Texto corto) */
.paper-section {
  max-width: 900px;
  margin: 40px auto;
  /* Margen interno amplio para que el texto no toque los bordes de la imagen */
  padding: 100px 120px; 
  background-image: url('img/centerBackground.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #222;
  font-family: 'Georgia', serif;
  line-height: 1.8;
  font-size: 1.15rem;
}

/* Sección de papel (Parte 2 - Texto largo) */
.paper-section.long-content {
  background-image: url('img/letrero2.png');
  /* Hereda el padding de .paper-section */
}

.paper-content p {
  margin-bottom: 1.5rem;
  text-align: justify; /* Opcional: para un look más de libro/diario */
}

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

/* Estilo para el video de YouTube dentro del post */
.video-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  background: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border-radius: 4px;
}

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

/* Enlaces y botón de regreso */
.video-links {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.video-links a {
  color: #c44;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: 0.3s ease;
  padding: 10px 20px;
}

.video-links a:hover {
  color: #000;
  transform: translateY(-2px);
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .album-slot.main-feature {
    height: 400px;
  }
  
  .paper-section {
    /* Padding más reducido en móviles para no comprimir demasiado el texto */
    padding: 60px 40px;
    margin: 20px 10px;
    font-size: 1rem;
  }

  .album-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }
}