.main {
    margin-top: 3rem;
    display: grid;
    justify-content: center;
}

.pagina-filtro {
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 20px;
}

.conteudo {
    width: 90vw;
    display: flex;
    flex-direction: column;
}

.qtd-artigos {
    color: #fff;
    text-align: center;
    width: 100%;
    font-size: 30px;
    margin-bottom: 40px;
    letter-spacing: 3px;
    font-weight: 500;
}

.buscar-artigo_input {
    border-radius: 15px;
}

.conteudo-artigo {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.artigo-filtro {
    width: 76%;
}

.botao-sidebar-container {
    display: none;
}

/* ============================= */
/* PADRONIZAÇÃO (🔥 NOVO - ESSENCIAL) */
/* ============================= */

.informacao-numerica {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 70px;
}

/* ============================= */
/* COMPARTILHAR (LISTAGEM) */
/* ============================= */

.informacao-numerica.compartilhar {
    gap: 6px;
    min-width: 80px;
    padding: 6px;
    border-radius: 10px;
    transition: background 0.25s ease;
}

.informacao-numerica.compartilhar:hover {
    background-color: #f8fafc;
}

.btn-compartilhar {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: all 0.25s ease;

    color: #2d4483;
}

.btn-compartilhar svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
    transition: all 0.25s ease;
}

.btn-compartilhar:hover {
    background-color: #2d4483;
    color: #fff;
    transform: scale(1.08);
}

.compartilhar .texto-info {
    font-size: 12px;
    color: #6e6e6e;
    text-align: center;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.compartilhar .texto-info.copiado {
    color: #16a34a;
    font-weight: 500;
}

.compartilhar .texto-info.erro {
    color: #dc2626;
}

.filtro-container {
    min-width: 11.25rem;
    width: 20rem;
}

.artigo {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 1rem;
    background-color: #fff;
    padding: 15px;
    border-radius: 12px;
    position: relative;
}

.artigo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            rgba(217, 217, 217, 0.7),
            transparent);
}

.artigo.nada {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.artigo {
    padding-left: 40px;
}

.indice-artigo {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 13px;
    color: #aaa;
    font-weight: 500;
}

.link-artigos {
    color: #2d4483;
    font-weight: 400;
}

.texto-artigo {
    display: grid;
    gap: 15px;
}

.titulo-artigo {
    color: #2d4483;
    font-weight: 400;
    width: 98%;
}

.iformacoes-artigo,
.resumo {
    font-size: 14px;
    color: #6e6e6e;
    width: 98%;
    text-align: justify;
}

.informacoes {
    display: flex;
}

.separacao {
    width: 2px;
    height: 100%;
    margin-right: 17px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(192, 192, 192, 0.6),
            transparent);
}

/* 🔥 AJUSTE CRÍTICO */
.dados {
    display: flex;
    flex-direction: column;
    align-items: center; /* 🔥 alinhamento consistente */
    justify-content: center;
    gap: 10px;
}

.infor {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.escondido {
    display: none;
}

.separar {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right,
            transparent,
            rgba(110, 110, 110, 0.6),
            transparent);
}

.num {
    font-size: 28px;
    color: #6e6e6e;
    letter-spacing: 3px;
    font-weight: 500;
    text-align: center;
}

.nome {
    font-weight: 500;
    font-size: 12px;
    color: #6e6e6e;
    text-align: center;
}

.link-url {
    cursor: pointer;
}

.dropdown-menu.modal-editar-desativar {
    transform: translate(609.222px, 48.8889px) !important;
}

.link-url:hover {
    text-decoration: underline;
}

@media (max-width: 1500px) {
    .artigo {
        grid-template-columns: 88% 12%;
    }
}

@media (max-width: 768px) {
    .texto-artigo {
        height: 55%;
        overflow: hidden;
    }

    .artigo {
        display: flex;
    }

    .div-isolada {
        height: 45%;
    }

    .filtro-container {
        display: none;
    }

    .botao-sidebar-container {
        display: block;
        align-self: end;
        padding: 1rem 1rem 0 1rem;
    }

    .form-desativar {
        display: none;
    }

    .dropdown-menu.modal-editar-desativar {
        transform: none !important;
        inset: 66px 10px auto auto !important;
        width: 30px;
    }

    .artigo-filtro {
        width: 100%;
    }

    .conteudo-artigo {
        gap: 0;
    }
}

@media (max-width: 460px) {
    .qtd-artigos {
        font-size: 22px;
        padding: 1rem;
    }

    .pagina-filtro {
        width: 90%;
        justify-self: center;
        padding: 10px;
    }

    .conteudo {
        width: auto;
    }

    .artigo {
        display: flex;
        flex-direction: column;
        padding-left: 15px;
    }

    .indice-artigo {
        position: static;
        display: block;
        margin-bottom: 5px;
        font-size: 12px;
        color: #999;
    }

    .informacoes {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
        padding-top: 10px;
        position: relative;
    }

    .informacoes::before {
        content: "";
        position: absolute;
        top: 0;
        left: 10%;
        width: 80%;
        height: 2px;
        background: linear-gradient(to right,
                transparent,
                rgba(192, 192, 192, 0.6),
                transparent);
    }

    .dados {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .separar {
        display: none;
    }

    .informacao-numerica {
        flex-direction: row;
        gap: 6px;
    }

    .infor {
        flex-direction: row;
        align-items: center;
        gap: 5px;
        margin-top: 0.5rem;
        width: 100%;
    }

    .nome {
        font-size: 12px;
    }

    .num {
        font-size: 14px;
        font-weight: bold;
    }

    .separacao {
        margin-right: 0;
    }

    .informacao-numerica.compartilhar {
        justify-content: center;
        align-items: center;
        gap: 6px;
        padding: 4px 6px;
        min-width: auto;
        flex-shrink: 0; /* 🔥 evita quebra */
    }

    .btn-compartilhar {
        width: 28px;
        height: 28px;
    }

    .btn-compartilhar svg {
        width: 14px;
        height: 14px;
    }

    .compartilhar .texto-info {
        font-size: 11px;
    }
}
