.tsbc-global {
  --ink: #17232b;
  --accent: #a71e2b;
  --line: #dbe2e6;
  color: var(--ink);
  font: 400 1rem/1.62 "Helvetica Neue", Arial, sans-serif;
}
.tsbc-global *, .tsbc-global *::before, .tsbc-global *::after {
  box-sizing: border-box;
}
.tsbc-global .tsbh-inner {
  width: min(1240px, 100% - clamp(1.5rem, 7vw, 6rem));
  margin-inline: auto;
}
.tsbc-global :is(a, button):focus-visible {
  outline: 3px solid #d35965;
  outline-offset: 4px;
}
.tsbc-global .tsbh-mast {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.tsbc-global .tsbh-mast-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem 1.5rem;
  padding-block: .6rem;
}
.tsbc-global .tsbh-brand {
  display: block;
  flex: 0 0 auto;
}
.tsbc-global .tsbh-brand img {
  display: block;
  width: 145px;
  height: auto;
  aspect-ratio: 245/137;
  object-fit: contain;
}
.tsbc-global .tsbh-menu-toggle[hidden],
.tsbc-global .tsbh-menu[hidden] {
  display: none !important;
}
.tsbc-global .tsbh-menu-toggle {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.tsbc-global .tsbh-menu-toggle[aria-expanded="true"] {
  background: #f3f6f7;
  border-color: #9baab2;
}
.tsbc-global .tsbh-menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 0 -6px currentColor, 0 6px currentColor;
}
.tsbc-global .tsbh-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .4rem clamp(.55rem, 2vw, 1.55rem);
  flex-wrap: wrap;
}
.tsbc-global .tsbh-menu a {
  color: var(--ink);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  padding-block: .45rem;
}
.tsbc-global .tsbh-menu a:hover {
  text-decoration: underline;
}
.tsbc-global .tsbh-menu .tsbh-btn {
  color: #fff;
  background: var(--accent);
  border-radius: 7px;
  padding: .55rem .85rem;
  line-height: 1.35;
}
.tsbc-global .tsbh-menu .tsbh-btn:hover {
  background: #861622;
}
.tsbc-global .tsbh-footer {
  padding: clamp(1.6rem, 4vw, 3rem) 0 1.1rem;
  background: #111b22;
  color: #e5ecef;
  border-top: 3px solid #bd2636;
}
.tsbc-global .tsbh-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 1.35rem clamp(.95rem, 3vw, 2.5rem);
}
.tsbc-global .tsbh-footer h2,
.tsbc-global .tsbh-footer h3 {
  color: #fff;
  line-height: 1.25;
  margin: 0 0 .65rem;
  letter-spacing: -.026em;
  text-transform: none;
}
.tsbc-global .tsbh-footer h2 { font-size: 1.3rem; }
.tsbc-global .tsbh-footer h3 { font-size: 1.02rem; }
.tsbc-global .tsbh-footer p {
  color: #c4d1d8;
  max-width: 36ch;
  margin: 0;
  line-height: 1.6;
}
.tsbc-global .tsbh-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tsbc-global .tsbh-footer li { margin: .32rem 0; }
.tsbc-global .tsbh-footer a {
  color: #e5ecef;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.tsbc-global .tsbh-footer a:hover { color: #ffbdc4; }
.tsbc-global .tsbh-footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  border-top: 1px solid #3a4b55;
  margin-top: 1.4rem;
  padding-top: .9rem;
  color: #c4d1d8;
  font-size: .88rem;
}
@media (max-width: 820px) {
  .tsbc-global .tsbh-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 740px) {
  .tsbc-global .tsbh-mast-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .tsbc-global .tsbh-brand { justify-self: start; }
  .tsbc-global .tsbh-menu-toggle { grid-column: 2; }
  .tsbc-global .tsbh-menu {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-block: .3rem;
  }
  .tsbc-global .tsbh-menu a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding-inline: .5rem;
  }
  .tsbc-global .tsbh-menu .tsbh-btn {
    align-self: flex-start;
    margin-top: .25rem;
  }
  .tsbc-global .tsbh-brand img { width: 120px; }
}
@media (max-width: 460px) {
  .tsbc-global .tsbh-footer-main { grid-template-columns: minmax(0, 1fr); }
}

body.theswissbox-shared-layout #masthead,
body.theswissbox-shared-layout #colophon,
body.theswissbox-shared-layout .entry-content .tsbh > :is(.tsbh-mast, .tsbh-footer) {
  display: none !important;
}
body.home.theswissbox-shared-layout #primary,
body.home.theswissbox-shared-layout .tsbh {
  margin-bottom: 0;
}
