/* ============================================================
   KPS Real Estate — brand layer
   Loaded after styles.css on every page. Re-skins the base
   theme with the KPS identity (navy #0F2C4A / red #B90601)
   and adds accessibility + form-status styles.
   ============================================================ */

:root {
  --Primary: #B90601;
  --Hover: #8E0400;
  --Text-primary: #0F2C4A;
  --Text-secondary: #4C5B6B;
  --Text-secondary-2: #5F6F80;
  --Text-color-1: rgba(255, 255, 255, 0.72);
  --Text-muted: #D6DDE4;
  --Bg-light: #F4F6F9;
  --Line: #DFE5EA;
  --Text-on-suface: #52606F;
  --Text-on-suface-2: #0F2C4A;
  --Brand-red-tint: #F7E4E3;
  --Brand-navy-tint: #E8EDF2;
  --kps-header-h: 100px;
}

/* ---------- typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--Text-primary);
  letter-spacing: -0.02em;
}

/* ---------- buttons: brand red needs light text ---------- */
.tf-btn {
  background-color: var(--Primary);
}
.tf-btn span {
  color: var(--White);
}
.tf-btn .bg-effect {
  background-color: var(--Text-primary);
}
.tf-btn:hover {
  background-color: var(--Text-primary);
}
.tf-btn.btn-bg-1:hover span,
.tf-btn.btn-bg-white:hover span,
.tf-btn.btn-border-2:hover span {
  color: var(--White) !important;
}
.tf-btn.btn-bg-white {
  background-color: var(--White);
}
.tf-btn.btn-bg-white span {
  color: var(--Text-primary);
}
.tf-btn.btn-bg-white .bg-effect,
.tf-btn.btn-border-2 .bg-effect {
  background-color: var(--Primary);
}
.tf-btn.btn-border {
  background-color: transparent;
  border: 1px solid var(--Text-primary);
}
.tf-btn.btn-border span {
  color: var(--Text-primary);
}
.tf-btn.btn-border .bg-effect {
  background-color: var(--Text-primary);
}
.tf-btn.btn-border:hover span {
  color: var(--White) !important;
}

/* ---------- links ---------- */
.link:hover,
.hover-underline-link:hover,
.hover-line-text:hover {
  color: var(--Primary);
}

/* ---------- header logo ---------- */
.site-logo img {
  width: auto;
  height: 58px;
  max-width: none;
}
.mobile-nav-wrap .site-logo img {
  height: 46px;
}
.footer-logo img {
  width: auto;
  height: 74px;
}

/* ---------- native selects replace the decorative .nice-select ---------- */
.kps-select {
  -webkit-tap-highlight-color: transparent;
  background-color: var(--White);
  border: 1px solid var(--Line);
  border-radius: 8px;
  color: var(--Text-primary);
  font-family: inherit;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  height: 50px;
  padding: 10px 40px 10px 14px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F2C4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.3s ease;
}
.kps-select:hover,
.kps-select:focus {
  border-color: var(--Primary);
}
.kps-select[multiple] {
  height: auto;
}

/* ---------- hero slider ---------- */
.banner .tf-btn {
  margin-top: 24px;
}

.kps-hero {
  position: relative;
  background-color: var(--Text-primary);
}
.kps-hero-swiper {
  /* fills the fold under the 100px header; the floor keeps the copy usable on short/landscape screens.
     svh ignores the mobile URL bar; browsers without svh support keep the vh line above it */
  height: max(620px, calc(100vh - var(--kps-header-h)));
  height: max(620px, calc(100svh - var(--kps-header-h)));
}
.kps-hero-swiper .swiper-wrapper {
  perspective: 1500px;
}
/* before JS runs, show only the first slide so nothing stacks vertically */
.kps-hero-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}
.kps-hero-slide {
  overflow: hidden;
  transform-style: preserve-3d;
}
/* the media box is a little wider than the slide so the parallax drift never exposes an edge */
.kps-hero-media {
  position: absolute;
  inset: 0 -8%;
  transform: translate3d(var(--kps-drift, 0%), 0, 0);
  will-change: transform;
}
.kps-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.kps-hero-slide.swiper-slide-active .kps-hero-media img {
  animation: kpsKenBurns 9s ease-out both;
}
@keyframes kpsKenBurns {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.11) translate3d(-1%, -0.8%, 0);
  }
}

/* navy scrim — the slide photos all have a bright sky, so white copy needs it */
.kps-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 44, 74, 0.78) 0%,
    rgba(15, 44, 74, 0.5) 40%,
    rgba(15, 44, 74, 0.32) 66%,
    rgba(15, 44, 74, 0.62) 100%
  );
}
@media (max-width: 767px) {
  .kps-hero-scrim {
    background: linear-gradient(180deg, rgba(15, 44, 74, 0.82) 0%, rgba(15, 44, 74, 0.62) 100%);
  }
}

.kps-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 110px;
  color: var(--White);
  transition: opacity 0.4s ease;
}
/* the outgoing caption must clear out before the incoming one rises */
.kps-hero-swiper.swiper-initialized .kps-hero-slide:not(.swiper-slide-active) .kps-hero-copy {
  opacity: 0;
}
.kps-hero-kicker {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: var(--White);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kps-hero-title {
  color: var(--White);
  text-shadow: 0 2px 26px rgba(6, 20, 35, 0.55);
  /* fluid scale: 34px on phones up to 68px on wide desktop, no breakpoint steps needed */
  font-size: clamp(34px, calc(4.2vw + 12px), 68px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
/* masked line reveal: the inner span is what GSAP slides up into view */
.kps-hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.kps-hero-line > span {
  display: block;
}
.kps-hero-text {
  margin-top: 24px;
  max-width: 940px;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 22px rgba(6, 20, 35, 0.6);
}
.kps-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.kps-hero-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding-bottom: 26px;
}
/* no JS, no slider: the controls would be dead buttons */
.kps-hero-swiper:not(.swiper-initialized) ~ .kps-hero-bar {
  display: none;
}
.kps-hero-bar-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.kps-hero-dots {
  /* Swiper's .swiper-pagination is absolutely positioned and 100% wide; this row is a flex item */
  position: static;
  width: auto;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.kps-hero-bullet {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: auto;
  height: auto;
  padding: 8px 14px 0;
  border: 0;
  border-radius: 0;
  background: none;
  opacity: 1;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}
.kps-hero-bullet:hover {
  color: var(--White);
}
.kps-hero-bullet-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.kps-hero-bullet-label {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.kps-hero-bullet-bar {
  display: block;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
}
.kps-hero-bullet-bar i {
  display: block;
  height: 100%;
  background-color: var(--White);
  transform: scaleX(var(--kps-p, 0));
  transform-origin: left center;
}
.kps-hero-bullet.swiper-pagination-bullet-active {
  color: var(--White);
}
.kps-hero-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kps-hero-arrow,
.kps-hero-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background-color: rgba(15, 44, 74, 0.3);
  color: var(--White);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.kps-hero-arrow:hover,
.kps-hero-toggle:hover {
  background-color: var(--White);
  border-color: var(--White);
  color: var(--Text-primary);
}
.kps-hero-toggle .kps-icon-play {
  display: none;
}
.kps-hero-toggle.is-paused .kps-icon-play {
  display: block;
}
.kps-hero-toggle.is-paused .kps-icon-pause {
  display: none;
}

@media (max-width: 991px) {
  .kps-hero-cta {
    margin-top: 28px;
  }
}
@media (max-width: 767px) {
  .kps-hero-swiper {
    height: max(560px, calc(100vh - var(--kps-header-h)));
    height: max(560px, calc(100svh - var(--kps-header-h)));
  }
  .kps-hero-copy {
    padding-top: 76px;
    padding-bottom: 96px;
  }
  .kps-hero-text br,
  .kps-hero-bullet-label,
  .kps-hero-arrow {
    display: none;
  }
  .kps-hero-cta {
    gap: 12px;
  }
  .kps-hero-cta .tf-btn {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* short landscape phones: the 620/560 floors would push the control bar far below the fold */
@media (max-height: 700px) {
  .kps-hero-swiper {
    height: max(470px, calc(100vh - var(--kps-header-h)));
    height: max(470px, calc(100svh - var(--kps-header-h)));
  }
  .kps-hero-copy {
    /* keep the bottom padding above the control bar's height, or the CTAs sit under it */
    padding-top: 48px;
    padding-bottom: 108px;
  }
  .kps-hero-text {
    margin-top: 14px;
  }
  .kps-hero-cta {
    margin-top: 20px;
  }
}

/* ---------- form feedback ---------- */
.kps-form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--Line);
  background-color: var(--Bg-light);
  color: var(--Text-primary);
  font-size: 15px;
  line-height: 24px;
}
.kps-form-status.is-visible {
  display: block;
}
.kps-form-status.is-error {
  background-color: var(--Brand-red-tint);
  border-color: var(--Primary);
}
.kps-form-status a {
  color: var(--Primary);
  text-decoration: underline;
}
form .field-error {
  border-color: var(--Primary) !important;
}

/* ---------- contact map ---------- */
.map-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* ---------- accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 12px 20px;
  background-color: var(--Text-primary);
  color: var(--White);
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  color: var(--White);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--Primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* icon-only links (socials) must announce themselves to AT */
[class^="icon-"][aria-label],
.social a[aria-label],
.tf-social a[aria-label] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* template animates headings in from transparent; keep them visible if motion is reduced */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .split-text,
  .scrolling-effect,
  .tf-animate-1,
  .tf-animate-2,
  .tf-animate-4,
  .effect-item {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}

/* ---------- small utility tweaks ---------- */.text_primary-color {
  color: var(--Text-primary);
}
.section-call-back .info .icon,
.box-contact .info .icon {
  color: var(--Primary);
}
.blog-article-item .tag,
.recent-post .tag {
  color: var(--Text-primary);
  background-color: var(--White);
}
.odometer,
.counter-number h1,
.counter-number h2 {
  color: var(--Text-primary);
}
.banner h2,
.banner p {
  text-shadow: 0 2px 24px rgba(15, 44, 74, 0.45);
}

/* ---------- sub-page section layouts reused from the theme ---------- */
/* icon stacks used outside .box-why (services overview, area list) */
.kps-icon-stack > .tf-box-icon:not(:last-child) {
  border-bottom: 1px solid var(--Line);
  margin-bottom: 32px;
  padding-bottom: 32px;
}
.tf-box-icon .content a.hover-underline-link {
  display: inline-block;
  margin-top: 8px;
}
.tf-box-icon.style-2:hover .icon {
  color: var(--White);
}
/* image column in the alternating service rows */
.section-about .thumbs {
  border-radius: 12px;
  overflow: hidden;
}
.section-about .thumbs img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.section-about .list > li:not(:last-child) {
  margin-bottom: 28px;
}
/* short page banner */
.page-title.style-default .thumbs {
  position: relative;
}
.page-title.style-default .thumbs::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(15, 44, 74, 0.35);
}
.page-title.style-default .breadcrumb a {
  color: var(--White);
}
.page-title.style-default .title {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.25;
}
.page-title.style-default .thumbs img {
  min-height: 340px;
}
/* the theme's divider rule is meant for vertical icon lists, not for icon grids */
.box-why .tf-grid-layout > .tf-box-icon {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
/* keeps the two service rows' image columns the same height whatever the source crop */
.kps-ratio-thumb {
  aspect-ratio: 610 / 520;
}
.kps-ratio-thumb img {
  height: 100%;
}
/* visually hidden but available to screen readers */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* blog topic chips */
.kps-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.kps-cat {
  padding: 9px 20px;
  border: 1px solid var(--Line);
  border-radius: 999px;
  background-color: var(--White);
  color: var(--Text-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.3s ease;
}
.kps-cat:hover {
  border-color: var(--Text-primary);
}
.kps-cat.is-active {
  background-color: var(--Text-primary);
  border-color: var(--Text-primary);
  color: var(--White);
}
.kps-blog-card[hidden] {
  display: none;
}
.blog-article-item .tag {
  cursor: default;
}
#blogEmpty {
  padding: 40px 0;
  border-top: 1px solid var(--Line);
}

/* the theme forces nowrap on these labels, which clips them inside the fixed 240px card */
.tf-box-icon.style-1 .sub {
  text-wrap: auto;
  white-space: normal;
}

/* ---------- 404 page ---------- */
.kps-404 {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--kps-header-h));
  min-height: calc(100svh - var(--kps-header-h));
  padding-top: 70px;
  padding-bottom: 90px;
  overflow: hidden;
  background-color: var(--Text-primary);
  color: var(--White);
}
.kps-404-media {
  position: absolute;
  inset: -6% -10%;
  transform: translate3d(calc(var(--kps-404-x, 0) * 18px), calc(var(--kps-404-y, 0) * 12px), 0);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.kps-404-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kps404Drift 22s ease-in-out infinite alternate;
}
@keyframes kps404Drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.6%, -1.2%, 0); }
}
.kps-404-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(115% 85% at 50% 12%, rgba(15, 44, 74, 0.66) 0%, rgba(15, 44, 74, 0.92) 58%, rgba(9, 26, 44, 0.97) 100%);
}
/* blueprint grid in perspective: gives the panel depth instead of a flat wash */
.kps-404-grid {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -18%;
  height: 62%;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 90px);
  transform: perspective(680px) rotateX(64deg) translate3d(calc(var(--kps-404-x, 0) * -34px), 0, 0);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 78%);
  mask-image: linear-gradient(180deg, transparent, #000 78%);
  opacity: 0.45;
}
.kps-404-inner {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 26px;
  text-align: center;
}
.kps-404-figure {
  perspective: 900px;
  perspective-origin: 50% 32%;
}
.kps-404-code {
  display: flex;
  justify-content: center;
  gap: 0.02em;
  margin: 0;
  font-size: clamp(96px, 17vw, 170px);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.03em;
}
.kps-404-digit {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  transform: translate3d(calc(var(--kps-404-x, 0) * var(--kps-404-d, 14) * 1px), calc(var(--kps-404-y, 0) * var(--kps-404-d, 14) * 0.6px), 0)
    rotateY(calc(var(--kps-404-x, 0) * var(--kps-404-r, 5) * 1deg))
    rotateX(calc(var(--kps-404-y, 0) * var(--kps-404-r, 5) * -0.6deg));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
/* the char inside carries the reveal, so GSAP's inline transform never fights the parallax above */
.kps-404-char {
  position: relative;
  display: block;
  text-shadow: 0 10px 34px rgba(6, 20, 35, 0.6);
}
.kps-404-digit:nth-child(1) { --kps-404-d: 26; --kps-404-r: 8; }
.kps-404-digit:nth-child(2) { --kps-404-d: 10; --kps-404-r: 3; }
.kps-404-digit:nth-child(3) { --kps-404-d: 32; --kps-404-r: 10; }
/* outlined echo behind the solid digit, drifting the other way — that is what sells the depth */
.kps-404-char::before {
  content: attr(data-char);
  position: absolute;
  left: 0;
  top: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
  transform: translate3d(calc(var(--kps-404-x, 0) * -22px), calc(var(--kps-404-y, 0) * -14px), -90px);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.kps-404-copy {
  max-width: 760px;
}
.kps-404-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--White);
}
.kps-404-title {
  color: var(--White);
  text-shadow: 0 2px 26px rgba(6, 20, 35, 0.55);
  font-size: clamp(28px, calc(2.4vw + 14px), 46px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.kps-404-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.kps-404-line > span {
  display: block;
}
.kps-404-text {
  margin: 18px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
}
.kps-404-path {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 7px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background-color: rgba(9, 26, 44, 0.45);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
.kps-404-path code {
  padding: 0;
  border: 0;
  background: none;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
  color: var(--White);
  word-break: break-all;
}
.kps-404-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 26px;
}
.kps-404-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.kps-404-links a {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.kps-404-links a:hover,
.kps-404-links a:focus-visible {
  background-color: var(--White);
  border-color: var(--White);
  color: var(--Text-primary);
  transform: translateY(-2px);
}
@media (min-width: 1200px) {
  .kps-404-inner {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: 70px;
    text-align: left;
  }
  .kps-404-code {
    justify-content: flex-start;
    font-size: clamp(150px, 13vw, 230px);
  }
  .kps-404-copy {
    max-width: none;
  }
  .kps-404-text {
    margin-left: 0;
    margin-right: 0;
  }
  .kps-404-cta,
  .kps-404-links {
    justify-content: flex-start;
  }
}
/* the pre-animation state only exists while JS is running, so the page is complete without it */
.kps-js .kps-404-char,
.kps-js .kps-404-line > span {
  opacity: 0;
}
@media (max-width: 767px) {
  .kps-404 {
    padding-top: 48px;
    padding-bottom: 70px;
  }
  .kps-404-inner {
    gap: 20px;
  }
  .kps-404-cta {
    gap: 12px;
  }
  .kps-404-cta .tf-btn {
    padding-left: 20px;
    padding-right: 20px;
  }
}
