/* =========================================================
   MILSET NEWS 2026 — adaptación fiel del Service 09
========================================================= */
.milset-news-2026{
  position:relative;
  overflow:visible;
  isolation:isolate;
  background:#fff;
  padding-top:105px;
  padding-bottom:150px;
}

.milset-news-2026 .container{
  position:relative;
}

/* El heading forma parte de la sección y conserva aire antes del grid. */
.milset-news-2026 > .container > .pbmit-heading-subheading{
  margin-bottom:52px;
}

/* ---------------------------------------------------------
   STICKY
   El template aplica el sticky sobre la columna. Para MILSET
   lo movemos al bloque interno: queda a una distancia cómoda
   del header y se libera al terminar la altura de la columna.
--------------------------------------------------------- */
@media (min-width:1200px){
  .milset-news-2026 .milset-news-featured-col{
    position:relative !important;
    align-self:stretch !important;
    z-index:2;
  }

  .milset-news-2026 .service-nine-left-box{
    position:-webkit-sticky !important;
    position:sticky !important;
    top:120px !important;
    bottom:auto !important;
    left:auto !important;
    right:auto !important;
    margin:0 !important;
    z-index:5;
    transform:none !important;
    translate:none !important;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    will-change:auto;
  }
}

/* ---------------------------------------------------------
   IMÁGENES
--------------------------------------------------------- */
.milset-news-2026 .milset-news-bg{
  display:block;
  position:relative;
  width:100%;
  overflow:hidden;
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
}

/* Proporción visual 595x695 sin dejar que la pantalla la vuelva excesiva. */
.milset-news-2026 .milset-news-bg-main{
  height:clamp(575px, 72vh, 735px);
  border-radius:28px;
}

/* Tarjetas de la derecha: misma altura visual entre ellas. */
.milset-news-2026 .milset-news-bg-card{
  height:420px;
}

/* Máscara inferior común para principal y secundarias. */
.milset-news-2026 .milset-news-bg::after{
  content:"";
  position:absolute;
  z-index:1;
  left:0;
  right:0;
  bottom:0;
  height:58%;
  pointer-events:none;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.18) 30%,
    rgba(0,0,0,.78) 100%
  );
}

/* ---------------------------------------------------------
   PRINCIPAL
--------------------------------------------------------- */
.milset-news-2026 .milset-featured-card{
  position:relative;
}

.milset-news-2026 .milset-featured-mobile{
  display:none;
}

.milset-news-2026 .milset-featured-link{
  display:block;
  text-decoration:none;
}

.milset-news-2026 .milset-featured-content{
  position:absolute;
  z-index:3;
  left:34px;
  right:72px;
  bottom:34px;
  color:#fff;
  pointer-events:none;
}

.milset-news-2026 .milset-featured-date{
  display:block;
  margin-bottom:10px;
  color:#fff;
  font-size:12px;
  line-height:1.2;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.7px;
}

.milset-news-2026 .milset-featured-title{
  margin:0 0 12px;
  color:#fff !important;
  font-size:27px !important;
  line-height:1.08 !important;
  font-weight:700;
  letter-spacing:-.35px;
  max-width:520px;
}

.milset-news-2026 .milset-featured-title a,
.milset-news-2026 .milset-featured-title a:hover,
.milset-news-2026 .milset-featured-title a:focus{
  color:#fff !important;
  text-decoration:none;
}

.milset-news-2026 .milset-featured-by{
  margin:0;
  color:rgba(255,255,255,.94);
  font-size:12.5px;
  line-height:1.35;
  font-weight:650;
  text-transform:uppercase;
  letter-spacing:.42px;
}

/* Hover de la noticia principal: mismo lenguaje visual que las pequeñas. */
.milset-news-2026 .milset-featured-card .milset-news-bg-main::before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  background:rgba(0,0,0,0);
  transition:background .35s ease;
  pointer-events:none;
}

.milset-news-2026 .milset-featured-card:hover .milset-news-bg-main::before{
  background:rgba(0,0,0,.12);
}

.milset-news-2026 .milset-featured-content{
  transition:transform .35s ease;
}

.milset-news-2026 .milset-featured-card:hover .milset-featured-content{
  transform:translateY(-8px);
}

/* Flecha inferior derecha de la principal, igual al lenguaje de las tarjetas. */
.milset-news-2026 .milset-featured-arrow{
  position:absolute;
  z-index:5;
  right:26px;
  bottom:25px;
  width:auto;
  height:auto;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  transition:transform .35s ease, opacity .35s ease;
}

.milset-news-2026 .milset-featured-arrow i{
  color:#fff;
  font-size:24px;
  font-weight:900;
  line-height:1;
  text-shadow:0 1px 8px rgba(0,0,0,.22);
}

.milset-news-2026 .milset-featured-card:hover .milset-featured-arrow{
  transform:translate(4px,-4px);
}

/* ---------------------------------------------------------
   TARJETAS DERECHA
--------------------------------------------------------- */
.milset-news-2026 .pbmit-service-style-7 .pbminfotech-post-item,
.milset-news-2026 .pbmit-service-style-7 .pbminfotech-box-content{
  position:relative;
}

.milset-news-2026 .pbmit-service-image-wrapper,
.milset-news-2026 .pbmit-featured-img-wrapper,
.milset-news-2026 .pbmit-featured-wrapper{
  width:100%;
}

.milset-news-2026 .pbmit-service-style-7 .pbmit-content-box{
  z-index:4;
}

/* Fecha siempre visible encima del título en las tarjetas pequeñas. */
.milset-news-2026 .pbmit-service-style-7 .pbmit-serv-cat{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  margin:0 0 8px 0 !important;
  padding:0 !important;
  height:auto !important;
  line-height:1 !important;
}

.milset-news-2026 .pbmit-service-style-7 .pbmit-serv-cat a{
  display:inline-block !important;
  visibility:visible !important;
  opacity:1 !important;
  font-size:11px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  letter-spacing:.55px;
  text-transform:uppercase;
}


/* El contenido de la tarjeta siempre blanco, incluso en hover. */
.milset-news-2026 .pbmit-service-style-7 .pbmit-serv-cat a,
.milset-news-2026 .pbmit-service-style-7 .pbmit-service-title,
.milset-news-2026 .pbmit-service-style-7 .pbmit-service-title a,
.milset-news-2026 .pbmit-service-style-7 .pbmit-service-description,
.milset-news-2026 .pbmit-service-style-7 .pbmit-service-description p,
.milset-news-2026 .pbmit-service-style-7:hover .pbmit-serv-cat a,
.milset-news-2026 .pbmit-service-style-7:hover .pbmit-service-title,
.milset-news-2026 .pbmit-service-style-7:hover .pbmit-service-title a,
.milset-news-2026 .pbmit-service-style-7:hover .pbmit-service-description,
.milset-news-2026 .pbmit-service-style-7:hover .pbmit-service-description p{
  color:#fff !important;
}

.milset-news-2026 .pbmit-service-style-7 .pbmit-service-title,
.milset-news-2026 .pbmit-service-style-7 .pbmit-service-title a{
  font-size:19px !important;
  line-height:1.1 !important;
  letter-spacing:-.2px;
}

/* BY más discreto para no competir con el título. */
.milset-news-2026 .pbmit-service-style-7 .pbmit-service-description{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  margin-top:9px !important;
}

.milset-news-2026 .pbmit-service-style-7 .pbmit-service-description p{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  margin:0 !important;
  font-size:11.5px !important;
  line-height:1.3 !important;
  font-weight:600 !important;
  text-transform:uppercase;
  letter-spacing:.35px;
}

/* Mantener el círculo blanco del template también al pasar el mouse. */
.milset-news-2026 .pbmit-service-style-7 .pbmit-service-btn,
.milset-news-2026 .pbmit-service-style-7:hover .pbmit-service-btn{
  background:#fff !important;
  border-color:#fff !important;
}

.milset-news-2026 .pbmit-service-style-7 .pbmit-service-btn i,
.milset-news-2026 .pbmit-service-style-7:hover .pbmit-service-btn i{
  color:#3e0066 !important;
}

/* El área estructural y el recorte de la flecha permanecen siempre limpios.
   El hover visual se aplica EXCLUSIVAMENTE sobre la fotografía. */
.milset-news-2026 .pbmit-service-style-7,
.milset-news-2026 .pbmit-service-style-7:hover,
.milset-news-2026 .pbmit-service-style-7 .pbminfotech-post-item,
.milset-news-2026 .pbmit-service-style-7:hover .pbminfotech-post-item,
.milset-news-2026 .pbmit-service-style-7 .pbminfotech-box-content,
.milset-news-2026 .pbmit-service-style-7:hover .pbminfotech-box-content,
.milset-news-2026 .pbmit-service-style-7 .pbmit-service-image-wrapper,
.milset-news-2026 .pbmit-service-style-7:hover .pbmit-service-image-wrapper{
  background-color:transparent !important;
  background-image:none !important;
}

/* Algunos estilos del template pintan pseudo-elementos durante hover;
   se neutralizan sin tocar la máscara de la propia imagen. */
.milset-news-2026 .pbmit-service-style-7 .pbminfotech-post-item::before,
.milset-news-2026 .pbmit-service-style-7 .pbminfotech-post-item::after,
.milset-news-2026 .pbmit-service-style-7:hover .pbminfotech-post-item::before,
.milset-news-2026 .pbmit-service-style-7:hover .pbminfotech-post-item::after{
  background-color:transparent !important;
}

/* La zona blanca alrededor de la flecha conserva su aspecto original. */
.milset-news-2026 .pbmit-service-style-7 .pbmit-service-btn,
.milset-news-2026 .pbmit-service-style-7:hover .pbmit-service-btn{
  opacity:1 !important;
  filter:none !important;
  box-shadow:none !important;
}

/* El hover oscurece sutilmente la foto; nunca colorea la tarjeta de morado. */
.milset-news-2026 .pbmit-service-style-7 .milset-news-bg-card::before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  background:transparent !important;
  transition:none !important;
  pointer-events:none;
}

/*
 * En las tarjetas pequeñas NO se añade oscurecimiento extra al hover.
 * Se conserva únicamente el degradado inferior permanente de .milset-news-bg::after,
 * evitando que el recorte blanco de la flecha se vea gris.
 */
.milset-news-2026 .pbmit-service-style-7:hover .milset-news-bg-card::before{
  background:transparent !important;
}

/* Toda la tarjeta funciona como enlace, sin cambiar la estructura visual. */
.milset-news-2026 .pbmit-service-style-7 .milset-news-card-click{
  position:absolute;
  inset:0;
  z-index:8;
  display:block;
  border-radius:inherit;
  text-indent:-9999px;
  overflow:hidden;
}

/* El contenido visual queda por debajo del enlace global pero conserva el hover. */
.milset-news-2026 .pbmit-service-style-7 .pbmit-content-box,
.milset-news-2026 .pbmit-service-style-7 .pbmit-service-btn{
  pointer-events:none;
}

/* Botón final */
.milset-news-2026 .text-end{
  margin-top:28px;
}

/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */
@media (max-width:1199px){
  .milset-news-2026{
    padding-top:85px;
    padding-bottom:105px;
  }

  .milset-news-2026 .service-nine-left-box{
    position:relative !important;
    top:auto !important;
    margin-bottom:60px;
  }

  .milset-news-2026 .milset-news-bg-main{
    height:clamp(500px, 62vh, 620px);
  }

  .milset-news-2026 .milset-news-bg-card{
    height:390px;
  }
}

/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */
@media (max-width:767px){
  .milset-news-2026{
    padding-top:68px;
    padding-bottom:82px;
  }

  /*
   * En celular ocultamos la composición destacada de escritorio y mostramos
   * una tarjeta PBMIT style-7 real, idéntica a las demás noticias.
   */
  .milset-news-2026 .milset-featured-desktop{
    display:none !important;
  }

  .milset-news-2026 .milset-featured-mobile{
    display:block !important;
    width:100%;
    margin:0;
    padding:0;
  }

  .milset-news-2026 .milset-featured-mobile.pbmit-service-style-7{
    width:100%;
    max-width:100%;
  }

  .milset-news-2026 .milset-featured-mobile .pbminfotech-post-item{
    width:100%;
  }

  .milset-news-2026 .milset-featured-mobile .milset-news-bg-card{
    height:410px;
  }

  .milset-news-2026 > .container > .pbmit-heading-subheading{
    margin-bottom:34px;
  }

  .milset-news-2026 .service-nine-left-box{
    margin-bottom:46px;
  }


  .milset-news-2026 .pbmit-service-style-7 .pbmit-service-title,
  .milset-news-2026 .pbmit-service-style-7 .pbmit-service-title a{
    font-size:20px !important;
  }
}

@media (max-width:480px){
  .milset-news-2026 .milset-featured-mobile .milset-news-bg-card,
  .milset-news-2026 .milset-news-bg-card{
    height:370px;
  }
}
/* =========================================================
   MOBILE WIDTH + UNIFORM VERTICAL RHYTHM
   Cards use more of the viewport and featured spacing matches grid.
========================================================= */
@media (max-width:767px){
  .milset-news-2026 > .container{
    width:100% !important;
    max-width:none !important;
    padding-left:18px !important;
    padding-right:18px !important;
  }

  .milset-news-2026 .row{
    --bs-gutter-x:0;
  }

  .milset-news-2026 .milset-news-featured-col,
  .milset-news-2026 .service-nine-right-box,
  .milset-news-2026 .service-nine-right-box > .row,
  .milset-news-2026 .pbmit-service-style-7{
    width:100% !important;
    max-width:100% !important;
  }

  .milset-news-2026 .service-nine-left-box{
    margin-bottom:0 !important;
  }

  .milset-news-2026 .milset-featured-mobile,
  .milset-news-2026 .service-nine-right-box .pbmit-service-style-7{
    margin-bottom:38px !important;
  }

  .milset-news-2026 .pbmit-service-style-7 .pbminfotech-post-item,
  .milset-news-2026 .pbmit-service-style-7 .pbminfotech-box-content,
  .milset-news-2026 .pbmit-service-style-7 .pbmit-service-image-wrapper,
  .milset-news-2026 .pbmit-service-style-7 .pbmit-featured-img-wrapper,
  .milset-news-2026 .pbmit-service-style-7 .pbmit-featured-wrapper{
    width:100% !important;
    max-width:none !important;
  }
}

@media (max-width:480px){
  .milset-news-2026 > .container{
    padding-left:14px !important;
    padding-right:14px !important;
  }
}
