/* Estilos para as caixas do Plugin Gestão Educacional */

.wpge-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.wpge-card {
    background-color: #ffffff;
    border-left: 5px solid #0073e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: sans-serif;
    flex: 1 1 calc(33% - 25px);
    max-width: calc(33% - 25px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wpge-card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.wpge-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wpge-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wpge-card-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    color: #333;
}

.wpge-card-divider {
    border: none;
    height: 1px;
    background-color: #eeeeee;
    margin: 15px 0;
}

.wpge-card p {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.wpge-card p strong {
    color: #333;
    font-weight: 600;
}

.wpge-card-content {
    margin-top: 15px;
}

/* Estilo para o botão de WhatsApp */
.wpge-whatsapp-button {
    display: inline-block;
    background-color: #25D366; /* Cor verde do WhatsApp */
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin-top: auto; /* Empurra o botão para o final da caixa */
    transition: background-color 0.3s ease;
}

.wpge-whatsapp-button:hover {
    background-color: #128C7E;
    color: #ffffff !important;
}

/* **NOVO** - Estilo para o botão de Cardápio */
.wpge-cardapio-button {
    display: inline-block;
    background-color: #d9534f; /* Cor vermelha para diferenciar */
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    margin-top: auto; /* Empurra o botão para o final da caixa */
    transition: background-color 0.3s ease;
}

.wpge-cardapio-button:hover {
    background-color: #c9302c; /* Cor mais escura ao passar o mouse */
    color: #ffffff !important;
}


/* Media Queries para responsividade */
@media (max-width: 1024px) {
    .wpge-card {
        flex: 1 1 calc(50% - 25px);
        max-width: calc(50% - 25px);
    }
}

@media (max-width: 768px) {
    .wpge-card {
        padding: 0;
        flex: 1 1 100%;
        max-width: 100%;
    }
    .wpge-card-title {
        font-size: 20px;
    }
    .wpge-card-body {
        padding: 20px;
    }
    .wpge-card-image-wrapper {
        height: 180px;
    }
}