:root {
  --sidebar-width: 31rem;
  --layout-gap: 4rem;
  --wp--style--block-gap: clamp(3.5rem, 2.737rem + 1.404vw, 4rem);
}

@media (min-width: 1300px) {
  :root {
    --sidebar-width: 34rem;
    --layout-gap: 6rem;
  }
}
ul.tabs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 2.5rem 0;
  padding: 0;
  border-bottom: 1px solid rgba(55, 42, 102, 0.4);
  position: relative;
}
ul.tabs li {
  margin: 0 3rem 0 0;
  padding: 0;
  position: relative;
  z-index: 2;
}
ul.tabs li:last-child {
  margin: 0;
}
ul.tabs a {
  display: block;
  margin-bottom: -1px;
  padding: 0.7ch 0;
  border-bottom: 2px solid transparent;
  transition: color 0.35s ease-in-out, border 0.35s ease-in-out !important;
}
ul.tabs a.active {
  font-weight: 500;
  color: #101010;
  border-color: #B11226;
}
ul.tabs a:hover, ul.tabs a:active, ul.tabs a:focus {
  color: #101010;
  border-color: #B11226;
  outline: none;
}
ul.tabs.fw li {
  display: flex;
  align-items: stretch;
  flex-grow: 1;
  flex-basis: 0;
}
ul.tabs.fw li a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.vert ul.tabs {
  display: flex;
  flex-direction: column;
  width: calc(35% - 30px);
  margin: 0 30px 0 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.vert ul.tabs li {
  width: 100%;
  margin: 0 0 1rem 0;
  padding: 0;
}
.vert ul.tabs a {
  display: block;
  height: auto;
  background: #fff;
  padding: 0.7ch 1rem;
}
.vert ul.tabs a:hover, .vert ul.tabs a:active, .vert ul.tabs a:focus, .vert ul.tabs a.active {
  cursor: pointer;
}
@media (min-width: 750px) {
  .vert .tab-panel {
    width: 65%;
  }
}
@media (min-width: 1024px) {
  .vert ul.tabs {
    width: 180px;
  }
  .vert .tab-panel {
    width: calc(100% - 215px);
  }
}

@media (max-width: 749px) {
  .acc ul.tabs {
    display: none;
  }
}
