/* Solo afecta a esta cabecera. Las medidas siguen la columna de la guía. */
@media screen {
  html:root body main .pb-portada-despido[data-pb-portada="modelo"] .seo-hero-grid {
    width: min(calc(100% - 32px), 60rem);
    max-width: 60rem;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18.75rem;
    gap: 2rem !important;
    align-items: center;
    text-align: left;
  }
  html:root body main .pb-portada-despido[data-pb-portada="modelo"] h1 {
    max-width: none;
    font-size: clamp(1.65rem, 3.05vw, 1.96rem) !important;
    line-height: 1.16 !important;
    text-wrap: balance;
    margin: .55rem 0 .85rem;
  }
  html:root body main .pb-portada-despido[data-pb-portada="modelo"] .hero-copy {
    margin: 0 !important;
    text-align: left;
    text-wrap: balance;
  }
  html:root body main .pb-portada-despido[data-pb-portada="modelo"] .hero-copy + .hero-copy {
    margin-top: .38rem !important;
  }
  html:root body main .pb-portada-despido[data-pb-portada="modelo"] .hero-copy a {
    color: #fff4df;
    text-decoration: underline;
    text-decoration-color: #dfb47f;
    text-decoration-thickness: 1px;
    text-underline-offset: .23em;
    text-decoration-skip-ink: auto;
  }
  .pb-portada-despido .pb-plazo {
    margin: 0;
    border-inline-start: 1px solid rgba(223,180,127,.68);
    padding: .18rem 0 .18rem 1.8rem;
    color: #e2eaea;
    text-align: left;
    font-size: .9rem;
    line-height: 1.52;
    text-wrap: balance;
  }
  .pb-portada-despido .pb-plazo .pb-rotulo {
    display: block;
    color: #f0ece0;
    font-size: .66rem;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .11em;
    text-transform: uppercase;
  }
  .pb-portada-despido .pb-plazo strong {
    display: block;
    color: #edc38b;
    font: 500 1.9rem/1.1 var(--serif);
    margin: .5rem 0 .22rem;
  }
  .pb-portada-despido .pb-plazo .pb-ir {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    width: fit-content;
    padding: .2rem 0;
    margin: .32rem 0 -.2rem;
    font-size: .84rem;
    line-height: 1.55;
    font-weight: 650;
    color: #f2d1a5;
    text-decoration: none;
  }
  .pb-portada-despido .pb-ir span:first-child {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
  }
  .pb-portada-despido .pb-ir svg { align-self: center; flex-shrink: 0; }
  html:root body main .pb-portada-despido[data-pb-portada="modelo"] a:focus-visible {
    outline: 2px solid #ffe2b6;
    outline-offset: 4px;
    border-radius: 2px;
  }
  html:root body main .pb-portada-despido[data-pb-portada="modelo"] a:is(:hover,:focus-visible) {
    color: #fff;
    text-decoration-color: currentColor;
    text-decoration-thickness: 2px;
  }
  .pb-portada-despido .pb-ir:is(:hover,:focus-visible) span:first-child { text-decoration-thickness: 2px; }
  @media (min-width: 901px) and (max-width: 999px) {
    html:root body main .pb-portada-despido[data-pb-portada="modelo"] .seo-hero-grid {
      width: calc(100% - 32px);
      max-width: none;
    }
  }
  @media (max-width: 900px) {
    html:root body main .pb-portada-despido[data-pb-portada="modelo"] .seo-hero-grid {
      width: min(calc(100% - 28px), 45rem);
      grid-template-columns: minmax(0, 1fr);
      gap: 1.1rem !important;
    }
    .pb-portada-despido .pb-plazo {
      border-inline-start: 0;
      border-top: 1px solid rgba(223,180,127,.56);
      padding: 1rem 0 0;
    }
    .pb-portada-despido .pb-plazo strong { font-size: 1.62rem; margin: .4rem 0 .16rem; }
    .pb-portada-despido .pb-plazo .pb-ir { min-height: 2rem; align-items: center; margin-top: .13rem; }
  }
  @media (max-width: 530px) {
    .pb-portada-despido .hero-copy > span { display: block; }
    html:root body main .pb-portada-despido[data-pb-portada="modelo"] .hero-copy + .hero-copy {
      margin-top: .58rem !important;
    }
  }
}

@media screen {
 html:root body[data-pb-improcedencia-lectura] main#contenido:has([data-pb-portada="modelo"]) article :is(#efectos,#calculo,#oferta,#plazo){scroll-margin-block-start:8px!important}
 html:root body[data-pb-improcedencia][data-pb-improcedencia-lectura] main#contenido .seo-page-hero.pb-portada-despido[data-pb-portada="modelo"] h1{
   font-size:clamp(1.65rem,3.05vw,1.96rem)!important;
   line-height:1.16!important;margin:.55rem 0 .85rem!important;max-width:none!important;
 }
 html:root body[data-pb-improcedencia][data-pb-improcedencia-lectura] main#contenido .seo-page-hero.pb-portada-despido[data-pb-portada="modelo"] .hero-copy a{
   color:#fff4df!important;text-decoration:underline 1px #dfb47f!important;text-underline-offset:.23em!important;
 }
 html:root body[data-pb-improcedencia][data-pb-improcedencia-lectura] main#contenido .seo-page-hero.pb-portada-despido[data-pb-portada="modelo"] .hero-copy a:is(:hover,:focus-visible){
   color:white!important;text-decoration:underline 2px white!important;
 }

}
/* Solo prosa de guías medida con la columna de lectura estable.
   La última línea y los tramos fluidos conservan el inicio natural.
   Los números son milésimas de em de ajuste entre letras. */
@media screen {
  html:root body main article.seo-article[data-pb-reading] p[data-pb-prose-wide][data-pb-componer] {
    text-align:start!important;
    text-align-last:start!important;
  }
}
@media screen and (min-width:768px) and (max-width:900px), screen and (min-width:1024px) {
  html:root body main article.seo-article[data-pb-reading] p[data-pb-prose-wide][data-pb-componer] {
    text-align:justify!important;
    text-align-last:start!important;
    text-justify:inter-word;
    hyphens:manual!important;
    letter-spacing:var(--pb-entre-letras,normal)!important;
    word-spacing:var(--pb-entre-palabras,0)!important;
    text-wrap:var(--pb-salto,wrap)!important;
  }
  p[data-pb-componer~="-12"] {--pb-entre-letras:-.012em}
  p[data-pb-componer~="-9"]  {--pb-entre-letras:-.009em}
  p[data-pb-componer~="-6"]  {--pb-entre-letras:-.006em}
  p[data-pb-componer~="-3"]  {--pb-entre-letras:-.003em}
  p[data-pb-componer~="3"]   {--pb-entre-letras:.003em}
  p[data-pb-componer~="6"]   {--pb-entre-letras:.006em}
  p[data-pb-componer~="9"]   {--pb-entre-letras:.009em}
  p[data-pb-componer~="12"]  {--pb-entre-letras:.012em}
  p[data-pb-componer~="e15"] {--pb-entre-palabras:.015em}
  p[data-pb-componer~="e30"] {--pb-entre-palabras:.03em}
  p[data-pb-componer~="p"]   {--pb-salto:pretty}
  @supports not (text-wrap:pretty) {
    html:root body main article.seo-article[data-pb-reading] p[data-pb-prose-wide][data-pb-componer~="p"] {text-align:start!important}
  }
}

@media screen and (max-width:530px){
  html:root body[data-pb-improcedencia-lectura] main#contenido .pb-portada-despido .hero-copy > span {display:block}
}
