.custom-accordion input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.custom-accordion .row {
  display: flex;
}
.custom-accordion .row .col {
  flex: 1;
}
.custom-accordion .row .col:last-child {
  margin-left: 1em;
}

/* Accordion styles */
.custom-accordion .tabs {
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.custom-accordion .tab {
  width: 100%;
  overflow: hidden;
}
.custom-accordion .tab-label {
  background: #fff;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  display: flex;
  font-size: 1.3rem;
  font-weight: lighter;
  line-height: 2.25rem;
  justify-content: space-between;
  padding: 1em;
}
.custom-accordion .tab-label:hover {
  background: #f1f1f1;
}
.custom-accordion .tab-label::after {
  content: "❯";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}
.custom-accordion .tab-content {
  max-height: 0;
  padding: 0 1em;
  
  transition: all 0.35s;
}
.tab-content p{
  font-size: 1.25rem;
  margin-bottom: 0;
}
.custom-accordion .tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  cursor: pointer;
}
.custom-accordion .tab-close:hover {
  background: #f1f1f1;
}

.custom-accordion input:checked + .tab-label {
  background: #fff;
}
.custom-accordion input:checked + .tab-label::after {
  transform: rotate(90deg);
}
.custom-accordion input:checked ~ .tab-content {
      max-height: 100vh;
  padding: 1em;
}