/* Cabecera tipográfica NO PASES PENA — sustituye el logo en todas las páginas */
.edgtf-page-header .edgtf-logo-wrapper img,
.edgtf-mobile-header .edgtf-mobile-logo-wrapper img {
  display:none!important;
}
.edgtf-page-header .edgtf-logo-wrapper a,
.edgtf-mobile-header .edgtf-mobile-logo-wrapper a {
  display:flex!important;
  align-items:center!important;
  width:auto!important;
  min-width:max-content!important;
  text-decoration:none!important;
}
.edgtf-page-header .edgtf-logo-wrapper a:after,
.edgtf-mobile-header .edgtf-mobile-logo-wrapper a:after {
  content:"NO PASES PENA";
  display:block;
  font-family:Arial,Helvetica,sans-serif;
  font-size:17px;
  font-weight:700;
  line-height:1;
  letter-spacing:.035em;
  white-space:nowrap;
  color:#111;
}
body.edgtf-light-header .edgtf-page-header .edgtf-logo-wrapper a:after,
body.edgtf-light-header .edgtf-mobile-header .edgtf-mobile-logo-wrapper a:after {
  color:#fff;
}
body.edgtf-dark-header .edgtf-page-header .edgtf-logo-wrapper a:after,
body.edgtf-dark-header .edgtf-mobile-header .edgtf-mobile-logo-wrapper a:after {
  color:#111;
}

/* Play del tráiler — triángulo grande, blanco y sin círculo */
body.home #SR7_1_1-3-0 {
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  width:68px!important;
  height:68px!important;
  line-height:68px!important;
  padding:0!important;
  text-align:center!important;
  font-size:58px!important;
  font-weight:600!important;
  color:#fff!important;
}
body.home #SR7_1_1-1-1 {width:110px!important;height:95px!important;left:70px!important;top:auto!important;bottom:55px!important;}
body.home #SR7_1_1-1-2 {width:180px!important;height:39px!important;left:220px!important;top:auto!important;bottom:82px!important;}
/* Logos de producción - Home El coraje del matiz */
body.home #SR7_1_1-1-1 {width:110px!important;height:95px!important;left:70px!important;top:auto!important;bottom:55px!important;}
body.home #SR7_1_1-1-2 {width:180px!important;height:39px!important;left:220px!important;top:auto!important;bottom:82px!important;}
body.home #SR7_1_1-1-3 {width:160px!important;height:68px!important;left:455px!important;top:auto!important;bottom:67px!important;}
body.home #SR7_1_1-1-4 {width:180px!important;height:33px!important;left:670px!important;top:auto!important;bottom:85px!important;}
body.home #SR7_1_1-1-3 {width:160px!important;height:68px!important;left:455px!important;top:auto!important;bottom:67px!important;}
/* Logos de producción - Home El coraje del matiz */
body.home #SR7_1_1-1-1 {width:110px!important;height:95px!important;left:70px!important;top:auto!important;bottom:55px!important;}
body.home #SR7_1_1-1-2 {width:180px!important;height:39px!important;left:220px!important;top:auto!important;bottom:82px!important;}
body.home #SR7_1_1-1-3 {width:160px!important;height:68px!important;left:455px!important;top:auto!important;bottom:67px!important;}
body.home #SR7_1_1-1-4 {width:180px!important;height:33px!important;left:670px!important;top:auto!important;bottom:85px!important;}
body.home #SR7_1_1-1-4 {width:180px!important;height:33px!important;left:670px!important;top:auto!important;bottom:85px!important;}
/* Logos de producción - Home El coraje del matiz */
body.home #SR7_1_1-1-1 {width:110px!important;height:95px!important;left:70px!important;top:auto!important;bottom:55px!important;}
body.home #SR7_1_1-1-2 {width:180px!important;height:39px!important;left:220px!important;top:auto!important;bottom:82px!important;}
body.home #SR7_1_1-1-3 {width:160px!important;height:68px!important;left:455px!important;top:auto!important;bottom:67px!important;}
body.home #SR7_1_1-1-4 {width:180px!important;height:33px!important;left:670px!important;top:auto!important;bottom:85px!important;}
/* Centrado final de logos */
body.home #SR7_1_1-1-1 {left:calc(50% - 390px)!important;}
body.home #SR7_1_1-1-2 {left:calc(50% - 240px)!important;}
body.home #SR7_1_1-1-3 {left:calc(50% - 5px)!important;}
body.home #SR7_1_1-1-4 {left:calc(50% + 210px)!important;}

/* Panel de menú NO PASES PENA — solo pantalla completa */
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu-holder,
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu-holder-outer,
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu-holder-inner,
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu-holder-wrapper,
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-widget-holder {
  background:#fff!important;
  background-image:none!important;
}
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-widget-inner > * {
  display:none!important;
}
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-widget-inner {
  width:100%!important;
  max-width:none!important;
  text-align:left!important;
}
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-widget-inner:before {
  content:"NO PASES PENA";
  display:block;
  color:#111!important;
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(28px,3vw,52px);
  font-weight:500;
  line-height:1.1;
  letter-spacing:.04em;
  white-space:nowrap;
}
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu ul {
  text-align:left!important;
}
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu ul li {
  margin:0 0 10px!important;
}
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu ul li a,
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu ul li a span {
  color:#111!important;
  text-transform:uppercase!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:clamp(22px,2.1vw,36px)!important;
  font-weight:400!important;
  line-height:1.2!important;
  letter-spacing:.035em!important;
}
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu ul li a:hover,
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu ul li a:hover span {
  color:#666!important;
}
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu-opener.edgtf-fm-opened .edgtf-fullscreen-menu-close-icon,
body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu-opener.edgtf-fm-opened .edgtf-fullscreen-menu-close-icon span {
  color:#111!important;
}

/* NPP — tráiler dentro de la web */
#SR7_1_1-3-0,.npp-trailer-play{border:0!important;border-radius:0!important;background:transparent!important;width:68px!important;height:68px!important;line-height:68px!important;font-size:68px!important;text-align:center!important;padding:0!important;font-weight:400!important;text-indent:3px;filter:drop-shadow(0 2px 9px rgba(0,0,0,.35));transition:opacity .25s ease,transform .25s ease}
#SR7_1_1-3-0:hover,.npp-trailer-play:hover{opacity:.72}
#npp-trailer-modal{position:fixed;inset:0;z-index:1000000;display:flex;align-items:center;justify-content:center;padding:5vw;box-sizing:border-box;background:rgba(0,0,0,.78);opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease}
#npp-trailer-modal.is-open{opacity:1;visibility:visible}
#npp-trailer-modal .npp-trailer-dialog{position:relative;width:min(72vw,960px);aspect-ratio:16/9;background:#000;box-shadow:0 24px 80px rgba(0,0,0,.42)}
#npp-trailer-modal iframe{display:block;width:100%;height:100%;border:0}
#npp-trailer-modal .npp-trailer-close{position:absolute;right:-4px;top:-42px;width:34px;height:34px;border:0;background:transparent;color:#fff;font:300 32px/34px Arial,sans-serif;cursor:pointer;padding:0}
body.npp-trailer-open{overflow:hidden}

/* NPP — base responsive global */
html,body{max-width:100%}
body{overflow-x:clip}
img,video,iframe{max-width:100%}
.wpb_single_image img,.edgtf-portfolio-single-holder img,.edgtf-blog-holder img{height:auto}

@media(max-width:778px){
  .edgtf-mobile-header .edgtf-mobile-header-inner{padding-left:18px!important;padding-right:18px!important;box-sizing:border-box}
  .edgtf-mobile-header .edgtf-mobile-logo-wrapper a:after{font-size:14px!important;letter-spacing:.03em!important}
  .edgtf-container-inner,.edgtf-grid,.edgtf-row-grid-section{width:calc(100% - 36px)!important;max-width:100%!important}
  .vc_column_container>.vc_column-inner{box-sizing:border-box}
  .edgtf-title-holder h1{font-size:32px!important;line-height:1.08!important}
  .edgtf-title-holder .edgtf-subtitle{font-size:13px!important;line-height:1.35!important}
  .page-id-330 .edgtf-title-holder{height:auto!important;min-height:0!important;aspect-ratio:3/4!important;background-size:contain!important;background-position:center center!important}
  .page-id-330 .edgtf-title-holder .edgtf-title-inner{padding-left:18px!important;padding-right:18px!important;box-sizing:border-box}
  #SR7_1_1-3-0,.npp-trailer-play{width:48px!important;height:48px!important;line-height:48px!important;font-size:48px!important}
  #npp-trailer-modal{padding:20px!important}
  #npp-trailer-modal .npp-trailer-dialog{width:92vw!important;max-width:92vw!important}
  #npp-trailer-modal .npp-trailer-close{right:0;top:-38px}
  body.home #SR7_1_1-1-1{left:6%!important;width:50px!important;height:43px!important;bottom:24px!important}
  body.home #SR7_1_1-1-2{left:24%!important;width:74px!important;height:16px!important;bottom:37px!important}
  body.home #SR7_1_1-1-3{left:49%!important;width:67px!important;height:29px!important;bottom:30px!important}
  body.home #SR7_1_1-1-4{left:74%!important;width:76px!important;height:14px!important;bottom:38px!important}
  body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu-holder-inner{padding:72px 24px 40px!important;box-sizing:border-box!important}
  body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-widget-holder{display:block!important;width:100%!important;margin:0 0 26px!important;text-align:center!important}
  body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-widget-inner{text-align:center!important}
  body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-widget-inner:before{font-size:24px!important;line-height:1.05!important;white-space:normal!important;text-align:center!important}
  body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu ul{text-align:center!important}
  body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu ul li{margin:0 0 8px!important}
  body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu ul li a,
  body.edgtf-fullscreen-menu-opened .edgtf-fullscreen-menu ul li a span{font-size:21px!important;line-height:1.2!important}
  .edgtf-portfolio-list-holder article,.edgtf-blog-holder article{max-width:100%!important}
  .edgtf-portfolio-single-holder .edgtf-ps-info-holder,.edgtf-portfolio-single-holder .edgtf-ps-content-item{width:100%!important;float:none!important}
  .page-id-8 input:not([type=submit]),.page-id-8 textarea,.page-id-8 select,
  .page-id-424 input:not([type=submit]),.page-id-424 textarea,.page-id-424 select{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}

/* NPP — navegación anterior/siguiente de fichas */
body.single-portfolio-item .edgtf-portfolio-single-nav{
  min-height:124px;
  padding:28px 3.5vw 30px!important;
  box-sizing:border-box;
  border-top:1px solid rgba(0,0,0,.08);
}
body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-prev a,
body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-next a{
  display:inline-flex!important;
  align-items:center;
  gap:17px;
  min-height:68px;
  font-size:12px!important;
  line-height:1.3!important;
  letter-spacing:.24em!important;
  font-weight:600;
  transition:opacity .25s ease;
}
body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-prev img,
body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-next img{
  width:108px!important;
  height:68px!important;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-prev a:hover,
body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-next a:hover{
  opacity:.72;
}
body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-prev a:hover img,
body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-next a:hover img{
  transform:scale(1.035);
}
body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-back-btn{
  transform:scale(1.12);
  transform-origin:center;
}
@media(max-width:680px){
  body.single-portfolio-item .edgtf-portfolio-single-nav{
    min-height:96px;
    padding:20px 16px 22px!important;
  }
  body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-prev a,
  body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-next a{
    gap:10px;
    min-height:52px;
    font-size:10px!important;
    letter-spacing:.18em!important;
  }
  body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-prev img,
  body.single-portfolio-item .edgtf-portfolio-single-nav .edgtf-ps-next img{
    width:72px!important;
    height:48px!important;
  }
}