/* Reference: light intro with photo and trust bar, looping reference logos, practice examples and enquiry card.
   Section shells, headings, post cards and the enquiry card come from home.css (.belzona-home). */
.belzona-references-page > * {
  margin-block: 0;
}

/* Intro */
.belzona-references-hero {
  padding: calc(var(--header-offset) + 20px) 0 clamp(56px, 6vw, 88px);
  background: #f4f7fa;
}
.belzona-references-hero .belzona-breadcrumbs {
  margin: 0 0 28px;
}
.belzona-references-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.belzona-references-hero__grid > *,
.belzona-references-hero__copy > * {
  margin: 0 !important;
}
.belzona-references-hero h1 {
  color: var(--color-primary);
  font-size: clamp(2.45rem, 4.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.belzona-references .belzona-references-hero__lead {
  max-width: 36rem;
  margin-top: 24px !important;
  color: #4c6075;
  font-size: clamp(1.04rem, 1.4vw, 1.15rem);
  line-height: 1.75;
}
.belzona-references-hero .wp-block-buttons {
  gap: 12px;
  margin-top: 32px !important;
}
.belzona-references-hero .wp-element-button {
  min-height: 52px;
  padding: 13px 26px;
  font-size: 1rem;
}
.belzona-references-hero .is-style-outline .wp-element-button {
  border-color: var(--color-primary);
  background: #fff;
  color: var(--color-primary);
}
.belzona-references-hero .is-style-outline .wp-element-button:hover {
  background: #fff;
  color: var(--color-secondary);
}

/* Hero photo */
.belzona-references-hero__image {
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
}
.belzona-references-hero__image img {
  display: block;
  width: 100%;
  height: clamp(320px, 28vw, 420px);
  object-fit: cover;
}

/* Trust bar under the intro, on the same light band */
.belzona-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: clamp(44px, 5vw, 64px) 0 0;
  padding: 28px 0 0;
  border-top: 1px solid #dbe3ec;
  list-style: none;
}
.belzona-trust-bar__item {
  position: relative;
  margin: 0;
  padding: 2px 24px 2px 72px;
  color: #4c6075;
  font-size: 0.95rem;
  line-height: 1.5;
}
.belzona-trust-bar__item + .belzona-trust-bar__item {
  border-left: 1px solid #dbe3ec;
  padding-left: 96px;
}
.belzona-trust-bar__item::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dbe3ec;
  content: "";
  transform: translateY(-50%);
}
.belzona-trust-bar__item + .belzona-trust-bar__item::before {
  left: 24px;
}
.belzona-trust-bar__item::after {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  content: "";
  transform: translateY(-50%);
  -webkit-mask: var(--trust-icon) center / contain no-repeat;
  mask: var(--trust-icon) center / contain no-repeat;
}
.belzona-trust-bar__item + .belzona-trust-bar__item::after {
  left: 38px;
}
.belzona-trust-bar__item--award {
  --trust-icon: url(../images/icons/trust-award.svg);
}
.belzona-trust-bar__item--companies {
  --trust-icon: url(../images/icons/trust-companies.svg);
}
.belzona-trust-bar__item--industry {
  --trust-icon: url(../images/icons/trust-industry.svg);
}
.belzona-trust-bar__item--markets {
  --trust-icon: url(../images/icons/trust-markets.svg);
}
.belzona-trust-bar__item strong {
  display: block;
  color: var(--color-ink);
  font-size: 1.05rem;
  font-weight: 700;
}

/* Reference list: same looping rows as the homepage */
.belzona-references .belzona-reference-logos {
  padding-block: clamp(64px, 7vw, 104px);
  border: 0;
}

/* Practice examples: home post cards plus a short excerpt */
.belzona-references .belzona-post-card__title a {
  color: var(--home-navy);
  font-weight: inherit;
}
.belzona-references .belzona-post-card:hover .belzona-post-card__title a {
  color: var(--color-primary);
}
.belzona-references .belzona-post-card__excerpt {
  margin-top: 10px !important;
}
.belzona-references .belzona-post-card__excerpt p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.belzona-references
  .belzona-post-card__excerpt
  .wp-block-post-excerpt__more-text {
  display: none;
}
.belzona-references .belzona-pagination {
  gap: 8px;
  margin-top: 40px !important;
  font-weight: 700;
}
.belzona-references .belzona-pagination a,
.belzona-references .belzona-pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  white-space: nowrap;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--color-primary);
}
.belzona-references .belzona-pagination a:hover {
  color: var(--color-secondary);
}
.belzona-references .belzona-pagination .current {
  background: var(--color-primary);
  color: #fff;
}

/* The enquiry card follows the soft examples band on white. */
.belzona-references .belzona-home-cta {
  padding-top: clamp(64px, 7vw, 104px);
}

@media (max-width: 1100px) {
  .belzona-trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }
  .belzona-trust-bar__item:nth-child(3) {
    border-left: 0;
    padding-left: 72px;
  }
  .belzona-trust-bar__item:nth-child(3)::before {
    left: 0;
  }
  .belzona-trust-bar__item:nth-child(3)::after {
    left: 14px;
  }
}
@media (max-width: 600px) {
  .belzona-trust-bar {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
  .belzona-trust-bar__item,
  .belzona-trust-bar__item + .belzona-trust-bar__item {
    border-left: 0;
    padding: 0 0 0 64px;
  }
  .belzona-trust-bar__item::before,
  .belzona-trust-bar__item + .belzona-trust-bar__item::before {
    left: 0;
    width: 46px;
    height: 46px;
  }
  .belzona-trust-bar__item::after,
  .belzona-trust-bar__item + .belzona-trust-bar__item::after {
    left: 12px;
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 1000px) {
  .belzona-references-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .belzona-references-hero__image img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 600px) {
  .belzona-references-hero {
    padding-bottom: 48px;
  }
  .belzona-references-hero .wp-block-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .belzona-references-hero .wp-block-button,
  .belzona-references-hero .wp-element-button {
    width: 100%;
  }
}
