.mobile-tab-toggle {
  display: none;
}

@media (max-width: 767.98px) {
  .dip-tabs .nav-tabs {
    display: none;
  }

  .dip-tabs .tab-content {
    border-top: 1px solid #C5D0E1;
  }

  .dip-tabs .mobile-tab-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 0.9rem;
    background: #F2F3F7;
    border: 0;
    border-bottom: 1px solid #C5D0E1;
    color: #212133;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .dip-tabs .mobile-tab-toggle::before {
    content: "";
    flex: 0 0 10px;
    width: 10px;
    height: 16px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3e%3cpath fill='none' stroke='%23212133' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 2l6 6-6 6'/%3e%3c/svg%3e") center / contain no-repeat;
    transition: transform 0.2s;
  }

  .dip-tabs .mobile-tab-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
  }

  .dip-tabs .mobile-tab-toggle:focus-visible {
    outline: 2px solid #212133;
    outline-offset: -2px;
  }

  .dip-tabs .tab-content > .tab-pane {
    display: none !important;
    opacity: 1 !important;
  }

  .dip-tabs .tab-content > .tab-pane.is-open {
    display: block !important;
    padding: 1.25rem 0.6rem;
    color: #212133;
    background: #fff;
  }
}
