/* FAQ knowledge page — Festival brand (Roboto, #d81b60 / #b32245) */

body.fst-faq-page .page-title,
body.fst-faq-page .article-meta,
body.fst-faq-page .article-header .breadcrumb,
body.fst-faq-page .breadcrumb:not(.fst-crumbs) {
  display: none !important;
}

body.fst-faq-page {
  background: #faf7f8 !important;
}

body.fst-faq-page #page,
body.fst-faq-page .site-content-inner {
  background: transparent !important;
}

body.fst-faq-page .site-content.fixed,
body.fst-faq-page .site-content {
  max-width: 1300px !important;
  width: 100% !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

body.fst-faq-page .site-content-inner,
body.fst-faq-page .content-area,
body.fst-faq-page #primary,
body.fst-faq-page .site-main,
body.fst-faq-page .entry-content,
body.fst-faq-page .site-main > article,
body.fst-faq-page article.type-page,
body.fst-faq-page article.post {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

.fst-kb {
  --fk-pink: #d81b60;
  --fk-pink-deep: #b0144e;
  --fk-burgundy: #b32245;
  --fk-ink: #1a1a1a;
  --fk-muted: #5c5c5c;
  --fk-line: #ebe7ea;
  --fk-surface: #ffffff;
  --fk-soft: #faf7f8;
  --fk-mark: #fde68a;
  --fk-radius: 14px;
  --fk-btn-radius: 12px;
  --fk-nav-top: 0px;
  --fk-scroll-pad: 120px;
  --fk-shadow: 0 4px 18px rgba(26, 26, 26, 0.04);

  color: var(--fk-ink);
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 4px 0 56px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: var(--fk-scroll-pad);
}

.fst-kb *,
.fst-kb *::before,
.fst-kb *::after {
  box-sizing: border-box;
}

.fst-kb p::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
}

.fst-kb h1,
.fst-kb h2,
.fst-kb p,
.fst-kb li,
.fst-kb a,
.fst-kb button,
.fst-kb summary,
.fst-kb input,
.fst-kb strong {
  font-family: inherit;
}

.fst-kb .fst-crumbs {
  margin: 0 0 1.1rem;
}

.fst-kb-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fk-ink);
}

.fst-kb-hero__lead {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  color: var(--fk-muted);
  font-size: 1.02rem;
}

.fst-kb-search {
  position: relative;
  display: block;
  max-width: 36rem;
}

.fst-kb-search__ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--fk-muted);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Beat theme input[type=search]{padding:.375em .75em} */
.fst-kb-search input.fst-kb-search__input[type="search"],
.fst-kb-search .fst-kb-search__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px 12px 52px !important;
  border: 1px solid var(--fk-line);
  border-radius: var(--fk-btn-radius);
  background: var(--fk-surface);
  color: var(--fk-ink);
  font-size: 1rem;
  font-family: inherit;
  box-shadow: var(--fk-shadow);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.fst-kb-search input.fst-kb-search__input[type="search"]:focus,
.fst-kb-search .fst-kb-search__input:focus {
  border-color: var(--fk-pink);
  box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.18);
}

.fst-kb-nav-sentinel {
  height: 0;
  margin: 1.25rem 0 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

.fst-kb-nav {
  --fk-nav-top: 0px;
  position: -webkit-sticky;
  position: sticky;
  top: var(--fk-nav-top);
  z-index: 850;
  margin: 0 0 1.5rem;
  padding: 0;
  border-radius: var(--fk-radius);
  background: transparent;
}

.fst-kb-nav__shell {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--fk-line);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border-radius: inherit;
  padding: 0.4rem 0.45rem;
  box-shadow: var(--fk-shadow);
}

.fst-kb-nav.is-stuck {
  border-radius: 0;
}

.fst-kb-nav.is-stuck .fst-kb-nav__shell {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  border-color: transparent;
  border-bottom: 1px solid rgba(216, 27, 96, 0.1);
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.05);
  padding-left: 0.45rem;
  padding-right: 0.45rem;
}

.fst-kb-nav.is-stuck .fst-kb-nav__shell::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 27, 96, 0.1);
  z-index: -1;
  pointer-events: none;
}

.fst-kb-nav__inner {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.05rem 0;
  position: relative;
  z-index: 1;
}

.fst-kb-nav__inner::-webkit-scrollbar {
  display: none;
}

.fst-kb-nav__chip {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid var(--fk-line);
  background: var(--fk-surface);
  color: var(--fk-ink);
  border-radius: 999px;
  min-height: 38px;
  padding: 0.4rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.fst-kb-nav__chip:hover,
.fst-kb-nav__chip:focus-visible {
  border-color: var(--fk-pink);
  color: var(--fk-pink);
  outline: none;
}

.fst-kb-nav__chip.is-active {
  background: var(--fk-pink);
  border-color: var(--fk-pink);
  color: #fff !important;
}

.fst-kb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 1.75rem 2rem;
  align-items: start;
}

.fst-kb-section {
  margin: 0 0 1.75rem;
}

.fst-kb-section.is-hidden,
.fst-kb .fst-faq__item.is-hidden {
  display: none !important;
}

.fst-kb-section__title {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fk-ink);
}

.fst-kb-faq {
  --fst-faq-primary: #d81b60;
}

.fst-kb mark,
.fst-kb .fst-faq__q mark,
.fst-kb .fst-faq__a mark {
  background: var(--fk-mark);
  color: var(--fk-ink);
  border-radius: 3px;
  padding: 0 0.15em;
}

.fst-kb-empty {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--fk-radius);
  background: #fff;
  border: 1px dashed var(--fk-line);
  color: var(--fk-muted);
}

.fst-kb-useful {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--fk-line);
}

.fst-kb-useful__label {
  font-size: 0.88rem;
  color: var(--fk-muted);
  margin-right: 0.25rem;
}

.fst-kb-useful__btn {
  appearance: none;
  border: 1px solid var(--fk-line);
  background: #fff;
  border-radius: 8px;
  min-width: 40px;
  min-height: 34px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fst-kb-useful__btn:hover,
.fst-kb-useful__btn:focus-visible {
  border-color: var(--fk-pink);
  outline: none;
}

.fst-kb-useful__btn.is-active {
  background: #fff0f5;
  border-color: var(--fk-pink);
}

.fst-kb-useful__thanks {
  font-size: 0.88rem;
  color: var(--fk-pink);
  font-weight: 600;
}

.fst-kb-help {
  --fk-help-top: calc(var(--fk-nav-top) + 64px);
  position: -webkit-sticky;
  position: sticky;
  top: var(--fk-help-top);
  z-index: 2;
}

.fst-kb-help__card {
  border: 1px solid var(--fk-line);
  border-radius: var(--fk-radius);
  background: linear-gradient(180deg, #fff 0%, #fff8fb 100%);
  box-shadow: var(--fk-shadow);
  padding: 1.25rem 1.2rem 1.35rem;
}

.fst-kb-help__title {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.fst-kb-help__lead {
  margin: 0 0 1rem;
  color: var(--fk-muted);
  font-size: 0.95rem;
}

.fst-kb-help__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fst-kb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: var(--fk-btn-radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fst-kb a.fst-kb-btn--primary,
.fst-kb a.fst-kb-btn--primary:link,
.fst-kb a.fst-kb-btn--primary:visited,
.fst-kb a.fst-kb-btn--primary:hover,
.fst-kb a.fst-kb-btn--primary:focus {
  background: var(--fk-pink);
  color: #ffffff !important;
}

.fst-kb a.fst-kb-btn--primary:hover,
.fst-kb a.fst-kb-btn--primary:focus {
  background: var(--fk-pink-deep);
}

.fst-kb a.fst-kb-btn--max,
.fst-kb a.fst-kb-btn--max:link,
.fst-kb a.fst-kb-btn--max:visited {
  background: linear-gradient(135deg, #6c4dff 0%, #9b4dff 45%, #ff7a3d 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(108, 77, 255, 0.28);
}

.fst-kb a.fst-kb-btn--max span,
.fst-kb a.fst-kb-btn--max:hover span,
.fst-kb a.fst-kb-btn--max:visited span {
  color: #ffffff !important;
}

.fst-kb a.fst-kb-btn--max img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.fst-kb a.fst-kb-btn--max:hover,
.fst-kb a.fst-kb-btn--max:focus {
  background: linear-gradient(135deg, #5a3ff0 0%, #8a3ff0 45%, #f06a2e 100%);
}

.fst-kb a.fst-kb-btn--tg,
.fst-kb a.fst-kb-btn--tg:link,
.fst-kb a.fst-kb-btn--tg:visited {
  background: #229ed9;
  color: #ffffff !important;
}

.fst-kb a.fst-kb-btn--tg:hover,
.fst-kb a.fst-kb-btn--tg:focus {
  background: #1b8bc0;
}

.fst-kb a.fst-kb-btn--ghost,
.fst-kb a.fst-kb-btn--ghost:visited {
  background: var(--fk-surface);
  color: var(--fk-ink) !important;
  box-shadow: inset 0 0 0 1px var(--fk-line);
}

.fst-kb a.fst-kb-btn--ghost:hover,
.fst-kb a.fst-kb-btn--ghost:focus {
  color: var(--fk-pink) !important;
  box-shadow: inset 0 0 0 1px var(--fk-pink);
}

.fst-kb-btn:focus-visible {
  outline: 3px solid rgba(216, 27, 96, 0.35);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .fst-kb-layout {
    grid-template-columns: 1fr;
  }

  .fst-kb-help {
    position: static;
    order: 2;
  }

  .fst-kb-main {
    order: 1;
  }
}

@media (max-width: 767px) {
  .fst-kb {
    padding-bottom: 40px;
  }

  .fst-kb-hero__title {
    font-size: 1.4rem;
  }

  .fst-kb-nav {
    margin-left: -4px;
    margin-right: -4px;
  }
}
