.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.sponsor-item {
    background-color: #ffffff;
    padding: 20px;
    flex: 1 1 calc(33.33% - 20px); /* Ensures each item is a third of the container width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    transition: transform 0.3s ease;
    min-height: 300px; /* Set a minimum height to keep items uniform */
}

.sponsor-item:hover {
    transform: scale(1.03);
}

.sponsor-logo img {
    max-width: 100%!important;
    height: auto!important;
    max-height: 200px!important;
    border-radius: 4px;
    margin-bottom: 15px;
    object-fit: contain!important;
}

.sponsor-name {
    font-size: 1.5em!important;
    color: #2b5d8d;
    margin: 10px 0;
    font-weight: bold;
}

.sponsor-phone, .sponsor-address {
    font-size: 1em;
    color: #555;
    margin: 8px 0;
}

.sponsor-phone a, .sponsor-address a {
    color: #555;
    text-decoration: none;
}

.sponsor-phone a:hover, .sponsor-address a:hover {
    color: #2b5d8d;
}

.dashicons-location {
    vertical-align: middle;
    color: #888;
    margin-right: 5px;
}

.sponsor-website.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6600;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.sponsor-website.btn:hover {
    background-color: #e55a00;
}

