html, body { height: 100%; }
* { font-family: Lato, sans-serif; }

body{
  margin: 0;
  color: #111;
  background-size: cover;
}

/* =========================
   PAGE WRAP
   ========================= */
.vev-page{
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
  padding: 0 0 34px 0;
}

.vev-footer-space{ margin-top: 18px; }

/* =========================
   HERO FULL WIDTH
   ========================= */
.vev-hero{
  position: relative;
  height: 260px;
  overflow: hidden;
}

.vev-hero img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vev-hero--full{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.vev-hero__overlay{
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 0 16px;
}

.vev-hero__title{
  margin: 0;
  color: #fff;
  font-family: "Knewave", cursive;
  font-size: 56px;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 5px 5px 2.3px rgba(0,0,0,0.65);
}

.vev-hero__subtitle{
  margin: 10px 0 0 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 5px 5px 2.3px rgba(0,0,0,0.65);
}

/* =========================
   PAPEL CORTADO
   ========================= */
.vev-paper-divider{
  position: relative;
  z-index: 20;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  margin-top: -66px;
  line-height: 0;
  pointer-events: none;
}

.vev-paper-divider img{
  width: 100%;
  height: 90px;
  display: block;
  object-fit: cover;
}

/* =========================
   CARD angosta intro
   ========================= */
.vev-card{
  padding: 18px 18px 20px 18px;
  margin-top: -14px;
}

.vev-card--narrow{
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.vev-intro{
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #1a1a1a;
}

/* =========================
   SECCIÓN FULL WIDTH (periódico + papel arriba/abajo)
   ========================= */
.vev-section{
  position: relative;
  z-index: 0;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 0;
  --paper-h: 90px;

  background-image: var(--bg-img);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.vev-section::before,
.vev-section::after{
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: var(--paper-h);
  z-index: 1;
  pointer-events: none;

  background-image: var(--paper-img);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.vev-section::before{
  top: 0;
  transform: scaleY(-1);
  transform-origin: center;
}

.vev-section::after{
  bottom: 0;
}

.vev-section > *{
  position: relative;
  z-index: 2;
}

/* Padding interno */
/* .vev-wrap{
  padding: calc(var(--paper-h) + 24px) 28px calc(var(--paper-h) + 28px);
} */

.vev-grid{
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* =========================
   THUMBS (cards grises / miniaturas)
   ========================= */
.vev-item{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;

  border-radius: 10px;
  overflow: hidden;
  background: #d9d9d9;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);

  position: relative;
  aspect-ratio: 16 / 9;
}

.vev-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
}

.vev-play{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.vev-play::before{
  content: "";
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}

.vev-play::after{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 20px solid #ffffff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transform: translateX(2px);
}

@media (hover: hover){
  .vev-item{
    transition: transform 220ms ease, box-shadow 220ms ease;
    transform-origin: center;
    will-change: transform;
  }

  .vev-item:hover{
    transform: scale(1.04);
    z-index: 2;
    box-shadow: 0 16px 28px rgba(0,0,0,0.18);
  }
}

/* =========================
   MODAL
   ========================= */
.vev-modal{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.vev-modal.is-open{ display: block; }

.vev-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
}

.vev-modal__panel{
  position: relative;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 70px 16px 18px 16px;
}

.vev-modal__close{
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;

  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 30px;
  line-height: 44px;
  text-align: center;
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}

.vev-modal__close:hover{ filter: brightness(1.08); }

.vev-modal__layout{
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 18px;
  align-items: start;
}

.vev-modal__video{
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

.vev-modal__videoFrame{
  width: 100%;
  aspect-ratio: 16 / 9;
}

.vev-modal__videoFrame iframe{
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.vev-modal__side{
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.vev-modal__head{
  padding: 14px 14px 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.vev-modal__title{
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  color: #007cb0;
  letter-spacing: -0.2px;
}

.vev-modal__hint{
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
}

.vev-cards{
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Tarjeta horizontal (sin imagen) */
.vev-cardItem{
  display: grid;
  gap: 6px;
  padding: 12px 12px;
  border-radius: 10px;
  text-decoration: none;

  background: #f6f6f6;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 14px rgba(0,0,0,0.08);
}

.vev-cardItem__title{
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: #1a1a1a;
}

.vev-cardItem__desc{
  font-size: 13px;
  line-height: 1.5;
  color: #2a2a2a;
}

@media (hover: hover){
  .vev-cardItem{
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  }
  .vev-cardItem:hover{
    transform: scale(1.015);
    box-shadow: 0 12px 18px rgba(0,0,0,0.12);
    filter: brightness(1.01);
  }
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px){
  .vev-page{ width: min(1100px, calc(100% - 20px)); }
  .vev-hero{ height: 260px; }
  .vev-hero__title{ font-size: 44px; }
  .vev-hero__subtitle{ font-size: 22px; }

  .vev-card--narrow{ max-width: 70ch; }

  .vev-grid{ grid-template-columns: repeat(2, 1fr); }

  .vev-modal__layout{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .vev-page{ width: calc(100% - 16px); }
  .vev-hero{ height: 260px; }

  .vev-card{
    padding: 14px 12px;
    margin-top: -10px;
  }

  .vev-card--narrow{ max-width: none; }

  .vev-hero__title{ font-size: 45px; }
  .vev-hero__subtitle{ font-size: 16px; margin-top: 6px; }

  .vev-wrap{ padding-left: 16px; padding-right: 16px; }
  .vev-grid{ grid-template-columns: 1fr; }

  .vev-intro{ font-size: 14px; line-height: 1.7; }
}

/* =========================
   FOOTER FULL WIDTH
   ========================= */
#footer-container{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
}

.vev-page{ padding-bottom: 0; }
.vev-footer-space{ margin-top: 0; }


.botton_pri{
  padding: 10px 20px;   /* <-- esto */
  display: inline-flex; /* recomendado */
  align-items: center;
  justify-content: center;
  text-decoration: none; /* para <a> */
}

/* Botonera debajo de la grilla */
.vev-actions{
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Para que ambos se vean “del mismo tamaño” */
.vev-actions .botton_pri,
.vev-actions .botton_sec{
  min-width: 260px;
}

/* Más aire antes del papel inferior (opcional) */
.vev-wrap{
  padding-bottom: calc(var(--paper-h) + 40px);
}
