.clinic-language-slot {
  display: table-cell;
  width: 1px;
  vertical-align: middle;
}

.clinic-language {
  position: relative;
  display: block;
  flex: 0 0 auto;
  color: #403834;
  font: 400 16px/1.25 "Lora", Georgia, serif;
  text-align: start;
}

.clinic-language > summary,
.clinic-nav .clinic-language > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  box-sizing: border-box;
  border-radius: 5px;
  color: inherit;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

.clinic-language > summary::-webkit-details-marker { display: none; }
.clinic-language > summary:hover,
.clinic-language[open] > summary { background: rgb(73 57 45 / 7%); }
.clinic-language summary:focus-visible,
.clinic-language a:focus-visible { outline: 2px solid #634f40; outline-offset: -3px; }

.clinic-language > ul {
  position: absolute;
  z-index: 30;
  inset: calc(100% + 2px) 0 auto auto;
  box-sizing: border-box;
  width: max-content;
  min-width: 154px;
  padding: 5px;
  margin: 0;
  border: 1px solid #e0d9d3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 17px rgb(57 45 36 / 15%);
  list-style: none;
}

.clinic-language li { display: block; padding: 0; margin: 0; list-style: none; }
.clinic-language li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding: 0 11px;
  box-sizing: border-box;
  border-radius: 5px;
  color: #403834;
  font: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.clinic-language a:hover { background: #f6f3ef; }
.clinic-language a[aria-current="page"] { font-weight: 600; }
.clinic-language a[aria-current="page"]::after {
  content: "";
  width: 5px;
  height: 10px;
  margin: 0 3px 4px 1px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.clinic-brand-place { display: none; }

/* At intermediate widths, a compact home link leaves room for the main navigation. */
@media (max-width: 1099px) {
  .VLoccc .TlfmSc .QTKDff,
  .clinic-nav .identity > span:not(.clinic-brand-place) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .clinic-brand-place {
    display: inline-block;
    vertical-align: middle;
    font: 400 17px/1.2 "Lora", Georgia, serif;
    white-space: nowrap;
  }
  .GAuSPc .clinic-brand-place { margin-inline: 5px 10px; }
}
@media (max-width: 767px) {
  .clinic-brand-place { font-size: 15px; }
  .clinic-language { font-size: 14px; }
  .clinic-language > summary { padding-inline: 4px; }
}

/* The exported hero uses narrow columns even on some tablets. Size headings to those columns. */
.UtePc > section:first-child .tyJCtd:has(h1.duRjpb) { container-type: inline-size; }
@container (max-width: 850px) {
  .UtePc > section:first-child h1.duRjpb,
  .UtePc > section:first-child h1.duRjpb span {
    font-size: clamp(28px, 11.6cqi, 85px) !important;
    line-height: 1.12;
  }
  .UtePc > section:first-child h1.duRjpb[id="h.cfftampoppq6"],
  .UtePc > section:first-child h1.duRjpb[id="h.cfftampoppq6"] span {
    font-size: clamp(25px, 9.9cqi, 85px) !important;
  }
}
@media (max-width: 340px) and (max-height: 620px) and (orientation: portrait) {
  html:has(.clinic-choice-banner) .UtePc > section:first-child h1[id="h.o5vyl034x8kz"],
  html:has(.clinic-choice-banner) .UtePc > section:first-child h1[id="h.o5vyl034x8kz"] span {
    font-size: 30px !important;
  }
}

.clinic-provider-note {
  position: relative;
  max-width: 40rem;
  margin: .45rem auto .75rem;
  padding: 0 1.25rem;
  color: #554c42;
  font: 400 .9375rem/1.45 "Gentium Basic", Georgia, serif;
  text-align: center;
}

/* Keep the booking links and their explanation clear of the first-visit panel on tablets. */
@media (min-width: 768px) and (max-width: 1199px) {
  html:has(h1[id="h.o5vyl034x8kz"]) #clinic-cookie-choice.clinic-choice-banner {
    width: calc(35vw - 20px);
    padding: 14px 16px;
  }
  html:has(h1[id="h.o5vyl034x8kz"]) .clinic-choice-banner > div {
    display: flex;
    gap: 8px;
  }
  html:has(h1[id="h.o5vyl034x8kz"]) #clinic-cookie-choice.clinic-choice-banner button {
    flex: 1;
    min-height: 44px;
    min-width: 0;
    margin: 0;
    padding-inline: 4px;
  }
  html:has(.clinic-choice-banner) .UtePc:has(h1[id="h.o5vyl034x8kz"]) .clinic-provider-note {
    box-sizing: border-box;
    max-width: min(32vw, 350px);
  }
}
