.home {
    max-width: 960px;
    margin: 0 auto;
}

.home__title {
    margin: 32px 0;
    text-align: center;
}

.home__search {
    text-align:center;   
    max-width: 500px;
    margin: 0px auto 24px;
}

.home__search-input {
    width: 100%;
    display: block;
    padding: 6px 8px;
    font-size: 14px;
    font-family: inherit;
    line-height: 20px;
    color: #333;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    transition-property: border-color, box-shadow;
    transition-duration: .2s;
    vertical-align: baseline;
    -webkit-appearance: none;
}

.home__groups {
    display: flex;
    gap: 1em;
    justify-content: center;
    flex-wrap: wrap;
}

.home__groups.LIST-VIEW {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.is-mobile .home__groups {
    display: block;
}

.home__groups-item {
    /* box-sizing: border-box; */
    /* width: 250px;*/
    height: 150px; 
    flex: 0 0 15em;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 0 16px rgba(0,0,0,.1);
    padding: 1em;
    cursor: pointer;
    position: relative;
}

.home__groups.LIST-VIEW .home__groups-item {
    height: auto;
    padding: 8px 12px;
    display: block;
    border-bottom: 1px solid #ddd;
    box-shadow: none;
    border-radius: 0;
}

.is-mobile .home__groups-item {
    margin: 16px;
}

.home__groups-item a {
    color: inherit;
    font-weight: 600;
    font-size: 1.17em;
    text-decoration: none;
}

.home__groups-item p {
    color: #777;
    position: absolute;
    bottom: 0;
    font-size: 14px;
}

.home__groups.LIST-VIEW .home__groups-item p {
    position: static;
    margin-bottom: 0;
}


.home__view-toggler {
    display: block;
    background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0) 50%, rgba(0,0,0,0.02));
    background-color: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    border-radius: 4px;
    color: #111;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    line-height: 16px;
    outline: 0;
    padding: 6px 14px;
    margin: 20px auto;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s, box-shadow .2s;
    -webkit-tap-highlight-color: rgba(0,0,0,.1);
    -moz-appearance: none;
    -webkit-appearance: none;
    vertical-align: baseline;
}