.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-title {
    font-size: 1.1rem;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3rem; /* Adjust height to fit two lines */
}

.card-text {
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3rem; /* Adjust height to fit two lines */
}

.tags-container {
    min-height: 25px; /* Default space for tags */
    margin-bottom: 10px;
}

.tags-container:empty {
    display: none; /* Hide when no tags */
}

/* Ensures Video and Image Thumbnails Are Consistent */
.video-container {
    width: 100%;
    height: 200px; /* Ensures uniform height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: 100%;
}

.email-display {
        word-break: break-word; /* Breaks long emails properly */
        display: inline-block;
        max-width: 250px; /* Adjust as per your layout */
        white-space: normal;
        overflow-wrap: break-word;
    }