/* Blog de LeyColombia — estructura inspirada en las entradas de miminuta.co, con la paleta del sitio. */
body.lcb { background: #f5f7fa; color: #1d2433; }
.lcb-main { padding: 28px 16px 56px; font-family: "IBM Plex Sans", system-ui, sans-serif; }
.lcb-wrap { max-width: 1160px; margin: 0 auto; }
.lcb a { text-underline-offset: 3px; }
.lcb :focus-visible { outline: 3px solid #FCD116; outline-offset: 2px; border-radius: 4px; }

/* ---------- Listado ---------- */
.lcb-cab { text-align: center; max-width: 760px; margin: 8px auto 26px; }
body.lcb main .lcb-h1 { font-family: "Manrope", "IBM Plex Sans", sans-serif; font-weight: 800; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; color: #0E2240; margin: 0 0 10px; }
body.lcb main .lcb-h1 span { color: #B8913A; }
body.lcb main .lcb-h1 small { font-size: .5em; color: #5b6475; font-weight: 600; }
.lcb-intro { font-size: 17px; line-height: 1.6; color: #5b6475; margin: 0 0 18px; }
.lcb-busca { display: flex; max-width: 520px; margin: 0 auto 16px; background: #fff; border: 2px solid #8C9BB2; border-radius: 12px; overflow: hidden; }
.lcb-busca input[type=search] { flex: 1; border: 0; padding: 12px 14px; font: inherit; font-size: 16px; background: transparent; color: #1d2433; min-width: 0; }
.lcb-busca input[type=search]:focus { outline: none; }
.lcb-busca:focus-within { box-shadow: 0 0 0 3px #FCD11666; }
.lcb-busca button { border: 0; background: #0E2240; color: #fff; padding: 0 16px; cursor: pointer; }
.lcb-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lcb-chip { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #d6deea; color: #0E2240; text-decoration: none; font-size: 14px; font-weight: 600; }
.lcb-chip:hover, .lcb-chip.is-on { background: #0E2240; border-color: #0E2240; color: #fff; }

.lcb-lista { display: flex; flex-direction: column; gap: 16px; max-width: 980px; margin: 0 auto; }
.lcb-card { display: grid; grid-template-columns: 280px 1fr; gap: 20px; background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; padding: 14px; transition: box-shadow .2s, transform .2s; }
.lcb-card:hover { box-shadow: 0 8px 24px rgba(14, 34, 64, .08); transform: translateY(-2px); }
.lcb-card-img { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1200 / 630; background: #e8edf4; }
.lcb-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lcb-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.lcb-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; text-decoration: none; letter-spacing: .01em; }
body.lcb main .lcb-card-t { font-family: "Manrope", "IBM Plex Sans", sans-serif; font-weight: 800; font-size: 20px; line-height: 1.25; margin: 2px 0 0; }
body.lcb main .lcb-card-t a { color: #0E2240; text-decoration: none; }
body.lcb main .lcb-card-t a:hover { color: #9a7420; }
.lcb-card-x { margin: 0; color: #4a5263; font-size: 15px; line-height: 1.55; }
.lcb-meta { margin: 0; color: #7a8394; font-size: 13px; }
.lcb-vacio { background: #fff; border: 1px dashed #c9d1de; border-radius: 12px; padding: 24px; text-align: center; color: #5b6475; }
.lcb-pag { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0 0; }
.lcb-pag .page-numbers { min-width: 40px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid #d6deea; color: #0E2240; text-decoration: none; text-align: center; font-weight: 600; }
.lcb-pag .page-numbers.current, .lcb-pag a.page-numbers:hover { background: #0E2240; color: #fff; border-color: #0E2240; }

/* ---------- Entrada ---------- */
.lcb-dos { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.lcb-post { background: #fff; border: 1px solid #e3e8f0; border-radius: 16px; padding: clamp(18px, 3vw, 36px); min-width: 0; }
.lcb-migas { font-size: 13px; color: #7a8394; margin-bottom: 10px; }
.lcb-migas a { color: #5b6475; text-decoration: none; }
.lcb-migas a:hover { color: #0E2240; text-decoration: underline; }
body.lcb main .lcb-titulo { font-family: "Manrope", "IBM Plex Sans", sans-serif; font-weight: 800; font-size: clamp(28px, 3.8vw, 40px); line-height: 1.15; color: #0E2240; margin: 0 0 12px; }
.lcb-info { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #eef1f6; }
.lcb-share { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.lcb-share a, .lcb-copiar { color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: 8px; border: 0; cursor: pointer; font-family: inherit; }
.lcb-copiar { background: #eef2f8; color: #0E2240; }
.lcb-share a:hover, .lcb-copiar:hover { filter: brightness(1.08); }
.lcb-portada { margin: 0 0 18px; border-radius: 14px; overflow: hidden; }
.lcb-portada img { width: 100%; height: auto; display: block; }

.lcb-cta { background: #0E2240; color: #dfe5ef; border-radius: 14px; padding: 20px 22px; margin: 0 0 26px; border-left: 6px solid #B8913A; }
.lcb-cta p { margin: 0 0 10px; line-height: 1.55; }
body.lcb main .lcb-cta-t { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 22px; color: #fff; }
.lcb-cta a { color: #ffd77a; font-weight: 700; }
.lcb-cta .lcb-cta-b { display: inline-block; background: #25D366; color: #06331a; text-decoration: none; padding: 10px 16px; border-radius: 10px; margin-right: 10px; }
.lcb-cta .lcb-cta-l { color: #ffd77a; }

.lcb-cuerpo { font-size: 17px; line-height: 1.75; color: #2a3140; }
.lcb-cuerpo > *:first-child { margin-top: 0; }
/* Texto justificado en todas las entradas (con guiones para evitar huecos grandes). */
body.lcb main .lcb-cuerpo p, body.lcb main .lcb-cuerpo li, body.lcb main .lcb-cuerpo blockquote, body.lcb main .lcb-cuerpo .lc-nota { text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; }
body.lcb main .lcb-cuerpo th, body.lcb main .lcb-cuerpo td, body.lcb main .lcb-cuerpo .lc-cta p:only-child { text-align: left; hyphens: manual; }
body.lcb main .lcb-cuerpo h2 { font-family: "Manrope", sans-serif; font-weight: 800; color: #0E2240; font-size: clamp(23px, 2.6vw, 28px); line-height: 1.25; margin: 1.8em 0 .6em; padding-bottom: .3em; border-bottom: 3px solid #FCD116; display: inline-block; }
body.lcb main .lcb-cuerpo h3 { font-family: "Manrope", sans-serif; font-weight: 800; color: #1e4f9a; font-size: 20px; margin: 1.5em 0 .5em; }
body.lcb main .lcb-cuerpo h4 { color: #0E2240; font-size: 17px; margin: 1.3em 0 .4em; }
.lcb-cuerpo a { color: #0b4fa3; font-weight: 600; }
.lcb-cuerpo ul, .lcb-cuerpo ol { padding-left: 1.3em; }
.lcb-cuerpo li { margin: .35em 0; }
.lcb-cuerpo li::marker { color: #B8913A; }
.lcb-cuerpo blockquote, .lcb-cuerpo .lc-nota { background: #f4f8f1; border-left: 4px solid #2F6B4F; border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 1.4em 0; }
.lcb-cuerpo table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.lcb-cuerpo th, .lcb-cuerpo td { border: 1px solid #e3e8f0; padding: 8px 10px; text-align: left; }
.lcb-cuerpo th { background: #f1f4f9; color: #0E2240; }
.lcb-cuerpo .lc-cta { margin: 2em 0; padding: 22px 24px; border-radius: 14px; background: #0E2240; color: #dfe5ef; border-left: 6px solid #B8913A; }
.lcb-cuerpo .lc-cta a { color: #ffd77a; }
body.lcb main .lcb-cuerpo .lc-cta h2, .lcb-cuerpo .lc-cta h3 { color: #fff; border: 0; margin-top: 0; }
.lcb-cuerpo p em:only-child { color: #7a8394; font-size: 14px; }

.lcb-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 26px; padding-top: 16px; border-top: 1px solid #eef1f6; font-size: 14px; }
.lcb-tags span { color: #5b6475; font-weight: 600; }
.lcb-tags a { background: #eef2f8; color: #0E2240; text-decoration: none; padding: 4px 10px; border-radius: 999px; }
.lcb-tags a:hover { background: #0E2240; color: #fff; }
.lcb-rel { margin-top: 22px; }
body.lcb main .lcb-rel h2 { font-family: "Manrope", sans-serif; font-weight: 800; color: #0E2240; font-size: 22px; margin: 0 0 12px; }
.lcb-rel-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lcb-rel-c { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: #0E2240; font-weight: 700; font-size: 15px; line-height: 1.3; }
.lcb-rel-c img { width: 100%; height: auto; aspect-ratio: 1200/630; object-fit: cover; border-radius: 10px; }
.lcb-rel-c:hover span { color: #9a7420; }

/* ---------- Barra lateral ---------- */
.lcb-lat { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.lcb-box { background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; padding: 16px; }
.lcb-box .lcb-busca { margin: 0; border-width: 1px; border-radius: 10px; }
.lcb-box .lcb-busca input[type=search] { padding: 9px 12px; font-size: 15px; }
body.lcb main .lcb-box-t { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #0E2240; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid #FCD116; }
.lcb-mini { list-style: none; margin: 0; padding: 0; }
.lcb-mini li { padding: 7px 0; border-bottom: 1px solid #f0f2f6; }
.lcb-mini li:last-child { border-bottom: 0; }
.lcb-mini a { color: #1d2433; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.35; display: block; padding-left: 14px; position: relative; }
.lcb-mini a::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #B8913A; }
.lcb-mini a:hover { color: #0b4fa3; }
.lcb-temas { list-style: none; margin: 0; padding: 0; }
.lcb-temas li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; }
.lcb-temas a { color: #1d2433; text-decoration: none; }
.lcb-temas a:hover { color: #0b4fa3; text-decoration: underline; }
.lcb-temas span { background: #eef2f8; color: #0E2240; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; }
.lcb-box-tools { background: #0E2240; border-color: #0E2240; }
.lcb-box-tools .lcb-box-t { color: #fff; }
.lcb-tool { display: block; text-decoration: none; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.07); margin-top: 8px; }
.lcb-tool b { display: block; color: #ffd77a; font-size: 15px; }
.lcb-tool span { color: #c9d1de; font-size: 13px; line-height: 1.4; }
.lcb-tool:hover { background: rgba(255,255,255,.14); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.lcb-dos { grid-template-columns: 1fr; }
	.lcb-lat { position: static; }
}
@media (max-width: 640px) {
	.lcb-main { padding: 18px 12px 40px; }
	.lcb-card { grid-template-columns: 1fr; gap: 12px; }
	body.lcb main .lcb-card-t { font-size: 18px; }
	.lcb-rel-g { grid-template-columns: 1fr; }
	.lcb-cuerpo { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.lcb-card { transition: none; }
	.lcb-card:hover { transform: none; }
}
