/* Shared Knight Kings site extras */

/* Floating call button (left) + WhatsApp (right) */
#scf_phoneBtn {
  position: fixed;
  bottom: 45px;
  left: 25px;
  z-index: 101;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e8292f;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
  padding: 0;
  text-decoration: none;
}
#scf_phoneBtn img {
  width: 28px;
  height: 28px;
  display: block;
}
#scf_phoneBtn:hover { background: #161616; }
.float {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 45px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 42px;
  box-shadow: 2px 2px 3px #999;
  z-index: 101;
  padding: 3px;
}

/* Wide video banner / slider (sosparty-style) — full browser height below header */
.kk-video-banner {
  position: relative;
  width: 100%;
  background: #111;
  overflow: hidden;
  z-index: 1;
  margin-top: 90px; /* clear fixed header (90px desktop) */
  height: calc(100vh - 90px);
  height: calc(100dvh - 90px);
}
.kk-video-banner .kk-vb-track {
  position: relative;
  width: 100%;
  height: 100%;
  background: #111;
  overflow: hidden;
}
.kk-video-banner .kk-vb-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  overflow: hidden;
  background: #111;
}
.kk-video-banner .kk-vb-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.kk-video-banner .kk-vb-slide .kk-vb-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 3;
  background-size: cover;
  background-position: center;
  background-color: #111;
  opacity: 1;
  transition: opacity 0.45s ease;
}
/* Hide YouTube chrome once playback has started */
.kk-video-banner .kk-vb-slide.is-playing .kk-vb-thumb {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}
.kk-video-banner .kk-vb-player {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #111;
}
.kk-video-banner .kk-vb-player iframe,
.kk-video-banner .kk-vb-player > div {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 177.78%;
  min-height: 100%;
  border: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: #111;
}
@media (min-aspect-ratio: 16/9) {
  .kk-video-banner .kk-vb-player iframe,
  .kk-video-banner .kk-vb-player > div {
    min-width: 100%;
    min-height: 56.25vw;
    height: 56.25vw;
  }
}
.kk-video-banner .kk-vb-thumb {
  background-size: cover;
  background-position: center;
}
/* Blocks hover/click on the iframe so YouTube chrome stays hidden */
.kk-video-banner .kk-vb-shield {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: transparent;
  pointer-events: auto;
}
.kk-video-banner .kk-vb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.42) 100%);
  z-index: 5;
  pointer-events: none;
}
.kk-video-banner .kk-vb-caption {
  position: absolute;
  left: 40px;
  bottom: 28px;
  z-index: 8;
  color: #fff;
  max-width: min(480px, 58%);
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  pointer-events: none;
}
.kk-video-banner .kk-vb-caption strong {
  display: block;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.25;
  margin-bottom: 6px;
}
.kk-video-banner .kk-vb-caption span {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.kk-video-banner .kk-vb-sound {
  position: absolute;
  left: 22px;
  top: 18px;
  z-index: 9;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
  transition: opacity 0.25s ease, background 0.25s ease;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.kk-video-banner .kk-vb-sound:hover,
.kk-video-banner .kk-vb-sound:focus {
  opacity: 1;
  background: rgba(0, 0, 0, 0.42);
  outline: none;
}
.kk-video-banner .kk-vb-sound svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.kk-video-banner .kk-vb-sound .kk-vb-ico-off { display: none; }
.kk-video-banner .kk-vb-sound.is-muted .kk-vb-ico-on { display: none; }
.kk-video-banner .kk-vb-sound.is-muted .kk-vb-ico-off { display: block; fill: none; }
.kk-video-banner .kk-vb-start {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 14px 26px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.kk-video-banner .kk-vb-start[hidden] { display: none !important; }
.kk-video-banner .kk-vb-start:hover {
  background: rgba(232, 41, 47, 0.92);
  border-color: #e8292f;
}
.kk-video-banner .kk-vb-sound.is-waiting {
  opacity: 1;
  border-color: rgba(232, 41, 47, 0.85);
  background: rgba(232, 41, 47, 0.75);
  animation: kk-vb-pulse 1.4s ease-in-out infinite;
}
@keyframes kk-vb-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232, 41, 47, 0.45); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(232, 41, 47, 0); }
}
.kk-video-banner.kk-vb-needs-sound .kk-vb-shield {
  cursor: pointer;
}
.kk-video-banner .kk-vb-dots {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 8;
  display: flex;
  gap: 8px;
}
.kk-video-banner .kk-vb-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.45);
  padding: 0;
  cursor: pointer;
}
.kk-video-banner .kk-vb-dots button.active { background: #fff; }
.kk-video-banner .kk-vb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.kk-video-banner .kk-vb-nav:hover,
.kk-video-banner .kk-vb-nav:focus {
  opacity: 0.92;
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
  outline: none;
}
.kk-video-banner .kk-vb-nav.prev { left: 18px; }
.kk-video-banner .kk-vb-nav.next { right: 18px; }
.kk-video-banner .kk-vb-nav svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kk-video-banner .kk-vb-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 64px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(232, 41, 47, 0.92);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 1400px) {
  .kk-video-banner {
    margin-top: 66px; /* matches .header.style-center at this breakpoint */
    height: calc(100vh - 66px);
    height: calc(100dvh - 66px);
  }
}
@media (max-width: 768px) {
  .kk-video-banner .kk-vb-caption { left: 16px; bottom: 16px; max-width: 55%; }
  .kk-video-banner .kk-vb-sound { left: 12px; top: 12px; width: 36px; height: 36px; }
  .kk-video-banner .kk-vb-nav { width: 34px; height: 34px; opacity: 0.6; }
  .kk-video-banner .kk-vb-nav.prev { left: 10px; }
  .kk-video-banner .kk-vb-nav.next { right: 10px; }
  .kk-video-banner .kk-vb-nav svg { width: 14px; height: 14px; }
  #scf_phoneBtn { left: 14px; bottom: 20px; width: 48px; height: 48px; }
  .float { right: 14px; bottom: 20px; }
}

/* Wedding wide collage hero */
.kk-hero-collage {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 8px;
  width: 100%;
  height: 240px;
  margin: 10px 0 28px;
}
.kk-hero-collage .kk-c-cell {
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  min-height: 0;
}
.kk-hero-collage .kk-c-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  min-height: 0;
}
@media (max-width: 768px) {
  .kk-hero-collage {
    grid-template-columns: 1fr 1fr;
    height: 180px;
  }
  .kk-hero-collage .kk-c-stack { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
}

/* Our Verticals — equal icon row */
/* Our Verticals — solid fallback so no gray bleed at zoom / large TV */
.kk-home-verticals {
  background: #0c0c0c !important;
  overflow: hidden;
  isolation: isolate;
}
.kk-home-verticals > .bg {
  inset: 0 !important;
  left: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: #0c0c0c !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  transform: none !important;
  z-index: 0;
}
.kk-home-verticals > .bg .layer-bg-2 {
  inset: 0;
  background: rgba(8, 8, 8, 0.62) !important;
}
.kk-home-verticals > .container {
  position: relative;
  z-index: 1;
}
.kk-home-verticals .title-second {
  background: transparent !important;
  box-shadow: none !important;
}
.kk-home-verticals .title-second .title {
  background: transparent !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

/* Homepage sections — cover full width across zoom / TV / mobile */
body.kk-homepage,
.kk-homepage .wrap-over,
.kk-homepage .effect-push,
.kk-homepage .container-perspective {
  background-color: #101010;
}
.kk-homepage .section-fullpage {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background-clip: padding-box;
}
.kk-homepage .section-fullpage > .bg {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: scroll !important;
}

.kk-verticals .step-swich-link {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 12px 8px;
  font-size: 0;
}
.kk-verticals .step-swich-link > li,
.kk-verticals .step-swich-link .step-icon-item {
  float: none !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  width: 110px !important;
  max-width: 110px !important;
  min-width: 110px !important;
  margin: 0 4px 28px !important;
  vertical-align: top;
  box-sizing: border-box;
}
.kk-verticals .step-swich-link li .image {
  position: relative;
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto 14px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kk-verticals .step-swich-link li .image img {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  margin: 0 !important;
  /* Match light/white look of original step icons on dark bg */
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transform: translate(-50%, -50%);
}
.kk-verticals .step-swich-link li .image img.img-out {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.15);
}
.kk-verticals .step-swich-link li:hover .image img.img-in,
.kk-verticals .step-swich-link li.active .image img.img-in {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}
.kk-verticals .step-swich-link li:hover .image img.img-out,
.kk-verticals .step-swich-link li.active .image img.img-out {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: brightness(0) invert(1);
}
.kk-verticals .step-swich-link .step-icon-item .title {
  font-size: 12px !important;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.35);
}
.kk-verticals .kk-vert-link {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  text-decoration: underline;
  letter-spacing: 0.04em;
}
.kk-verticals .step-slider-item .image img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}
/* Large TV / ultra-wide */
@media (min-width: 1600px) {
  .kk-homepage .section-fullpage {
    padding-left: 0;
    padding-right: 0;
  }
  .kk-homepage .title-second.type-2 .title {
    font-size: clamp(48px, 4.2vw, 72px);
    line-height: 1.05;
  }
  .kk-homepage .container {
    max-width: 1400px;
  }
  .kk-verticals .step-swich-link > li,
  .kk-verticals .step-swich-link .step-icon-item {
    width: 120px !important;
    max-width: 120px !important;
    min-width: 120px !important;
  }
}
/* Tablet */
@media (max-width: 992px) {
  .kk-homepage .title-second.type-2 .title {
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.1;
  }
  .kk-homepage .section-fullpage {
    padding: 50px 0 60px;
  }
}
@media (max-width: 768px) {
  .kk-homepage .title-second.type-2 .title {
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.15;
  }
  .kk-homepage .section-fullpage {
    padding: 40px 0 48px;
  }
  .kk-verticals .step-swich-link > li,
  .kk-verticals .step-swich-link .step-icon-item {
    width: 84px !important;
    max-width: 84px !important;
    min-width: 84px !important;
    margin: 0 2px 20px !important;
  }
  .kk-verticals .step-swich-link li .image {
    width: 48px !important;
    height: 48px !important;
  }
  .kk-verticals .step-swich-link li .image img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
  }
}

/* Businesses — center last incomplete row */
#Services.kk-home-green .kk-biz-last-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#Services.kk-home-green .kk-biz-last-row > [class*="col-"] {
  float: none;
}
#Services.kk-home-green .card-item .image .bg {
  background-position: center center !important;
  background-size: cover !important;
}

/* Clients — one viewport: heading + all logos (5×5) */
.clients .title-second .title,
.clients.kk-home-gray .title-second .title {
  color: #221f1f !important;
}
#Clients.clients {
  --kk-clients-header: 90px;
  overflow: hidden;
  box-sizing: border-box;
  /* Full screen; top padding clears fixed header so nothing clips below */
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  scroll-margin-top: 0;
  padding: calc(var(--kk-clients-header) + 5px) 0 16px !important;
  display: flex;
  flex-direction: column;
}
#Clients.clients .title-second {
  flex: 0 0 auto;
  padding-top: 0;
  padding-bottom: 8px;
  margin-bottom: 0;
}
#Clients.clients .title-second .title {
  font-size: clamp(36px, 5vw, 56px) !important;
  line-height: 1.1 !important;
}
#Clients.clients .container {
  width: min(1170px, calc(100% - 80px)) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.kk-clients-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.kk-client-frame {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  border: 2px solid #d8d8d8;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
}
.kk-client-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 !important;
}
.kk-client-frame.kk-client-reserved {
  flex-direction: column;
  gap: 1px;
  border-style: dashed;
  border-color: #c4c4c4;
  background:
    linear-gradient(135deg, rgba(232, 41, 47, 0.06), rgba(255, 255, 255, 0.95) 45%, rgba(44, 154, 141, 0.08));
  padding: 4px 6px;
}
.kk-client-reserved .kk-reserved-label {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(11px, 1.35vw, 14px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6a6a6a;
  line-height: 1.2;
}
.kk-client-reserved .kk-reserved-for {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #221f1f;
  line-height: 1.15;
}
@media (max-width: 1400px) {
  #Clients.clients {
    --kk-clients-header: 66px;
  }
}
@media (max-width: 992px) {
  #Clients.clients .container {
    width: min(964px, calc(100% - 48px)) !important;
  }
  .kk-clients-grid {
    gap: 6px;
  }
  .kk-client-frame {
    padding: 4px;
    border-width: 1px;
  }
}
@media (max-width: 700px) {
  #Clients.clients {
    padding-bottom: 12px !important;
  }
  #Clients.clients .container {
    width: calc(100% - 24px) !important;
  }
  #Clients.clients .title-second {
    padding-bottom: 6px;
  }
  .kk-clients-grid {
    /* Keep 5 columns so 5 rows still fit one screen */
    gap: 4px;
  }
  .kk-client-frame {
    padding: 3px;
  }
  .kk-client-reserved .kk-reserved-label {
    font-size: 10px;
  }
  .kk-client-reserved .kk-reserved-for {
    font-size: 16px;
  }
}

/* Footer legal links (left) + copyright (right) */
.kk-footer-legal {
  float: left;
  font-size: 13px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.4);
  max-width: 60%;
}
.kk-footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
.kk-footer-legal a:hover {
  color: #fff;
}
.kk-footer-legal .kk-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.25);
}
.bottom-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.bottom-bar .copyright {
  float: none;
  margin-left: auto;
}
@media (max-width: 767px) {
  .bottom-bar .container {
    flex-direction: column;
    text-align: center;
  }
  .kk-footer-legal {
    float: none;
    max-width: 100%;
    width: 100%;
    text-align: center;
  }
  .bottom-bar .copyright {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

/* Legal / policy pages */
.kk-legal-page .kk-legal-content {
  max-width: 860px;
  margin: 0 auto 40px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}
.kk-legal-page .kk-legal-content h2 {
  font-size: 20px;
  margin: 28px 0 10px;
  color: #221f1f;
}
.kk-legal-page .kk-legal-content p,
.kk-legal-page .kk-legal-content li {
  margin-bottom: 12px;
}
.kk-legal-page .kk-legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.kk-legal-page .kk-legal-updated {
  color: #777;
  font-size: 13px;
  margin-bottom: 20px;
}
.kk-legal-page .kk-legal-content a {
  color: #2c9a8d;
}
.kk-sitemap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  max-width: 1000px !important;
}
.kk-sitemap .kk-sitemap-col h2 {
  margin-top: 0;
}
.kk-sitemap .kk-sitemap-col ul {
  list-style: none;
  padding: 0;
}
.kk-sitemap .kk-sitemap-col li {
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .kk-sitemap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .kk-sitemap { grid-template-columns: 1fr; }
}

/* About page — clear fixed header */
.kk-about-page {
  --kk-header-h: 90px;
}
.kk-about-page .kk-about-hero {
  padding-top: calc(var(--kk-header-h) + 30px);
}
@media (max-width: 1400px) {
  .kk-about-page {
    --kk-header-h: 66px;
  }
}

/* Contact page — first section = exact viewport height */
.kk-contact-page {
  --kk-header-h: 90px;
}
.kk-contact-page .content-load {
  padding-top: var(--kk-header-h); /* clear fixed header strip */
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.kk-contact-page .ajax-load-content,
.kk-contact-page .content-load-wrap,
.kk-contact-page .content-load-wrap.h-auto-desktop {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0 !important;
  height: 100% !important;
  max-height: none !important;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.kk-contact-page .content-load-wrap.h-auto-desktop {
  background: #f4f6f8;
}
.kk-contact-page .column-mini-baner.contact-baner {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0 !important;
  height: 100% !important;
  background: transparent !important;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  align-items: stretch;
  box-sizing: border-box;
}
.kk-contact-page .kk-contact-form::after {
  content: "";
  display: table;
  clear: both;
}
.kk-contact-page .section-fullpage {
  padding-top: 0;
  margin-top: 0;
}
.kk-contact-page .section-fullpage .title-counter {
  padding-top: 36px;
  padding-bottom: 24px;
}
.kk-contact-page .kk-network-section .blog-item.full-w {
  margin-bottom: 40px;
  text-align: center;
}
.kk-contact-page .kk-network-map {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
.kk-contact-page .kk-network-map img {
  display: block;
  width: 852px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.kk-contact-page .column-mini-baner.contact-baner > .bg {
  display: none;
}
.kk-contact-page .about-mini-desc {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  /* Extra bottom padding biases centered content upward (~24px) */
  padding: 4px 36px 52px !important;
  background: #1a1f2c;
  border-radius: 0;
  box-sizing: border-box;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  margin: 0 !important;
  overflow: auto;
}
.kk-contact-page .service-mini-img {
  width: 100% !important;
  float: none !important;
  position: relative !important;
  min-height: 100%;
  height: 100%;
  padding: 0 0 48px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}
.kk-contact-page .service-mini-img > .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.kk-contact-page .service-mini-img .mini-slider-layer {
  background: linear-gradient(160deg, rgba(26,31,44,0.88), rgba(26,31,44,0.55));
}
.kk-contact-page .service-mini-img .address-item {
  position: relative;
  z-index: 2;
  top: auto !important;
  transform: none !important;
  -webkit-transform: none !important;
  padding: 28px 32px !important;
  color: #fff;
  margin-top: 0;
}
.kk-contact-page .sub-mini-title.xs {
  color: rgba(255,255,255,0.65) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 6px;
}
.kk-contact-page .mini-title-h4 {
  color: #fff !important;
  font-size: clamp(24px, 3.2vw, 34px);
  margin-bottom: 16px;
  line-height: 1.15;
}
.kk-contact-page .kk-contact-form .column-50,
.kk-contact-page .kk-contact-form .column-100 {
  margin-bottom: 0;
  padding-right: 12px !important;
  box-sizing: border-box;
}
.kk-contact-page .kk-contact-form .input-label {
  margin-bottom: 0;
}
.kk-contact-page .kk-contact-form .input-label .input-field {
  margin-bottom: 10px !important;
}
.kk-contact-page .kk-contact-form label {
  color: rgba(255,255,255,0.72) !important;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
  line-height: 1.2;
}
.kk-contact-page .kk-contact-form .input-field {
  margin: 0;
  padding: 0;
}
.kk-contact-page .kk-contact-form .input-field input,
.kk-contact-page .kk-contact-form .input-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  height: 38px !important;
  line-height: 1.3 !important;
  font-size: 14px !important;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.kk-contact-page .kk-contact-form .input-field textarea {
  height: auto !important;
  min-height: 72px;
  padding: 10px 12px !important;
  resize: vertical;
}
.kk-contact-page .kk-contact-form .input-field input:focus,
.kk-contact-page .kk-contact-form .input-field textarea:focus {
  border-color: rgba(255,255,255,0.55) !important;
  background: rgba(255,255,255,0.1) !important;
}
.kk-contact-page .kk-contact-form .input-field input::placeholder,
.kk-contact-page .kk-contact-form .input-field textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.kk-contact-page .kk-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 15px !important;
}
.kk-contact-page .kk-btn-wa,
.kk-contact-page .kk-btn-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}
.kk-contact-page .kk-btn-wa {
  background: #25d366;
}
.kk-contact-page .kk-btn-wa:hover { background: #1ebe57; color: #fff; }
.kk-contact-page .kk-btn-mail {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
}
.kk-contact-page .kk-btn-mail:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.kk-contact-page .kk-contact-form > p {
  margin-top: 10px !important;
}
.kk-contact-page .mini-adr-item {
  position: relative;
  width: 100%;
  padding-bottom: 24px;
  margin-bottom: 0;
}
.kk-contact-page .mini-adr-item:last-child {
  padding-bottom: 0;
}
.kk-contact-page .mini-adr-item > span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  /* margin-bottom: 6px; */
}
.kk-contact-page .mini-adr-item a,
.kk-contact-page .mini-adr-item li,
.kk-contact-page .mini-adr-item ul li {
  color: #fff;
  font-size: 18px !important;
  line-height: 1.4;
}
.kk-contact-page .kk-contact-form .input-label label {
  padding-bottom: 0;
  padding-top: 10px;
}
.kk-contact-page .mini-adr-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Registered Office: company name larger/bold; address ~5px narrower */
.kk-contact-page .mini-adr-item ul:has(strong) {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}
.kk-contact-page .mini-adr-item ul:has(strong) li:first-child,
.kk-contact-page .mini-adr-item ul:has(strong) li:first-child strong {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #fff;
}
.kk-contact-page .mini-adr-item ul:has(strong) li:first-child {
  display: block;
  width: max-content;
  max-width: 100%;
}
.kk-contact-page .mini-adr-item ul:has(strong) li:first-child + li {
  display: block;
  width: calc(100% - 5px);
  max-width: calc(100% - 5px);
  font-size: 16px !important;
  line-height: 1.35 !important;
  box-sizing: border-box;
}
@media (max-width: 1400px) {
  .kk-contact-page {
    --kk-header-h: 66px;
  }
}
@media (max-width: 992px) {
  .kk-contact-page .content-load {
    height: auto;
    max-height: none;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }
  .kk-contact-page .ajax-load-content,
  .kk-contact-page .content-load-wrap,
  .kk-contact-page .content-load-wrap.h-auto-desktop,
  .kk-contact-page .column-mini-baner.contact-baner {
    height: auto !important;
    min-height: 0 !important;
  }
  .kk-contact-page .column-mini-baner.contact-baner {
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .kk-contact-page .service-mini-img {
    min-height: 360px;
    height: auto;
    padding: 0 0 24px !important;
  }
  .kk-contact-page .about-mini-desc {
    padding: 24px 20px 40px !important;
    justify-content: center;
    height: auto;
    min-height: calc(100vh - var(--kk-header-h));
    min-height: calc(100dvh - var(--kk-header-h));
  }
  .kk-contact-page .service-mini-img .address-item {
    padding: 24px 20px !important;
  }
}

/* ========== Portfolio gallery tabs ========== */
.kk-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 4px auto 32px;
}
.kk-gallery-tab {
  appearance: none;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 36px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.kk-gallery-tab:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.kk-gallery-tab.is-active {
  background: #fff;
  border-color: #fff;
  color: #111;
}
@media (max-width: 767px) {
  .kk-gallery-tab {
    font-size: 16px;
    padding: 12px 22px;
    letter-spacing: 0.1em;
  }
}
.kk-gallery-panel {
  display: none;
}
.kk-gallery-panel.is-active {
  display: block;
}
.kk-gallery-page .kk-gallery-panel .kk-gallery {
  margin-bottom: 40px;
}
.kk-portfolio-videos-status {
  grid-column: 1 / -1;
  margin: 24px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  letter-spacing: 0.04em;
}
.kk-portfolio-videos-more {
  margin: 8px auto 48px;
  text-align: center;
  max-width: 820px;
}
.kk-portfolio-videos-more[hidden] {
  display: none !important;
}
.kk-portfolio-videos-more-note {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  letter-spacing: 0.03em;
}
.kk-portfolio-videos-more-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.kk-portfolio-videos-more-btn {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 22px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.kk-portfolio-videos-more-btn:hover,
.kk-portfolio-videos-more-btn:focus {
  background: #fff;
  border-color: #fff;
  color: #111;
  outline: none;
}

/* ========== Gallery grid + lightbox ========== */
.kk-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 30px;
  clear: both;
  float: none;
  box-sizing: border-box;
}
/* Homepage Gallery: exactly 2 rows (6 items at 3 columns) */
.kk-gallery.kk-gallery-home {
  margin-bottom: 20px;
}
.row > .kk-gallery {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 15px;
  padding-right: 15px;
}
.kk-gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.kk-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}
.kk-gallery-thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}
.kk-gallery-item:hover .kk-gallery-thumb {
  transform: scale(1.06);
}
.kk-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35));
  opacity: 0.65;
  pointer-events: none;
}
.kk-gallery-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.85);
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.kk-gallery-play::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.kk-gallery-item.is-video .kk-gallery-thumb {
  filter: saturate(0.95);
}
body.kk-lightbox-open {
  overflow: hidden;
}
.kk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.kk-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.kk-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.82);
  backdrop-filter: blur(6px);
}
.kk-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 56px);
  transform: scale(0.72);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.kk-lightbox.is-open .kk-lightbox-dialog {
  transform: scale(1);
  opacity: 1;
}
.kk-lightbox-dialog.is-video {
  width: min(1000px, 100%);
}
.kk-lightbox-content {
  background: #0b0d12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.kk-lightbox-content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 56px);
  object-fit: contain;
  background: #0b0d12;
}
.kk-lightbox-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.kk-lightbox-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.kk-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 28px;
  line-height: 40px;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.kk-lightbox-close:hover {
  background: #a7060f;
  color: #fff;
}
@media (max-width: 992px) {
  .kk-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .kk-gallery {
    grid-template-columns: 1fr;
  }
  .kk-lightbox {
    padding: 16px;
  }
  .kk-lightbox-close {
    top: -8px;
    right: -4px;
  }
}

/* ========== Shared footer contact (sitewide, not fullscreen) ========== */
.kk-footer-contact {
  width: 100%;
  margin: 0;
  padding: 0;
}
.kk-footer-contact .content-load-wrap,
.kk-footer-contact .content-load-wrap.h-auto-desktop {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  background: #f4f6f8;
}
.kk-footer-contact .column-mini-baner.contact-baner {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  align-items: stretch;
}
.kk-footer-contact .column-mini-baner.contact-baner > .bg {
  display: none;
}
.kk-footer-contact .about-mini-desc {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding: 36px 36px 40px !important;
  background: #1a1f2c;
  box-sizing: border-box;
  height: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 !important;
}
.kk-footer-contact .service-mini-img {
  width: 100% !important;
  float: none !important;
  position: relative !important;
  min-height: 100%;
  height: auto;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  overflow: hidden;
}
.kk-footer-contact .service-mini-img > .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.kk-footer-contact .service-mini-img .mini-slider-layer {
  background: linear-gradient(160deg, rgba(26,31,44,0.88), rgba(26,31,44,0.55));
}
.kk-footer-contact .service-mini-img .address-item {
  position: relative;
  z-index: 2;
  top: auto !important;
  transform: none !important;
  -webkit-transform: none !important;
  padding: 36px 32px !important;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}
.kk-footer-contact .sub-mini-title.xs {
  color: rgba(255,255,255,0.65) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 6px;
}
.kk-footer-contact .mini-title-h4 {
  color: #fff !important;
  font-size: clamp(24px, 3.2vw, 34px);
  margin-bottom: 16px;
  line-height: 1.15;
}
.kk-footer-contact .kk-contact-form .column-50,
.kk-footer-contact .kk-contact-form .column-100 {
  margin-bottom: 0;
  padding-right: 12px !important;
  box-sizing: border-box;
}
.kk-footer-contact .kk-contact-form .input-label {
  margin-bottom: 0;
}
.kk-footer-contact .kk-contact-form .input-label .input-field {
  margin-bottom: 10px !important;
}
.kk-footer-contact .kk-contact-form label,
.kk-footer-contact .kk-contact-form .input-label label {
  color: rgba(255,255,255,0.72) !important;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
  line-height: 1.2;
  float: none;
  padding-bottom: 0;
  padding-top: 10px;
}
.kk-footer-contact .kk-contact-form .input-field input,
.kk-footer-contact .kk-contact-form .input-field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  height: 38px !important;
  line-height: 1.3 !important;
  font-size: 14px !important;
  box-sizing: border-box;
  outline: none;
}
.kk-footer-contact .kk-contact-form .input-field textarea {
  height: auto !important;
  min-height: 72px;
  padding: 10px 12px !important;
  resize: vertical;
}
.kk-footer-contact .kk-contact-form .input-field input:focus,
.kk-footer-contact .kk-contact-form .input-field textarea:focus {
  border-color: rgba(255,255,255,0.55) !important;
  background: rgba(255,255,255,0.1) !important;
}
.kk-footer-contact .kk-contact-form .input-field input::placeholder,
.kk-footer-contact .kk-contact-form .input-field textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.kk-footer-contact .kk-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 15px !important;
}
.kk-footer-contact .kk-btn-wa,
.kk-footer-contact .kk-btn-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}
.kk-footer-contact .kk-btn-wa { background: #25d366; }
.kk-footer-contact .kk-btn-wa:hover { background: #1ebe57; color: #fff; }
.kk-footer-contact .kk-btn-mail {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
}
.kk-footer-contact .kk-btn-mail:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.kk-footer-contact .kk-contact-note {
  margin-top: 10px !important;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.kk-footer-contact .mini-adr-item {
  position: relative;
  width: 100%;
  padding-bottom: 24px;
  margin-bottom: 0;
}
.kk-footer-contact .mini-adr-item:last-child { padding-bottom: 0; }
.kk-footer-contact .mini-adr-item > span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.kk-footer-contact .mini-adr-item a,
.kk-footer-contact .mini-adr-item li,
.kk-footer-contact .mini-adr-item ul li {
  color: #fff;
  font-size: 18px !important;
  line-height: 1.4;
}
.kk-footer-contact .mini-adr-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Registered Office: company name larger/bold; address ~5px narrower */
.kk-footer-contact .mini-adr-item ul:has(strong) {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}
.kk-footer-contact .mini-adr-item ul:has(strong) li:first-child,
.kk-footer-contact .mini-adr-item ul:has(strong) li:first-child strong {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #fff;
}
.kk-footer-contact .mini-adr-item ul:has(strong) li:first-child {
  display: block;
  width: max-content;
  max-width: 100%;
}
.kk-footer-contact .mini-adr-item ul:has(strong) li:first-child + li {
  display: block;
  width: calc(100% - 5px);
  max-width: calc(100% - 5px);
  font-size: 16px !important;
  line-height: 1.35 !important;
  box-sizing: border-box;
}
.kk-footer-contact .kk-contact-form::after {
  content: "";
  display: table;
  clear: both;
}
@media (max-width: 992px) {
  .kk-footer-contact .column-mini-baner.contact-baner {
    grid-template-columns: 1fr;
  }
  .kk-footer-contact .service-mini-img {
    min-height: 360px;
  }
  .kk-footer-contact .about-mini-desc {
    padding: 28px 20px 32px !important;
  }
  .kk-footer-contact .service-mini-img .address-item {
    padding: 28px 20px !important;
  }
}

/* Homepage Testimonials */
.kk-testimonials.section-fullpage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}
.kk-testimonials > .container {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-sizing: border-box;
}
.kk-testimonials .title-second {
  flex: 0 0 auto;
  padding-bottom: 0;
  margin-bottom: 40px;
}
.kk-testimonials .testi-container {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center; /* vertically center testimonials under the heading */
  min-height: 0;
  width: 100%;
}
.kk-testimonials .testi-container > .row {
  width: 100%;
  margin: 0;
}
.kk-testimonials .tumbs-item {
  display: none !important;
}
.kk-testimonials .kk-testi-swiper {
  overflow: hidden;
  width: 100%;
}
.kk-testimonials .testi-slide {
  padding-top: 0;
  padding-bottom: 40px;
  margin-top: 0;
}
.kk-testimonials .kk-testi-arrow {
  position: absolute;
  top: 50%;
  z-index: 30;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  padding: 0;
  line-height: 46px;
  text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.kk-testimonials .kk-testi-arrow:hover,
.kk-testimonials .kk-testi-arrow:focus {
  background: rgba(232, 41, 47, 0.9);
  border-color: #e8292f;
  outline: none;
  color: #fff;
}
.kk-testimonials .kk-testi-arrow i {
  font-size: 18px;
  line-height: 46px;
  pointer-events: none;
}
.kk-testimonials .kk-testi-prev {
  left: 0;
}
.kk-testimonials .kk-testi-next {
  right: 0;
}
@media (max-width: 992px) {
  .kk-testimonials .kk-testi-arrow {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    line-height: 38px;
  }
  .kk-testimonials .kk-testi-arrow i {
    font-size: 14px;
    line-height: 38px;
  }
  .kk-testimonials .kk-testi-prev {
    left: 4px;
  }
  .kk-testimonials .kk-testi-next {
    right: 4px;
  }
  .kk-testimonials .testi-slide {
    padding-left: 50px;
    padding-right: 20px;
  }
}
