
/* PUBLICAR v0.6.275-R72 — HOME PRUEBA · PROPUESTA 5
   Página paralela. NO modifica el HOME oficial. */

.pub-home-p5{
  --p5-yellow:#ffc400;
  --p5-dark:#101217;
  --p5-panel:#171a20;
  --p5-line:#292e37;
  --p5-radius:18px;
  width:min(1450px,calc(100% - 16px))!important;
  max-width:1450px!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}

.pub-home-p5 .pub-master-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

.pub-p5-start{
  margin-top:12px;
  padding:12px;
  border-radius:22px;
  background:#08090c;
  color:#fff;
  overflow:hidden;
}

.pub-p5-hero{
  position:relative;
  min-height:255px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:30px;
  border-radius:18px;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.66) 45%,rgba(0,0,0,.34) 100%),
    url('/assets/img/home-propuesta-5/vehiculos.jpg') center/cover no-repeat;
}

.pub-p5-hero:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 82% 18%,rgba(255,196,0,.18),transparent 30%),
    linear-gradient(180deg,transparent 50%,rgba(0,0,0,.25));
}

.pub-p5-hero-copy{position:relative;z-index:2}

.pub-p5-eyebrow{
  display:inline-block;
  margin-bottom:8px;
  font-size:12px;
  font-weight:900;
  color:var(--p5-yellow);
  letter-spacing:.08em;
}

.pub-p5-hero h1{
  margin:0;
  max-width:750px;
  font-size:clamp(34px,4.2vw,66px);
  line-height:.94;
  font-weight:950;
  letter-spacing:-.04em;
  color:#fff;
}
.pub-p5-hero h1 strong{color:#fff}
.pub-p5-hero p{
  margin:12px 0 18px;
  max-width:580px;
  font-size:15px;
  line-height:1.35;
  color:#f3f4f6;
}


.pub-p5-sector-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}

.pub-p5-sector{
  position:relative;
  min-height:235px;
  border-radius:16px;
  overflow:hidden;
  isolation:isolate;
  text-decoration:none!important;
  color:#fff!important;
  background:#191d24;
}
.pub-p5-sector:nth-child(-n+3){grid-column:span 2}
.pub-p5-sector:nth-child(n+4){grid-column:span 3}

.pub-p5-sector img{
  position:absolute;
  inset:0;
  width:100%;height:100%;
  object-fit:cover;
  transform:scale(1.005);
  transition:transform .35s ease;
}
.pub-p5-sector:after{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.03) 28%,rgba(0,0,0,.92) 100%);
}
.pub-p5-sector span{
  position:absolute;
  z-index:2;
  left:16px;right:16px;bottom:15px;
  display:grid;
  gap:3px;
}
.pub-p5-sector b{
  font-size:18px;
  line-height:1.08;
  font-weight:900;
  color:#fff;
}
.pub-p5-sector small{
  font-size:11px;
  line-height:1.15;
  color:#e9eaed;
}
.pub-p5-sector:hover img{transform:scale(1.035)}

.pub-p5-quick{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}
.pub-p5-quick>a{
  min-height:86px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 16px;
  border:1px solid var(--p5-line);
  border-radius:14px;
  background:var(--p5-panel);
  color:#fff!important;
  text-decoration:none!important;
}
.pub-p5-quick-icon{
  width:44px;height:44px;min-width:44px;
  display:grid;place-items:center;
  border-radius:12px;
  background:#222730;
  font-size:22px;
}
.pub-p5-quick>a>span:last-child{display:grid;gap:2px}
.pub-p5-quick b{font-size:14px;line-height:1.1}
.pub-p5-quick small{font-size:11px;color:#b9c0cb}

.pub-p5-banner-slot{
  margin-top:10px;
  border-radius:16px;
  overflow:hidden;
}

.pub-p5-guide-preview{
  margin-top:10px;
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 18px;
  border:1px solid var(--p5-line);
  border-radius:14px;
  background:#11141a;
  color:#fff;
}
.pub-p5-guide-preview>div{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.pub-p5-guide-icon{
  width:44px;height:44px;min-width:44px;
  display:grid;place-items:center;
  border-radius:12px;
  background:var(--p5-yellow);
  color:#111;
  font-size:22px;
}
.pub-p5-guide-preview b{font-size:14px}
.pub-p5-guide-preview p{
  margin:2px 0 0;
  color:#b9c0cb;
  font-size:11px;
  line-height:1.3;
}
.pub-p5-guide-preview>a{
  flex:0 0 auto;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border-radius:10px;
  background:var(--p5-yellow);
  color:#111!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:900;
}

/* TABLET */
@media(max-width:980px){
  .pub-home-p5{width:calc(100% - 16px)!important}
  .pub-p5-start{padding:10px;border-radius:18px}
  .pub-p5-hero{min-height:225px;padding:24px}
  .pub-p5-sector{min-height:190px}
  .pub-p5-sector b{font-size:16px}
}

/* PHONE: mantiene el concepto visual 3 + 2, como Propuesta 5.
   Los títulos pueden bajar de línea; no se cortan. */
@media(max-width:560px){
  .pub-home-p5{width:100%!important;padding:0 8px!important}
  .pub-p5-start{margin-top:8px;padding:8px;border-radius:16px}
  .pub-p5-hero{
    min-height:220px;
    padding:18px 14px;
    border-radius:14px;
    background:
      linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.48)),
      url('/assets/img/home-propuesta-5/vehiculos.jpg') center/cover no-repeat;
  }
  .pub-p5-hero h1{font-size:34px}
  .pub-p5-hero p{font-size:12px;margin:8px 0 14px}

  .pub-p5-sector-grid{gap:6px;margin-top:7px}
  .pub-p5-sector{
    min-height:142px;
    border-radius:12px;
  }
  .pub-p5-sector span{left:9px;right:9px;bottom:9px}
  .pub-p5-sector b{font-size:12px;line-height:1.05}
  .pub-p5-sector small{font-size:9px}

  .pub-p5-quick{gap:6px;margin-top:7px}
  .pub-p5-quick>a{
    min-height:82px;
    padding:8px 6px;
    flex-direction:column;
    justify-content:center;
    gap:6px;
    text-align:center;
    border-radius:12px;
  }
  .pub-p5-quick-icon{width:34px;height:34px;min-width:34px;font-size:17px}
  .pub-p5-quick b{font-size:11px}
  .pub-p5-quick small{font-size:9px}

  .pub-p5-guide-preview{
    padding:12px;
    align-items:flex-start;
    flex-direction:column;
  }
  .pub-p5-guide-preview>a{width:100%}
}


/* PUBLICAR v0.6.275-R79 — ORDEN DEFINITIVO DE SECTORES DEL HOME GENERAL
   Fila 1: Acuáticos | Bicicletas & Scooters
   Fila 2: Motos     | Vehículos
   Fila 3: Maquinaria & Minería (ancho completo)
   Mismo patrón en Web, Tablet y Phone. */

.pub-p5-hero{
  background:
    linear-gradient(90deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.66) 45%,rgba(0,0,0,.34) 100%),
    var(--pub-p5-hero-image,url('/assets/img/home-propuesta-5/vehiculos.jpg')) center/cover no-repeat!important;
}

.pub-p5-sector-grid-r79{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
}
.pub-p5-sector-grid-r79>.pub-p5-sector{
  grid-column:span 1!important;
}
.pub-p5-sector-grid-r79>.pub-p5-sector-maquinaria{
  grid-column:1 / -1!important;
}

@media(max-width:980px){
  .pub-p5-sector-grid-r79{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .pub-p5-sector-grid-r79>.pub-p5-sector-maquinaria{
    grid-column:1 / -1!important;
  }
}

@media(max-width:560px){
  .pub-p5-sector-grid-r79{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .pub-p5-sector-grid-r79>.pub-p5-sector{
    grid-column:span 1!important;
  }
  .pub-p5-sector-grid-r79>.pub-p5-sector-maquinaria{
    grid-column:1 / -1!important;
  }
}


/* PUBLICAR v0.6.275-R84 — HOME GENERAL COMPLETO
   Posición + tamaño de texto por Web/Tablet/Phone, peso, color,
   posición de imagen y dimensiones/alineación del buscador. */

.pub-p5-hero{
  background:
    linear-gradient(90deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.66) 45%,rgba(0,0,0,.34) 100%),
    var(--pub-p5-hero-image,url('/assets/img/home-propuesta-5/vehiculos.jpg')) var(--pub-p5-hero-bg-pos,center center)/cover no-repeat!important;
  display:block!important;
}

.pub-p5-hero-content{
  position:absolute!important;
  z-index:2!important;
  left:var(--hero-left-web,0)!important;
  right:var(--hero-right-web,auto)!important;
  top:var(--hero-top-web,auto)!important;
  bottom:var(--hero-bottom-web,0)!important;
  transform:var(--hero-transform-web,none)!important;
  text-align:var(--hero-align-web,left)!important;
  width:min(760px,calc(100% - 60px))!important;
  max-width:calc(100% - 60px)!important;
}

.pub-p5-hero-copy{
  position:relative!important;
  z-index:2!important;
  text-shadow:var(--hero-shadow-x,0px) var(--hero-shadow-y,2px) var(--hero-shadow-blur,4px) var(--hero-shadow-color,rgba(0,0,0,.75))!important;
}
/* R98 — reserva el alto que ocupaba el buscador dentro del slider,
   para no mover los textos aprobados al sacar la barra fuera. */
.pub-p5-hero-content::after{
  content:"";
  display:block;
  height:var(--search-height-web,54px);
}

/* Buscador maestro original, ahora inmediatamente debajo del slider. */
.pub-home-p5 .pub-p5-search-below-slider{
  width:100%!important;
  max-width:none!important;
  margin:10px 0 0!important;
}
.pub-p5-eyebrow{
  font-size:var(--hero-eyebrow-size-web,12px)!important;
  font-weight:var(--hero-eyebrow-weight,900)!important;
  color:var(--hero-eyebrow-color,#ffc400)!important;
}
.pub-p5-hero h1{
  font-size:inherit!important;
  font-weight:inherit!important;
}
.pub-p5-title-1{
  font-size:var(--hero-title1-size-web,66px)!important;
  font-weight:var(--hero-title1-weight,950)!important;
  color:var(--hero-title1-color,#fff)!important;
  line-height:.94!important;
}
.pub-p5-title-2{
  font-size:var(--hero-title2-size-web,66px)!important;
  font-weight:var(--hero-title2-weight,950)!important;
  color:var(--hero-title2-color,#fff)!important;
  line-height:.94!important;
}
.pub-p5-hero-copy p{
  font-size:var(--hero-subtitle-size-web,15px)!important;
  font-weight:var(--hero-subtitle-weight,600)!important;
  color:var(--hero-subtitle-color,#f3f4f6)!important;
  white-space:pre-line!important;
}


/* Sector cards */
.pub-p5-sector img{
  object-position:var(--sector-image-position,center center)!important;
}
.pub-p5-sector>span{
  left:var(--sector-left-web,16px)!important;
  right:var(--sector-right-web,16px)!important;
  top:var(--sector-top-web,auto)!important;
  bottom:var(--sector-bottom-web,15px)!important;
  transform:var(--sector-transform-web,none)!important;
  text-align:var(--sector-align-web,left)!important;
  width:auto!important;
  max-width:calc(100% - 32px)!important;
}
.pub-p5-sector b{
  font-size:var(--sector-title-size-web,18px)!important;
  font-weight:var(--sector-title-weight,900)!important;
  color:var(--sector-title-color,#fff)!important;
}
.pub-p5-sector small{
  font-size:var(--sector-subtitle-size-web,11px)!important;
  font-weight:var(--sector-subtitle-weight,500)!important;
  color:var(--sector-subtitle-color,#e9eaed)!important;
}

@media(min-width:561px) and (max-width:980px){
  .pub-p5-hero-content::after{height:var(--search-height-tablet,52px)}
  .pub-p5-hero-content{
    left:var(--hero-left-tablet,0)!important;
    right:var(--hero-right-tablet,auto)!important;
    top:var(--hero-top-tablet,auto)!important;
    bottom:var(--hero-bottom-tablet,0)!important;
    transform:var(--hero-transform-tablet,none)!important;
    text-align:var(--hero-align-tablet,left)!important;
    width:min(720px,calc(100% - 48px))!important;
    max-width:calc(100% - 48px)!important;
  }
  .pub-p5-eyebrow{font-size:var(--hero-eyebrow-size-tablet,11px)!important}
  .pub-p5-title-1{font-size:var(--hero-title1-size-tablet,48px)!important}
  .pub-p5-title-2{font-size:var(--hero-title2-size-tablet,48px)!important}
  .pub-p5-hero-copy p{font-size:var(--hero-subtitle-size-tablet,14px)!important}


  .pub-p5-sector>span{
    left:var(--sector-left-tablet,12px)!important;
    right:var(--sector-right-tablet,12px)!important;
    top:var(--sector-top-tablet,auto)!important;
    bottom:var(--sector-bottom-tablet,12px)!important;
    transform:var(--sector-transform-tablet,none)!important;
    text-align:var(--sector-align-tablet,left)!important;
    max-width:calc(100% - 24px)!important;
  }
  .pub-p5-sector b{font-size:var(--sector-title-size-tablet,16px)!important}
  .pub-p5-sector small{font-size:var(--sector-subtitle-size-tablet,10px)!important}
}

@media(max-width:560px){
  .pub-p5-hero-content::after{height:var(--search-height-phone,48px)}
  .pub-p5-hero{
    background:
      linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.48)),
      var(--pub-p5-hero-image,url('/assets/img/home-propuesta-5/vehiculos.jpg')) var(--pub-p5-hero-bg-pos,center center)/cover no-repeat!important;
  }
  .pub-p5-hero-content{
    left:var(--hero-left-phone,0)!important;
    right:var(--hero-right-phone,auto)!important;
    top:var(--hero-top-phone,auto)!important;
    bottom:var(--hero-bottom-phone,0)!important;
    transform:var(--hero-transform-phone,none)!important;
    text-align:var(--hero-align-phone,left)!important;
    width:calc(100% - 28px)!important;
    max-width:calc(100% - 28px)!important;
  }
  .pub-p5-eyebrow{font-size:var(--hero-eyebrow-size-phone,10px)!important}
  .pub-p5-title-1{font-size:var(--hero-title1-size-phone,34px)!important}
  .pub-p5-title-2{font-size:var(--hero-title2-size-phone,34px)!important}
  .pub-p5-hero-copy p{font-size:var(--hero-subtitle-size-phone,12px)!important}


  .pub-p5-sector>span{
    left:var(--sector-left-phone,9px)!important;
    right:var(--sector-right-phone,9px)!important;
    top:var(--sector-top-phone,auto)!important;
    bottom:var(--sector-bottom-phone,9px)!important;
    transform:var(--sector-transform-phone,none)!important;
    text-align:var(--sector-align-phone,left)!important;
    max-width:calc(100% - 18px)!important;
  }
  .pub-p5-sector b{font-size:var(--sector-title-size-phone,12px)!important}
  .pub-p5-sector small{font-size:var(--sector-subtitle-size-phone,9px)!important}
}


/* PUBLICAR v0.6.275-R85 — FIX POSICIÓN DE TEXTOS */
.pub-p5-hero-content{
  inset:0!important;
  left:0!important;right:0!important;top:0!important;bottom:0!important;
  transform:none!important;
  width:100%!important;max-width:none!important;
  padding:30px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:var(--hero-v-web,flex-end)!important;
  align-items:var(--hero-h-web,flex-start)!important;
  text-align:var(--hero-text-web,left)!important;
  pointer-events:none!important;
}
.pub-p5-hero-copy{
  width:min(760px,100%)!important;
  max-width:100%!important;
  text-align:inherit!important;
  pointer-events:auto!important;
}
.pub-p5-hero-content .pub-p5-search{
  align-self:var(--search-self-web,flex-start)!important;
  margin:0!important;
  pointer-events:auto!important;
}

.pub-p5-sector>span{
  inset:0!important;
  left:0!important;right:0!important;top:0!important;bottom:0!important;
  transform:none!important;
  width:100%!important;max-width:none!important;
  padding:16px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:var(--sector-v-web,flex-end)!important;
  align-items:var(--sector-h-web,flex-start)!important;
  text-align:var(--sector-text-web,left)!important;
}
.pub-p5-sector>span>b,.pub-p5-sector>span>small{
  width:auto!important;max-width:100%!important;text-align:inherit!important;
}

@media(min-width:561px) and (max-width:980px){
  .pub-p5-hero-content{
    padding:24px!important;
    justify-content:var(--hero-v-tablet,flex-end)!important;
    align-items:var(--hero-h-tablet,flex-start)!important;
    text-align:var(--hero-text-tablet,left)!important;
  }
  .pub-p5-hero-content .pub-p5-search{
    align-self:var(--search-self-tablet,flex-start)!important;
    margin:0!important;
  }
  .pub-p5-sector>span{
    padding:12px!important;
    justify-content:var(--sector-v-tablet,flex-end)!important;
    align-items:var(--sector-h-tablet,flex-start)!important;
    text-align:var(--sector-text-tablet,left)!important;
  }
}
@media(max-width:560px){
  .pub-p5-hero-content{
    padding:18px 14px!important;
    justify-content:var(--hero-v-phone,flex-end)!important;
    align-items:var(--hero-h-phone,flex-start)!important;
    text-align:var(--hero-text-phone,left)!important;
  }
  .pub-p5-hero-content .pub-p5-search{
    align-self:var(--search-self-phone,flex-start)!important;
    margin:0!important;
  }
  .pub-p5-sector>span{
    padding:9px!important;
    justify-content:var(--sector-v-phone,flex-end)!important;
    align-items:var(--sector-h-phone,flex-start)!important;
    text-align:var(--sector-text-phone,left)!important;
  }
}


/* PUBLICAR v0.6.275-R86 — SEPARACIÓN DEL TEXTO RESPECTO DE LOS BORDES
   Control editable desde HOME GENERAL. */
.pub-p5-hero-content{
  padding:
    var(--hero-edge-y-web,30px)
    var(--hero-edge-x-web,30px)!important;
}
.pub-p5-sector>span{
  padding:
    var(--sector-edge-y-web,16px)
    var(--sector-edge-x-web,16px)!important;
}

@media(min-width:561px) and (max-width:980px){
  .pub-p5-hero-content{
    padding:
      var(--hero-edge-y-tablet,24px)
      var(--hero-edge-x-tablet,24px)!important;
  }
  .pub-p5-sector>span{
    padding:
      var(--sector-edge-y-tablet,12px)
      var(--sector-edge-x-tablet,12px)!important;
  }
}

@media(max-width:560px){
  .pub-p5-hero-content{
    padding:
      var(--hero-edge-y-phone,18px)
      var(--hero-edge-x-phone,14px)!important;
  }
  .pub-p5-sector>span{
    padding:
      var(--sector-edge-y-phone,9px)
      var(--sector-edge-x-phone,9px)!important;
  }
}


/* PUBLICAR v0.6.275-R87 — RESTAURA BUSCADOR WEB/TABLET + LUPA INDEPENDIENTE */

/* CAUSA corregida:
   R84/R85 convirtió el contenido del hero en overlay absoluto.
   Con títulos grandes, el bloque superaba la altura fija del hero y,
   como el hero tiene overflow:hidden, el buscador quedaba recortado.
   Desde R87 el contenido vuelve a participar en la altura real del hero. */
.pub-p5-hero{
  padding:0!important;
  height:auto!important;
  overflow:hidden!important;
}
.pub-p5-hero-content{
  position:relative!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:none!important;
  min-height:255px!important;
  height:auto!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:var(--hero-v-web,flex-end)!important;
  align-items:var(--hero-h-web,flex-start)!important;
  text-align:var(--hero-text-web,left)!important;
}
.pub-p5-hero-copy{
  flex:0 0 auto!important;
}
.pub-p5-hero-content .pub-p5-search{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 0 auto!important;
  min-height:var(--search-height-web,54px)!important;
  align-self:var(--search-self-web,flex-start)!important;
  margin:0!important;
  position:relative!important;
  z-index:4!important;
}

/* Lupa superior: buscador propio, independiente del buscador del hero. */
.pub-header-search-tray[hidden]{
  display:none!important;
}
.pub-header-search-tray{
  width:100%!important;
  box-sizing:border-box!important;
  padding:10px 0 12px!important;
  border-top:1px solid rgba(255,255,255,.12)!important;
  background:#050505!important;
  position:relative!important;
  z-index:80!important;
}
.pub-header-search-tray form{
  display:grid!important;
  grid-template-columns:minmax(260px,1.4fr) minmax(180px,.7fr) minmax(210px,.8fr) 130px!important;
  gap:8px!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.pub-header-search-tray input,
.pub-header-search-tray select{
  width:100%!important;
  min-width:0!important;
  height:46px!important;
  box-sizing:border-box!important;
  border:1px solid #d7dce2!important;
  border-radius:9px!important;
  padding:0 12px!important;
  background:#000!important;
  color:#fff!important;
  -webkit-text-fill-color:#111!important;
  font-size:14px!important;
  font-weight:600!important;
  outline:none!important;
}
.pub-header-search-tray input::placeholder{
  color:#5f6670!important;
  opacity:1!important;
}
.pub-header-search-tray button{
  height:46px!important;
  border:0!important;
  border-radius:9px!important;
  background:#ffc400!important;
  color:#111!important;
  font-size:13px!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.pub-header-search-toggle[aria-expanded="true"]{
  color:#fff!important;
}

@media(min-width:561px) and (max-width:980px){
  .pub-p5-hero-content{
    min-height:225px!important;
  }
  .pub-p5-hero-content .pub-p5-search{
    display:grid!important;
    min-height:var(--search-height-tablet,52px)!important;
    align-self:var(--search-self-tablet,flex-start)!important;
  }
  .pub-header-search-tray form{
    grid-template-columns:minmax(0,1.25fr) minmax(170px,.7fr) minmax(190px,.8fr) 110px!important;
  }
  .pub-header-search-tray input,
  .pub-header-search-tray select,
  .pub-header-search-tray button{
    height:44px!important;
  }
}

@media(max-width:700px){
  .pub-header-search-tray form{
    grid-template-columns:1fr 1fr!important;
  }
  .pub-header-search-tray .pub-header-search-q{
    grid-column:1/-1!important;
  }
  .pub-header-search-tray button{
    min-width:0!important;
  }
}

@media(max-width:560px){
  .pub-p5-hero-content{
    min-height:220px!important;
  }
  .pub-p5-hero-content .pub-p5-search{
    display:grid!important;
    min-height:var(--search-height-phone,48px)!important;
    align-self:var(--search-self-phone,flex-start)!important;
  }
  .pub-header-search-tray form{
    grid-template-columns:1fr!important;
  }
  .pub-header-search-tray .pub-header-search-q{
    grid-column:auto!important;
  }
}


/* PUBLICAR v0.6.275-R88 — GUÍA DEL CONDUCTOR DEFINITIVA
   Reglas solicitadas:
   - sin "EN ESTA PORTADA";
   - sin texto auxiliar;
   - categorías base protegidas;
   - botonera SIEMPRE en 2 filas;
   - flechas izquierda/derecha siempre visibles;
   - contenido cambia dentro del mismo HOME. */

#guia-conductor-home .pub-guide-head-r88{
  margin-bottom:8px!important;
}
#guia-conductor-home .pub-guide-head-r88 h2{
  margin:0!important;
}
#guia-conductor-home .pub-guide-head-r88 p,
#guia-conductor-home .pub-guide-kicker,
#guia-conductor-home [data-guide-kicker]{
  display:none!important;
}

#guia-conductor-home .pub-guide-tabs-shell{
  position:relative!important;
  display:grid!important;
  grid-template-columns:26px minmax(0,1fr) 26px!important;
  align-items:center!important;
  gap:3px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}

#guia-conductor-home .pub-guide-inline-tabs{
  display:grid!important;
  grid-template-rows:repeat(2,38px)!important;
  grid-auto-flow:column!important;
  grid-auto-columns:minmax(180px,max-content)!important;
  gap:7px 8px!important;
  width:100%!important;
  min-width:0!important;
  padding:2px 0 8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-behavior:smooth!important;
  scroll-snap-type:x proximity!important;
  scrollbar-width:none!important;
}
#guia-conductor-home .pub-guide-inline-tabs::-webkit-scrollbar{
  display:none!important;
}
#guia-conductor-home .pub-guide-inline-tab{
  min-width:180px!important;
  width:auto!important;
  height:38px!important;
  margin:0!important;
  padding:0 14px!important;
  white-space:nowrap!important;
  scroll-snap-align:start!important;
}

#guia-conductor-home .pub-guide-tabs-arrow{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  display:grid!important;
  place-items:center!important;
  width:26px!important;
  min-width:26px!important;
  height:83px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#111!important;
  opacity:1!important;
  visibility:visible!important;
  z-index:10!important;
  cursor:pointer!important;
}
#guia-conductor-home .pub-guide-tabs-arrow svg{
  width:20px!important;
  height:20px!important;
}
#guia-conductor-home .pub-guide-tabs-arrow.is-left{
  left:auto!important;
}
#guia-conductor-home .pub-guide-tabs-arrow.is-right{
  right:auto!important;
}

/* Los recursos y botones del componente completo vuelven a estar disponibles. */
#guia-conductor-home .pub-guide-inline-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
#guia-conductor-home .pub-guide-inline-card{
  display:grid!important;
}
#guia-conductor-home .pub-guide-inline-copy a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:30px!important;
  visibility:visible!important;
  opacity:1!important;
}

/* Entidades oficiales preestablecidas. */
#guia-conductor-home .pub-guide-official-quick{
  display:block!important;
  visibility:visible!important;
}
#guia-conductor-home .pub-guide-official-links{
  display:flex!important;
}

/* Tablet: mantiene DOS filas. */
@media(max-width:900px){
  #guia-conductor-home .pub-guide-tabs-shell{
    grid-template-columns:24px minmax(0,1fr) 24px!important;
  }
  #guia-conductor-home .pub-guide-inline-tabs{
    grid-template-rows:repeat(2,37px)!important;
    grid-auto-columns:minmax(165px,max-content)!important;
    gap:6px 7px!important;
  }
  #guia-conductor-home .pub-guide-inline-tab{
    min-width:165px!important;
    height:37px!important;
    font-size:12px!important;
  }
  #guia-conductor-home .pub-guide-tabs-arrow{
    width:24px!important;
    min-width:24px!important;
    height:80px!important;
  }
  #guia-conductor-home .pub-guide-inline-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Phone: también DOS filas; nunca vuelve a 3. */
@media(max-width:560px){
  #guia-conductor-home .pub-guide-tabs-shell{
    grid-template-columns:22px minmax(0,1fr) 22px!important;
    gap:2px!important;
  }
  #guia-conductor-home .pub-guide-inline-tabs{
    grid-template-rows:repeat(2,35px)!important;
    grid-auto-columns:minmax(145px,max-content)!important;
    gap:5px 6px!important;
    padding-bottom:6px!important;
  }
  #guia-conductor-home .pub-guide-inline-tab{
    min-width:145px!important;
    height:35px!important;
    padding:0 10px!important;
    font-size:11px!important;
  }
  #guia-conductor-home .pub-guide-tabs-arrow{
    width:22px!important;
    min-width:22px!important;
    height:75px!important;
  }
  #guia-conductor-home .pub-guide-tabs-arrow svg{
    width:18px!important;
    height:18px!important;
  }
  #guia-conductor-home .pub-guide-inline-grid{
    grid-template-columns:1fr!important;
  }
}


/* PUBLICAR v0.6.275-R93 — MULTISLIDER PUBLICITARIO DE CABECERA */
.pub-p5-hero-slider{
  position:relative!important;
  isolation:isolate!important;
  background:#06080b!important;
}
.pub-p5-hero-slides{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  overflow:hidden!important;
}
.pub-p5-hero-slide{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  opacity:0!important;
  visibility:hidden!important;
  transition:opacity .5s ease,visibility .5s ease!important;
  text-decoration:none!important;
  color:#fff!important;
}
.pub-p5-hero-slide.is-active{
  opacity:1!important;
  visibility:visible!important;
}
.pub-p5-hero-slide img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:var(--pub-p5-hero-bg-pos,center center)!important;
  opacity:var(--hero-image-opacity,1)!important;
}
/* R110: capa de color editable, independiente y sin capturar gestos/clics. */
.pub-p5-hero-slide:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:var(--hero-overlay-color,#000000)!important;
  opacity:var(--hero-overlay-opacity,0)!important;
  pointer-events:none!important;
}
.pub-p5-hero-slide:after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:none!important;
  pointer-events:none!important;
}
.pub-p5-hero-slide-label{
  position:absolute!important;
  z-index:2!important;
  right:18px!important;
  top:16px!important;
  max-width:min(420px,60%)!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:rgba(0,0,0,.72)!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.15!important;
}
.pub-p5-hero-content{
  z-index:3!important;
}
.pub-p5-hero-nav{
  position:absolute!important;
  z-index:6!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:20px!important;
  font-weight:700!important;
  line-height:20px!important;
  cursor:pointer!important;
}
.pub-p5-hero-nav.prev{left:1px!important}
.pub-p5-hero-nav.next{right:1px!important}
.pub-p5-hero-dots{
  position:absolute!important;
  z-index:7!important;
  left:50%!important;
  bottom:8px!important;
  transform:translateX(-50%)!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
}
.pub-p5-hero-dots button{
  width:8px!important;
  height:8px!important;
  min-width:8px!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.25)!important;
  cursor:pointer!important;
}
.pub-p5-hero-dots button.is-active{
  width:20px!important;
  background:#ffc400!important;
  border:0!important;
}
@media(max-width:560px){
  .pub-p5-hero-slide:after{
    background:none!important;
  }
  .pub-p5-hero-nav{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    font-size:20px!important;
    line-height:20px!important;
    background:transparent!important;
  }
  .pub-p5-hero-slide-label{
    right:10px!important;
    top:10px!important;
    max-width:70%!important;
    font-size:9px!important;
  }
}


/* ============================================================
   PUBLICAR v0.6.275-R100
   SLIDER PRINCIPAL: POINTER DRAG + GESTO HORIZONTAL
   ============================================================ */
.pub-p5-hero-slider{
  touch-action:pan-y!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.pub-p5-hero-slide img{
  -webkit-user-drag:none!important;
  user-select:none!important;
}


/* PUBLICAR v0.6.275-R106 — SUBTÍTULO DE CABECERA: SUBIR / BAJAR INDEPENDIENTE
   HOME GENERAL: valor negativo sube; valor positivo baja. */
.pub-p5-hero-copy>p{
  transform:translateY(var(--hero-subtitle-y-web,0px))!important;
}
@media(min-width:561px) and (max-width:980px){
  .pub-p5-hero-copy>p{transform:translateY(var(--hero-subtitle-y-tablet,0px))!important}
}
@media(max-width:560px){
  .pub-p5-hero-copy>p{transform:translateY(var(--hero-subtitle-y-phone,0px))!important}
}

/* ============================================================
   PUBLICAR v0.6.275-R108 — CABECERA: POSICIÓN "ABAJO" REAL
   El buscador ya vive fuera del slider desde R98. La reserva fantasma
   de su antiguo alto mantenía el bloque de textos artificialmente
   elevado. Se elimina SOLO esa reserva para que "abajo" sea el borde
   inferior real del slider y el subtítulo quede junto a los dots.
   ============================================================ */
.pub-p5-hero-content::after{
  display:none!important;
  content:none!important;
  height:0!important;
  min-height:0!important;
  flex:0 0 0!important;
}
.pub-p5-hero-copy>p{
  margin-bottom:0!important;
}

/* ============================================================
   PUBLICAR v0.6.275-R109 — SLIDER PRINCIPAL: INTERACCIÓN RESTAURADA
   Los textos son solo capa visual: no capturan mouse/dedo.
   Flechas y dots permanecen por encima y 100% interactivos.
   Conserva la posición vertical del subtítulo de R108.
   ============================================================ */
.pub-p5-hero-content,
.pub-p5-hero-copy,
.pub-p5-hero-copy > *{
  pointer-events:none!important;
}
.pub-p5-hero-nav,
.pub-p5-hero-dots,
.pub-p5-hero-dots button{
  pointer-events:auto!important;
}
.pub-p5-hero-slider{
  touch-action:pan-y!important;
  cursor:grab;
}
.pub-p5-hero-slider:active{
  cursor:grabbing;
}
.pub-p5-hero-nav,
.pub-p5-hero-dots button{
  cursor:pointer!important;
}


/* ============================================================
   PUBLICAR v0.6.275-R114 — SLIDER PRINCIPAL INDEPENDIENTE
   Formato/proporción seleccionable por Web, Tablet y Phone.
   Solo cuando un formato distinto de AUTO está activo, el contenido
   pasa a overlay para que no fuerce la altura elegida.
   ============================================================ */
@media(min-width:981px){
  .pub-p5-hero-slider.hero-ratio-web-fixed{
    aspect-ratio:var(--hero-ratio-web)!important;
    min-height:0!important;
    height:auto!important;
  }
  .pub-p5-hero-slider.hero-ratio-web-fixed>.pub-p5-hero-content{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;
  }
}
@media(min-width:561px) and (max-width:980px){
  .pub-p5-hero-slider.hero-ratio-tablet-fixed{
    aspect-ratio:var(--hero-ratio-tablet)!important;
    min-height:0!important;
    height:auto!important;
  }
  .pub-p5-hero-slider.hero-ratio-tablet-fixed>.pub-p5-hero-content{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;
  }
}
@media(max-width:560px){
  .pub-p5-hero-slider.hero-ratio-phone-fixed{
    aspect-ratio:var(--hero-ratio-phone)!important;
    min-height:0!important;
    height:auto!important;
  }
  .pub-p5-hero-slider.hero-ratio-phone-fixed>.pub-p5-hero-content{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;
  }
}


/* ============================================================
   PUBLICAR v0.6.275-R115 — TEXTO LEGIBLE + FLECHAS EXACTAS 20PX
   ============================================================ */
.pub-p5-hero-copy{
  text-shadow:var(--hero-shadow-x,0px) var(--hero-shadow-y,2px) var(--hero-shadow-blur,4px) var(--hero-shadow-color,rgba(0,0,0,.75))!important;
}
.pub-p5-hero-nav{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  font-size:20px!important;
  line-height:20px!important;
  padding:0!important;
}
@media(max-width:560px){
  .pub-p5-hero-nav{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;font-size:20px!important;line-height:20px!important}
}

/* ============================================================
   PUBLICAR v0.6.275-R117 — TARJETAS DE SECTOR COMO SLIDERS
   Cada sector conserva su tamaño, texto, enlace y posición.
   Solo la fotografía cambia de forma independiente.
   ============================================================ */
.pub-p5-sector{
  touch-action:pan-y!important;
}
.pub-p5-sector-media{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  overflow:hidden!important;
  border-radius:inherit!important;
  pointer-events:none!important;
}
.pub-p5-sector-media .pub-p5-sector-slide{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:var(--sector-image-position,center center)!important;
  opacity:0!important;
  visibility:hidden!important;
  transform:scale(1.005)!important;
  transition:opacity .55s ease,visibility .55s ease,transform .35s ease!important;
  pointer-events:none!important;
  -webkit-user-drag:none!important;
  user-select:none!important;
}
.pub-p5-sector-media .pub-p5-sector-slide.is-active{
  opacity:1!important;
  visibility:visible!important;
}
.pub-p5-sector:hover .pub-p5-sector-media .pub-p5-sector-slide.is-active{
  transform:scale(1.035)!important;
}


/* ============================================================
   PUBLICAR v0.6.275-R118 — FLECHAS CABECERA SVG 20PX REALES
   Se reemplaza el glifo tipográfico por chevron SVG para que la
   flecha visible mida realmente 20px y no dependa de la fuente.
   ============================================================ */
.pub-p5-hero-nav{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  min-height:20px!important;
  max-height:20px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.pub-p5-hero-nav.prev{left:1px!important}
.pub-p5-hero-nav.next{right:1px!important}
.pub-p5-hero-nav svg{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  min-height:20px!important;
  display:block!important;
  fill:none!important;
  stroke:#fff!important;
  color:#fff!important;
  stroke-width:2.4!important;
}
@media(max-width:560px){
  .pub-p5-hero-nav,.pub-p5-hero-nav svg{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important}
}

/* ============================================================
   PUBLICAR v0.6.275-R122 — ¿QUÉ NECESITAS HOY? MULTISECTOR
   Primero sectores visibles; luego título centrado.
   Se agrega Acuáticos. Web 7x5. Tablet/Phone mantienen matriz.
   ============================================================ */
.pub-home-p5 .pub-home-aid{
  position:relative!important;
  overflow:visible!important;
  background:#fff!important;
  padding:18px 12px 16px!important;
  box-sizing:border-box!important;
}
.pub-home-aid-tabs-wrap{margin:0 0 10px!important}
.pub-home-aid-head{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin:20px 0 15px!important
}

.pub-home-aid-head h2{margin:0!important;padding:10px 0!important;font-size:20px!important;line-height:1.05!important;font-weight:900!important;color:#111!important}
.pub-home-aid-tabs{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:6px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
.pub-home-aid-tabs > *{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  border:1px solid #000!important;
  border-radius:9px!important;
  background:#000!important;
  color:#fff!important;
  text-decoration:none!important;
  padding:10px 12px!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.08!important;
  cursor:pointer!important;
  white-space:normal!important;
  text-wrap:balance!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  min-height:44px!important;
}
.pub-home-aid-tabs > *.is-active{background:#ffc400!important;border-color:#ffc400!important;color:#111!important}
.pub-home-aid-panel[hidden]{display:none!important}
.pub-home-aid-panel.is-active{display:block!important}
.pub-home-aid-panel{position:relative!important;margin-left:-12px!important;margin-right:-12px!important}
.pub-home-aid-set{position:relative!important;width:100%!important;overflow:visible!important}
.pub-home-aid-set.is-tablet,.pub-home-aid-set.is-phone{display:none!important}
.pub-home-aid-track{display:flex!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important;touch-action:pan-y!important;user-select:none!important;-webkit-user-select:none!important;cursor:grab!important}
.pub-home-aid-track:active{cursor:grabbing!important}
.pub-home-aid-track::-webkit-scrollbar{display:none!important}
.pub-home-aid-page{flex:0 0 100%!important;width:100%!important;min-width:100%!important;scroll-snap-align:start!important;box-sizing:border-box!important;padding:0 6px!important}
.pub-home-aid-grid{display:grid!important;grid-template-columns:repeat(var(--aid-cols),minmax(0,1fr))!important;grid-template-rows:repeat(var(--aid-rows),minmax(0,auto))!important;gap:6px!important;width:100%!important;box-sizing:border-box!important}
.pub-home-aid-button{min-width:0!important;min-height:88px!important;border:1px solid #d1d5db!important;border-radius:10px!important;background:#fff!important;color:#111!important;text-decoration:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important;padding:7px 4px 6px!important;box-sizing:border-box!important;overflow:hidden!important}
.pub-home-aid-button:hover{border-color:#ffc400!important;box-shadow:0 4px 12px rgba(0,0,0,.06)!important}
.pub-home-aid-icon{height:29px!important;min-height:29px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 0 4px!important;background:transparent!important;border:0!important}
.pub-home-aid-icon svg{display:block!important;width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important;stroke:#111!important;fill:none}
.pub-home-aid-button strong{display:block!important;width:100%!important;margin:0!important;position:relative!important;top:-1px!important;font-size:13px!important;font-weight:900!important;line-height:1.12!important;overflow-wrap:anywhere!important}
.pub-home-aid-button small{display:block!important;width:100%!important;margin:3px 0 0!important;font-size:12px!important;font-weight:500!important;line-height:1.12!important;color:#5c6470!important;overflow-wrap:anywhere!important}
.pub-home-aid-arrow{position:absolute!important;z-index:8!important;top:50%!important;transform:translateY(-50%)!important;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#111!important;display:grid!important;place-items:center!important;cursor:pointer!important}
.pub-home-aid-arrow.is-left{left:1px!important;right:auto!important}
.pub-home-aid-arrow.is-right{right:1px!important;left:auto!important}
.pub-home-aid-arrow svg{width:20px!important;height:20px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
@media(min-width:981px){
  .pub-home-aid-set.is-web{display:block!important}
  .pub-home-aid-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;grid-template-rows:repeat(7,minmax(0,auto))!important}
}
@media(min-width:561px) and (max-width:980px){
  .pub-home-aid-set.is-web,.pub-home-aid-set.is-phone{display:none!important}
  .pub-home-aid-set.is-tablet{display:block!important}
  .pub-home-aid-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .pub-home-aid-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-rows:repeat(7,minmax(0,auto))!important}
  .pub-home-aid-page{padding-left:6px!important;padding-right:6px!important}
}
@media(max-width:560px){
  .pub-home-p5 .pub-home-aid{padding:14px 8px 12px!important}
  .pub-home-aid-panel{margin-left:-8px!important;margin-right:-8px!important}
  .pub-home-aid-tabs-wrap{margin-bottom:10px!important}
  .pub-home-aid-head h2{font-size:18px!important}
  .pub-home-aid-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
  .pub-home-aid-tabs > *{padding:8px 7px!important;font-size:11px!important;min-height:42px!important}
  .pub-home-aid-set.is-web,.pub-home-aid-set.is-tablet{display:none!important}
  .pub-home-aid-set.is-phone{display:block!important}
  .pub-home-aid-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(7,minmax(0,auto))!important;gap:6px!important}
  .pub-home-aid-page{padding-left:6px!important;padding-right:6px!important}
  .pub-home-aid-button{min-height:86px!important;padding:6px 2px!important}
  .pub-home-aid-button strong{font-size:13px!important}
  .pub-home-aid-button small{font-size:12px!important}
  .pub-home-aid-icon svg{width:23px!important;height:23px!important}
}



