/*
 * Base del tema hijo con Hello Elementor como padre (22/10/2026).
 *
 * Todo lo de la web (Elementor, comparadores, tarificadores, portales) se maquetó encima de la base de Divi.
 * Hello trae su reset.css (enlaces y botones #c36, inputs con borde gris al 100 %, tablas rayadas, h* a 500)
 * y theme.css (.post .wp-post-image recorta las imágenes de las tarjetas del blog), así que functions.php
 * apaga los dos y carga esto: el reset y la tipografía genéricos de Divi 4.27.9
 * (style-static.min.css, sin nada de .et_*). El Personalizador y el CSS personalizado de Divi van en personalizador.css.
 */

/* Divi: reset */
a,abbr,acronym,address,applet,b,big,blockquote,body,center,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,i,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,tt,u,ul,var{margin:0;padding:0;border:0;outline:0;font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;vertical-align:baseline;background:transparent}
*{-webkit-box-sizing:border-box;box-sizing:border-box}
ol,ul{list-style:none}
blockquote,q{quotes:none}
blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}
blockquote{margin:20px 0 30px;border-left:5px solid;padding-left:20px}
:focus{outline:0}
del{text-decoration:line-through}
pre{overflow:auto;padding:10px}
figure{margin:0}
table{border-collapse:collapse;border-spacing:0}
article,aside,footer,header,hgroup,nav,section{display:block}

/* Divi: tipografía base */
body{font-family:Open Sans,Arial,sans-serif;font-size:14px;color:#666;background-color:#fff;line-height:1.7em;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:#2ea3f2}
a,a:hover{text-decoration:none}
p{padding-bottom:1em}
p:not(.has-background):last-of-type{padding-bottom:0}
strong{font-weight:700}
cite,em,i{font-style:italic}
code,pre{font-family:Courier New,monospace;margin-bottom:10px}
ins{text-decoration:none}
sub,sup{height:0;line-height:1;position:relative;vertical-align:baseline}
sup{bottom:.8em}
sub{top:.3em}
dl{margin:0 0 1.5em}
dl dt{font-weight:700}
dd{margin-left:1.5em}
blockquote p{padding-bottom:0}
embed,iframe,object,video{max-width:100%}
h1,h2,h3,h4,h5,h6{color:#333;padding-bottom:10px;line-height:1em;font-weight:500}
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit}
input{-webkit-appearance:none}
input[type=checkbox]{-webkit-appearance:checkbox}
input[type=radio]{-webkit-appearance:radio}
/* El Kit de Elementor (32270) dibuja su propia casilla con input[type=checkbox]{appearance:none}; Divi cargaba detrás y la dejaba nativa. Un punto más de especificidad para mantenerla. */
html input[type=checkbox]{-webkit-appearance:checkbox;appearance:auto}
html input[type=radio]{-webkit-appearance:radio;appearance:auto}
input.text,input.title,input[type=email],input[type=password],input[type=tel],input[type=text],select,textarea{background-color:#fff;border:1px solid #bbb;padding:2px;color:#4e4e4e}
input.text:focus,input.title:focus,input[type=text]:focus,select:focus,textarea:focus{border-color:#2d3940;color:#3e3e3e}
input.text,input.title,input[type=text],select,textarea{margin:0}
textarea{padding:4px}
button,input,select,textarea{font-family:inherit}
img{max-width:100%;height:auto}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{border:1px solid #ddd;text-align:center;background-color:#f3f3f3;margin-bottom:10px;max-width:96%;padding:8px}
.wp-caption.alignleft{margin:0 30px 20px 0}
.wp-caption.alignright{margin:0 0 20px 30px}
.wp-caption img{margin:0;padding:0;border:0}
.wp-caption p.wp-caption-text{font-size:12px;padding:0 4px 5px;margin:0}
.alignright{float:right}
.alignleft{float:left}
img.alignleft{display:inline;float:left;margin-right:15px}
img.alignright{display:inline;float:right;margin-left:15px}

/* Enlace «Saltar al contenido» de Hello (header.php): oculto salvo con teclado. De theme.css de Hello, que también se apaga. */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background-color:#eee;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#333;display:block;font-size:1rem;height:auto;left:5px;line-height:normal;padding:12px 24px;text-decoration:none;top:5px;width:auto;z-index:100000}
