/* stylelint-disable */
/* stylelint-enable */
.cb-related-items {
  --_related-items-gap: var(--gap-md);
}

.cb__intro--related-items {
  max-width: var(--max-width-inner);
}

.field__items--name-field-cb-related-items {
  gap: var(--_related-items-gap) 0;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  min-height: 0.0625rem;
  margin-inline: calc(var(--_related-items-gap) / -2);
}

.field__item--name-field-cb-related-items {
  position: relative;
  margin-inline: calc(var(--_related-items-gap) / 2);
  min-height: 0.0625rem;
  flex: 0 0 auto;
  flex-basis: calc(100% * 12 / 12 - var(--_related-items-gap));
}
.field__item--name-field-cb-related-items .node,
.field__item--name-field-cb-related-items .node__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.field__item--name-field-cb-related-items .field--name-field-page-display-canonical:last-child {
  display: flex;
  flex-grow: 1;
  align-items: flex-end;
}

.node__content--view-mode-related {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.node__content--view-mode-related .heading {
  margin-bottom: 0;
}
@media (min-width: 480px) {
  .field__item--name-field-cb-related-items {
    flex-basis: calc(50% - var(--_related-items-gap));
  }
}
@media (min-width: 768px) {
  .field__item--name-field-cb-related-items {
    flex-basis: calc(33.3333333333% - var(--_related-items-gap));
  }
  .layout--2-col .field__item--name-field-cb-related-items {
    flex-basis: calc(100% - var(--_related-items-gap));
  }
}
@media (min-width: 1200px) {
  .field__item--name-field-cb-related-items {
    flex-basis: calc(25% - var(--_related-items-gap));
  }
  .layout--2-col .field__item--name-field-cb-related-items {
    flex-basis: calc(50% - var(--_related-items-gap));
  }
  .layout__region--size-1-3 .field__item--name-field-cb-related-items, .layout__region--size-1-4 .field__item--name-field-cb-related-items {
    flex-basis: calc(100% - var(--_related-items-gap));
  }
}