:root {
  --blue: #289dcc;
  --link: #289dcc;
  --ink: #303440;
  --muted: #777;
  --line: #eaeaea;
  --footer: #303440;
  --content-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: #2f2f2f;
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: var(--link); text-decoration: none; }
a:hover, a:focus-visible { color: #1b739a; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  border: 2px solid var(--blue);
}

.skip-link:focus { top: 12px; }

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

.site { min-height: 100vh; }
.site-header { max-width: var(--content-width); margin: 0 auto; }
.brand { display: block; }
.brand img { width: 100%; height: auto; }

.main-navigation {
  position: relative;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #f4f4f4;
  box-shadow: 0 1px 8px rgba(0,0,0,.02);
}

.menu {
  display: grid;
  grid-template-columns: 80px 1.25fr .75fr 1.05fr 1.15fr 1.15fr 1fr .63fr .66fr;
  width: 100%;
  min-height: 61px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu > li { position: relative; min-width: 0; border-right: 1px solid #f5f5f5; }
.menu > li:first-child { border-left: 1px solid #f5f5f5; }
.menu > li > a,
.menu > li > button {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 61px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 0;
  background: transparent;
  color: #30343a;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transition: color .18s ease, background .18s ease;
}

.menu > li > a:hover,
.menu > li > button:hover,
.menu > li > a:focus-visible,
.menu > li > button:focus-visible { background: #fafafa; color: var(--blue); }

.home-link a svg { width: 27px; height: 27px; fill: var(--blue); }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 225px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border-top: 3px solid var(--blue);
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu { display: block; }

.submenu li { border-bottom: 1px solid #eee; }
.submenu a,
.submenu .link-button {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  background: #fff;
  color: #444;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}
.submenu a:hover, .submenu .link-button:hover { color: var(--blue); }
.menu-toggle { display: none; }

.page-content {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(260px, .9fr);
  gap: 30px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 42px 0 58px;
}

.primary-column,
.sidebar { min-width: 0; }

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 12 / 5;
  min-height: 300px;
  overflow: hidden;
  background: #f3f3f3;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
  transform: translateX(-50%);
}

.hero-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 23px 20px 25px;
  background: rgba(30,30,30,.58);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(19px, 2.2vw, 31px);
  font-weight: 400;
  line-height: 1.35;
}

.hero-caption:hover { color: #fff; }

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 38px;
  height: 42px;
  margin-top: -21px;
  border: 0;
  border-radius: 3px;
  background: rgba(0,0,0,.66);
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 32px;
  line-height: 1;
  opacity: 0;
  transition: opacity .18s ease, background .18s ease;
}

.hero-slider:hover .slider-arrow,
.slider-arrow:focus-visible { opacity: 1; }
.slider-arrow:hover { background: rgba(1,173,211,.9); }
.slider-prev { left: 15px; }
.slider-next { right: 15px; }

.news-tabs {
  margin-top: 48px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 0 0 4px #f5f5f5;
}

.tab-list {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  background: #f2f2f2;
}

.tab {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-right: 1px solid #ddd;
  background: #fff;
  color: #30343a;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
}

.tab-world.is-active { background: lightgreen; }
.tab-kz.is-active { background: lightblue; }
.tab-kostanay.is-active { background: lightsalmon; }
.tab:focus-visible { outline: 3px solid rgba(40,157,204,.35); outline-offset: -3px; }

.tab-panel { padding: 8px 18px 36px; }
.tab-panel[hidden] { display: none; }

.news-item { padding: 12px 0 6px; }
.news-item h2 { margin: 0 0 20px; font-size: 21px; line-height: 1.28; }
.news-item h2 a { color: var(--blue); }
.news-item p { margin: 0 0 9px; color: #272727; font-size: 17px; line-height: 1.7; }
.read-more {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  margin-bottom: 5px;
  padding: 7px 14px;
  border-radius: 4px;
  background: #79c367;
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.1);
}
.read-more:hover { background: #68b557; color: #fff; }

.pagination { display: flex; margin-top: 30px; }
.pagination a {
  display: grid;
  min-width: 37px;
  height: 42px;
  place-items: center;
  border: 1px solid #d8d8d8;
  border-right: 0;
  color: #367bad;
  font-family: Arial, sans-serif;
  font-size: 18px;
}
.pagination a:first-child { border-radius: 4px 0 0 4px; }
.pagination a:last-child { border-right: 1px solid #d8d8d8; border-radius: 0 4px 4px 0; }
.pagination .current { border-color: #4284bc; background: #4284bc; color: #fff; }

.popular-pages-home { margin-top: 58px; }
.section-intro { margin-bottom: 22px; border-bottom: 3px solid var(--blue); }
.section-intro p {
  margin: 0 0 4px;
  color: #888;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-intro h2 {
  margin: 0 0 13px;
  color: #303440;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
}
.popular-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.popular-page-grid a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 2px 12px;
  min-height: 96px;
  align-content: center;
  padding: 16px;
  border: 1px solid #e2e6e8;
  border-left: 4px solid var(--blue);
  background: #fafbfc;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.popular-page-grid a:hover,
.popular-page-grid a:focus-visible { border-color: var(--blue); box-shadow: 0 5px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.popular-page-grid span { grid-row: 1 / 3; color: #a6adb1; font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
.popular-page-grid strong { color: #303440; font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.25; }
.popular-page-grid small { color: #777; font-size: 13px; line-height: 1.35; }

.media-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 58px;
}

.media-card { display: flex; flex-direction: column; gap: 12px; }
.media-image { display: block; aspect-ratio: 16 / 8.5; overflow: hidden; }
.media-image img { width: 100%; height: 100%; object-fit: cover; }
.media-card strong {
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 12px 16px;
  border: 3px double rgba(255,255,255,.85);
  border-radius: 3px;
  font-size: 17px;
}
.gallery-card strong { background: #8cff67; }
.video-card strong { background: #a6cdf4; }

.site-search { margin: 9px 0 60px; }
.site-search input {
  width: 100%;
  height: 38px;
  padding: 4px 10px;
  border: 1px solid #555;
  border-radius: 2px;
  color: #444;
  font-family: Georgia, serif;
  font-size: 17px;
}

.widget { margin-bottom: 48px; }
.widget-title {
  display: flex;
  align-items: flex-end;
  margin: 0 0 24px;
  border-bottom: 3px solid var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.widget-title span { display: inline-block; padding: 12px 14px 11px; background: var(--blue); color: #fff; }

.recent-posts ul { margin: 0; padding: 0; list-style: none; }
.recent-posts li { margin-bottom: 14px; }
.recent-posts a { font-size: 16px; line-height: 1.42; }

.poll-widget fieldset { margin: 0; padding: 0 10px; border: 0; }
.poll-widget legend {
  width: 100%;
  margin: 0 0 28px;
  padding: 0;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.poll-widget label { display: block; margin: 0 0 17px; color: #363636; font-size: 15px; line-height: 1.5; }
.poll-widget input { margin-right: 6px; }
.vote-button {
  display: block;
  min-width: 110px;
  margin: 28px auto;
  padding: 12px 18px;
  border: 0;
  border-radius: 2px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,.25);
  font-size: 19px;
}
.poll-results { display: block; text-align: center; }
.poll-message { min-height: 1.4em; color: #3a6f2a; text-align: center; }

.text-link { padding: 0; border: 0; background: none; color: var(--blue); cursor: pointer; }
.social-list { display: flex; gap: 12px; padding-left: 4px; }
.social-list a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.facebook { background: #3b5998; }
.vk { background: #5a7fa6; }
.ok { background: #dd9933; }
.instagram { background: #e1306c; }

.page-content--inner { align-items: start; }
.article-page {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.035);
}
.article-header { padding: 26px 30px 22px; border-bottom: 3px solid var(--blue); }
.article-header h1 {
  margin: 12px 0 8px;
  color: #303440;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.18;
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: #8a8a8a; font-size: 14px; }
.archive-note { margin: 0; color: #777; font-size: 14px; }
.article-content { padding: 30px; overflow-wrap: anywhere; }
.article-content > :first-child { margin-top: 0; }
.article-content h2,
.article-content h3,
.article-content h4 {
  color: #303440;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.3;
}
.article-content h2 { margin: 32px 0 14px; font-size: 24px; }
.article-content h3 { margin: 27px 0 12px; font-size: 20px; }
.article-content p { margin: 0 0 17px; }
.article-content ul,
.article-content ol { padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.article-content table { display: block; max-width: 100%; margin: 22px 0; overflow-x: auto; border-collapse: collapse; }
.article-content td,
.article-content th { padding: 8px 10px; border: 1px solid #ddd; vertical-align: top; }
.contact-details {
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  background: #f4f9fc;
  text-align: left;
}
.resource-grid { display: grid; gap: 16px; }
.resource-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 38px; }
.resource-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid #dde6ea;
  border-left: 4px solid var(--blue);
  background: #f9fbfc;
}
.resource-card h2 { margin: 0; font-size: 18px; }
.download-link {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 2px;
  background: var(--blue);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
.download-link:hover,
.download-link:focus-visible { background: #1b739a; color: #fff; }
.file-unavailable { flex: 0 0 180px; color: #777; font-size: 13px; line-height: 1.35; }
.section-heading { padding-bottom: 10px; border-bottom: 2px solid var(--blue); }
.brochure-list { columns: 2; column-gap: 40px; list-style: square; }
.brochure-list li { break-inside: avoid; margin: 0 0 11px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.work-card { padding: 20px; border-top: 4px solid var(--blue); background: #f6f7f8; }
.work-card h2 { margin: 0 0 12px; color: var(--blue); font-size: 18px; }
.work-card p { margin: 0; }
.gallery-feature { margin: 0; }
.gallery-feature img { width: 100%; height: auto; }
.gallery-feature figcaption { padding: 14px 0 0; color: #777; font-size: 14px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #20242d; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.page-link-list ul { margin: 0; padding: 0; list-style: none; }
.page-link-list li { border-bottom: 1px solid #eee; }
.page-link-list a { display: block; padding: 9px 4px; line-height: 1.35; }
.page-link-list a[aria-current="page"] { color: #303440; font-weight: 700; }
.related-pages { padding: 27px 30px 32px; border-top: 1px solid var(--line); background: #fafbfc; }
.related-pages h2 {
  margin: 0 0 17px;
  color: #303440;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
}
.related-pages ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.related-pages a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #e3e7e9; line-height: 1.35; }
.related-pages a span:last-child { flex: 0 0 auto; }

.site-footer { background: var(--footer); color: #b6b6b6; }
.site-footer p { max-width: var(--content-width); margin: 0 auto; padding: 30px 0 34px; font-size: 15px; line-height: 1.55; }
.site-footer a { color: #b6b6b6; border-bottom: 1px solid #666; }

.scroll-up {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 2px;
  background: rgba(40,157,204,.88);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 27px;
}
.scroll-up.is-visible { display: grid; }

.contact-dialog {
  width: min(650px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 28px;
  border: 1px solid #111;
  border-radius: 20px;
  background: #88abd0;
  color: #26323d;
  box-shadow: 0 8px 50px rgba(0,0,0,.38);
}
.contact-dialog::backdrop { background: rgba(0,0,0,.45); }
.contact-dialog h2 { margin: 0 0 12px; font-family: Arial, sans-serif; font-size: 28px; }
.dialog-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 35px;
  height: 35px;
  border: 0;
  background: #00b7cd;
  color: #fff;
  cursor: pointer;
  font-size: 25px;
}
.contact-dialog label { display: grid; gap: 5px; margin-top: 13px; }
.contact-dialog input, .contact-dialog textarea { width: 100%; padding: 8px; border: 1px solid #557493; background: #fff; }
.contact-dialog form > button { margin-top: 18px; padding: 9px 18px; border: 0; background: var(--blue); color: #fff; cursor: pointer; }
.form-message { min-height: 1.4em; }

@media (max-width: 1240px) {
  .site-header,
  .page-content,
  .site-footer p { margin-right: 20px; margin-left: 20px; }
  .menu > li > a, .menu > li > button { padding-right: 8px; padding-left: 8px; font-size: 13px; }
}

@media (max-width: 900px) {
  .site-header { margin: 0; }
  .menu-toggle {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    padding: 0 18px;
    border: 0;
    background: #303440;
    color: #fff;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 4px; height: 22px; background: #fff; }
  .menu-toggle strong { margin-left: 7px; text-transform: uppercase; }
  .menu { display: none; grid-template-columns: 1fr; min-height: 0; border: 1px solid #ddd; }
  .main-navigation.is-open .menu { display: grid; }
  .menu > li, .menu > li:first-child { border-right: 0; border-bottom: 1px solid #eee; border-left: 0; }
  .menu > li > a, .menu > li > button { min-height: 48px; justify-content: flex-start; padding: 10px 18px; text-align: left; }
  .home-link { display: none; }
  .submenu { position: static; min-width: 0; border-top: 0; box-shadow: none; }
  .has-submenu:hover .submenu { display: none; }
  .has-submenu.is-open .submenu { display: block; }
  .submenu a, .submenu .link-button { padding-left: 34px; }
  .page-content { grid-template-columns: 1fr; gap: 50px; margin: 0; padding: 28px 20px 46px; }
  .site-footer p { margin: 0; padding-right: 20px; padding-left: 20px; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
  .site-search { grid-column: 1 / -1; margin-bottom: 0; }
  .widget { margin-bottom: 0; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .brand img { min-height: 115px; object-fit: cover; object-position: center; }
  .page-content { padding-right: 14px; padding-left: 14px; }
  .hero-slider { min-height: 0; aspect-ratio: 1 / 1; }
  .hero-caption { padding: 15px; font-size: 18px; line-height: 1.3; }
  .slider-arrow { opacity: .72; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .news-tabs { margin-top: 30px; }
  .tab { min-height: 48px; padding: 0 13px; font-size: 13px; }
  .tab-panel { padding: 6px 13px 28px; }
  .news-item h2 { margin-bottom: 13px; font-size: 18px; }
  .news-item p { font-size: 15px; line-height: 1.6; }
  .pagination a:nth-of-type(5), .pagination a:nth-of-type(6) { display: none; }
  .popular-pages-home { margin-top: 42px; }
  .popular-page-grid { grid-template-columns: 1fr; }
  .media-links { grid-template-columns: 1fr; margin-top: 42px; }
  .article-header, .article-content { padding: 20px 18px; }
  .related-pages { padding: 23px 18px 27px; }
  .related-pages ul { grid-template-columns: 1fr; }
  .resource-card { align-items: flex-start; flex-direction: column; }
  .file-unavailable { flex-basis: auto; }
  .resource-grid--featured, .work-grid, .video-grid { grid-template-columns: 1fr; }
  .brochure-list { columns: 1; }
  .sidebar { grid-template-columns: 1fr; }
  .widget-title { font-size: 19px; }
  .site-footer p { font-size: 14px; }
  .scroll-up { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
