  ﻿ul[class] {
    margin: 0;
    padding: 0;
}

ul[class] li {
    list-style: none;
    margin: 0;
}

ul[class] li > * {
    margin: 1rem;
}

:focus {
    box-shadow: 0 0 0 0.25rem yellow;
    outline: 0;
}

/* [1] 'auto-fit' grid columns, so no media queries required. */
/* [2] 'dense' packing fills in holes earlier in the grid. */
.taster-grid {
    display: grid;
    gap: 1rem;
    grid-auto-flow: dense; /* [2] */
    grid-template-columns: repeat(auto-fit, calc(33% - 0.5em)); /* [1] */
    justify-content: center;
}

@media (max-width: 825px) {
  .taster-grid {
    grid-template-columns: repeat(auto-fit, 100%);
  }
}

.taster-grid > * {
    align-items: flex-start;
    background: #a3378c;
    color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.taster-grid__button {
    border: none;
    font-size: 2em;
    align-self: end;
    width: 80%;
    text-align: right;
    margin-top: 0 !important;
    background: none;
    color: white;
}

button.taster-grid__button.fa.fa-times {
    margin-top: 1rem !important;
}

.taster-grid__button:hover {
  cursor: pointer;
}

.box {
  border-radius: 5px;
}

.box h4 {
  margin-bottom: 0 !important;
}
/* [3] Make fullwidth card span all grid columns. */
.fullwidth {
    grid-column: 1 / -1;
}

.is-hidden {
    display: none;
}

.fullwidth,
.fullwidth > button,
.is-selected,
.is-selected > button {
    background: #0e6270;
    color: white;
    border-radius: 5px;
    outline: none;
}

.is-selected > button {
  transform: rotate(180deg);
  text-align: left;
}