
@media (min-width: 992px){
  .desktop-videos-section{margin-top:54px;}
  .desktop-videos-layout{
    display:grid;
    grid-template-columns:320px minmax(0,1fr);
    gap:14px;
    align-items:stretch;
    background:#f3f4f2;
    border-radius:14px;
    box-shadow:0 10px 22px rgba(0,0,0,.08);
    padding:12px;
  }
  .desktop-videos-list{display:flex;flex-direction:column;gap:2px;min-height:420px;}
  .desktop-video-item{display:grid;grid-template-columns:44px 76px 1fr;gap:0;min-height:58px;background:#f0f1f2;border:1px solid rgba(0,0,0,.05);cursor:pointer;overflow:hidden;transition:transform .18s ease, box-shadow .18s ease, background .18s ease;}
  .desktop-video-item:hover{transform:translateX(2px);box-shadow:0 6px 18px rgba(0,0,0,.08);}
  .desktop-video-item.active{background:#ffffff;box-shadow:0 10px 20px rgba(0,0,0,.08);}
  .desktop-video-rank{display:flex;align-items:center;justify-content:center;font-weight:900;color:#fff;background:#0b2d6d;font-size:20px;}
  .desktop-video-item.active .desktop-video-rank{background:#08b210;}
  .desktop-video-thumb{background:#111 center/cover no-repeat;min-height:58px;}
  .desktop-video-info{padding:8px 10px;min-width:0;display:flex;flex-direction:column;justify-content:center;}
  .desktop-video-title{font-size:14px;font-weight:900;color:#1a1a1a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .desktop-video-artist{margin-top:4px;font-size:12px;color:#9aa0a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .desktop-videos-player{background:#fff;border-radius:10px;padding:10px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);min-height:420px;display:flex;align-items:center;justify-content:center;}
  .desktop-videos-embed-wrap{width:100%;aspect-ratio:16/9;background:#000;border-radius:6px;overflow:hidden;}
  .desktop-videos-embed-wrap iframe{width:100%;height:100%;border:0;display:block;}
  .desktop-videos-empty{background:#fff;border-radius:12px;padding:18px;color:#666;}
}
@media (max-width: 1140px) and (min-width: 992px){
  .desktop-videos-layout{grid-template-columns:280px minmax(0,1fr);}
}

@media (min-width: 992px){
  .videoItem.active{outline:3px solid #14b80a;background:#f3f8f2 !important;}
}


@media (min-width: 992px){
  body.desktop-news-detail-active .desktop-vraem-topbar,
  body.desktop-news-detail-active .desktop-vraem-wrap,
  body.desktop-news-detail-active .desktop-web-section:not(.desktop-news-section),
  body.desktop-news-detail-active .desktop-programs-section,
  body.desktop-news-detail-active .desktop-anuncios-section{
    display:none !important;
  }

  body.desktop-news-detail-active .desktop-news-section{
    margin-top:0 !important;
    width:min(1180px, calc(100vw - 60px)) !important;
  }

  body.desktop-news-detail-active .desktop-vraem-shell{
    padding-top:26px !important;
  }
}


@media (min-width: 992px){
  .desktop-news-closebtn{
    display:none;
    position:fixed;
    top:22px;
    right:22px;
    width:46px;
    height:46px;
    border:none;
    border-radius:50%;
    background:#000;
    color:#fff;
    font-size:24px;
    font-weight:900;
    cursor:pointer;
    z-index:999999;
    box-shadow:0 10px 24px rgba(0,0,0,.18);
  }
  .desktop-news-sharebtn svg{display:block}
  body.desktop-news-detail-active .desktop-news-closebtn{display:flex !important;align-items:center;justify-content:center}
  body.desktop-news-detail-active .desktop-web-watermark,
  body.desktop-news-detail-active .desktop-web-heading,
  body.desktop-news-detail-active .desktop-news-status{
    display:none !important;
  }
}


.newsModalClose{
  position:relative;
  z-index:99999 !important;
  pointer-events:auto !important;
}
.newsModal{
  pointer-events:auto !important;
}


/* ==== FIX REAL CENTRADO PC ==== */
@media (min-width: 992px){
  body.desktop-pc-mode .desktop-vraem-topbar,
  body.desktop-pc-mode .desktop-vraem-wrap,
  body.desktop-pc-mode .desktop-web-section{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  body.desktop-pc-mode .desktop-vraem-shell{
    width:100% !important;
    align-items:center !important;
  }
}


/* ===== FIX TV DIAGONAL ANIMATION ===== */
@media (min-width: 992px){
  body.desktop-pc-mode .tvDiagonalOverlay{
    position:absolute;
    inset:0;
    pointer-events:none;
    overflow:hidden;
    display:block;
    z-index:0;
  }

  body.desktop-pc-mode .tvDiagonalText{
    position:absolute;
    left:-30vw;
    width:170vw;
    color:rgba(255,255,255,.18);
    font-weight:900;
    font-size:64px;
    white-space:nowrap;
    transform:rotate(-28deg);
    animation:peruplayDiagonalDrift 6s linear infinite;
  }

  .tvDiagonalText.r1{ top:2%; }
  .tvDiagonalText.r2{ top:16%; animation-delay:-1s; }
  .tvDiagonalText.r3{ top:30%; animation-delay:-2s; }
  .tvDiagonalText.r4{ top:44%; animation-delay:-3s; }
  .tvDiagonalText.r5{ top:58%; animation-delay:-4s; }
  .tvDiagonalText.r6{ top:72%; animation-delay:-5s; }
  .tvDiagonalText.r7{ top:86%; animation-delay:-6s; }
}


  100%{ transform:translate(420px,-420px) rotate(-28deg); }
}


/* ===== FIX TEXTO PERÚ PLAY ANIMADO ===== */
.tvDiagonalOverlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  z-index:9999;
}

.tvDiagonalText{
  position:absolute;
  left:-50%;
  width:200%;
  font-weight:900;
  font-size:60px;
  white-space:nowrap;
  transform:rotate(-28deg);
  color:rgba(255,255,255,0.18);
  animation:moverTexto 6s linear infinite;
}

.tvDiagonalText.r1{top:5%;}
.tvDiagonalText.r2{top:20%;}
.tvDiagonalText.r3{top:35%;}
.tvDiagonalText.r4{top:50%;}
.tvDiagonalText.r5{top:65%;}
.tvDiagonalText.r6{top:80%;}

@keyframes moverTexto{
  0%{transform:translateX(0) rotate(-28deg);}
  100%{transform:translateX(500px) rotate(-28deg);}
}


/* ===== AJUSTE TV PC DIAGONAL PERU PLAY ===== */
@media (min-width: 992px){
  body.desktop-pc-mode .tvScreen.active .tvDiagonalOverlay{
    display:block !important;
    opacity:1 !important;
  }
  body.desktop-pc-mode .tvScreen.active .tvDiagonalText{
    display:block !important;
    font-size:60px !important;
    line-height:1 !important;
    letter-spacing:1px !important;
    color:rgba(255,255,255,.22) !important;
    white-space:nowrap !important;
    transform:rotate(-28deg) translate3d(0,0,0) !important;
    transform-origin:center !important;
    animation:peruPlayDiagonalFlow 12s linear infinite !important;
    text-transform:uppercase !important;
    font-family:Arial, Helvetica, sans-serif !important;
  }
  body.desktop-pc-mode .tvScreen.active .tvDiagonalText .tvPeru{
    font-weight:900 !important;
  }
  body.desktop-pc-mode .tvScreen.active .tvDiagonalText .tvPlay{
    font-weight:300 !important;
    margin-left:2px !important;
  }
  body.desktop-pc-mode .tvScreen.active .tvDiagonalText.r1{ top:4% !important; animation-delay:0s !important; }
  body.desktop-pc-mode .tvScreen.active .tvDiagonalText.r2{ top:20% !important; animation-delay:-2s !important; }
  body.desktop-pc-mode .tvScreen.active .tvDiagonalText.r3{ top:36% !important; animation-delay:-4s !important; }
  body.desktop-pc-mode .tvScreen.active .tvDiagonalText.r4{ top:52% !important; animation-delay:-6s !important; }
  body.desktop-pc-mode .tvScreen.active .tvDiagonalText.r5{ top:68% !important; animation-delay:-8s !important; }
}
@keyframes peruPlayDiagonalFlow{
  0%{ transform:translate3d(-140px, 140px, 0) rotate(-28deg); }
  100%{ transform:translate3d(220px, -220px, 0) rotate(-28deg); }
}



/* performance */
img{max-width:100%;height:auto;}
#desktopLocutoresSection,#desktopProgramasSection,#desktopNoticiasSection,#desktopAnunciosSection,#desktopVideosSection{content-visibility:auto;contain-intrinsic-size:900px;}
