/*
 * Estilos para o Plugin Compartilhamento Notícias Destaque
 */

/* Estilos de layout e container */
.cnd-share-buttons-container {
    display: flex;
    justify-content: center;
    margin: 15px 0 25px 0;
    padding: 10px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    gap: 10px;
    flex-wrap: wrap; 
}

/* ESTILOS PARA POSTS INDIVIDUAIS (COM TEXTO E FONTES MENORES) */
.cnd-share-button {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px; 
    border-radius: 4px;
    color: white !important; 
    text-decoration: none !important;
    font-weight: bold;
    font-size: 13px; /* Fonte menor para o texto do botão */
    transition: opacity 0.3s;
}

.cnd-share-button:hover {
    opacity: 0.8;
}

.cnd-icon {
    /* O seletor .cnd-icon agora aplica estilos ao <i> do Bootstrap */
    font-size: 15px; /* Tamanho padrão do ícone */
    margin-right: 5px;
    /* Garante que o ícone do Bootstrap seja renderizado corretamente */
    line-height: 1; 
}

/* ---------------------------------------------------------------------- */
/* ESTILOS ESPECÍFICOS PARA PRÉVIAS (APENAS ÍCONES) */
/* ---------------------------------------------------------------------- */

.cnd-icon-only.cnd-share-buttons-container {
    margin: 10px 0;
    padding: 5px 0;
    justify-content: flex-start;
    border: none;
}

.cnd-icon-only .cnd-share-button {
    padding: 5px;
    width: 35px;
    height: 35px;
    justify-content: center;
}

.cnd-icon-only .cnd-text {
    display: none; /* Oculta o texto do botão na prévia */
}

.cnd-icon-only .cnd-icon {
    font-size: 18px; 
    margin: 0;
}

/* Cores das Redes Sociais */
.cnd-facebook {
    background-color: #3b5998;
}

.cnd-whatsapp {
    background-color: #25d366;
}

.cnd-instagram {
    background-color: #C13584; /* Cor única para o Instagram */
}

/* Responsividade básica */
@media (max-width: 600px) {
    /* Ajustes para single posts em mobile (com texto) */
    .cnd-share-buttons-container:not(.cnd-icon-only) {
        justify-content: space-around;
        padding: 5px;
    }
    .cnd-share-buttons-container:not(.cnd-icon-only) .cnd-share-button {
        flex-grow: 1; 
        justify-content: center;
    }
}