/* 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 — as in reference: brand+utils row, then text nav with active pill */
.nk-header {
  background: #fff;
  border-bottom: 1px solid var(--nk-border);
}

.nk-header__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 8px;
}

.nk-brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.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;
  padding-top: 6px;
}
.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 {
  padding: 0 0 12px;
}
.nk-search-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  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: plain links + active blue pill (reference) */
.nk-nav {
  position: relative;
  margin: 0 0 4px;
  padding: 4px 0 14px;
}
.nk-nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: var(--nk-blue); border-radius: 6px;
  padding: 10px; cursor: pointer;
}
.nk-nav__burger span {
  display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 1px;
}
.nk-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
}
.nk-nav__list > li > a {
  display: block;
  padding: 8px 16px;
  color: var(--nk-blue);
  background: transparent;
  border-radius: 999px;
  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;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid var(--nk-border);
  border-radius: 10px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 240px;
  z-index: 30;
  box-shadow: 0 8px 24px rgba(15, 47, 102, 0.1);
}
.nk-nav__list > li { position: relative; }
.nk-nav__list > li:hover > .sub-menu { display: block; }
.nk-nav__list .sub-menu a {
  display: block;
  padding: 9px 16px;
  color: var(--nk-text);
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
  background: transparent;
}
.nk-nav__list .sub-menu a:hover {
  background: var(--nk-blue-soft);
  color: var(--nk-blue);
  text-decoration: none;
}

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

.nk-sidebar { display: flex; flex-direction: column; gap: 14px; }
.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%; }

/* 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: center;
  margin-bottom: 12px;
}
.nk-head-card__photo {
  width: 84px; height: 84px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.nk-head-card__role { font-size: 12px; color: var(--nk-muted); }
.nk-head-card__name { font-weight: 700; font-size: 14px; margin-top: 4px; line-height: 1.3; }

.nk-date-card {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--nk-blue);
}

.nk-useful-links { list-style: none; margin: 0; padding: 0; }
.nk-useful-links li + li { margin-top: 10px; }
.nk-useful-links a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--nk-text);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}
.nk-useful-links a:hover { color: var(--nk-blue); }
.nk-useful-links img { width: 36px; height: 36px; flex-shrink: 0; }

/* 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;
}
.nk-news__grid--list {
  grid-template-columns: 1fr;
}
.nk-news-card {
  background: #fff;
  border: 1px solid var(--nk-border);
  border-radius: var(--nk-radius);
  min-height: 140px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--nk-shadow);
}
.nk-news-card__link {
  display: block;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  height: 100%;
  position: relative;
  z-index: 1;
}
.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;
}
.nk-news-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.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;
  right: 8px;
  bottom: 8px;
  width: 56px !important;
  height: 56px !important;
  opacity: .12;
  pointer-events: none;
}

/* 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; }
.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: 8px;
}
.nk-footer__dev img { height: 16px; width: auto; filter: brightness(0) invert(1); }

/* 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' d='M15.5 14h-.8l-.3-.3A6.5 6.5 0 1 0 14 15.5l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z'/%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='M15.5 14h-.8l-.3-.3A6.5 6.5 0 1 0 14 15.5l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z'/%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: .85;
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='%23000' stroke-width='2'/%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%3Ccircle cx='12' cy='12' r='8' fill='none' stroke='%23000' stroke-width='2'/%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--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; }

/* 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);
}

/* 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__top { flex-direction: column; align-items: flex-start; }
  .nk-utils { justify-content: flex-start; padding-top: 0; }
  .nk-brand__title { font-size: 22px; }
  .nk-brand__logo img,
  .nk-brand__logo .custom-logo { width: 56px; height: 56px; }
  .nk-nav__burger { display: inline-block; margin-bottom: 8px; }
  .nk-nav__inner { display: none; }
  .nk-nav.is-open .nk-nav__inner { display: block; }
  .nk-nav__list { flex-direction: column; align-items: stretch; }
  .nk-nav__list > li > a { border-radius: 8px; }
  .nk-news__grid { grid-template-columns: 1fr; }
  .nk-footer__inner { flex-direction: column; align-items: flex-start; }
}
