/* ==========================================================
   UZUN-KYR AYL OKMOTU — modern blue government theme
   Подключить после основного style.css
   ========================================================== */

:root {
  --uk-blue-950: #08224a;
  --uk-blue-900: #0a3370;
  --uk-blue-800: #0d448f;
  --uk-blue-700: #1260b3;
  --uk-blue-600: #1677d2;
  --uk-blue-500: #2294e6;
  --uk-blue-100: #eaf5ff;
  --uk-cyan-100: #dff6ff;
  --uk-text: #16233a;
  --uk-muted: #66758f;
  --uk-border: #d9e8f7;
  --uk-card: #ffffff;
  --uk-shadow: 0 16px 40px rgba(8, 34, 74, .12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", "Roboto Condensed", Arial, sans-serif;
  color: var(--uk-text);
  background:
    radial-gradient(circle at top left, rgba(34,148,230,.10), transparent 32rem),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 44%, #f6faff 100%);
}

.holder-box {
  max-width: 1280px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(34, 148, 230, .35);
  outline-offset: 3px;
}

/* ---------------- Header ---------------- */
.header {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(circle at 15% 10%, rgba(96, 190, 255, .28), transparent 28rem),
    linear-gradient(135deg, var(--uk-blue-950) 0%, var(--uk-blue-800) 55%, var(--uk-blue-700) 100%) !important;
  box-shadow: 0 18px 45px rgba(8, 34, 74, .18);
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(120deg, rgba(255,255,255,.18) 0 1px, transparent 1px),
    linear-gradient(30deg, rgba(255,255,255,.10) 0 1px, transparent 1px);
  background-size: 72px 72px;
}

.header .holder-box,
.header .cover-block,
.header .flex,
.header .custom-box,
.header .right-side,
.header .logo-cover {
  position: relative;
  z-index: 2;
}

.custom-box {
  padding: 10px 0 6px;
  margin-right: 0;
  font-size: 15px;
}

.custom-box a {
  color: rgba(255,255,255,.88);
}

.lang a {
  color: #fff;
  font-weight: 600;
}

.visually-impared a {
  color: rgba(255,255,255,.92);
}

.header hr {
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.logo-cover {
  justify-content: flex-start;
  padding: 10px 0 8px;
}

.logoImg {
  width: 58px;
  height: 58px;
  padding: 5px;
  margin-right: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.logoTxt {
  width: 18.5rem;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: .02em;
}

.mail-cover,
.phone-cover {
  align-items: center;
  margin-right: 22px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.mail-title {
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.mail-link,
.phone-link {
  color: #fff;
  font-weight: 600;
}

.search-form input {
  min-width: 300px;
  height: 46px;
  border-radius: 16px;
  padding-left: 18px;
  color: var(--uk-text);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), 0 8px 22px rgba(0,0,0,.08);
}

.search-form button {
  height: 46px;
  width: 48px;
}

/* ---------------- Navigation ---------------- */
section.navbar {
  background: transparent !important;
  box-shadow: none !important;
  min-height: 64px;
  margin-top: -2px;
}

#access,
#nav-toggle {
  background-color: transparent !important;
}

section.navbar #access > .menu > ul {
  gap: 10px;
}

#access a {
  color: rgba(255,255,255,.92) !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 14px;
}

#access a > span {
  padding: 1em 1.05em;
}

#access > .menu > ul > li > a:hover,
#access > .menu > ul > li.current_page_item > a,
#access > .menu > ul > li.current-menu-item > a,
#access > .menu > ul > li.current_page_ancestor > a,
#access > .menu > ul > li.current-menu-ancestor > a {
  background: rgba(255,255,255,.14) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

#access ul ul li {
  background: rgba(8,34,74,.98) !important;
  border-top-color: rgba(255,255,255,.12) !important;
}

#access ul ul a:hover {
  background: var(--uk-blue-700) !important;
}

#access > .menu > ul > li > ul:before {
  border-bottom-color: rgba(8,34,74,.98) !important;
}

/* ---------------- Hero / slider ---------------- */
.slider-banner {
  max-width: 1280px;
  margin: 34px auto 72px;
  padding: 0 15px;
}

.swiper-slider {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--uk-shadow);
}

.swiper-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,34,74,.72) 0%, rgba(13,68,143,.35) 42%, rgba(13,68,143,.05) 70%),
    radial-gradient(circle at 86% 18%, rgba(223,246,255,.35), transparent 20rem);
}

.slider-img {
  display: block;
  width: 100%;
  min-height: 430px;
  max-height: 560px;
  border-radius: 0 !important;
  object-fit: cover;
}

.slide-txt-cover {
  z-index: 3;
  top: 50%;
  left: 62px;
  transform: translateY(-50%);
  max-width: 560px;
  min-width: 260px;
  padding: 8px 0;
}

.slider-title {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-transform: none;
  text-shadow: 0 6px 20px rgba(0,0,0,.26);
}

.slider-desc {
  max-width: 520px;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  text-shadow: 0 4px 16px rgba(0,0,0,.26);
}

.swiper-pagination-bullet {
  width: 24px;
  height: 6px;
  border-radius: 20px;
  background: rgba(255,255,255,.65);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #fff;
  width: 44px;
}

.swiper-button-next,
.swiper-button-prev {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--uk-blue-800) !important;
  box-shadow: 0 10px 25px rgba(8,34,74,.18);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
  font-weight: 700;
}

/* ---------------- Titles ---------------- */
.title {
  position: relative;
  width: fit-content;
  max-width: calc(100% - 30px);
  margin: 58px auto 34px;
  color: var(--uk-text);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -.01em;
}

.title::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--uk-blue-700), var(--uk-blue-500));
}

/* ---------------- News cards ---------------- */
.content-cover,
.news-block-cover {
  gap: 24px;
  grid-row-gap: 24px;
}

.news-card {
  width: 100% !important;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--uk-border);
  border-radius: 24px;
  background: var(--uk-card);
  box-shadow: 0 12px 30px rgba(8,34,74,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22,119,210,.32);
  box-shadow: 0 20px 44px rgba(8,34,74,.14);
}

.news-card-img_cover,
.news-card-img {
  width: 100% !important;
  height: 205px;
  margin-bottom: 0;
}

.news-card-img {
  transition: transform .35s ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.045);
}

.news-info_cover {
  padding: 18px 20px 22px;
}

.news-card-date {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  margin-bottom: 9px;
  border-radius: 999px;
  color: var(--uk-blue-800);
  background: var(--uk-blue-100);
  font-size: 13px;
  font-weight: 600;
}

.news-card-heading {
  color: var(--uk-text);
  font-size: 19px;
  line-height: 1.32;
  margin-bottom: 12px;
}

.news-card-heading:hover {
  color: var(--uk-blue-700);
}

.news-card-txt {
  color: var(--uk-muted);
  line-height: 1.55;
}

.news-cards-btn,
.news-more,
.banner-box-inner a {
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--uk-blue-700), var(--uk-blue-500)) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(22,119,210,.22);
}

.news-cards-btn:hover,
.news-more:hover,
.banner-box-inner a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--uk-blue-800), var(--uk-blue-600)) !important;
}

/* ---------------- Documents / info blocks ---------------- */
section.docs-block {
  margin-top: 90px;
}

.docs-cover {
  gap: 20px;
}

.docs-cover .card,
.items-cover .item {
  border: 1px solid var(--uk-border) !important;
  border-left: 0 !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, #fff, #f9fcff);
  box-shadow: 0 12px 30px rgba(8,34,74,.08) !important;
}

.docs-cover .card::before,
.items-cover .item::before {
  content: "";
  display: block;
  width: 54px;
  height: 5px;
  margin-bottom: 14px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--uk-blue-700), var(--uk-blue-500));
}

.docs-cover .card span::after {
  background: var(--uk-blue-700) !important;
}

.docs-cover a,
.items-cover .item .item-title {
  color: var(--uk-text) !important;
}

.docs-cover a:hover,
.items-cover .item .item-title:hover {
  color: var(--uk-blue-700) !important;
}

/* ---------------- Footer ---------------- */
.footer {
  position: relative;
  margin-top: 90px;
  padding: 34px 0 16px;
  background:
    radial-gradient(circle at 85% 0%, rgba(34,148,230,.18), transparent 24rem),
    linear-gradient(135deg, var(--uk-blue-950), var(--uk-blue-900)) !important;
}

.footer ul li a:hover {
  color: var(--uk-cyan-100) !important;
  text-decoration: underline;
}

.copyright {
  color: rgba(255,255,255,.64);
}

/* ---------------- Tables / pagination ---------------- */
table .navigation a,
.news-nav-btn,
.news-nav-first-btn,
.news-nav-prev-btn,
.news-nav-next-btn,
.news-nav-last-btn {
  border-color: var(--uk-blue-700) !important;
  color: var(--uk-blue-700) !important;
  border-radius: 999px;
}

table .navigation a:hover,
.news-nav-btn:hover,
.news-nav-first-btn:hover,
.news-nav-prev-btn:hover,
.news-nav-next-btn:hover,
.news-nav-last-btn:hover {
  background: var(--uk-blue-700) !important;
  color: #fff !important;
}

/* ---------------- Responsive ---------------- */
@media screen and (max-width: 1100px) {
  section.navbar {
    min-height: 54px;
    padding-bottom: 10px;
  }

  #nav-toggle {
    margin: 8px 0 8px auto;
  }

  #access.active {
    padding: 10px;
    border-radius: 20px;
    background: rgba(8,34,74,.72) !important;
    backdrop-filter: blur(14px);
  }

  #access.active > .menu > ul > li > a > span {
    border: 0;
    box-shadow: none;
  }
}

@media screen and (max-width: 992px) {
  .slide-txt-cover {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 42px);
    text-align: center;
  }

  .swiper-slider::before {
    background: linear-gradient(180deg, rgba(8,34,74,.66), rgba(8,34,74,.34));
  }

  .docs-cover {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .logoImg {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .logoTxt {
    width: auto;
    font-size: 15px;
  }

  .slider-banner {
    margin: 20px auto 48px;
  }

  .slider-img {
    min-height: 360px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .docs-cover {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .custom-box {
    font-size: 13px;
  }

  .slider-title {
    font-size: 24px;
  }

  .slider-desc {
    font-size: 14px;
  }

  .news-card-img_cover,
  .news-card-img {
    height: 185px;
  }
}

/* ==========================================================
   FIX 16.06.2026: меню должно быть видно на светлой полосе
   ========================================================== */
section.navbar {
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid rgba(13, 68, 143, .12) !important;
  box-shadow: 0 14px 34px rgba(8, 34, 74, .08) !important;
  min-height: 58px;
  margin-top: 0;
  position: relative;
  z-index: 30;
}

section.navbar .holder-box {
  position: relative;
  z-index: 31;
}

#access,
#nav-toggle {
  background-color: transparent !important;
}

#access a {
  color: #0a3370 !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: 14px;
}

#access a > span {
  padding: 1em 1.05em;
}

#access > .menu > ul > li > a:hover,
#access > .menu > ul > li.current_page_item > a,
#access > .menu > ul > li.current-menu-item > a,
#access > .menu > ul > li.current_page_ancestor > a,
#access > .menu > ul > li.current-menu-ancestor > a {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0d448f, #1677d2) !important;
  box-shadow: 0 10px 24px rgba(22, 119, 210, .20);
}

#access > .menu > ul > li a:not(:only-child) > span:after {
  filter: brightness(0) saturate(100%) invert(18%) sepia(76%) saturate(1735%) hue-rotate(197deg) brightness(88%) contrast(94%);
}

#access > .menu > ul > li > a:hover:not(:only-child) > span:after,
#access > .menu > ul > li.current_page_item > a:not(:only-child) > span:after,
#access > .menu > ul > li.current-menu-item > a:not(:only-child) > span:after,
#access > .menu > ul > li.current_page_ancestor > a:not(:only-child) > span:after,
#access > .menu > ul > li.current-menu-ancestor > a:not(:only-child) > span:after {
  filter: brightness(0) invert(1);
}

#access ul ul li {
  background: rgba(8,34,74,.98) !important;
  border-top-color: rgba(255,255,255,.12) !important;
}

#access ul ul a {
  color: #ffffff !important;
}

#access ul ul a:hover {
  background: #1260b3 !important;
}

#access > .menu > ul > li > ul:before {
  border-bottom-color: rgba(8,34,74,.98) !important;
}

@media screen and (max-width: 1100px) {
  section.navbar {
    background: linear-gradient(135deg, #08224a, #0d448f) !important;
    padding: 10px 0;
  }

  #nav-toggle:before,
  #nav-toggle:after,
  #nav-toggle span {
    background-color: #ffffff !important;
  }

  #access.active {
    padding: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,.08) !important;
    backdrop-filter: blur(14px);
  }

  #access.active a {
    color: #ffffff !important;
  }
}
