.w4b-fc { perspective: 1200px; }
.w4b-fc-faces { display: grid; gap: .75rem; }
.w4b-fc-face {
  box-sizing: border-box;
  isolation: isolate;
  position: relative;
  min-height: var(--w4b-height, 300px);
  min-width: 0;
  display: grid;
  align-items: center;
  padding: var(--w4b-padding, 28px);
  border-radius: var(--w4b-radius, 0);
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--w4b-ink);
  overflow-wrap: anywhere;
}
.w4b-fc-face::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--w4b-overlay, transparent);
}
.w4b-fc .w4b-fc-title {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-size: var(--w4b-title-size, 26px);
  color: inherit;
}
.w4b-fc-text { font-size: var(--w4b-text-size, 16px); }
.w4b-fc-text p { margin: 0; }
.w4b-fc-content > * + * { margin-top: .75rem !important; }
.w4b-fc-image {
  width: var(--w4b-image-width, 160px);
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.w4b-fc a.w4b-fc-link {
  display: inline-block;
  color: var(--w4b-link, currentColor);
  text-decoration: underline;
  padding-block: .25em;
}
.w4b-fc-toggle[hidden] { display: none; }
.w4b-fc-toggle {
  display: block;
  min-height: 44px;
  margin: .6rem auto 0;
  padding: .4em .8em;
  border: 1px solid currentColor;
  border-radius: .25em;
  color: #203747;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.w4b-fc :is(button, a):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.w4b-fc.is-ready .w4b-fc-faces {
  gap: 0;
  transform-style: preserve-3d;
  transition: transform .42s ease-in-out;
}
.w4b-fc.is-ready .w4b-fc-face {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.w4b-fc.is-ready .w4b-fc-back,
.w4b-fc.is-ready.is-flipped .w4b-fc-faces { transform: rotateY(180deg); }
.w4b-fc.is-ready [aria-hidden="true"] { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .w4b-fc.is-ready .w4b-fc-faces { transition: none; }
}
