/* Prueba local reversible. Paleta gris actual del inicio. Sin fondos borrosos. */
.home-carousel-split { --split-image:min(clamp(280px,29vw,450px),max(180px,calc(100dvh - var(--split-top,100px) - var(--split-caption) - 28px))); --split-caption:154px; display:grid; grid-template-columns:minmax(0,7fr) minmax(280px,3fr); gap:22px; font-family:var(--home-sans); }
.home-carousel-split > * { min-width:0; }
.home-page .home-carousel-split #carouselExampleIndicators { --home-carousel-height:var(--split-image); background:#fff; border:0; box-shadow:none; }
.home-page .home-carousel-split #carouselExampleIndicators .carousel-item { background:#fff; }
.home-page .home-carousel-split #carouselExampleIndicators .home-carousel-visual { height:var(--split-image); aspect-ratio:auto; background:transparent; }
.home-carousel-split .home-carousel-visual::after { content:none; }
.home-carousel-split .carousel-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.home-page .home-carousel-split #carouselExampleIndicators .carousel-caption { height:var(--split-caption); min-height:0; padding:20px 22px 8px; display:flex; flex-direction:column; align-items:center; gap:7px; }
.home-page .home-carousel-split #carouselExampleIndicators .home-carousel-meta { margin:0; color:#4b5667; }
.home-carousel-split .home-carousel-title { font-size:1.125rem; line-height:1.4; display:block; overflow:visible; flex-shrink:0; }
.home-page .home-carousel-split #carouselExampleIndicators a.home-carousel-read { display:inline-flex; gap:16px; align-items:center; margin-top:3px; padding:8px 18px; min-height:40px; border-radius:22px; background:var(--home-brand,#4b5a71); color:#fff; font:600 .9375rem/1.4 var(--home-sans); text-decoration:none; }
.home-page .home-carousel-split #carouselExampleIndicators a.home-carousel-read:hover { background:var(--home-brand-dark,#3d4a5c); }
.home-carousel-read span { transition:transform .2s; }
.home-carousel-read:hover span { transform:translateX(3px); }
.home-page .home-carousel-split #carouselExampleIndicators .carousel-control-prev:hover svg { transform:translateY(-2px); }
.home-page .home-carousel-split #carouselExampleIndicators .carousel-control-next:hover svg { transform:translateY(2px); }
.home-carousel-progress { position:absolute; top:calc(var(--split-image) + 8px); left:50%; width:42%; max-width:320px; height:2px; transform:translateX(-50%); border-radius:2px; overflow:hidden; z-index:4; background:#d4d9e0; pointer-events:none; }
.home-carousel-progress span { display:block; height:100%; background:var(--home-brand,#4b5a71); transform:scaleX(0); transform-origin:left; will-change:transform; }
.home-carousel-split.is-time-paused .home-carousel-progress span { opacity:.7; }
.home-carousel-split.is-transitioning .home-carousel-progress { visibility:hidden; }
.home-carousel-list { height:calc(var(--split-image) + var(--split-caption)); overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#aeb6c1 #fff; display:flex; flex-direction:column; gap:10px; padding:10px; background:#fff; border:1px solid #dce1e7; border-radius:8px; }
.home-carousel-entry { min-height:calc((100% - 30px) / 4); flex:0 0 calc((100% - 30px) / 4); display:grid; grid-template-columns:80px minmax(0,1fr); gap:14px; align-items:center; padding:16px 14px; text-align:left; appearance:none; border:1px solid #dce1e7; border-radius:6px; box-shadow:none; background:#eef0f3; color:#394451; cursor:pointer; transition:background-color .3s ease,border-color .3s ease,color .3s ease; }
.home-carousel-entry time { transition:color .3s ease; }
.home-carousel-list button.home-carousel-entry { appearance:none; -webkit-appearance:none; box-shadow:none; }
.home-carousel-entry img { width:80px; height:80px; object-fit:contain; background:#fff; border-radius:4px; }
.home-carousel-entry > span { position:relative; padding-left:13px; }
.home-carousel-entry > span::before { content:""; position:absolute; left:0; top:50%; width:1px; height:55px; max-height:100%; transform:translateY(-50%); background:#cdd3dc; pointer-events:none; }
.home-carousel-entry.is-current > span::before { background:rgba(255,255,255,.3); }
.home-carousel-entry time { display:block; margin-bottom:10px; font-size:.8125rem; font-weight:600; color:#5a6573; }
.home-carousel-entry time::after { content:""; display:block; width:24px; height:2px; margin-top:7px; background:#a8782a; }
.home-carousel-entry strong { font-size:.9375rem; font-weight:600; line-height:1.45; text-align:left; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.home-carousel-entry:hover { background:#e2e6ec; border-color:#bbc4cf; }
.home-carousel-entry.is-current { background:var(--home-brand,#4b5a71); border-color:var(--home-brand,#4b5a71); color:#fff; }
.home-carousel-entry.is-current time { color:#edf0f4; }
.home-carousel-entry.is-current time::after { background:#d1ac6c; }
.home-carousel-entry.is-current:hover { background:var(--home-brand-dark,#3d4a5c); border-color:var(--home-brand-dark,#3d4a5c); }
.home-carousel-entry.is-current:focus-visible { outline-color:#fff; outline-offset:-5px; }
.home-carousel-split a:focus-visible,.home-carousel-entry:focus-visible { outline:2px solid #4b5a71; outline-offset:-3px; }
.home-carousel-split .carousel-item { transition:transform .85s cubic-bezier(.22,.61,.36,1),opacity .85s ease; }
/* Mantiene el motor del carrusel, cambiando únicamente su eje de desplazamiento. */
.home-carousel-split .carousel-item-next:not(.carousel-item-left),
.home-carousel-split .active.carousel-item-right { transform:translate3d(0,100%,0); opacity:.35; }
.home-carousel-split .carousel-item-prev:not(.carousel-item-right),
.home-carousel-split .active.carousel-item-left { transform:translate3d(0,-100%,0); opacity:.35; }
.home-carousel-split .carousel-item-next.carousel-item-left,
.home-carousel-split .carousel-item-prev.carousel-item-right { transform:translate3d(0,0,0); opacity:1; }
.home-carousel-split { --split-copy-offset:12px; }
.home-carousel-split[data-slide-direction="previous"] { --split-copy-offset:-12px; }
.home-carousel-split .carousel-item-next .carousel-caption > *,
.home-carousel-split .carousel-item-prev .carousel-caption > * { animation:split-copy .6s .15s ease-out both; }
.home-carousel-split .carousel-item-next .home-carousel-read,
.home-carousel-split .carousel-item-prev .home-carousel-read { animation-delay:.25s; }
@keyframes split-copy { from { opacity:0; transform:translateY(var(--split-copy-offset)); } to { opacity:1; transform:translateY(0); } }
@media(min-width:992px) and (max-height:850px) {
 .home-carousel-entry { grid-template-columns:64px minmax(0,1fr); padding:10px 12px; gap:10px; }
 .home-carousel-entry img { width:64px; height:64px; }
 .home-carousel-entry time { margin-bottom:6px; }
 .home-carousel-entry time::after { margin-top:5px; }
 .home-carousel-entry strong { font-size:.875rem; line-height:1.35; }
}
@media(max-width:991.98px) {
 .home-carousel-split { grid-template-columns:1fr; --split-image:clamp(280px,55vw,450px); --split-caption:280px; gap:10px; }
 .home-carousel-split .home-carousel-title { font-size:1rem; }
 .home-carousel-list { height:166px; flex-direction:row; overflow-x:auto; overflow-y:hidden; }
 .home-carousel-entry { flex:0 0 230px; min-height:0; grid-template-columns:58px minmax(0,1fr); padding:12px; gap:10px; }
 .home-carousel-entry img { width:58px; height:70px; }
 .home-carousel-entry strong { font-size:.875rem; }
 .home-carousel-entry > span { padding-left:10px; }
 .home-page .home-carousel-split #carouselExampleIndicators .home-carousel-navigation { height:var(--split-image); aspect-ratio:auto; }
}
@media(max-width:575.98px) {
 .home-carousel-split .home-carousel-list { display:none; }
 .home-page .home-carousel-split #carouselExampleIndicators .home-carousel-visual { height:auto; min-height:0; touch-action:pan-y pinch-zoom; }
 .home-carousel-split .carousel-photo { position:static; display:block; width:100%; height:auto; }
 .home-page .home-carousel-split #carouselExampleIndicators .carousel-caption { height:auto; padding:24px 14px 12px; gap:9px; }
 .home-carousel-split .home-carousel-title { font-size:1.0625rem; line-height:1.4; }
 .home-carousel-progress { top:calc(var(--split-mobile-image,0px) + 8px); width:38%; max-width:180px; }
 .home-page .home-carousel-split #carouselExampleIndicators .home-carousel-navigation { position:relative; inset:auto; height:44px; margin:0 14px 12px; display:flex; justify-content:space-between; }
 .home-page .home-carousel-split #carouselExampleIndicators .carousel-control-prev,
 .home-page .home-carousel-split #carouselExampleIndicators .carousel-control-next { position:static; transform:none; width:44px; height:44px; box-shadow:none; }
 .home-carousel-split .home-carousel-counter { position:absolute; left:50%; bottom:23px; transform:translateX(-50%); width:auto; height:auto; margin:0; padding:0; overflow:visible; clip:auto; clip-path:none; white-space:nowrap; font-size:.875rem; color:#5a6573; }
}
@media(prefers-reduced-motion:reduce) {
 .home-carousel-split .carousel-item,.home-carousel-read span,.home-carousel-entry { transition:none!important; }
 .home-carousel-split .carousel-caption > * { animation:none!important; }
 .home-carousel-entry time { transition:none!important; }
 .home-page .home-carousel-split #carouselExampleIndicators .carousel-control-prev:hover svg,.home-page .home-carousel-split #carouselExampleIndicators .carousel-control-next:hover svg { transform:none; }
 .home-carousel-progress { display:none; }
}
