/* Shared vector arrows, compact mobile cards and readable contact/legal details. */
.ka-arrow {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  vertical-align: -.2em;
}
.ka-guide-decoration {
  display: block;
  width: 220px;
  height: 220px;
  bottom: -24px;
  left: 38px;
  pointer-events: none;
}
.ka-guide-decoration .ka-arrow { width: 100%; height: 100%; }
.ka-footer-main a .ka-arrow { margin-inline-start: .25em; }
.ka-footer-bottom {
  font-size: 14px;
  line-height: 1.6;
  color: #d8dcea;
  flex-wrap: wrap;
}
.ka-footer-bottom > div { flex-wrap: wrap; gap: 8px 22px; }
.ka-footer-bottom a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.ka-support-logos { column-gap: 48px; row-gap: 20px; }

@media (max-width: 950px) {
  /* In this layout the guide form sits below, rather than beside, its heading. */
  .ka-guide-decoration { left: auto; right: 18px; bottom: -24px; width: 150px; height: 150px; transform: rotate(90deg); }
}

@media (max-width: 680px) {
  .ka-topbar > .ka-container { min-height: 44px; padding-block: 3px; }
  .ka-topbar > div > div { font-size: 13px; line-height: 1.5; letter-spacing: 0; flex-wrap: wrap; justify-content: center; gap: 0 10px; }
  .ka-topbar a { display: inline-flex; align-items: center; min-height: 38px; white-space: nowrap; }
  .ka-topbar-divider { align-self: center; }

  /* Only the visible face contributes height. The longer back may grow without
     reserving a large blank area on the front, including after text zoom. */
  .ka-service-card { align-self: start; }
  .ka-js .ka-service-flipper { height: auto; }
  .ka-js .ka-service-face { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .ka-js .ka-service-front { position: relative; inset: auto; }
  .ka-js .ka-service-back { position: absolute; inset: 0; justify-content: flex-start; }
  .ka-js .ka-service-card.is-flipped .ka-service-front { position: absolute; inset: 0; }
  .ka-js .ka-service-card.is-flipped .ka-service-back { position: relative; inset: auto; }
  .ka-service-face { padding: 20px 17px 16px; }
  .ka-service-top { margin-bottom: 18px; }
  .ka-service-face h3 { min-height: 0; margin-bottom: 12px; }
  .ka-flip-toggle { min-height: 44px; padding-top: 8px; margin-bottom: 12px; font-size: 12px; }
  .ka-service-back .ka-text-link { font-size: 12px; line-height: 1.6; min-height: 44px; }

  .ka-support.ka-support-official { padding-block: 24px; }
  .ka-support-logos { flex-direction: column; gap: 18px; padding: 20px 0 0; }
  .ka-support-logos img, .ka-support-logos img + img { width: 240px; }
  .ka-footer-bottom { gap: 12px; padding-block: 22px 28px; font-size: 14px; }
  .ka-footer-bottom > span { flex-basis: 100%; }
  .ka-footer-bottom > div { gap: 4px 20px; width: 100%; }
  .ka-footer-bottom a { font-size: 14px; }
  .ka-socials a { width: 44px; height: 44px; }
}
