.layout-cards-entries {
    position: relative !important;
    left: 6rem !important;   
    width: calc(100vw - 9rem - 15px) !important;
}

/* ── Tournament item row ── */
.entries-tournament-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none !important;
    color: inherit !important;
}

.entries-tournament-item:hover {
    box-shadow: 0 0 10px rgba(16, 31, 105, 0.5);
    border-color: #101F69;
    cursor: pointer;
    transform: scale(1.03);
    text-decoration: none !important;
}

/* ── Left section: flag+city stacked above name+category by default ── */
.entries-tournament-info {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 200px;
    min-width: 0;
    overflow: hidden;
    max-width: 100%;
}

/* ── Flag + city block ── */
.entries-tournament-flag-city {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
    min-width: 120px;
}

.entries-tournament-flag {
    height: 30px;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
}

.entries-location-details {
    display: flex;
    flex-direction: column;
    color: #101F69;
    min-width: 0;
}

.entries-tournament-city {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.entries-tournament-country {
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Name + category block ── */
.entries-tournament-name-category {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* flex: 1 1 150px; */
    min-width: 0;                  /* critical — allows ellipsis to fire */
    overflow: hidden;              /* hard boundary — never overlaps dates */
}

.entries-tournament-name {
    font-size: 18px;
    font-weight: bold;
    color: #101F69;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.entries-tournament-category {
    font-size: 14px;
    color: red;
    border: 1px solid red;
    padding: 2px 5px;
    border-radius: 4px;
    display: inline-block;         /* shrinks to text content width */
    align-self: flex-start;        /* prevents stretching to full parent width */
    margin-top: 5px;
    white-space: nowrap;
}

/* ── Right section: dates ── */
.entries-tournament-dates {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 140px;
    margin-left: 10px;
    color: #101F69;
}

.entries-tournament-date {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.entries-tournament-date:last-child {
    margin-bottom: 0;
}

.entries-tournament-date i {
    margin-right: 5px;
    flex-shrink: 0;
}