/* Client requested adjustments: homepage hero, policy icons and page copy. */

/* Homepage hero: keep the tags together and make the booklet action a compact pill. */
.bnr-hero-actions .bnr-booklet-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  border-radius: 999px;
}

.bnr-booklet-arrow {
  display: inline-block;
  color: #005042;
  font-weight: 700;
  line-height: 1;
}

.bnr-see-all,
.bnr-readmore a {
  white-space: nowrap;
}

/* Make copy sizing consistent in the specifically identified sections. */
.mainContent p.br-aboutus-copy {
  color: #333 !important;
}

.mainContent p.br-capacity-intro-copy {
  font-size: 1rem !important;
}
.mainContent p.br-contactus-line_01 {
  font-size: 1rem !important;
  line-height: 1.35 !important;
}
.mainContent p.br-contactus-line {
  font-size: 1rem !important;
  line-height: 1.35 !important;
}

/* These six key-area images must remain visible on narrow screens. */
.br-plan-infographic .br-plan-icon .br-plan-icon-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  /* Give the HKSAR emblem and accompanying office mark more room on mobile. */
  body.bnr-index-page .headerTool .myLogo img,
  body.tc-home-page .headerTool .myLogo img {
    max-height: 48px !important;
    height: auto !important;
  }

  body.bnr-index-page .headerTool .myLogo .logo_1 img,
  body.tc-home-page .headerTool .myLogo .logo_1 img,
  body.bnr-index-page .headerTool .myLogo .logo_2 .myflex > div:first-child img,
  body.tc-home-page .headerTool .myLogo .logo_2 .myflex > div:first-child img {
    width: min(20vw, 60px) !important;
    max-width: 60px !important;
  }

  .bnr-home .bnr-hero-content .bnr-tags {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: left;
    gap: 6px;
    max-width: 100%;
  }

  .bnr-home .bnr-hero-content .bnr-tags .bnr-tag {
    flex: 0 1 auto;
    min-width: 0;
    padding: 4px 6px;
    font-size: clamp(10px, 3.1vw, 13px);
    line-height: 1.2;
    white-space: nowrap;
  }

  .bnr-home .bnr-hero-content .bnr-hero-title {
    font-size: clamp(21px, 6vw, 26px) !important;
    line-height: 1.16 !important;
  }

  .bnr-home .bnr-hero-actions {
    display: flex;
    justify-content: flex-start;
  }

  .bnr-home .bnr-hero-actions .bnr-booklet-link {
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
    padding: 8px 12px;
    font-size: 15px!important;
    line-height: 1.2;
    white-space: nowrap;
  }

  .bnr-home .bnr-see-all,
  .bnr-home .bnr-readmore a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
  }
}
