.leagues {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 30px;
}


.league {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #E0E0E0;
    color: #333333;
    text-align: center;
    text-decoration: none;
}

.league__img {
    flex-shrink: 0;
}

.league__name {
    font-size: 18px;
    line-height: 130%;
    margin-top: 16px;
}

.league__desc {
    font-size: 14px;
    color: #888888;
    margin-top: 5px;
    line-height: 140%;
    gap: 3px 15px;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
}

.league-tile{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    background: #fff;
    border-radius: 6px;
    /* box-shadow: 0 6px 12px 0 #3E10101A; */
    box-shadow: 0 6px 12px 0 var(--box-shadow-color);
    
    transition: 0.3s;
    border: 1px solid transparent;
}

.league-tile:hover{
    box-shadow: 0 0 0 0 #0000;
    border-color: #E0E0E0;
}

.league-tile__header{
    display: flex;
    gap: 8px;
}

.league-tile__image{
    width: 120px;
    height:120px;
    object-fit: cover;
}

.league-tile__info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.league-tile__tags{
    display: flex;
    align-items: center;
    gap: 5px;
}

.league-tile__tag{
    width: fit-content;
    padding: 4px 8px;
    min-height: 28px;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;

    color: #333333;
    background: #F5F3F7;
}   

.league-tile__attributes{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.league-tile__attribute{
    display: flex;
    align-items: center;
    gap: 4px;

    font-weight: 400;
    font-size: 14px;
    line-height: 140%;

}

.league-tile__attribute__label{
    color: #888888;
}
.league-tile__attribute__value{
    color: #333333;
}

.league-tile__name{
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 5px;
    /* font-family: 'Inter', sans-serif; */
    font-weight: 400;
    font-size: 16px;
    line-height: 148%;


    color: #333333;
}

.league-tile__name:after{
    content: '';
    position: absolute;
    width: 70px;
    height:2px;
    background: #FF2424;
    left: 0;
    bottom: 0;
}