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

.layout-calendar-easyplan {
    position: relative !important;
    left: 6rem !important;   
    width: calc(100vw - 9rem) !important;
}


/* ── Tournament item row ── */
.easy-plan-tournament-item {
    display: flex;
    flex-wrap: wrap;                /* allows the whole item to wrap on very small screens */
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    text-decoration: none !important;
    color: inherit !important;
}

.easy-plan-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 side by side, name+category below ── */
.easy-plan-tournament-info {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 200px;
    min-width: 0;                  /* allows the flex child to shrink below content size */
    overflow: hidden;              /* hard boundary — name ellipsis fires here */
    max-width: 100%;
}

/* ── Flag + city block ── */
.easy-plan-tournament-flag-city {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;                /* don't grow, keep its natural size */
    min-width: 120px;
}

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

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

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

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

/* ── Name + category block ── */
.easy-plan-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 */
}

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

.easy-plan-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 ── */
.easy-plan-tournament-dates {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 140px;               /* fixed width, doesn't grow or shrink */
    margin-left: 10px;
    color: #101F69;
}

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

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

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

/* ── FullCalendar overrides ── */
.fc {
    height: auto !important;
}

.fc-view-harness {
    height: 100vw !important;
    overflow: visible;
}

.fc-scroller-harness-liquid {
    height: 100vw !important;
}

.fc-button-group button {
    background-color: #101F69 !important;
}

.fc-today-button {
    background-color: #101F69 !important;
}