/* knzit – theme additions on top of the original design styles. */

/* Preloader only on the first page of a visit; later pages use the page transition. */
.knz-seen .loader { display: none !important; }
.knz-arrive #full-app-loader { visibility: visible; }
.knz-arrive #full-app-loader .loader-dark { transform: translateY(0); animation: 1s cubic-bezier(.77, 0, .175, 1) .25s forwards slideReveal; }
.knz-arrive #full-app-loader .loader-logo { opacity: 1; transform: none; animation: none; }
#full-app-loader .loader-logo svg { width: 130px; max-width: 80%; height: auto; fill: #fff; }
#full-app-loader .loader-logo svg path:first-child { fill: var(--primary-color1); }

/* Language switcher (pill next to the CTA). */
header.style-1 .knz-lang-switch {
  align-items: center;
  gap: 6px;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  color: var(--title-color);
  border: 1px solid var(--borders-color);
  border-radius: 100px;
  padding: 10px 16px;
  margin-inline-end: 10px;
  white-space: nowrap;
  transition: all .3s;
  display: inline-flex;
}
header.style-1 .knz-lang-switch i { font-size: 15px; line-height: 1; }
header.style-1 .knz-lang-switch:hover { background: var(--title-color); border-color: var(--title-color); color: var(--white-color); }
header.style-1.white:not(.sticky) .knz-lang-switch { color: var(--white-color); border-color: rgba(255, 255, 255, .25); }
header.style-1.white:not(.sticky) .knz-lang-switch:hover { background: var(--white-color); color: var(--title-color); }
header.style-1 .knz-lang-switch.mobile { color: var(--title-color); border-color: var(--borders-color); margin-inline-end: 0; }
.knz-lang-ar header.style-1 .knz-lang-switch span { font-family: "IBM Plex Sans Arabic", sans-serif; }
@media (max-width: 991px) {
  header.style-1 .main-menu .nav-right { gap: 10px; flex-wrap: wrap; }
}

/* Form feedback. */
.knz-form-msg { margin: 20px 0 0; font-size: 15px; color: var(--text-color); }
.knz-form-msg.success { color: #0f9d58; }
.knz-form-msg.error { color: #d93025; }

/* Copy-link feedback. */
.copy-link { position: relative; }
.copy-link.copied::after {
  content: attr(data-copied);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--title-color); color: var(--white-color); font-size: 12px; padding: 4px 10px; border-radius: 4px; white-space: nowrap;
}

/* Fallback layouts for entries created in the editor. */
.knz-entry .blog-content img { max-width: 100%; height: auto; }
.knz-404 h2 { font-family: var(--font-tanker); font-size: 140px; line-height: 1; color: var(--title-color); }

/* Brand word in the giant footer text must stay on one line. */
.footer-section .footer-bottom-text { white-space: nowrap; }

/* No sideways scrolling on phones (the original contact page overflowed by a few pixels). */
html, body { overflow-x: clip; }

/* Knz client logos are taller marks than the design's wordmarks: give them the same visual weight. */
.partner-section .partner-wrap .marquee .marquee__group a img[src*="/knz/clients/"] { opacity: .65; }
