/* Directions block: cleaner cards and consistent rhythm */
.directions-wall .jux-news-wall-pro,
.directions-wall .jux-news-wall-pro * {
  box-sizing: border-box;
}

.directions-wall .jux-news-wall-pro .item,
.directions-wall .jux-news-wall-pro .jux-item,
.directions-wall .jux-news-wall-pro .news-item {
  background: #ffffff;
  border: 1px solid #e7edf3;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.directions-wall .jux-news-wall-pro .item:hover,
.directions-wall .jux-news-wall-pro .jux-item:hover,
.directions-wall .jux-news-wall-pro .news-item:hover {
  transform: translateY(-4px);
  border-color: #cbd9e6;
  box-shadow: 0 14px 30px rgba(20, 60, 90, 0.12);
}

.directions-wall .jux-news-wall-pro img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.directions-wall .jux-news-wall-pro .item-content,
.directions-wall .jux-news-wall-pro .content,
.directions-wall .jux-news-wall-pro .news-content {
  padding: 18px 18px 20px;
}

.directions-wall .jux-news-wall-pro h3,
.directions-wall .jux-news-wall-pro h4,
.directions-wall .jux-news-wall-pro .title {
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.35;
  color: #12324c;
}

.directions-wall .jux-news-wall-pro p,
.directions-wall .jux-news-wall-pro .desc,
.directions-wall .jux-news-wall-pro .description {
  margin: 0;
  color: #4b6378;
  line-height: 1.6;
}

.directions-wall .jux-news-wall-pro .readmore,
.directions-wall .jux-news-wall-pro .btn,
.directions-wall .jux-news-wall-pro a.readmore {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #0f5f9a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.directions-wall .jux-news-wall-pro .readmore:hover,
.directions-wall .jux-news-wall-pro .btn:hover,
.directions-wall .jux-news-wall-pro a.readmore:hover {
  background: #0d507f;
  color: #ffffff;
}

@media (max-width: 768px) {
  .directions-wall .jux-news-wall-pro .item-content,
  .directions-wall .jux-news-wall-pro .content,
  .directions-wall .jux-news-wall-pro .news-content {
    padding: 14px 14px 16px;
  }
}

/* Zones page: keep menu above tabs and avoid overlap */
body.itemid-155 #sp-header,
body.itemid-155 .sticky-wrapper,
body.itemid-155 .sp-megamenu-wrapper {
  position: relative;
  z-index: 1000;
}

body.itemid-155 #sp-main-body,
body.itemid-155 .item-page {
  position: relative;
  z-index: 1;
}

body.itemid-155 .djtabs {
  clear: both;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

/* Header layout: logo left, contact info right */
@media (min-width: 1200px) {
  #sp-header-topbar #sp-logo {
    order: 1;
    flex: 0 0 auto;
    max-width: none;
  }

  #sp-header-topbar #sp-logo .sp-column {
    justify-content: flex-start !important;
  }

  #sp-header-topbar #sp-contact {
    order: 2;
    flex: 1 1 auto;
    max-width: 100%;
  }

  #sp-header-topbar #sp-social {
    order: 3;
    flex: 0 0 auto;
    max-width: none;
  }

  #sp-header-topbar #sp-social .sp-column,
  #sp-header-topbar #sp-social .social-wrap {
    justify-content: flex-end !important;
  }

  #sp-header-topbar .sp-contact-info {
    justify-content: flex-end;
    text-align: right;
  }
}

/* Header nav: use only DJ Mega Menu and keep it horizontal */
body #sp-header nav.sp-megamenu-wrapper,
body #sp-header nav.sp-megamenu-wrapper.d-flex {
  display: none !important;
}

#sp-header .dj-megamenu-wrapper {
  display: block !important;
  width: 100% !important;
}

#sp-header .dj-megamenu {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  width: 100% !important;
}

#sp-header .dj-megamenu > li {
  float: none !important;
  flex: 0 0 auto;
}

#sp-header .dj-megamenu > li > a {
  padding-left: 10px !important;
  padding-right: 10px !important;
  height: auto !important;
  min-height: 48px;
}

#sp-header .dj-megamenu > li > a,
#sp-header .dj-megamenu > li > a .dj-drop,
#sp-header .dj-megamenu > li > a .title,
#sp-header .dj-megamenu > li > a .name {
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

#sp-header .dj-megamenu > li > a .dj-drop {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

#sp-header .menu-with-offcanvas,
#sp-header .menu-with-offcanvas .sp-module,
#sp-header .menu-with-offcanvas .sp-module-content {
  width: 100% !important;
}

/* Header nav alignment and mobile adaptation */
#sp-header .dj-megamenu {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

#sp-header .dj-megamenu > li > a {
  white-space: nowrap !important;
}

#sp-header .tk-lang-module .mod-languages {
  margin-left: 14px;
}

#sp-header .tk-lang-module .mod-languages__list {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
}

#sp-header .tk-lang-module .mod-languages__list > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sp-header .tk-lang-module .mod-languages__list > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 44px;
  border-radius: 4px;
  border: 0;
  background: transparent;
}

#sp-header .tk-lang-module .mod-languages__list > li.lang-active > a {
  border-color: transparent;
}

@media (min-width: 1200px) {
  #sp-header .tk-header-row {
    width: 100%;
    justify-content: flex-start !important;
    gap: 20px;
  }

  #sp-header .tk-nav-module {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  #sp-header .tk-lang-module {
    order: 2;
    flex: 0 0 auto;
  }

  #sp-header .tk-toggler-wrap {
    display: none !important;
  }
}

@media (max-width: 1199.98px) {
  #sp-header .col-lg-3.col-6.d-block.d-xl-none {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
  }

  #sp-header .col-lg-9.col-6.col-xl-12 {
    width: auto;
    max-width: none;
    flex: 1 1 auto;
  }

  #sp-header .tk-header-row {
    justify-content: flex-end !important;
    gap: 10px;
  }

  #sp-header .tk-nav-module {
    display: none !important;
  }

  #sp-header .tk-lang-module .mod-languages {
    margin-left: 0;
  }

  #sp-header .tk-lang-module .mod-languages__list {
    gap: 5px;
  }

  #sp-header .tk-lang-module .mod-languages__list > li > a {
    width: 56px;
    height: 40px;
  }

  #sp-header .tk-toggler-wrap {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  #sp-header .offcanvas-toggler-secondary {
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
  }

  #sp-header .menu-with-offcanvas .logo img {
    height: 52px !important;
    width: auto;
  }
}

@media (max-width: 575.98px) {
  #sp-header .menu-with-offcanvas .logo img {
    height: 44px !important;
  }

  #sp-header .tk-lang-module .mod-languages__list > li > a {
    width: 52px;
    height: 36px;
  }
}

/* Real header DOM mapping: language + DJ menu live inside .menu-with-offcanvas */
@media (min-width: 1200px) {
  #sp-header .menu-with-offcanvas > .sp-module:nth-of-type(2) {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  #sp-header .menu-with-offcanvas > .sp-module:first-of-type {
    order: 2;
    flex: 0 0 auto;
    margin-left: 14px;
  }

  #sp-header .ms-3.ps-2 {
    display: none !important;
  }
}

@media (max-width: 1199.98px) {
  #sp-header .menu-with-offcanvas > .sp-module:nth-of-type(2) {
    display: none !important;
  }

  #sp-header .menu-with-offcanvas > .sp-module:first-of-type {
    margin-left: 0;
  }

  #sp-header .ms-3.ps-2 {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}

/* Final header style: no contact strip, clean one-line nav */
#sp-header-topbar {
  display: none !important;
}

#sp-header {
  border-bottom: 1px solid #e1e8f0;
  background: #ffffff;
}

#sp-header .row {
  align-items: center;
  flex-wrap: nowrap !important;
}

#sp-header .menu-with-offcanvas .mod-languages__list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

#sp-header .menu-with-offcanvas .mod-languages__list > li {
  list-style: none;
}

#sp-header .menu-with-offcanvas .mod-languages__list > li > a {
  border: 0;
  border-radius: 4px;
  padding: 2px;
  display: inline-flex;
}

#sp-header .menu-with-offcanvas .mod-languages__list > li > a img {
  width: 36px;
  height: 24px;
}

#sp-header .menu-with-offcanvas .mod-languages__list > li.lang-active > a {
  border-color: transparent;
}

#sp-header .dj-megamenu > li > a {
  font-weight: 600;
  color: #163654;
  min-height: 56px;
}

#sp-header .dj-megamenu > li:hover > a,
#sp-header .dj-megamenu > li.current > a,
#sp-header .dj-megamenu > li.active > a {
  color: #0b4da2;
}

/* BESK-like final menu style */
#sp-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e9f0 !important;
}

#sp-header .container,
#sp-header .container-inner {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#sp-header .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#sp-header .row > [class*='col-'] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#sp-header .col-lg-3.col-6 {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}

#sp-header .col-lg-3.col-6 .logo img {
  height: 72px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}

#sp-header .col-lg-9.col-6.col-xl-12 {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 > .d-flex {
  justify-content: space-between !important;
  align-items: center !important;
  width: 100%;
  gap: 0;
}

#sp-header .col-lg-9.col-6.col-xl-12 .menu-with-offcanvas {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .menu-with-offcanvas .sp-module,
#sp-header .col-lg-9.col-6.col-xl-12 .menu-with-offcanvas .sp-module-content {
  width: auto !important;
  max-width: none !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .menu-with-offcanvas > .sp-module:first-of-type {
  order: 2;
  flex: 0 0 auto !important;
  width: auto !important;
  margin-left: 16px;
  margin-right: 0 !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .menu-with-offcanvas > .sp-module:first-of-type .sp-module-content {
  width: auto !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .menu-with-offcanvas > .sp-module:nth-of-type(2) {
  order: 1;
  flex: 1 1 auto !important;
  min-width: 0;
  width: auto !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu-wrapper {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  background-image: none !important;
  border-radius: 0;
}

#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li > a,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li > a .dj-drop,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li > a .title,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li > a .name {
  background-color: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu {
  width: auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px;
  overflow: visible !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li > a {
  color: #000000 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  line-height: 1.15;
  min-height: 54px;
  padding: 0 12px !important;
  display: inline-flex;
  align-items: center;
  border: 0 !important;
  box-shadow: none !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li.current > a,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li.active > a,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li:hover > a {
  color: #000000 !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li::before,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li::after,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li > a::before,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li > a::after,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu .dj-up_a {
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .dj-subwrap,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-subwrap-in,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-subcol,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li a,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li .title,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li .name {
  background: #ffffff !important;
  background-image: none !important;
  color: #000000 !important;
  border: 0 !important;
  box-shadow: none !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li a:hover,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li.hover > a,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li.active > a,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li.current > a {
  color: #000000 !important;
  background: #f7f7f7 !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .mod-languages {
  display: block !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .mod-languages__list {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .mod-languages__list > li > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 60px !important;
  height: 44px !important;
  border: 0 !important;
  border-radius: 3px !important;
  padding: 2px !important;
  background: transparent;
}

#sp-header .col-lg-9.col-6.col-xl-12 .mod-languages__list > li > a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#sp-header .col-lg-9.col-6.col-xl-12 .mod-languages__list > li.lang-active > a {
  border-color: transparent !important;
}

@media (max-width: 1199.98px) {
  #sp-header .col-lg-3.col-6 .logo img {
    height: 50px !important;
    max-width: calc(100vw - 150px) !important;
  }

  #sp-header .menu-with-offcanvas > .dj-megamenu-wrapper {
    display: none !important;
  }

  #sp-header .col-lg-9.col-6.col-xl-12 .menu-with-offcanvas > .sp-module:nth-of-type(2) {
    display: none !important;
  }

  #sp-header .col-lg-9.col-6.col-xl-12 .menu-with-offcanvas > .sp-module:first-of-type {
    margin-left: 0;
  }

  #sp-header .col-lg-9.col-6.col-xl-12 .mod-languages__list > li > a {
    width: 52px !important;
    height: 38px !important;
    padding: 1px !important;
  }
}

/* Home: key metrics block readability fix */
#sp-tsifry .tk.tk-sec.tk-metrics {
  background: #f5f8fc;
  border: 1px solid #dde6f1;
  border-radius: 14px;
  padding: 26px;
}

#sp-tsifry .tk.tk-sec.tk-metrics .tk-h2 {
  color: #12324c !important;
}

#sp-tsifry .tk.tk-sec.tk-metrics .tk-metric {
  background: #ffffff !important;
  border: 1px solid #dbe5f0;
}

#sp-tsifry .tk.tk-sec.tk-metrics .tk-metric-v {
  color: #12324c !important;
}

#sp-tsifry .tk.tk-sec.tk-metrics .tk-metric-l {
  color: #4b6378 !important;
}

/* Vacancies: table inside DJ-Tabs */
table.tk-vacancies {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 15px;
}

table.tk-vacancies th,
table.tk-vacancies td {
  padding: 12px 14px;
  border: 1px solid #dbe5f0;
  text-align: left;
  vertical-align: top;
}

table.tk-vacancies th {
  background: #f5f8fc;
  color: #12324c;
  font-weight: 600;
}

table.tk-vacancies td:first-child {
  font-weight: 600;
  color: #0a2540;
}

table.tk-vacancies th:last-child,
table.tk-vacancies td:last-child {
  width: 70px;
  text-align: center;
}

@media (max-width: 767px) {
  .djtabs-body-in:has(> table.tk-vacancies),
  .accordion-body:has(> table.tk-vacancies) {
    overflow-x: auto;
  }

  table.tk-vacancies {
    min-width: 640px;
  }
}

/* DJ-Tabs with "truncate titles: no": show full tab names and let tabs wrap */
.djtabs.full-titles:not(.accordion) > .tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  height: auto;
}

.djtabs.full-titles:not(.accordion) > .tabs-wrapper .djtabs-title-wrapper {
  float: none;
  width: auto !important;
}

.djtabs.full-titles:not(.accordion) > .tabs-wrapper .djtabs-title {
  width: auto !important;
  max-width: none !important;
  padding: 0 16px;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

/* Service zones page (menu item 155): the map block is the page itself */
.itemid-155 .tk-zones__all {
  display: none;
}

.itemid-155 #sp-tsifry {
  padding-top: 40px;
}

.itemid-155 #sp-main-body {
  padding: 0;
}

.itemid-155 #sp-main-body .article-details {
  display: none;
}

/* Language flags: keep them close together (links were fixed 60px wide around 17px flags) */
#sp-header .col-lg-9.col-6.col-xl-12 .mod-languages__list {
  gap: 8px !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .mod-languages__list > li > a {
  width: auto !important;
  height: auto !important;
  padding: 4px 2px !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .mod-languages__list > li > a img {
  width: 22px !important;
  height: 15px !important;
  object-fit: cover;
}

/* Home hero: gap below the header menu */
.tk-hero {
  margin-top: 28px;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .tk-hero {
    margin-top: 16px;
  }
}

/* Article cards (mod_articles_category, layout "tkcards") */
.tk-cards {
  padding: 10px 0 30px;
}

.tk-cards__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 22px;
}

.tk-cards__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  color: #0a2540;
}

.tk-cards__more {
  font-weight: 600;
  color: #0b4da2;
  white-space: nowrap;
}

.tk-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tk-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #0a2540;
  text-decoration: none;
}

.tk-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b4da2, #0a2540);
}

.tk-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.tk-card:hover .tk-card__media img {
  transform: scale(1.04);
}

.tk-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
}

.tk-card__date {
  font-size: 13px;
  color: #5b6b7f;
}

.tk-card__title {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tk-card:hover .tk-card__title {
  color: #0b4da2;
}

.tk-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: #44546a;
}

/* news: four in a row */
.tk-cards--news .tk-cards__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* tiles: title over the photo */
.tk-cards--tiles .tk-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.tk-cards--tiles .tk-card__media {
  border-radius: 0;
}

.tk-cards--tiles .tk-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 18px 16px;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0) 0%, rgba(10, 37, 64, .88) 100%);
}

.tk-cards--tiles .tk-card__title,
.tk-cards--tiles .tk-card:hover .tk-card__title {
  color: #fff;
}

/* banner: one wide card */
.tk-cards--banner .tk-cards__grid {
  grid-template-columns: 1fr;
}

.tk-cards--banner .tk-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f8fc;
  border: 1px solid #dde6f1;
}

.tk-cards--banner .tk-card__media {
  border-radius: 0;
  aspect-ratio: 16 / 9;
  height: 100%;
}

.tk-cards--banner .tk-card__body {
  padding: 28px 34px;
  gap: 12px;
}

.tk-cards--banner .tk-card__title {
  font-size: 24px;
}

@media (max-width: 991px) {
  .tk-cards__title {
    font-size: 26px;
  }

  .tk-cards__grid,
  .tk-cards--news .tk-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .tk-cards__grid,
  .tk-cards--news .tk-cards__grid,
  .tk-cards--banner .tk-card {
    grid-template-columns: 1fr;
  }

  .tk-cards--banner .tk-card__body {
    padding: 20px;
  }
}

/* Partners: static logo row */
.tk-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  margin: 0;
  padding: 26px 0;
  list-style: none;
}

.tk-partners a,
.tk-partners span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 84px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  opacity: .82;
  transition: opacity .2s;
}

.tk-partners a:hover {
  opacity: 1;
}

.tk-partners img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* cards without a photo: company logo on a light tile */
.tk-card--noimage .tk-card__media {
  background: #eef2f7;
}

.tk-card--noimage .tk-card__media img.tk-card__logo {
  inset: 50% auto auto 50%;
  width: 34%;
  height: auto;
  max-height: 70%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  opacity: .9;
}

.tk-card--noimage:hover .tk-card__media img.tk-card__logo {
  transform: translate(-50%, -50%);
}

/* Photo gallery album: thumbnail grid, each photo opens full size */
.tk-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 10px 0 30px;
}

.tk-gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f7;
}

.tk-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .3s ease;
}

.tk-gallery a:hover img {
  transform: scale(1.04);
}

/* Online request form (SP Page Builder page, section class "tk-request") */
.tk-request .sppb-column-addons {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 2.1fr);
  gap: 32px;
  align-items: start;
}

.tk-request .tk-request__intro {
  position: sticky;
  top: 110px;
  padding: 32px 30px;
  border-radius: 16px;
  background: linear-gradient(160deg, #0b4da2 0%, #0a2540 100%);
  color: #d9e6f2;
}

.tk-request .tk-request__intro .sppb-addon-title {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

.tk-request .tk-request__intro p {
  margin: 0 0 18px;
  line-height: 1.6;
}

.tk-request__steps {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: tk-step;
}

.tk-request__steps li {
  position: relative;
  padding: 6px 0 6px 44px;
  margin-bottom: 8px;
  color: #fff;
  counter-increment: tk-step;
}

.tk-request__steps li::before {
  content: counter(tk-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-weight: 700;
  line-height: 30px;
  text-align: center;
}

.tk-request .tk-request__phone {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 14px;
}

.tk-request .tk-request__phone a {
  display: inline-block;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.tk-request .tk-request__form {
  padding: 30px 32px 34px;
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(10, 37, 64, .07);
}

.tk-request .sppb-addon-form-builder-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.tk-request .sppb-addon-form-builder-form > * {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.tk-request .sppb-addon-form-builder-form > .sppb-form-builder-field-8,
.tk-request .sppb-addon-form-builder-form > .sppb-form-builder-field-9,
.tk-request .sppb-addon-form-builder-form > .sppb-form-check,
.tk-request .sppb-addon-form-builder-form > .sppb-form-builder-btn,
.tk-request .sppb-addon-form-builder-form > .sppb-ajax-contact-status,
.tk-request .sppb-addon-form-builder-form > div:not([class*="sppb-form-builder-field-"]) {
  grid-column: 1 / -1;
}

.tk-request .sppb-form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #12324c;
}

.tk-request .sppb-field-required {
  color: #d92d20;
}

.tk-request .sppb-form-control {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 1px solid #cfd9e6;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 15px;
  color: #0a2540;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.tk-request textarea.sppb-form-control {
  height: 120px;
  resize: vertical;
}

.tk-request .sppb-form-control:focus {
  border-color: #0b4da2;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 77, 162, .14);
  outline: 0;
}

.tk-request .sppb-form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #44546a;
}

.tk-request .sppb-form-builder-btn .sppb-btn {
  padding: 14px 34px;
  border: 0;
  border-radius: 999px;
  background: #0b4da2;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: background .2s;
}

.tk-request .sppb-form-builder-btn .sppb-btn:hover {
  background: #083a7d;
}

@media (max-width: 991px) {
  .tk-request .sppb-column-addons {
    grid-template-columns: 1fr;
  }

  .tk-request .tk-request__intro {
    position: static;
  }
}

@media (max-width: 575px) {
  .tk-request .sppb-addon-form-builder-form {
    grid-template-columns: 1fr;
  }

  .tk-request .tk-request__form {
    padding: 22px 18px;
  }
}

.tk-request .sppb-form-check-input {
  position: static;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
}

.tk-request .sppb-form-check-label {
  margin: 0;
}

/* Leader's blog: portrait with caption */
.tk-blog-photo {
  float: left;
  width: min(360px, 100%);
  margin: 4px 28px 16px 0;
}

.tk-blog-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.tk-blog-photo figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #5b6b7f;
}

@media (max-width: 575px) {
  .tk-blog-photo {
    float: none;
    margin-right: 0;
  }
}

/* Leader's blog: greeting card */
.tk-blog {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin: 10px 0 30px;
  padding: 36px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f5f8fc 0%, #e9f0f9 100%);
  border: 1px solid #dbe5f0;
}

.tk-blog__photo {
  margin: 0;
}

.tk-blog__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% top;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(10, 37, 64, .18);
}

.tk-blog__photo figcaption {
  margin-top: 16px;
  text-align: center;
}

.tk-blog__photo figcaption b {
  display: block;
  font-size: 19px;
  color: #0a2540;
}

.tk-blog__photo figcaption span {
  font-size: 14px;
  color: #5b6b7f;
}

.tk-blog__body p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.7;
  color: #22303f;
}

.tk-blog__body .tk-blog__quote {
  position: relative;
  margin-bottom: 22px;
  padding-left: 22px;
  border-left: 4px solid #0b4da2;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  color: #0a2540;
}

.tk-blog__body .tk-blog__sign {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid #cfdbea;
  font-size: 15px;
  color: #5b6b7f;
}

.tk-blog__body .tk-blog__sign b {
  color: #0b4da2;
  font-size: 16px;
}

@media (max-width: 767px) {
  .tk-blog {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }

  .tk-blog__photo img {
    aspect-ratio: 4 / 3;
  }

  .tk-blog__body .tk-blog__quote {
    font-size: 21px;
  }
}

/* Menu: no white patch behind the text of hovered / current dropdown items */
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li a .title,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li a .name,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li a span,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li > a span {
  background: transparent !important;
  background-color: transparent !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li:hover,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li.active,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li.current {
  background: #f7f7f7 !important;
}

#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li:hover > a,
#sp-header .col-lg-9.col-6.col-xl-12 .dj-submenu li.active > a {
  background: #f7f7f7 !important;
}

/* Kazakh menu has longer titles: slightly tighter so it fits beside the logo */
@media (min-width: 1200px) {
  html[lang^="kk"] #sp-header .dj-megamenu > li > a {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

}

/* Header fit at 1366: menu a little tighter so the language flag is not clipped; Kazakh titles are longer */
@media (min-width: 1200px) {
  #sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li > a {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  html[lang^="kk"] #sp-header .col-lg-9.col-6.col-xl-12 .dj-megamenu > li > a {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* Contacts page */
.tk-contacts {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
  gap: 24px;
  margin: 10px 0 30px;
}

.tk-contacts__main {
  padding: 30px;
  border-radius: 16px;
  background: linear-gradient(160deg, #0b4da2 0%, #0a2540 100%);
  color: #d9e6f2;
}

.tk-contacts__label {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a9c4e6;
}

.tk-contacts__main p {
  margin: 0;
}

.tk-contacts__main .tk-contacts__address {
  margin: 8px 0 22px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}

.tk-contacts__main .tk-contacts__mail a {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.tk-contacts__main .tk-contacts__hours {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  line-height: 1.6;
}

.tk-contacts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  align-content: start;
}

.tk-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 37, 64, .05);
}

.tk-contact span {
  font-size: 14px;
  color: #5b6b7f;
}

.tk-contact a {
  font-size: 19px;
  font-weight: 700;
  color: #0b4da2;
  white-space: nowrap;
}

.tk-contact--alert {
  grid-column: 1 / -1;
  border-color: #f3c9c4;
  background: #fff6f5;
}

.tk-contact--alert a {
  color: #c0271c;
}

/* List of services page */
.tk-services__lead {
  margin: 0 0 20px;
  font-size: 17px;
  color: #44546a;
}

.tk-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.tk-services__card {
  padding: 28px 30px;
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 37, 64, .06);
}

.tk-services__card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #0a2540;
}

.tk-services__card > p {
  margin: 0 0 18px;
  color: #5b6b7f;
}

.tk-services__card ol,
.tk-steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tk-num;
}

.tk-services__card ol li {
  position: relative;
  padding: 10px 0 10px 46px;
  border-top: 1px solid #eef2f7;
  line-height: 1.5;
  counter-increment: tk-num;
}

.tk-services__card ol li::before {
  content: counter(tk-num);
  position: absolute;
  left: 0;
  top: 9px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e6f0fc;
  font-size: 14px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  color: #0b4da2;
}

.tk-services__cta,
.tk-steps__cta {
  margin: 28px 0 10px;
}

.tk-services__cta a,
.tk-steps__cta a {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  background: #0b4da2;
  font-weight: 600;
  color: #fff;
  transition: background .2s;
}

.tk-services__cta a:hover,
.tk-steps__cta a:hover {
  background: #083a7d;
  color: #fff;
}

/* Technical connection page: numbered procedure */
.tk-steps__intro {
  margin: 10px 0 28px;
  padding: 26px 30px;
  border-left: 4px solid #0b4da2;
  border-radius: 0 14px 14px 0;
  background: #f5f8fc;
}

.tk-steps__intro h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #0a2540;
}

.tk-steps__intro p {
  margin: 0 0 8px;
  line-height: 1.65;
  color: #44546a;
}

.tk-steps__list > li {
  position: relative;
  margin-bottom: 16px;
  padding: 24px 28px 22px 84px;
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 37, 64, .05);
  counter-increment: tk-num;
}

.tk-steps__list > li::before {
  content: counter(tk-num);
  position: absolute;
  left: 24px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0b4da2;
  font-size: 18px;
  font-weight: 700;
  line-height: 42px;
  text-align: center;
  color: #fff;
}

.tk-steps__list p {
  margin: 0 0 10px;
  line-height: 1.65;
}

.tk-steps__list .tk-step__text {
  font-size: 17px;
  color: #0a2540;
}

.tk-steps__list .tk-step__sub {
  margin-top: 14px;
  font-weight: 700;
  color: #12324c;
}

.tk-step__docs {
  margin: 8px 0 4px;
  padding: 0;
  list-style: none;
}

.tk-step__docs li {
  position: relative;
  padding: 7px 0 7px 26px;
  line-height: 1.55;
  color: #33445a;
}

.tk-step__docs li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fb3e3;
}

@media (max-width: 767px) {
  .tk-contacts,
  .tk-services {
    grid-template-columns: 1fr;
  }

  .tk-steps__list > li {
    padding: 70px 20px 18px;
  }

  .tk-steps__list > li::before {
    left: 20px;
    top: 18px;
  }
}

/* News tiles belong to the list page only: on an opened article the tiles block is hidden so the article is on top */
body.view-article #sp-novosti-glavnoj,
body.view-article #sp-novosty-glavnoi,
body.view-article #sp-position5,
body.view-article section:has(#sp-position5) {
  display: none;
}

/* Opened news article: keep the lead photo to a banner height so the title and text are visible without scrolling */
.view-article .article-details .article-full-image {
  margin-bottom: 24px;
}

.view-article .article-details .article-full-image img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 14px;
}

/* Board page: equal photo size and equal card height in both member modules */
.jux-members-list.style-4 .member-item-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f8fc;
  border: 1px solid #dbe5f0;
}

.jux-members-list.style-4 .member-item-inner .photo-container {
  width: 100%;
  min-width: 0;
  min-height: 0;
  flex: none;
}

.jux-members-list.style-4 .member-item-inner .avatar {
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center top;
}

.jux-members-list.style-4 .member-item-inner .item-wrapper {
  flex: 1 1 auto;
  min-height: 250px;
  padding: 22px 22px 24px;
  background: transparent;
}

.jux-members-list.style-4 .member-item {
  margin-bottom: 24px;
}

.jux-team-showcase.style-4 .team_showcase-item {
  min-height: 210px;
}

.jux-team-showcase.style-4 .team_showcase-item .photo-container {
  flex: 0 0 38%;
  max-width: 38%;
  min-width: 0;
}

.jux-team-showcase.style-4 .team_showcase-item .avatar {
  min-width: 0;
  height: 100%;
  min-height: 210px;
  background-position: center top;
}

@media (max-width: 600px) {
  .jux-team-showcase.style-4 .team_showcase-item .photo-container {
    flex-basis: auto;
    max-width: none;
  }
}

/* Board members (any module style): every photo the same size, every caption block the same height, so rows line up */
.jux-members-list .member-item .member-item-inner .photo-container {
  width: 100%;
  margin: 0;
}

.jux-members-list .member-item .member-item-inner .avatar {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 12px;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat;
}

.jux-members-list.style-2 .member-item .member-item-inner .item-wrapper,
.jux-members-list.style-1 .member-item .member-item-inner .item-wrapper,
.jux-members-list.style-3 .member-item .member-item-inner .item-wrapper {
  height: 150px;
  overflow: hidden;
  box-sizing: border-box;
}

.jux-members-list .member-item {
  margin-bottom: 18px;
}