/* Progressive enhancement for the original sliding-tab interaction. */
.menu-label {
  display: none;
}

@media (min-width: 960px) {
  html.js-tabs .tab {
    transition: width 600ms cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  html.js-tabs .tab.is-transitioning {
    will-change: width;
  }
}

/*
 * Mobile presentation: retain the five-tab identity, but turn the fixed
 * 930px desktop canvas into a readable single-column accordion.
 */
@media (max-width: 959px) {
  html,
  body {
    min-width: 0;
    background-color: #e6e6e6;
    font-size: 16px;
    text-align: left;
  }

  body {
    overflow-x: hidden;
  }

  #top {
    height: auto;
    padding: 16px 20px;
    box-sizing: border-box;
    background-color: #fff;
  }

  #top a {
    display: inline-block;
    max-width: 100%;
  }

  #top img {
    display: block;
    width: 100%;
    max-width: 411px;
    height: auto;
  }

  #container {
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-top: 0;
    background-color: #fff;
  }

  #container > .clear {
    display: none;
  }

  .tab,
  .tab-active,
  .tab-wrap {
    float: none;
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }

  .tab {
    overflow: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background-color: #fff;
  }

  a.menu-item {
    float: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    height: auto;
    padding: 14px 20px;
    box-sizing: border-box;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-decoration: none;
    text-transform: uppercase;
  }

  a.menu-item:hover,
  a.menu-item:focus,
  a.menu-item:active {
    color: #fff;
    text-decoration: none;
    filter: brightness(0.94);
  }

  a.menu-item:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
  }

  .tab-1 a.menu-item {
    background-color: rgb(161, 0, 5);
  }

  .tab-2 a.menu-item {
    background-color: rgb(180, 0, 6);
  }

  .tab-3 a.menu-item {
    background-color: rgb(202, 6, 13);
  }

  .tab-4 a.menu-item {
    background-color: rgb(218, 15, 23);
  }

  .tab-5 a.menu-item {
    background-color: rgb(237, 29, 37);
  }

  a.menu-item img {
    display: none;
  }

  .menu-label {
    display: inline;
  }

  a.menu-item::after {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-left: 16px;
    border-right: 2px solid currentcolor;
    border-bottom: 2px solid currentcolor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform 300ms ease;
  }

  .tab-active a.menu-item {
    box-shadow: inset 5px 0 0 rgba(255, 255, 255, 0.35);
    font-weight: 700;
  }

  .tab-active a.menu-item::after {
    transform: translateY(3px) rotate(225deg);
  }

  .tab-active.is-collapsed a.menu-item::after {
    transform: translateY(-3px) rotate(45deg);
  }

  .tab-content {
    float: none;
    display: none;
    width: auto;
    padding: 24px 20px 32px;
    box-sizing: border-box;
    background-color: #fff;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
  }

  .tab-active .tab-content {
    display: block;
  }

  .tab-active.is-collapsed .tab-content {
    display: none;
  }

  .tab-content h1 {
    margin: 0 0 16px;
    padding: 0;
    font-size: 25px;
    line-height: 1.25;
  }

  .tab-content h2 {
    margin: 22px 0 8px;
    padding: 0;
    font-size: 20px;
    line-height: 1.3;
  }

  .tab-content h3 {
    margin: 18px 0 6px;
    padding: 0;
    font-size: 17px;
  }

  .tab-content p,
  .tab-content address,
  .tab-content li {
    font-size: 16px;
    line-height: 1.6;
  }

  .tab-content p {
    margin-bottom: 16px;
  }

  .tab-content ul,
  .tab-content ol {
    margin-bottom: 18px;
  }

  .tab-content img.responsive-right-30,
  .tab-content img[class*="responsive-left-"] {
    float: none;
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 0 auto 22px;
  }

  .tab-content table.responsive {
    width: 100% !important;
    height: auto !important;
    table-layout: auto;
  }

  .tab-loader {
    top: 14px !important;
    right: 58px;
    left: auto !important;
  }

  #footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: auto;
    padding: 18px 20px 22px;
    box-sizing: border-box;
  }

  #fleft,
  #fright {
    float: none;
    width: auto;
  }

  #footer p {
    display: flex;
    margin: 0;
    padding: 0;
  }

  #fleft p {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
  }

  #fleft img,
  #fright img {
    flex: 0 0 auto;
    margin: 0;
  }

  #fright p {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .tab-content table.responsive,
  .tab-content table.responsive tbody,
  .tab-content table.responsive tr,
  .tab-content table.responsive td {
    display: block;
    width: 100% !important;
    height: auto !important;
  }

  .tab-content table.responsive td + td {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js-tabs .tab,
  a.menu-item::after {
    transition-duration: 1ms;
  }
}
