/* Sistema Paroquial Organização Interna V1.0 */
.spo-cards {
    margin-bottom: 0;
}

.spo-info-grid,
.spo-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 24px;
}

.spo-info-grid div,
.spo-card,
.spo-empty {
    background: linear-gradient(180deg, #fff, #fffaf2);
    border: 1px solid #eadfce;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

.spo-info-grid strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 19px;
    color: #0f172a;
}

.spo-info-grid span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    line-height: 1.45;
}

.spo-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
}

.spo-form-grid .wide {
    grid-column: 1 / -1;
}

.spo-form-grid button {
    justify-self: start;
}

.spo-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.spo-card h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 20px;
}

.spo-card span {
    display: inline-flex;
    margin-top: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}

.spo-card small {
    display: inline-flex;
    background: #fff7ed;
    color: #8a5a13;
    border: 1px solid #edd6aa;
    border-radius: 999px;
    padding: 5px 9px;
    font-weight: 800;
    white-space: nowrap;
}

.spo-card p {
    color: #64748b;
    margin: 14px 0;
    line-height: 1.45;
}

.spo-card form {
    margin: 0;
}

.spo-delete {
    width: 100%;
    border: 0;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 11px;
    padding: 9px 12px;
    font-weight: 800;
    cursor: pointer;
}

.spo-empty {
    color: #64748b;
    font-weight: 700;
}

@media(max-width: 1000px) {
    .spo-info-grid,
    .spo-card-grid {
        grid-template-columns: 1fr;
    }

    .spo-form-grid {
        grid-template-columns: 1fr !important;
    }
}
