/* BLDR public chrome and services. The original two-colour mark sits on white. */
:root {
  --brand-ink: #211d1d;
  --brand-paper: #f4f4f0;
  --brand-red: #b92523;
  --brand-rule: #d5d1ce;
}
html body [data-bldr-shared-topbar="v2"] > .navbar[data-bldr-navigation-variant="light"] {
  background-color: rgb(33 29 29 / .96) !important;
}
html body [data-bldr-shared-topbar="v2"] .bldr-logo-mark, .brand-footer-sign img {
  box-sizing: border-box;
  padding: 5px;
  background: #fff;
  border-radius: 5px;
  object-fit: contain;
}
html body [data-bldr-shared-topbar="v2"] a:focus-visible,
html body [data-bldr-shared-topbar="v2"] button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.brand-container {width: min(100% - 2.5rem, 82rem); margin-inline: auto;}
.bldr-directory, .bldr-brand-footer {
  font-family: "Geist Variable font", Geist, Arial, sans-serif;
  font-size: 1rem; line-height: 1.5; color: var(--brand-ink);
}
.bldr-directory {background: #fff; padding-block: clamp(1.5rem,4vw,4rem) clamp(3rem,6vw,6rem);}
.bldr-directory h1, .bldr-directory h2, .bldr-brand-footer h2 {
  font-family: "BLDR Topbar Bibis", "Bebas neue", "Oswald", "Arial Narrow", sans-serif;
  font-weight: 400; letter-spacing: -.018em; line-height: 1.03; margin: 0;
}
.directory-hero {display: grid; grid-template-columns: 1.06fr 1fr; background: var(--brand-paper); border-radius: .5rem; overflow: hidden;}
.directory-intro {align-self: center; padding: clamp(2rem,4.2vw,4.75rem);}
.directory-intro h1 {font-size: clamp(3.25rem,5.6vw,6rem); max-width: 18ch; text-wrap: balance;}
.directory-intro p, .brand-footer-start p {max-width: 44ch; margin: 1rem 0 1.5rem; line-height: 1.6;}
.directory-hero > img {display: block; width: 100%; height: 100%; min-height: 18rem; object-fit: cover;}
.bldr-directory a, .bldr-brand-footer a {text-decoration: none;}
.bldr-directory .brand-action, .bldr-brand-footer .brand-action {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.2em;
  min-height: 48px; padding: .72rem 1.25rem; border-radius: 5px;
  background: var(--brand-red); color: #fff; font-weight: 650; line-height: 1.35;
}
.bldr-directory .brand-action:hover, .bldr-brand-footer .brand-action:hover {background: #981e1d;}
.directory-index {display: flex; flex-wrap: wrap; column-gap: clamp(1rem,2.8vw,3rem); padding: .65rem 0; border-bottom: 1px solid var(--brand-rule);}
.directory-index a {display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 650; color: var(--brand-ink);}
.directory-index a span, .directory-group li a > span[aria-hidden] {color: var(--brand-red);}
.directory-group {display: grid; grid-template-columns: minmax(12rem,.56fr) minmax(0,1.44fr); gap: clamp(2rem,5vw,5rem); padding-block: clamp(2.5rem,4.5vw,4.5rem); border-bottom: 1px solid var(--brand-rule); scroll-margin-top: 6rem;}
.directory-group h2 {font-size: clamp(2.25rem,3.4vw,3.7rem); overflow-wrap: break-word;}
.directory-group p {max-width: 36ch; margin: .75rem 0 0; color: #575150;}
.directory-group ul {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 1.75rem; margin: 0; padding: 0; list-style: none;}
.directory-group li {border-top: 1px solid var(--brand-rule); margin: 0;}
.directory-group li a {display: grid; grid-template-columns: 1fr auto; gap: .35rem .6rem; height: 100%; padding: 1rem .15rem 1.2rem; color: var(--brand-ink);}
.directory-card-title {font-size: 1.15rem; font-weight: 650; line-height: 1.3;}
.directory-card-summary {grid-column: 1/-1; font-size: .94rem; color: #575150;}
.directory-group a:hover .directory-card-title, .directory-index a:hover {text-decoration: underline; text-underline-offset: .18em;}
footer.bldr-brand-footer {padding: clamp(2rem,4vw,4rem) 0 1.25rem; color: #fff; background: var(--brand-ink);}
.brand-footer-start {display: grid; grid-template-columns: .8fr 1.35fr auto; gap: 2rem; align-items: start; padding-bottom: 2rem; border-bottom: 1px solid #655d5c;}
.brand-footer-sign {display: inline-flex; gap: .65rem; align-items: center; justify-self: start; font-size: 1.5rem; font-weight: 750; color: #fff;}
.brand-footer-start h2 {font-size: clamp(2.5rem,3.5vw,4rem); color: #fff;}
.brand-footer-start p {margin-bottom: 0; color: #e7e3df;}
.brand-footer-links {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; margin-block: 2rem;}
.brand-footer-column h3 {font: 650 .94rem/1.5 "Geist Variable font",Arial,sans-serif; color: #cbc4c0; margin: 0 0 .5rem;}
.brand-footer-column ul {list-style: none; padding: 0; margin: 0;}
.brand-footer-column li {margin: 0;}
.brand-footer-column a, .brand-footer-legal a {display: inline-flex; align-items: center; min-height: 44px; color: #fff; gap: .4rem;}
.brand-footer-column a:hover, .brand-footer-legal a:hover, .brand-footer-column a[aria-current] {text-decoration: underline; text-underline-offset: .22em;}
.brand-footer-legal {display: flex; flex-wrap: wrap; gap: .1rem 1.5rem; border-top: 1px solid #655d5c; padding-top: .6rem;}
.brand-footer-legal a {font-size: .85rem; color: #e7e3df;}
.brand-footer-legal img {width: 18px; height: 18px;}
.bldr-directory a:focus-visible, .bldr-brand-footer a:focus-visible {outline: 3px solid currentColor; outline-offset: 3px;}
.bldr-directory .brand-action:focus-visible {outline-color: var(--brand-ink);}
@media(max-width: 850px) {
  .brand-footer-start {grid-template-columns: 1fr auto;}
  .brand-footer-sign {grid-column: 1/-1;}
  .directory-group {grid-template-columns: 1fr;}
}
@media(max-width: 650px) {
  .directory-hero, .brand-footer-start {grid-template-columns: minmax(0,1fr);}
  .directory-intro {padding: 1.5rem;}
  .directory-hero > img {height: clamp(9rem,43vw,15rem); min-height: 0;}
  .directory-index {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .25rem .75rem;}
  .directory-index a {justify-content: space-between; border-bottom: 1px solid var(--brand-rule); line-height: 1.3; padding-block: .45rem;}
  .directory-index {border-bottom: 0;}
  .directory-group {gap: 1.25rem;}
  .directory-group ul {grid-template-columns: minmax(0,1fr);}
  .brand-footer-start {gap: 1.3rem;}
  .brand-footer-start .brand-action {justify-self: start;}
  .brand-footer-links {grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem 1rem;}
  .brand-footer-column:first-child {grid-column: 1/-1;}
  .brand-footer-column a {overflow-wrap: anywhere;}
}

/* The template sets a condensed face directly on text descendants. */
html body :is(.bldr-directory, .bldr-brand-footer) :is(p, a, li, span, small, a div) {
  font-family: "Geist Variable font", Geist, Arial, sans-serif;
}
.directory-photo {display: block; width: min(100%, 20rem); aspect-ratio: 16/9; object-fit: cover; margin-top: 1.25rem; border-radius: 6px;}
@media(max-width: 850px) {
  .directory-group > div {display: grid; grid-template-columns: minmax(0,1fr) minmax(5rem,27%); gap: .6rem 1rem; align-items: start;}
  .directory-group > div p {grid-column: 1; margin: 0;}
  .directory-photo {grid-area: 1/2/3/3; margin: 0;}
}
@media (360px <= width <= 520px) {
  html body [data-bldr-shared-topbar="v2"] .bldr-logo-word {display: none;}
  html body [data-bldr-shared-topbar="v2"] .brand-logo::after {
    content: "BLDR.HR";
    font: 750 1.12rem/1.1 "Geist Variable font", Geist, Arial, sans-serif;
  }
}

html body .bldr-brand-footer .brand-footer-sign span {
  font-family: "BLDR Topbar Bibis", "Bebas neue", "Oswald", "Arial Narrow", sans-serif;
  font-weight: 700;
}
