/* Hub pages (e.g. Bonds): H1 + image become a hero, the block columns become cards, and
   the old green pill buttons take the site's orange. */
main.info-hub {
  padding-top: 0 !important;
  /* base.css gives every <main> 20px; here it showed as a white strip between the breadcrumb band and the hero */
  margin-top: 0;
}

/* Hero buttons */
.hub-btn {
  display: inline-block;
  text-align: center;
  font-size: 1.05rem;
  padding: 14px 28px;
}

.hub-btn-secondary {
  padding: 12px 26px;
}

.hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hub-hero h1 {
  font-size: 3rem;
  margin: 0 0 16px !important;
}

.hub-hero-img {
  display: block;
}

/* Photo behind the hero, like the home page */
.info-hub .hub-hero {
  position: relative;
  color: #fff;
  padding: 88px 0 80px;
  overflow: hidden;
}

/* On the live site Imagify wraps the image as <picture class="hub-hero-img"><source><img></picture>, moving the
   class to the <picture>, so the sizing has to reach the inner <img> as well as a plain <img class="hub-hero-img">. */
.info-hub .hub-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  z-index: 0;
  display: block;
}

.info-hub img.hub-hero-img,
.info-hub .hub-hero-img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 44%;
}

.info-hub .hub-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 22, 26, .88) 0%, rgba(20, 22, 26, .7) 40%, rgba(20, 22, 26, .12) 78%, rgba(20, 22, 26, 0) 100%);
  z-index: 1;
}

.info-hub .hub-hero .hub-hero-copy {
  position: relative;
  z-index: 2;
}

.info-hub .hub-hero h1 {
  color: #fff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, .4);
}

/* Cards: the page's block columns */
main.info-hub article {
  padding-top: 48px;
}

main.info-hub .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 24px;
}

main.info-hub .wp-block-column {
  flex: none;
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
}

main.info-hub .wp-block-column:empty {
  display: none;
}

main.info-hub .wp-block-column > * {
  margin-block-start: 0;
}

main.info-hub article .wp-block-column h2 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

main.info-hub .wp-block-column p,
main.info-hub .wp-block-column li {
  font-size: .98rem;
  line-height: 1.55;
}

main.info-hub .wp-block-column ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

main.info-hub .wp-block-buttons {
  margin-top: auto;
  padding-top: 16px;
}

main.info-hub article p:empty {
  display: none;
}

@media (max-width: 991px) {
  main.info-hub .wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hub-hero h1 {
    font-size: 2.1rem;
  }
  .info-hub .hub-hero {
    padding: 48px 0 40px;
  }
  main.info-hub .wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .hub-btn {
    width: 100%;
  }
}
