.ds-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 80px; /* navbar offset */
}
.ds-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10,10,30,0.55) 0%, rgba(10,10,30,0.75) 60%, rgba(10,10,30,0.92) 100%),
        url('https://infocare.upgris.ac.id/assets/uploads/Screenshot 2026-06-17 at 04.35.23.png') center/cover no-repeat;
}
.ds-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
}
.ds-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.ds-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    margin: 0;
}
@media (max-width: 768px) {
    .ds-hero { padding: 100px 20px 64px; }
}
.karya-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
    overflow: hidden;
}
.karya-header {
    display: flex;
    align-items: center;
    padding: 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.karya-avatar {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    object-position: top;
    margin-right: 20px;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.karya-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #14275f;
}
.karya-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}
.karya-body {
    padding: 24px;
}

.custom-accordion {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-header {
    background: white;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #334155;
    transition: background 0.2s;
}
.accordion-header:hover {
    background: #f8fafc;
}
.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #fafafa;
}
.accordion-content.active {
    padding: 20px;
    max-height: 20000px; /* large enough to hold all items */
}
.item-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.item-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #cbd5e1;
}
.item-list li:last-child {
    border-bottom: none;
}
.item-title {
    font-weight: 600;
    color: #14275f;
    margin-bottom: 4px;
    line-height: 1.4;
}
.item-meta {
    font-size: 0.85rem;
    color: #64748b;
}
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

/* ===== Selaras global.css ===== */
.pn-wrap { max-width: 960px; }
.karya-card { border-radius: var(--ui-radius-lg) !important; box-shadow: var(--ui-shadow) !important; }
.karya-info h3 { font-family: var(--ui-font-head); }
.karya-info h3 a:hover { color: var(--ui-primary); }
