/* Згенеровано gencss.py з CSS старої теми — не редагувати вручну, правки робити в uzhgorod-overrides.css */
@font-face {
  font-family: 'e-Ukraine';
  src: url('/uzhgorod/fonts/e-Ukraine-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'e-Ukraine';
  src: url('/uzhgorod/fonts/e-Ukraine-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}
header.bg-light-blue html body, footer.custom-footer html body, .homepage html body, header.bg-light-blue body *, footer.custom-footer body *, .homepage body *, header.bg-light-blue input, footer.custom-footer input, .homepage input, header.bg-light-blue textarea, footer.custom-footer textarea, .homepage textarea, header.bg-light-blue button, footer.custom-footer button, .homepage button, header.bg-light-blue select, footer.custom-footer select, .homepage select, header.bg-light-blue .form-control, footer.custom-footer .form-control, .homepage .form-control, header.bg-light-blue .btn, footer.custom-footer .btn, .homepage .btn, header.bg-light-blue p, footer.custom-footer p, .homepage p, header.bg-light-blue h1, footer.custom-footer h1, .homepage h1, header.bg-light-blue h2, footer.custom-footer h2, .homepage h2, header.bg-light-blue h3, footer.custom-footer h3, .homepage h3, header.bg-light-blue h4, footer.custom-footer h4, .homepage h4, header.bg-light-blue h5, footer.custom-footer h5, .homepage h5, header.bg-light-blue h6, footer.custom-footer h6, .homepage h6, header.bg-light-blue span, footer.custom-footer span, .homepage span, header.bg-light-blue div, footer.custom-footer div, .homepage div, header.bg-light-blue a, footer.custom-footer a, .homepage a {
  font-family: 'e-Ukraine', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
}
header.bg-light-blue, header.bg-light-blue *:not(.fa):not([class*="fa-"]), footer.custom-footer, footer.custom-footer *:not(.fa):not([class*="fa-"]), .homepage, .homepage *:not(.fa):not([class*="fa-"]) {
  font-family: 'e-Ukraine', Arial, sans-serif !important;
}
header.bg-light-blue .fa, footer.custom-footer .fa, .homepage .fa {
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", "FontAwesome", "Font Awesome 5 Brands", "Font Awesome 6 Brands", sans-serif !important;
  font-weight: 900 !important;
}
.bg-color {
  background: linear-gradient(120deg, #b7e2fa 0%, #bdc3ff 100%);
}
header.bg-light-blue .bg-light-blue, footer.custom-footer .bg-light-blue, .homepage .bg-light-blue, header.bg-light-blue {
  background: #97bdf6;
}
@keyframes waves-move {
  0% {
    background-position: 0% 100%;
  }

  100% {
    background-position: 100% 100%;
  }
}
header, header a, header .fw-bold, header .btn {
  color: #111 !important;
}
header .btn-primary, header .btn-dark {
  color: #fff !important;
}
header .fa, header [class^="fa-"] {
  color: unset !important;
}
.custom-navbar {
  background: linear-gradient(120deg, #b7e2fa 0%, #bdc3ff 100%);
  border-bottom: 1px solid #cfd8dc;
  padding: 0 48px;
  min-height: 70px;
}
.custom-navbar, header.bg-light-blue .navbar, footer.custom-footer .navbar, .homepage .navbar {
  padding-left: 32px;
  padding-right: 32px;
}
.custom-navbar-nav {
  gap: 48px;
  margin-left: 32px;
}
.custom-nav-link {
  font-size: 1.35rem;
  font-weight: 600;
  padding: 18px 36px !important;
  border-radius: 16px;
  color: #111 !important;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.custom-nav-link i.fa {
  font-size: 1.3em;
  margin-right: 6px;
}
.custom-nav-link:hover, .custom-nav-link:focus {
  background: rgba(0, 0, 0, 0.06);
  color: #000 !important;
  text-decoration: none;
}
header.bg-light-blue .navbar-nav, footer.custom-footer .navbar-nav, .homepage .navbar-nav {
  gap: 32px;
}
header.bg-light-blue .navbar-nav .nav-link, footer.custom-footer .navbar-nav .nav-link, .homepage .navbar-nav .nav-link {
  font-size: 1.15rem;
  position: relative;
  transition: color 0.2s;
}
header.bg-light-blue .navbar-nav .nav-link:hover, footer.custom-footer .navbar-nav .nav-link:hover, .homepage .navbar-nav .nav-link:hover, header.bg-light-blue .navbar-nav .nav-link:focus, footer.custom-footer .navbar-nav .nav-link:focus, .homepage .navbar-nav .nav-link:focus {
  color: #000;
}
header.bg-light-blue .navbar-nav .nav-link::after, footer.custom-footer .navbar-nav .nav-link::after, .homepage .navbar-nav .nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: 0;
}
header.bg-light-blue .navbar-nav .nav-link:hover::after, footer.custom-footer .navbar-nav .nav-link:hover::after, .homepage .navbar-nav .nav-link:hover::after, header.bg-light-blue .navbar-nav .nav-link:focus::after, footer.custom-footer .navbar-nav .nav-link:focus::after, .homepage .navbar-nav .nav-link:focus::after {
  width: 100%;
}
.main-nav .nav-link-custom {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111 !important;
  transition: color 0.2s;
  padding: 0 8px;
}
.main-nav .nav-link-custom:hover, .main-nav .nav-link-custom:focus {
  color: #1a237e !important;
  text-decoration: underline;
}
header.bg-light-blue .nav-link-custom, footer.custom-footer .nav-link-custom, .homepage .nav-link-custom {
  font-size: 14px !important;
  font-weight: 700;
  color: #111 !important;
  transition: color 0.2s;
  padding: 0 8px;
}
header.bg-light-blue .nav-tabs>li.active>a, footer.custom-footer .nav-tabs>li.active>a, .homepage .nav-tabs>li.active>a, header.bg-light-blue .nav-tabs>li.active>a:focus, footer.custom-footer .nav-tabs>li.active>a:focus, .homepage .nav-tabs>li.active>a:focus, header.bg-light-blue .nav-tabs>li.active>a:hover, footer.custom-footer .nav-tabs>li.active>a:hover, .homepage .nav-tabs>li.active>a:hover {
  border-bottom: 3px solid #206b82 !important;
  color: #206b82 !important;
  background-color: #fff;
}
header.bg-light-blue .main-tabs, footer.custom-footer .main-tabs, .homepage .main-tabs {
  border-bottom: 1.5px solid #e5e5e5;
  margin-bottom: 10px;
  padding-left: 0;
  display: flex;
  align-items: flex-end;
  gap: 24px;
}
header.bg-light-blue .main-tabs>li, footer.custom-footer .main-tabs>li, .homepage .main-tabs>li {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: -2px;
}
header.bg-light-blue .main-tabs>li>a, footer.custom-footer .main-tabs>li>a, .homepage .main-tabs>li>a {
  color: #2563eb;
  font-weight: 500;
  font-size: 1.13em;
  text-decoration: none;
  padding: 0 0 6px 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
header.bg-light-blue .main-tabs>li.active>a, footer.custom-footer .main-tabs>li.active>a, .homepage .main-tabs>li.active>a, header.bg-light-blue .main-tabs>li>a.active, footer.custom-footer .main-tabs>li>a.active, .homepage .main-tabs>li>a.active {
  color: #111;
  font-weight: 700;
}
header.bg-light-blue .main-tabs>li.active>a::after, footer.custom-footer .main-tabs>li.active>a::after, .homepage .main-tabs>li.active>a::after, header.bg-light-blue .main-tabs>li>a.active::after, footer.custom-footer .main-tabs>li>a.active::after, .homepage .main-tabs>li>a.active::after {
  content: '';
  display: block;
  height: 4px;
  background: #2563eb;
  border-radius: 2px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
}
header.bg-light-blue .main-tabs>li>a>i, footer.custom-footer .main-tabs>li>a>i, .homepage .main-tabs>li>a>i {
  margin-right: 6px;
  font-size: 1.1em;
}
header.bg-light-blue .page-header, footer.custom-footer .page-header, .homepage .page-header {
  background: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}
header.bg-light-blue .page-header .nav.nav-tabs, footer.custom-footer .page-header .nav.nav-tabs, .homepage .page-header .nav.nav-tabs {
  border-bottom: none;
  background: none;
  margin-bottom: 10px;
  padding-left: 0;
  display: flex;
  gap: 24px;
}
header.bg-light-blue .page-header .nav.nav-tabs>li, footer.custom-footer .page-header .nav.nav-tabs>li, .homepage .page-header .nav.nav-tabs>li {
  position: relative;
  margin-bottom: -2px;
}
header.bg-light-blue .page-header .nav.nav-tabs>li>a, footer.custom-footer .page-header .nav.nav-tabs>li>a, .homepage .page-header .nav.nav-tabs>li>a {
  color: #2563eb;
  font-weight: 500;
  font-size: 1.13em;
  text-decoration: none;
  background: none !important;
  border: none !important;
  padding: 0 0 6px 0;
  transition: color 0.2s;
  box-shadow: none;
  display: flex;
  align-items: center;
}
header.bg-light-blue .page-header .nav.nav-tabs>li.active>a, footer.custom-footer .page-header .nav.nav-tabs>li.active>a, .homepage .page-header .nav.nav-tabs>li.active>a, header.bg-light-blue .page-header .nav.nav-tabs>li>a.active, footer.custom-footer .page-header .nav.nav-tabs>li>a.active, .homepage .page-header .nav.nav-tabs>li>a.active {
  color: #111;
  font-weight: 700;
}
header.bg-light-blue .page-header .nav.nav-tabs>li.active>a::after, footer.custom-footer .page-header .nav.nav-tabs>li.active>a::after, .homepage .page-header .nav.nav-tabs>li.active>a::after, header.bg-light-blue .page-header .nav.nav-tabs>li>a.active::after, footer.custom-footer .page-header .nav.nav-tabs>li>a.active::after, .homepage .page-header .nav.nav-tabs>li>a.active::after, header.bg-light-blue .page-header .nav.nav-tabs>li>a:hover::after, footer.custom-footer .page-header .nav.nav-tabs>li>a:hover::after, .homepage .page-header .nav.nav-tabs>li>a:hover::after {
  content: '';
  display: block;
  height: 4px;
  background: #2563eb;
  border-radius: 2px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
}
header.bg-light-blue .page-header .nav.nav-tabs>li>a:hover, footer.custom-footer .page-header .nav.nav-tabs>li>a:hover, .homepage .page-header .nav.nav-tabs>li>a:hover {
  color: #2563eb;
  background: none;
}
header.bg-light-blue .page-header .nav.nav-tabs>li>a>i, footer.custom-footer .page-header .nav.nav-tabs>li>a>i, .homepage .page-header .nav.nav-tabs>li>a>i {
  margin-right: 6px;
  font-size: 1.1em;
}
header.bg-light-blue .btn, footer.custom-footer .btn, .homepage .btn {
  font-size: 18px;
  border-radius: 50rem !important;
}
header.bg-light-blue .btn-primary, footer.custom-footer .btn-primary, .homepage .btn-primary {
  color: #fff;
  background: #164e84;
  background-color: #1e6ced !important;
  border: none;
  border-color: #1e6ced !important;
  box-shadow: 0 4px 12px 0 rgba(53, 115, 234, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
header.bg-light-blue .btn-primary:hover, footer.custom-footer .btn-primary:hover, .homepage .btn-primary:hover, header.bg-light-blue .btn-primary:focus, footer.custom-footer .btn-primary:focus, .homepage .btn-primary:focus {
  background: #2456b3;
  background-color: #2372f0 !important;
}
.btn-auth {
  font-size: 16px !important;
}
.user-actions {
  width: auto;
  justify-content: flex-end;
}
.user-actions>* {
  flex-shrink: 0;
}
.vr {
  width: 2px;
  min-height: 48px;
  background-color: #bbb;
}
.logo {
  width: 40%;
}
header.bg-light-blue ul.organization-list, footer.custom-footer ul.organization-list, .homepage ul.organization-list {
  padding-left: 0;
}
header, .homepage-hero, header.bg-light-blue .container-fluid, footer.custom-footer .container-fluid, .homepage .container-fluid {
  position: relative;
  z-index: 1;
}
.homepage-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
  padding: 60px 0 8px 0;
  animation: waves-move 9s ease-in-out infinite alternate;
}
.homepage-logos {
  display: flex;
  gap: 64px;
  margin-bottom: 32px;
  justify-content: center;
}
.homepage-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
}
.homepage-logo img {
  width: 56px;
  height: 56px;
}
.homepage-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 40px 0;
  color: #111;
  letter-spacing: 1px;
  z-index: 1;
  margin-top: 100px;
}
.homepage-search {
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.homepage-search-bar-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 0 32px;
  height: 57px;
  margin-top: 15px;
}
.title_style {
  background-color: #97bdf6;
  margin: auto;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  padding: 1px;
}
.homepage-search-bar {
  display: flex;
  align-items: center;
  width: 800px;
  max-width: 98vw;
  background: #fff;
  border: 2px solid #2563EB;
  border-radius: 48px;
  box-shadow: 0 2px 12px 0 #2563eb22;
  padding: 6px 12px 6px 32px;
  position: relative;
}
.homepage-search-input {
  flex: 1 1 auto;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: #222;
  font-weight: 400;
  padding: 16px 0;
  min-width: 0;
}
.homepage-search-input::placeholder {
  color: #bbb;
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 1;
}
.homepage-search-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px;
  min-height: 38px;
  margin-left: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
}
.homepage-search-btn img {
  width: 38px !important;
  height: 38px !important;
  left: 0;
  top: 0;
  position: absolute;
  transform: translateY(0);
}
.homepage-search-btn:hover .search-ellipse, .homepage-search-btn:focus .search-ellipse {
  filter: brightness(1.25);
}
.homepage-help-link {
  position: absolute;
  right: 48px;
  bottom: 32px;
  font-size: 22px;
}
.homepage-help-link a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
}
.homepage-help-link .arrow-right {
  font-size: 1.5em;
  vertical-align: middle;
}
.categories-bg {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.03);
  padding: 32px 32px 16px 32px;
  margin: 0 auto 16px auto;
}
header.bg-light-blue .media-grid, footer.custom-footer .media-grid, .homepage .media-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 32px;
  padding: 0;
  margin: 0;
  list-style: none;
}
header.bg-light-blue .module-grid, footer.custom-footer .module-grid, .homepage .module-grid {
  margin: 0 0 20px 0;
  list-style: none;
  padding-left: 0px;
  min-height: fit-content !important;
  padding-top: 0.75rem;
  border: 1px solid #ddd;
  border-width: 0 0;
  text-align: center;
}
.category-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: none;
  flex: 1 1 0;
  min-width: 260px;
  max-width: 370px;
  margin-bottom: 24px;
  padding: 24px 24px 24px 0;
  border-bottom: 3px solid #e6e8ef;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  transition: box-shadow 0.2s;
}
.category-card:hover, .category-card:focus {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.36);
  text-decoration: none;
  color: inherit;
}
.category-card__icon {
  flex: 0 0 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  margin-right: 24px;
}
.category-card__icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.2);
}
.category-card__content {
  flex: 1 1 auto;
  text-align: left;
}
.category-card__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #222;
}
.category-card__datasets {
  font-size: 16px;
  color: #444;
  font-weight: 400;
}
.group-mainpage-item:hover {
  background: #f5f5f5;
  border-radius: 8px;
  transition: background 0.2s;
}
.group-mainpage-icon {
  filter: grayscale(100%);
}
.group-mainpage-title {
  color: #3d5c7b;
}
.all-groups-link-item {
  align-content: end;
}
header.bg-light-blue .nav-facet, footer.custom-footer .nav-facet, .homepage .nav-facet {
  list-style: none;
  padding: 0;
  margin: 0;
}
header.bg-light-blue .nav-facet .nav-item, footer.custom-footer .nav-facet .nav-item, .homepage .nav-facet .nav-item {
  margin-bottom: 10px;
}
header.bg-light-blue .nav-facet .nav-item a, footer.custom-footer .nav-facet .nav-item a, .homepage .nav-facet .nav-item a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #2563eb;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0;
  background: none;
  border: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
header.bg-light-blue .nav-facet .nav-item a:hover, footer.custom-footer .nav-facet .nav-item a:hover, .homepage .nav-facet .nav-item a:hover, header.bg-light-blue .nav-facet .nav-item a:focus, footer.custom-footer .nav-facet .nav-item a:focus, .homepage .nav-facet .nav-item a:focus {
  background: #f2f6fa;
  color: #1746a2;
  text-decoration: none;
}
header.bg-light-blue .item-label, footer.custom-footer .item-label, .homepage .item-label {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
header.bg-light-blue .item-count.badge, footer.custom-footer .item-count.badge, .homepage .item-count.badge {
  margin-left: auto;
  flex-shrink: 0;
}
header.bg-light-blue .module>.page-header, footer.custom-footer .module>.page-header, .homepage .module>.page-header {
  margin-bottom: 15px;
}
header.bg-light-blue .module-resource, footer.custom-footer .module-resource, .homepage .module-resource {
  background-color: transparent !important;
}
header.bg-light-blue .module-narrow .module-heading, footer.custom-footer .module-narrow .module-heading, .homepage .module-narrow .module-heading, header.bg-light-blue .module-narrow .module-content, footer.custom-footer .module-narrow .module-content, .homepage .module-narrow .module-content, header.bg-light-blue .module-narrow .module-footer, footer.custom-footer .module-narrow .module-footer, .homepage .module-narrow .module-footer {
  padding-left: 0 !important;
}
header.bg-light-blue .module.module-narrow.module-shallow, footer.custom-footer .module.module-narrow.module-shallow, .homepage .module.module-narrow.module-shallow {
  background: #fff;
  border-radius: 32px;
  box-shadow: none;
  padding: 32px 24px 24px 24px;
  margin-bottom: 32px;
  border: none;
  position: relative;
}
header.bg-light-blue .module-heading, footer.custom-footer .module-heading, .homepage .module-heading {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111;
  background-color: transparent !important;
  border-bottom: none !important;
  border-top: none !important;
}
header.bg-light-blue .module-heading .fa-filter, footer.custom-footer .module-heading .fa-filter, .homepage .module-heading .fa-filter {
  font-size: 1.2rem;
  color: #111;
  margin-right: 8px;
  vertical-align: middle;
}
header.bg-light-blue .module-content, footer.custom-footer .module-content, .homepage .module-content {
  padding: 0 !important;
}
header.bg-light-blue .module-content.empty, footer.custom-footer .module-content.empty, .homepage .module-content.empty {
  color: #bbb;
  font-size: 1.1rem;
  margin: 24px 0;
  text-align: center;
  background: none;
  border: none;
  padding: 0;
}
header.bg-light-blue .module-footer, footer.custom-footer .module-footer, .homepage .module-footer {
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  min-height: 0;
}
header.bg-light-blue .module-shallow .module-content:first-child, footer.custom-footer .module-shallow .module-content:first-child, .homepage .module-shallow .module-content:first-child {
  padding-top: 10px;
  padding-bottom: 10px !important;
}
header.bg-light-blue .module-shallow .module-content:last-child, footer.custom-footer .module-shallow .module-content:last-child, .homepage .module-shallow .module-content:last-child {
  padding-bottom: 10px !important;
}
header.bg-light-blue aside.secondary .filters, footer.custom-footer aside.secondary .filters, .homepage aside.secondary .filters {
  padding: 0 0 16px 0;
  background: none;
  border: none;
}
.media-grid-mainpage {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0 0 32px 0;
  list-style: none;
  min-height: fit-content;
  background: #fafafa;
}
.media-item-main, .media-item-main.empty {
  text-align: center;
  width: 138px;
  height: 138px;
  min-width: 138px;
  min-height: 138px;
  max-width: 138px;
  max-height: 138px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  margin: 0 auto;
  box-shadow: none;
  transition: transform 0.13s cubic-bezier(.4, 2, .6, 1), box-shadow 0.13s;
}
.media-item-main:hover, .media-item-main-link:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
}
.media-item-main-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.13s cubic-bezier(.4, 2, .6, 1), box-shadow 0.13s;
  text-decoration: none;
}
.media-item-main .media-image-main {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  margin: auto;
}
.media-item-main .media-title-main {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
  color: #111;
  text-align: center;
  width: 100%;
  word-break: break-word;
  line-height: 1.2;
}
.statistics-mainpage-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px 0 32px 0;
  background: transparent;
}
.statistics-mainpage {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
  padding: 36px 32px;
  gap: 0;
  min-width: 320px;
  width: 100%;
  margin: 0 auto;
}
.stat-mainpage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
  flex: 0 0 auto;
}
.statistics-mainpage .stat-mainpage-item:nth-child(2) {
  margin: 0 auto;
}
.stat-mainpage-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  font-family: 'e-Ukraine', Arial, sans-serif;
  line-height: 1.1;
  letter-spacing: 0.5px;
}
.stat-mainpage-label {
  font-size: 1.25rem;
  color: #222;
  font-family: 'e-Ukraine', Arial, sans-serif;
  font-weight: 400;
  margin-top: 0;
  text-align: center;
  letter-spacing: 0.01em;
}
.recent-datasets-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 32px auto;
}
.recent-datasets-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.recent-dataset-link {
  flex: 1 1 calc(33% - 24px);
  min-width: 260px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 20px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 0;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.13s cubic-bezier(.4, 2, .6, 1), box-shadow 0.13s;
}
.recent-dataset-link:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
  text-decoration: none !important;
}
.recent-dataset-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 8px;
  text-decoration: none !important;
}
.recent-dataset-meta {
  margin-bottom: 8px;
  color: #222;
}
.recent-dataset-meta .org-title {
  font-weight: 600;
  margin-left: 12px;
  color: #222;
}
.recent-dataset-tags {
  margin-bottom: 8px;
}
.recent-dataset-tag {
  display: inline-block;
  background: #f5f5f5;
  border: 1px solid #bbb;
  border-radius: 16px;
  padding: 2px 14px;
  font-size: 14px;
  margin-right: 6px;
  margin-bottom: 4px;
  color: #222;
}
.recent-dataset-resources {
  margin-top: 4px;
}
.recent-dataset-resource {
  display: inline-block;
  background: #4caf50;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  padding: 2px 12px;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 2px;
}
.recent-dataset-card--empty {
  flex: 1 1 calc(33% - 24px);
  min-width: 260px;
  background: #fafafa;
  border: 1px dashed #e0e0e0;
  border-radius: 16px;
  box-shadow: none;
  padding: 20px 18px 16px 18px;
}
.mainpage-flex-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-direction: row;
  margin-bottom: 30px;
}
.mainpage-block {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 32px 24px;
  flex: 1 1 0;
  min-width: 320px;
  max-width: 370px;
  box-sizing: border-box;
}
.mainpage-block--left {
  max-width: 370px;
  min-width: 320px;
  flex: 0 0 370px;
}
.mainpage-block--right {
  max-width: 100%;
  min-width: 0;
  flex: 1 1 0;
}
.mainpage-block-title-small {
  font-size: 1.3em;
  font-weight: 700;
}
.mainpage-block-title-large {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 24px;
}
.mainpage-tab-label {
  font-size: 1.1em;
  font-weight: 600;
}
.custom-footer {
  background: #f7f9fc !important;
  color: #23408e !important;
  font-size: 1.08rem;
  border-top: none;
}
.custom-footer .footer-title {
  font-weight: 700;
  color: #23408e;
  font-size: 1.1rem;
}
.custom-footer .footer-subtitle {
  color: #23408e;
  font-size: 1rem;
}
.custom-footer a, .custom-footer .footer-link {
  color: #3573ea !important;
  text-decoration: underline;
  transition: color 0.2s;
}
.custom-footer a:hover, .custom-footer .footer-link:hover {
  color: #1746a2 !important;
  text-decoration: underline;
}
.custom-footer .footer-support-label {
  color: #7a869a;
  font-size: 1rem;
  margin-right: 8px;
}
.custom-footer hr {
  border-color: #e0e4ef;
}
.custom-footer img {
  vertical-align: middle;
}
.footer-icon-black {
  filter: grayscale(100%) brightness(0) invert(0);
}
.footer-icon {
  width: 50px;
}
.no-radius-end {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.no-radius-start {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}
@media (max-width: 767px) {
.logos-row {
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 12px;
  }
header.bg-light-blue .col-md-3.align-items-start, footer.custom-footer .col-md-3.align-items-start, .homepage .col-md-3.align-items-start {
    align-items: center !important;
    text-align: center !important;
  }
}
.logos-row>a {
  margin-right: 0 !important;
}
.main-nav {
  flex-direction: row !important;
  justify-content: flex-start !important;
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
}
.main-nav a {
  display: inline-block;
  margin-right: 16px;
  margin-bottom: 0 !important;
}
.user-actions {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  gap: 8px;
}
.user-actions .btn-auth {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin: 4px 0 !important;
}
.logout-form {
  display: flex !important;
  justify-content: center !important;
  margin-top: 8px !important;
  max-width: 230px;
}
.logout-form .btn {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
header.bg-light-blue .waves-bg, footer.custom-footer .waves-bg, .homepage .waves-bg {
  background-size: 110% auto;
}
@media (max-width: 767.98px) {
.user-actions {
    width: 100% !important;
    justify-content: center !important;
  }
.custom-footer .col-md-6 {
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 16px;
  }
header.bg-light-blue .resource-item .description, footer.custom-footer .resource-item .description, .homepage .resource-item .description {
    white-space: normal;
    width: 100%;
    display: block;
  }
}
@media (min-width: 768px) {
.logos-row {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
}
@media (max-width: 991.98px) {
.logo {
    width: 40%;
  }
.main-nav {
    flex-wrap: wrap;
    gap: 1rem !important;
  }
header .d-flex.flex-wrap.align-items-center.justify-content-between {
    flex-direction: column !important;
    align-items: center !important;
  }
header .d-flex.align-items-center.flex-shrink-0 {
    justify-content: center !important;
    width: 100%;
    margin-bottom: 1rem;
  }
header nav.main-nav {
    justify-content: center !important;
    width: 100%;
    margin-bottom: 1rem;
  }
header .d-flex.align-items-center.flex-shrink-0.mt-3 {
    justify-content: center !important;
    width: 100%;
    margin-bottom: 0;
  }
}
@media (max-width: 1000px) {
.category-card {
    width: calc(50% - 24px);
    min-width: 200px;
  }
.categories-bg {
    padding: 24px 8px 8px 8px;
  }
}
@media (max-width: 1200px) {
.custom-navbar-nav {
    gap: 24px;
    margin-left: 0;
  }
.custom-nav-link {
    padding: 14px 16px !important;
    font-size: 1.1rem;
  }
.media-grid-mainpage {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 16px;
  }
}
@media (max-width: 900px) {
.custom-navbar, header.bg-light-blue .navbar, footer.custom-footer .navbar, .homepage .navbar {
    padding: 0 8px;
  }
.mainpage-flex-row {
    flex-direction: column;
    gap: 16px;
  }
.mainpage-block, .mainpage-block--left, .mainpage-block--right {
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100%;
  }
.statistics-mainpage {
    gap: 24px;
    padding: 24px 8px;
    max-width: 98vw;
  }
.stat-mainpage-item {
    min-width: 100px;
  }
}
@media (max-width: 700px) {
.custom-navbar {
    padding: 0 8px;
  }
.homepage-title {
    margin-top: 10px;
  }
.custom-navbar-nav {
    gap: 8px;
  }
.category-card {
    width: 100%;
    min-width: 0;
    margin: 0 0 16px 0;
  }
.categories-bg {
    padding: 12px 0 0 0;
  }
.media-grid-mainpage {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 10px;
  }
.media-item-main, .media-item-main.empty {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    max-width: 100px;
    max-height: 100px;
  }
.media-item-main .media-image-main {
    width: 40px;
    height: 40px;
  }
.media-item-main .media-title-main {
    font-size: 12px;
  }
.recent-datasets-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 600px) {
.statistics-mainpage {
    flex-direction: column;
    gap: 12px;
    padding: 12px 4px;
  }
.stat-mainpage-item {
    min-width: 0;
  }
.stat-mainpage-number {
    font-size: 2.1rem;
  }
.stat-mainpage-label {
    font-size: 1rem;
  }
.logo {
    width: 50% !important;
  }
}
header.bg-light-blue .moderation-tabs, footer.custom-footer .moderation-tabs, .homepage .moderation-tabs {
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}
header.bg-light-blue .moderation-tabs .nav-tabs, footer.custom-footer .moderation-tabs .nav-tabs, .homepage .moderation-tabs .nav-tabs {
  border-bottom: none;
}
header.bg-light-blue .moderation-tabs .nav-tabs > li > a, footer.custom-footer .moderation-tabs .nav-tabs > li > a, .homepage .moderation-tabs .nav-tabs > li > a {
  border-radius: 4px 4px 0 0;
  margin-right: 2px;
  padding: 10px 15px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  color: #666;
  text-decoration: none;
  cursor: pointer;
}
header.bg-light-blue .moderation-tabs .nav-tabs > li.moderation-active > a, footer.custom-footer .moderation-tabs .nav-tabs > li.moderation-active > a, .homepage .moderation-tabs .nav-tabs > li.moderation-active > a {
  background-color: #fff;
  border-bottom-color: transparent;
  color: #333;
  font-weight: bold;
}
header.bg-light-blue .moderation-tabs .nav-tabs > li > a:hover, footer.custom-footer .moderation-tabs .nav-tabs > li > a:hover, .homepage .moderation-tabs .nav-tabs > li > a:hover {
  background-color: #e9e9e9;
  border-color: #ccc;
}
header.bg-light-blue .moderation-tabs .nav-tabs > li.moderation-active > a:hover, footer.custom-footer .moderation-tabs .nav-tabs > li.moderation-active > a:hover, .homepage .moderation-tabs .nav-tabs > li.moderation-active > a:hover {
  background-color: #fff;
}
header.bg-light-blue .moderation-tabs .badge, footer.custom-footer .moderation-tabs .badge, .homepage .moderation-tabs .badge {
  background-color: #337ab7;
  margin-left: 5px;
}
header.bg-light-blue .moderation-tab-content, footer.custom-footer .moderation-tab-content, .homepage .moderation-tab-content {
  padding-top: 20px;
}
header.bg-light-blue .moderation-tab-pane, footer.custom-footer .moderation-tab-pane, .homepage .moderation-tab-pane {
  display: none;
}
header.bg-light-blue .moderation-tab-pane.moderation-active, footer.custom-footer .moderation-tab-pane.moderation-active, .homepage .moderation-tab-pane.moderation-active {
  display: block;
}
