.logo {
    position: relative;
    display: inline-block;
}

.logo-img {
    height: 80px;
    transition: opacity 0.3s ease;
}

/* default tampil */
.logo-top {
    opacity: 1;
    position: relative;
}

/* hidden awal */
.logo-scroll {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
}

/* saat scroll */
.scrolled .logo-top {
    opacity: 0;
}

.scrolled .logo-scroll {
    opacity: 1;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.img-detail-artikel{
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    text-decoration: none;
}

.wa-text {
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 18px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
}

.wa-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.wa-float:hover .wa-text {
    transform: translateX(-5px);
    transition: 0.2s;
}
.video-home-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-home-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.15);
}

.video-home-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-home-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-home-player .vjs-tech {
    object-fit: cover;
}
