/*
 * LeyREP Suite — modo sitio.
 * Copia fiel del diseño de Elementor del sitio (cabecera 214, pie 168, portada 860, noticias 180 y 404 503),
 * con los ajustes del pulido ya aplicados. Sin CSS de Elementor ni del tema Royal.
 * Colores de la marca como variables del panel (--lrs-*) con su valor de respaldo.
 */

/* ───────── Tipografía: Inter servida desde el propio sitio ───────── */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Algunos bloques pedían Montserrat, Poppins o Roboto: una sola familia en todo el sitio (igual que en el diseño anterior). */
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Poppins"; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Roboto"; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }

/* Variables internas de las vistas de búsqueda, biblioteca y documentos (no son colores del panel). */
:root {
	--lx-brand-25: #f5f8fc;
	--lx-brand-50: #edf3fa;
	--lx-brand-100: #dbe6f4;
	--lx-brand-200: #bdd0ea;
	--lx-brand-300: #8fb0da;
	--lx-brand-500: var(--lrs-blue, #3b6890);
	--lx-brand-600: var(--lrs-blue-700, #1d4f91);
	--lx-brand-700: #173f75;
	--lx-brand-800: #12325c;
	--lx-g-25: #fcfcfd;
	--lx-g-50: #f9fafb;
	--lx-g-100: #f2f4f7;
	--lx-g-200: #e4e7ec;
	--lx-g-300: #d0d5dd;
	--lx-g-400: #98a2b3;
	--lx-g-500: #667085;
	--lx-g-600: #475467;
	--lx-g-700: #344054;
	--lx-g-900: #101828;
	--lx-red-50: #fef3f2;
	--lx-red-100: #fee4e2;
	--lx-red-700: #b42318;
	--lx-wa-btn: #117a43;
	--lx-wa-btn-h: #0d6537;
	--lx-shadow-xs: 0 1px 2px rgb(16 24 40 / .05);
	--lx-shadow-sm: 0 1px 3px rgb(16 24 40 / .08), 0 1px 2px rgb(16 24 40 / .04);
	--lx-shadow-md: 0 4px 8px -2px rgb(16 24 40 / .08), 0 2px 4px -2px rgb(16 24 40 / .04);
	--lx-ring: 0 0 0 4px rgb(29 79 145 / .16);
	--lx-r-sm: 8px;
	--lx-r-md: 10px;
	--lx-r-lg: 12px;
	--lx-r-xl: 16px;
	--lx-r-2xl: 20px;
	--lx-r-full: 999px;
	--lx-ease: cubic-bezier(.22, 1, .36, 1);
	--lx-wrap: 1240px;
	--lx-gutter: clamp(16px, 4vw, 32px);
}

/* ───────── Base: lo que ponían el tema (Royal) y los colores de Ley REP ─────────
   Con :where() no pesan nada: cualquier regla de un componente manda sobre ellas. */
:where(html) { line-height: 1.15; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-optical-sizing: auto; }
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(body) {
	margin: 0;
	background-color: #fff;
	color: #333;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}
:where(h1, h2, h3, h4, h5, h6) { margin-top: .5rem; margin-bottom: 1rem; color: inherit; font-family: inherit; font-weight: 500; line-height: 1.2; }
:where(h1) { font-size: 2.5rem; }
:where(h2) { font-size: 2rem; }
:where(h3) { font-size: 1.75rem; }
:where(h4) { font-size: 1.5rem; }
:where(h5) { font-size: 1.25rem; }
:where(h6) { font-size: 1rem; }
:where(p) { margin-top: 0; margin-bottom: .9rem; }
:where(hr) { box-sizing: content-box; height: 0; overflow: visible; }
:where(a) { background-color: transparent; color: var(--lrs-blue, #3b6890); }
:where(a:hover, a:active) { color: #234763; }
:where(a:not([href]):not([tabindex])) { color: inherit; text-decoration: none; }
:where(b, strong) { font-weight: bolder; }
:where(small) { font-size: 80%; }
:where(sub, sup) { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; }
:where(sub) { bottom: -.25em; }
:where(sup) { top: -.5em; }
:where(img) { max-width: 100%; height: auto; border-style: none; }
:where(figcaption) { color: #333; font-size: 16px; font-style: italic; font-weight: 400; line-height: 1.4; }
:where(label) { display: inline-block; line-height: 1; vertical-align: middle; }
:where(button, input, optgroup, select, textarea) { margin: 0; font-family: inherit; font-size: 1rem; line-height: 1.5; }
:where(input[type="text"], input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="url"], select, textarea) {
	width: 100%;
	padding: .5rem 1rem;
	border: 1px solid #cdd5dc;
	border-radius: 10px;
	transition: all .54s;
}
:where(input[type="text"], input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="url"], select, textarea):focus {
	border-color: var(--lrs-blue, #3b6890);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(59, 104, 144, .16);
}
:where(button, [type="button"], [type="reset"], [type="submit"]) { width: auto; -webkit-appearance: button; }
:where(button, [type="submit"], [type="button"]) {
	display: inline-block;
	padding: .5rem 1rem;
	border: 1px solid var(--lrs-blue, #3b6890);
	border-radius: 10px;
	background-color: transparent;
	color: var(--lrs-blue, #3b6890);
	font-size: 1rem;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	user-select: none;
	transition: all .54s;
}
:where(button, [type="submit"], [type="button"]):hover { background-color: var(--lrs-blue, #3b6890); color: #fff; text-decoration: none; }
:where(button, [type="submit"], [type="button"]):not(:disabled) { cursor: pointer; }
:where(table) { width: 100%; margin-bottom: 15px; border-collapse: collapse; border-spacing: 0; background-color: transparent; font-size: .9em; }
:where(table th, table td) { padding: 15px; border: 1px solid #ccc; line-height: 1.5; vertical-align: top; }
:where(table th) { font-weight: bold; }
:where(table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th) { background-color: #f7f7f7; }
[hidden] { display: none; }

/* Enlaces de los bloques sin subrayado ni sombra, como hacía Elementor en todo su contenido (.elementor a). */
:is(.rep-site-header, .rep-home, .rep-news, .rep-404, .rep-footer, .urgent-card-container) a { box-shadow: none; text-decoration: none; }

/* ───────── Detalles generales (los del pulido) ───────── */
.lrs-vh,
.lrs-sr {
	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;
}
.lrs-skip {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 2147483647;
	padding: 10px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--lrs-navy, #16324b);
	box-shadow: 0 4px 16px rgba(16, 24, 40, .18);
	font: 600 14px/1.2 Inter, system-ui, -apple-system, sans-serif;
	text-decoration: none;
	transform: translateY(-160%);
	transition: transform .36s cubic-bezier(.2, .8, .2, 1);
}
.lrs-skip:focus { transform: none; }
.lrs-main { display: block; min-height: 50vh; outline: none; }
.lrs-sym { display: inline-block; flex: none; width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; }
.rep-ico { flex: none; width: 1.25em; height: 1.25em; fill: currentColor; }

/* 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 var(--lrs-green, #74b852) !important;
	outline-offset: 3px !important;
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
:target { scroll-margin-top: 24px; }
:where(h1, h2, h3) { text-wrap: balance; }
:where(p, li, figcaption) { text-wrap: pretty; }
::selection { background: rgba(116, 184, 82, .28); }
html { -webkit-tap-highlight-color: rgba(59, 104, 144, .12); }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ════════════════════════ Cabecera (plantilla 214) ════════════════════════ */
.rep-site-header { display: block; margin-top: -5px; }
html:root {--rep-canopy-bg: var(--lrs-blue, #3b6890); --rep-green: var(--lrs-green, #74b852); --rep-green-dark: var(--lrs-green-700, #3a6825); --rep-green-light: var(--lrs-green-50, #f0f7ed); --rep-blue: var(--lrs-blue, #3b6890); --rep-blue-dark: var(--lrs-blue-700, #1d4f91); --rep-blue-light: var(--lrs-blue-50, #eef4f9); --rep-text-main: var(--lrs-ink, #1a1c1e); --rep-text-muted: #555a60; --rep-white: #ffffff; --rep-border: rgba(0, 0, 0, 0.08); --rep-shadow-floating: 0 10px 28px -4px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(0, 0, 0, 0.06); --rep-shadow-dropdown: 0 16px 36px -6px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08); --rep-radius-pill: 9999px; --rep-radius-card: 16px; --rep-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); --ticker-speed: 140s;}
.rep-master-canopy {font-family: 'Inter', system-ui, -apple-system, sans-serif; background-color: var(--rep-canopy-bg); border-bottom-left-radius: 28px; border-bottom-right-radius: 28px; box-shadow: 0 12px 32px -8px rgba(35, 62, 84, 0.25); padding: 10px 16px 20px 16px; width: 100%; box-sizing: border-box; position: relative;}
.rep-master-canopy * {box-sizing: border-box;}
.rep-ticker-top-bar {position: relative; width: 100%; max-width: 1200px; margin: 0 auto 10px auto; padding: 0 8px;}
.rep-ticker-frame-transparent {position: relative; background: transparent; border: none; box-shadow: none; height: 38px; display: flex; align-items: center; overflow: hidden;}
.rep-ticker-viewport {position: relative; flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);}
.rep-ticker-track {display: flex; align-items: center; width: max-content; will-change: transform; animation: repTickerGlide var(--ticker-speed) linear infinite;}
.rep-ticker-frame-transparent:hover .rep-ticker-track, .rep-ticker-frame-transparent:focus-within .rep-ticker-track {animation-play-state: paused;}
@keyframes repTickerGlide {
	0% {transform: translateX(0);}
	100% {transform: translateX(-50%);}
}
.rep-ticker-group {display: inline-flex; align-items: center; gap: 32px; padding: 0 16px;}
.rep-ticker-item {display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: rgba(255, 255, 255, 0.9); font-size: 0.825rem; font-weight: 450; white-space: nowrap; padding: 4px 8px; border-radius: 6px; transition: color .27s cubic-bezier(.22, 1, .36, 1), background-color .27s cubic-bezier(.22, 1, .36, 1);}
.rep-ticker-item:hover {color: #ffffff; background-color: rgba(255, 255, 255, 0.12);}
.rep-ticker-item:focus-visible {outline: 2px solid #ffffff; outline-offset: 2px;}
.rep-item-icon {display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;}
.rep-item-icon svg {width: 14px; height: 14px; fill: currentColor;}
.icon-library {background: rgba(254, 243, 199, 0.22); color: #fef08a;}
.icon-electronics {background: rgba(219, 234, 254, 0.22); color: #bfdbfe;}
.icon-textiles {background: rgba(245, 243, 255, 0.22); color: #ddd6fe;}
.icon-packaging {background: rgba(204, 251, 241, 0.22); color: #99f6e4;}
.icon-batteries {background: rgba(255, 237, 213, 0.22); color: #fed7aa;}
.icon-retc {background: rgba(220, 252, 231, 0.22); color: #bbf7d0;}
.icon-oils {background: rgba(241, 245, 249, 0.22); color: #e2e8f0;}
.icon-tires {background: rgba(224, 242, 254, 0.22); color: #bae6fd;}
.icon-organics {background: rgba(236, 252, 203, 0.22); color: #d9f99d;}
.icon-systems {background: rgba(238, 242, 255, 0.22); color: #c7d2fe;}
.rep-item-tag {font-weight: 700; color: #ffffff;}
.rep-item-arrow {color: rgba(255, 255, 255, 0.65); font-size: 0.85rem; transition: transform .27s cubic-bezier(.22, 1, .36, 1), color .27s cubic-bezier(.22, 1, .36, 1);}
.rep-ticker-item:hover .rep-item-arrow {color: #ffffff; transform: translateX(2px);}
.rep-item-sep {color: rgba(255, 255, 255, 0.35); font-size: 0.75rem; user-select: none;}
.rep-ticker-close {background: transparent; border: none; color: rgba(255, 255, 255, 0.6); cursor: pointer; padding: 0 10px; height: 100%; display: inline-flex; align-items: center; justify-content: center; transition: color .27s cubic-bezier(.22, 1, .36, 1), background-color .27s cubic-bezier(.22, 1, .36, 1); flex-shrink: 0; z-index: 10; border-radius: 6px;}
.rep-ticker-close:hover {color: #ffffff; background-color: rgba(255, 255, 255, 0.15);}
.rep-ticker-close svg {width: 14px; height: 14px; fill: currentColor;}
.rep-top-utility {width: 100%; max-width: 1180px; margin: 0 auto 12px auto; display: flex; align-items: center; justify-content: center;}
.rep-social-group {display: flex; align-items: center; justify-content: center; gap: 8px;}
.rep-social-btn {position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; text-decoration: none; background-color: var(--rep-white); border: 1px solid rgba(255, 255, 255, 0.4); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s cubic-bezier(.22, 1, .36, 1), border-color .36s cubic-bezier(.22, 1, .36, 1), color .36s cubic-bezier(.22, 1, .36, 1); overflow: hidden; background-size: 200% 200%;}
.rep-social-btn svg {width: 17px; height: 17px; fill: currentColor; position: relative; z-index: 2; transition: transform .36s cubic-bezier(.22, 1, .36, 1);}
.rep-social-btn.instagram {color: #E1306C;}
.rep-social-btn.linkedin {color: #0A66C2;}
.rep-social-btn.facebook {color: #1877F2;}
.rep-social-btn.whatsapp {color: #25D366;}
@keyframes repPastelShift {
	0% {background-position: 0% 50%;}
	50% {background-position: 100% 50%;}
	100% {background-position: 0% 50%;}
}
.rep-social-btn.instagram:hover {background-image: linear-gradient(135deg, #fce7f3 0%, #fed7aa 50%, #f5d0fe 100%); animation: repPastelShift 4s ease infinite; color: #be185d; border-color: #fbcfe8; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(225, 48, 108, 0.25);}
.rep-social-btn.linkedin:hover {background-image: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #e0f2fe 100%); animation: repPastelShift 4s ease infinite; color: #0284c7; border-color: #bae6fd; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(10, 102, 194, 0.25);}
.rep-social-btn.facebook:hover {background-image: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #e0e7ff 100%); animation: repPastelShift 4s ease infinite; color: #4338ca; border-color: #c7d2fe; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);}
.rep-social-btn.whatsapp:hover {background-image: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 50%, #dcfce7 100%); animation: repPastelShift 4s ease infinite; color: #15803d; border-color: #bbf7d0; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);}
.rep-nav-container {position: relative; width: 100%; max-width: 1180px; margin: 0 auto;}
.rep-navbar-floating {width: 100%; background: var(--rep-white); border-radius: var(--rep-radius-pill); box-shadow: var(--rep-shadow-floating); border: 1px solid var(--rep-border); padding: 5px 10px; display: flex; align-items: center; justify-content: center;}
.rep-nav-menu {display: flex; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; gap: 2px 4px; width: 100%;}
.rep-nav-item {position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;}
.rep-nav-item:not(:last-child)::after {content: ''; display: inline-block; width: 1px; height: 12px; background-color: rgba(0, 0, 0, 0.1); margin-left: 4px;}
.rep-nav-link {font-size: 0.8rem; font-weight: 700; color: var(--rep-text-main); text-decoration: none; padding: 7px 10px; border-radius: var(--rep-radius-pill); display: inline-flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; letter-spacing: 0.01em; text-transform: uppercase; min-height: 36px; border: none; background: transparent; cursor: pointer; font-family: inherit; transition: var(--rep-transition);}
.rep-nav-link:hover, .rep-nav-item.active .rep-nav-link, .rep-nav-item.is-open .rep-nav-link {color: var(--rep-green-dark); background-color: var(--rep-green-light);}
.rep-nav-link.rep-btn-cta-blue {color: var(--rep-blue-dark); background-color: var(--rep-blue-light); border: 1px solid rgba(29, 79, 145, 0.2); font-weight: 800;}
.rep-nav-link.rep-btn-cta-blue:hover, .rep-nav-item.active .rep-nav-link.rep-btn-cta-blue {background-color: var(--rep-blue); color: var(--rep-white); border-color: var(--rep-blue); box-shadow: 0 4px 12px rgba(59, 104, 144, 0.3);}
.rep-nav-link.has-dropdown svg {width: 14px; height: 14px; fill: currentColor; transition: transform .36s cubic-bezier(.22, 1, .36, 1);}
.rep-nav-item.is-open .rep-nav-link.has-dropdown svg {transform: rotate(180deg);}
.rep-nav-item.item-more {display: none;}
.rep-mega-dropdown {position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); background: var(--rep-white); border-radius: var(--rep-radius-card); box-shadow: var(--rep-shadow-dropdown); border: 1px solid var(--rep-border); padding: 14px; display: grid; grid-template-columns: 220px 280px; gap: 14px; width: max-content; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .36s cubic-bezier(.22, 1, .36, 1), transform .36s cubic-bezier(.22, 1, .36, 1), visibility .36s; z-index: 1000; text-align: left;}
.rep-mega-dropdown::before {content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px;}
@media (min-width: 1081px) {
	.rep-nav-item:hover .rep-mega-dropdown, .rep-nav-item:focus-within .rep-mega-dropdown {opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);}
}
.rep-nav-item.is-open .rep-mega-dropdown {opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);}
.rep-dropdown-col {display: flex; flex-direction: column; gap: 5px;}
.rep-dropdown-title {font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rep-blue); margin: 0 0 6px 4px; padding-bottom: 4px; border-bottom: 1px solid var(--rep-border);}
.rep-dropdown-card {padding: 8px 10px; border-radius: 8px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; transition: var(--rep-transition);}
.rep-dropdown-card:hover, .rep-dropdown-card.active {background-color: #f8fafc;}
.rep-dropdown-card.highlight {background-color: var(--rep-green-light); border: 1px solid rgba(116, 184, 82, 0.25);}
.rep-dropdown-card-title {font-size: 0.825rem; font-weight: 700; color: var(--rep-text-main);}
.rep-dropdown-card-desc {font-size: 0.725rem; color: var(--rep-text-muted); line-height: 1.3;}
.rep-sector-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 4px;}
.rep-sector-item {padding: 5px 7px; border-radius: 6px; text-decoration: none; background: #f8fafc; transition: var(--rep-transition);}
.rep-sector-item:hover, .rep-sector-item.active {background: var(--rep-green); color: var(--rep-white);}
.rep-sector-item:hover span, .rep-sector-item.active span {color: var(--rep-white) !important;}
.rep-sector-code {font-size: 0.75rem; font-weight: 800; color: var(--rep-blue-dark); display: block;}
.rep-sector-name {font-size: 0.675rem; color: var(--rep-text-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.rep-more-dropdown {position: absolute; top: calc(100% + 8px); right: 0; background: var(--rep-white); border-radius: var(--rep-radius-card); box-shadow: var(--rep-shadow-dropdown); border: 1px solid var(--rep-border); padding: 8px; display: flex; flex-direction: column; gap: 3px; width: 230px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .36s cubic-bezier(.22, 1, .36, 1), transform .36s cubic-bezier(.22, 1, .36, 1), visibility .36s; z-index: 1000; text-align: left;}
.rep-nav-item.item-more.is-open .rep-more-dropdown {opacity: 1; visibility: visible; pointer-events: auto;}
.rep-more-link {font-size: 0.8125rem; font-weight: 600; color: var(--rep-text-main); text-decoration: none; padding: 8px 10px; border-radius: 8px; transition: var(--rep-transition);}
.rep-more-link:hover, .rep-more-link.active {background-color: #f8fafc; color: var(--rep-green-dark);}
@media (min-width: 769px) and (max-width: 1080px) {
	.rep-nav-menu {gap: 2px; justify-content: space-between;}
	.rep-nav-link {font-size: 0.75rem; padding: 6px 8px;}
	.rep-nav-item.item-secondary {display: none;}
	.rep-nav-item.item-more {display: inline-flex;}
	.rep-mega-dropdown {left: 50%; transform: translateX(-50%); width: 500px;}
}
@media (max-width: 768px) {
	.rep-master-canopy {border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; padding: 6px 8px 14px 8px;}
	.rep-ticker-top-bar {margin-bottom: 6px; --ticker-speed: 90s;}
	.rep-ticker-frame-transparent {height: 34px;}
	.rep-ticker-viewport {mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);}
	.rep-ticker-item {font-size: 0.76rem; gap: 7px;}
	.rep-item-icon {width: 20px; height: 20px;}
	.rep-item-icon svg {width: 12px; height: 12px;}
	.rep-ticker-group {gap: 22px; padding: 0 8px;}
	.rep-navbar-floating {border-radius: 14px; padding: 6px;}
	.rep-nav-menu {display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;}
	.rep-nav-item {position: static; width: 100%;}
	.rep-nav-item:not(:last-child)::after {display: none;}
	.rep-nav-link {width: 100%; font-size: 0.75rem; padding: 8px 6px; border-radius: 8px; background-color: #f8fafc; text-align: center; min-height: 38px;}
	.rep-nav-item.item-secondary {display: none;}
	.rep-nav-item.item-more {display: inline-flex;}
	.rep-mega-dropdown, .rep-more-dropdown {position: absolute; top: calc(100% + 6px); left: 0 !important; right: 0 !important; width: 100% !important; max-width: 100% !important; transform: none !important; border-radius: 14px; box-sizing: border-box; grid-template-columns: 1fr; max-height: 65vh; overflow-y: auto; padding: 12px;}
	.rep-sector-grid {grid-template-columns: 1fr 1fr;}
}
@media (prefers-reduced-motion: reduce) {
	.rep-social-btn, .rep-social-btn:hover {animation: none !important; transform: none !important;}
	.rep-ticker-track {animation: none; overflow-x: auto;}
}
/* Pulido: menú con mayúscula inicial, sin rayitas entre opciones; esquinas de la escala del sitio. */
.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; }
.rep-navbar-floating .rep-nav-item:not(:last-child)::after { display: none; }
.rep-navbar-floating .rep-nav-menu { column-gap: 6px; }
.rep-nav-link > span { pointer-events: none; }
.rep-mega-dropdown { border-radius: var(--lrs-r-lg, 22px); }
.rep-mega-dropdown .rep-dropdown-card { border-radius: var(--lrs-r-sm, 12px); }
.rep-sector-item { border-radius: var(--lrs-r-sm, 12px); }
@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; }
	.rep-mega-dropdown { border-radius: 14px; }
}
/* Cinta: solo se detiene con el cursor encima o al navegar con teclado (no tras un toque en el teléfono). */
.rep-ticker-frame-transparent:hover .rep-ticker-track,
.rep-ticker-frame-transparent:focus-within .rep-ticker-track { animation-play-state: running; }
@media (hover: hover) and (pointer: fine) {
	.rep-ticker-frame-transparent .rep-ticker-viewport:hover .rep-ticker-track { animation-play-state: paused; }
}
.rep-ticker-frame-transparent .rep-ticker-viewport:has(:focus-visible) .rep-ticker-track { animation-play-state: paused; }
.rep-ticker-track { backface-visibility: hidden; }
/* Saludo o aviso: el primer elemento de la cinta, en movimiento con las noticias. */
body .rep-ticker-item.lrs-ticker-greet { color: #fff; font-weight: 600; text-decoration: none; gap: 0; }
body .rep-ticker-item.lrs-ticker-greet span { white-space: nowrap; }
@media (hover: hover) { body a.rep-ticker-item.lrs-ticker-greet:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; } }

}

/* Buscador bajo la cabecera: un solo campo con la lupa adentro (como lo deja el pulido sobre el de Royal). */
.rep-search { display: flex; flex-direction: column; max-width: 500px; margin: 0 auto; }
.rep-search-form { align-self: center; width: 70%; max-width: 70%; margin: 10px 0 20px; }
.rep-search-wrap { position: relative; }
.rep-search-input {
	display: block;
	width: 100%;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0 50px 0 18px;
	border: 1px solid #dde3e8;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
	color: #333;
	font: 400 15px/1.2 Inter, system-ui, -apple-system, sans-serif;
	text-align: left;
	transition: border-color .36s cubic-bezier(.22, 1, .36, 1), box-shadow .36s cubic-bezier(.22, 1, .36, 1);
}
.rep-search-input::placeholder { color: #8a959d; opacity: 1; }
.rep-search-input:focus { border-color: var(--lrs-green, #74b852); outline: 0; box-shadow: 0 0 0 4px rgba(116, 184, 82, .16); }
.rep-search-submit {
	position: absolute;
	top: 4px;
	right: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	min-width: 0;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--lrs-green-700, #3a6825);
	font-size: 15px;
	cursor: pointer;
	transition: background-color .36s cubic-bezier(.22, 1, .36, 1), transform .36s cubic-bezier(.2, .8, .2, 1);
}
.rep-search-submit svg { width: 15px; height: 15px; fill: currentColor; }
.rep-search-submit:hover { background: var(--lrs-green-50, #f0f7ed); color: var(--lrs-green-700, #3a6825); }
.rep-search-submit:active { transform: scale(.94); }
@media (max-width: 767px) {
	.rep-site-header { margin-top: 0; }
	.rep-search { max-width: 767px; }
}

/* ════════════════════════ Portada (página 860) ════════════════════════ */
.rep-sec { padding: 10px; }
.rep-sec__in { width: 100%; max-width: 900px; margin-inline: auto; }
.rep-sec--rail { margin-top: 10px; }
.rep-sec--orbit { margin-top: 30px; padding: 0 0 30px; }
.rep-sec--orbit .rep-sec__in { max-width: 1600px; }
.rep-sec--actors { padding: 0; }
.rep-sec--podcast { margin: 100px 0 20px; }
.rep-sec--divider .rep-sec__in { max-width: 1280px; }
.rep-divider { margin: 15px 0; padding: 0; border: 0; border-top: 1px solid var(--lrs-line, #e4e7eb); }
@media (max-width: 1024px) {
	.rep-sec--divider .rep-sec__in { max-width: 1024px; }
}
@media (max-width: 767px) {
	.rep-sec--rail { margin-top: 8px; }
	.rep-sec--orbit { margin-top: 24px; padding: 0; }
	.rep-sec--divider .rep-sec__in { max-width: 767px; }
}

/* Accesos en mosaico y tarjeta «Ley 20.920». */
#bento-rep-container, #bento-rep-container * {box-sizing: border-box;}
#bento-rep-container {--rep-green: var(--lrs-green, #74b852); --rep-green-dark: #3f7824; --rep-blue: #3E6381; --rep-bg-card: #F5F7FA; --rep-text-dark: var(--lrs-ink, #1a1c1e); --rep-text-grey: #444746; --rep-white: #FFFFFF; --card-radius: 18px; --transition-smooth: transform .54s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow .54s cubic-bezier(.22, 1, .36, 1), border-color .54s cubic-bezier(.22, 1, .36, 1); inline-size: 100%; max-inline-size: 960px; block-size: auto; min-block-size: 0; margin-inline: auto; container: bento-rep / inline-size; color: var(--rep-text-dark); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;}
#bento-rep-container .bento-grid {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(17.5rem, 1.18fr); grid-auto-rows: minmax(0, auto); gap: 12px; align-content: start; align-items: stretch; min-block-size: 0;}
#bento-rep-container .bento-card {position: relative; display: flex; min-inline-size: 0; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 18px; border: 1px solid rgb(26 28 30 / 5%); border-radius: var(--card-radius); background-color: var(--rep-bg-card); color: var(--rep-text-dark); text-decoration: none; transition: var(--transition-smooth);}
#bento-rep-container .bento-card:hover {border-color: rgb(26 28 30 / 12%); box-shadow: 0 8px 20px rgb(26 28 30 / 8%); transform: translateY(-2px);}
#bento-rep-container .bento-card:focus-visible {outline: 3px solid var(--rep-green); outline-offset: 2px;}
#bento-rep-container .span-2 {grid-column: span 2;}
#bento-rep-container .icon-wrapper {display: inline-flex; align-items: center; justify-content: center; inline-size: 36px; block-size: 36px; margin-block-end: 10px; border-radius: 10px; background: rgb(62 99 129 / 8%); color: var(--rep-blue); transition: transform .45s cubic-bezier(.22, 1, .36, 1);}
#bento-rep-container .bento-card:hover .icon-wrapper {transform: scale(1.05);}
#bento-rep-container .icon-wrapper svg {inline-size: 20px; block-size: 20px; fill: currentColor;}
#bento-rep-container h3 {margin: 0 0 6px; color: var(--rep-text-dark); font-size: 0.95rem; font-weight: 700; line-height: 1.25;}
#bento-rep-container p {margin: 0; color: var(--rep-text-grey); font-size: 0.825rem; font-weight: 400; line-height: 1.4;}
#bento-rep-container .is-featured-contact {min-block-size: 220px; justify-content: center; padding: 22px 20px; border: 0; background-color: var(--rep-green);}
#bento-rep-container .is-featured-contact::before {position: absolute; inset: 0; z-index: 0; background-position: right center; background-size: cover; content: ""; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);}
#bento-rep-container .is-featured-contact::after {position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgb(116 184 82 / 98%) 0%, rgb(116 184 82 / 94%) 52%, rgb(116 184 82 / 65%) 75%, rgb(116 184 82 / 15%) 100%); content: "";}
#bento-rep-container .is-featured-contact:hover::before {transform: scale(1.04);}
#bento-rep-container .is-featured-contact .content-wrapper {position: relative; z-index: 2; max-inline-size: 78%;}
#bento-rep-container .is-featured-contact h3 {color: var(--rep-white); font-size: 1.25rem; font-weight: 800; line-height: 1.2; text-shadow: 0 1px 2px rgb(0 0 0 / 15%);}
#bento-rep-container .is-featured-contact p {color: rgb(255 255 255 / 95%); font-size: 0.85rem; line-height: 1.35; text-shadow: 0 1px 2px rgb(0 0 0 / 12%);}
#bento-rep-container .cta-button {display: inline-flex; align-items: center; gap: 6px; inline-size: fit-content; margin-block-start: 14px; padding: 8px 16px; border-radius: 100px; background: var(--rep-white); color: var(--rep-green-dark); font-size: 0.825rem; font-weight: 700; box-shadow: 0 3px 10px rgb(0 0 0 / 15%); transition: var(--transition-smooth);}
#bento-rep-container .cta-button svg {inline-size: 15px; block-size: 15px; fill: none; stroke: currentColor; transition: transform .45s cubic-bezier(.22, 1, .36, 1);}
#bento-rep-container .is-featured-contact:hover .cta-button {background: #f4faf2; transform: translateY(-1px);}
#bento-rep-container .is-featured-contact:hover .cta-button svg {transform: translateX(3px);}
#bento-rep-container .is-blue {border: 0; background-color: var(--rep-blue); color: var(--rep-white);}
#bento-rep-container .is-blue .icon-wrapper {background: rgb(255 255 255 / 15%); color: var(--rep-white);}
#bento-rep-container .is-blue h3 {color: var(--rep-white); font-size: 1.05rem;}
#bento-rep-container .is-blue p {color: rgb(255 255 255 / 90%);}
#bento-rep-container .is-law-rep {grid-column: 3; grid-row: 1 / span 4; align-items: center; justify-content: flex-start; min-block-size: 0; block-size: auto; padding: 24px 22px 20px; background-color: var(--rep-white); border-color: rgb(62 99 129 / 14%); text-align: center;}
#bento-rep-container .is-law-rep .law-rep-logo {display: block; inline-size: min(148px, 48%); block-size: auto; aspect-ratio: 1; object-fit: contain; margin: 0 auto 15px;}
#bento-rep-container .is-law-rep .law-rep-content {display: flex; min-inline-size: 0; inline-size: 100%; flex: 1; flex-direction: column; align-items: center;}
#bento-rep-container .is-law-rep h3 {margin-block-end: 14px; color: var(--rep-text-dark); font-size: clamp(1.05rem, 1.45vw, 1.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; text-transform: uppercase;}
#bento-rep-container .is-law-rep h3 span {display: block; margin-block-start: 4px; font-size: 0.92em;}
#bento-rep-container .is-law-rep .law-rep-copy {display: grid; gap: 14px; max-inline-size: 31ch;}
#bento-rep-container .is-law-rep p {font-size: 0.84rem; line-height: 1.45;}
#bento-rep-container .is-law-rep strong {color: var(--rep-green-dark); font-weight: 800;}
#bento-rep-container .is-law-rep .law-rep-link {display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-block-start: auto; padding: 9px 17px; border: 2px solid var(--rep-green); border-radius: 999px; background: var(--rep-blue); color: var(--rep-white); font-size: 0.8rem; font-weight: 800; line-height: 1.2; text-decoration: none; transition: var(--transition-smooth);}
#bento-rep-container .is-law-rep .law-rep-link:hover {background: #31536d; box-shadow: 0 6px 16px rgb(62 99 129 / 18%); transform: translateY(-2px);}
#bento-rep-container .is-law-rep .law-rep-link svg {inline-size: 15px; block-size: 15px; fill: none; stroke: currentColor; transition: transform .45s cubic-bezier(.22, 1, .36, 1);}
#bento-rep-container .is-law-rep .law-rep-link:hover svg {transform: translateX(3px);}
@media (width < 54rem) {
	#bento-rep-container .bento-grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
	#bento-rep-container .is-law-rep {display: grid; grid-template-columns: minmax(96px, 20%) minmax(0, 1fr); grid-column: span 2; grid-row: auto; gap: 20px; align-items: center; min-block-size: 0; block-size: auto; padding: 20px; text-align: left;}
	#bento-rep-container .is-law-rep .law-rep-logo {inline-size: min(132px, 100%); margin: 0 auto;}
	#bento-rep-container .is-law-rep .law-rep-content {flex: 0 1 auto; align-items: flex-start;}
	#bento-rep-container .is-law-rep .law-rep-copy {max-inline-size: 50ch;}
	#bento-rep-container .is-law-rep .law-rep-link {margin-block-start: 18px;}
}
@container bento-rep (max-width: 54rem) {
	#bento-rep-container .bento-grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
	#bento-rep-container .is-law-rep {display: grid; grid-template-columns: minmax(96px, 20%) minmax(0, 1fr); grid-column: span 2; grid-row: auto; gap: 20px; align-items: center; min-block-size: 0; block-size: auto; padding: 20px; text-align: left;}
	#bento-rep-container .is-law-rep .law-rep-logo {inline-size: min(132px, 100%); margin: 0 auto;}
	#bento-rep-container .is-law-rep .law-rep-content {flex: 0 1 auto; align-items: flex-start;}
	#bento-rep-container .is-law-rep .law-rep-copy {max-inline-size: 50ch;}
	#bento-rep-container .is-law-rep .law-rep-link {margin-block-start: 18px;}
}
@media (width < 36rem) {
	#bento-rep-container .bento-grid {grid-template-columns: 1fr;}
	#bento-rep-container .span-2, #bento-rep-container .is-law-rep {grid-column: span 1; grid-row: auto;}
	#bento-rep-container .is-featured-contact .content-wrapper {max-inline-size: 100%;}
	#bento-rep-container .is-law-rep {display: flex; align-items: center; min-block-size: 0; block-size: auto; padding: 24px 18px 20px; text-align: center;}
	#bento-rep-container .is-law-rep .law-rep-logo {inline-size: min(132px, 42vw); margin-block-end: 15px;}
	#bento-rep-container .is-law-rep .law-rep-content {flex: 0 1 auto; align-items: center;}
	#bento-rep-container .is-law-rep .law-rep-copy {max-inline-size: 34ch;}
	#bento-rep-container .is-law-rep .law-rep-link {margin-block-start: 18px;}
}
@container bento-rep (max-width: 36rem) {
	#bento-rep-container .bento-grid {grid-template-columns: 1fr;}
	#bento-rep-container .span-2, #bento-rep-container .is-law-rep {grid-column: span 1; grid-row: auto;}
	#bento-rep-container .is-featured-contact .content-wrapper {max-inline-size: 100%;}
	#bento-rep-container .is-law-rep {display: flex; align-items: center; min-block-size: 0; block-size: auto; padding: 24px 18px 20px; text-align: center;}
	#bento-rep-container .is-law-rep .law-rep-logo {inline-size: min(132px, 42vw); margin-block-end: 15px;}
	#bento-rep-container .is-law-rep .law-rep-content {flex: 0 1 auto; align-items: center;}
	#bento-rep-container .is-law-rep .law-rep-copy {max-inline-size: 34ch;}
	#bento-rep-container .is-law-rep .law-rep-link {margin-block-start: 18px;}
}
@media (prefers-reduced-motion: reduce) {
	#bento-rep-container .bento-card, #bento-rep-container .is-featured-contact::before, #bento-rep-container .cta-button, #bento-rep-container .icon-wrapper {transform: none !important; transition: none !important;}
}
/* La foto de la tarjeta de contacto llega desde la plantilla (en WebP), no fija en la hoja de estilos. */
#bento-rep-container .is-featured-contact::before { background-image: var(--bento-contact-bg, none); }
#bento-rep-container .bento-card { border-radius: var(--lrs-r-lg, 22px); }
/* H1 de la portada: mismo aspecto que el título de la tarjeta. */
#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; }

/* Carril «Noticias Ley REP en Chile». */
#leyrep-news-design-rail, #leyrep-news-design-rail * {box-sizing: border-box;}
#leyrep-news-design-rail {--rep-ink: var(--lrs-ink, #1a1c1e); --rep-muted: #50585d; --rep-blue: #3E6381; --rep-green: var(--lrs-green, #74b852); --rep-green-dark: #477f2d; --rep-line: #dfe5e8; --rep-surface: #f7f9fa; inline-size: 100%; max-inline-size: 100%; min-inline-size: 0; margin: 0; color: var(--rep-ink); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.45; container: rep-news-rail / inline-size;}
#leyrep-news-design-rail :where(h2, h3, p) {margin: 0;}
#leyrep-news-design-rail :where(a):focus-visible {outline: 3px solid var(--rep-blue); outline-offset: 3px;}
#leyrep-news-design-rail .rep-rail-heading {display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-block-end: 1rem;}
#leyrep-news-design-rail .rep-rail-kicker {margin-block-end: .3rem; color: var(--rep-green-dark); font-size: .7rem; font-weight: 800; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase;}
#leyrep-news-design-rail h2 {max-inline-size: 24ch; color: var(--rep-ink); font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance;}
#leyrep-news-design-rail .rep-rail-all {flex: 0 0 auto; color: var(--rep-blue); font-size: .83rem; font-weight: 800; text-underline-offset: .2em;}
#leyrep-news-design-rail .rep-rail-track {display: flex; align-items: flex-start; min-inline-size: 0; gap: 14px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 2px 9px; scroll-snap-type: inline mandatory; scrollbar-color: var(--rep-blue) transparent; scrollbar-width: thin;}
#leyrep-news-design-rail .rep-rail-card {flex: 0 0 min(16.25rem, 80%); align-self: flex-start; block-size: 20.75rem; min-inline-size: 0; scroll-snap-align: start;}
#leyrep-news-design-rail .rep-rail-link {display: flex; block-size: 100%; min-block-size: 0; min-inline-size: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--rep-line); border-radius: 18px; background: var(--rep-surface); color: inherit; text-decoration: none; transition: border-color .36s cubic-bezier(.22, 1, .36, 1), box-shadow .36s cubic-bezier(.22, 1, .36, 1), transform .36s cubic-bezier(.22, 1, .36, 1);}
#leyrep-news-design-rail .rep-rail-link:hover {border-color: rgb(62 99 129 / 35%); box-shadow: 0 9px 22px rgb(26 28 30 / 10%); transform: translateY(-2px);}
#leyrep-news-design-rail .rep-rail-image-frame {inline-size: 100%; flex: 0 0 auto; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 17px 17px 0 0; background: transparent;}
#leyrep-news-design-rail .rep-rail-image {display: block; inline-size: 100%; block-size: 100%; max-inline-size: 100%; background: transparent; object-fit: cover; object-position: center;}
#leyrep-news-design-rail .rep-rail-body {display: flex; min-inline-size: 0; min-block-size: 0; flex: 1 1 auto; flex-direction: column; overflow: hidden; padding: .85rem;}
#leyrep-news-design-rail .rep-rail-date {margin-block-end: .35rem; color: var(--rep-green-dark); font-size: .68rem; font-weight: 800;}
#leyrep-news-design-rail h3 {color: var(--rep-ink); font-size: .95rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; overflow-wrap: anywhere; text-wrap: balance; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3;}
#leyrep-news-design-rail .rep-rail-excerpt {display: -webkit-box; margin-block-start: .45rem; color: var(--rep-muted); font-size: .76rem; line-height: 1.43; overflow: hidden; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2;}
#leyrep-news-design-rail .rep-rail-read {display: inline-flex; align-items: center; gap: .35rem; margin-block-start: auto; padding-block-start: .55rem; color: var(--rep-blue); font-size: .8rem; font-weight: 800;}
#leyrep-news-design-rail .rep-rail-read span {color: var(--rep-green-dark); font-size: 1rem;}
#leyrep-news-design-rail .rep-rail-link:focus-visible {outline-offset: -3px;}
@container rep-news-rail (max-width: 34rem) {
	#leyrep-news-design-rail .rep-rail-heading {align-items: flex-start; flex-direction: column; gap: .5rem;}
}
@container rep-news-rail (max-width: 22rem) {
	#leyrep-news-design-rail .rep-rail-card {flex-basis: min(15.25rem, 78%); block-size: 20rem;}
	#leyrep-news-design-rail .rep-rail-body {padding: .75rem;}
}
@media (max-width: 560px) {
	#leyrep-news-design-rail .rep-rail-heading {align-items: flex-start; flex-direction: column; gap: .5rem;}
}
@media (max-width: 360px) {
	#leyrep-news-design-rail .rep-rail-card {flex-basis: min(15.25rem, 78%); block-size: 20rem;}
	#leyrep-news-design-rail .rep-rail-body {padding: .75rem;}
}
@media (prefers-reduced-motion: reduce) {
	#leyrep-news-design-rail .rep-rail-link {transition: none; transform: none;}
}
#leyrep-news-design-rail .rep-rail-link { border-radius: var(--lrs-r-lg, 22px); }

/* Productos prioritarios en órbita. */
#repOrbitalWidget {--rep-primary: var(--lrs-green, #74b852); --rep-primary-dark: var(--lrs-green-700, #3a6825); --rep-primary-light: var(--lrs-green-50, #f0f7ed); --rep-navy: var(--lrs-blue, #3b6890); --rep-navy-dark: #233e54; --rep-text-dark: #0f172a; --rep-text-sub: #475569; --rep-white: #ffffff; --rep-border: #e2e8f0; --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1); --circle-size: clamp(380px, 46vw, 470px); --center-size: clamp(230px, 28vw, 290px); --node-size: clamp(90px, 11vw, 110px); font-family: 'Inter', system-ui, -apple-system, sans-serif; width: 100%; max-width: 900px; margin: 0 auto; padding: 20px 12px; box-sizing: border-box; text-align: center; position: relative;}
#repOrbitalWidget * {box-sizing: border-box;}
#repOrbitalWidget .rep-sr-only {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;}
#repOrbitalWidget .orbital-stage {position: relative; width: var(--circle-size); height: var(--circle-size); margin: 24px auto 16px auto; display: flex; align-items: center; justify-content: center;}
#repOrbitalWidget .orbital-track {position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px dashed rgba(59, 104, 144, 0.28); background: radial-gradient(circle, rgba(116, 184, 82, 0.05) 0%, rgba(59, 104, 144, 0.02) 65%, transparent 72%); pointer-events: none; z-index: 0;}
#repOrbitalWidget .orbital-node {position: absolute; top: 50%; left: 50%; width: var(--node-size); height: var(--node-size); margin: calc(var(--node-size) / -2); border-radius: 50%; background: var(--rep-white); border: 2px solid var(--rep-border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; font-size: 0.72rem; line-height: 1.15; font-weight: 700; color: var(--rep-navy-dark); cursor: pointer; user-select: none; box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.08); z-index: 2; transition: transform .6s var(--ease-spring), background-color .45s cubic-bezier(.22, 1, .36, 1), border-color .45s cubic-bezier(.22, 1, .36, 1), color .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s cubic-bezier(.22, 1, .36, 1); transform: rotate(var(--angle)) translate(calc(var(--circle-size) / 2)) rotate(calc(-1 * var(--angle)));}
#repOrbitalWidget .orbital-node svg {width: 24px; height: 24px; fill: currentColor; transition: transform .45s cubic-bezier(.22, 1, .36, 1);}
#repOrbitalWidget .orbital-node:hover {background-color: var(--rep-primary-light); border-color: var(--rep-primary); color: var(--rep-primary-dark); box-shadow: 0 8px 22px -3px rgba(116, 184, 82, 0.3); transform: rotate(var(--angle)) translate(calc(var(--circle-size) / 2)) rotate(calc(-1 * var(--angle))) scale(1.08);}
#repOrbitalWidget .orbital-node:hover svg {transform: scale(1.12);}
#repOrbitalWidget .rep-sr-only:focus-visible + .orbital-node, #repOrbitalWidget .orbital-node:focus-visible {outline: 3px solid var(--rep-primary); outline-offset: 3px;}
#repOrbitalWidget .center-hub {position: absolute; width: var(--center-size); height: var(--center-size); background: var(--rep-white); border-radius: 50%; border: 3px solid #f1f5f9; box-shadow: 0 16px 36px -6px rgba(35, 62, 84, 0.12), inset 0 0 20px rgba(0, 0, 0, 0.02); display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; z-index: 1; overflow: hidden;}
#repOrbitalWidget .hub-content {display: none; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; animation: hubScaleIn 0.35s var(--ease-smooth) forwards;}
@keyframes hubScaleIn {
	from {opacity: 0; transform: scale(0.92) translateY(6px);}
	to {opacity: 1; transform: scale(1) translateY(0);}
}
#repOrbitalWidget .hub-badge {font-size: 0.65rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rep-primary-dark); background-color: var(--rep-primary-light); padding: 2px 8px; border-radius: 9999px; margin-bottom: 6px; display: inline-block;}
#repOrbitalWidget .hub-title {margin: 0 0 6px 0; font-size: clamp(0.95rem, 1.3vw, 1.15rem); font-weight: 800; color: var(--rep-navy-dark); line-height: 1.2;}
#repOrbitalWidget .hub-desc {margin: 0 0 10px 0; font-size: clamp(0.72rem, 0.95vw, 0.8rem); line-height: 1.35; color: var(--rep-text-sub); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;}
#repOrbitalWidget .hub-link {display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 700; color: var(--rep-primary-dark); text-decoration: none; padding: 5px 12px; border-radius: 6px; background-color: var(--rep-primary-light); transition: background-color .36s cubic-bezier(.22, 1, .36, 1), transform .27s cubic-bezier(.22, 1, .36, 1), color .36s cubic-bezier(.22, 1, .36, 1);}
#repOrbitalWidget .hub-link:hover {background-color: var(--rep-primary); color: var(--rep-white); transform: translateY(-1px);}
#prio1:checked ~ .orbital-stage .orbital-node[for="prio1"], #prio2:checked ~ .orbital-stage .orbital-node[for="prio2"], #prio3:checked ~ .orbital-stage .orbital-node[for="prio3"], #prio4:checked ~ .orbital-stage .orbital-node[for="prio4"], #prio5:checked ~ .orbital-stage .orbital-node[for="prio5"], #prio6:checked ~ .orbital-stage .orbital-node[for="prio6"], #prio7:checked ~ .orbital-stage .orbital-node[for="prio7"] {background: var(--rep-primary); color: var(--rep-white); border-color: var(--rep-primary); box-shadow: 0 0 24px rgba(116, 184, 82, 0.5), 0 8px 16px rgba(15, 23, 42, 0.12); transform: rotate(var(--angle)) translate(calc(var(--circle-size) / 2)) rotate(calc(-1 * var(--angle))) scale(1.14); z-index: 10;}
#prio1:checked ~ .orbital-stage .center-hub .content-prio1, #prio2:checked ~ .orbital-stage .center-hub .content-prio2, #prio3:checked ~ .orbital-stage .center-hub .content-prio3, #prio4:checked ~ .orbital-stage .center-hub .content-prio4, #prio5:checked ~ .orbital-stage .center-hub .content-prio5, #prio6:checked ~ .orbital-stage .center-hub .content-prio6, #prio7:checked ~ .orbital-stage .center-hub .content-prio7 {display: flex;}
#repOrbitalWidget .mobile-controls {display: none;}
@media (max-width: 768px) {
	#repOrbitalWidget {padding: 8px 4px;}
	#repOrbitalWidget .orbital-stage {width: 100%; height: auto; margin: 0; display: flex; flex-direction: column;}
	#repOrbitalWidget .orbital-track {display: none;}
	#repOrbitalWidget .mobile-tabs-container {width: 100%; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 6px 12px 6px; margin-bottom: 8px;}
	#repOrbitalWidget .mobile-tabs-container::-webkit-scrollbar {display: none;}
	#repOrbitalWidget .orbital-node {position: static; width: max-content; height: 42px; margin: 0; padding: 0 14px; border-radius: 9999px; flex-direction: row; align-items: center; gap: 8px; font-size: 0.8rem; white-space: nowrap; transform: none !important; flex-shrink: 0; scroll-snap-align: center;}
	#repOrbitalWidget .orbital-node br {display: none;}
	#repOrbitalWidget .orbital-node svg {width: 18px; height: 18px;}
	#prio1:checked ~ .orbital-stage .mobile-tabs-container .orbital-node[for="prio1"], #prio2:checked ~ .orbital-stage .mobile-tabs-container .orbital-node[for="prio2"], #prio3:checked ~ .orbital-stage .mobile-tabs-container .orbital-node[for="prio3"], #prio4:checked ~ .orbital-stage .mobile-tabs-container .orbital-node[for="prio4"], #prio5:checked ~ .orbital-stage .mobile-tabs-container .orbital-node[for="prio5"], #prio6:checked ~ .orbital-stage .mobile-tabs-container .orbital-node[for="prio6"], #prio7:checked ~ .orbital-stage .mobile-tabs-container .orbital-node[for="prio7"] {background: var(--rep-primary); color: var(--rep-white); border-color: var(--rep-primary); box-shadow: 0 4px 14px rgba(116, 184, 82, 0.35); transform: scale(1.03) !important;}
	#repOrbitalWidget .center-hub {position: static; width: 100%; height: auto; border-radius: 18px; margin: 0 0 12px 0; padding: 22px 18px; border: 1px solid var(--rep-border); box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06); background: var(--rep-white); text-align: left;}
	#repOrbitalWidget .hub-content {align-items: flex-start; text-align: left;}
	#repOrbitalWidget .hub-title {font-size: 1.18rem; margin: 4px 0 8px 0;}
	#repOrbitalWidget .hub-desc {-webkit-line-clamp: 6; font-size: 0.875rem; line-height: 1.45; margin-bottom: 14px;}
	#repOrbitalWidget .hub-link {font-size: 0.8rem; padding: 8px 16px; border-radius: 8px; width: 100%; justify-content: center;}
	#repOrbitalWidget .mobile-controls {display: flex; align-items: center; justify-content: space-between; padding: 0 6px; gap: 10px;}
	#repOrbitalWidget .mobile-nav-btn {background: var(--rep-white); border: 1px solid var(--rep-border); border-radius: 8px; padding: 8px 14px; font-size: 0.75rem; font-weight: 700; color: var(--rep-navy); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background-color .36s cubic-bezier(.22, 1, .36, 1), transform .27s cubic-bezier(.22, 1, .36, 1);}
	#repOrbitalWidget .mobile-nav-btn:hover {background: var(--rep-primary-light); color: var(--rep-primary-dark);}
	#repOrbitalWidget .mobile-nav-btn:active {transform: scale(0.97);}
	#repOrbitalWidget .mobile-dots {display: flex; align-items: center; gap: 6px;}
	#repOrbitalWidget .mobile-dot {width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; transition: width .36s cubic-bezier(.22, 1, .36, 1), background-color .36s cubic-bezier(.22, 1, .36, 1);}
	#prio1:checked ~ .mobile-controls .mobile-dot:nth-child(1), #prio2:checked ~ .mobile-controls .mobile-dot:nth-child(2), #prio3:checked ~ .mobile-controls .mobile-dot:nth-child(3), #prio4:checked ~ .mobile-controls .mobile-dot:nth-child(4), #prio5:checked ~ .mobile-controls .mobile-dot:nth-child(5), #prio6:checked ~ .mobile-controls .mobile-dot:nth-child(6), #prio7:checked ~ .mobile-controls .mobile-dot:nth-child(7) {width: 18px; border-radius: 9999px; background: var(--rep-primary);}
}
@media (prefers-reduced-motion: reduce) {
	#repOrbitalWidget .orbital-node, #repOrbitalWidget .hub-content, #repOrbitalWidget .mobile-nav-btn {transition: none !important; animation: none !important;}
}

/* Actores de la Ley REP (en Elementor salía del contenedor con 100vw; aquí ya ocupa todo el ancho). */
#wrapper-actores-ley-rep-full {width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; background-color: #244b6e; padding: 54px 0; box-sizing: border-box; overflow: hidden; -webkit-font-smoothing: antialiased;}
#wrapper-actores-ley-rep-full *, #wrapper-actores-ley-rep-full *::before, #wrapper-actores-ley-rep-full *::after {box-sizing: border-box;}
#wrapper-actores-ley-rep-full .rep-inner-container {max-width: 1140px; margin: 0 auto; padding: 0 20px; width: 100%;}
#wrapper-actores-ley-rep-full .rep-header {text-align: center; max-width: 760px; margin: 0 auto 34px auto;}
#wrapper-actores-ley-rep-full .rep-title {font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: clamp(1.45rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: -0.015em; margin: 0 0 8px 0; color: #ffffff; text-transform: uppercase; line-height: 1.2;}
#wrapper-actores-ley-rep-full .rep-subtitle {font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: clamp(0.85rem, 1.4vw, 0.96rem); line-height: 1.5; color: rgba(255, 255, 255, 0.9); margin: 0; font-weight: 400;}
#wrapper-actores-ley-rep-full .rep-grid {display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(235px, auto)); gap: 16px; width: 100%;}
#wrapper-actores-ley-rep-full .actor-productores {--actor-color: var(--lrs-green, #74b852);}
#wrapper-actores-ley-rep-full .actor-sistemas {--actor-color: #0284c7;}
#wrapper-actores-ley-rep-full .actor-gestores {--actor-color: #0d9488;}
#wrapper-actores-ley-rep-full .actor-comercio {--actor-color: #f59e0b;}
#wrapper-actores-ley-rep-full .actor-municipios {--actor-color: #6366f1;}
#wrapper-actores-ley-rep-full .rep-card {position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2); background-color: #0e2030; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; min-height: 235px; text-decoration: none; color: #ffffff; outline: none; transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .6s cubic-bezier(0.16, 1, 0.3, 1), border-color .45s cubic-bezier(.22, 1, .36, 1);}
#wrapper-actores-ley-rep-full .rep-card:hover {transform: translateY(-5px); border-color: var(--actor-color); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--actor-color);}
#wrapper-actores-ley-rep-full .rep-card:focus-visible {outline: 3px solid var(--actor-color); outline-offset: 3px;}
#wrapper-actores-ley-rep-full .rep-card-bg {position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter .6s cubic-bezier(.22, 1, .36, 1); filter: brightness(0.82) contrast(1.08); z-index: 0; pointer-events: none;}
#wrapper-actores-ley-rep-full .rep-card:hover .rep-card-bg {transform: scale(1.06); filter: brightness(0.92) contrast(1.12);}
#wrapper-actores-ley-rep-full .rep-card-scrim {position: absolute; inset: 0; background: linear-gradient( to top, hsl(210 50% 8% / 0.97) 0%, hsl(210 50% 8% / 0.95) 12%, hsl(210 50% 8% / 0.90) 24%, hsl(210 50% 8% / 0.82) 35%, hsl(210 50% 8% / 0.70) 46%, hsl(210 50% 8% / 0.56) 57%, hsl(210 50% 8% / 0.41) 67%, hsl(210 50% 8% / 0.27) 76%, hsl(210 50% 8% / 0.16) 84%, hsl(210 50% 8% / 0.08) 91%, hsl(210 50% 8% / 0.02) 96%, transparent 100% ); z-index: 1; pointer-events: none; transition: opacity .54s cubic-bezier(.22, 1, .36, 1);}
#wrapper-actores-ley-rep-full .rep-card:hover .rep-card-scrim {opacity: 0.92;}
#wrapper-actores-ley-rep-full .rep-card.is-hero {grid-row: span 2; min-height: 485px; padding: 32px 28px;}
#wrapper-actores-ley-rep-full .rep-card-top {position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin-bottom: auto;}
#wrapper-actores-ley-rep-full .rep-icon-pill {width: 42px; height: 42px; border-radius: 12px; background-color: var(--actor-color); display: inline-flex; align-items: center; justify-content: center; color: #ffffff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s cubic-bezier(.22, 1, .36, 1);}
#wrapper-actores-ley-rep-full .rep-icon-pill svg {width: 22px; height: 22px; fill: currentColor;}
#wrapper-actores-ley-rep-full .rep-card:hover .rep-icon-pill {transform: scale(1.08); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);}
#wrapper-actores-ley-rep-full .rep-link-arrow {width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); display: inline-flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.85); transition: transform .54s cubic-bezier(.22, 1, .36, 1), background-color .45s cubic-bezier(.22, 1, .36, 1), color .45s cubic-bezier(.22, 1, .36, 1);}
#wrapper-actores-ley-rep-full .rep-link-arrow svg {width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;}
#wrapper-actores-ley-rep-full .rep-card:hover .rep-link-arrow {background-color: var(--actor-color); color: #ffffff; transform: translateX(3px);}
#wrapper-actores-ley-rep-full .rep-card-bottom {position: relative; z-index: 2; margin-top: 18px;}
#wrapper-actores-ley-rep-full .rep-card-title {font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 1.1rem; font-weight: 700; color: #ffffff; margin: 0 0 6px 0; line-height: 1.25; letter-spacing: -0.01em;}
#wrapper-actores-ley-rep-full .rep-card.is-hero .rep-card-title {font-size: 1.4rem; font-weight: 800; margin-bottom: 12px;}
#wrapper-actores-ley-rep-full .rep-card-desc {font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 0.85rem; line-height: 1.55; color: rgba(255, 255, 255, 0.92); margin: 0;}
#wrapper-actores-ley-rep-full .rep-card.is-hero .rep-card-desc {font-size: 0.92rem; line-height: 1.6;}
@media (max-width: 900px) {
	#wrapper-actores-ley-rep-full .rep-grid {grid-template-columns: repeat(2, 1fr); grid-template-rows: auto;}
	#wrapper-actores-ley-rep-full .rep-card.is-hero {grid-column: span 2; grid-row: span 1; min-height: 240px;}
}
@media (max-width: 580px) {
	#wrapper-actores-ley-rep-full {padding: 38px 0;}
	#wrapper-actores-ley-rep-full .rep-grid {grid-template-columns: 1fr; gap: 12px;}
	#wrapper-actores-ley-rep-full .rep-card.is-hero {grid-column: span 1; min-height: 200px;}
	#wrapper-actores-ley-rep-full .rep-card {min-height: 180px; padding: 20px 18px;}
}
@media (prefers-reduced-motion: reduce) {
	#wrapper-actores-ley-rep-full .rep-card, #wrapper-actores-ley-rep-full .rep-card-bg, #wrapper-actores-ley-rep-full .rep-icon-pill, #wrapper-actores-ley-rep-full .rep-link-arrow {transition: none !important; transform: none !important;}
}
#wrapper-actores-ley-rep-full { left: auto; right: auto; width: 100%; margin-right: 0; margin-left: 0; }
#wrapper-actores-ley-rep-full .rep-card { border-radius: calc(var(--lrs-r-lg, 22px) + 2px); }

/* Pódcast. */
.rep-sec--podcast > .rep-sec__in { display: flex; gap: 20px; }
.rep-pod-player,
.rep-pod-text { display: flex; flex: none; flex-direction: column; justify-content: center; gap: 20px; width: 440px; max-width: 100%; padding: 10px; }
.rep-pod-iframe { display: block; width: 100%; height: 166px; margin-bottom: 5px; border: 0; }
.rep-pod-credit {
	overflow: hidden;
	color: #ccc;
	font-family: Interstate, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Garuda, Verdana, Tahoma, sans-serif;
	font-size: 10px;
	font-weight: 100;
	line-break: anywhere;
	line-height: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-break: normal;
}
.rep-pod-player { gap: 0; }
.rep-pod-credit a { color: #ccc; text-decoration: none; }
.rep-pod-kicker { margin: 0; color: var(--lrs-blue, #3b6890); font: 600 22px/22px Inter, sans-serif; text-transform: uppercase; }
.rep-pod-title { margin: 0; color: #303030; font: 700 42px/42px Inter, sans-serif; text-transform: uppercase; }
.rep-pod-desc { margin: 0 0 14.4px; color: #666; font: 400 16px/24px Inter, sans-serif; }
@media (max-width: 1366px) {
	.rep-sec--podcast { padding: 0 20px; }
}
@media (max-width: 1024px) {
	.rep-sec--podcast { margin: 50px 0; }
	.rep-pod-player { display: none; }
	.rep-pod-text { width: 100%; }
}
@media (max-width: 767px) {
	.rep-sec--podcast > .rep-sec__in { flex-wrap: wrap; }
}

/* ════════════════════════ Noticias (página 180) y archivos ════════════════════════ */
.rep-news { padding: 10px; }
.rep-news__in { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 1000px; margin-inline: auto; }
.rep-news__title { margin: 0; color: var(--lrs-green, #74b852); font: 700 40px/40px Inter, sans-serif; text-align: center; text-transform: uppercase; }
.rep-news__text { color: var(--lrs-navy, #16324b); font: 500 14px/21px Inter, sans-serif; text-align: center; }
.rep-news__text p { margin: 0 0 14.4px; }
.rep-news__text > :last-child { margin-bottom: 14.4px; }
.rep-news__empty { margin: 0; color: var(--lrs-navy, #16324b); font: 500 16px/1.5 Inter, sans-serif; text-align: center; }
.rep-grid {
	/* Ancho de columna como lo calcula la rejilla de Royal: (ancho + separación − 0,3) / columnas − separación, redondeado hacia abajo. */
	--lrsg-cols: 3;
	--lrsg-gap: 20px;
	display: grid;
	grid-template-columns: repeat(var(--lrsg-cols), calc((100% + var(--lrsg-gap) - .3px) / var(--lrsg-cols) - var(--lrsg-gap)));
	align-items: start;
	gap: 5px var(--lrsg-gap);
}
@supports (width: round(down, 1.5px, 1px)) {
	.rep-grid { grid-template-columns: repeat(var(--lrsg-cols), round(down, calc((100% + var(--lrsg-gap) - .3px) / var(--lrsg-cols) - var(--lrsg-gap)), 1px)); }
}
.rep-grid-item { min-width: 0; }
.rep-grid-media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--lrs-r-xl, 28px);
	box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .06);
}
.rep-grid-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--lrs-r-img, 20px);
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
@media (hover: hover) {
	.rep-grid-item:hover .rep-grid-media img { transform: scale(1.025); }
}
/* Velo oscuro al pasar el cursor sobre la foto (el de la rejilla de Royal). */
.rep-grid-media::after { position: absolute; inset: 0; border-radius: inherit; background: rgba(0, 0, 0, .19); content: ""; opacity: 0; pointer-events: none; transition: opacity .54s cubic-bezier(.22, 1, .36, 1); }
.rep-grid-media:hover::after { opacity: 1; }
.rep-grid-below { padding: 15px; }
.rep-grid-title { margin: 10px 0; font: 700 21px/23px Inter, system-ui, -apple-system, sans-serif; letter-spacing: -.012em; }
.rep-grid-title a {
	display: inline-block;
	color: var(--lrs-navy, #16324b);
	font: 800 20px/1.1 Inter, system-ui, -apple-system, sans-serif;
	letter-spacing: -.012em;
	text-decoration: none;
	transition: color .36s cubic-bezier(.22, 1, .36, 1);
}
.rep-grid-title a:hover { color: #302d55; }
.rep-grid-more { margin-top: 15px; }
.rep-grid-btn {
	display: inline-block;
	padding: 8px 30px;
	border-radius: 999px;
	background-color: var(--lrs-green, #74b852);
	color: #fff;
	font: 600 14px/21px Inter, system-ui, sans-serif;
	text-decoration: none;
	transition: transform .36s cubic-bezier(.2, .8, .2, 1), background-color .36s cubic-bezier(.22, 1, .36, 1);
}
.rep-grid-btn:hover { background-color: #000; color: #fff; }
.rep-grid-btn:active { transform: scale(.97); }
.rep-grid-pager { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 10px; margin-top: 70px; }
.rep-grid-pager .page-numbers {
	display: inline-block;
	margin-right: 10px;
	padding: 7px 30px;
	border: 1px solid transparent;
	border-radius: 6px;
	background-color: var(--lrs-green, #74b852);
	color: #f8f8f8;
	font: 500 13px/1.5 Inter, sans-serif;
	text-decoration: none;
	transition: background-color .36s cubic-bezier(.22, 1, .36, 1), color .36s cubic-bezier(.22, 1, .36, 1);
}
.rep-grid-pager .page-numbers:last-child { margin-right: 0; }
.rep-grid-pager .page-numbers.current,
.rep-grid-pager a.page-numbers:hover { border-color: #000; background-color: #000; color: var(--lrs-green, #74b852); }
.rep-grid-pager .page-numbers.dots { background: transparent; color: var(--lrs-navy, #16324b); }
@media (max-width: 1366px) {
	.rep-news { padding: 0 20px; }
	.rep-grid { --lrsg-gap: 30px; row-gap: 40px; }
}
@media (max-width: 1024px) {
	.rep-grid { --lrsg-cols: 2; }
}
@media (max-width: 767px) {
	.rep-news__title { font-size: 35px; line-height: 35px; }
	.rep-grid { --lrsg-cols: 1; row-gap: 40px; }
	.rep-grid-title { margin: 0 0 15px; }
	.rep-grid-title a { font-size: 25px; line-height: 27.5px; }
	.rep-grid-pager { margin-top: 0; }
	.rep-grid-pager .page-numbers { padding-inline: 18px; }
}

/* ════════════════════════ Página no encontrada (plantilla 503) ════════════════════════ */
.rep-404 { padding: clamp(56px, 9vw, 120px) 10px clamp(64px, 9vw, 120px); text-align: center; }
.rep-404__in { max-width: 1280px; margin-inline: auto; }
.rep-404__title {
	margin: 0;
	color: var(--lrs-navy, #16324b);
	font: 750 clamp(2rem, 4.4vw, 3.1rem)/1.08 Inter, system-ui, -apple-system, sans-serif;
	letter-spacing: -.032em;
}
.rep-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; }
.rep-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 44rem; margin: 26px auto 0; }
.rep-404__links a {
	padding: 9px 16px;
	border: 1px solid var(--lrs-line, #e4e7eb);
	border-radius: 999px;
	background: #fff;
	color: var(--lrs-navy, #16324b);
	font: 500 .9375rem/1.2 Inter, system-ui, -apple-system, sans-serif;
	text-decoration: none;
	transition: background-color .36s cubic-bezier(.22, 1, .36, 1), border-color .36s cubic-bezier(.22, 1, .36, 1), color .36s cubic-bezier(.22, 1, .36, 1), transform .36s cubic-bezier(.32, .72, 0, 1);
}
.rep-404__links a:hover { border-color: #cfe3c4; background: var(--lrs-green-50, #f0f7ed); color: var(--lrs-green-700, #3a6825); }
.rep-404__links a:active { transform: scale(.97); }
/* Botón de Royal: 219 px de ancho y 30 px sobre la separación de 20 px del contenedor. */
.rep-404__cta { margin-top: 50px; }
.rep-404__btn {
	display: inline-block;
	box-sizing: border-box;
	width: 219px;
	max-width: 100%;
	padding: 13px 24px;
	border-radius: 999px;
	background: var(--lrs-green-700, #3a6825);
	color: #fff;
	font: 600 15px/1.2 Inter, system-ui, -apple-system, sans-serif;
	text-decoration: none;
	transition: background-color .36s cubic-bezier(.22, 1, .36, 1), transform .36s cubic-bezier(.32, .72, 0, 1);
}
.rep-404__btn:hover { background: #2f561e; color: #fff; }
.rep-404__btn:active { transform: scale(.97); }

/* ════════════════════════ Pie (plantilla 168) ════════════════════════ */
.rep-footer { display: block; }
/* Las dos franjas vacías de la plantilla bajo la tarjeta (40 px) van como relleno, para no fundirse con el margen del pie. */
.rep-foot-intro { padding: 10px 10px 50px; }
.rep-hero-compact {--hero-bg: #1B3047; --hero-text: #ffffff; --hero-radius: var(--lrs-r-xl, 28px); display: flex; align-items: center; gap: 30px; background-color: var(--hero-bg); color: var(--hero-text); padding: 30px 40px; border-radius: var(--hero-radius); margin: 20px 0; font-family: 'Inter', system-ui, -apple-system, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.05);}
.rep-hero-logo {flex-shrink: 0; width: 100px; height: auto; display: flex; align-items: center; justify-content: center;}
.rep-hero-logo img {width: 100%; height: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));}
.rep-hero-body {flex: 1;}
.rep-hero-body p {margin: 0; font-size: 1.05rem; line-height: 1.6; font-weight: 400; color: rgba(255, 255, 255, 0.95);}
.rep-hero-body strong {color: var(--lrs-green, #74b852); font-weight: 600;}
@media (max-width: 768px) {
	.rep-hero-compact {flex-direction: column; text-align: center; padding: 30px 20px; gap: 20px;}
	.rep-hero-logo {width: 80px;}
	.rep-hero-body p {font-size: 0.95rem;}
}
.rep-foot-intro > .rep-hero-compact { max-width: 800px; margin: 20px auto; border-radius: var(--lrs-r-xl, 28px); }
.rep-hero-logo img { display: block; }

.rep-foot-main { margin-top: 6rem; padding: 50px 30px 15px; background-color: var(--lrs-navy, #16324b); }
.rep-foot-in { display: flex; flex-direction: column; gap: 20px; max-width: 1280px; margin-inline: auto; }
.rep-foot-row { display: flex; gap: 30px; padding: 10px; }
.rep-foot-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 10px; }
.rep-foot-col--brand { flex: none; width: 26%; }
.rep-foot-col--menu { flex: none; width: 18%; }
.rep-foot-col--recent { flex: 1 1 0; }
.rep-foot-col--contact { flex: none; width: 20%; }
.rep-foot-title { margin: 0; color: #f8f8f8; font: 700 20px/20px Inter, sans-serif; text-transform: uppercase; }
.rep-foot-logo { display: block; width: 150px; padding-bottom: 6px; }
.rep-foot-logo img { display: block; width: 150px; height: auto; }
.rep-foot-about { margin: 0 0 14.4px; color: #f8f8f8; font: 400 16px/24px Inter, sans-serif; }
.rep-foot-menu { margin: 0; padding: 0; list-style: none; }
.rep-foot-menu li { position: relative; margin: 0; }
.rep-foot-menu li + li { margin-top: 34px; }
.rep-foot-menu li + li::before { position: absolute; top: -23px; right: 0; left: 0; height: 1px; background: rgba(255, 255, 255, .08); content: ""; }
.rep-foot-menu a,
.rep-foot-menu a:hover { display: block; color: #f8f8f8; font: 500 14px/14px Inter, sans-serif; text-decoration: none; text-transform: uppercase; }
.rep-foot-post { display: flow-root; }
.rep-foot-post__media {
	float: left;
	display: block;
	width: 30%;
	margin-right: 20px;
	overflow: hidden;
	border-radius: var(--lrs-r-xl, 28px);
	box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .06);
}
.rep-foot-post__media img { display: block; width: 100%; height: auto; border-radius: var(--lrs-r-img, 20px); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) {
	.rep-foot-post:hover .rep-foot-post__media img { transform: scale(1.025); }
}
.rep-foot-post__body { float: left; display: flex; flex-direction: column; align-items: flex-start; width: calc(70% - 20px); padding: 0 10px; }
.rep-foot-post__title { margin: 0; color: #333; font: 700 21px/23px Inter, system-ui, -apple-system, sans-serif; letter-spacing: -.012em; }
.rep-foot-post__title a,
.rep-foot-post__title a:hover { display: inline-block; color: #f8f8f8; font: 600 16px/1.2 Inter, system-ui, -apple-system, sans-serif; letter-spacing: -.012em; text-decoration: none; }
.rep-foot-post__more {
	display: inline-block;
	margin-top: 15px;
	padding: 6px 30px;
	border-radius: 999px;
	background-color: var(--lrs-green, #73bc4b);
	color: #f8f8f8;
	font: 600 14px/21px Inter, system-ui, sans-serif;
	text-decoration: none;
	transition: transform .36s cubic-bezier(.2, .8, .2, 1), background-color .36s cubic-bezier(.22, 1, .36, 1), color .36s cubic-bezier(.22, 1, .36, 1);
}
.rep-foot-post__more:hover { background-color: #f8f8f8; color: var(--lrs-green, #73bc4b); }
.rep-foot-post__more:active { transform: scale(.97); }
.rep-foot-contact { margin: 0; padding: 0; list-style: none; }
.rep-foot-contact li { padding-block: 5.5px; }
.rep-foot-contact li:first-child { padding-top: 0; }
.rep-foot-contact li:last-child { padding-bottom: 0; }
.rep-foot-contact a,
.rep-foot-contact a:hover { display: flex; align-items: center; color: #f8f8f8; text-decoration: none; }
.rep-foot-contact svg { flex: none; width: 14px; height: 14px; fill: #f8f8f8; }
.rep-foot-contact span { padding-left: 5px; color: #f8f8f8; font: 500 14px/21px Inter, sans-serif; }
.rep-foot-divider { margin: 0; padding: 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.rep-foot-in > .rep-foot-divider { margin-block: 10px; }
.rep-foot-copy { margin: 0 0 14.4px; color: #6fa3c5; font: 400 12px/18px Inter, sans-serif; text-align: center; }
@media (max-width: 1024px) {
	.rep-foot-main { display: none; }
}
@media (max-width: 767px) {
	.rep-foot-intro > .rep-hero-compact { max-width: none; }
}

/* Botones flotantes: ayuda urgente y WhatsApp. */
.urgent-card-container {position: fixed; bottom: 24px; left: 24px; z-index: 99999; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; opacity: 0; transform: translateY(20px); animation: entrance-fade 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; animation-delay: 1.2s;}
.urgent-card {display: flex; align-items: center; gap: 10px; background-color: #d93a32; padding: 10px 16px; border-radius: 12px; text-decoration: none; box-shadow: 0 6px 16px rgba(211, 47, 47, 0.3); transition: transform .36s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .36s cubic-bezier(.22, 1, .36, 1);}
.urgent-card-active-anim {animation: danger-pulse 2s infinite;}
.urgent-card:hover {transform: translateY(-3px); box-shadow: 0 8px 20px rgba(211, 47, 47, 0.45);}
.urgent-card .text-content {display: flex; flex-direction: column; justify-content: center;}
.urgent-card .title {color: #FFFFFF; font-weight: 800; font-size: 0.9rem; line-height: 1.1; letter-spacing: -0.01em;}
.urgent-card .subtitle {color: #FFFFFF; font-weight: 500; font-size: 0.75rem; line-height: 1.2; margin-top: 1px;}
@keyframes entrance-fade {
	to {opacity: 1; transform: translateY(0);}
}
@keyframes danger-pulse {
	0% {box-shadow: 0 6px 16px rgba(211, 47, 47, 0.3), 0 0 0 0 rgba(211, 47, 47, 0.3);}
	70% {box-shadow: 0 6px 16px rgba(211, 47, 47, 0.3), 0 0 0 8px rgba(211, 47, 47, 0);}
	100% {box-shadow: 0 6px 16px rgba(211, 47, 47, 0.3), 0 0 0 0 rgba(211, 47, 47, 0);}
}
.seo-ai-context {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;}
@media (max-width: 480px) {
	.urgent-card-container {bottom: 16px; left: 16px;}
	.urgent-card {padding: 8px 14px; gap: 8px;}
	.urgent-card .title {font-size: 0.85rem;}
	.urgent-card .subtitle {font-size: 0.7rem;}
}
.urgent-card { border-radius: var(--lrs-r-md, 16px); background: #d93a32; }
.urgent-card.urgent-card-active-anim { box-shadow: 0 6px 16px rgba(217, 58, 50, .28); }
.urgent-card__icon { display: block; flex: none; color: #fff; font-size: 26px; line-height: 1.5; }
@media (max-width: 480px) {
	.urgent-card__icon { font-size: 24px; }
}
#wa-leyrep-button {--wa-green: #25D366; position: fixed; bottom: 24px; right: 24px; z-index: 2147483647 !important;}
#wa-leyrep-button .wa-icon-button {width: 62px !important; height: 62px !important; background-color: var(--wa-green) !important; border-radius: 50% !important; display: flex !important; justify-content: center !important; align-items: center !important; box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4) !important; cursor: pointer !important; border: none !important; padding: 0 !important; text-decoration: none !important; transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s cubic-bezier(.22, 1, .36, 1) !important;}
#wa-leyrep-button .wa-icon-button:hover {transform: scale(1.08) !important; box-shadow: 0 10px 36px rgba(37, 211, 102, 0.55) !important;}
@media (max-width: 480px) {
	#wa-leyrep-button {bottom: 16px; right: 16px;}
	#wa-leyrep-button .wa-icon-button {width: 54px !important; height: 54px !important;}
	}
#wa-leyrep-button .wa-icon-button svg { width: 34px; height: 34px; fill: #fff; }
@media (max-width: 480px) {
	#wa-leyrep-button .wa-icon-button svg { width: 28px; height: 28px; }
}

/* Esquinas continuas (estilo iOS) donde el navegador lo permite. */
@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); }
}

/* ════════════════════════ Páginas de Elementor dentro del diseño propio ════════════════════════ */
/* Páginas de Elementor: el contenedor de la plantilla de páginas 831 de Royal (10 px de relleno, 1280 px de ancho)
   y el texto del bloque «Contenido de la entrada» (#777, 14 px). */
.lrs-elementor { display: block; padding: 10px; }
.lrs-elementor > .elementor { max-width: 1280px; margin-inline: auto; color: #777; font-size: 14px; }

/* Noticias del formato 1.5: la columna de la plantilla de entradas 822 (750 px, subida 20 px; 20 px a los lados hasta 1366 px),
   con el bloque «Contenido de la entrada» (#777, 14 px) y el contenedor de 10 px de la noticia. */
.lrs-v-single.lrs-entry-page .lrs-main { padding-top: 0; }
.lrs-entry-wrap { display: flex; flex-direction: column; gap: 20px; box-sizing: content-box; max-width: 750px; margin: -20px auto 0; }
.lrs-entry-post { min-width: 0; color: #777; font-size: 14px; }
.lrs-entry-doc { padding: 10px; }
/* Comentarios: el bloque de la plantilla 822 (20 px de relleno) con su tarjeta clara. */
.lrs-single-cm { box-sizing: content-box; max-width: 750px; margin: 56px auto 80px; padding: 20px 0; }
.lrs-entry-wrap > .lrs-single-cm { max-width: none; margin-inline: 0; }
.lrs-single-cm__card {
	padding: 32px;
	border: 1px solid var(--lrs-line, #e4e7eb);
	border-radius: var(--lrs-r-xl, 28px);
	background: #f8f8f8;
	box-shadow: var(--lrs-shadow-2, 0 1px 2px rgba(16, 24, 40, .04), 0 8px 20px -8px rgba(16, 24, 40, .12));
}
@media (max-width: 1366px) {
	.lrs-entry-wrap, .lrs-single-cm { padding-inline: 20px; }
	.lrs-entry-wrap > .lrs-single-cm { padding-inline: 0; }
}
@media (max-width: 767px) {
	.lrs-single-cm { margin-block: 40px 56px; }
	.lrs-single-cm__card { padding: 22px 18px 24px; border-radius: var(--lrs-r-lg, 22px); }
}

/* ════════════════════════ Búsqueda, biblioteca, documentos y páginas sin Elementor ════════════════════════ */
.lrs-wrap {width: 100%; max-width: calc(var(--lx-wrap) + var(--lx-gutter) * 2); margin-inline: auto; padding-inline: var(--lx-gutter);}
.lrs-wrap--mid {max-width: calc(880px + var(--lx-gutter) * 2);}
.lrs-eyebrow {margin: 0 0 12px; color: var(--lrs-green-700, #3a6825); font-size: .875rem; font-weight: 600; line-height: 1.4;}
.lrs-h2 {margin: 0; color: var(--lx-g-900); font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance;}
.lrs-h3 {margin: 0; color: var(--lx-g-900); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 650; line-height: 1.3; letter-spacing: -.02em; text-wrap: balance;}
.lrs-sub {margin: 12px 0 0; max-width: 62ch; color: var(--lx-g-600); font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.6; text-wrap: pretty;}
.lrs-muted {color: var(--lx-g-500); font-weight: 500;}
.lrs-prose p {margin: 0 0 16px; color: var(--lx-g-600); font-size: 1.0625rem; line-height: 1.7; text-wrap: pretty;}
.lrs-prose p:last-child {margin-bottom: 0;}
.lrs-link {color: var(--lx-brand-600); font-weight: 600;
	text-decoration: underline; text-decoration-color: rgb(29 79 145 / .3); text-decoration-thickness: 1px; text-underline-offset: 3px;
	transition: color .27s, text-decoration-color .27s;}
.lrs-link:hover {color: var(--lx-brand-700); text-decoration-color: currentColor;}
.lrs-actions {display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;}
.lrs-sectiontitle {margin: 0 0 20px; color: var(--lx-g-900); font-size: 1.25rem; font-weight: 650; line-height: 1.3; letter-spacing: -.015em;}
.lrs-btn {--bg: #fff; --fg: var(--lx-g-700); --bd: var(--lx-g-300); --bg-h: var(--lx-g-50); --fg-h: var(--lx-g-900);
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; margin: 0; padding: 10px 16px;
	border: 1px solid var(--bd); border-radius: var(--lx-r-md);
	background: var(--bg); color: var(--fg); box-shadow: var(--lx-shadow-xs);
	font: 600 .9375rem/1.25 var(--lrs-font, "Inter", system-ui, sans-serif); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
	cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
	transition: background-color .27s, color .27s, border-color .27s, box-shadow .27s, transform .27s var(--lx-ease);}
.lrs-btn:hover {background: var(--bg-h); color: var(--fg-h);}
.lrs-btn:active {transform: scale(.97);}
.lrs-btn:focus-visible {outline: none; box-shadow: var(--lx-shadow-xs), var(--lx-ring);}
.lrs-btn .rep-ico,
.lrs-btn svg {width: 20px; height: 20px; fill: currentColor; flex: none;}
.lrs-btn > .rep-ico:last-child:not(:first-child) {transition: transform .36s var(--lx-ease);}
.lrs-btn:hover > .rep-ico:last-child:not(:first-child) {transform: translateX(2px);}
.lrs-btn--primary {--bg: var(--lx-brand-600); --fg: #fff; --bd: var(--lx-brand-600); --bg-h: var(--lx-brand-700); --fg-h: #fff;
	box-shadow: var(--lx-shadow-xs), inset 0 -2px 0 rgb(0 0 0 / .1), inset 0 0 0 1px rgb(255 255 255 / .1);}
.lrs-btn--light {--bg: #fff; --fg: var(--lx-brand-700); --bd: #fff; --bg-h: var(--lx-brand-50); --fg-h: var(--lx-brand-800);}
.lrs-btn--wa {--bg: var(--lx-wa-btn); --fg: #fff; --bd: var(--lx-wa-btn); --bg-h: var(--lx-wa-btn-h); --fg-h: #fff;}
.lrs-btn--sm {min-height: 40px; padding: 8px 14px; font-size: .875rem;}
.lrs-btn--lg {min-height: 48px; padding: 12px 20px; font-size: 1rem;}
.lrs-kbd {display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 22px; padding: 0 6px;
	border: 1px solid var(--lx-g-200); border-bottom-width: 2px; border-radius: 6px;
	background: #fff; color: var(--lx-g-500);
	font: 500 .75rem/1 var(--lrs-font, "Inter", system-ui, sans-serif); letter-spacing: .02em; white-space: nowrap;}
.lrs-chip {display: inline-flex; align-items: center; gap: 6px;
	min-height: 32px; padding: 5px 12px;
	border: 1px solid var(--lx-g-200); border-radius: var(--lx-r-full);
	background: #fff; color: var(--lx-g-700);
	font-size: .875rem; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap;
	cursor: pointer; -webkit-tap-highlight-color: transparent;
	transition: border-color .27s, background-color .27s, color .27s, transform .27s var(--lx-ease);}
.lrs-chip:hover {border-color: var(--lx-brand-200); background: var(--lx-brand-25); color: var(--lx-brand-700);}
.lrs-chip:active {transform: scale(.96);}
.lrs-chip span {color: var(--lx-g-400); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums;}
.lrs-chip.is-active {border-color: var(--lx-g-900); background: var(--lx-g-900); color: #fff;}
.lrs-chip.is-active span {color: rgb(255 255 255 / .6);}
.lrs-hero__search {position: relative; display: flex; align-items: center; gap: 8px;
	max-width: 600px; padding: 6px 6px 6px 16px;
	border: 1px solid var(--lx-g-300); border-radius: var(--lx-r-lg);
	background: #fff; box-shadow: var(--lx-shadow-sm);
	transition: border-color .27s, box-shadow .36s;}
.lrs-hero__search:hover {border-color: var(--lx-g-400);}
.lrs-hero__search:focus-within {border-color: var(--lx-brand-300); box-shadow: var(--lx-shadow-sm), var(--lx-ring);}
.lrs-hero__search-ico {width: 22px; height: 22px; color: var(--lx-g-400);}
.lrs-hero__search input {flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0;
	border: 0; outline: none; background: transparent; box-shadow: none;
	color: var(--lx-g-900); font: 400 1.0625rem/1.2 var(--lrs-font, "Inter", system-ui, sans-serif);
	-webkit-appearance: none; appearance: none;}
.lrs-hero__search input:focus-visible {outline: none;}
.lrs-hero__search input::placeholder {color: var(--lx-g-400);}
.lrs-hero__search input::-webkit-search-cancel-button {-webkit-appearance: none; display: none;}
.lrs-hero__search .lrs-btn {flex: none;}
.lrs-hero__search--page {max-width: 720px; margin-top: 24px;}
@media (max-width: 520px) {
	.lrs-hero__search {padding-left: 12px;}
	.lrs-hero__search-ico {display: none;}
	.lrs-hero__search .lrs-btn {padding-inline: 14px;}
}
.lrs-section {padding: clamp(56px, 8vw, 96px) 0;}
.lrs-section--tight {padding: clamp(32px, 5vw, 56px) 0;}
.lrs-section--top {padding-top: clamp(28px, 4vw, 48px);}
.lrs-section--soft {border-block: 1px solid var(--lx-g-100); background: var(--lx-g-50);}
.lrs-head {display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px);}
.lrs-head > .lrs-btn {flex: none;}
@media (max-width: 720px) {
	.lrs-head {flex-direction: column; align-items: flex-start;}
}
.lrs-cards {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 32px) clamp(20px, 2.5vw, 32px);}
.lrs-card {position: relative; display: flex; flex-direction: column; min-width: 0;}
.lrs-card__media {position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 16px; border-radius: var(--lx-r-xl); background: var(--lx-g-100);}
.lrs-card__media::after {content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(16 24 40 / .06); pointer-events: none;}
.lrs-card__media img {display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--lx-ease);}
.lrs-card:hover .lrs-card__media img {transform: scale(1.04);}
.lrs-card__media.is-empty {display: flex; align-items: center; justify-content: center; color: var(--lx-g-300);}
.lrs-card__media.is-empty .rep-ico {width: 48px; height: 48px;}
.lrs-card__meta {display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 8px; color: var(--lx-g-500); font-size: .8125rem; font-weight: 500;}
.lrs-card__cat {color: var(--lrs-green-700, #3a6825); font-weight: 600;}
.lrs-card__cat::after {content: ''; display: inline-block; width: 3px; height: 3px; margin-left: 10px; border-radius: 50%; background: var(--lx-g-300); vertical-align: middle;}
.lrs-card__title {margin: 0 0 8px; color: var(--lx-g-900); font-size: 1.1875rem; font-weight: 650; line-height: 1.35; letter-spacing: -.015em; text-wrap: balance;}
.lrs-card__title a {color: inherit; text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px;
	transition: background-size .6s var(--lx-ease), color .27s;}
.lrs-card__title a::after {content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--lx-r-xl);}
.lrs-card__title a:focus-visible {outline: none;}
.lrs-card__title a:focus-visible::after {outline: 2px solid var(--lx-brand-600); outline-offset: 4px;}
.lrs-card:hover .lrs-card__title a {color: var(--lx-brand-700); background-size: 100% 1px;}
.lrs-card__excerpt {display: -webkit-box; overflow: hidden; margin: 0 0 14px; color: var(--lx-g-600); font-size: .9375rem; line-height: 1.55; -webkit-line-clamp: 3; -webkit-box-orient: vertical;}
.lrs-card__more {display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--lx-brand-600); font-size: .875rem; font-weight: 600;}
.lrs-card__more .rep-ico {width: 18px; height: 18px; transition: transform .36s var(--lx-ease);}
.lrs-card:hover .lrs-card__more .rep-ico {transform: translateX(3px);}
.lrs-crumbs ol {display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; padding: 0; list-style: none; color: var(--lx-g-500); font-size: .875rem; font-weight: 500;}
.lrs-crumbs li {display: inline-flex; align-items: center; gap: 6px; min-width: 0;}
.lrs-crumbs li + li::before {content: ''; flex: none; width: 6px; height: 6px; margin-right: 4px; border-top: 1.5px solid var(--lx-g-300); border-right: 1.5px solid var(--lx-g-300); transform: rotate(45deg);}
.lrs-crumbs a {border-radius: 4px; color: var(--lx-g-500); text-decoration: none; transition: color .27s;}
.lrs-crumbs a:hover {color: var(--lx-g-900);}
.lrs-crumbs [aria-current] {overflow: hidden; max-width: 52ch; color: var(--lx-g-900); white-space: nowrap; text-overflow: ellipsis;}
.lrs-pagehero {padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--lx-g-100); background: linear-gradient(180deg, var(--lx-g-50), #fff);}
.lrs-pagehero__title {margin: 16px 0 12px; color: var(--lx-g-900); font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance;}
.lrs-pagehero__lead {margin: 0; max-width: 64ch; color: var(--lx-g-600); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; text-wrap: pretty;}
.lrs-filters {margin: 24px 0 0;}
.lrs-filters ul {display: flex; gap: 8px; margin: 0; padding: 0 0 4px; overflow-x: auto; list-style: none; scrollbar-width: none; scroll-snap-type: x proximity;}
.lrs-filters ul::-webkit-scrollbar {display: none;}
.lrs-filters li {flex: none; scroll-snap-align: start;}
@media (max-width: 899px) {
	.lrs-filters {margin-right: calc(var(--lx-gutter) * -1);}
	.lrs-filters ul {padding-right: var(--lx-gutter);}
}
@media (min-width: 900px) {
	.lrs-filters ul {flex-wrap: wrap; overflow: visible;}
}
.lrs-pager {display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 56px;}
.lrs-pager .page-numbers {display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--lx-g-200); border-radius: var(--lx-r-md); color: var(--lx-g-700); font-size: .875rem; font-weight: 600; text-decoration: none; transition: background-color .27s, border-color .27s;}
.lrs-pager a.page-numbers:hover {border-color: var(--lx-g-300); background: var(--lx-g-50);}
.lrs-pager .current {border-color: var(--lx-g-900); background: var(--lx-g-900); color: #fff;}
.lrs-pager .dots {border-color: transparent;}
.lrs-results__count {margin: 16px 0 0; color: var(--lx-g-500); font-size: .9375rem; font-weight: 500;}
.lrs-results {display: grid; gap: 40px;}
.lrs-results__h {display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--lx-g-900); font-size: 1rem; font-weight: 650;}
.lrs-results__h span {padding: 0 8px; border-radius: var(--lx-r-full); background: var(--lx-g-100); color: var(--lx-g-600); font-size: .75rem; line-height: 1.6;}
.lrs-results__list {display: grid; gap: 8px; margin: 0; padding: 0; list-style: none;}
.lrs-result {position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 16px; border: 1px solid var(--lx-g-200); border-radius: var(--lx-r-xl); background: #fff; transition: border-color .36s, box-shadow .45s;}
.lrs-result:hover {border-color: var(--lx-g-300); box-shadow: var(--lx-shadow-md);}
.lrs-result__ico {display: inline-flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--lx-g-200); border-radius: var(--lx-r-md); background: #fff; color: var(--lx-brand-600);}
.lrs-result__ico .rep-ico {width: 20px; height: 20px;}
.lrs-result__ico.is-d {border-color: var(--lx-red-100); background: var(--lx-red-50); color: var(--lx-red-700);}
.lrs-result__ico.is-o {border-color: var(--lrs-green-100, #e2f0da); background: var(--lrs-green-50, #f0f7ed); color: var(--lrs-green-700, #3a6825);}
.lrs-result__ico.is-p {color: var(--lx-g-500);}
.lrs-result__main {flex: 1; min-width: 0;}
.lrs-result h3 {margin: 0 0 4px; font-size: 1.0625rem; font-weight: 650; line-height: 1.4; letter-spacing: -.01em;}
.lrs-result h3 a {color: var(--lx-g-900); text-decoration: none; transition: color .27s;}
.lrs-result h3 a::after {content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--lx-r-xl);}
.lrs-result:hover h3 a {color: var(--lx-brand-700);}
.lrs-result__main p {margin: 0 0 6px; color: var(--lx-g-600); font-size: .9375rem; line-height: 1.55;}
.lrs-result__main .lrs-result__meta {margin: 0; color: var(--lx-g-500); font-size: .8125rem;}
.lrs-result__pdf {position: relative; z-index: 2; flex: none; align-self: center; padding: 6px 10px; border: 1px solid var(--lx-red-100); border-radius: var(--lx-r-sm); background: var(--lx-red-50); color: var(--lx-red-700); font-size: .75rem; font-weight: 700; text-decoration: none; transition: background-color .27s;}
.lrs-result__pdf:hover {background: var(--lx-red-100);}
.lrs-empty-state {padding: clamp(32px, 5vw, 48px) 24px; border: 1px dashed var(--lx-g-300); border-radius: var(--lx-r-2xl); background: var(--lx-g-25); text-align: center;}
.lrs-empty-state__ico {display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 16px; border: 1px solid var(--lx-g-200); border-radius: var(--lx-r-lg); background: #fff; color: var(--lx-g-500); box-shadow: var(--lx-shadow-xs);}
.lrs-empty-state__ico .rep-ico {width: 28px; height: 28px;}
.lrs-empty-state h2 {margin: 0 0 8px; color: var(--lx-g-900); font-size: 1.25rem; font-weight: 650; line-height: 1.35; text-wrap: balance;}
.lrs-empty-state p {margin: 0 auto; max-width: 52ch; color: var(--lx-g-600);}
.lrs-empty-state__chips {display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 20px 0;}
.lrs-empty-state__chips > span {color: var(--lx-g-500); font-size: .875rem;}
.lrs-empty-state__help {font-size: .9375rem;}
.lrs-popular {margin-top: 48px;}
.lrs-popular__list {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none;}
.lrs-popular__list a {display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--lx-g-200); border-radius: var(--lx-r-lg); background: #fff; color: var(--lx-g-900); font-size: .9375rem; font-weight: 600; text-decoration: none; transition: border-color .36s, box-shadow .45s, transform .45s var(--lx-ease);}
.lrs-popular__list a:hover {border-color: var(--lx-g-300); box-shadow: var(--lx-shadow-sm); transform: translateY(-1px);}
.lrs-popular__ico {display: inline-flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--lx-r-md); background: var(--lx-brand-50); color: var(--lx-brand-600);}
.lrs-popular__ico .rep-ico {width: 20px; height: 20px;}
.lrs-popular__arrow {width: 18px; height: 18px; margin-left: auto; color: var(--lx-g-400); transition: transform .36s var(--lx-ease), color .36s;}
.lrs-popular__list a:hover .lrs-popular__arrow {color: var(--lx-brand-600); transform: translateX(3px);}
.lrs-v-single .lrs-main,
.lrs-v-page .lrs-main {padding-top: clamp(12px, 3vw, 32px);}
.lrs-article__head .lrs-crumbs {margin-bottom: 14px;}
.lrs-article__head .lrs-crumbs ol {justify-content: center;}
.lrs-libpage {padding-block: clamp(20px, 3vw, 32px) clamp(48px, 6vw, 72px);}
.lrs-libpage > .lrs-crumbs {margin-bottom: 8px;}
.lrs-docpage {padding-block: clamp(20px, 3vw, 32px) clamp(48px, 6vw, 72px);}
.lrs-docpage__head {margin: 24px 0 28px;}
.lrs-docpage__title {margin: 0; max-width: 32ch; color: var(--lx-g-900); font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance;}
@media (max-width: 980px) {
	.lrs-cards {grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 720px) {
	.lrs-popular__list {grid-template-columns: minmax(0, 1fr);}
}
@media (max-width: 640px) {
	.lrs-cards {grid-template-columns: minmax(0, 1fr);}
	.lrs-result {padding: 14px; gap: 12px;}
	.lrs-result__pdf {display: none;}
}

/* ───────── Difuminado donde el contenido sigue ─────────
 * Sin desenfoque: la opacidad pasa de 0 a 100 % con una curva suave. Solo aparece hacia el lado donde hay más
 * (assets/js/header.js pone is-fs al inicio e is-fe al final) y entra y sale con transición. */
@property --fs { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --fe { syntax: '<length>'; inherits: false; initial-value: 0px; }
.lrs-fx, .lrs-fy {
	--fdir: 90deg; --fade: clamp(32px, 6vw, 64px); --fs: 0px; --fe: 0px;
	-webkit-mask-image: linear-gradient(var(--fdir), rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .1) calc(var(--fs) * .2), rgba(0, 0, 0, .35) calc(var(--fs) * .4), rgba(0, 0, 0, .65) calc(var(--fs) * .6), rgba(0, 0, 0, .9) calc(var(--fs) * .8), #000 var(--fs), #000 calc(100% - var(--fe)), rgba(0, 0, 0, .9) calc(100% - var(--fe) * .8), rgba(0, 0, 0, .65) calc(100% - var(--fe) * .6), rgba(0, 0, 0, .35) calc(100% - var(--fe) * .4), rgba(0, 0, 0, .1) calc(100% - var(--fe) * .2), rgba(0, 0, 0, 0) 100%);
	mask-image: linear-gradient(var(--fdir), rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .1) calc(var(--fs) * .2), rgba(0, 0, 0, .35) calc(var(--fs) * .4), rgba(0, 0, 0, .65) calc(var(--fs) * .6), rgba(0, 0, 0, .9) calc(var(--fs) * .8), #000 var(--fs), #000 calc(100% - var(--fe)), rgba(0, 0, 0, .9) calc(100% - var(--fe) * .8), rgba(0, 0, 0, .65) calc(100% - var(--fe) * .6), rgba(0, 0, 0, .35) calc(100% - var(--fe) * .4), rgba(0, 0, 0, .1) calc(100% - var(--fe) * .2), rgba(0, 0, 0, 0) 100%);
	transition: --fs .6s var(--lx-ease, cubic-bezier(.22, 1, .36, 1)), --fe .6s var(--lx-ease, cubic-bezier(.22, 1, .36, 1));
}
.lrs-fy { --fdir: 180deg; --fade: 40px; }
.lrs-fx.is-fs, .lrs-fy.is-fs { --fs: var(--fade); }
.lrs-fx.is-fe, .lrs-fy.is-fe { --fe: var(--fade); }
/* Texto recortado: sin «…»; la última línea visible se desvanece hacia abajo, señal de que el texto sigue. */
.lrs-ft.is-cut {
	-webkit-line-clamp: none !important; line-clamp: none !important; max-height: var(--ft-h) !important; overflow: hidden !important; text-wrap: wrap !important;
	-webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 1lh), rgba(0, 0, 0, .85) calc(100% - .72lh), rgba(0, 0, 0, .55) calc(100% - .48lh), rgba(0, 0, 0, .2) calc(100% - .22lh), rgba(0, 0, 0, 0) 100%);
	mask-image: linear-gradient(180deg, #000 calc(100% - 1lh), rgba(0, 0, 0, .85) calc(100% - .72lh), rgba(0, 0, 0, .55) calc(100% - .48lh), rgba(0, 0, 0, .2) calc(100% - .22lh), rgba(0, 0, 0, 0) 100%);
}
@media (prefers-reduced-motion: reduce) { .lrs-fx, .lrs-fy { transition: none; } }
