.tabbed-set {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.tabbed-set__labels {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.tabbed-set__labels label {
  background-color: #cecece;
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  border-radius: 0.5em 0.5em 0 0;
  cursor: pointer;
  margin-bottom: 0;
  flex: 1;
  text-align: center;
  color: #000000;
}

.tabbed-set__labels label.active {
  background-color: rgba(157, 34, 53, 1);
  color: #ffffff;
}

.tabbed-set__labels input[type="radio"] {
  display: none;
}

.tabbed-set__content {
  display: none;
  padding: 1em;
  background-color: #ffffff;
  border: 1px solid #ccc;
}

@media (max-width: 600px) {
  .tabbed-set__labels label { padding: 0.5em; font-size: 0.9em; }
  .tabbed-set__content { padding: 0.5em; }
}
