/* ==========================================================
   DIYNEWS SCROLLER OVERLAY AD (EFEK TIRAI PENIMBUN IKLAN)
   Version : 1.5 (CSS Only - Ultra Fast)
   ========================================================== */

.diy-top-ad-wrapper {
    width: 100%;
    background: #000000;
    
    /* KUNCI UTAMA 1: Mengunci iklan agar diam di atas saat di-scroll */
    position: absolute;
    top: 0; 
    
    /* KUNCI UTAMA 2: Taruh di lapisan bawah agar ditimbun oleh header */
    z-index: 10; 

    opacity: 1;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Baris Merah Tombol Tutup */
.diy-top-ad-bar {
    background: #dc3545;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    position: relative;
    letter-spacing: 0.5px;
}

.diy-top-ad-close-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    color: #dc3545;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wadah Konten Iklan Banner */
.diy-top-ad-body {
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diy-top-ad-content {
    max-width: 340px;
    width: 100%;
    height: 460px;
    margin: 0 auto;
    text-align: center;
}

.diy-top-ad-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
