/* Each logo cell has a fixed height so different-aspect-ratio logos
   appear at a consistent visual size. The image inside uses
   object-fit: contain to preserve its native proportions. */
.cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 5rem;
  text-decoration: none;
  color: inherit;
  padding: 0.35rem 0.5rem;
  box-sizing: border-box;
  transition: transform 0.25s ease;
}

.cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block:not(.fv-ref-logo-block--static):hover {
  transform: translateY(-1px);
}

.cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block--static {
  cursor: default;
}

.cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

/* The shell centers the image within the fixed cell box. */
.cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block__shell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Image: contained, never stretched. Max-height comes from the
   logoMaxHeight prop (inline style); max-width is the cell width. */
.cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* opacity is applied inline from the logoOpacity prop. */
  transition: filter 0.35s ease, opacity 0.35s ease;
}

/* ─── Colour-effect variants ─── */
.cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block__shell--bw .fv-ref-logo-block__img {
  filter: grayscale(1);
}

.cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block__shell--hover-color .fv-ref-logo-block__img {
  filter: grayscale(1);
}

.cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block__shell--hover-color:hover .fv-ref-logo-block__img, .cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block__shell--hover-color:focus-within .fv-ref-logo-block__img {
  filter: grayscale(0);
}

.cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block__shell--natural .fv-ref-logo-block__img {
  filter: none;
}

@media (max-width: 640px) {
  .cc_l6w8ty47_ZdN8w2HM6c .fv-ref-logo-block {
    height: 4.25rem;
    padding: 0.25rem 0.4rem;
  }
}
