/* Profil Desa - halaman publik */
.page-profil-desa .main-content {
    padding: 1.5rem 1rem 3rem;
}
.profil-wrap {
    max-width: 900px;
    margin: 0 auto;
}
.profil-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
}
.profil-breadcrumb a {
    color: #1e40af;
    text-decoration: none;
}
.profil-breadcrumb a:hover {
    text-decoration: underline;
}
.profil-breadcrumb .sep {
    margin: 0 0.35rem;
}
.profil-page-title {
    font-size: 1.75rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.profil-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.profil-section-title {
    font-size: 1.1rem;
    color: #1e3a8a;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}
.profil-section-title i {
    margin-right: 0.5rem;
    color: #1e40af;
}
.profil-dl {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0.5rem 1.5rem;
    margin: 0;
}
.profil-dl dt {
    font-weight: 500;
    color: #64748b;
    font-size: 0.9rem;
}
.profil-dl dd {
    margin: 0;
    font-size: 0.95rem;
    color: #334155;
}
.profil-dl dd a {
    color: #1e40af;
    text-decoration: none;
}
.profil-dl dd a:hover {
    text-decoration: underline;
}
.profil-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
    margin: 0;
}
.profil-visi,
.profil-misi {
    white-space: pre-line;
}
.profil-sambutan-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
}
.profil-sambutan-body p {
    margin: 0 0 0.75rem 0;
}
.profil-sambutan-body p:last-child {
    margin-bottom: 0;
}
.profil-sambutan-body img {
    max-width: 100%;
    height: auto;
}

/* Rich text (Sejarah, Visi, Misi, Sambutan) - format dari editor */
.profil-richtext {
    white-space: normal;
}
.profil-richtext h2 {
    font-size: 1.15rem;
    margin: 1.25rem 0 0.5rem 0;
    color: #1e3a8a;
}
.profil-richtext h2:first-child {
    margin-top: 0;
}
.profil-richtext h3, .profil-richtext h4, .profil-richtext h5 {
    font-size: 1.05rem;
    margin: 1rem 0 0.4rem 0;
    color: #334155;
}
.profil-richtext p {
    margin: 0 0 0.6rem 0;
}
.profil-richtext p:last-child {
    margin-bottom: 0;
}
.profil-richtext ul, .profil-richtext ol {
    margin: 0.5rem 0 1rem 1.25rem;
    padding-left: 1.25rem;
}
.profil-richtext li {
    margin-bottom: 0.35rem;
}
.profil-richtext hr {
    margin: 1rem 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
}
.profil-richtext a {
    color: #1e40af;
    text-decoration: none;
}
.profil-richtext a:hover {
    text-decoration: underline;
}
.profil-richtext img {
    max-width: 100%;
    height: auto;
}
.profil-richtext table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
}
.profil-richtext th, .profil-richtext td {
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

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