/* =====================================================================
   EEC Blog · artículo (Single Post) de electricistaencasa.es
   Misma identidad que las páginas: azul #142335, naranja #F67F04,
   Plus Jakarta Sans (títulos) e Inter (texto). Todo va bajo .eec-post.
   ===================================================================== */
.eec-post{
  --navy:#142335; --navy-deep:#0b1726; --navy-soft:#1c2f46;
  --orange:#F67F04; --orange-deep:#b35c00; --orange-dark:#944b00; --orange-tint:#FFF4E6;
  --surface:#F5F7F9; --text:#1f2d3d; --muted:#5A6472; --border:#E3E7EC;
  --mist:#c9d5e4; --mist-2:#9fb0c4; --info-tint:#EAF2FB; --info-line:#2f6db5;
  --font-d:'Plus Jakarta Sans', system-ui, sans-serif;
  --font-b:'Inter', system-ui, sans-serif;
  --lado:calc(max(0px, (100% - 74rem) / 2) + 1.25rem);
  font-family:var(--font-b); color:var(--text); background:#fff;
  -webkit-font-smoothing:antialiased; overflow-x:clip;
}
/* Los contenedores de Elementor de la plantilla no añaden márgenes propios: los pone esta hoja. */
.eec-post .e-con, .eec-post.e-con{ --padding-top:0px; --padding-right:0px; --padding-bottom:0px; --padding-left:0px; --gap:0px; --row-gap:0px; --column-gap:0px; --margin-top:0px; --margin-bottom:0px; }
.eec-post .elementor-widget:not(:last-child){ margin-block-end:0; }
.eec-post *, .eec-post *::before, .eec-post *::after{ box-sizing:border-box; }
.eec-post .material-symbols-outlined{ font-size:18px; line-height:1; vertical-align:-4px; font-variation-settings:'FILL' 0,'wght' 400; }
@media (min-width:768px){ .eec-post{ --lado:calc(max(0px, (100% - 74rem) / 2) + 2rem); } }
.eec-oculto{ display:none !important; }
.eec-sr{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ---------- cabecera del artículo ---------- */
.eec-post__hero{
  background:var(--navy) radial-gradient(900px 420px at 85% -20%, rgba(246,127,4,.18), transparent 60%);
  color:#fff; padding:2.6rem var(--lado) 7.5rem !important;
}
.eec-post__hero > .e-con-inner, .eec-post__hero .elementor-widget-container{ max-width:52rem; }
.eec-post .rank-math-breadcrumb{ font-size:13px; color:var(--mist-2); margin:0 0 1.5rem; }
.eec-post .rank-math-breadcrumb p{ margin:0; display:flex; flex-wrap:wrap; align-items:center; gap:.35rem; }
.eec-post .rank-math-breadcrumb a{ color:var(--mist); text-decoration:none; }
.eec-post .rank-math-breadcrumb a:hover, .eec-post .rank-math-breadcrumb a:focus-visible{ color:var(--orange); text-decoration:underline; }
.eec-post .rank-math-breadcrumb .separator{ color:var(--mist-2); opacity:.7; }
.eec-post .rank-math-breadcrumb .last{ color:#fff; }
.eec-post__cat{ display:inline-flex; align-items:center; gap:.55rem; margin:0 0 .9rem; font-family:var(--font-d); font-weight:700; font-size:12px; letter-spacing:.14em; text-transform:uppercase; }
.eec-post__cat::before{ content:''; width:22px; height:2px; background:var(--orange); border-radius:2px; }
.eec-post__cat a{ color:var(--orange); text-decoration:none; }
.eec-post__cat a:hover, .eec-post__cat a:focus-visible{ text-decoration:underline; }
.eec-post .elementor-widget-theme-post-title .elementor-heading-title,
.eec-post h1.elementor-heading-title{
  font-family:var(--font-d); font-weight:700; color:#fff; margin:0;
  font-size:clamp(2rem, 1.25rem + 2.6vw, 3.1rem); line-height:1.1; letter-spacing:-.03em; max-width:20em;
}
.eec-post__entradilla{ margin:1.1rem 0 0; font-size:clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height:1.65; color:var(--mist); max-width:40em; }
.eec-post__meta{ display:flex; flex-wrap:wrap; gap:.5rem 1.4rem; margin:1.6rem 0 0; padding:0; list-style:none; font-size:14px; color:var(--mist); }
.eec-post__meta li{ display:inline-flex; align-items:center; gap:.4rem; }
.eec-post__meta .material-symbols-outlined{ color:var(--orange); }
.eec-post__meta b{ color:#fff; font-weight:600; }

/* ---------- imagen destacada ---------- */
.eec-post__imagen{ padding:0 var(--lado); margin-top:-5.5rem; position:relative; z-index:2; }
.eec-post__imagen figure{ margin:0; }
.eec-post__foto{ display:block; width:100%; height:auto; aspect-ratio:16 / 9; object-fit:cover; border-radius:18px; box-shadow:0 30px 60px -30px rgba(11,23,38,.55); background:var(--surface); }
.eec-post__imagen figcaption{ margin:.6rem 0 0; font-size:13px; color:var(--muted); text-align:center; }
.eec-post--sin-imagen .eec-post__hero{ padding-bottom:3.2rem !important; }

/* ---------- cuerpo: texto + índice ---------- */
.eec-post .eec-post__layout{ padding:3rem var(--lado) 1rem !important; --flex-direction:column; flex-direction:column !important; gap:2rem !important; align-items:stretch !important; justify-content:flex-start; }
.eec-post .eec-post__layout > .eec-post__main{ --width:100%; min-width:0; max-width:46rem; width:100%; }
.eec-post .eec-post__layout > .eec-post__aside{ --width:100%; width:100%; }
@media (min-width:1024px){
  .eec-post .eec-post__layout{ --flex-direction:row; flex-direction:row !important; gap:4rem !important; align-items:flex-start !important; justify-content:space-between !important; }
  .eec-post .eec-post__layout > .eec-post__main{ --flex-grow:1; --flex-shrink:1; --flex-basis:0; flex:1 1 0 !important; width:auto !important; max-width:46rem; }
  .eec-post .eec-post__layout > .eec-post__aside{ --order:2; --flex-grow:0; --flex-shrink:0; --flex-basis:17rem; order:2 !important; flex:0 0 17rem !important; width:17rem !important; position:sticky; top:96px; align-self:flex-start !important; }
}

/* índice (widget «Tabla de contenidos» de Elementor) */
.eec-post .elementor-toc{ --toc-body-padding:0; border:1px solid var(--border); border-radius:14px; background:var(--surface); overflow:hidden; }
.eec-post .elementor-toc__header{ padding:.9rem 1.1rem; border-bottom:1px solid var(--border); background:#fff; }
.eec-post .elementor-toc__header-title{ font-family:var(--font-d); font-size:14px; font-weight:700; color:var(--navy); letter-spacing:.02em; }
.eec-post .elementor-toc__body{ padding:.9rem 1.1rem 1.1rem; max-height:60vh; overflow:auto; }
.eec-post .elementor-toc__list-wrapper{ margin:0; padding:0; }
.eec-post .elementor-toc__list-item{ font-size:14px; line-height:1.45; margin:.2rem 0; }
.eec-post .elementor-toc__list-item-text-wrapper{ gap:.4rem; }
.eec-post .elementor-toc__list-item-text, .eec-post .elementor-toc__list-item-text-wrapper, .eec-post .elementor-toc__list-item-text-wrapper:before{ color:var(--text) !important; text-decoration:none; font-family:var(--font-b) !important; }
.eec-post .elementor-toc__list-item-text:hover, .eec-post .elementor-toc__list-item-text:focus-visible{ color:var(--orange-deep); text-decoration:underline; }
.eec-post .elementor-toc__list-item-text.elementor-item-active{ color:var(--orange-deep) !important; font-weight:600; }
.eec-post .elementor-toc__header-title{ font-family:var(--font-d) !important; color:var(--navy) !important; }
.eec-post .elementor-toc{ border-color:var(--border) !important; }
.eec-post .elementor-toc__list-wrapper .elementor-toc__list-wrapper{ padding-left:1rem; }
.eec-post .elementor-toc__toggle-button{ color:var(--navy); }

/* ---------- contenido del artículo ---------- */
.eec-post .eec-post__cuerpo, .eec-post .eec-post__cuerpo p, .eec-post .eec-post__cuerpo li, .eec-post .eec-post__cuerpo td{
  font-family:var(--font-b) !important; font-size:17px; line-height:1.75 !important; color:var(--text) !important; font-weight:400;
}
.eec-post .eec-post__cuerpo{ overflow-wrap:break-word; }
.eec-post__cuerpo > * + *, .eec-post__cuerpo .elementor-widget-container > * + *{ margin-top:1.15em; }
.eec-post__cuerpo p{ margin:0; }
.eec-post__cuerpo p + p{ margin-top:1.15em; }
.eec-post__cuerpo h2, .eec-post__cuerpo h3, .eec-post__cuerpo h4{ font-family:var(--font-d); color:var(--navy); letter-spacing:-.02em; scroll-margin-top:100px; }
.eec-post__cuerpo h2{ font-size:clamp(1.45rem, 1.2rem + .9vw, 1.85rem); line-height:1.2; font-weight:700; margin:2.4em 0 .7em; padding-top:.2em; }
.eec-post__cuerpo h2::before{ content:''; display:block; width:36px; height:3px; margin-bottom:.8rem; background:var(--orange); border-radius:3px; }
.eec-post__cuerpo h3{ font-size:clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height:1.3; font-weight:700; margin:1.9em 0 .5em; }
.eec-post__cuerpo h4{ font-size:1.05rem; margin:1.6em 0 .4em; }
.eec-post__cuerpo a{ color:var(--orange-deep); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.eec-post__cuerpo a:hover, .eec-post__cuerpo a:focus-visible{ color:var(--orange-dark); text-decoration-thickness:2px; }
.eec-post__cuerpo strong{ color:var(--navy); font-weight:600; }
.eec-post__cuerpo ul, .eec-post__cuerpo ol{ margin:1.15em 0 0; padding-left:1.35em; }
.eec-post__cuerpo li{ margin:.35em 0; padding-left:.2em; }
.eec-post__cuerpo ul li::marker{ color:var(--orange); }
.eec-post__cuerpo ol li::marker{ color:var(--orange-deep); font-weight:700; font-family:var(--font-d); }
.eec-post__cuerpo img{ max-width:100%; height:auto; border-radius:12px; }
.eec-post__cuerpo figure{ margin:1.8em 0 0; }
.eec-post__cuerpo figcaption{ margin-top:.5em; font-size:14px; color:var(--muted); text-align:center; }
.eec-post__cuerpo hr{ border:0; height:1px; background:var(--border); margin:2.4em 0; }
/* tablas: se desplazan en móvil sin romper la página */
.eec-post__cuerpo .wp-block-table{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.eec-post__cuerpo table{ width:100%; border-collapse:collapse; font-size:15px; line-height:1.5; min-width:32rem; }
.eec-post .eec-post__cuerpo th, .eec-post .eec-post__cuerpo td{ padding:.7rem .85rem; border:0 !important; border-bottom:1px solid var(--border) !important; text-align:left; vertical-align:top; font-size:15px; line-height:1.5 !important; }
.eec-post .eec-post__cuerpo thead th{ background:var(--navy); color:#fff !important; font-family:var(--font-d) !important; font-weight:600; border-bottom:0 !important; }
.eec-post .eec-post__cuerpo table{ border:0; margin:0; }
.eec-post__cuerpo thead th:first-child{ border-top-left-radius:10px; }
.eec-post__cuerpo thead th:last-child{ border-top-right-radius:10px; }
.eec-post__cuerpo tbody tr:nth-child(even){ background:var(--surface); }
/* citas y destacados */
.eec-post__cuerpo blockquote, .eec-post__cuerpo .wp-block-quote, .eec-post__cuerpo .wp-block-pullquote{
  margin:1.8em 0 0; padding:1.1rem 1.3rem; border:0; border-left:4px solid var(--orange); border-radius:0 12px 12px 0; background:var(--orange-tint);
  font-size:1.08em; color:var(--navy);
}
.eec-post__cuerpo blockquote p{ margin:0; }
.eec-post__cuerpo blockquote cite{ display:block; margin-top:.5em; font-size:14px; font-style:normal; color:var(--muted); }

/* ---------- cajas destacadas (estilos del bloque Grupo) ---------- */
.eec-post__cuerpo .wp-block-group[class*="is-style-eec-"], .editor-styles-wrapper .wp-block-group[class*="is-style-eec-"]{
  margin:1.8em 0 0; padding:1.15rem 1.3rem 1.2rem; border-radius:14px; border:1px solid var(--border); border-left-width:5px;
  font-size:16px; line-height:1.65;
}
.wp-block-group[class*="is-style-eec-"] > * + *{ margin-top:.6em; }
.wp-block-group[class*="is-style-eec-"] p{ margin:0; }
.eec-post .eec-post__cuerpo .wp-block-group[class*="is-style-eec-"] p,
.eec-post .eec-post__cuerpo .wp-block-group[class*="is-style-eec-"] li{ font-size:16px; line-height:1.65 !important; }
.eec-post .eec-post__cuerpo .is-style-eec-profesional p, .eec-post .eec-post__cuerpo .is-style-eec-profesional li{ color:#e8eef5 !important; }
.wp-block-group[class*="is-style-eec-"] ul{ margin:.5em 0 0; }
.wp-block-group[class*="is-style-eec-"] .eec-caja__titulo, .eec-post .eec-post__cuerpo .wp-block-group[class*="is-style-eec-"] p.eec-caja__titulo{
  display:flex; align-items:center; gap:.5rem; margin:0 0 .45rem; font-family:'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-weight:700 !important; font-size:14px !important; line-height:1.3 !important; letter-spacing:.06em; text-transform:uppercase;
}
.wp-block-group[class*="is-style-eec-"] .eec-caja__titulo::before{ font-family:'Material Symbols Outlined'; font-size:20px; letter-spacing:0; text-transform:none; font-weight:400; line-height:1; }
/* En pocas palabras */
.wp-block-group.is-style-eec-resumen{ background:#F5F7F9; border-color:#E3E7EC; border-left-color:#142335; }
.eec-post .wp-block-group.is-style-eec-resumen .eec-caja__titulo, .wp-block-group.is-style-eec-resumen .eec-caja__titulo{ color:#142335 !important; }
.wp-block-group.is-style-eec-resumen .eec-caja__titulo::before{ content:'summarize'; }
/* Importante (seguridad) */
.wp-block-group.is-style-eec-importante{ background:#FFF4E6; border-color:#f6d3ad; border-left-color:#b35c00; }
.eec-post .wp-block-group.is-style-eec-importante .eec-caja__titulo, .wp-block-group.is-style-eec-importante .eec-caja__titulo{ color:#944b00 !important; }
.wp-block-group.is-style-eec-importante .eec-caja__titulo::before{ content:'warning'; }
/* Consejo del electricista */
.wp-block-group.is-style-eec-consejo{ background:#EAF2FB; border-color:#cfe0f3; border-left-color:#2f6db5; }
.eec-post .wp-block-group.is-style-eec-consejo .eec-caja__titulo, .wp-block-group.is-style-eec-consejo .eec-caja__titulo{ color:#1f4f86 !important; }
.wp-block-group.is-style-eec-consejo .eec-caja__titulo::before{ content:'tips_and_updates'; }
/* Cuándo llamar a un profesional */
.wp-block-group.is-style-eec-profesional{ background:#142335; border-color:#142335; border-left-color:#F67F04; color:#e8eef5; }
.eec-post .wp-block-group.is-style-eec-profesional .eec-caja__titulo, .wp-block-group.is-style-eec-profesional .eec-caja__titulo{ color:#F67F04 !important; }
.wp-block-group.is-style-eec-profesional .eec-caja__titulo::before{ content:'engineering'; }
.wp-block-group.is-style-eec-profesional strong{ color:#fff; }
.wp-block-group.is-style-eec-profesional a{ color:#ffd3a3; }

/* ---------- CTA ---------- */
.eec-cta{
  display:grid; gap:1rem 2rem; align-items:center; margin:2.2em 0 0; padding:1.5rem 1.6rem; border-radius:16px;
  background:var(--navy) radial-gradient(600px 260px at 100% 0%, rgba(246,127,4,.2), transparent 60%); color:#fff;
  font-family:var(--font-b);
}
@media (min-width:720px){ .eec-cta{ grid-template-columns:1fr auto; } }
.eec-cta__eyebrow{ margin:0 0 .35rem !important; font-family:var(--font-d); font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--orange); }
.eec-cta__titulo{ margin:0 !important; font-family:var(--font-d); font-weight:700; font-size:clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height:1.25; color:#fff; letter-spacing:-.01em; }
.eec-cta__texto{ margin:.45rem 0 0 !important; font-size:15px; line-height:1.6; color:var(--mist); }
.eec-post .eec-post__cuerpo .eec-cta p.eec-cta__eyebrow{ color:var(--orange) !important; font-family:var(--font-d) !important; font-size:12px; line-height:1.4 !important; font-weight:700 !important; }
.eec-post .eec-post__cuerpo .eec-cta p.eec-cta__titulo{ color:#fff !important; font-family:var(--font-d) !important; font-size:clamp(1.2rem, 1.05rem + .6vw, 1.45rem); line-height:1.25 !important; font-weight:700; }
.eec-cta--medio{ grid-template-columns:1fr !important; }
.eec-cta__botones{ display:flex; flex-wrap:wrap; gap:.6rem; }
.eec-cta__tel{ grid-column:1 / -1; margin:0 !important; font-size:14px; color:var(--mist); }
.eec-cta__tel a{ color:#fff !important; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.eec-post a.eec-boton, .eec-boton{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem; min-height:46px; padding:.8rem 1.25rem;
  border-radius:10px; border:1.5px solid transparent; font-family:var(--font-d); font-weight:700; font-size:15px; line-height:1;
  text-decoration:none !important; cursor:pointer; transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.eec-boton:hover{ transform:translateY(-1px); }
.eec-boton:focus-visible{ outline:3px solid #fff; outline-offset:2px; }
.eec-boton--primario{ background:var(--orange-deep); color:#fff !important; }
.eec-boton--primario:hover{ background:var(--orange-dark); }
.eec-boton--whatsapp{ background:#fff; color:var(--navy) !important; border-color:#fff; }
.eec-boton--whatsapp svg{ width:18px; height:18px; fill:#128C7E; }
.eec-boton--whatsapp:hover{ background:#eef7f4; }
.eec-cta--medio{ margin:2.2em 0 .4em; }

/* ---------- compartir y autor ---------- */
.eec-compartir{ display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin:2.6rem 0 0; padding-top:1.4rem; border-top:1px solid var(--border); font-size:14px; }
.eec-compartir__titulo{ margin:0 .3rem 0 0; font-family:var(--font-d); font-weight:700; color:var(--navy); }
.eec-compartir a, .eec-compartir button{
  display:inline-flex; align-items:center; gap:.4rem; min-height:40px; padding:.5rem .85rem; border:1px solid var(--border); border-radius:999px;
  background:#fff; color:var(--navy); font:600 14px/1 var(--font-b); text-decoration:none; cursor:pointer;
}
.eec-compartir a:hover, .eec-compartir button:hover, .eec-compartir a:focus-visible, .eec-compartir button:focus-visible{ border-color:var(--navy); outline:none; box-shadow:0 0 0 2px rgba(20,35,53,.15); }
.eec-compartir svg{ width:16px; height:16px; fill:currentColor; }
.eec-autor{ display:flex; gap:1rem; align-items:flex-start; margin:1.8rem 0 0; padding:1.2rem 1.3rem; border:1px solid var(--border); border-radius:14px; background:var(--surface); }
.eec-autor img{ flex:0 0 56px; width:56px; height:56px; border-radius:14px; object-fit:contain; background:#fff; border:1px solid var(--border); padding:6px; }
.eec-autor__nombre{ margin:0; font-family:var(--font-d); font-weight:700; font-size:16px; color:var(--navy); }
.eec-autor__rol{ margin:.1rem 0 0; font-size:13px; color:var(--muted); }
.eec-autor__bio{ margin:.5rem 0 0; font-size:15px; line-height:1.6; color:var(--text); }
.eec-autor__bio a{ color:var(--orange-deep); }

/* ---------- CTA final, relacionados y servicios ---------- */
.eec-post__final{ padding:1rem var(--lado) 0; }
.eec-post__final .eec-cta{ max-width:74rem; margin:2.4rem auto 0; padding:2rem; }
.eec-rel{ padding:3.5rem var(--lado) 0; }
.eec-rel__head{ display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:.6rem 1rem; max-width:74rem; margin:0 auto 1.4rem; }
.eec-rel__titulo{ margin:0; font-family:var(--font-d); font-weight:700; font-size:clamp(1.4rem, 1.15rem + .9vw, 1.9rem); letter-spacing:-.02em; color:var(--navy); }
.eec-rel__head a{ font-size:14px; font-weight:600; color:var(--orange-deep); }
.eec-rel__grid{ display:grid; gap:1.2rem; max-width:74rem; margin:0 auto; padding:0; list-style:none; }
@media (min-width:720px){ .eec-rel__grid{ grid-template-columns:repeat(3, 1fr); } }
.eec-rel__card{ display:flex; flex-direction:column; height:100%; border:1px solid var(--border); border-radius:14px; overflow:hidden; background:#fff; transition:box-shadow .2s ease, transform .2s ease; }
.eec-rel__card:hover, .eec-rel__card:focus-within{ box-shadow:0 18px 36px -22px rgba(11,23,38,.45); transform:translateY(-2px); }
.eec-rel__card img{ display:block; width:100%; aspect-ratio:16 / 10; object-fit:cover; background:var(--surface); }
.eec-rel__body{ display:flex; flex-direction:column; gap:.45rem; padding:1rem 1.1rem 1.2rem; }
.eec-rel__cat{ font-family:var(--font-d); font-size:11.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--orange-deep); }
.eec-rel__card h3{ margin:0; font-family:var(--font-d); font-weight:700; font-size:1.08rem; line-height:1.3; color:var(--navy); }
.eec-rel__card h3 a{ color:inherit; text-decoration:none; }
.eec-rel__card h3 a::after{ content:''; position:absolute; inset:0; }
.eec-rel__card{ position:relative; }
.eec-rel__card h3 a:focus-visible{ outline:none; }
.eec-rel__card:focus-within{ outline:3px solid var(--orange-deep); outline-offset:2px; }
.eec-rel__card p{ margin:0; font-size:14.5px; line-height:1.55; color:var(--muted); }
.eec-servicios{ padding:3rem var(--lado) 4rem; }
.eec-servicios__box{ max-width:74rem; margin:0 auto; padding:1.4rem 1.5rem; border-radius:16px; background:var(--surface); border:1px solid var(--border); }
.eec-servicios__titulo{ margin:0 0 .9rem; font-family:var(--font-d); font-weight:700; font-size:1.1rem; color:var(--navy); }
.eec-servicios ul{ display:flex; flex-wrap:wrap; gap:.55rem; margin:0; padding:0; list-style:none; }
.eec-servicios a{ display:inline-flex; align-items:center; gap:.35rem; min-height:40px; padding:.55rem .95rem; border-radius:999px; background:#fff; border:1px solid var(--border); color:var(--navy); font-size:14.5px; font-weight:600; text-decoration:none; }
.eec-servicios a:hover, .eec-servicios a:focus-visible{ border-color:var(--orange-deep); color:var(--orange-deep); outline:none; }
.eec-servicios a.eec-servicios__todos{ background:var(--navy); color:#fff; border-color:var(--navy); }

@media (max-width:600px){
  .eec-post__hero{ padding-top:1.8rem !important; padding-bottom:5.5rem !important; }
  .eec-post__imagen{ margin-top:-4rem; }
  .eec-post__foto{ border-radius:14px; }
  .eec-post__cuerpo{ font-size:16.5px; }
  .eec-cta{ padding:1.3rem 1.2rem; }
  .eec-cta__botones .eec-boton{ flex:1 1 100%; }
}
@media (prefers-reduced-motion:reduce){ .eec-post *, .eec-post *::before{ transition:none !important; } }

/* ---------- página del blog y categorías (plantilla de archivo) ---------- */
.eec-lista__hero{
  background:var(--navy) radial-gradient(900px 420px at 85% -20%, rgba(246,127,4,.18), transparent 60%);
  color:#fff; padding:2.6rem var(--lado) 3rem;
}
.eec-lista__hero > *{ max-width:52rem; }
.eec-lista__hero .eec-post__cat{ color:var(--orange); }
.eec-lista__titulo{
  font-family:var(--font-d); font-weight:700; color:#fff; margin:0;
  font-size:clamp(2rem, 1.25rem + 2.6vw, 3.1rem); line-height:1.1; letter-spacing:-.03em; text-wrap:balance;
}
.eec-lista__cats{ margin-top:1.6rem; }
.eec-lista__cats ul{ display:flex; flex-wrap:wrap; gap:.5rem; margin:0; padding:0; list-style:none; }
.eec-lista__cats a{
  display:inline-block; padding:.45rem .95rem; border-radius:999px; border:1px solid rgba(201,213,228,.35);
  color:#fff; text-decoration:none; font-size:14px; font-weight:600; transition:background .15s ease, border-color .15s ease;
}
.eec-lista__cats a:hover, .eec-lista__cats a:focus-visible{ border-color:var(--orange); }
.eec-lista__cats a:focus-visible{ outline:3px solid var(--orange); outline-offset:2px; }
.eec-lista__cats a[aria-current="page"]{ background:var(--orange-deep); border-color:var(--orange-deep); }
.eec-lista{ padding:2.8rem var(--lado) 0; }
.eec-lista__grid{ row-gap:1.6rem; }
.eec-lista .eec-rel__card h2{ margin:0; font-family:var(--font-d); font-weight:700; font-size:1.12rem; line-height:1.3; color:var(--navy); text-wrap:balance; }
.eec-lista .eec-rel__card h2 a{ color:inherit; text-decoration:none; }
.eec-lista .eec-rel__card h2 a::after{ content:''; position:absolute; inset:0; }
.eec-lista .eec-rel__card h2 a:focus-visible{ outline:none; }
.eec-lista .eec-rel__body{ flex:1; }
.eec-lista .eec-rel__card p.eec-lista__meta{ margin-top:auto; padding-top:.4rem; font-size:13px; color:var(--muted); }
.eec-lista__vacio{ max-width:74rem; margin:0 auto; padding:1.6rem; border:1px dashed var(--mist-2); border-radius:14px; background:var(--surface); font-size:16px; line-height:1.6; }
.eec-lista__vacio a{ color:var(--orange-deep); font-weight:600; }
.eec-lista__pag{ max-width:74rem; margin:2.2rem auto 0; }
.eec-lista__pag ul{ display:flex; flex-wrap:wrap; justify-content:center; gap:.4rem; margin:0; padding:0; list-style:none; }
.eec-lista__pag a, .eec-lista__pag span{
  display:inline-flex; align-items:center; justify-content:center; min-width:2.6rem; height:2.6rem; padding:0 .8rem;
  border:1px solid var(--border); border-radius:10px; color:var(--navy); text-decoration:none; font-weight:600; font-variant-numeric:tabular-nums;
}
.eec-lista__pag a:hover, .eec-lista__pag a:focus-visible{ border-color:var(--orange-deep); color:var(--orange-deep); }
.eec-lista__pag .current{ background:var(--navy); border-color:var(--navy); color:#fff; }
.eec-lista-plantilla .eec-post__final .eec-cta{ margin-bottom:3.5rem; }
@media (max-width:600px){ .eec-lista__hero{ padding-top:1.8rem; padding-bottom:2.4rem; } .eec-lista{ padding-top:2rem; } }
