.beefup {
  margin: 1em 0;
}

.beefup:first-child {
  margin-top: 0;
}

.beefup__head, .beefup__body {
  padding: 8px 10px;
}

.beefup__head {
  cursor: pointer;
  font-size:16px;
  position: relative;
  margin: 0;
  padding-right: 50px;
}

button.beefup__head,
.beefup__head > button {
  cursor: pointer;
  display: block;
  width: 100%;
  background: none;
  border: 0;
  font: inherit;
  outline-style:none;
  outline-width:0;
  text-align: inherit;
}

button.beefup__head[aria-disabled],
.beefup__head > button[aria-disabled] {
  cursor: default;
  outline: 0;
}

.beefup__head > button {
  position: relative;
  z-index: 1;
  margin: -10px -50px -10px -20px;
  padding: inherit;
  width: calc(100% + 70px);
  background: inherit;
}

.beefup__head::after {
  transition: transform 0.2s ease-out;
  content: '';
  transform: translate(0, -50%) rotate(45deg);
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 0;
  margin-top: -2px;
  padding: 3px;
  color: #ccc;
}

.beefup.is-open > .beefup__head::after {
  transform: translate(0, -50%) rotate(225deg);
  margin-top: 2px;
}