/* LeyREP — pulido del diseño actual. Solo detalles: el aspecto del sitio no cambia. */

/* Texto para lectores de pantalla y buscadores. */
.lrs-vh {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* H1 de la portada: mismo aspecto que el título de la tarjeta (antes H3). */
#bento-rep-container .is-law-rep h1.lrs-h1-card {
	margin: 0 0 14px;
	padding: 0;
	color: var(--rep-text-dark, #1a1c1e);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: clamp(1.05rem, 1.45vw, 1.3rem);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.12;
	text-transform: uppercase;
}
#bento-rep-container .is-law-rep h1.lrs-h1-card > span:not(.lrs-vh) {
	display: block;
	margin-block-start: 4px;
	font-size: .92em;
}

/* Foco visible solo con teclado, en el verde de la marca (se ve sobre fondo claro y oscuro). */
:is(a, button, summary, [role="button"], [tabindex]:not([tabindex="-1"])):focus-visible {
	outline: 2px solid #74b852 !important;
	outline-offset: 3px !important;
}

/* Desplazamiento suave a anclas, sin que el título quede pegado al borde. */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
:target { scroll-margin-top: 24px; }

/* Títulos sin palabras sueltas en la última línea. */
:where(h1, h2, h3, .elementor-heading-title) { text-wrap: balance; }
:where(p, li, figcaption) { text-wrap: pretty; }

/* Selección y toque con los colores del sitio. */
::selection { background: rgba(116, 184, 82, .28); }
html { -webkit-tap-highlight-color: rgba(59, 104, 144, .12); }

/* Transición entre páginas más ágil (era 0,5 s al salir y otros 0,5 s al entrar). */
e-page-transition {
	--e-page-transition-animation-duration: 240ms !important;
	--preloader-fade-duration: 160ms !important;
}

/* Movimiento reducido: sin transiciones de página ni cinta animada. */
@media (prefers-reduced-motion: reduce) {
	e-page-transition { display: none !important; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* El buscador AJAX anterior queda reemplazado por el de LeyREP. */
.wpr-data-fetch { display: none !important; }

/*
 * Móvil: Elementor pone «ajuste de línea» en todos sus contenedores. En los que van en columna,
 * Chrome calcula la altura de un bloque HTML largo como si midiera su ancho mínimo: el artículo
 * quedaba con ~300.000 px de alto (un enorme espacio en blanco tras el texto). Con ancho completo
 * explícito la altura vuelve a ser la real. No cambia nada en escritorio.
 */
@media (max-width: 767px) {
	.e-con .elementor-widget-html:not([class*="elementor-widget__width-"]) { width: 100%; }
}

/*
 * Plantilla de entradas (Royal, 822): sus contenedores en columna tenían «ajuste de línea».
 * En Chrome eso hacía que en móvil el bloque del artículo midiera hasta 300.000 px de alto
 * (un gran espacio en blanco) y que los comentarios quedaran a la derecha, fuera de la pantalla.
 */
.elementor-element-469e2b16,
.elementor-element-4c311cf2,
.elementor-element-738d6c26 {
	--flex-wrap: nowrap !important;
	--flex-wrap-mobile: nowrap !important;
	--flex-wrap-tablet: nowrap !important;
}
@media (max-width: 1024px) {
	.elementor-element-2780f578 {
		--flex-wrap: nowrap !important;
		--flex-wrap-mobile: nowrap !important;
		--flex-wrap-tablet: nowrap !important;
	}
}

/* Reglas de botones de Royal que se usan en el sitio (el archivo completo de animaciones ya no se carga). */
.wpr-button-none:before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; }
.wpr-button-none:hover:before, .wpr-button-none:focus:before { opacity: 1; }
.wpr-button-effect, .wpr-button-effect span, .wpr-button-effect::before, .wpr-button-effect::after { transition-property: all; }
.wpr-button-effect::after { text-align: center; }

/* ───────── Artículos (plantilla rep-entry): piezas del contenido actualizado ───────── */
#rep-entry > h3,
#rep-entry > ul,
#rep-entry > .entry-faq {
	max-width: 720px;
	margin-inline: auto;
}
#rep-entry > h3,
#rep-entry .entry-faq h3 {
	margin-block: 28px 10px;
	color: var(--rep-ink, #16324b);
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	font-weight: 750;
	letter-spacing: -0.015em;
	line-height: 1.3;
	text-wrap: balance;
}
#rep-entry .entry-note__title { margin: 0 0 6px; color: var(--rep-ink, #16324b); }
#rep-entry .entry-note ul,
#rep-entry .entry-note ol { display: grid; gap: 6px; margin: 8px 0 0; padding-inline-start: 1.15rem; text-align: left; }
#rep-entry .entry-note p + p { margin-top: 8px; }
#rep-entry .entry-note--keypoints { text-align: left; }
#rep-entry .entry-note--keypoints .entry-note__title { text-align: center; }
#rep-entry .entry-faq { margin-block: 40px 8px; }
#rep-entry .entry-faq h3 { margin-block: 22px 6px; }
#rep-entry .entry-faq p { margin: 0 0 10px; }
#rep-entry .entry-table-wrap:focus-visible { outline-offset: 2px; }

/* Vista previa de páginas que se actualizan a mano. */
.lrs-updp { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; color: #222; font: 400 17px/1.7 Inter, system-ui, sans-serif; }
.lrs-updp h1 { margin: 0 0 10px; color: #16324b; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.lrs-updp .lrs-updp__lead { margin: 0 0 26px; color: #4a5560; font-size: 1.08rem; }
.lrs-updp h2 { margin: 40px 0 12px; color: #16324b; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.lrs-updp h3 { margin: 26px 0 8px; color: #16324b; font-size: 1.15rem; font-weight: 750; }
.lrs-updp a { color: #3b6890; text-decoration: underline; text-underline-offset: .18em; }
.lrs-updp table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.lrs-updp th, .lrs-updp td { padding: 9px 10px; border-bottom: 1px solid #e8e8e8; text-align: left; vertical-align: top; }
.lrs-updp th { background: #eef4f9; color: #16324b; }
.lrs-updp figure { margin: 26px 0; }
.lrs-updp img { max-width: 100%; height: auto; border-radius: 18px; }
.lrs-updp .lrs-box { margin: 24px 0; padding: 16px 20px; border: 1px solid #e3e9ee; border-radius: 16px; background: #f5f8fa; }
.lrs-updp .lrs-box--keypoints, .lrs-updp .lrs-box--tip { border-color: #dcebd3; background: #f3f9ef; }
.lrs-updp .lrs-box--deadline { border-color: #dcebd3; background: #f0f7ed; }
.lrs-updp .lrs-box--warning { border-color: #f6dcc4; background: #fff8f1; }
.lrs-updp .lrs-box__title { margin: 0 0 6px; color: #16324b; font-weight: 800; }
.lrs-updp .lrs-cta { display: none; }

/* ───────── Páginas de Elementor: texto actualizado (mismos estilos que los widgets originales) ───────── */
.lrs-upd-text { color: #585858; font-size: 16px; line-height: 24px; }
.lrs-upd-text > :first-child { margin-top: 0; }
.lrs-upd-text p { margin: 0 0 14.4px; }
.lrs-upd-text h2 {
	margin: 44px 0 20px;
	color: #303030;
	font-family: Inter, sans-serif;
	font-size: 27px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}
.lrs-upd-text h3 { margin: 28px 0 10px; color: #303030; font-family: Inter, sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; }
.lrs-upd-text ul, .lrs-upd-text ol { margin: 0 0 14.4px; padding-inline-start: 1.25rem; }
.lrs-upd-text li { margin-bottom: 6px; }
.lrs-upd-text a { color: #3b6890; text-decoration: underline; text-underline-offset: .18em; }
.lrs-upd-text strong { color: #303030; }
.lrs-upd-text .lrs-upd-table { margin: 22px 0; overflow-x: auto; border: 1px solid #e6e6e6; border-radius: 12px; }
.lrs-upd-text table { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.lrs-upd-text th, .lrs-upd-text td { padding: 10px 12px; border: 0; border-bottom: 1px solid #ececec; text-align: left; vertical-align: top; }
.lrs-upd-text tr:last-child td { border-bottom: 0; }
.lrs-upd-text th { background: #f3f6f8; color: #303030; font-weight: 700; }
.lrs-upd-text .lrs-box { margin: 24px 0; padding: 16px 20px; border: 1px solid #e3e9ee; border-radius: 16px; background: #f5f8fa; }
.lrs-upd-text .lrs-box > :last-child { margin-bottom: 0; }
.lrs-upd-text .lrs-box--keypoints, .lrs-upd-text .lrs-box--tip { border-color: #dcebd3; background: #f3f9ef; }
.lrs-upd-text .lrs-box--deadline { border-color: #dcebd3; background: #f0f7ed; }
.lrs-upd-text .lrs-box--warning { border-color: #f6dcc4; background: #fff8f1; }
.lrs-upd-text .lrs-box__title { margin: 0 0 8px; color: #303030; font-weight: 700; }
.lrs-upd-text .lrs-upd-figure { margin: 26px 0; }
.lrs-upd-text .lrs-upd-figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.lrs-upd-text figcaption { margin-top: 8px; color: #7a7a7a; font-size: 14px; text-align: center; }
.lrs-upd-text .lrs-upd-faq h3 { margin-top: 22px; }
.lrs-upd-text .lrs-upd-sources { margin-top: 36px; padding-top: 18px; border-top: 1px solid #ececec; font-size: 14px; line-height: 1.5; }
.lrs-upd-text .lrs-upd-sources h2 { font-size: 18px; }
@media (max-width: 767px) {
	.lrs-upd-text h2 { margin-top: 36px; font-size: 22px; }
	.lrs-upd-text table { font-size: 14px; }
	.lrs-upd-text .lrs-box { padding: 14px 16px; }
}

/* ───────── Pulido visual 1.3: líneas, esquinas y colores de la marca ───────── */

/* Pie: sin rayas bajo los títulos; separadores del menú y del cierre casi invisibles. */
.elementor-element-3d6de7f, .elementor-element-831c583, .elementor-element-2438524 { display: none !important; }
.elementor-element-89c2fa9 .elementor-divider-separator { border-top-color: rgba(255, 255, 255, .08) !important; }
.elementor-element-761d98c .elementor-divider-separator { border-top-color: rgba(255, 255, 255, .1) !important; }
/* Portada: la raya negra entre el pódcast y el cierre pasa a una línea fina del tono de la página. */
.elementor-element-c246597 .elementor-divider-separator { border-top-color: #e4e7eb !important; }

/* Menú desplegable: tarjetas con esquinas concéntricas al panel. */
.rep-mega-dropdown .rep-dropdown-card { border-radius: 10px; }

/* Ayuda urgente: rojo menos estridente, mismo mensaje. */
.urgent-card { background: #d93a32 !important; }
.urgent-card.urgent-card-active-anim { box-shadow: 0 6px 16px rgba(217, 58, 50, .28); }

/* Esquinas continuas (estilo iOS) donde el navegador lo permite; el radio se ajusta para que el tamaño aparente no cambie. */
@supports (corner-shape: squircle) {
	.bento-card, .rep-card, .rep-hero-compact, .rep-mega-dropdown, #leyrep-news-design-rail .rep-rail-link, .lrs-card {
		corner-shape: superellipse(1.6);
	}
}

/* ───────── Lectura de noticias (plantilla rep-entry) ───────── */
#rep-entry.rep-entry-article > p:not(.article-main-lead):not(.entry-note),
#rep-entry.rep-entry-article > ul,
#rep-entry.rep-entry-article > ol {
	max-width: 680px;
	color: #222d34;
	font-size: 1.0625rem;
	line-height: 1.72;
	letter-spacing: -.003em;
}
#rep-entry.rep-entry-article > ul,
#rep-entry.rep-entry-article > ol { display: grid; gap: 8px; margin: 0 auto 24px; padding-inline-start: 1.3rem; }
#rep-entry.rep-entry-article li::marker { color: #74b852; }
#rep-entry.rep-entry-article > ol > li::marker { color: #3a6825; font-weight: 700; }
#rep-entry.rep-entry-article > h2 { margin-block: 52px 16px; }
#rep-entry.rep-entry-article > h2 + p { margin-top: 0; }
#rep-entry.rep-entry-article .article-main-lead { color: #46545d; }
#rep-entry.rep-entry-article :is(.entry-figure, figure) img { border-radius: 18px; }
#rep-entry.rep-entry-article figcaption { margin-top: 10px; color: #6b7780; font-size: .875rem; line-height: 1.45; text-align: center; }

/* Notas: superficie suave sin barra lateral de color. */
#rep-entry.rep-entry-article .entry-note {
	max-width: 680px;
	padding: 18px 22px;
	border: 1px solid #e3e9ee;
	border-radius: 16px;
	background: #f5f8fa;
	color: #2c3a43;
	font-size: .97rem;
	line-height: 1.62;
	text-align: left;
}
#rep-entry.rep-entry-article .entry-note:is(.entry-note--keypoints, .entry-note--tip, .entry-note--deadline) { border-color: #dcebd3; background: #f3f9ef; }
#rep-entry.rep-entry-article .entry-note--warning { border-color: #f6dcc4; background: #fff8f1; }
#rep-entry.rep-entry-article .entry-note a { color: #2f5677; }

/* Fuentes: lista sobria, título sin mayúsculas forzadas. */
#rep-entry.rep-entry-article .entry-sources { max-width: 680px; border-block-start-color: #e7ebef; }
#rep-entry.rep-entry-article .entry-sources :is(h2, h3, p:first-child, .entry-sources__title) {
	color: #46545d;
	font-size: .95rem;
	font-weight: 650;
	letter-spacing: -.005em;
	text-transform: none;
}

/* Llamado final: tarjeta tranquila en vez de rayas verdes. */
#rep-entry.rep-entry-article .entry-cta {
	max-width: 680px;
	margin-block-start: 44px;
	padding: 28px 28px 30px;
	border: 0;
	border-radius: 22px;
	background: #f0f7ed;
}
#rep-entry.rep-entry-article .entry-cta .cta-btn { border-radius: 999px; }

/* Noticias recientes al cierre: sin antetítulo ni raya de color. */
#rep-entry.rep-entry-article .rep-recent-news { border-top: 0; padding-top: 8px; }
#rep-entry.rep-entry-article .rep-recent-news__eyebrow { display: none; }
#rep-entry.rep-entry-article .rep-recent-news__heading { justify-content: flex-start; }

/* Formulario de comentarios (plantilla de entradas): campos claros y botón redondeado. */
.wpr-comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
	width: 100%;
	padding: 12px 14px !important;
	border: 1px solid #d5dde4 !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: #1a1c1e !important;
	font: 400 16px/1.5 Inter, system-ui, sans-serif !important;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.wpr-comment-form :is(input[type="text"], input[type="email"], textarea):focus {
	border-color: #3b6890 !important;
	outline: 0;
	box-shadow: 0 0 0 4px rgba(59, 104, 144, .14);
}
.wpr-comment-form label { color: #46545d !important; font: 600 14px/1.4 Inter, system-ui, sans-serif !important; }
.wpr-comment-form .wpr-submit-comment {
	padding: 12px 26px !important;
	border: 0 !important;
	border-radius: 999px !important;
	font: 600 15px/1 Inter, system-ui, sans-serif !important;
	transition: transform .2s cubic-bezier(.2, .8, .2, 1), filter .2s ease;
}
.wpr-comment-form .wpr-submit-comment:hover { filter: brightness(.95); }
.wpr-comment-form .wpr-submit-comment:active { transform: scale(.97); }
.wpr-comment-reply-title { color: #16324b !important; font: 700 1.25rem/1.3 Inter, system-ui, sans-serif !important; letter-spacing: -.015em; }
/* Comentarios: 160 px de aire arriba y abajo dejaban el formulario aislado del artículo. */
.elementor-element-738d6c26 { margin-block: 56px 80px !important; }
@media (max-width: 767px) { .elementor-element-738d6c26 { margin-block: 40px 56px !important; } }

/* Rejillas de noticias (Royal): misma tipografía del sitio, imagen sin contorno gris y botón redondeado. */
.wpr-grid-item-title, .wpr-grid-item-title a { font-family: Inter, system-ui, -apple-system, sans-serif !important; letter-spacing: -.012em; }
.wpr-grid-image-wrap { border: 0 !important; border-radius: 24px !important; box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .06); }
.wpr-grid-image-wrap img { border-radius: inherit; }
.wpr-grid-item-read-more a.wpr-button-effect {
	border-radius: 999px !important;
	font-family: Inter, system-ui, sans-serif !important;
	font-weight: 600 !important;
	transition: transform .2s cubic-bezier(.2, .8, .2, 1), filter .2s ease, background-color .2s ease;
}
.wpr-grid-item-read-more a.wpr-button-effect:active { transform: scale(.97); }
.wpr-grid-media-wrap img { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .wpr-grid-item:hover .wpr-grid-media-wrap img { transform: scale(1.025); } }

/* Buscador de la cabecera: campo y botón con la misma curva, foco suave. */
.wpr-search-form-input { transition: border-color .2s ease, box-shadow .2s ease !important; }
.wpr-search-form-input:focus { border-color: #74b852 !important; box-shadow: 0 0 0 4px rgba(116, 184, 82, .16) !important; outline: 0 !important; }
.wpr-search-form-submit { border-radius: 999px !important; transition: filter .2s ease, transform .2s cubic-bezier(.2, .8, .2, 1) !important; }
.wpr-search-form-submit:hover { filter: brightness(.95); }
.wpr-search-form-submit:active { transform: scale(.94); }

/* Biblioteca: el bloque subía 144 px y el título quedaba bajo la cabecera, pegado al buscador. */
.elementor-element-efcef25 { margin-top: 0 !important; }
/* Título del formulario de comentarios: sin el margen superior de Royal (dejaba un hueco dentro de la tarjeta). */
.wpr-comments-wrap .wpr-comment-reply-title { margin-top: 0 !important; }
.wpr-comments-wrap .comment-respond { padding-top: 6px; }
/* Portada en móvil: Elementor compensaba con márgenes negativos (−1471 px y −130 px) el espacio en blanco que
   dejaban los contenedores con «ajuste de línea». Sin ese espacio (arreglo de la 1.2), las secciones se montaban
   sobre la tarjeta destacada y tapaban «Leer noticia». Se apilan con una separación normal. */
@media (max-width: 767px) {
	.elementor-860 .elementor-element.elementor-element-7b35df7 { --margin-top: 8px; }
	.elementor-860 .elementor-element.elementor-element-f49e05c { --margin-top: 24px; }
	/* Noticia «Nuevo decreto AEE»: su margen de −155 px dejaba las migas de pan bajo el buscador (ocurre hoy en vivo). */
	.elementor-2885 .elementor-element.elementor-element-d23b184 { --margin-top: -94px; }
}

/* ───────── 1.4 · Lectura de noticias ───────── */

/* Título: un punto menos de peso y letras menos apretadas; sigue igual de firme y se lee mejor. */
#rep-entry.rep-entry-article .article-main-title {
	font-weight: 750;
	letter-spacing: -.032em;
	line-height: 1.1;
}
#rep-entry.rep-entry-article .article-main-lead { color: #3d4a52; }
#rep-entry.rep-entry-article :is(.entry-nav, .entry-meta) { font-size: .8125rem; }

/* Subtítulos alineados con el texto que encabezan (estaban centrados sobre párrafos alineados a la izquierda). */
#rep-entry.rep-entry-article > h2 {
	max-width: 680px;
	color: #16242f;
	font-size: clamp(1.375rem, 2.2vw, 1.6875rem);
	font-weight: 720;
	letter-spacing: -.022em;
	line-height: 1.22;
	text-align: left;
}
#rep-entry.rep-entry-article > h3 { max-width: 680px; font-weight: 680; text-align: left; }
#rep-entry.rep-entry-article > :is(h2, h3) + :is(ul, ol) { margin-top: 0; }

/* Enlaces del texto: subrayado fino que se marca al pasar el cursor. */
#rep-entry.rep-entry-article :is(p, li) a:not(.cta-btn) {
	text-decoration-thickness: 1px;
	text-underline-offset: .22em;
	transition: text-decoration-color .2s ease, color .2s ease;
}

/* Fotos: mismo ancho que el texto, sin marco gris y con la esquina del resto del sitio. */
#rep-entry.rep-entry-article { --rep-image-max-inline: 680px; }
#rep-entry.rep-entry-article .entry-figure--support { --rep-image-max-inline: 680px; }
#rep-entry.rep-entry-article .entry-figure { margin-block: 32px 36px; }
#rep-entry.rep-entry-article .entry-image {
	border: 0 !important;
	border-radius: 18px;
	outline: 1px solid rgba(16, 24, 40, .06);
	outline-offset: -1px;
}
/* Fotos de apoyo (cuadradas): antes quedaban dentro de un marco más ancho que la foto, con franjas vacías.
   Se muestran a todo el ancho, recortadas al centro en 16:10, sobre un tono suave mientras cargan. */
#rep-entry.rep-entry-article .entry-figure--support .entry-image {
	aspect-ratio: 16 / 10 !important;
	max-height: none !important;
	object-fit: cover !important;
	background: #eef2f5 !important;
}
#rep-entry.rep-entry-article :is(.entry-caption, figcaption) {
	margin: 10px 2px 0;
	color: #66727b;
	font-size: .8125rem;
	line-height: 1.5;
	text-align: left;
}

/* Fuentes consultadas: alineadas con el texto. */
#rep-entry.rep-entry-article .entry-sources,
#rep-entry.rep-entry-article .entry-sources :is(h2, h3, p, ul, ol, .sources-heading) { text-align: left; }

@media (max-width: 767px) {
	#rep-entry.rep-entry-article > h2 { margin-block: 40px 12px; }
	#rep-entry.rep-entry-article .entry-figure { margin-block: 26px 28px; }
	#rep-entry.rep-entry-article .entry-image { border-radius: 14px; }
}

/* ───────── 1.4 · Menú y buscador de la cabecera ───────── */

/* Menú: mayúscula inicial en vez de todo en mayúsculas, sin las rayitas entre opciones. */
.rep-navbar-floating .rep-nav-link {
	font-size: .875rem;
	font-weight: 600;
	letter-spacing: -.006em;
	text-transform: none;
}
.rep-navbar-floating .rep-nav-link.rep-btn-cta-blue { font-weight: 650; }
.rep-navbar-floating .rep-more-link { font-weight: 600; letter-spacing: -.006em; text-transform: none; }
/* En los resultados de búsqueda (dirección «/?s=…») el menú marcaba «Inicio» como página actual. */
body.search .rep-navbar-floating .rep-nav-item.active:not(:hover) .rep-nav-link { background-color: transparent; color: inherit; }
.rep-navbar-floating .rep-nav-item:not(:last-child)::after { display: none; }
.rep-navbar-floating .rep-nav-menu { column-gap: 6px; }
@media (min-width: 769px) and (max-width: 1080px) {
	.rep-navbar-floating .rep-nav-link { font-size: .8125rem; }
	.rep-navbar-floating .rep-nav-menu { column-gap: 2px; }
}
@media (max-width: 768px) {
	.rep-navbar-floating .rep-nav-link { font-size: .8125rem; letter-spacing: -.003em; }
}

/* Buscador: un solo campo con la lupa adentro (antes, campo y círculo verde separados). */
.elementor-element-4aac823 .wpr-search-form-input-wrap { position: relative; }
.elementor-element-4aac823 .wpr-search-form-input {
	width: 100% !important;
	height: 44px !important;
	min-height: 44px !important;
	padding: 0 50px 0 18px !important;
	border: 1px solid #dde3e8 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
	font: 400 15px/1.2 Inter, system-ui, -apple-system, sans-serif !important;
}
.elementor-element-4aac823 .wpr-search-form-input::placeholder { color: #8a959d !important; }
.elementor-element-4aac823 .wpr-search-form-submit {
	position: absolute !important;
	top: 4px;
	right: 4px;
	width: 36px;
	min-width: 0 !important;
	height: 36px;
	padding: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: #3a6825 !important;
	font-size: 15px;
}
.elementor-element-4aac823 .wpr-search-form-submit:hover { background: #f0f7ed !important; filter: none; }
.elementor-element-4aac823 .wpr-search-form-submit i { color: inherit !important; }

/* ───────── 1.4 · Página no encontrada ───────── */
body.error404 .elementor-503 .elementor-element.elementor-element-801f6d7 { display: none; }
body.error404 .elementor-503 .elementor-element.elementor-element-dd5c750 { --min-height: 0px; --padding-top: clamp(56px, 9vw, 120px); --padding-bottom: clamp(64px, 9vw, 120px); }
body.error404 .elementor-503 .elementor-element.elementor-element-a2572df .elementor-heading-title {
	color: #16324b !important;
	-webkit-text-stroke: 0 !important;
	font-family: Inter, system-ui, -apple-system, sans-serif !important;
	font-size: clamp(2rem, 4.4vw, 3.1rem) !important;
	font-weight: 750 !important;
	letter-spacing: -.032em;
	line-height: 1.08 !important;
	text-transform: none !important;
}
body.error404 .lrs-404-text {
	max-width: 34rem;
	margin: 14px auto 0;
	color: #46545d;
	font: 400 1.0625rem/1.6 Inter, system-ui, -apple-system, sans-serif;
	text-wrap: pretty;
}
body.error404 .lrs-404-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	max-width: 44rem;
	margin: 26px auto 0;
}
body.error404 .lrs-404-links a {
	padding: 9px 16px;
	border: 1px solid #e4e7eb;
	border-radius: 999px;
	background: #fff;
	color: #16324b;
	font: 500 .9375rem/1.2 Inter, system-ui, -apple-system, sans-serif;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s cubic-bezier(.32, .72, 0, 1);
}
body.error404 .lrs-404-links a:hover { border-color: #cfe3c4; background: #f0f7ed; color: #3a6825; }
body.error404 .lrs-404-links a:active { transform: scale(.97); }
body.error404 .elementor-503 .elementor-element.elementor-element-78a8be0 .wpr-button {
	padding: 13px 24px !important;
	border-radius: 999px !important;
	background: #3a6825 !important;
	transition: background-color .2s ease, transform .2s cubic-bezier(.32, .72, 0, 1) !important;
}
body.error404 .elementor-503 .elementor-element.elementor-element-78a8be0 .wpr-button::before,
body.error404 .elementor-503 .elementor-element.elementor-element-78a8be0 .wpr-button::after { background: transparent !important; }
body.error404 .elementor-503 .elementor-element.elementor-element-78a8be0 .wpr-button:hover { background: #2f561e !important; }
body.error404 .elementor-503 .elementor-element.elementor-element-78a8be0 .wpr-button:active { transform: scale(.97); }
body.error404 .elementor-503 .elementor-element.elementor-element-78a8be0 .wpr-button-text { font: 600 15px/1.2 Inter, system-ui, -apple-system, sans-serif !important; }
