/* Gaya bersama Portal Dokumentasi (selaras halaman login KOMODO) */
.tenun-bg {
    background-image: url('motif-tts.png');
    background-repeat: repeat;
    background-size: auto 230px;
    background-position: center top;
}
.tenun-strip {
    background-image: url('motif-tts.png');
    background-repeat: repeat-x;
    background-size: auto 48px;
    background-position: 0 center;
}
/* 966px = 4 x lebar satu ulangan motif agar animasi tanpa lompatan */
@keyframes tenunGeser { from { background-position: 0 center; } to { background-position: -966px center; } }
.tenun-strip.bergerak { animation: tenunGeser 40s linear infinite; }

@keyframes muncul { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.muncul { animation: muncul .55s ease-out both; }
.muncul-2 { animation-delay: .1s; }
.muncul-3 { animation-delay: .2s; }
.fade-in { animation: muncul .3s ease-out both; }

@keyframes melayang { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.melayang { animation: melayang 5s ease-in-out infinite; }

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

@media (prefers-reduced-motion: reduce) {
    .tenun-strip.bergerak, .muncul, .fade-in, .melayang { animation: none; }
}
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
