.search-card {
    position: relative;
    display: block;
    background: #fff;
    padding: 22px;
    border-radius: 18px;
    color: #111;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(0,0,0,.12);
    transition: .3s;
}

.search-card:hover {
    transform: translateY(-4px);
}

.search-card h6 {
    font-weight: 700;
    margin-top: 10px;
}

.search-card p {
    font-size: 14px;
    opacity: .8;
}

.type-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    color: #000;
}

/* warna beda tiap jenis */
.type-badge.berita { background: #E6FF2A; }
.type-badge.pengumuman { background: #00E5FF; }
.type-badge.siaran-pers { background: #FF6EC7; }
.type-badge.profil { background: #C1FF72; }


.live-search {
    position: relative;
    max-width: 360px;
}

.live-search input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(145deg,#EAE9EE,#DDDDDB);
    outline: none;
    box-shadow: inset 0 3px 6px rgba(0,0,0,.15);
}

.live-search button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: #E6FF2A;
    border: none;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 14px;
    cursor: pointer;
}

/* result dropdown */
#liveSearchResult {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,.2);
    overflow: hidden;
    display: none;
    z-index: 999;
}

.search-item {
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #111;
    display: block;
}

.search-item:hover {
    background: rgba(145,161,177,.18);
}

.search-type {
    font-size: 11px;
    font-weight: 700;
    opacity: .7;
}

.search-empty {
    padding: 18px;
    text-align: center;
    font-size: 14px;
    color: #666;
    opacity: .8;
}
