/**
 * BUMDes - Halaman publik
 */

.page-bumdes .bumdes-main {
    padding: 1.5rem 1rem 3rem;
}

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

.bumdes-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.bumdes-breadcrumb a {
    color: #1e40af;
    text-decoration: none;
}

.bumdes-breadcrumb a:hover {
    text-decoration: underline;
}

.bumdes-breadcrumb .sep {
    margin: 0 0.35rem;
}

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

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

.bumdes-hero {
    text-align: center;
    margin-bottom: 1.5rem;
}

.bumdes-hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bumdes-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bumdes-hero-logo.no-logo .no-logo,
.bumdes-hero-logo .no-logo {
    font-size: 3rem;
    color: #94a3b8;
}

.bumdes-title {
    font-size: 1.75rem;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.bumdes-meta {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.bumdes-foto-kantor {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
}

.bumdes-foto-kantor img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.bumdes-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.bumdes-section-title {
    font-size: 1rem;
    color: #0e7490;
    margin: 0 0 0.75rem 0;
}

.bumdes-section-title i {
    margin-right: 0.5rem;
    width: 1em;
}

.bumdes-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
    margin: 0;
}

.bumdes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .bumdes-grid {
        grid-template-columns: 1fr;
    }
}

.bumdes-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem 1.5rem;
}

.bumdes-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bumdes-info-item.full {
    grid-column: 1 / -1;
}

.bumdes-info-item .label {
    font-size: 0.8rem;
    color: #64748b;
}

.bumdes-info-item .label i {
    margin-right: 0.35rem;
    color: #0e7490;
}

.bumdes-info-item .value {
    font-size: 0.95rem;
    color: #0f172a;
}

.bumdes-info-item .value a {
    color: #0e7490;
    text-decoration: none;
}

.bumdes-info-item .value a:hover {
    text-decoration: underline;
}

.bumdes-list {
    margin: 0;
    padding-left: 1.25rem;
    list-style: none;
}

.bumdes-list li {
    margin-bottom: 0.35rem;
}

.bumdes-table-wrap {
    overflow-x: auto;
}

.bumdes-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.bumdes-table th,
.bumdes-table td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.bumdes-table th {
    background: #f8fafc;
    color: #0e7490;
    font-weight: 600;
}

.bumdes-table .text-end {
    text-align: right;
}

.bumdes-back {
    margin-top: 1.5rem;
}

.bumdes-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0e7490;
    font-weight: 500;
    text-decoration: none;
}

.bumdes-btn-back:hover {
    text-decoration: underline;
    color: #0d9488;
}
