.ce-tabs {
  max-width: var(--maxWidth);
  width: var(--baseWidth);
  margin-right: auto;
  margin-left: auto;
  container-type: inline-size;
}
.ce-tabs .tab_wrapper {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
}
.ce-tabs .tab_wrapper > fieldset {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: 66%;
  margin: 0;
  padding: 0;
  border: none;
}
.ce-tabs .tab_wrapper > fieldset::before {
  content: "";
  width: 33%;
  display: flex;
  flex-direction: column;
}
.ce-tabs .tab_wrapper > fieldset > section {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: fit-content;
  transform: translateX(100%);
  display: block;
  color: var(--fontColorDark);
  padding-left: 70px;
  opacity: 0;
  box-sizing: border-box;
  z-index: 2;
  min-height: fit-content;
  transition: var(--baseTransition);
  text-wrap: wrap;
  word-break: keep-all;
  hyphens: auto;
}
.ce-tabs .tab_wrapper > fieldset > section .wp-block-heading {
  color: var(--fontColorDark);
}
.ce-tabs .tab_wrapper > fieldset > input {
  opacity: 0;
  position: absolute;
  z-index: -1;
  height: 0;
}
.ce-tabs .tab_wrapper > fieldset > input[type=radio]:checked + section {
  display: block;
  transform: translateX(0);
  transition: var(--baseTransition);
  opacity: 1;
}
.ce-tabs .tab_wrapper > fieldset > input[type=radio]:checked {
  color: var(--main-color);
  position: relative;
  z-index: 3;
}
.ce-tabs .tab_wrapper > fieldset > input[type=radio]:checked::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2.5px;
  background: var(--main-color);
}
.ce-tabs .tab_wrapper .tab-label-list {
  display: flex;
}
@container (width > 768px) {
  .ce-tabs .tab_wrapper .tab-label-list {
    flex-direction: column;
    width: 33%;
  }
}
@container (width <= 768px) {
  .ce-tabs .tab_wrapper .tab-label-list {
    flex-wrap: wrap;
    gap: 20px;
  }
}
.ce-tabs .tab_wrapper .tab-label-list > label {
  position: relative;
  z-index: 3;
  color: var(--mediumGrey);
  cursor: pointer;
  list-style-type: none;
  margin: 0;
  border: none;
  font-weight: 500;
  font-size: var(--baseFontSize);
  line-height: 1.4;
  transition: all 0.3s ease;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
@container (width > 768px) {
  .ce-tabs .tab_wrapper .tab-label-list > label {
    width: 100%;
    padding: 35px 0 10px 0;
    min-height: 60px;
  }
}
@container (width <= 768px) {
  .ce-tabs .tab_wrapper .tab-label-list > label {
    font-size: 15px;
    width: fit-content;
  }
}
.ce-tabs .tab_wrapper .tab-label-list > label:hover {
  color: var(--main-color);
}
.ce-tabs .tab_wrapper .tab-label-list > label.active {
  color: var(--main-color);
  font-weight: 600;
  position: relative;
  padding-right: 10px;
}
.ce-tabs .tab_wrapper .tab-label-list > label.active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2.5px;
  background: var(--main-color);
}
@container (width <= 768px) {
  .ce-tabs .tab_wrapper {
    flex-direction: column;
  }
  .ce-tabs .tab_wrapper .tab-label-list {
    width: 100%;
  }
  .ce-tabs .tab_wrapper > fieldset {
    width: 100%;
    flex-direction: column;
    border-top: 1px solid var(--second-color);
    margin-top: 30px;
  }
  .ce-tabs .tab_wrapper > fieldset::before {
    display: none;
  }
  .ce-tabs .tab_wrapper > fieldset > section {
    position: relative;
    width: 100%;
    height: auto;
    padding: 30px 0;
  }
}