/* Painéis do rodapé — arquivo externo (não depende do HTML do Elementor) */
.mpe-foot .mpe-panels {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 16px;
    margin: 20px 0 0;
    padding: 0 0 38px;
    width: 100%;
}

.mpe-panels__gap {
    display: none;
    flex: 0 0 100%;
    width: 0;
    height: 0;
    overflow: hidden;
}

.mpe-foot .mpe-panels + .mpe-row {
    margin-top: 0;
    padding-top: 6px;
}

.mpe-foot a.mpe-panels__member,
.mpe-foot a.mpe-panels__member:visited {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 28px;
    border-radius: 999px;
    background: #983967 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(152, 57, 103, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.mpe-foot a.mpe-panels__member:hover {
    transform: translateY(-1px);
    background: #7a2c55 !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(152, 57, 103, 0.34);
}

.mpe-foot a.mpe-panels__admin,
.mpe-foot a.mpe-panels__admin:visited {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(152, 57, 103, 0.32);
    background: transparent !important;
    color: #983967 !important;
    font-weight: 600 !important;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
}

.mpe-foot a.mpe-panels__admin:hover {
    color: #7a2c55 !important;
    border-color: #983967;
    background: rgba(152, 57, 103, 0.06) !important;
    text-decoration: none !important;
}

@media (max-width: 640px) {
    .mpe-foot .mpe-panels {
        flex-direction: column;
        gap: 0 !important;
        margin-top: 16px;
        padding-bottom: 22px;
    }

    .mpe-panels__gap {
        display: block;
        width: 100%;
        max-width: 300px;
        height: 18px;
        margin: 0 auto;
        flex-shrink: 0;
    }

    .mpe-foot .mpe-panels + .mpe-row {
        padding-top: 4px;
    }

    .mpe-foot a.mpe-panels__member {
        width: 100%;
        max-width: 300px;
        margin: 0 auto !important;
        box-shadow: 0 3px 10px rgba(152, 57, 103, 0.18);
    }

    .mpe-foot a.mpe-panels__admin {
        width: 100%;
        max-width: 300px;
        margin: 0 auto !important;
    }
}
