main .section:not(.xxxl-spacing-static, .xxl-spacing-static, .xl-spacing-static, .xxxl-spacing, .xxl-spacing, .xl-spacing,
.l-spacing, .m-spacing, .s-spacing, .xs-spacing, .xxs-spacing):has(.content-toggle-wrapper) {
    padding-top: 40px;
}

main .section[data-toggle]:not(.xxxl-spacing-static, .xxl-spacing-static, .xl-spacing-static, .xxxl-spacing, .xxl-spacing, .xl-spacing,
.l-spacing, .m-spacing, .s-spacing, .xs-spacing, .xxs-spacing) {
    padding-top: 60px;
}

main .section .content-toggle-wrapper {
    margin: 0 auto;
    padding: 0 13px;
    max-width: max-content;
}

main .content-toggle {
    position: relative;
    display: flex;
    justify-content: center;
    background-color: #EDEDED;
    border-radius: 100px;
    padding: 6px;
    margin-top: 10px;
    margin-bottom: 24px;
    height: 64px;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

main .content-toggle .content-toggle-button {
    position: relative;
    display: block;
    list-style-type: none;
    background-color: transparent;
    border-radius: 100px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 600;
    margin: 0 5px;
    cursor: pointer;
    user-select: none;
    border: none;
    font-family: var(--body-font-family);
    color: black;
}

main .content-toggle.dark .content-toggle-button.active {
    color: white;
    transition: 0.5s;
}

main .content-toggle .toggle-background  {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    margin: 0 8px;
    border-radius: 100px;
    background-color: white;
    color: #000000;
    transition: 0.2s;
}

main .content-toggle.dark .toggle-background  {
    background-color: #242424;
    color: #FFFFFF;
    transition: 0.2s;
}

main .content-toggle .tag {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -15px;
    right: -15px;
    z-index: 1;
    font-size: 12px;
    font-weight: 400;
    background-color: #33AB84;
    color: white;
    height: 20px;
    width: 61px;
    border-radius: 4px;
}

@media screen and (min-width: 768px) {
  main .section:not(.xxxl-spacing-static, .xxl-spacing-static, .xl-spacing-static, .xxxl-spacing, .xxl-spacing, .xl-spacing,
  .l-spacing, .m-spacing, .s-spacing, .xs-spacing, .xxs-spacing):has(.content-toggle-wrapper) {
    padding-top: 38px;
  }

  main .content-toggle {
    height: 44px;
  }

  main .content-toggle .toggle-background  {
    height: 40px;
  }
}
