@charset "utf-8";
/* CSS Document */

/* Reset básico */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--background-color);
  color: var(--primary-color);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.5; /* Mejor legibilidad */
  display: flex;
  min-height: 100vh;
  flex-direction: column; 
}

/* Variables globales */
:root {
  --primary-color: #fff;
  --secondary-color: #000;
  --highlight-color: #262e91;
  --background-color: #000;
  --font-family: "Poppins", sans-serif;
  --font-size-base: 16px;
  --font-size-large: calc(1.5em + 1vw);
  --header-height: 20px;
  --container-padding: 0px;
  --logo-menu-spacing: 20px; /* Espaciado entre logo y menú */
}

html, body {
  margin: 0;
  padding: 0;
}

/* Contenedor principal */
.container {
  flex: 1; 
  display: grid;
  grid-template-rows: auto 1fr; /* Asegura que el footer esté abajo */
  gap: var(--container-padding);
  width: 100%;
  min-height: 100vh; /* Evita que el footer se sobreponga si hay poco contenido */
  flex-shrink: 0; /* Evita que el footer se superponga */
}

/* Header */
.item.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--background-color);
  color: var(--primary-color);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Logo */
.item.logo {
  flex: 1;
}

.item.logo img {
  height: 40px;
  width: auto;
  margin-right: var(--logo-menu-spacing);
}

/* Cuerpo */
.cuerpo {
  display: grid;
  grid-template-rows: auto;
  gap: 0px;
  min-height: 0;
}

.bloque_contenido_1 {
  display: grid;
  grid-row-start: 1; 
  grid-row-end: 1;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  grid-gap: 1px;
  text-align: center;
  color: #FFFFFF;
  min-height: 0;
}

.bloque_contenido_2 {
  position: static;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  text-align: left;
  color: #000;
  background-color: #3b3028;
  padding: 0px;
  flex-shrink: 0;
  bottom: 0px;
  z-index: 9999;
}

.bloque_bk {
  display: flex;
  max-width: 100vw;
  overflow: hidden;
  transition: opacity .2s ease-in-out;
}

/* Responsive padding */
.bloque_bk2 { padding: 10px 26px 0; }
@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .bloque_bk2 { padding: 34px 36px 36px; }
}
@media screen and (min-width: 480px) and (max-width: 1023px) {
  .bloque_bk2 { padding: 34px 24px 24px; }
}
@media screen and (max-width: 479px) {
  .bloque_bk2 { padding: 16px; }
}

@media screen and (max-width: 1023px) {
  .bloque_bk { flex-wrap: wrap; }
}

/* Imagen con gradiente */
._imgGradient:after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 56.25vw;
}

/* Poster */
.poster {
  position: absolute;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  object-fit: cover;
}

.imagen_poster {
  object-fit: cover;
}

/* Contenido bloque */
.contenidoBloque_0 {
  display: grid;
  grid-area: contenidoBloque;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  height: 500px;
  margin-bottom: 20px;
  width: 50%;
  max-width: 400px;
  z-index: 9;  
}

._metaContainer {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 45%;
  right: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 10px 0px 0px 20px;
  width: 50%;
  box-sizing: border-box;
}

/* Tipografías */
.titulo_prog {
  margin-bottom: 8px;
  font-size: calc(2.0em + 2.0vw);
  line-height: 1.0em;
  color: #FFFFFF;
  font-family: "Montserrat", Helvetica, Arial; 
  text-shadow: 0.10em 0.10em 0.10em #726e6e;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15px;
}

.subtitulo_prog {
  margin-top: 10px;
  font-size: calc(0.6em + 0.6vw);
  line-height: 1.5em;
  font-family: 'Lora', Georgia, serif;
  color: #eea16d;
  font-style: italic; 
  text-shadow: 0.04em 0.04em 0.04em #000000;
  font-weight: 500;
  text-align: center;
}

/* Botones media */
.botones_media {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.btn_media {
  padding: 48px 50px;
  border-radius: 6px;
	font-size: calc(0.6em + 0.6vw);
  font-weight: bold;
  text-decoration: none;
	 text-shadow: 0.10em 0.10em 0.10em #000000;
  color: white;
  background-size: cover;   /* Para que la imagen cubra todo */
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.btn_media:hover {
  transform: scale(1.05);
}

/* Botón azul con imagen */
.btn_azul {
  background-image: url("../img/poster_video.jpg"); /* <-- pon aquí tu imagen */
}

/* Botón verde con imagen */
.btn_verde {
  background-image: url("../img/poster_fotos.jpg"); /* <-- pon aquí tu imagen */
}

/* Tarjetas */
.cardPoster {
  position: relative;
  top: 10px;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 4px;
  box-shadow: 0 8px 10px #00000024,
              0 3px 14px #0000001f,
              0 4px 5px #0003;
  cursor: pointer;
  transition: transform .2s ease-out, box-shadow .2s ease-in-out;
}

.cardPoster:hover {
  position: relative;
  z-index: 99;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 0 3px var(--highlight-color, #fff),
              0 8px 10px #00000024,
              0 3px 14px #0000001f,
              0 4px 5px #0003;
  transform: scale(1.02);
  transition: transform .5s ease, box-shadow .4s ease;
}

/* Footer */
footer {
  background-color: #1e1e1e;
  color: #fff;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: Arial, sans-serif;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.item { box-sizing: border-box; }

._foot1, ._foot2 {
  flex: 1 1 300px;
  margin-bottom: 30px;
}

._pie_bloque {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p_b ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p_b li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.p_b li img {
  margin-right: 10px;
}

.centrado {
  display: flex;
  align-items: center;
}

._p_b2 { text-align: center; }

.tit_pie1 {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
}

.icoredes {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.icoredes img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.icoredes img:hover {
  transform: scale(1.1);
}

/* Responsive footer */
@media (max-width: 600px) {
  ._pie_bloque { flex-direct
