/* UI HORIZONTAL UNTUK KEGIATAN */
.kegiatan-beranda-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.card-news-home {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    height: 120px;
}

.card-news-home:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.img-news-home {
    width: 140px;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.body-news-home {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.body-news-home h4 {
    margin: 2px 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.2;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.date-news-home {
    font-size: 0.7rem;
    color: #852F6A;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.desc-minimal {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* STYLE TESTIMONI & RATING */
.testi-section {
    margin-top: 60px;
    text-align: center;
}

.testi-title {
    color: #852F6A;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.rating-box {
    background: linear-gradient(135deg, #A14B85, #852F6A);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto 50px;
    color: white;
    box-shadow: 0 10px 25px rgba(133, 47, 106, 0.2);
}

.rating-box h3 {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

.stars-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars-input input {
    display: none;
}

.stars-input label {
    font-size: 2rem;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: 0.3s;
}

.stars-input input:checked ~ label,
.stars-input label:hover,
.stars-input label:hover ~ label {
    color: #FFD700;
}

.rating-box textarea {
    width: 100%;
    border-radius: 12px;
    border: none;
    padding: 15px;
    resize: none;
}

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    margin-bottom: 15px;
    color: #E8D1DF;
}

.btn-testi {
    background: white;
    color: #852F6A;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-testi:hover {
    background: #FFD700;
    transform: translateY(-2px);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.testi-card {
    background: #A14B85;
    color: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: 0.3s;
}

.testi-stars {
    color: #FFD700;
    font-size: 0.8rem;
    margin: 0 auto;
}

.testi-text {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.9;
    font-style: italic;
    word-wrap: break-word;
}

/* Responsive */
@media (max-width: 576px) {
    .card-news-home {
        height: auto;
    }

    .img-news-home {
        width: 100px;
        height: 100px;
    }
}