/* Σύλλογοι — club cards (live: framed image, name, dark "Περιγραφή", round icons) */
.oms-clubs__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.2vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (max-width: 1024px) { .oms-clubs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .oms-clubs__grid { grid-template-columns: minmax(0, 1fr); } }

.oms-club {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--oms-radius-sm);
    box-shadow: var(--oms-shadow-sm);
    overflow: hidden;
}
.oms-club__media {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 8px 8px 0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
/* Absolutely placed: in a grid/flow box sized by aspect-ratio, the image's own height wins and
   the box grows to fit it — object-fit then never has a fixed frame to work in. */
.oms-club__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Near-square images are the clubs' logos/seals — never crop them (decided per image in PHP). */
.oms-club__media--contain img { object-fit: contain; padding: 10px; }

.oms-club__body {
    display: flex; flex-direction: column; align-items: center; flex: 1;
    padding: 18px 18px 22px;
    text-align: center;
}
.oms-club__name { margin: 0 0 16px; font-size: 19px; font-weight: 600; line-height: 1.35; flex: 1; color: var(--oms-ink); }
.oms-club__btn { margin-bottom: 16px; min-width: 150px; }
