.board-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.board-card:hover {
    transform: translateY(-10px);
}
.board-card img {
    width: 100%; /* Set the width to fill the container */
    height: 300px; /* Set a consistent height for all images */
    object-fit: contain; /* Ensure the entire image fits within the height */
    background-color: #f5f5f5; /* Optional: Set a background color for the empty space */
    border-bottom: 1px solid #ddd; /* Maintain the border styling */
}

.board-card-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.board-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.board-card-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: auto;
    line-height: 1.5;
    overflow: hidden;
    max-height: 9em; /* Display about 3 lines of text initially */
    position: relative;
}
.board-card-text.full {
    max-height: none; /* Expand text when "Read More" is clicked */
    overflow: visible;
}
.read-more {
    color: #007bff;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    display: block;
    margin-top: 5px;
}
.read-more:hover {
    text-decoration: underline;
}
.contact-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #333;
}
