/* Container for the entire providers section */
.providers-list-container {
    clear: both;
    margin-top: 20px;
}

.providers-title {
    text-transform: capitalize;
    margin-bottom: 10px;
}

/* Flexbox grid layout */
.providers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Styling for each provider card */
.provider-card {
    flex: 1 1 120px;
    max-width: 150px;
    background: #FEE598;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    overflow: hidden;
}

/* Image container */
.provider-image {
    height: 100px; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
	background-color: #ffffff;
	border: 1px solid #ddd;
}

.provider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 120px;

}

 
.provider-name {
    background: #fff;
    padding: 5px;
    font-size: 12px; /* Adjusted font size for readability */
    height: 50px; /* Adjusted height for name section */
    overflow: hidden;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.provider-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    color: #ddd;
    font-size: 36px; /* Adjust size as needed */
    font-weight: bold;
    height: 100px; /* Match the image container height */
    width: 100%;
    text-transform: uppercase;
}
