
/* Styling for the container */
#crm-event-block.crm-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 5px;
    background-color: #efefef;
}

/* Styling for the individual items */
#crm-event-block.crm-container p {
    background-color: #d9ebd2;
    padding: 15px;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.4;
     min-width: 100px;
     max-width: 400px;
    flex: 1 1 200px; /* Flexible sizing */
    display: flex;
    flex-direction: column; /* Stack image and text */
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}


/* Responsive styling */
@media (max-width: 800px) {
    #crm-event-block.crm-container {
        flex-direction: column; /* Stack items vertically */
    }
    #crm-event-block.crm-container p {
        max-width: 100%; /* Items take full width */
    }
    #crm-event-block.crm-container p::before {
    display: none;
    }
}