.event-img {
    height: 175px;
    object-fit: cover;
}

.gym-logo {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
    border-radius: 8px;
    object-fit: contain;
    background-color: #fff;
    border: 1px solid var(--bs-border-color);
    padding: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Card banner with the logo overlaid on top of the image. */
.gym-card__banner-img {
    height: 96px;
    object-fit: cover;
}

.gym-card__banner .card-img-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 55%);
}

.gym-logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    color: #fff;
    border: none;
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
}

.gym-card .min-w-0 {
    min-width: 0;
}

.gym-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Suppress the blue focus ring/border on the gym list filter controls */
#filters .form-control:focus,
#filters .form-select:focus {
    border-color: var(--bs-border-color);
    box-shadow: none;
    outline: none;
}