.kf-template-menu {
  --kf-template-menu-gap: 1.25rem;
  --kf-template-menu-background: white;
  position: relative;
}

.kf-template-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kf-template-menu__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--kf-template-menu-gap);
}

.kf-template-menu li { position: relative; }

.kf-template-menu .sub-menu {
  padding-inline-start: 1rem;
}

.kf-template-menu__toggle { display: none; }

.kf-template-menu.is-ready .sub-menu {
  position: absolute;
  z-index: 2;
  top: 100%;
  inset-inline-start: 0;
  min-width: max-content;
  padding: .625rem .875rem;
  background: var(--kf-template-menu-background);
  box-shadow: 0 4px 12px rgb(0 0 0 / 14%);
}

.kf-template-menu.is-ready .sub-menu .sub-menu {
  top: 0;
  inset-inline-start: 100%;
}

.kf-template-menu [hidden] { display: none; }

.kf-template-menu button.kf-template-menu__disclosure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  border: 0;
  padding: .375em .55em;
  line-height: 1;
}

.kf-template-menu__disclosure::after {
  content: '';
  width: .45em;
  height: .45em;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

.kf-template-menu__disclosure[aria-expanded="true"]::after { transform: rotate(225deg); }

.kf-template-menu.is-collapsible .kf-template-menu__toggle { display: inline-block; }

.kf-template-menu.is-collapsible .kf-template-menu__list {
  display: block;
  margin-block-start: .75rem;
}

.kf-template-menu.is-collapsible :is(.sub-menu, .sub-menu .sub-menu) {
  position: static;
  min-width: 0;
  padding-block: .25rem;
  background: transparent;
  box-shadow: none;
}

.kf-template-menu.is-collapsible .kf-template-menu__list[hidden] { display: none; }

.kf-template-menu:not(.is-collapsible) .kf-template-menu__mobile-links { display: none; }

.kf-template-search { position: relative; }

.kf-template-search summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  list-style: none;
  cursor: pointer;
}

.kf-template-search summary::-webkit-details-marker { display: none; }

.kf-template-search summary span {
  position: relative;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.kf-template-search summary span::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 2px;
  top: 100%;
  left: 90%;
  transform: rotate(45deg);
  transform-origin: left;
  background: currentColor;
}

.kf-template-search__form {
  display: flex;
  align-items: stretch;
  gap: .5rem;
}

.kf-template-search__form input { min-width: 0; }

.kf-template-search .kf-template-search__form {
  position: absolute;
  z-index: 3;
  inset-block-start: 100%;
  inset-inline-end: 0;
  width: min(16rem, 70vw);
  padding: .5rem;
  background: white;
  box-shadow: 0 4px 12px rgb(0 0 0 / 14%);
}

.kf-template-review-carousel {
  position: relative;
  padding: 0 6px 40px;
}

.kf-template-review-carousel.is-ready .kf-template-review-track { display: grid; }
.kf-template-review-carousel.is-ready .kf-template-review-slide { grid-area: 1 / 1; }
.kf-template-review-slide[aria-hidden="true"] { visibility: hidden; }

.kf-template-review-controls {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .125rem;
  margin-top: .25rem;
}

.kf-template-review-controls button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
}

.kf-template-review-controls :is(.kf-template-review-prev, .kf-template-review-next) {
  position: absolute;
  bottom: 55px;
  font-size: 1.5rem;
}

.kf-template-review-prev { inset-inline-start: 0; }
.kf-template-review-next { inset-inline-end: 0; }

.kf-template-review-page::after {
  content: '';
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.kf-template-review-page[aria-current="true"]::after { background: currentColor; }

.kf-template-review-carousel .kf-template-review-card {
  margin: 0;
  border: 1px solid #e1e8ed;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.65;
}

.kf-template-review-card figcaption {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 15px 15px 6px;
  font-size: 14px;
  line-height: 1.5;
}

.kf-template-review-card figcaption img {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.kf-template-review-card figcaption strong {
  display: block;
  color: #1c2022;
}

.kf-template-review-card .kf-template-review-stars {
  display: block;
  color: #e5a400;
  font-size: 15px;
}

.kf-template-review-carousel .kf-template-review-card blockquote {
  margin: 0;
  padding: 6px 15px 15px;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
}

.kf-template-review-card blockquote p { margin: 0; }

.kf-template-footer-search .kf-template-search__form { min-height: 50px; }

@media (min-width: 1025px) {
  .kf-template-footer-links .kf-template-menu__list {
    justify-content: center;
    min-height: 46px;
  }
}
