:root {
  --color-1: var(--color-4);
  --color-2: hsl(153, 37%, 55%);
  --color-3: #581150;
  --color-4: hsl(82, 44%, 95%);
  --page-width: 1920px;
  --border-width: 1px;
  --gap-large: 60px;
  --gap: 30px;
  --gap-medium: 20px;
  --gap-small: 15px;
  --gap-tiny: 5px;
  --ff-1: Roboto, sans-serif;
  --fs-1: 1.175rem;
  --fs-2: 1.5rem;
  --fs-4: 1.75rem;
  --fs-small: 1rem;
  --logo-width: 230px;
  --scrollPadding: 125px;
}
@media (min-width: 1024px) {
  :root {
    --fs-1: 1.3rem;
    --fs-4: 2.1rem;
    --logo-width: 200px;
  }
}

:root[data-site=sb] {
  --color-1: var(--color-4);
  --color-2: #cba738;
  --color-3: #123c80;
  --color-4: #FFFFFF;
  --logo-width: 200px;
}
@media (min-width: 1024px) {
  :root[data-site=sb] {
    --logo-width: 190px;
  }
}

/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/roboto-v47-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/roboto-v47-latin-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/roboto-v47-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/roboto-v47-latin-700italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* Reset */
* {
  box-sizing: content-box;
}

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-weight: 400;
}

/**
 * Firefox specific rule
 */
@-moz-document url-prefix() {
  body {
    font-weight: lighter !important;
  }
}
body {
  margin: 0;
  font-family: Arial;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

a {
  text-decoration: none;
  color: black;
}
a:active, a:focus, a:visited {
  color: black;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

ul, li {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  /* inherit font & color from ancestor */
  color: inherit;
  font: inherit;
  /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
  line-height: normal;
  /* Corrects font smoothing for webkit */
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  /* Corrects inability to style clickable `input` types in iOS */
  -webkit-appearance: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding: var(--scrollPadding);
}

body {
  font-family: var(--ff-1);
  font-size: var(--fs-1);
  line-height: 1.3;
  background-color: var(--color-3);
  color: var(--color-1);
  transition: all 300ms ease-in-out;
}
body:has(.menu--open) {
  overflow: hidden;
}
body.inverted {
  background-color: var(--color-4);
  color: var(--color-3);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-2);
}

a, a:visited, a:hover, a:active {
  color: inherit;
  text-decoration-thickness: 1px;
}

u {
  text-decoration-thickness: 1px;
}

strong {
  font-weight: 600;
}

mark {
  background-color: transparent;
  color: var(--color-2);
}

figure {
  margin: 0;
}

button {
  cursor: pointer;
}

.image {
  width: 100%;
  height: auto;
}

.typography a {
  text-decoration: underline;
}
.typography p {
  margin-bottom: 1rem;
}
.typography p:last-child {
  margin-bottom: 0;
}
.typography ul {
  margin-bottom: 1rem;
  padding-left: 1em;
}
.typography ul:last-child {
  margin-bottom: 0;
}
.typography li {
  list-style: disc outside;
}
.typography .small {
  font-size: var(--fs-small);
}

.menu {
  display: flex;
  gap: var(--gap);
}
.menu__overlay {
  display: flex;
  gap: 1rem;
  width: 100%;
  display: none;
}
@media (min-width: 1024px) {
  .menu__overlay {
    display: flex;
  }
}
.menu__buttons {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.menu__buttons .c + .c {
  margin-top: 0;
}
.menu__buttons--main {
  align-items: center;
  justify-content: space-between;
  margin-bottom: calc(var(--gap));
  position: sticky;
  top: 0;
  padding-top: var(--gap-small);
  padding-bottom: var(--gap-small);
  gap: 0.5rem;
  background-color: var(--color-3);
  z-index: 500;
  flex-direction: row;
}
@media (min-width: 1024px) {
  .menu__buttons--main {
    background-color: transparent;
  }
}
.menu__buttons--main:before {
  content: "";
  display: block;
  position: absolute;
  background-color: var(--color-3);
  width: 100vw;
  z-index: -1;
  left: -15px;
  top: 0;
  height: 100%;
}
@media (min-width: 1024px) {
  .menu__buttons--main:before {
    display: none;
  }
}
.menu__buttons--main .c--button .button {
  font-size: var(--fs-2);
  padding: 0.35rem 0.8rem;
}
@media (min-width: 1024px) {
  .menu__buttons--main {
    flex-direction: column;
    position: static;
    top: auto;
    margin-bottom: calc(2 * var(--gap));
  }
  .menu__buttons--main .c--button .button {
    font-size: var(--fs-1);
  }
}
.menu__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  cursor: pointer;
  z-index: 9999;
  position: fixed;
  top: 1.5rem;
  right: var(--gap-small);
}
.menu__toggle svg path {
  stroke: var(--color-2);
}
.menu__toggle .burger__close {
  display: none;
}
.menu__toggle--open .burger__open {
  display: none;
}
.menu__toggle--open .burger__close {
  display: block;
}
@media (min-width: 1024px) {
  .menu__toggle {
    display: none;
  }
}
@media (min-width: 1024px) {
  .menu__nav {
    margin-left: auto;
    margin-right: 0;
  }
  .header--is-pinned .menu__nav {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
}
.menu__nav--footer {
  display: flex;
  gap: 1rem;
  max-width: var(--page-width);
  width: 100%;
  margin-inline: auto;
}
.menu--open {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .menu--open {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    background-color: none;
    display: block;
  }
}
.menu--open .menu__overlay {
  display: flex;
  padding: 2rem;
  box-sizing: border-box;
}
.menu--open .menu__buttons {
  display: none;
}
.menu--open .menu__nav {
  font-size: var(--fs-4);
}
@media (min-width: 1024px) {
  .menu--open .menu__nav {
    font-size: var(--fs-1);
  }
}
.menu__item {
  color: var(--color-2);
}
.menu__item--is-active {
  font-weight: 600;
}

.header {
  padding: var(--gap);
  display: grid;
  grid: auto/1fr;
  position: absolute;
  box-sizing: border-box;
  top: 0;
  right: 0;
  z-index: 600;
}
@media (min-width: 1920px) {
  .header {
    right: calc(50% - var(--page-width) / 2);
  }
}
.header__menu {
  pointer-events: all;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
}
.header .menu__buttons {
  display: none;
}
@media (min-width: 1024px) {
  .header--fixed {
    position: fixed;
    width: 100%;
    right: auto;
    transform: translateY(-100%);
    background-color: var(--color-3);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.4);
  }
  .header--fixed .menu__buttons {
    display: flex;
    flex-direction: row;
  }
  .header--is-pinned {
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
  }
}

.site-title {
  font-size: var(--fs-4);
  line-height: 1.2;
  margin-bottom: calc(2 * var(--gap));
  grid-column: 1;
  grid-row: 2;
}
.inverted .site-title a {
  color: var(--color-3);
}

.site-logo {
  display: block;
  transition: padding-top 0.3s ease-in-out;
  margin-bottom: 3rem;
}
body:has(.header--fixed) .site-logo {
  padding-top: 6rem;
}
.site-logo .image {
  width: var(--logo-width);
  height: auto;
}
.site-logo .logo .invert {
  fill: #fff;
}
.inverted .site-logo .logo--sb .invert {
  fill: var(--color-3);
}
.inverted .site-logo .logo--ws .invert {
  fill: var(--color-3);
}

.c--table {
  border-spacing: 0;
}
.c--table td:first-child {
  padding-right: 1.5rem;
}

.c--headline {
  display: flex;
}
.c--headline:has(.c--headline__icon--right) {
  flex-direction: row;
}
.c--headline:has(.c--headline__icon--right) .c--headline__icon {
  order: 1;
  transform: translate(0.6em, -0.8em);
}
.c--headline:has(.c--headline__icon--top) {
  flex-direction: column;
}

.c--text {
  word-break: break-word;
}

.c--image figcaption {
  font-size: var(--fs-small);
}

.c--button .button {
  color: var(--color-2);
  border: var(--border-width) solid var(--color-2);
  border-radius: 1rem;
  padding: 0.35rem 0.8rem;
  display: inline-block;
  cursor: pointer;
}
.c--button .button:hover, .c--button .button--active {
  color: var(--color-3);
  border: var(--border-width) solid var(--color-2);
  background-color: var(--color-2);
}

.c--iframe .content-lock {
  background-color: var(--color-3);
  padding: var(--gap);
  height: 50vh;
  color: var(--color-1);
}

.card {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
}
.card__body {
  padding-top: calc(0.5 * var(--gap-small));
  flex: 1;
}
.card__image {
  flex: 0 1 6rem;
}
@media (min-width: 1024px) {
  .card__image {
    flex: 0 1 8rem;
  }
}
.card__image .image {
  border-radius: 100%;
  aspect-ratio: 1;
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.c--card + .c--card {
  margin-top: calc(1 * var(--gap));
}

.footer {
  padding: var(--gap);
  background-color: var(--color-3);
}
@media (min-width: var(--page-width)) {
  .footer {
    padding: var(--gap) 0;
  }
}
@media (min-width: 1024px) {
  .footer {
    margin-top: calc(4 * var(--gap));
  }
}
.footer .inner {
  max-width: var(--page-width);
  margin: 0 auto;
}

.menu {
  display: flex;
  gap: var(--gap);
}
.menu__overlay {
  display: flex;
  gap: 1rem;
  width: 100%;
  display: none;
}
@media (min-width: 1024px) {
  .menu__overlay {
    display: flex;
  }
}
.menu__buttons {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.menu__buttons .c + .c {
  margin-top: 0;
}
.menu__buttons--main {
  align-items: center;
  justify-content: space-between;
  margin-bottom: calc(var(--gap));
  position: sticky;
  top: 0;
  padding-top: var(--gap-small);
  padding-bottom: var(--gap-small);
  gap: 0.5rem;
  background-color: var(--color-3);
  z-index: 500;
  flex-direction: row;
}
@media (min-width: 1024px) {
  .menu__buttons--main {
    background-color: transparent;
  }
}
.menu__buttons--main:before {
  content: "";
  display: block;
  position: absolute;
  background-color: var(--color-3);
  width: 100vw;
  z-index: -1;
  left: -15px;
  top: 0;
  height: 100%;
}
@media (min-width: 1024px) {
  .menu__buttons--main:before {
    display: none;
  }
}
.menu__buttons--main .c--button .button {
  font-size: var(--fs-2);
  padding: 0.35rem 0.8rem;
}
@media (min-width: 1024px) {
  .menu__buttons--main {
    flex-direction: column;
    position: static;
    top: auto;
    margin-bottom: calc(2 * var(--gap));
  }
  .menu__buttons--main .c--button .button {
    font-size: var(--fs-1);
  }
}
.menu__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  cursor: pointer;
  z-index: 9999;
  position: fixed;
  top: 1.5rem;
  right: var(--gap-small);
}
.menu__toggle svg path {
  stroke: var(--color-2);
}
.menu__toggle .burger__close {
  display: none;
}
.menu__toggle--open .burger__open {
  display: none;
}
.menu__toggle--open .burger__close {
  display: block;
}
@media (min-width: 1024px) {
  .menu__toggle {
    display: none;
  }
}
@media (min-width: 1024px) {
  .menu__nav {
    margin-left: auto;
    margin-right: 0;
  }
  .header--is-pinned .menu__nav {
    display: flex;
    gap: 1rem;
    align-items: center;
  }
}
.menu__nav--footer {
  display: flex;
  gap: 1rem;
  max-width: var(--page-width);
  width: 100%;
  margin-inline: auto;
}
.menu--open {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .menu--open {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    background-color: none;
    display: block;
  }
}
.menu--open .menu__overlay {
  display: flex;
  padding: 2rem;
  box-sizing: border-box;
}
.menu--open .menu__buttons {
  display: none;
}
.menu--open .menu__nav {
  font-size: var(--fs-4);
}
@media (min-width: 1024px) {
  .menu--open .menu__nav {
    font-size: var(--fs-1);
  }
}
.menu__item {
  color: var(--color-2);
}
.menu__item--is-active {
  font-weight: 600;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup--hidden {
  display: none;
}

.popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-3);
  opacity: 0.5;
  z-index: 1000;
}

.popup__container {
  background-color: var(--color-1);
  padding: var(--gap);
  z-index: 1001;
  max-width: 640px;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--gap-small);
}

.popup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup__text {
  color: var(--color-3);
}

.popup__close {
  padding: var(--gap-tiny);
}
.popup__close svg {
  height: 20px;
  width: 20px;
}
.popup__close svg line {
  stroke: var(--color-2);
}

.c--accordion__item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5em 0 0.5em 0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: color 0.3s ease-in-out;
  border: none;
  text-align: left;
  border-bottom: 1px solid white;
}
.inverted .c--accordion__item__header {
  border-bottom: 1px solid var(--color-3);
}
.c--accordion__item__header[aria-expanded=true] {
  border-bottom: 1px solid transparent;
}
.c--accordion__item__header[aria-expanded=true] .c--accordion__item__title {
  color: var(--color-2);
}
.c--accordion__item__header[aria-expanded=true] .c--accordion__item__button__icon {
  transform: rotate(0deg);
}

.c--accordion__item:first-child .c--accordion__item__header {
  border-top: 3px solid white;
}
.inverted .c--accordion__item:first-child .c--accordion__item__header {
  border-top: 3px solid var(--color-3);
}

.c--accordion__item__title {
  font-size: var(--fs-2);
  color: white;
  transition: color 0.3s ease-in-out;
  margin-bottom: 0;
}
.inverted .c--accordion__item__title {
  color: var(--color-3);
}

.c--accordion__item__button__icon {
  width: 35px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
  transform: rotate(180deg);
}
.c--accordion__item__button__icon path {
  stroke: var(--color-2);
}

.c--accordion__item__content {
  padding: var(--gap-small) 0;
  display: flex;
  gap: var(--gap);
  flex-direction: column;
}
@media (min-width: 1024px) {
  .c--accordion__item__content {
    flex-direction: row;
  }
}

.c--accordion__item__content__text {
  width: 100%;
  font-size: var(--fs-small);
}
.c--accordion__item__content__text h4 {
  font-size: var(--fs-2);
}

.c--accordion__item__content__image {
  width: 100%;
}
.c--accordion__item__content__image .c--image .image {
  max-width: none;
  max-width: 100%;
}

.c--accordion__item:has(.c--accordion__item__header[aria-expanded=true]) .c--accordion__item__content {
  border-bottom: 3px solid var(--color-2);
}

@media (min-width: 1024px) {
  .c--accordion__item__content__text {
    flex: 1 1 50%;
  }
  .c--accordion__item__content__text:not(:has(+ .c--accordion__item__content__image)) {
    max-width: 75%;
  }
  .c--accordion__item__content__image {
    flex: 1 1 50%;
  }
}
@media (max-width: 1024px) {
  .page-body:not(.page-body--self) .c--accordion__item__title {
    color: var(--color-3);
  }
  .page-body:not(.page-body--self) .c--accordion__item__header[aria-expanded=true] {
    border-bottom: 1px solid transparent;
  }
  .page-body:not(.page-body--self) .c--accordion__item__header[aria-expanded=true] .c--accordion__item__title {
    color: var(--color-2);
  }
  .page-body:not(.page-body--self) .c--accordion__item__header {
    border-bottom: 1px solid var(--color-3);
  }
  .page-body:not(.page-body--self) .c--accordion__item:first-child .c--accordion__item__header {
    border-top: 3px solid var(--color-3);
  }
}
.c--team__people {
  display: grid;
  grid-template: auto/1fr 1fr;
  width: 100%;
  gap: var(--gap-medium);
}
@media (min-width: 1024px) {
  .c--team__people {
    grid-template: auto/repeat(4, 1fr);
  }
}

.c--person {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.c--person__role {
  color: var(--color-2);
}

.c--person--doctor .c--person__role {
  color: white;
  order: 1;
  font-size: var(--fs-2);
}
@media (max-width: 1024px) {
  .c--person--doctor .c--person__role {
    color: var(--color-3);
  }
}
.c--person--doctor .c--person__name {
  order: 2;
  font-size: var(--fs-2);
  color: var(--color-3);
}
.c--person--doctor .c--person__image {
  margin-bottom: var(--gap-small);
  order: 3;
  width: 50%;
  margin-top: var(--gap-small);
}
.c--person--doctor .c--person__description {
  font-size: var(--fs-small);
  order: 4;
}
.c--person--doctor .c--person__description h4 {
  font-size: var(--fs-2);
}

.c--person--team {
  font-size: var(--fs-small);
}
.c--person--team .c--person__name {
  font-size: var(--fs-small);
}
.c--person--team .c--person__image {
  margin-bottom: var(--gap-small);
}

body.inverted .c--person__name {
  color: var(--color-3);
}
body.inverted .c--person--doctor .c--person__role,
body.inverted .c--person--doctor .c--person__name {
  color: var(--color-3);
}

.c--doctors__image {
  margin-bottom: var(--gap);
  max-width: 100%;
}
@media (min-width: 1024px) {
  .c--doctors__image {
    max-width: 60%;
  }
}

.c--doctors__line {
  margin: calc(var(--gap) * 2) auto;
  display: block;
}
.c--doctors__line path {
  stroke: var(--color-2);
}

.c--doctors__people {
  display: grid;
  grid-template: auto/1fr;
  width: 100%;
  gap: var(--gap-large);
}
@media (min-width: 1024px) {
  .c--doctors__people {
    grid-template: auto/repeat(2, 1fr);
  }
}

.main {
  max-width: var(--page-width);
  margin: 0 auto;
  margin-top: var(--gap);
  padding: 0 var(--gap-small);
  display: grid;
  grid: auto/1fr;
}
@media (min-width: 1024px) {
  .main {
    padding: 0 var(--gap);
  }
}
.main > * + * {
  margin-top: calc(2 * var(--gap));
}
@media (min-width: 1024px) {
  .main {
    grid: auto/1fr 2fr;
  }
  .main > * + * {
    margin-top: 0;
  }
}
@media (min-width: var(--page-width)) {
  .main {
    padding: 0;
  }
}

.sticky {
  position: sticky;
  top: var(--gap);
}

.site-contact .c + .c {
  margin-top: 0;
}

.page-body > * + * {
  margin-top: 1rem;
}
.page-body > .c--text,
.page-body > .c--websitetitle,
.page-body > .c--headline {
  max-width: 90%;
}
.page-body > .c--image {
  max-width: 100%;
}
@media (max-width: 1024px) {
  .page-body {
    margin: 0 calc(-1 * var(--gap-small)) 0 calc(-1 * var(--gap-small));
    padding: calc(2 * var(--gap-small)) var(--gap-small) var(--gap-small) var(--gap-small);
  }
  .page-body:not(.page-body--self) {
    background-color: var(--color-4);
    color: var(--color-3);
  }
  .page-body--self {
    margin-bottom: var(--gap);
  }
}
@media (min-width: 1024px) {
  .page-body {
    margin-top: 10.5rem;
  }
  .page-body > .c--text,
  .page-body > .c--websitetitle,
  .page-body > .c--headline {
    max-width: 75%;
  }
  .page-body > .c--image {
    max-width: 60%;
  }
}
