/* Fullwidth banner carousel: autoplay + swipe/drag + compact pagination dots. */
.banner[data-helper-title="Iklan Fullwidth #Atas"] {
    position: relative;
    width: 100%;
    max-width: 1024px;
    margin: 14px auto 18px;
    overflow: hidden;
    border-radius: 0;
    background: #f2f2f2;
    aspect-ratio: 1024 / 300;
}
.libu-ad-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 300;
    overflow: hidden;
    background: #f2f2f2;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}
.libu-ad-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 260ms ease;
    pointer-events: none;
}
.libu-ad-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}
.libu-ad-slide a,
.libu-ad-slide > div,
.libu-ad-slide img {
    display: block;
    width: 100%;
    height: 100%;
}
.libu-ad-slide img {
    object-fit: cover;
    object-position: center;
    -webkit-user-drag: none;
}
.libu-ad-pagination {
    position: absolute;
    left: 50%;
    bottom: 7px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: calc(100% - 24px);
    padding: 3px 6px;
    border-radius: 20px;
    background: rgba(0,0,0,.38);
    transform: translateX(-50%);
}
.libu-ad-dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.58);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.libu-ad-dot.is-active {
    width: 7px;
    height: 7px;
    min-width: 7px;
    background: #fff;
}
@media (max-width: 767px) {
    .banner[data-helper-title="Iklan Fullwidth #Atas"] { max-width: 100%; margin: 10px auto 14px; }
    .libu-ad-pagination { bottom: 5px; gap: 3px; padding: 2px 5px; }
    .libu-ad-dot { width: 5px; height: 5px; min-width: 5px; }
    .libu-ad-dot.is-active { width: 6px; height: 6px; min-width: 6px; }
}
@media (prefers-reduced-motion: reduce) { .libu-ad-slide { transition: none; } }


/* Additional ad locations; isolated from the original Fullwidth #Atas slot. */
.libu-ad-extra-slot {
    position: relative;
    aspect-ratio: 1024 / 300;
    min-height: 1px;
    background: #f3f3f3;
}
.libu-ad-extra-slot .libu-ad-slider-extra { position: relative; width: 100%; aspect-ratio: 1024 / 300; overflow: hidden; background: #f3f3f3; touch-action: pan-y; }
.libu-ad-extra-slot .libu-ad-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 260ms ease; pointer-events: none; }
.libu-ad-extra-slot .libu-ad-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.libu-ad-extra-slot .libu-ad-slide a,
.libu-ad-extra-slot .libu-ad-slide > div,
.libu-ad-extra-slot .libu-ad-slide img { display:block; width:100%; height:100%; }
.libu-ad-extra-slot .libu-ad-slide img { object-fit:cover; object-position:center; }
.libu-ad-extra-slot .libu-ad-dots { position:absolute; z-index:4; left:0; right:0; bottom:5px; display:flex; justify-content:center; align-items:center; gap:4px; pointer-events:auto; }
.libu-ad-extra-slot .libu-ad-dot { width:5px; height:5px; min-width:5px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.62); box-shadow:0 0 2px rgba(0,0,0,.65); cursor:pointer; }
.libu-ad-extra-slot .libu-ad-dot.is-active { width:6px; height:6px; min-width:6px; background:#fff; }
.libu-ad-extra-bottom { width:100%; max-width:1024px; margin:18px auto 22px; }
.libu-ad-extra-content-middle { width:100%; max-width:100%; margin:22px 0; }
.libu-ad-extra-floating_left,
.libu-ad-extra-floating_right { position:fixed; z-index:9000; top:50%; width:min(10vw,140px); max-width:140px; transform:translateY(-50%); }
.libu-ad-extra-floating_left { left:8px; }
.libu-ad-extra-floating_right { right:8px; }
.libu-ad-extra-floating_left .libu-ad-slider-extra,
.libu-ad-extra-floating_right .libu-ad-slider-extra { aspect-ratio:300 / 250; }
@media(max-width:1100px) {
 .libu-ad-extra-floating_left,.libu-ad-extra-floating_right { display:none; }
}
@media(max-width:767px) {
 .libu-ad-extra-bottom { width:100%; margin:12px auto 16px; }
 .libu-ad-extra-content-middle { margin:16px 0; }
}
@media(prefers-reduced-motion:reduce) { .libu-ad-extra-slot .libu-ad-slide { transition:none; } }


/* Floating side ads — portrait inventory, 160 x 600 px, fixed while scrolling. */
.libu-ad-extra-floating_left,
.libu-ad-extra-floating_right {
    position: fixed !important;
    top: 50% !important;
    width: 160px !important;
    height: 600px !important;
    max-width: 160px !important;
    transform: translateY(-50%) !important;
    z-index: 9000 !important;
}
.libu-ad-extra-floating_left {
    left: calc(50% - 512px - 172px) !important;
    right: auto !important;
}
.libu-ad-extra-floating_right {
    right: calc(50% - 512px - 172px) !important;
    left: auto !important;
}
.libu-ad-extra-floating_left .libu-ad-slider-extra,
.libu-ad-extra-floating_right .libu-ad-slider-extra {
    width: 160px !important;
    height: 600px !important;
    max-width: 160px !important;
    aspect-ratio: 160 / 600 !important;
    overflow: hidden !important;
}
.libu-ad-extra-floating_left .libu-ad-slide,
.libu-ad-extra-floating_right .libu-ad-slide,
.libu-ad-extra-floating_left .libu-ad-slide a,
.libu-ad-extra-floating_right .libu-ad-slide a,
.libu-ad-extra-floating_left .libu-ad-slide > div,
.libu-ad-extra-floating_right .libu-ad-slide > div,
.libu-ad-extra-floating_left .libu-ad-slide img,
.libu-ad-extra-floating_right .libu-ad-slide img {
    width: 160px !important;
    height: 600px !important;
}
.libu-ad-extra-floating_left .libu-ad-slide img,
.libu-ad-extra-floating_right .libu-ad-slide img {
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
}
@media (max-width: 1399px) {
    .libu-ad-extra-floating_left,
    .libu-ad-extra-floating_right { display: none !important; }
}
@media (min-width: 1400px) {
    .libu-ad-extra-floating_left,
    .libu-ad-extra-floating_right { display: block !important; }
}
