/* =============================================================
   MAKIN Core – styles for the custom Elementor widgets.
   Uses the design tokens from the MAKIN theme (assets/css/main.css).
   ============================================================= */

/* ---------- Icon buttons ---------- */
.mk-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--mk-line-2);
  background: var(--mk-surface);
  color: var(--mk-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    color 0.2s;
  flex: none;
  padding: 0;
}
.mk-icon-btn:hover {
  border-color: var(--mk-ink);
} /* =============================================================
   SITE HEADER (widget: MAKIN Site Header)
   ============================================================= */
/* Fixed header: always pinned to the top of the window. The top bar slides
   up out of view once the visitor scrolls; the page content starts below
   the header (its height is measured by frontend.js). */
.mk-site-header {
  position: fixed;
  top: var(--mk-header-top, var(--wp-admin--admin-bar--height, 0px));
  left: 0;
  right: 0;
  z-index: 990;
  display: block;
  transition: transform 0.3s var(--mk-ease);
  will-change: transform;
}
.mk-site-header.is-scrolled {
  transform: translateY(calc(-1 * var(--mk-utility-h, 42px)));
}
body.mk-site:not(.mk-has-transparent-header) main#main {
  padding-top: var(--mk-masthead-h, 120px);
}
html {
  scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--mk-bar-h, 78px) + 24px);
}
.mk-lang ul a.mk-lang-missing {
  opacity: 0.55;
  font-style: normal;
}
.mk-lang ul a.mk-lang-missing small {
  text-transform: none;
  text-decoration: underline;
}
.mk-site-header .elementor,
.mk-site-header .e-con,
.mk-site-header .elementor-widget {
  --padding-top: 0;
  --padding-bottom: 0;
}
.mk-header {
  position: relative;
} /* Utility bar */
.mk-utility {
  background: var(--mk-slate-dark);
  color: var(--mk-on-night-muted);
  font-size: 14px;
  transition: background-color 0.3s;
}
.mk-utility .mk-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
}
.mk-utility a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.mk-utility-right {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.mk-utility-text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mk-learning {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 14px;
}
.mk-learning:hover {
  color: var(--mk-sand) !important;
}
.mk-learning .mki {
  font-size: 15px;
}
.mk-lang {
  position: relative;
}
.mk-lang > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  min-height: 42px;
  font-size: 14px;
  font-weight: 700;
  padding: 0 4px;
}
.mk-lang > button .mki {
  font-size: 16px;
}
.mk-lang ul {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 120;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-r-s);
  box-shadow: var(--mk-shadow-lg);
  min-width: 200px;
  display: none;
}
.mk-lang ul.open {
  display: block;
  animation: mkDrop 0.25s var(--mk-ease);
}
.mk-lang ul a {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--mk-ink);
  text-decoration: none;
  font-weight: 400;
}
.mk-lang ul a:hover {
  background: var(--mk-bg-2);
}
.mk-lang ul a[aria-current] {
  font-weight: 700;
}
.mk-show-sm {
  display: none;
}
.mk-utility-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 6px;
}
@media (max-width: 640px) {
  .mk-utility .mk-hide-sm {
    display: none;
  }
  .mk-utility .mk-show-sm {
    display: inline;
  }
  .mk-utility-text {
    display: none;
  }
} /* Main bar */
.mk-barwrap {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--mk-line);
  transition:
    box-shadow 0.3s,
    background-color 0.3s,
    border-color 0.3s;
}
:root[data-theme="dark"] .mk-barwrap {
  background: rgba(9, 21, 26, 0.9);
}
.mk-site-header.is-scrolled .mk-barwrap {
  box-shadow: 0 8px 30px -18px rgba(9, 21, 26, 0.35);
}
.mk-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 78px;
}
/* Logo on the left edge of the content; menu and buttons together on the
   right edge (as in the prototype). */
.mk-bar > .mk-logo {
  margin-left: 0;
  padding-left: 0;
}
.mk-bar > nav {
  margin-left: auto;
}
@media (max-width: 620px) {
  .mk-bar {
    gap: 10px;
  }
}
.mk-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
  line-height: 0;
}
body .mk-logo img {
  height: var(--mk-logo-h, 30px);
  width: auto;
  display: block;
}
.mk-logo .mk-logo-light {
  display: none;
}
:root[data-theme="dark"] .mk-logo .mk-logo-dark {
  display: none;
}
:root[data-theme="dark"] .mk-logo .mk-logo-light {
  display: block;
}
.mk-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.mk-menu > li {
  position: relative;
}
.mk-menu > li > a,
.mk-menu > li > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--mk-ink);
  text-decoration: none;
  font: 700 15px/1 var(--mk-text);
  background: none;
  border: 0;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.mk-menu > li > a:hover,
.mk-menu > li > button:hover,
.mk-menu > li > button[aria-expanded="true"] {
  background: var(--mk-bg-2);
}
.mk-menu > li > a[aria-current="page"],
.mk-menu > li > button.current {
  position: relative;
}
.mk-menu > li > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--mk-red);
  border-radius: 2px;
}
.mk-menu > li > button.current::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 30px;
  bottom: 4px;
  height: 2px;
  background: var(--mk-red);
  border-radius: 2px;
}
.mk-chev {
  transition: transform 0.25s;
  width: 12px;
  height: 12px;
}
[aria-expanded="true"] > .mk-chev {
  transform: rotate(180deg);
} /* Mega panel */
.mk-mega {
  position: fixed;
  left: 0;
  right: 0;
  top: auto;
  margin-top: 17px;
  background: var(--mk-surface);
  border-top: 1px solid var(--mk-line);
  border-bottom: 1px solid var(--mk-line);
  box-shadow: 0 30px 60px -30px rgba(9, 21, 26, 0.35);
  display: none;
  padding: 32px 0 36px;
}
.mk-mega.open {
  display: block;
  animation: mkDrop 0.28s var(--mk-ease);
}
@keyframes mkDrop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mk-mega-grid {
  display: grid;
  grid-template-columns: repeat(var(--mk-mega-cols, 3), minmax(0, 1fr)) minmax(0, 1.15fr);
  gap: 28px;
}
.mk-mega-grid.no-feature {
  grid-template-columns: repeat(var(--mk-mega-cols, 3), minmax(0, 1fr));
}
.mk-mega-h {
  font: 700 13px/1 var(--mk-text);
  letter-spacing: 0.04em;
  color: var(--mk-muted);
  margin: 0 0 12px;
  padding-left: 12px;
}
.mk-mega-col ul + .mk-mega-h {
  margin-top: 14px;
}
.mk-mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mk-mega-col a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--mk-r-s);
  text-decoration: none;
  color: var(--mk-ink);
  transition: background-color 0.2s;
}
.mk-mega-col a:hover,
.mk-mega-col a[aria-current="page"] {
  background: var(--mk-bg-2);
}
.mk-mega-col a strong {
  display: block;
  font-size: 15.5px;
  line-height: 1.35;
}
.mk-mega-col a span.mk-mega-desc {
  display: block;
  font-size: 14px;
  color: var(--mk-muted);
  line-height: 1.4;
}
.mk-mega-ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--mk-bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mk-ink);
}
.mk-mega-ic .mki {
  font-size: 20px;
}
.mk-mega-feature {
  position: relative;
  border-radius: var(--mk-r-m);
  overflow: hidden;
  min-height: 260px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  isolation: isolate;
}
body .mk-mega-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.mk-mega-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(9, 21, 26, 0.92), rgba(9, 21, 26, 0.1) 70%);
}
.mk-mega-feature div {
  padding: 22px;
  line-height: 1.5;
}
.mk-mega-feature strong {
  font-size: 19px;
}
.mk-mega-feature span {
  font-size: 14px;
  color: #dbd4ca;
} /* Simple dropdown */
.mk-drop {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 250px;
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-r-m);
  padding: 8px;
  list-style: none;
  margin: 0;
  display: none;
  box-shadow: var(--mk-shadow-lg);
}
.mk-drop.open {
  display: block;
  animation: mkDrop 0.25s var(--mk-ease);
}
.mk-drop a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--mk-ink);
  text-decoration: none;
  font-size: 15px;
}
.mk-drop a:hover,
.mk-drop a[aria-current="page"] {
  background: var(--mk-bg-2);
}
.mk-drop-h {
  font: 700 13px/1 var(--mk-text);
  letter-spacing: 0.04em;
  color: var(--mk-muted);
  padding: 12px 14px 6px;
  margin: 0;
}
.mk-hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mk-burger {
  display: none;
}
@media (max-width: 1180px) {
  .mk-burger {
    display: inline-flex;
  }
  .mk-hdr-actions {
    margin-left: auto;
  }
  .mk-hdr-actions .mk-btn {
    display: none;
  }
  .mk-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--mk-surface);
    border-bottom: 1px solid var(--mk-line);
    padding: 12px var(--mk-gutter) 24px;
    max-height: calc(100vh - 120px);
    overflow: auto;
    box-shadow: var(--mk-shadow-lg);
  }
  .mk-menu.open {
    display: flex;
  }
  .mk-menu > li > a,
  .mk-menu > li > button {
    width: 100%;
    font-size: 18px;
    min-height: 52px;
    border-radius: 12px;
    justify-content: space-between;
  }
  .mk-menu > li > a[aria-current="page"]::after {
    left: 14px;
    right: auto;
    width: 24px;
  }
  .mk-menu > li > button.current::after {
    right: auto;
    width: 24px;
  }
  .mk-mega,
  .mk-drop {
    position: static;
    margin: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 10px;
    animation: none;
  }
  .mk-mega .mk-wrap {
    padding: 0;
  }
  .mk-mega-grid,
  .mk-mega-grid.no-feature {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mk-mega-feature {
    display: none;
  }
  .mk-mega-col .mk-mega-h {
    margin-top: 8px;
  }
  .mk-mega-col .mk-mega-h-empty,
  .mk-mega-col .mk-mega-h-parent {
    display: none;
  }
} /* Transparent header (page setting "Transparent header") */
body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-utility {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-barwrap {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-logo .mk-logo-dark {
  display: none;
}
body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-logo .mk-logo-light {
  display: block;
}
@media (min-width: 1181px) {
  body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-menu > li > a,
  body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-menu > li > button {
    color: #fff;
  }
  body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-menu > li > a:hover,
  body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-menu > li > button:hover,
  body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-menu > li > button[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.12);
  }
  body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-hdr-actions .mk-btn-dark {
    background: #fff;
    color: var(--mk-slate-dark);
  }
}
body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-hdr-actions .mk-icon-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-hdr-actions .mk-icon-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
body.mk-has-transparent-header .mk-site-header:not(.is-scrolled) .mk-menu.open ~ * .mk-icon-btn {
  color: #fff;
} /* Search overlay */
.mk-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(9, 21, 26, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  padding: calc(var(--wp-admin--admin-bar--height, 0px) + 80px) 20px 20px;
}
.mk-search-overlay.open {
  display: block;
  animation: mkFadeIn 0.2s;
}
@keyframes mkFadeIn {
  from {
    opacity: 0;
  }
}
.mk-search-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--mk-surface);
  border-radius: var(--mk-r-l);
  box-shadow: var(--mk-shadow-lg);
  overflow: hidden;
}
.mk-search-box .top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--mk-line);
}
.mk-search-box .top > .mki {
  margin-left: 6px;
  color: var(--mk-muted);
  font-size: 20px;
}
.mk-search-box .top input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 19px;
  color: var(--mk-ink);
  background: transparent;
  border: 0;
  padding: 13px 6px;
  min-height: 52px;
}
.mk-search-box .top input:focus {
  outline: none;
}
.mk-results-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 60vh;
  overflow: auto;
}
.mk-results-list a {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--mk-ink);
}
.mk-results-list a:hover,
.mk-results-list a:focus {
  background: var(--mk-bg-2);
  outline: none;
}
.mk-results-list small {
  color: var(--mk-muted);
}
.mk-results-list .none {
  padding: 18px;
  color: var(--mk-muted);
} /* =============================================================
   WORKFLOW STEPS
   ============================================================= */
.mk-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 64px;
}
.mk-steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--mk-steps-line, var(--mk-night-line));
}
.mk-steps .mk-prog {
  position: absolute;
  left: 19px;
  top: 6px;
  width: 2px;
  height: 0;
  background: var(--mk-steps-active, var(--mk-red));
  transition: height 0.15s linear;
}
.mk-step {
  position: relative;
  padding: 0 0 clamp(52px, 6vw, 88px);
}
.mk-step:last-child {
  padding-bottom: 0;
}
.mk-step .mk-dot {
  position: absolute;
  left: -64px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mk-slate);
  border: 1px solid var(--mk-night-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 900 13px/1 var(--mk-display);
  color: var(--mk-on-night-muted);
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.mk-step.lit .mk-dot {
  background: var(--mk-steps-active, var(--mk-red));
  color: #fff;
  border-color: var(--mk-steps-active, var(--mk-red));
}
.mk-step h3 {
  margin-bottom: 12px;
  color: var(--mk-on-night);
}
.mk-step p {
  font-size: 17px;
  max-width: 46ch;
  color: var(--mk-on-night-muted);
}
.mk-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.mk-chip-row span,
.mk-chip-row a {
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--mk-night-line);
  color: var(--mk-on-night);
  text-decoration: none;
  line-height: 1.3;
  transition: border-color 0.2s;
}
.mk-chip-row a:hover {
  border-color: var(--mk-red);
} /* =============================================================
   SOLUTIONS EXPLORER
   ============================================================= */
.mk-explorer {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.mk-ex-tabs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 140px);
}
.mk-ex-group .mk-ex-h {
  font: 700 13px/1 var(--mk-text);
  letter-spacing: 0.04em;
  color: var(--mk-muted);
  margin: 0 0 8px 14px;
}
.mk-ex-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.mk-ex-tab {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  font: 700 16px/1.2 var(--mk-text);
  color: var(--mk-ink-2);
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.mk-ex-tab:hover {
  background: var(--mk-surface);
  color: var(--mk-ink);
}
.mk-ex-tab[aria-pressed="true"] {
  background: var(--mk-surface);
  border-color: var(--mk-line);
  color: var(--mk-ink);
  box-shadow: var(--mk-shadow);
}
.mk-ex-tab[aria-pressed="true"]::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mk-red);
  flex: none;
}
.mk-ex-panels {
  min-width: 0;
}
.mk-ex-panel {
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-r-l);
  overflow: hidden;
  box-shadow: var(--mk-shadow);
}
.mk-ex-panel[hidden] {
  display: none;
}
.mk-ex-media {
  position: relative;
  aspect-ratio: 2/1;
  background: var(--mk-sand);
}
body .mk-ex-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mk-ex-media .mk-tag {
  position: absolute;
  left: 20px;
  top: 20px;
}
.mk-ex-body {
  padding: clamp(24px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
}
.mk-ex-body h3 {
  margin-bottom: 14px;
  color: var(--mk-ink);
}
.mk-ex-body p {
  color: var(--mk-muted);
}
.mk-feat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}
.mk-feat-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--mk-bg);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.35;
  color: var(--mk-ink);
}
.mk-feat-list .mki {
  flex: none;
  color: var(--mk-red);
  font-size: 20px;
}
.mk-ex-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
body .mk-ex-panel.swap .mk-ex-media img,
.mk-ex-panel.swap .mk-ex-body {
  animation: mkFade 0.45s var(--mk-ease);
}
@media (max-width: 980px) {
  .mk-explorer {
    grid-template-columns: 1fr;
  }
  .mk-ex-tabs {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
  }
  .mk-ex-group {
    display: contents;
  }
  .mk-ex-group .mk-ex-h {
    display: none;
  }
  .mk-ex-group ul {
    display: contents;
  }
  .mk-ex-tab {
    white-space: nowrap;
    border-color: var(--mk-line);
    background: var(--mk-surface);
    width: auto;
  }
  .mk-ex-body {
    grid-template-columns: 1fr;
  }
} /* =============================================================
   IMAGE COLLAGE
   ============================================================= */
.mk-collage {
  position: relative;
  aspect-ratio: 1/1.02;
}
.mk-collage .mk-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--mk-r-l);
  background: var(--mk-sand);
}
body .mk-collage .mk-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mk-collage .a {
  position: absolute;
  inset: 0 16% 18% 0;
  border-radius: var(--mk-r-l);
  box-shadow: var(--mk-shadow-lg);
}
.mk-collage .b {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  aspect-ratio: 4/3;
  border-radius: var(--mk-r-m);
  border: 8px solid var(--mk-bg);
  box-shadow: var(--mk-shadow-lg);
}
body .mk-collage .b img {
  background: var(--mk-sand-light);
}
body .mk-collage .b.contain img {
  object-fit: contain;
}
.mk-collage .mk-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--mk-slate-dark);
  color: #fff;
  border-radius: var(--mk-r-m);
  padding: 18px 22px;
  box-shadow: var(--mk-shadow-lg);
  max-width: 210px;
}
.mk-collage .mk-badge strong {
  display: block;
  font: 900 40px/1 var(--mk-display);
  color: var(--mk-sand);
}
.mk-collage .mk-badge span {
  font-size: 14px;
  color: #dbd4ca;
  line-height: 1.35;
  display: block;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .mk-collage {
    max-width: 560px;
  }
} /* =============================================================
   OVERLAY IMAGE CARD
   ============================================================= */
.mk-ov-card {
  position: relative;
  border-radius: var(--mk-r-l);
  overflow: hidden;
  min-height: 440px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  text-decoration: none;
  background: var(--mk-slate-dark);
  height: 100%;
}
body .mk-ov-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--mk-ease);
}
.mk-ov-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(9, 21, 26, 0.95) 0%, rgba(9, 21, 26, 0.55) 45%, rgba(9, 21, 26, 0.05) 100%);
}
body a.mk-ov-card:hover img {
  transform: scale(1.05);
}
.mk-ov-card:hover {
  color: #fff;
}
.mk-ov-card .in {
  padding: 28px;
}
.mk-ov-card .num {
  font: 900 14px/1 var(--mk-display);
  color: var(--mk-sand);
  display: block;
  margin-bottom: 12px;
}
.mk-ov-card h3 {
  color: #fff;
}
.mk-ov-card p {
  color: #dbd4ca;
  margin: 10px 0 0;
  font-size: 15.5px;
}
@media (max-width: 900px) {
  .mk-ov-card {
    min-height: 340px;
  }
} /* =============================================================
   POSTS GRID (news and customer stories)
   ============================================================= */
.mk-toolbar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.mk-story-grid {
  display: grid;
  grid-template-columns: repeat(var(--mk-cols, 3), minmax(0, 1fr));
  gap: 28px 24px;
}
.mk-s-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--mk-ink);
}
.mk-s-card:hover {
  color: var(--mk-ink);
}
.mk-s-card .mk-frame-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--mk-r-m);
  background: var(--mk-sand);
  aspect-ratio: 3/2;
}
body .mk-s-card .mk-frame-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--mk-ease);
}
body .mk-s-card:hover .mk-frame-box img {
  transform: scale(1.04);
}
.mk-s-card:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--mk-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.mk-s-card .mk-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--mk-muted);
  flex-wrap: wrap;
}
.mk-s-card p {
  color: var(--mk-muted);
  font-size: 16px;
  margin: 0;
}
.mk-s-card .mk-frame-box .mk-tag {
  position: absolute;
  left: 14px;
  top: 14px;
}
.mk-s-card.big {
  grid-column: span 2;
}
.mk-s-card.big .mk-frame-box {
  aspect-ratio: 16/9;
}
.mk-s-card[hidden] {
  display: none;
}
.mk-no-posts {
  padding: 40px;
  text-align: center;
  border: 1.5px dashed var(--mk-line-2);
  border-radius: var(--mk-r-m);
  color: var(--mk-muted);
}
@media (max-width: 980px) {
  .mk-story-grid {
    grid-template-columns: repeat(min(var(--mk-cols, 3), 2), minmax(0, 1fr));
  }
  .mk-s-card.big {
    grid-column: span 2;
  }
}
@media (max-width: 620px) {
  .mk-story-grid {
    grid-template-columns: 1fr;
  }
  .mk-s-card.big {
    grid-column: auto;
  }
} /* =============================================================
   DEALER PICKER (home) and DEALER DIRECTORY
   ============================================================= */
.mk-dealers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}
.mk-dealers-intro > * + * {
  margin-top: 20px;
}
.mk-country-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mk-country-list button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  font: 700 16px/1 var(--mk-text);
  cursor: pointer;
  padding: 0 16px;
  text-align: left;
  color: var(--mk-ink);
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.mk-country-list button:hover {
  border-color: var(--mk-ink);
}
.mk-country-list button[aria-pressed="true"] {
  background: var(--mk-slate-dark);
  color: #fff;
  border-color: var(--mk-slate-dark);
}
.mk-country-list .n {
  font-weight: 400;
  font-size: 13px;
  color: var(--mk-muted);
  text-align: right;
  line-height: 1.25;
}
.mk-country-list button[aria-pressed="true"] .n {
  color: #b6b2ab;
}
.mk-dealer-card {
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 140px);
  border-radius: var(--mk-r-l);
  background: var(--mk-slate-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--mk-shadow-lg);
}
.mk-dealer-card .dc-img {
  aspect-ratio: 16/9;
  position: relative;
}
body .mk-dealer-card .dc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mk-dealer-card .dc-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--mk-slate-dark), rgba(9, 21, 26, 0) 60%);
}
.mk-dealer-card .dc-body {
  padding: 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px);
  margin-top: -40px;
  position: relative;
}
.mk-dealer-card .dc-country {
  font-size: 14px;
  color: var(--mk-sand);
  font-weight: 700;
  margin-bottom: 8px;
}
.mk-dealer-card h3 {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 46px);
}
.mk-dealer-card p {
  color: var(--mk-on-night-muted);
  margin: 14px 0 26px;
}
.mk-dealer-card .acts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .mk-dealers {
    grid-template-columns: 1fr;
  }
  .mk-dealer-card {
    position: static;
  }
}
@media (max-width: 420px) {
  .mk-country-list {
    grid-template-columns: 1fr;
  }
}
.mk-search-field {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}
.mk-search-field .mki {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mk-muted);
  font-size: 18px;
}
.mk-search-field input {
  font: inherit;
  font-size: 16px;
  color: var(--mk-ink);
  background: var(--mk-bg);
  border: 1.5px solid var(--mk-line-2);
  border-radius: 999px;
  padding: 13px 16px 13px 46px;
  min-height: 52px;
  width: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.mk-search-field input:focus {
  outline: none;
  border-color: var(--mk-slate-dark);
  box-shadow: 0 0 0 4px rgba(227, 6, 20, 0.18);
}
.mk-dir {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mk-dir-card {
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-r-m);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 190px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.mk-dir-card:hover {
  border-color: var(--mk-ink);
  box-shadow: var(--mk-shadow);
}
.mk-dir-card .c {
  font-size: 13.5px;
  color: var(--mk-earth);
  font-weight: 700;
}
:root[data-theme="dark"] .mk-dir-card .c {
  color: var(--mk-sand);
}
.mk-dir-card h3 {
  margin-bottom: auto;
  color: var(--mk-ink);
}
.mk-dir-card .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--mk-line);
  font-size: 14px;
}
.mk-dir-card[hidden] {
  display: none;
}
.mk-no-results {
  display: none;
  padding: 40px;
  text-align: center;
  border: 1.5px dashed var(--mk-line-2);
  border-radius: var(--mk-r-m);
  color: var(--mk-muted);
  margin-top: 18px;
}
@media (max-width: 900px) {
  .mk-dir {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 580px) {
  .mk-dir {
    grid-template-columns: 1fr;
  }
} /* =============================================================
   PRODUCT GALLERY
   ============================================================= */
.mk-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.mk-gallery figure {
  margin: 0;
}
.mk-gallery .mk-frame-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--mk-r-l);
  background: var(--mk-sand);
}
body .mk-gallery .mk-frame-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mk-gallery .g1 {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.mk-gallery .g1 .mk-frame-box {
  flex: 1;
  min-height: 340px;
}
.mk-gallery .g2 .mk-frame-box,
.mk-gallery .g3 .mk-frame-box {
  aspect-ratio: 16/10;
}
.mk-gallery.count-1 {
  grid-template-columns: 1fr;
}
.mk-gallery.count-1 .g1 {
  grid-row: auto;
}
.mk-gallery.count-1 .g1 .mk-frame-box {
  aspect-ratio: 2/1;
  flex: none;
  min-height: 0;
}
.mk-gallery.count-2 .g1 {
  grid-row: auto;
}
.mk-gallery.count-2 .mk-frame-box {
  aspect-ratio: 16/10 !important;
  flex: none !important;
  min-height: 0 !important;
}
.mk-cap {
  font-size: 14px;
  color: var(--mk-muted);
  margin-top: 10px;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .mk-gallery {
    grid-template-columns: 1fr;
  }
  .mk-gallery .g1 {
    grid-row: auto;
  }
  .mk-gallery .g1 .mk-frame-box {
    flex: none;
    aspect-ratio: 16/10;
    min-height: 0;
  }
} /* =============================================================
   ANCHOR SUB-NAVIGATION (solutions page)
   ============================================================= */
.mk-subnav {
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--mk-bar-h, 78px));
  z-index: 40;
  background: rgba(247, 246, 243, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mk-line);
}
:root[data-theme="dark"] .mk-subnav {
  background: rgba(9, 21, 26, 0.92);
}
.mk-subnav ul {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mk-subnav ul::-webkit-scrollbar {
  display: none;
}
.mk-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--mk-ink-2);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
}
.mk-subnav a:hover {
  background: var(--mk-surface);
}
.mk-subnav a.on {
  background: var(--mk-slate-dark);
  color: #fff;
}
.elementor-widget-makin-anchor-nav {
  position: sticky !important;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--mk-bar-h, 78px));
  z-index: 40;
}
.elementor-widget-makin-anchor-nav .mk-subnav {
  position: static;
}
/* The dealer card follows the visitor while the country list scrolls (desktop) */
@media (min-width: 901px) {
  .elementor-widget-makin-dealer-card {
    position: sticky !important;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 140px);
  }
}
.mk-dealer-card {
  position: relative;
  top: auto;
} /* =============================================================
   CONTACT FORM
   ============================================================= */
.mk-form-card {
  background: var(--mk-surface);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-r-l);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--mk-shadow);
}
.mk-frow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 620px) {
  .mk-frow {
    grid-template-columns: 1fr;
  }
}
.mk-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  min-width: 0;
  border: 0;
  padding: 0;
}
.mk-field label,
.mk-field legend {
  font-weight: 700;
  font-size: 15px;
  color: var(--mk-ink);
}
.mk-field legend {
  margin-bottom: 10px;
  padding: 0;
}
.mk-field input,
.mk-field select,
.mk-field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--mk-ink);
  background: var(--mk-bg);
  border: 1.5px solid var(--mk-line-2);
  border-radius: var(--mk-r-xs);
  padding: 13px 16px;
  min-height: 52px;
  width: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.mk-field textarea {
  min-height: 150px;
  resize: vertical;
}
.mk-field input:focus,
.mk-field select:focus,
.mk-field textarea:focus {
  outline: none;
  border-color: var(--mk-slate-dark);
  box-shadow: 0 0 0 4px rgba(227, 6, 20, 0.18);
}
.mk-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mk-topic-pills label {
  position: relative;
  font-weight: 400;
  cursor: pointer;
}
.mk-topic-pills input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  min-height: 0;
}
.mk-topic-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--mk-line-2);
  background: var(--mk-bg);
  font-weight: 700;
  font-size: 14.5px;
  transition: all 0.2s;
}
.mk-topic-pills input:checked + span {
  background: var(--mk-slate-dark);
  color: #fff;
  border-color: var(--mk-slate-dark);
}
.mk-topic-pills input:focus-visible + span {
  outline: 3px solid var(--mk-red);
  outline-offset: 2px;
}
.mk-err {
  display: none;
  color: #b00510;
  font-size: 14px;
}
:root[data-theme="dark"] .mk-err {
  color: #ff8a80;
}
.mk-field.invalid input,
.mk-field.invalid select,
.mk-field.invalid textarea {
  border-color: #b00510;
}
.mk-field.invalid .mk-err {
  display: block;
}
.mk-opt {
  font-weight: 400;
  color: var(--mk-muted);
}
.mk-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.mk-form-note {
  font-size: 14px;
  color: var(--mk-muted);
}
.mk-form-error {
  display: none;
  color: #b00510;
  font-size: 15px;
  margin: 0 0 14px;
}
.mk-form-error.show {
  display: block;
}
.mk-success {
  display: none;
}
.mk-success.show {
  display: block;
  animation: mkFade 0.5s var(--mk-ease);
}
.mk-success:focus {
  outline: none;
}
.mk-success .tick {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--mk-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.mk-success .tick .mki {
  font-size: 26px;
}
.mk-success h2 {
  margin-bottom: 12px;
  color: var(--mk-ink);
}
.mk-contact-form button[disabled] {
  opacity: 0.6;
  cursor: progress;
} /* =============================================================
   OPERATOR SCREEN (kept for later use – not placed on the home page)
   ============================================================= */
.mk-hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}
.mk-chip-float {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--mk-r-m);
  padding: 14px 18px;
  box-shadow: var(--mk-shadow-lg);
  font-size: 14px;
  color: var(--mk-slate-dark);
  margin: 0 0 14px auto;
  width: max-content;
  max-width: 100%;
  opacity: 0;
  animation: mkFade 0.8s 1.1s var(--mk-ease) forwards;
  line-height: 1.4;
}
.mk-chip-float strong {
  display: block;
  font-size: 15px;
}
.mk-chip-float span {
  color: #545a5c;
}
.mk-chip-float .dotlive {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ead6b;
  box-shadow: 0 0 0 5px rgba(46, 173, 107, 0.16);
  flex: none;
}
.mk-cab {
  background: rgba(9, 21, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: var(--mk-r-m);
  padding: 14px;
  box-shadow: var(--mk-shadow-lg);
  margin: 0;
  opacity: 0;
  animation: mkFade 1s 0.9s var(--mk-ease) forwards;
}
.mk-cab-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #b6b2ab;
  margin-bottom: 10px;
}
.mk-cab-top b {
  color: #fff;
  font: 900 13px/1 var(--mk-display);
}
.mk-cab svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #0e1c22;
}
.mk-cab-read {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.mk-cab-read div {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
}
.mk-cab-read small {
  display: block;
  font-size: 11px;
  color: #b6b2ab;
}
.mk-cab-read strong {
  font: 900 19px/1.2 var(--mk-display);
  font-variant-numeric: tabular-nums;
}
.mk-cab-read .ok {
  color: var(--mk-sand);
}
.mk-cab-cap {
  font-size: 11px;
  color: #9a968f;
  margin: 8px 2px 0;
}
@media (max-width: 720px) {
  .mk-hero-visual.hide-mobile {
    display: none;
  }
} /* Editor helpers */
.elementor-editor-active .mk-ex-panel[hidden] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .mk-chip-float,
  .mk-cab {
    opacity: 1;
  }
}

/* PDF icon in buttons is a little larger, as in the prototype */
.mk-btn .mki-download {
  font-size: 20px;
}

/* Instant translation (Google's website translator): hide Google's own
   toolbar, tooltips and highlight; the header's language menu is the UI. */
#mk-gt-el,
body > .skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-yAWNEb-L7lbkb {
  display: none !important;
}
body {
  top: 0 !important;
}
.goog-text-highlight,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q {
  background: none !important;
  box-shadow: none !important;
}
.mk-lang.is-translating > button {
  opacity: 0.6;
  cursor: progress;
}
