.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: var(--w4b-title-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);
  box-sizing: border-box;
  max-width: 100%;
  background: var(--w4b-btn-bg);
  border: var(--w4b-btn-border-width) solid var(--w4b-btn-border);
  border-radius: var(--w4b-btn-radius);
  font-size: var(--w4b-btn-size);
  font-weight: var(--w4b-btn-weight);
  padding: var(--w4b-btn-y) var(--w4b-btn-x);
  text-decoration: none;
}
.w4b-fc a.w4b-fc-link:is(:hover, :focus-visible) {
  background: var(--w4b-btn-hover-bg);
  color: var(--w4b-btn-hover-color);
}
.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 [aria-hidden="true"] { pointer-events: none; }

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

.w4b-fc { position: relative; }
.w4b-fc.w4b-fc-control-quiet .w4b-fc-toggle {
  position: absolute;
  z-index: 2;
  bottom: .5rem;
  left: .5rem;
  margin: 0;
}
.w4b-fc.w4b-fc-control-quiet .w4b-fc-toggle:not(:focus-visible) {
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}
@media (any-pointer: coarse) {
  .w4b-fc.is-ready.w4b-fc-control-quiet .w4b-fc-faces { cursor: pointer; }
}
.w4b-fc { --w4b-turn: rotateY(180deg); }
.w4b-fc[data-direction="right"] { --w4b-turn: rotateY(-180deg); --w4b-slide-x: -10%; }
.w4b-fc[data-direction="left"] { --w4b-slide-x: 10%; }
.w4b-fc[data-direction="up"] { --w4b-turn: rotateX(-180deg); --w4b-slide-y: 10%; }
.w4b-fc[data-direction="down"] { --w4b-turn: rotateX(180deg); --w4b-slide-y: -10%; }
.w4b-fc.is-ready[data-motion="flip"] .w4b-fc-back,
.w4b-fc.is-ready.is-flipped[data-motion="flip"] .w4b-fc-faces {
  transform: var(--w4b-turn);
}
.w4b-fc.is-ready:is([data-motion="fade"], [data-motion="slide"]) .w4b-fc-face {
  transition: opacity .42s ease, transform .42s ease;
}
.w4b-fc.is-ready:is([data-motion="fade"], [data-motion="slide"]) [aria-hidden="true"] {
  opacity: 0;
}
.w4b-fc.is-ready[data-motion="slide"] .w4b-fc-back[aria-hidden="true"] {
  transform: translate(var(--w4b-slide-x, 0), var(--w4b-slide-y, 0));
}
.w4b-fc.is-ready[data-motion="slide"] .w4b-fc-front[aria-hidden="true"] {
  transform: translate(calc(-1 * var(--w4b-slide-x, 0)), calc(-1 * var(--w4b-slide-y, 0)));
}
@media (prefers-reduced-motion: reduce) {
  .w4b-fc.is-ready:is([data-motion="fade"], [data-motion="slide"]) .w4b-fc-face { transition: none; }
}

.w4b-fc-face[style*="--w4b-title-weight:"] .w4b-fc-title {
  font-weight: var(--w4b-title-weight);
}
.w4b-fc-face[style*="--w4b-text-line-height:"] .w4b-fc-text,
.w4b-fc-face[style*="--w4b-text-line-height:"] .w4b-fc-text :is(p, ul, ol, li, blockquote) {
  line-height: var(--w4b-text-line-height);
}
.w4b-fc .w4b-fc-face[style*="--w4b-title-font:"] .w4b-fc-title {
  font-family: var(--w4b-title-font);
}
.w4b-fc .w4b-fc-face[style*="--w4b-text-font:"] .w4b-fc-text {
  font-family: var(--w4b-text-font);
}
.w4b-fc .w4b-fc-face[style*="--w4b-button-font:"] a.w4b-fc-link {
  font-family: var(--w4b-button-font);
}