/* Logo mengecil tanpa mengubah ukuran wadah atau menggeser menu. */
:is(.news-header-one-mobile .header--logo__link,.esji-v2-logo,.esji-v3-logo,.news-v4-logo){transform-origin:left center;transition:transform .28s ease}
.esji-v3-logo{transform-origin:center}
body.news-is-scrolled .news-header-one-mobile .header--logo__link,
.esji-v2.is-sticky .esji-v2-logo,
.esji-v3.is-sticky .esji-v3-logo,
.news-v4-header.is-sticky .news-v4-logo{transform:scale(.82)}
@media(min-width:768px){
 .esji-sticky-row{display:flex;align-items:center;gap:14px;width:100%;min-width:0}
 .esji-sticky-logo{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:flex-start;flex:none;max-width:126px;height:46px;transform:scale(.82);transform-origin:left center;animation:news-sticky-logo-enter .28s ease both}
 .esji-sticky-logo .esji-logo-pair{display:inline-flex;align-items:center;max-width:100%}
 .esji-sticky-logo img.header--logo__image{display:block;max-width:126px;max-height:36px;width:auto;height:auto;object-fit:contain}
 .esji-sticky-logo .atd-reference-sitename{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:20px;font-weight:800;color:var(--esji-v2-nav-text,#fff)}
 html[data-esji-theme=dark] .esji-sticky-logo .atd-reference-sitename{color:var(--esji-dark-v2-nav-text,#fff)}
 .esji-sticky-row .navbar{flex:1 1 auto;min-width:0}
 @keyframes news-sticky-logo-enter{from{opacity:.6;transform:scale(1)}to{opacity:1;transform:scale(.82)}}
}
@media(prefers-reduced-motion:reduce){:is(.news-header-one-mobile .header--logo__link,.esji-v2-logo,.esji-v3-logo,.news-v4-logo){transition:none}.esji-sticky-logo{animation:none}}
@media(min-width:768px){.esji-sticky-logo{padding:4px 7px;border-radius:6px;background:var(--esji-header-bg,#fff)}}

/* Baris sticky memakai satu acuan tengah untuk logo, menu dan latar. */
@media(min-width:768px){
 html body .esji-sticky-nav__inner{box-sizing:border-box;width:100%;max-width:var(--esji-width,995px);margin-inline:auto}
 html body .esji-sticky-row{position:relative;isolation:isolate;box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;min-width:0;margin:0;padding:0 12px}
 html body .esji-sticky-row::before{content:"";position:absolute;z-index:-1;inset-block:0;left:50%;width:100vw;transform:translateX(-50%);background:var(--esji-v2-nav-bg,#f4511e);pointer-events:none}
 html[data-esji-theme=dark] body .esji-sticky-row::before{background:var(--esji-dark-v2-nav-bg,#b53c1d)}
 html body .esji-sticky-nav .esji-sticky-row .navbar{flex:1 1 0;box-sizing:border-box;width:auto;min-width:0;max-width:none;margin:0;background:transparent!important}
 html body .esji-sticky-nav .esji-sticky-row .navbar::before{content:none}
 html body .esji-sticky-row .navbar>div{box-sizing:border-box;max-width:100%;margin:0;overflow-x:auto}
 html body .esji-sticky-row .navbar--list{min-width:max-content}
 html body .esji-sticky-row .esji-sticky-logo{box-sizing:border-box;flex:0 0 auto;max-width:112px;margin:0;transform:scale(.82);transform-origin:left center}
 html body .esji-sticky-row .esji-sticky-logo img.header--logo__image{max-width:98px!important}
}
/* Kartu video vertikal, termasuk saat sampul manual belum tersedia. */
.news-video-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;color:var(--esji-text,#111827)}
.news-video-heading h2{margin:0;font-size:15px;font-weight:700}.news-video-heading a{color:var(--esji-primary,#f4511e);font-size:12px;font-weight:600}
.video-vertical .item__figure{position:relative;aspect-ratio:9/16;background:var(--esji-surface,#e5e7eb)}
.video-vertical .news-video-placeholder{display:flex;align-items:flex-end;box-sizing:border-box;width:100%;height:100%;padding:10px;background:linear-gradient(145deg,var(--esji-primary,#f4511e),#222);color:white;font-size:12px;font-weight:600;line-height:1.3;overflow:hidden}
.video-vertical .news-video-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0009;color:white}
.video-vertical .news-video-play svg{width:20px;height:20px}
