/* Shared hierarchy for the banners in both languages. */
.nesta-banner-breadcrumb {
  color: #545656;
  font-size: clamp(.72rem, 1.05vw, .85rem);
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 .85rem;
  max-width: 100%;
}

.nesta-banner-breadcrumb ol,
.nesta-banner-breadcrumb li {
  display: flex;
  align-items: baseline;
  gap: .55em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nesta-banner-breadcrumb ol { flex-wrap: wrap; }
.nesta-banner-breadcrumb li { min-width: 0; }
.nesta-banner-breadcrumb li + li::before {
  content: "";
  width: .35em;
  height: .35em;
  flex: 0 0 .35em;
  align-self: center;
  border: solid currentColor;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
  opacity: .65;
}

.nesta-banner-breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-color: #b28c62;
}

.nesta-banner-breadcrumb a:is(:hover, :focus-visible) { color: #80592d; }
.nesta-banner-breadcrumb [aria-current] { color: inherit; }

.nesta-banner-eyebrow,
#main-content .nesta-banner-eyebrow.project-reference-label {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 .65rem;
  color: #80592d;
  font-size: clamp(.72rem, 1.05vw, .9rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: none;
}

:lang(th) .nesta-banner-eyebrow,
:lang(th) #main-content .nesta-banner-eyebrow.project-reference-label { letter-spacing: .045em; }

.nesta-banner-eyebrow::after {
  content: "";
  flex: 0 0 clamp(1.5rem, 4.5vw, 4rem);
  height: 1px;
  background: #ad8c62;
}

:is(.fc-hero, .page-cover--finish-library) .nesta-banner-eyebrow { color: #eed5af; }

#main-content .home-hero .home-hero__copy::before { content: none; }
#main-content .home-hero .nesta-banner-eyebrow {
  margin-bottom: 1rem;
  font-size: .75rem;
}

#main-content .page-cover:has(.nesta-banner-eyebrow[data-building-type]) .page-cover__title {
  font-size: clamp(1.9rem, 3.45vw, 3.45rem) !important;
}

@media (max-width: 639px) {
  /* Fit the standard Thai spelling of the Veneer product name at 390px. */
  .locale-th #main-content .veneer-layout:not(.honeycomb-layout) .veneer-hero:has(.veneer-hero__subtitle[lang="en"]) h1 {
    font-size: clamp(1.75rem, 8vw, 2.8rem);
  }
  .nesta-banner-breadcrumb { margin-bottom: .7rem; }
  .nesta-banner-breadcrumb li[aria-current="page"] { max-width: min(100%, 16rem); }
  .nesta-banner-breadcrumb li[aria-current="page"] span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nesta-banner-eyebrow { gap: .55rem; }
  #main-content .home-hero .nesta-banner-eyebrow { font-size: .67rem; margin-bottom: .6rem; }
  #main-content .page-cover:has(.nesta-banner-eyebrow[data-building-type]) .page-cover__title {
    font-size: clamp(1.6rem, 6.8vw, 2.4rem) !important;
  }
}
