/* Profesionales V2 · autoridad visual exclusiva de la portada /profesionales/. */
.jc-profesionales-shell-v2{
  padding-top:var(--jc-v2-gutter)!important;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-identity{
  order:1;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead{
  order:2;
  grid-column:2;
  display:grid!important;
  grid-template-rows:minmax(0,48%) minmax(0,52%);
  width:100%;
  height:var(--jc-v2-lead-height)!important;
  min-width:0;
  margin:0;
  overflow:hidden;
  border-radius:var(--jc-v2-radius)!important;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__image{
  width:100%;
  height:100%;
  min-height:0;
  aspect-ratio:auto;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__image>img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__image>.jc-publication-placeholder{
  width:100%;
  height:100%;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__image>.jc-publication-placeholder img{
  width:min(72%,150px);
  height:auto;
  max-height:54%;
  object-fit:contain;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__copy{
  display:flex;
  min-width:0;
  min-height:0;
  flex-direction:column;
  padding:4px 6px 5px;
  overflow:hidden;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__copy small{
  overflow:hidden;
  color:#697582;
  font-size:clamp(7px,1.9vw,9.5px);
  line-height:1.1;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__copy h3{
  min-height:0;
  margin:2px 0;
  font-size:clamp(9.5px,2.7vw,13px);
  line-height:1.08;
  -webkit-line-clamp:2;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__copy p{
  display:none!important;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__copy>strong{
  overflow:hidden;
  margin:0 0 2px;
  font-size:clamp(8px,2.1vw,10.5px);
  line-height:1.1;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__more{
  overflow:hidden;
  margin-top:auto;
  font-size:clamp(7.5px,2vw,10px);
  line-height:1.1;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-empty{
  order:2;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-ad{
  order:3;
  grid-column:1/-1;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-ad>.jcb-container{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-note{
  order:4;
  grid-column:1/-1;
  width:100%;
  min-width:0;
  margin:0;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-listing{
  order:5;
  grid-column:1/-1;
  width:100%;
  min-width:0;
  margin:0;
  padding:clamp(12px,3vw,20px);
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(8px,2vw,12px)!important;
  width:100%;
  min-width:0;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-grid .jc-profesionales-v2-card{
  min-width:0;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-publish-cta{
  order:6;
  grid-column:1/-1;
  width:100%;
  min-width:0;
  margin:0!important;
}

.jc-profesionales-shell-v2 .jc-profesionales-v2-sofi{
  order:7;
  grid-column:1/-1;
  width:100%;
  min-width:0;
  height:auto;
  margin:0!important;
}

.jc-profesionales-shell-v2 a:focus-visible,
.jc-profesionales-shell-v2 button:focus-visible,
.jc-profesionales-shell-v2 input:focus-visible{
  outline:3px solid #f5a24e;
  outline-offset:2px;
}

@media (min-width:701px) and (max-width:900px){
  .jc-profesionales-shell-v2 .jc-profesionales-v2-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

@media (min-width:901px){
  .jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead{
    grid-column:7/span 6;
    grid-template-rows:minmax(0,58%) minmax(0,42%);
    border-radius:24px!important;
  }

  .jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__copy{
    padding:10px 12px 12px;
  }

  .jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__copy small{
    font-size:10.5px;
  }

  .jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__copy h3{
    margin:4px 0 5px;
    font-size:17px;
    line-height:1.15;
  }

  .jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__copy p{
    display:-webkit-box!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    min-height:0;
    margin:0 0 6px;
    overflow:hidden;
    font-size:12px;
    line-height:1.35;
  }

  .jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__copy>strong{
    margin-bottom:5px;
    font-size:13px;
  }

  .jc-profesionales-shell-v2 .jc-profesionales-v2-card--lead .jc-router-card__more{
    font-size:12px;
  }

  .jc-profesionales-shell-v2 .jc-profesionales-v2-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

@media (min-width:1101px){
  .jc-profesionales-shell-v2 .jc-profesionales-v2-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
}
