/* Novokohanovsky — main styles */

:root {
  --nk-blue: #0047a8;
  --nk-blue-dark: #003a8c;
  --nk-blue-soft: #e8f0fb;
  --nk-bg: #f3f5f8;
  --nk-card: #ffffff;
  --nk-text: #1f2933;
  --nk-muted: #6b7280;
  --nk-border: #e5e9ef;
  --nk-footer: #0f2f66;
  --nk-radius: 8px;
  --nk-shadow: 0 1px 3px rgba(15, 47, 102, 0.06);
  --nk-max: 1180px;
  --nk-side: 280px;
  --nk-font: "Manrope", "Segoe UI", Tahoma, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--nk-font);
  color: var(--nk-text);
  background: var(--nk-bg);
  line-height: 1.55;
  font-size: 15px;
}

a { color: var(--nk-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.nk-page { min-height: 100vh; display: flex; flex-direction: column; }
.nk-main { flex: 1; padding: 20px 0 40px; }
.nk-container { width: min(100% - 32px, var(--nk-max)); margin: 0 auto; }

/* Header — brand left; utils + menu stacked right (reference) */
.nk-header {
  background: #fff;
  border-bottom: 1px solid var(--nk-border);
}

.nk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0 16px;
}

.nk-header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.nk-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 0 1 auto;
}
.nk-brand__logo img,
.nk-brand__logo .custom-logo {
  width: 72px; height: 72px; object-fit: contain;
}
.nk-brand__title {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--nk-blue);
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1.1;
}
.nk-brand__title:hover { text-decoration: none; color: var(--nk-blue-dark); }
.nk-brand__tagline { color: var(--nk-muted); font-size: 14px; margin-top: 6px; font-weight: 500; }

.nk-utils {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px 22px;
  color: #8a93a2;
  font-size: 13px;
}
.nk-utils__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}
.nk-utils__item:hover { color: var(--nk-blue); text-decoration: none; }
.nk-utils .nk-ico {
  width: 16px;
  height: 16px;
  color: #9aa3b2;
}

.nk-search-panel {
  width: 100%;
  max-width: 420px;
}
.nk-search-form {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nk-search-form input[type="search"] {
  flex: 1;
  border: 1px solid var(--nk-border);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
}

/* Primary nav: right under utils, active blue pill */
.nk-nav {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.nk-nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--nk-blue);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 60;
  transition: background .2s ease, transform .2s ease;
}
.nk-nav__burger:hover { background: var(--nk-blue-dark); }
.nk-nav__burger-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}
.nk-nav__burger-lines span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
.nk-nav.is-open .nk-nav__burger-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nk-nav.is-open .nk-nav__burger-lines span:nth-child(2) {
  opacity: 0;
}
.nk-nav.is-open .nk-nav__burger-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nk-nav__backdrop {
  display: none;
}
.nk-nav__panel-head {
  display: none;
}
.nk-nav__close {
  display: none;
}
.nk-nav__sub-toggle {
  display: none;
}
.nk-nav__inner {
  display: flex;
  justify-content: flex-end;
}
.nk-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 2px 4px;
}
.nk-nav__list > li > a {
  display: block;
  padding: 8px 14px;
  color: var(--nk-blue);
  background: transparent;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.3;
  transition: background .15s ease, color .15s ease;
}
.nk-nav__list > li > a:hover {
  background: var(--nk-blue-soft);
  color: var(--nk-blue-dark);
  text-decoration: none;
}
.nk-nav__list > .current-menu-item > a,
.nk-nav__list > .current_page_item > a,
.nk-nav__list > .current-menu-ancestor > a {
  background: var(--nk-blue);
  color: #fff;
  text-decoration: none;
}
.nk-nav__list > .current-menu-item > a:hover,
.nk-nav__list > .current_page_item > a:hover,
.nk-nav__list > .current-menu-ancestor > a:hover {
  background: var(--nk-blue-dark);
  color: #fff;
}
.nk-nav__list .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  right: auto;
  top: 100%;
  margin: 0;
  padding: 8px 0 0;
  min-width: 260px;
  z-index: 40;
  list-style: none;
  background: transparent;
  border: 0;
  box-shadow: none;
}
/* Invisible hover bridge so the pointer can reach the submenu */
.nk-nav__list .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
}
/* Card background behind items */
.nk-nav__list .sub-menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  bottom: 0;
  background: #fff;
  border: 1px solid var(--nk-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 47, 102, 0.1);
  z-index: -1;
}
.nk-nav__list > li { position: relative; }
.nk-nav__list > li:hover > .sub-menu,
.nk-nav__list > li:focus-within > .sub-menu { display: block; }
.nk-nav__list .sub-menu a {
  display: block;
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  color: var(--nk-text);
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  background: transparent;
}
.nk-nav__list .sub-menu > li:first-child > a { border-radius: 10px 10px 0 0; }
.nk-nav__list .sub-menu > li:last-child > a { border-radius: 0 0 10px 10px; }
.nk-nav__list .sub-menu a:hover {
  background: var(--nk-blue-soft);
  color: var(--nk-blue);
  text-decoration: none;
}
/* Near the right edge keep submenu inside the viewport */
.nk-nav__list > li:last-child > .sub-menu,
.nk-nav__list > li:nth-last-child(2) > .sub-menu {
  left: auto;
  right: 0;
}

/* Layout */
.nk-layout {
  display: grid;
  grid-template-columns: var(--nk-side) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.nk-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}
.nk-sidebar > :last-child {
  margin-top: auto;
}
.nk-content { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.nk-card {
  background: var(--nk-card);
  border: 1px solid var(--nk-border);
  border-radius: var(--nk-radius);
  padding: 16px;
  box-shadow: var(--nk-shadow);
}
.nk-card__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.nk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--nk-blue);
  color: #fff !important;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
}
.nk-btn:hover { background: var(--nk-blue-dark); }
.nk-btn--block { width: 100%; }
.nk-btn--ghost {
  background: #fff;
  color: var(--nk-blue) !important;
  border: 1px solid var(--nk-blue);
}
.nk-btn--ghost:hover {
  background: var(--nk-blue-soft);
  border-color: var(--nk-blue-dark);
  color: var(--nk-blue-dark) !important;
  text-decoration: none;
}

/* Documents archive */
.nk-docs__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.nk-docs__filter {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--nk-border);
  background: #fff;
  color: var(--nk-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.nk-docs__filter:hover,
.nk-docs__filter.is-active {
  background: var(--nk-blue);
  border-color: var(--nk-blue);
  color: #fff;
  text-decoration: none;
}
.nk-docs__back { margin: 0 0 14px; }
.nk-docs__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nk-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--nk-border);
  border-radius: var(--nk-radius);
  box-shadow: var(--nk-shadow);
}
.nk-doc-card__main { min-width: 0; flex: 1; }
.nk-doc-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--nk-muted);
}
.nk-doc-card__kind {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--nk-blue-soft);
  color: var(--nk-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.nk-doc-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}
.nk-doc-card__title a {
  color: inherit;
  text-decoration: none;
}
.nk-doc-card__title a:hover { color: var(--nk-blue); }
.nk-doc-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}
.nk-doc-download { margin: 12px 0 0; }

@media (max-width: 720px) {
  .nk-doc-card {
    flex-direction: column;
    align-items: stretch;
  }
  .nk-doc-card__actions { justify-content: flex-start; }
}

/* Sidebar menu */
.nk-card--menu { padding: 8px 0; }
.nk-side-menu { list-style: none; margin: 0; padding: 0; }
.nk-side-menu__item a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  color: var(--nk-text);
  border-bottom: 1px solid var(--nk-border);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.35;
}
.nk-side-menu__item:last-child a { border-bottom: 0; }
.nk-side-menu__item a:hover,
.nk-side-menu__item.is-active a {
  background: var(--nk-blue-soft);
  color: var(--nk-blue);
}

.nk-head-card__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.nk-head-card__photo {
  width: 84px;
  height: 110px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  background: #e8eef6;
}
.nk-head-card__role {
  font-size: 12px;
  color: #6f8bb8;
  margin-bottom: 4px;
}
.nk-head-card__name {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  color: var(--nk-blue);
}

.nk-aside-meta { padding: 16px; }
.nk-aside-meta__hr {
  border: 0;
  border-top: 1px solid var(--nk-border);
  margin: 14px 0;
}
.nk-date-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.nk-date-card__icon {
  color: var(--nk-blue);
  display: inline-flex;
  flex-shrink: 0;
}
.nk-date-card__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--nk-blue);
}
.nk-date-card__month {
  font-size: 15px;
  font-weight: 600;
}
.nk-date-card__day {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 2px 0;
}
.nk-date-card__year {
  font-size: 14px;
  font-weight: 600;
  opacity: .85;
}

.nk-links-card .nk-card__title { margin-bottom: 12px; }
.nk-useful-links { list-style: none; margin: 0; padding: 0; }
.nk-useful-links li + li { margin-top: 12px; }
.nk-useful-links a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--nk-text);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.3;
}
.nk-useful-links a:hover { color: var(--nk-blue); }
.nk-useful-links img { width: 36px; height: 36px; flex-shrink: 0; }
.nk-useful-links__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nk-useful-links__text strong {
  color: var(--nk-blue);
  font-size: 13px;
}
.nk-useful-links__text span {
  color: var(--nk-muted);
  font-size: 12px;
}

/* Slider */
.nk-slider {
  position: relative;
  border-radius: var(--nk-radius);
  overflow: hidden;
  min-height: 280px;
  background: #123;
}
.nk-slider__slide {
  display: none;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.nk-slider__slide.is-active { display: block; }
.nk-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,30,70,.72) 0%, rgba(0,30,70,.35) 55%, rgba(0,30,70,.15) 100%);
  color: #fff;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 70%;
}
.nk-slider__overlay h1 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 800;
}
.nk-slider__overlay p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  opacity: .95;
}
.nk-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.nk-slider__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  padding: 0;
}
.nk-slider__dots button.is-active { background: #fff; }
.nk-slider__arrows {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.nk-slider__arrows button {
  width: 34px; height: 34px;
  border: 0;
  border-radius: 4px;
  background: rgba(255,255,255,.9);
  color: var(--nk-blue);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* Welcome */
.nk-welcome h2 { margin: 0 0 12px; font-size: 20px; }
.nk-welcome__text { color: var(--nk-text); }
.nk-welcome__sign {
  margin: 16px 0 0;
  text-align: right;
  font-weight: 600;
  color: var(--nk-muted);
}

/* News */
.nk-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.nk-section-head h1,
.nk-section-head h2 {
  margin: 0;
  font-size: 22px;
}
.nk-section-head__link {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nk-news__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.nk-news__grid--list {
  grid-template-columns: 1fr;
}
.nk-news-card {
  background: #fff;
  border: 1px solid var(--nk-border);
  border-radius: var(--nk-radius);
  height: 100%;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--nk-shadow);
  display: flex;
}
.nk-news-card__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 14px 56px;
  color: inherit;
  text-decoration: none;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}
.nk-news-card__link:hover { text-decoration: none; }
.nk-news-card__date {
  display: inline-block;
  background: var(--nk-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.nk-news-card__kind {
  display: inline-block;
  margin: 0 0 8px 6px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--nk-blue-soft);
  color: var(--nk-blue);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  vertical-align: top;
}
.nk-news-card__kind--important,
.nk-entry__header .nk-news-card__kind--important {
  background: #fff3e0;
  color: #b45309;
}
.nk-news-card.is-important {
  border-color: #c5d6ef;
  box-shadow: 0 2px 10px rgba(0, 71, 168, .08);
}
.nk-entry__back {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--nk-border);
}
.nk-entry__back a {
  font-weight: 600;
  text-decoration: none;
}
.nk-entry__back a:hover { text-decoration: underline; }
.nk-news-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .01em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  word-break: break-word;
}
.nk-news-card__excerpt {
  margin: 8px 0 0;
  color: var(--nk-muted);
  font-size: 13px;
  text-transform: none;
  font-weight: 400;
}
.nk-news-card__icon {
  position: absolute !important;
  right: 10px;
  bottom: 8px;
  width: 52px !important;
  height: 52px !important;
  opacity: .12;
  pointer-events: none;
  margin: 0 !important;
}

/* Bottom widgets */
.nk-widgets-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 12px;
}
.nk-telegram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--nk-blue);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: var(--nk-radius);
  padding: 18px;
  min-height: 180px;
}
.nk-telegram__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
}
.nk-telegram img {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
  flex-shrink: 0;
}
.nk-gosuslugi__brand {
  font-weight: 800;
  color: var(--nk-blue);
  margin-bottom: 10px;
  font-size: 18px;
}
.nk-gosuslugi__brand span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--nk-text);
}
.nk-gosuslugi p { margin: 0 0 14px; font-size: 14px; color: var(--nk-muted); }

.nk-poll__option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}
.nk-poll__form .nk-btn { margin-top: 8px; }
.nk-poll__results { list-style: none; margin: 0; padding: 0; }
.nk-poll__results li {
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}
.nk-poll__bar {
  height: 8px;
  background: var(--nk-blue-soft);
  border-radius: 99px;
  overflow: hidden;
}
.nk-poll__bar i {
  display: block;
  height: 100%;
  background: var(--nk-blue);
}
.nk-poll__total { margin: 8px 0 0; color: var(--nk-muted); font-size: 13px; }

/* Entry */
.nk-entry__header { margin-bottom: 16px; }
.nk-entry__title { margin: 8px 0 0; font-size: 26px; line-height: 1.25; }
.nk-entry__content { font-size: 15px; }
.nk-entry__content p { margin: 0 0 1em; }

/* Document scans: full content width, ignore legacy fixed sizes */
.nk-entry--document .nk-entry__content {
  max-width: 100%;
}
.nk-entry--document .nk-entry__content > p {
  margin: 0 0 12px;
  text-align: center;
}
.nk-entry--document .nk-entry__content img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--nk-border);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 47, 102, .06);
}

/* Section child tiles */
.nk-section-tiles--after-content { margin-top: 24px; }
.nk-section-tiles__heading {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
}
.nk-section-tiles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.nk-tile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--nk-border);
  border-radius: var(--nk-radius);
  background: #f8fafc;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  min-height: 96px;
}
.nk-tile:hover {
  border-color: #c5d6ef;
  background: var(--nk-blue-soft);
  box-shadow: var(--nk-shadow);
  text-decoration: none;
  color: inherit;
}
.nk-tile__badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #eaf2fc 0%, #dce8f8 100%);
  border: 1px solid #c5d6ef;
  color: var(--nk-blue);
}
.nk-tile__badge svg {
  width: 28px;
  height: 28px;
  display: block;
}
.nk-tile:hover .nk-tile__badge {
  background: #fff;
  border-color: var(--nk-blue);
}
.nk-tile__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.nk-tile__title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: var(--nk-blue);
}
.nk-tile__excerpt {
  font-size: 13px;
  line-height: 1.4;
  color: var(--nk-muted);
}
.nk-tile__arrow {
  color: var(--nk-blue);
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
  margin-top: 2px;
}
@media (max-width: 720px) {
  .nk-section-tiles__grid { grid-template-columns: 1fr; }
}
.nk-entry__thumb { margin-bottom: 16px; border-radius: 6px; overflow: hidden; }
.nk-entry__thumb img { width: 100%; }

.nk-search-results { list-style: none; margin: 0; padding: 0; }
.nk-search-results li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--nk-border);
}
.nk-search-results span { color: var(--nk-muted); font-size: 13px; white-space: nowrap; }

/* Footer */
.nk-footer {
  background: var(--nk-footer);
  color: rgba(255,255,255,.88);
  padding: 18px 0;
  font-size: 13px;
}
.nk-footer a { color: #fff; }
.nk-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.nk-footer__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.nk-footer__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.nk-footer__dev {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
}
.nk-footer__dev-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 4px;
  padding: 2px 4px;
}
.nk-footer__dev-link:hover {
  opacity: .9;
  text-decoration: none;
}
.nk-footer__dev img {
  height: 36px;
  width: auto;
  display: block;
}

/* Icons (CSS) */
.nk-ico {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: currentColor;
  mask: no-repeat center / contain;
  -webkit-mask: no-repeat center / contain;
}
.nk-ico--pin { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E"); }
.nk-ico--eye { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 5C7 5 2.7 8.1 1 12c1.7 3.9 6 7 11 7s9.3-3.1 11-7c-1.7-3.9-6-7-11-7zm0 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 .001 6.001A3 3 0 0 0 12 9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 5C7 5 2.7 8.1 1 12c1.7 3.9 6 7 11 7s9.3-3.1 11-7c-1.7-3.9-6-7-11-7zm0 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10zm0-8a3 3 0 1 0 .001 6.001A3 3 0 0 0 12 9z'/%3E%3C/svg%3E"); }
.nk-ico--search { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M10.5 3.25a7.25 7.25 0 0 1 5.3 12.2l3.97 3.97a1 1 0 0 1-1.41 1.41l-3.97-3.97A7.25 7.25 0 1 1 10.5 3.25zm0 1.75a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M10.5 3.25a7.25 7.25 0 0 1 5.3 12.2l3.97 3.97a1 1 0 0 1-1.41 1.41l-3.97-3.97A7.25 7.25 0 1 1 10.5 3.25zm0 1.75a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11z'/%3E%3C/svg%3E"); }
.nk-ico--calendar { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E"); color: var(--nk-blue); width: 22px; height: 22px; }
.nk-ico--info,
.nk-ico--building,
.nk-ico--briefcase,
.nk-ico--doc,
.nk-ico--mail,
.nk-ico--people,
.nk-ico--shield,
.nk-ico--check,
.nk-ico--megaphone,
.nk-ico--flame {
  color: var(--nk-blue);
  background: transparent;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  mask: none;
  -webkit-mask: none;
  position: relative;
}
.nk-ico--info::before,
.nk-ico--building::before,
.nk-ico--briefcase::before,
.nk-ico--doc::before,
.nk-ico--mail::before,
.nk-ico--people::before,
.nk-ico--shield::before,
.nk-ico--check::before,
.nk-ico--megaphone::before,
.nk-ico--flame::before {
  content: "";
  position: absolute;
  inset: 3px;
  background: currentColor;
  opacity: .9;
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
}
.nk-ico--info::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 .001 20.001A10 10 0 0 0 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 .001 20.001A10 10 0 0 0 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}
.nk-ico--building::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3 4 9v12h6v-6h4v6h6V9l-8-6zm0 2.2L18 10v9h-2v-6H8v6H6v-9l6-4.8zM11 11h2v2h-2v-2zm0-3h2v2h-2V8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3 4 9v12h6v-6h4v6h6V9l-8-6zm0 2.2L18 10v9h-2v-6H8v6H6v-9l6-4.8zM11 11h2v2h-2v-2zm0-3h2v2h-2V8z'/%3E%3C/svg%3E");
}
.nk-ico--briefcase::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10 2h4a2 2 0 0 1 2 2v2h4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4V4a2 2 0 0 1 2-2zm0 4h4V4h-4v2zm-6 4v3h16V10H4zm0 5v5h16v-5H4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M10 2h4a2 2 0 0 1 2 2v2h4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4V4a2 2 0 0 1 2-2zm0 4h4V4h-4v2zm-6 4v3h16V10H4zm0 5v5h16v-5H4z'/%3E%3C/svg%3E");
}
.nk-ico--doc::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm1 7V3.5L19.5 9H15zM8 13h8v2H8v-2zm0 4h8v2H8v-2zm0-8h5v2H8V9z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm1 7V3.5L19.5 9H15zM8 13h8v2H8v-2zm0 4h8v2H8v-2zm0-8h5v2H8V9z'/%3E%3C/svg%3E");
}
.nk-ico--mail::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
.nk-ico--people::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16 11a3 3 0 1 0-2.83-4H13a3 3 0 1 0-5.65 1.5A4.5 4.5 0 0 0 3 13v2h2v-2a2.5 2.5 0 0 1 5 0v2h2v-2c0-.4-.08-.78-.22-1.13A3 3 0 0 0 16 11zm2.5 1A2.5 2.5 0 0 0 16 14.5V16h6v-1.5A2.5 2.5 0 0 0 18.5 12zM9 7a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16 11a3 3 0 1 0-2.83-4H13a3 3 0 1 0-5.65 1.5A4.5 4.5 0 0 0 3 13v2h2v-2a2.5 2.5 0 0 1 5 0v2h2v-2c0-.4-.08-.78-.22-1.13A3 3 0 0 0 16 11zm2.5 1A2.5 2.5 0 0 0 16 14.5V16h6v-1.5A2.5 2.5 0 0 0 18.5 12zM9 7a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3z'/%3E%3C/svg%3E");
}
.nk-ico--shield::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2 4 5v6.09C4 16.14 7.41 20.85 12 22c4.59-1.15 8-5.86 8-10.91V5l-8-3zm-1.2 13.3-3.1-3.1 1.4-1.4 1.7 1.7 4.1-4.1 1.4 1.4-5.5 5.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2 4 5v6.09C4 16.14 7.41 20.85 12 22c4.59-1.15 8-5.86 8-10.91V5l-8-3zm-1.2 13.3-3.1-3.1 1.4-1.4 1.7 1.7 4.1-4.1 1.4 1.4-5.5 5.5z'/%3E%3C/svg%3E");
}
.nk-ico--check::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-8.7 13.3-3.6-3.6 1.4-1.4 2.2 2.2 5.1-5.1 1.4 1.4-6.5 6.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-8.7 13.3-3.6-3.6 1.4-1.4 2.2 2.2 5.1-5.1 1.4 1.4-6.5 6.5z'/%3E%3C/svg%3E");
}
.nk-ico--megaphone::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 10v4h2l5 3V7L5 10H3zm13.5 2A4.5 4.5 0 0 0 14 8.1v7.8a4.5 4.5 0 0 0 2.5-3.9zM14 4.2v2.1a6.5 6.5 0 0 1 0 11.4v2.1A8.5 8.5 0 0 0 14 4.2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 10v4h2l5 3V7L5 10H3zm13.5 2A4.5 4.5 0 0 0 14 8.1v7.8a4.5 4.5 0 0 0 2.5-3.9zM14 4.2v2.1a6.5 6.5 0 0 1 0 11.4v2.1A8.5 8.5 0 0 0 14 4.2z'/%3E%3C/svg%3E");
}
.nk-ico--flame::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3.12 1.77-.36 3.6-1.21 3.6-3.3 0-.27-.02-.53-.07-.8.9 1.45 1.44 3.14 1.44 4.94 0 2.8-2.2 5.42-4.56 5.42z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3.12 1.77-.36 3.6-1.21 3.6-3.3 0-.27-.02-.53-.07-.8.9 1.45 1.44 3.14 1.44 4.94 0 2.8-2.2 5.42-4.56 5.42z'/%3E%3C/svg%3E");
}

.nk-side-menu .nk-ico { margin-top: 1px; width: 26px; height: 26px; flex-shrink: 0; }

/* Pagination */
.navigation.pagination { margin-top: 16px; }
.navigation.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.navigation.pagination a,
.navigation.pagination span {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--nk-border);
  background: #fff;
  color: var(--nk-text);
  text-decoration: none;
  padding: 0 10px;
}
.navigation.pagination .current { background: var(--nk-blue); color: #fff; border-color: var(--nk-blue); }

/* Photo gallery */
.nk-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.nk-photo {
  margin: 0;
  background: #fff;
  border: 1px solid var(--nk-border);
  border-radius: 6px;
  overflow: hidden;
}
.nk-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.nk-photo figcaption {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--nk-muted);
}

.nk-gallery-pager {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nk-gallery-pager__info {
  font-size: 13px;
  color: var(--nk-muted);
}
.nk-gallery-pager__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.nk-gallery-pager__btn,
.nk-gallery-pager__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid var(--nk-border);
  background: #fff;
  color: var(--nk-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.nk-gallery-pager__btn:hover,
.nk-gallery-pager__num:hover {
  border-color: var(--nk-blue);
  color: var(--nk-blue);
  text-decoration: none;
}
.nk-gallery-pager__num.is-current {
  background: var(--nk-blue);
  border-color: var(--nk-blue);
  color: #fff;
}
.nk-gallery-pager__btn.is-disabled {
  opacity: .45;
  pointer-events: none;
}

.nk-lightbox-open {
  overflow: hidden;
}
.nk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
  outline: none;
}
.nk-lightbox[hidden] {
  display: none;
}
.nk-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, .88);
}
.nk-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.nk-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  background: #111;
}
.nk-lightbox__caption {
  margin: 0;
  max-width: 640px;
  text-align: center;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  line-height: 1.4;
}
.nk-lightbox__counter {
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  font-weight: 600;
}
.nk-lightbox__close,
.nk-lightbox__nav {
  position: absolute;
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.nk-lightbox__close:hover,
.nk-lightbox__nav:hover {
  background: rgba(255, 255, 255, .22);
}
.nk-lightbox__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 28px;
  line-height: 1;
}
.nk-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 64px;
  border-radius: 8px;
  font-size: 36px;
  line-height: 1;
}
.nk-lightbox__nav--prev {
  left: 12px;
}
.nk-lightbox__nav--next {
  right: 12px;
}
.nk-lightbox__nav[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .nk-lightbox {
    padding: 56px 12px 24px;
  }
  .nk-lightbox__nav {
    width: 40px;
    height: 52px;
    font-size: 28px;
  }
  .nk-lightbox__nav--prev {
    left: 4px;
  }
  .nk-lightbox__nav--next {
    right: 4px;
  }
  .nk-lightbox__img {
    max-height: calc(100vh - 160px);
  }
}

/* CF7 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  border: 1px solid var(--nk-border);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  margin-bottom: 10px;
}
.wpcf7 input[type="submit"] {
  background: var(--nk-blue);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 980px) {
  .nk-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nk-widgets-row { grid-template-columns: 1fr; }
  .nk-layout { grid-template-columns: 1fr; }
  .nk-sidebar { order: 2; }
  .nk-content { order: 1; }
  .nk-slider__overlay { max-width: 90%; padding: 24px; }
  .nk-slider__overlay h1 { font-size: 26px; }
}

@media (max-width: 720px) {
  .nk-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 12px 16px;
    padding: 14px 0 14px;
  }
  .nk-brand { grid-column: 1; min-width: 0; }
  .nk-header__right {
    grid-column: 1 / -1;
    align-items: stretch;
    gap: 10px;
  }
  .nk-header__top { flex-direction: column; align-items: flex-start; }
  .nk-utils {
    justify-content: flex-start;
    padding-top: 0;
    gap: 8px 14px;
  }
  .nk-brand__title { font-size: 22px; }
  .nk-brand__logo img,
  .nk-brand__logo .custom-logo { width: 56px; height: 56px; }

  .nk-nav {
    position: static;
    width: auto;
    justify-content: flex-end;
  }
  .nk-nav__burger {
    display: inline-flex;
    position: absolute;
    top: 14px;
    right: 0;
  }
  .nk-brand {
    padding-right: 56px;
  }

  .nk-nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10, 22, 40, .55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
  }
  .nk-nav.is-open .nk-nav__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nk-nav__inner {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    z-index: 10001;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0;
    padding: 0 0 24px;
    background:
      linear-gradient(180deg, #f3f7fc 0%, #fff 120px),
      #fff;
    box-shadow: -12px 0 40px rgba(15, 47, 102, .18);
    transform: translateX(105%);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nk-nav.is-open .nk-nav__inner {
    transform: translateX(0);
  }

  .nk-nav__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--nk-border);
    position: sticky;
    top: 0;
    background: rgba(243, 247, 252, .96);
    backdrop-filter: blur(6px);
    z-index: 2;
  }
  .nk-nav__panel-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--nk-muted);
  }
  .nk-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: var(--nk-blue-soft);
    color: var(--nk-blue);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }
  .nk-nav__close:hover {
    background: var(--nk-blue);
    color: #fff;
  }

  .nk-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 14px 8px;
  }
  .nk-nav__list > li {
    position: relative;
  }
  .nk-nav__list > li > a {
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 16px;
    background: #fff;
    border: 1px solid transparent;
    box-shadow: 0 1px 0 rgba(15, 47, 102, .04);
  }
  .nk-nav__list > li > a:hover {
    border-color: #d7e4f5;
  }
  .nk-nav__list > .current-menu-item > a,
  .nk-nav__list > .current_page_item > a,
  .nk-nav__list > .current-menu-ancestor > a {
    background: var(--nk-blue);
    border-color: var(--nk-blue);
    box-shadow: 0 8px 18px rgba(0, 71, 168, .22);
  }

  /* Mobile accordion for submenus */
  .nk-nav__list > li.menu-item-has-children > a {
    padding-right: 44px;
  }
  .nk-nav__list > li.menu-item-has-children > .nk-nav__sub-toggle {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: var(--nk-blue-soft);
    color: var(--nk-blue);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease, background .15s ease, color .15s ease;
  }
  .nk-nav__list > li.menu-item-has-children.is-expanded > .nk-nav__sub-toggle {
    transform: rotate(180deg);
    background: var(--nk-blue);
    color: #fff;
  }
  .nk-nav__list > .current-menu-ancestor > .nk-nav__sub-toggle,
  .nk-nav__list > .current-menu-item > .nk-nav__sub-toggle {
    background: rgba(255, 255, 255, .2);
    color: #fff;
  }
  .nk-nav__list .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 4px 0 6px;
    padding: 4px;
    background: var(--nk-blue-soft);
    border-radius: 10px;
    box-shadow: none;
  }
  .nk-nav__list .sub-menu::before,
  .nk-nav__list .sub-menu::after {
    display: none;
  }
  .nk-nav__list > li:hover > .sub-menu,
  .nk-nav__list > li:focus-within > .sub-menu {
    display: none;
  }
  .nk-nav__list > li.is-expanded > .sub-menu {
    display: block;
  }
  .nk-nav__list .sub-menu a {
    padding: 11px 12px 11px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--nk-text);
  }
  .nk-nav__list .sub-menu > li:first-child > a,
  .nk-nav__list .sub-menu > li:last-child > a {
    border-radius: 8px;
  }
  .nk-nav__list .sub-menu a:hover {
    background: #fff;
  }

  body.nk-nav-open {
    overflow: hidden;
  }

  .nk-news__grid { grid-template-columns: 1fr; }
  .nk-footer__inner { flex-direction: column; align-items: flex-start; }
}
