/*
 * Prestadores - Paginas legales
 * Fase 9H.4 - Carga tardia, lectura editorial y correccion de ancho en Terminos.
 * Alcance: Politica de privacidad, Terminos y condiciones y Derechos del titular.
 */

body.prestadores-legal-page-active .prest-legal-page,
body.prestadores-legal-page-active .prest-legal-page *{
  box-sizing:border-box;
}

body.prestadores-legal-page-active .prest-legal-page{
  width:100%;
  max-width:1160px;
  margin:34px auto 64px;
  padding:0 22px;
}

/* Encabezado del documento */
body.prestadores-legal-page-active .prest-legal-head{
  width:100%;
  max-width:780px;
  margin:0 auto 30px;
  text-align:center;
}

body.prestadores-legal-page-active .prest-legal-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  margin:0 auto 15px;
  padding:7px 12px;
  border:1px solid #d7e4ff;
  border-radius:999px;
  background:#eef4ff;
  color:#2563eb;
  font-size:12.5px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.01em;
}

body.prestadores-legal-page-active .prest-legal-head h1{
  max-width:100%;
  margin:0 0 12px;
  color:#0f172a;
  font-size:clamp(2rem,2.75vw,2.85rem);
  line-height:1.08;
  font-weight:750;
  letter-spacing:-.038em;
}

body.prestadores-legal-page-active .prest-legal-lead{
  max-width:700px;
  margin:0 auto 9px;
  color:#475569;
  font-size:.99rem;
  line-height:1.58;
  font-weight:500;
}

body.prestadores-legal-page-active .prest-legal-meta{
  margin:0;
  color:#64748b;
  font-size:.84rem;
  line-height:1.5;
  font-weight:650;
}

/* Superficie editorial en escritorio */
body.prestadores-legal-page-active .prest-legal-card{
  width:100%;
  max-width:1080px;
  margin:0 auto;
  padding:clamp(34px,3.5vw,48px);
  border:1px solid #e3ebf5;
  border-radius:20px;
  background:#ffffff;
  box-shadow:0 12px 34px rgba(15,23,42,.035);
}

body.prestadores-legal-page-active .prest-legal-card > *:first-child{
  margin-top:0;
}

/* Jerarquia interna */
body.prestadores-legal-page-active .prest-legal-card h1,
body.prestadores-legal-page-active .prest-legal-card h2{
  margin:36px 0 15px;
  color:#0f172a;
  font-size:clamp(1.5rem,1.8vw,1.82rem);
  line-height:1.22;
  font-weight:730;
  letter-spacing:-.026em;
}

body.prestadores-legal-page-active .prest-legal-card h1:first-child,
body.prestadores-legal-page-active .prest-legal-card h2:first-child{
  margin-top:0;
}

body.prestadores-legal-page-active .prest-legal-card h3{
  margin:28px 0 11px;
  color:#111827;
  font-size:clamp(1.16rem,1.35vw,1.35rem);
  line-height:1.3;
  font-weight:720;
  letter-spacing:-.016em;
}

body.prestadores-legal-page-active .prest-legal-card h4{
  margin:23px 0 8px;
  color:#1e293b;
  font-size:1.01rem;
  line-height:1.38;
  font-weight:720;
}

body.prestadores-legal-page-active .prest-legal-card p{
  margin:0 0 18px;
  color:#334155;
  font-size:.98rem;
  line-height:1.76;
  font-weight:500;
}

body.prestadores-legal-page-active .prest-legal-card ul,
body.prestadores-legal-page-active .prest-legal-card ol{
  margin:13px 0 23px;
  padding-left:1.3rem;
}

body.prestadores-legal-page-active .prest-legal-card li{
  margin:0 0 8px;
  color:#334155;
  font-size:.98rem;
  line-height:1.7;
  font-weight:500;
}

body.prestadores-legal-page-active .prest-legal-card strong{
  color:#0f172a;
  font-weight:770;
}

body.prestadores-legal-page-active .prest-legal-card a{
  color:#2563eb;
  font-weight:700;
  text-decoration:none;
}

body.prestadores-legal-page-active .prest-legal-card a:hover{
  text-decoration:underline;
}

body.prestadores-legal-page-active .prest-legal-card li::marker{
  color:#2563eb;
}

body.prestadores-legal-page-active .prest-legal-card hr,
body.prestadores-legal-page-active .prest-legal-card .wp-block-separator{
  width:70px;
  margin:30px auto;
  border:0;
  border-top:1px solid #cbd5e1;
  opacity:.9;
}

/* Tablas legales */
body.prestadores-legal-page-active .prest-legal-card .wp-block-table{
  width:100%;
  margin:20px 0 28px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

body.prestadores-legal-page-active .prest-legal-card table{
  width:100%;
  margin:20px 0 28px;
  border-collapse:collapse;
}

body.prestadores-legal-page-active .prest-legal-card table th,
body.prestadores-legal-page-active .prest-legal-card table td{
  padding:13px 15px;
  border:1px solid #e5e7eb;
  color:#334155;
  font-size:.93rem;
  line-height:1.55;
  text-align:left;
}

body.prestadores-legal-page-active .prest-legal-card table th{
  background:#f8fbff;
  color:#0f172a;
  font-weight:770;
}

/* Formulario publico de derechos */
body.prestadores-legal-page-active .prest-privacy-public-form{
  width:100%;
  max-width:820px;
  margin:28px auto 34px;
  color:#0f172a;
}

body.prestadores-legal-page-active .prest-privacy-public-card{
  width:100%;
  padding:22px;
  border:1px solid #e3ebf5;
  border-radius:16px;
  background:#fbfdff;
  box-shadow:none;
}

body.prestadores-legal-page-active .prest-privacy-public-card h3{
  margin:0 0 7px;
  color:#0f172a;
  font-size:1.25rem;
  line-height:1.24;
  font-weight:740;
  letter-spacing:-.02em;
}

body.prestadores-legal-page-active .prest-privacy-public-card > p{
  margin:0 0 19px;
  color:#475569;
  font-size:.93rem;
  line-height:1.55;
  font-weight:500;
}

body.prestadores-legal-page-active .prest-privacy-public-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 14px;
}

body.prestadores-legal-page-active .prest-privacy-public-field{
  min-width:0;
  margin:0 0 13px;
}

body.prestadores-legal-page-active .prest-privacy-public-field label{
  display:block;
  margin:0 0 6px;
  color:#1f2937;
  font-size:.88rem;
  line-height:1.3;
  font-weight:750;
}

body.prestadores-legal-page-active .prest-privacy-public-field input,
body.prestadores-legal-page-active .prest-privacy-public-field select,
body.prestadores-legal-page-active .prest-privacy-public-field textarea{
  width:100%;
  min-height:44px;
  padding:9px 11px;
  border:1px solid #d8e2ef;
  border-radius:11px;
  background:#ffffff;
  color:#111827;
  font-size:.94rem;
  line-height:1.35;
  outline:none;
  box-shadow:none;
}

body.prestadores-legal-page-active .prest-privacy-public-field textarea{
  min-height:108px;
  resize:vertical;
}

body.prestadores-legal-page-active .prest-privacy-public-field input:focus,
body.prestadores-legal-page-active .prest-privacy-public-field select:focus,
body.prestadores-legal-page-active .prest-privacy-public-field textarea:focus{
  border-color:#93c5fd;
  box-shadow:0 0 0 3px rgba(37,99,235,.09);
}

body.prestadores-legal-page-active .prest-privacy-public-field small{
  display:block;
  margin-top:5px;
  color:#64748b;
  font-size:.79rem;
  line-height:1.4;
}

body.prestadores-legal-page-active .prest-privacy-public-check{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin:5px 0 17px;
  padding:11px 12px;
  border:1px solid #dbeafe;
  border-radius:13px;
  background:#f8fbff;
  color:#334155;
  font-size:.88rem;
  line-height:1.46;
  font-weight:600;
}

body.prestadores-legal-page-active .prest-privacy-public-check input{
  flex:0 0 auto;
  width:18px;
  height:18px;
  margin:2px 0 0;
}

body.prestadores-legal-page-active .prest-privacy-public-check span{
  min-width:0;
  font-size:.88rem;
  line-height:1.46;
}

body.prestadores-legal-page-active .prest-privacy-public-actions{
  display:flex;
  justify-content:flex-end;
}

body.prestadores-legal-page-active .prest-privacy-public-actions button{
  min-height:44px;
  padding:0 18px;
  border:0;
  border-radius:11px;
  background:#2563eb;
  color:#ffffff;
  font-size:.94rem;
  line-height:1;
  font-weight:780;
  cursor:pointer;
  box-shadow:0 9px 20px rgba(37,99,235,.14);
}

body.prestadores-legal-page-active .prest-privacy-public-actions button:hover{
  background:#1d4ed8;
}

body.prestadores-legal-page-active .prest-privacy-public-form--success .prest-privacy-public-card{
  border-color:#bbf7d0;
  background:#f0fdf4;
}

body.prestadores-legal-page-active .prest-privacy-public-form--error .prest-privacy-public-card{
  border-color:#fecdd3;
  background:#fff1f2;
}

@media (max-width:980px){
  body.prestadores-legal-page-active .prest-legal-page{
    margin:30px auto 52px;
    padding:0 20px;
  }

  body.prestadores-legal-page-active .prest-legal-card{
    padding:28px 24px;
    border-radius:18px;
  }
}

/*
 * Movil: documento editorial abierto y formulario sin caja anidada.
 */
@media (max-width:680px){
  body.prestadores-legal-page-active .prest-legal-page{
    width:100%;
    max-width:none;
    margin:20px auto 42px;
    padding:0 18px;
  }

  body.prestadores-legal-page-active .prest-legal-head{
    width:100%;
    max-width:none;
    margin:0 0 27px;
    text-align:left;
  }

  body.prestadores-legal-page-active .prest-legal-badge{
    margin:0 0 15px;
    padding:7px 11px;
    font-size:12px;
  }

  body.prestadores-legal-page-active .prest-legal-head h1{
    width:100%;
    max-width:none;
    margin:0 0 13px;
    font-size:clamp(1.95rem,8.2vw,2.25rem);
    line-height:1.1;
    font-weight:750;
    letter-spacing:-.035em;
  }

  body.prestadores-legal-page-active .prest-legal-lead{
    width:100%;
    max-width:none;
    margin:0;
    font-size:1rem;
    line-height:1.56;
  }

  body.prestadores-legal-page-active .prest-legal-meta{
    margin-top:9px;
    font-size:.81rem;
  }

  body.prestadores-legal-page-active .prest-legal-card{
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }

  body.prestadores-legal-page-active .prest-legal-card h1,
  body.prestadores-legal-page-active .prest-legal-card h2{
    margin:31px 0 11px;
    font-size:1.36rem;
    line-height:1.24;
    font-weight:730;
    letter-spacing:-.022em;
  }

  body.prestadores-legal-page-active .prest-legal-card h3{
    margin:26px 0 10px;
    font-size:1.13rem;
    line-height:1.3;
  }

  body.prestadores-legal-page-active .prest-legal-card h4{
    margin:21px 0 8px;
    font-size:1rem;
  }

  body.prestadores-legal-page-active .prest-legal-card p,
  body.prestadores-legal-page-active .prest-legal-card li{
    font-size:1rem;
    line-height:1.7;
  }

  body.prestadores-legal-page-active .prest-legal-card p{
    margin-bottom:17px;
  }

  body.prestadores-legal-page-active .prest-legal-card ul,
  body.prestadores-legal-page-active .prest-legal-card ol{
    margin:12px 0 22px;
    padding-left:1.18rem;
  }

  body.prestadores-legal-page-active .prest-legal-card hr,
  body.prestadores-legal-page-active .prest-legal-card .wp-block-separator{
    width:54px;
    margin:28px 0;
  }

  body.prestadores-legal-page-active .prest-legal-card .wp-block-table{
    width:calc(100vw - 36px);
    margin:18px 0 25px;
  }

  body.prestadores-legal-page-active .prest-legal-card table{
    min-width:620px;
    margin:0;
  }

  body.prestadores-legal-page-active .prest-legal-card table th,
  body.prestadores-legal-page-active .prest-legal-card table td{
    padding:12px 13px;
    font-size:.9rem;
  }

  body.prestadores-legal-page-active .prest-privacy-public-form{
    width:100%;
    max-width:none;
    margin:25px 0 32px;
  }

  body.prestadores-legal-page-active
  .prest-privacy-public-form:not(.prest-privacy-public-form--success):not(.prest-privacy-public-form--error)
  .prest-privacy-public-card{
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }

  body.prestadores-legal-page-active .prest-privacy-public-card h3{
    margin:0 0 7px;
    font-size:1.24rem;
    line-height:1.24;
  }

  body.prestadores-legal-page-active .prest-privacy-public-card > p{
    margin:0 0 18px;
    font-size:.93rem;
    line-height:1.52;
  }

  body.prestadores-legal-page-active .prest-privacy-public-grid{
    grid-template-columns:1fr;
    gap:0;
  }

  body.prestadores-legal-page-active .prest-privacy-public-field{
    margin-bottom:13px;
  }

  body.prestadores-legal-page-active .prest-privacy-public-field label{
    margin-bottom:6px;
    font-size:.88rem;
  }

  body.prestadores-legal-page-active .prest-privacy-public-field input,
  body.prestadores-legal-page-active .prest-privacy-public-field select,
  body.prestadores-legal-page-active .prest-privacy-public-field textarea{
    min-height:44px;
    padding:9px 11px;
    border-radius:11px;
    font-size:.94rem;
  }

  body.prestadores-legal-page-active .prest-privacy-public-field textarea{
    min-height:108px;
  }

  body.prestadores-legal-page-active .prest-privacy-public-field small{
    margin-top:5px;
    font-size:.78rem;
    line-height:1.4;
  }

  body.prestadores-legal-page-active .prest-privacy-public-check{
    gap:9px;
    margin:5px 0 16px;
    padding:11px;
    border-radius:12px;
    font-size:.87rem;
    line-height:1.44;
  }

  body.prestadores-legal-page-active .prest-privacy-public-check span{
    font-size:.87rem;
    line-height:1.44;
  }

  body.prestadores-legal-page-active .prest-privacy-public-actions{
    justify-content:stretch;
  }

  body.prestadores-legal-page-active .prest-privacy-public-actions button{
    width:100%;
    min-height:46px;
    padding:0 16px;
    border-radius:11px;
    font-size:.96rem;
  }

  body.prestadores-legal-page-active .prest-privacy-public-form--success .prest-privacy-public-card,
  body.prestadores-legal-page-active .prest-privacy-public-form--error .prest-privacy-public-card{
    padding:15px;
    border-radius:13px;
  }
}

/* =========================================================
 * Fase 9H.4 - Terminos y condiciones: escape del contenedor
 * editorial heredado en movil.
 *
 * La pagina de Terminos posee un envoltorio anterior mas estrecho que
 * Politica y Derechos. Esta regla hace que .prest-legal-page recupere
 * el mismo margen visual de 18px respecto del viewport, sin alterar el
 * contenido, el header ni las otras paginas legales.
 * ========================================================= */
@media (max-width:680px){
  body.prestadores-legal-page-active.prestadores-legal-terms .prest-legal-page{
    width:calc(100vw - 36px);
    max-width:calc(100vw - 36px);
    margin-top:20px;
    margin-right:calc(50% - 50vw + 18px);
    margin-bottom:42px;
    margin-left:calc(50% - 50vw + 18px);
    padding-right:0;
    padding-left:0;
  }
}
/* =========================================================
 * R6 — LEGAL ACCORDION v1.0
 * Patrón editorial inspirado en navegación legal moderna.
 *
 * Estructura real Gutenberg:
 * <details class="wp-block-details prest-legal-card">
 * ========================================================= */


/* ---------------------------------------------------------
 * 1. Cada bloque Details pasa a ser una fila editorial
 * --------------------------------------------------------- */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card{
  width:100% !important;
  max-width:1060px !important;

  margin:0 auto !important;
  padding:0 !important;

  border:0 !important;
  border-top:1px solid #d2d2d7 !important;
  border-radius:0 !important;

  background:transparent !important;
  box-shadow:none !important;

  text-align:left !important;
}


/* Última sección */
body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card:last-of-type{
  border-bottom:1px solid #d2d2d7 !important;
}


/* ---------------------------------------------------------
 * 2. Summary = gran fila interactiva
 * --------------------------------------------------------- */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > summary{
  position:relative !important;

  display:block !important;
  width:100% !important;

  margin:0 !important;

  padding:
    30px
    68px
    30px
    0 !important;

  list-style:none !important;

  color:#1d1d1f !important;

  font-size:
    clamp(1.55rem, 1.9vw, 2.05rem) !important;

  line-height:1.18 !important;
  font-weight:700 !important;
  letter-spacing:-.028em !important;

  text-align:left !important;

  cursor:pointer !important;

  transition:
    color .18s ease !important;
}


/* Chrome / Safari */
body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > summary::-webkit-details-marker{
  display:none !important;
}


/* Firefox / estándar */
body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > summary::marker{
  content:"" !important;
  font-size:0 !important;
}


/* ---------------------------------------------------------
 * 3. Símbolo + a la derecha
 * --------------------------------------------------------- */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > summary::after{
  content:"+" !important;

  position:absolute !important;

  top:50% !important;
  right:4px !important;

  transform:
    translateY(-50%) !important;

  display:flex !important;

  width:42px !important;
  height:42px !important;

  align-items:center !important;
  justify-content:center !important;

  color:#86868b !important;

  font-size:2.75rem !important;
  line-height:1 !important;
  font-weight:300 !important;

  transition:
    color .18s ease,
    transform .18s ease !important;
}


/* ---------------------------------------------------------
 * 4. Hover
 * --------------------------------------------------------- */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > summary:hover{
  color:#2563eb !important;
}

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > summary:hover::after{
  color:#2563eb !important;
}


/* ---------------------------------------------------------
 * 5. Estado abierto
 * --------------------------------------------------------- */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card[open] > summary{
  color:#2563eb !important;
}

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card[open] > summary::after{
  content:"×" !important;
  color:#2563eb !important;
}


/* ---------------------------------------------------------
 * 6. Espacio inferior del bloque abierto
 * --------------------------------------------------------- */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card[open]{
  padding-bottom:32px !important;
}


/* ---------------------------------------------------------
 * 7. Contenido interior
 * --------------------------------------------------------- */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > :not(summary){
  width:100% !important;
  max-width:900px !important;

  margin-left:0 !important;
  margin-right:auto !important;

  text-align:left !important;
}


/* Párrafos */
body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card p{
  margin:
    0
    0
    20px !important;

  color:#334155 !important;

  font-size:1.05rem !important;
  line-height:1.72 !important;
  font-weight:500 !important;

  text-align:left !important;
}


/* ---------------------------------------------------------
 * 8. Subtítulos internos 4.1, 5.1, etc.
 * --------------------------------------------------------- */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card h3{
  margin:
    30px
    0
    12px !important;

  color:#111827 !important;

  font-size:1.22rem !important;
  line-height:1.32 !important;
  font-weight:720 !important;

  text-align:left !important;
}

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card h4{
  margin:
    24px
    0
    9px !important;

  color:#1e293b !important;

  font-size:1.05rem !important;
  line-height:1.4 !important;
  font-weight:720 !important;

  text-align:left !important;
}


/* ---------------------------------------------------------
 * 9. Listas
 * --------------------------------------------------------- */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card ul,

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card ol{
  width:100% !important;
  max-width:900px !important;

  margin:
    10px
    0
    24px !important;

  padding-left:1.35rem !important;

  list-style-position:outside !important;

  text-align:left !important;
}


/* Items */
body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card li{
  margin:
    0
    0
    8px !important;

  padding-left:.12rem !important;

  color:#334155 !important;

  font-size:1.05rem !important;
  line-height:1.67 !important;
  font-weight:500 !important;

  text-align:left !important;
}


/* Marcador */
body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card li::marker{
  color:#2563eb !important;
}


/* ---------------------------------------------------------
 * 10. Links y destacados
 * --------------------------------------------------------- */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card strong{
  color:#0f172a !important;
  font-weight:750 !important;
}

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card a{
  color:#2563eb !important;
  font-weight:650 !important;
  text-decoration:none !important;
}

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card a:hover{
  text-decoration:underline !important;
}


/* ---------------------------------------------------------
 * 11. Aparición sutil del contenido
 * --------------------------------------------------------- */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card[open] > :not(summary){
  animation:
    prestLegalReveal
    .22s
    ease
    both;
}

@keyframes prestLegalReveal{
  from{
    opacity:0;
    transform:translateY(-4px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}


/* ---------------------------------------------------------
 * 12. Móvil
 * --------------------------------------------------------- */

@media (max-width:680px){

  body.prestadores-legal-page-active
  details.wp-block-details.prest-legal-card{
    width:100% !important;
    max-width:none !important;
  }


  body.prestadores-legal-page-active
  details.wp-block-details.prest-legal-card > summary{
    padding:
      23px
      47px
      23px
      0 !important;

    font-size:1.25rem !important;
    line-height:1.27 !important;

    letter-spacing:-.022em !important;
  }


  body.prestadores-legal-page-active
  details.wp-block-details.prest-legal-card > summary::after{
    right:0 !important;

    width:34px !important;
    height:34px !important;

    font-size:2.05rem !important;
  }


  body.prestadores-legal-page-active
  details.wp-block-details.prest-legal-card[open]{
    padding-bottom:23px !important;
  }


  body.prestadores-legal-page-active
  details.wp-block-details.prest-legal-card p,

  body.prestadores-legal-page-active
  details.wp-block-details.prest-legal-card li{
    font-size:1rem !important;
    line-height:1.67 !important;
  }


  body.prestadores-legal-page-active
  details.wp-block-details.prest-legal-card ul,

  body.prestadores-legal-page-active
  details.wp-block-details.prest-legal-card ol{
    padding-left:1.2rem !important;
  }

}
/* =========================================================
 * R6 — LEGAL ACCORDION v1.1
 * Hover y estado activo del titulo
 * ========================================================= */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > summary,
body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > summary *{
  transition:color .18s ease !important;
}

/* Hover: titulo completo + icono */
body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > summary:hover,
body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > summary:hover *{
  color:#2563eb !important;
}

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card > summary:hover::after{
  color:#2563eb !important;
}

/* Abierto: titulo completo + X */
body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card[open] > summary,
body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card[open] > summary *{
  color:#2563eb !important;
}

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card[open] > summary::after{
  color:#2563eb !important;
}
/* =========================================================
 * R6 — LEGAL ACCORDION v1.2
 * Anclaje visual al cambiar de sección
 * ========================================================= */

body.prestadores-legal-page-active
details.wp-block-details.prest-legal-card{
  scroll-margin-top:120px;
}

@media (max-width: 768px){
  body.prestadores-legal-page-active
  details.wp-block-details.prest-legal-card{
    scroll-margin-top:96px;
  }
}