/* TJP 5.0.7 · Lectura jurídica formal sin división de palabras. Solo privacidad y términos.
   Fuentes del sistema, sin nuevas solicitudes a proveedores tipográficos. */
body.tje-site.tje-legal-page .tje-wp-content {
  --tje-legal-serif:Georgia,'Times New Roman','Liberation Serif',serif;
  --tje-legal-meta:'Segoe UI',Arial,sans-serif;
  width:calc(100% - 48px);
  max-width:780px;
  margin-inline:auto;
  padding-block:52px 80px;
  font-family:var(--tje-legal-serif);
  font-size:1.0625rem;
  line-height:1.8;
  color:#293847;
  background:#fff;
}
/* El texto legal de Elementor sigue una columna continua, sin dobles márgenes. */
body.tje-site.tje-legal-page .tje-wp-content .elementor :is(.e-con,.e-con-inner,.elementor-widget-text-editor) {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
}
body.tje-site.tje-legal-page .tje-wp-content :is(h1,h2,h3,h4,h5,h6,.wp-block-heading,.elementor-heading-title) {
  font-family:var(--tje-legal-serif) !important;
  font-weight:700 !important;
  line-height:1.4 !important;
  letter-spacing:normal !important;
  color:#173455 !important;
  text-align:left !important;
  text-transform:none !important;
  hyphens:none !important;
  -webkit-hyphens:none !important;
  -ms-hyphens:none !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}
body.tje-site.tje-legal-page .tje-wp-content > h1 {
  font-size:clamp(1.85rem,3.4vw,2.4rem) !important;
  line-height:1.2 !important;
  padding:0 0 22px;
  margin:0 0 26px !important;
  border-bottom:2px solid #c3a46a;
}
body.tje-site.tje-legal-page .tje-wp-content :is(h2,.wp-block-heading,.elementor-heading-title) {
  font-size:1.3rem !important;
  margin:36px 0 14px !important;
  scroll-margin-top:28px;
}
body.tje-site.tje-legal-page .tje-wp-content h3 { font-size:1.15rem !important; margin:28px 0 12px !important; }
body.tje-site.tje-legal-page .tje-wp-content :is(h4,h5,h6) { font-size:1.0625rem !important; margin:24px 0 10px !important; }
body.tje-site.tje-legal-page .tje-wp-content :is(p,li,blockquote,td,th,figcaption,.wp-block-paragraph,.elementor-widget-text-editor) {
  font-family:var(--tje-legal-serif) !important;
  font-size:1.0625rem !important;
  line-height:1.8 !important;
  color:#293847 !important;
  text-align:justify !important;
  text-justify:inter-word;
  text-align-last:left;
  /* Conserva palabras enteras; mueve la palabra al renglón siguiente. */
  hyphens:none !important;
  -webkit-hyphens:none !important;
  -ms-hyphens:none !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}
body.tje-site.tje-legal-page .tje-wp-content :is(p,.wp-block-paragraph) {
  margin:0 0 18px !important;
  text-align:justify !important;
  text-justify:inter-word;
  text-align-last:left !important;
}
/* También para párrafos importados de Word o Elementor con alineación en línea. */
body.tje-site.tje-legal-page .tje-wp-content :is(.elementor-widget-text-editor p,.elementor-text-editor p,.wp-block-group p,.wp-block-column p) {
  text-align:justify !important;
  text-justify:inter-word !important;
  text-align-last:left !important;
}
body.tje-site.tje-legal-page .tje-wp-content :is(.tje-legal-subtitle,.tje-privacy-subtitle,.tje-legal-updated,.tje-privacy-updated) {
  text-align:left !important;
  text-align-last:left !important;
  hyphens:none !important;
}
/* Neutraliza tamaños y fuentes pegados desde Word o Elementor, sin perder énfasis. */
body.tje-site.tje-legal-page .tje-wp-content :is(h1,h2,h3,h4,h5,h6,p,li,blockquote,td,th) :is(span,font,strong,b,em,i,a) {
  font-family:inherit !important;
  font-size:inherit !important;
  line-height:inherit !important;
}
body.tje-site.tje-legal-page .tje-wp-content :is(.tje-privacy-subtitle,.tje-legal-subtitle) {
  font-family:var(--tje-legal-serif) !important;
  font-size:1.125rem !important;
  font-weight:400 !important;
  color:#294f74 !important;
  text-align:left !important;
  margin:0 0 8px !important;
}
body.tje-site.tje-legal-page .tje-wp-content :is(.tje-privacy-updated,.tje-legal-updated) {
  font-family:var(--tje-legal-meta) !important;
  font-size:.875rem !important;
  font-weight:400 !important;
  line-height:1.6 !important;
  color:#536477 !important;
  margin:0 0 28px !important;
}
body.tje-site.tje-legal-page .tje-wp-content :is(.tje-privacy-closing,.tje-legal-closing) {
  border-top:1px solid #d9e4ed;
  padding-top:22px;
  margin-top:32px !important;
  font-weight:700;
}
body.tje-site.tje-legal-page .tje-wp-content a {
  color:#105a96;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  /* Los enlaces siguen la misma regla que los párrafos. */
  overflow-wrap:normal !important;
  word-break:normal !important;
  hyphens:none !important;
  -webkit-hyphens:none !important;
}
body.tje-site.tje-legal-page .tje-wp-content a:hover { color:#083e75; }
body.tje-site.tje-legal-page .tje-wp-content :is(ul,ol) { margin:0 0 20px; padding-left:26px; }
body.tje-site.tje-legal-page .tje-wp-content li + li { margin-top:8px; }
@media(max-width:640px) {
  body.tje-site.tje-legal-page .tje-wp-content { width:calc(100% - 36px); padding-block:30px 56px; }
  body.tje-site.tje-legal-page .tje-wp-content :is(p,li,blockquote,td,th,figcaption,.wp-block-paragraph,.elementor-widget-text-editor) { font-size:1rem !important; line-height:1.75 !important; }
  body.tje-site.tje-legal-page .tje-wp-content :is(h2,.wp-block-heading,.elementor-heading-title) { font-size:1.2rem !important; margin-top:28px !important; }
  body.tje-site.tje-legal-page .tje-wp-content :is(.tje-privacy-updated,.tje-legal-updated) { font-size:.875rem !important; }
}
@media print {
  body.tje-site.tje-legal-page :is(.tje-topline,.tje-header,.tje-footer,.tje-whatsapp,.tje-skip,.joinchat) { display:none !important; }
  body.tje-site.tje-legal-page .tje-wp-content { width:100%; max-width:none; padding:0; }
  body.tje-site.tje-legal-page .tje-wp-content :is(h1,h2,h3,h4) { break-after:avoid; }
  body.tje-site.tje-legal-page .tje-wp-content :is(p,li) { orphans:3; widows:3; }
}
