.cj-editorial{
    --blue:#0705ad;
    --sky:#29a7f5;
    --navy:#061d42;
    --gold:#ffc400;
    --line:#e2e8f0;
    --muted:#6f7b8d;
    width:100%;
    font-family:inherit;
}

.cj-editorial__header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:40px;
    margin-bottom:32px;
}

.cj-editorial__eyebrow{
    display:block;
    margin-bottom:9px;
    color:var(--sky);
    font-size:11px;
    line-height:1;
    font-weight:900;
    letter-spacing:.22em;
}

.cj-editorial__header h2{
    max-width:800px;
    margin:0;
    color:var(--navy);
    font-size:clamp(30px,3.4vw,48px);
    line-height:1.04;
    letter-spacing:-.035em;
    font-weight:850;
}

.cj-editorial__header p{
    max-width:700px;
    margin:12px 0 0;
    color:var(--muted);
    font-size:15px;
    line-height:1.55;
}

.cj-editorial__all{
    flex:none;
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding-bottom:7px;
    border-bottom:1px solid rgba(6,29,66,.2);
    color:var(--navy);
    font-size:13px;
    font-weight:850;
    text-decoration:none;
    transition:.25s ease;
}

.cj-editorial__all:hover{
    color:var(--blue);
    border-color:var(--blue);
}

.cj-editorial__feature{
    display:grid;
    grid-template-columns:minmax(0,1.62fr) minmax(330px,.78fr);
    gap:22px;
}

.cj-editorial-story{
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
    box-shadow:0 12px 35px rgba(6,29,66,.06);
    transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}

.cj-editorial-story:hover{
    transform:translateY(-4px);
    border-color:rgba(7,5,173,.18);
    box-shadow:0 20px 46px rgba(6,29,66,.12);
}

.cj-editorial-story__media{
    position:relative;
    display:block;
    overflow:hidden;
    background:#edf2f7;
    text-decoration:none;
}

.cj-editorial-story--featured .cj-editorial-story__media{
    height:380px;
}

.cj-editorial-story__media:after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:45%;
    background:linear-gradient(to top,rgba(6,29,66,.48),transparent);
    pointer-events:none;
}

.cj-editorial-story__media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .55s ease;
}

.cj-editorial-story:hover .cj-editorial-story__media img{
    transform:scale(1.035);
}

.cj-editorial-story__fallback{
    display:grid;
    width:100%;
    height:100%;
    place-items:center;
    color:#fff;
    background:linear-gradient(135deg,var(--navy),var(--blue));
    font-size:48px;
    font-weight:900;
}

.cj-editorial-story__tag{
    position:absolute;
    z-index:2;
    left:18px;
    bottom:17px;
    padding:7px 11px;
    border-radius:999px;
    background:var(--blue);
    color:#fff;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.cj-editorial-story--regional .cj-editorial-story__tag{
    background:#087a57;
}

.cj-editorial-story--normativa .cj-editorial-story__tag{
    background:#3b4760;
}

.cj-editorial-story--negocios .cj-editorial-story__tag{
    background:var(--blue);
}

.cj-editorial-story__body{
    padding:20px 21px 21px;
}

.cj-editorial-story__meta{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:9px;
    color:#8a94a3;
    font-size:10px;
    font-weight:750;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.cj-editorial-story__meta strong{
    color:var(--blue);
    font-weight:900;
}

.cj-editorial-story__body h3{
    margin:0;
    color:var(--navy);
    font-size:22px;
    line-height:1.2;
    letter-spacing:-.018em;
    font-weight:850;
}

.cj-editorial-story__body h3 a{
    color:inherit;
    text-decoration:none;
}

.cj-editorial-story__body h3 a:hover{
    color:var(--blue);
}

.cj-editorial-story__read{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:16px;
    color:var(--blue);
    font-size:12px;
    font-weight:900;
    text-decoration:none;
}

.cj-editorial-story__read span{
    transition:transform .2s ease;
}

.cj-editorial-story:hover .cj-editorial-story__read span{
    transform:translateX(4px);
}

.cj-editorial__side{
    display:flex;
    min-width:0;
    flex-direction:column;
    gap:12px;
}

.cj-editorial__side-title{
    display:flex;
    align-items:center;
    gap:12px;
    height:26px;
    color:var(--navy);
    font-size:10px;
    font-weight:900;
    letter-spacing:.17em;
}

.cj-editorial__side-title i{
    width:42px;
    height:2px;
    background:var(--gold);
}

.cj-editorial-story--compact{
    display:grid;
    grid-template-columns:128px minmax(0,1fr);
    min-height:132px;
    box-shadow:0 8px 24px rgba(6,29,66,.045);
}

.cj-editorial-story--compact:hover{
    transform:translateY(-2px);
}

.cj-editorial-story--compact .cj-editorial-story__media{
    min-height:132px;
    height:100%;
}

.cj-editorial-story--compact .cj-editorial-story__media:after{
    display:none;
}

.cj-editorial-story--compact .cj-editorial-story__tag{
    left:8px;
    bottom:8px;
    padding:5px 7px;
    font-size:8px;
}

.cj-editorial-story--compact .cj-editorial-story__body{
    padding:13px 14px;
}

.cj-editorial-story--compact .cj-editorial-story__meta{
    margin-bottom:6px;
    font-size:8px;
}

.cj-editorial-story--compact .cj-editorial-story__body h3{
    display:-webkit-box;
    overflow:hidden;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    font-size:14px;
    line-height:1.27;
}

.cj-editorial-story--compact .cj-editorial-story__read{
    margin-top:7px;
    font-size:10px;
}

.cj-editorial__sources{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:25px;
    padding:16px 20px;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    color:#7b8594;
    font-size:11px;
}

.cj-editorial__sources-label{
    margin-right:4px;
    color:var(--navy);
    font-size:9px;
    font-weight:900;
    letter-spacing:.15em;
}

.cj-editorial__sources b{
    color:#c3c9d2;
    font-weight:500;
}

.cj-editorial__credit{
    margin-top:10px;
    color:#a0a8b4;
    font-size:10px;
    text-align:right;
}

.cj-editorial__empty{
    padding:50px 30px;
    border:1px solid var(--line);
    border-radius:18px;
    background:#f8fafc;
    color:var(--muted);
    text-align:center;
}

@media (max-width:1050px){
    .cj-editorial__feature{
        grid-template-columns:1fr;
    }

    .cj-editorial__side{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .cj-editorial__side-title{
        grid-column:1/-1;
    }
}

@media (max-width:767px){
    .cj-editorial__header{
        display:block;
        margin-bottom:24px;
    }

    .cj-editorial__all{
        margin-top:16px;
    }

    .cj-editorial__feature{
        display:block;
    }

    .cj-editorial-story--featured .cj-editorial-story__media{
        height:240px;
    }

    .cj-editorial-story--featured .cj-editorial-story__body h3{
        font-size:19px;
    }

    .cj-editorial__side{
        display:flex;
        margin-top:18px;
    }

    .cj-editorial-story--compact{
        grid-template-columns:105px minmax(0,1fr);
    }

    .cj-editorial-story--compact .cj-editorial-story__media{
        min-height:118px;
    }

    .cj-editorial__sources{
        justify-content:flex-start;
    }

    .cj-editorial__credit{
        text-align:left;
    }
}


/* CJ Actualidad — editorial reveal por objeto */
.cj-editorial.cj-motion-ready .cj-editorial__eyebrow,
.cj-editorial.cj-motion-ready .cj-editorial__header h2,
.cj-editorial.cj-motion-ready .cj-editorial__header p,
.cj-editorial.cj-motion-ready .cj-editorial__feature,
.cj-editorial.cj-motion-ready .cj-editorial-story,
.cj-editorial.cj-motion-ready .cj-editorial__sources{
  opacity:0;transform:translateY(28px);filter:blur(2px);
}
.cj-editorial.cj-motion-ready.cj-motion-in .cj-editorial__eyebrow{animation:cjaIn .7s .05s forwards}
.cj-editorial.cj-motion-ready.cj-motion-in .cj-editorial__header h2{animation:cjaIn .8s .12s forwards}
.cj-editorial.cj-motion-ready.cj-motion-in .cj-editorial__header p{animation:cjaIn .8s .20s forwards}
.cj-editorial.cj-motion-ready.cj-motion-in .cj-editorial__feature{animation:cjaFeature .9s .28s cubic-bezier(.22,1,.36,1) forwards}
.cj-editorial.cj-motion-ready.cj-motion-in .cj-editorial__feature-main .cj-editorial-story{animation:cjaCard .75s .42s forwards}
.cj-editorial.cj-motion-ready.cj-motion-in .cj-editorial__side .cj-editorial-story--regional{animation:cjaCard .75s .52s forwards}
.cj-editorial.cj-motion-ready.cj-motion-in .cj-editorial__side .cj-editorial-story--normativa{animation:cjaCard .75s .62s forwards}
.cj-editorial.cj-motion-ready.cj-motion-in .cj-editorial__side .cj-editorial-story--negocios{animation:cjaCard .75s .72s forwards}
.cj-editorial.cj-motion-ready.cj-motion-in .cj-editorial__sources{animation:cjaIn .7s .74s forwards}
@keyframes cjaIn{to{opacity:1;transform:none;filter:none}}
@keyframes cjaFeature{0%{opacity:0;transform:translateX(-28px) scale(.98);filter:blur(3px)}100%{opacity:1;transform:none;filter:none}}
@keyframes cjaCard{0%{opacity:0;transform:translateX(22px);filter:blur(2px)}100%{opacity:1;transform:none;filter:none}}
@media(prefers-reduced-motion:reduce){.cj-editorial.cj-motion-ready *{animation:none!important;transition:none!important;opacity:1!important;transform:none!important;filter:none!important}}

