/**
 * JDIH - Halaman publik
 */

.page-jdih .jdih-main {
    padding: 2rem 1rem;
    min-height: 50vh;
}

.jdih-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(0.75rem, 4vw, 1.5rem);
}

.jdih-title {
    font-size: 1.6rem;
    color: #1e3a8a;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jdih-title i {
    color: #1e40af;
}

.jdih-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.jdih-section {
    margin-bottom: 2rem;
}

.jdih-section-title {
    font-size: 1.2rem;
    color: #1e3a8a;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1e40af;
}

.jdih-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.jdih-item {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.jdih-item-body {
    padding: 1rem 1.25rem;
}

.jdih-item-title {
    font-size: 1.05rem;
    margin: 0 0 0.35rem 0;
    color: #1e3a8a;
    line-height: 1.4;
}

.jdih-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.jdih-meta {
    font-size: 0.85rem;
    color: #64748b;
}

.jdih-item-ket {
    font-size: 0.9rem;
    color: #475569;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.jdih-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: #1e40af;
    color: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.jdih-btn-download:hover {
    background: #1e3a8a;
    color: #fff;
}

.jdih-empty {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    color: #92400e;
    text-align: center;
}

.jdih-empty p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 640px) {
    .page-jdih .jdih-main {
        padding: 1.25rem 0.75rem;
    }
}
