.ching-long-hours-notice[hidden] {
  display: none !important;
}

.ching-long-hours-note {
  display: block;
  margin-block-start: .35em;
  color: #8a263d;
  font-weight: 700;
}

.opening-banner-v457 .ching-long-banner-notice {
  margin: 0 auto;
  padding: 0 1rem .4rem;
  color: inherit;
  text-align: center;
  font-size: clamp(.875rem, 2.8vw, 1rem);
  font-weight: 700;
  line-height: 1.3;
}

html body main#main .pageview[data-page="home"] .brand-location-card .home-address a {
  font-weight: 750;
}

html body main#main .pageview[data-page="home"] .ching-long-location [data-ching-long-service-status] {
  font-size: clamp(1rem, 2.3vw, 1.15rem);
  line-height: 1.3;
}

html body main#main.site-page-container .pageview[data-page="home"] :is(.ching-long-location, .denovo-location) .clinic-card-actions > a.clinic-card-booking {
  font-size: clamp(1.25rem, 3.4vw, 1.5rem) !important;
  font-weight: 750;
  line-height: 1.2;
}

html body main#main .pageview[data-page="home"] .brand-location-card .home-detail-contacts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .4rem;
}

html body main#main .pageview[data-page="home"] .brand-location-card .home-detail-contacts .home-detail-directions {
  grid-column: 1 / -1;
}

html body main#main .pageview[data-page="home"] .brand-location-card .home-detail-contacts :is(.site-phone-icon, .wa-number-button) {
  flex-direction: column;
  gap: .15rem;
  min-height: 64px;
  line-height: 1.2;
}

html body main#main .pageview[data-page="home"] .brand-location-card .home-detail-contacts :is(.site-contact-number, .wa-number-label) {
  display: grid !important;
  justify-items: center;
  min-inline-size: 0;
  max-inline-size: 100%;
  gap: .12rem;
  white-space: normal !important;
  line-height: 1.2;
}

html body main#main .pageview[data-page="home"] .home-detail-contacts .contact-action-label {
  display: inline !important;
  font-size: clamp(1rem, 4.2vw, 1.2rem) !important;
}

html body main#main .pageview[data-page="home"] .home-detail-contacts .contact-number-unbroken {
  font-size: clamp(1rem, 4.75vw, 1.35rem) !important;
  white-space: nowrap;
}

.home-name-card-full {
  display: inline-block;
  margin-block: .25rem;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.home-step-free-note {
  grid-column: 1 / -1;
  text-align: center;
}

/* Keep De Novo directions immediately above the phone and WhatsApp buttons. */
html body main#main #select-de-novo .unified-branch-contacts.home-detail-contacts {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html body main#main #select-de-novo .home-detail-contacts > a.home-detail-directions {
  grid-column: 1 / -1 !important;
  flex-wrap: wrap !important;
  white-space: normal !important;
}

html body main#main #select-de-novo .home-detail-directions .clinic-directions-note {
  white-space: nowrap;
  font-size: .83em;
}

html body main#main #select-de-novo .home-address .denovo-address-emphasis,
html body main#main #getting-here .denovo-address-emphasis {
  font-weight: 750 !important;
}

main#main #home-de-novo-hours .home-hours-specialty-links > a {
  min-block-size: 44px;
  padding: .3rem .18rem;
  gap: .15rem;
  border: 1px solid #d6e4ec;
  border-radius: .5rem;
  background: #fff;
  font-size: clamp(.65rem, 2.65vw, .82rem);
  line-height: 1.2;
}

main#main #home-de-novo-hours .home-hours-specialty-links > a[href] .home-hours-specialty-label {
  align-items: center;
  gap: .16rem;
}

main#main #home-de-novo-hours .home-hours-specialty-links .home-hours-specialty-label > span {
  overflow-wrap: normal;
}

main#main #home-de-novo-hours .home-hours-specialty-links .home-hours-specialty-icon {
  flex: 0 0 .66rem;
  inline-size: .66rem;
  block-size: .66rem;
}

main#main #home-de-novo-hours .home-hours-specialty-links .physiotherapist-label .home-hours-specialty-label {
  font-size: .95em;
}

main#main #home-de-novo-hours .home-hours-specialty-links [data-home-compact-status]:not([hidden]) {
  font-size: clamp(.65rem, 2.6vw, .76rem);
  line-height: 1.15;
  white-space: nowrap;
  overflow-wrap: normal;
}

main#main #home-de-novo-hours .home-hours-specialty-links > a > [data-home-compact-status]:not([hidden]) {
  margin-block-start: auto;
  align-items: center;
  gap: .24rem;
  color: #962c40;
}

main#main #home-de-novo-hours .home-hours-specialty-links [data-home-compact-status][data-open="true"] {
  color: #176441;
}

main#main #home-de-novo-hours .home-hours-specialty-links [data-home-compact-status]::before {
  content: "";
  display: block;
  flex: 0 0 .56rem;
  inline-size: .56rem;
  min-inline-size: .56rem;
  block-size: .56rem;
  border-radius: 50%;
  background: #b23b49 !important;
}

main#main #home-de-novo-hours .home-hours-specialty-links [data-home-compact-status][data-open="true"]::before {
  background: #187447 !important;
}

main#main #home-de-novo-hours .home-compact-specialty-mobile {
  display: none;
}

@media (max-width: 500px) {
  main#main #home-de-novo-hours .home-hours-specialty-links .home-hours-specialty-label .home-compact-specialty-desktop {
    display: none;
  }

  main#main #home-de-novo-hours .home-hours-specialty-links .home-hours-specialty-label .home-compact-specialty-mobile {
    display: inline;
  }
}

html body main#main .pageview[data-page="home"] .brand-location-card .home-detail-contacts > :is(.site-phone-icon, .wa-number-button) {
  padding-inline: .15rem !important;
  min-inline-size: 0;
  text-align: center;
}

html body main#main .pageview[data-page="home"] .brand-location-card .home-detail-contacts > :is(.site-phone-icon, .wa-number-button) > svg {
  inline-size: 1rem;
  block-size: 1rem;
}

header .wrap.nav > a.brand .brand-name-text > .brand-name-zh {
  font-size: 25px !important;
}

:is(html[data-site-language="en"], html[lang|="en"]:not([data-site-language="zh"]))
  header .wrap.nav > a.brand .brand-name-text > .brand-name-en {
  font-size: 16px !important;
}

html body header .wrap.nav.mobile-header-ready > a.brand .brand-name-text > :is(.brand-name-en, .brand-name-zh) {
  font-size: clamp(.875rem, 3.35vw, 1rem) !important;
  line-height: 1.12 !important;
  overflow-wrap: normal;
}

main#main .home-team-section :is(.home-current-clinic-highlight, .home-new-clinic-highlight) {
  --team-corner-photo-size: clamp(2.5rem, 10vw, 3.5rem);
  position: relative;
}

main#main .home-team-section .home-team-corner-photo {
  display: block;
  inline-size: var(--team-corner-photo-size);
  block-size: var(--team-corner-photo-size);
  border-radius: .55rem;
  overflow: hidden;
}

main#main .home-team-section .home-team-corner-photo img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center 25%;
}

main#main .home-team-section .home-team-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--team-corner-photo-size);
  align-items: start;
  column-gap: .5rem;
}

main#main .home-team-section .home-team-card-header > div {
  min-inline-size: 0;
}

main#main .home-team-section .home-team-card-header .home-team-button {
  max-inline-size: 100%;
  white-space: normal;
}

main#main .pageview[data-page="home"] :is(#select-ching-long, #select-de-novo) .home-gallery-thumbnails {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .22rem;
}

main#main .pageview[data-page="home"] :is(#select-ching-long, #select-de-novo) .home-gallery-thumbnails > a > img {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 1;
  height: auto;
  max-block-size: none;
}

main#main .pageview[data-page="home"] :is(#select-ching-long, #select-de-novo) .home-gallery-thumbnails > a:first-child > img {
  object-fit: cover;
}

main#main .home-team-section .home-team-intro-grid > .home-new-clinic-highlight {
  align-self: start !important;
  height: auto;
}

main#main .home-team-section .home-new-clinic-highlight .home-doctor-photo-profile {
  margin-block: .25rem;
}

main#main .home-team-section .home-new-clinic-highlight .family-doctor-profiles {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: .35rem;
  margin-block: .25rem 0;
}

main#main .home-team-section .home-new-clinic-highlight :is(.home-doctor-photo-intro, .doctor-list-intro) {
  margin-block: .15rem 0;
  line-height: 1.3;
}

main#main .home-team-section .home-new-clinic-highlight .doctor-list-profile-link {
  white-space: normal;
}

main#main .home-team-section .home-new-clinic-highlight {
  --team-corner-photo-size: clamp(2rem, 8vw, 2.75rem);
}

main#main .home-team-section .home-team-mini-cards {
  display: grid;
  gap: .25rem;
  margin-block-start: .35rem;
}

main#main .home-team-section .home-team-mini-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .42rem;
  min-block-size: 44px;
  padding: .25rem .4rem;
  border: 1px solid #d6e4ec;
  border-radius: .4rem;
  background: #fff;
  text-align: start;
  line-height: 1.2;
}

main#main .home-team-section .home-team-mini-card p {
  margin: .12rem 0 0;
  font-size: .875rem;
  line-height: 1.25;
}

main#main .home-team-section .home-team-mini-card > img {
  inline-size: 1.75rem;
  block-size: auto;
  max-block-size: 2.45rem;
  object-fit: contain;
}

main#main .home-team-section .home-team-mini-card > img[hidden] {
  display: none !important;
}

main#main .home-team-section .home-team-mini-card {
  column-gap: .42rem;
  row-gap: .05rem;
}

main#main .home-team-section .home-team-mini-card > .doctor-list-profile-link {
  grid-column: 1;
  justify-self: start;
  white-space: normal;
}

main#main .home-team-section .home-team-mini-card > .doctor-list-intro {
  grid-column: 1;
  grid-row: 2;
}

main#main .home-team-section .home-team-mini-card > img {
  grid-column: 2;
  grid-row: 1 / span 2;
}

main#main .home-team-section .home-team-mini-card:has(> img:not([hidden])) > .doctor-list-profile-link {
  min-height: 0;
  padding: .1rem 0 !important;
  border: 0 !important;
  background: transparent !important;
}

main#main .home-team-section .home-team-mini-card:has(> img[hidden]) {
  min-block-size: 0;
  padding: .18rem 0;
  border: 0;
  background: transparent;
}

main#main .team-chan-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .5rem;
  margin-block-end: .25rem;
}

main#main .team-chan-heading h3 {
  margin: .2rem 0 0;
}

main#main .team-chan-heading > .doctor-card-portrait {
  display: block;
  position: static;
  inline-size: clamp(3.25rem, 8vw, 3.5rem);
  block-size: clamp(3.25rem, 8vw, 3.5rem);
  margin: 0;
  border-radius: .45rem;
  object-fit: cover;
  object-position: center 25%;
}
