/* ========================================
   NINEMAGS HelpScout вЂ” rebuilt clean version
======================================== */

:root {
  --nm-gap: 24px;
  --nm-mint: #2ec9b8;
  --nm-mint-2: #64e1d2;
  --nm-text: #0f172a;
  --nm-muted: #6b7280;
  --nm-bg: #f5f7fa;
  --nm-white: #ffffff;
  --nm-border: rgba(15, 23, 42, 0.06);
  --nm-border-strong: rgba(15, 23, 42, 0.10);
}

/* ========================================
   GLOBAL
======================================== */

footer,
.hs-doc-footer,
.docs-footer,
.powered-by,
.footer-powered-by {
  display: none !important;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--nm-text);
  background: var(--nm-bg) !important;
}

.container-fluid,
.row-fluid,
#contentArea,
#main-content,
#main-content .content,
#contentArea .content {
  box-shadow: none !important;
  background: transparent !important;
}

/* ========================================
   HEADER
======================================== */

header#mainNav,
.navbar {
  background: linear-gradient(135deg, #33c7b8, #55c8e6) !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08) !important;
  margin-bottom: 16px !important;
  padding-bottom: 0 !important;
}

.navbar-inner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

header#mainNav .container-fluid,
.navbar .container-fluid {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
  min-height: 84px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

a.brand {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  max-width: 250px !important;
  flex: 0 0 auto !important;
  float: none !important;
  position: relative !important;
  z-index: 3 !important;
}

a.brand img,
a.brand svg {
  max-height: 46px !important;
  width: auto !important;
  display: block !important;
  margin: 0 !important;
}

.nav-collapse,
.navbar .nav-collapse {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: flex-end !important;
}

.navbar .nav,
.navbar ul.nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  margin: 0 !important;
  float: none !important;
}

.navbar .nav > li,
.navbar ul.nav > li {
  list-style: none !important;
  margin: 0 !important;
  position: relative !important;
}

.navbar .nav > li > a,
.navbar ul.nav > li > a {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  padding: 14px 20px !important;
  border-radius: 999px !important;
  background: transparent !important;
  text-shadow: none !important;
  box-shadow: none !important;
  transition: background 0.18s ease, color 0.18s ease !important;
}

.navbar .nav > li > a:hover,
.navbar ul.nav > li > a:hover {
  background: rgba(255, 255, 255, 0.10) !important;
  color: #ffffff !important;
}

.navbar .nav > li.active > a,
.navbar ul.nav > li.active > a,
.navbar .nav > li#ninemags-uploader.active > a,
.navbar .nav > li#ninemags-live.active > a {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

.navbar .nav > li.active::after,
.navbar ul.nav > li.active::after,
.navbar .nav > li#ninemags-uploader.active::after,
.navbar .nav > li#ninemags-live.active::after {
  content: none !important;
}

.navbar .btn-navbar,
.btn.btn-navbar,
button.btn-navbar {
  position: static !important;
  margin: 0 !important;
  margin-left: auto !important;
  padding: 8px 10px !important;
  transform: none !important;
  top: auto !important;
  right: auto !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  z-index: 4 !important;
}

.navbar .btn-navbar .icon-bar,
.btn.btn-navbar .icon-bar,
button.btn-navbar .icon-bar {
  width: 26px !important;
  height: 3px !important;
  margin: 5px 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  background: #ffffff !important;
}

/* ========================================
   HOME GRID
======================================== */

.category-list,
.collection-list,
.section-list,
.categories,
.collections,
.sections {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: var(--nm-gap) !important;
}

.category-list > *,
.collection-list > *,
.section-list > *,
.categories > *,
.collections > *,
.sections > * {
  box-sizing: border-box !important;
  margin: 0 !important;
  float: none !important;
  position: static !important;
  display: flex !important;
  align-items: stretch !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
}

@media (min-width: 1024px) {
  .category-list > *,
  .collection-list > *,
  .section-list > *,
  .categories > *,
  .collections > *,
  .sections > * {
    flex: 0 0 calc((100% - (2 * var(--nm-gap))) / 3) !important;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .category-list > *,
  .collection-list > *,
  .section-list > *,
  .categories > *,
  .collections > *,
  .sections > * {
    flex: 0 0 calc((100% - var(--nm-gap)) / 2) !important;
  }
}

@media (max-width: 640px) {
  .category-list,
  .collection-list,
  .section-list,
  .categories,
  .collections,
  .sections {
    gap: 14px !important;
  }

  .category-list > *,
  .collection-list > *,
  .section-list > *,
  .categories > *,
  .collections > *,
  .sections > * {
    flex: 0 0 100% !important;
  }
}

.category-list a,
.collection-list a,
.section-list a,
.categories a,
.collections a,
.sections a {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  justify-content: flex-start !important;
  text-decoration: none !important;
}

/* ========================================
   HOME CARDS
======================================== */

.category,
.collection,
.section,
.category-list .category,
.collection-list .collection,
.section-list .section,
.category-list a,
.collection-list a,
.section-list a,
.categories a,
.collections a,
.sections a,
a.category,
a.collection,
a.section {
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 236px !important;
  padding: 0 !important;
}

.category:hover,
.collection:hover,
.section:hover,
.category-list a:hover,
.collection-list a:hover,
.section-list a:hover,
.categories a:hover,
.collections a:hover,
.sections a:hover,
a.category:hover,
a.collection:hover,
a.section:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12) !important;
  border-color: rgba(46, 201, 184, 0.35) !important;
}

.category::before,
.collection::before,
.section::before,
.category-list a::before,
.collection-list a::before,
.section-list a::before,
.categories a::before,
.collections a::before,
.sections a::before,
a.category::before,
a.collection::before,
a.section::before {
  content: none !important;
}

.category-list a h3,
.collection-list a h3,
.section-list a h3,
.categories a h3,
.collections a h3,
.sections a h3,
.category-list a .name,
.collection-list a .name,
.section-list a .name,
.categories a .name,
.collections a .name,
.sections a .name {
  color: #0f172a !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  text-align: center !important;
  line-height: 1.2 !important;
  font-size: 18px !important;
  margin: 16px 16px 0 16px !important;
  padding-top: 64px !important;
  position: relative !important;
  min-height: 72px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.category-list a h3::before,
.collection-list a h3::before,
.section-list a h3::before,
.categories a h3::before,
.collections a h3::before,
.sections a h3::before,
.category-list a .name::before,
.collection-list a .name::before,
.section-list a .name::before,
.categories a .name::before,
.collections a .name::before,
.sections a .name::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  background-color: rgba(46, 201, 184, 0.10) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 22px 22px !important;
  border: 1px solid rgba(46, 201, 184, 0.12) !important;
}

.category-list a h3::after,
.collection-list a h3::after,
.section-list a h3::after,
.categories a h3::after,
.collections a h3::after,
.sections a h3::after,
.category-list a .name::after,
.collection-list a .name::after,
.section-list a .name::after,
.categories a .name::after,
.collections a .name::after,
.sections a .name::after {
  content: "" !important;
  display: block !important;
  height: 1.5px !important;
  border-radius: 999px !important;
  margin-top: 8px !important;
  background: linear-gradient(90deg, #2ec9b8, #64e1d2) !important;
  opacity: 0.95 !important;
}

.category-list a p,
.collection-list a p,
.section-list a p,
.categories a p,
.collections a p,
.sections a p,
.category-list a .desc,
.collection-list a .desc,
.section-list a .desc,
.categories a .desc,
.collections a .desc,
.sections a .desc {
  color: rgba(91, 103, 122, 0.90) !important;
  margin: 2px 16px 0 16px !important;
  text-align: center !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  min-height: 38px !important;
}

.category-list a small,
.collection-list a small,
.section-list a small,
.categories a small,
.collections a small,
.sections a small,
.category-list a .meta,
.collection-list a .meta,
.section-list a .meta,
.categories a .meta,
.collections a .meta,
.sections a .meta,
.category-list a .article-count,
.collection-list a .article-count,
.section-list a .article-count,
.categories a .article-count,
.collections a .article-count,
.sections a .article-count {
  color: #334155 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-align: center !important;
  margin: auto 16px 16px 16px !important;
}

/* ========================================
   CARD ICONS вЂ” REPEATING CYCLE
======================================== */

.category-list > *:nth-child(6n+1) h3::before,
.collection-list > *:nth-child(6n+1) h3::before,
.section-list > *:nth-child(6n+1) h3::before,
.categories > *:nth-child(6n+1) h3::before,
.collections > *:nth-child(6n+1) h3::before,
.sections > *:nth-child(6n+1) h3::before,
.category-list > *:nth-child(6n+1) .name::before,
.collection-list > *:nth-child(6n+1) .name::before,
.section-list > *:nth-child(6n+1) .name::before,
.categories > *:nth-child(6n+1) .name::before,
.collections > *:nth-child(6n+1) .name::before,
.sections > *:nth-child(6n+1) .name::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232ec9b8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 4v10l-7 4-7-4V7l7-4z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") !important;
}

.category-list > *:nth-child(6n+2) h3::before,
.collection-list > *:nth-child(6n+2) h3::before,
.section-list > *:nth-child(6n+2) h3::before,
.categories > *:nth-child(6n+2) h3::before,
.collections > *:nth-child(6n+2) h3::before,
.sections > *:nth-child(6n+2) h3::before,
.category-list > *:nth-child(6n+2) .name::before,
.collection-list > *:nth-child(6n+2) .name::before,
.section-list > *:nth-child(6n+2) .name::before,
.categories > *:nth-child(6n+2) .name::before,
.collections > *:nth-child(6n+2) .name::before,
.sections > *:nth-child(6n+2) .name::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232ec9b8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M8 11l4 4 4-4'/%3E%3Cpath d='M5 19h14'/%3E%3C/svg%3E") !important;
}

.category-list > *:nth-child(6n+3) h3::before,
.collection-list > *:nth-child(6n+3) h3::before,
.section-list > *:nth-child(6n+3) h3::before,
.categories > *:nth-child(6n+3) h3::before,
.collections > *:nth-child(6n+3) h3::before,
.sections > *:nth-child(6n+3) h3::before,
.category-list > *:nth-child(6n+3) .name::before,
.collection-list > *:nth-child(6n+3) .name::before,
.section-list > *:nth-child(6n+3) .name::before,
.categories > *:nth-child(6n+3) .name::before,
.collections > *:nth-child(6n+3) .name::before,
.sections > *:nth-child(6n+3) .name::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232ec9b8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.87l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 1-3 0 1.7 1.7 0 0 0-1-.6 1.7 1.7 0 0 0-1.87.34l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 1 0-3 1.7 1.7 0 0 0 .6-1 1.7 1.7 0 0 0-.34-1.87l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.7 1.7 0 0 0 9 4.6a1.7 1.7 0 0 0 1-.6 1.7 1.7 0 0 1 3 0 1.7 1.7 0 0 0 1 .6 1.7 1.7 0 0 0 1.87-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.7 1.7 0 0 0 19.4 9c.24.37.4.79.6 1a1.7 1.7 0 0 1 0 3c-.2.21-.36.63-.6 1z'/%3E%3C/svg%3E") !important;
}

.category-list > *:nth-child(6n+4) h3::before,
.collection-list > *:nth-child(6n+4) h3::before,
.section-list > *:nth-child(6n+4) h3::before,
.categories > *:nth-child(6n+4) h3::before,
.collections > *:nth-child(6n+4) h3::before,
.sections > *:nth-child(6n+4) h3::before,
.category-list > *:nth-child(6n+4) .name::before,
.collection-list > *:nth-child(6n+4) .name::before,
.section-list > *:nth-child(6n+4) .name::before,
.categories > *:nth-child(6n+4) .name::before,
.collections > *:nth-child(6n+4) .name::before,
.sections > *:nth-child(6n+4) .name::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232ec9b8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7l1.2-2h9.6L18 7'/%3E%3Cpath d='M5 7h14l-1 11H6L5 7z'/%3E%3Cpath d='M9 10v1a3 3 0 0 0 6 0v-1'/%3E%3C/svg%3E") !important;
}

.category-list > *:nth-child(6n+5) h3::before,
.collection-list > *:nth-child(6n+5) h3::before,
.section-list > *:nth-child(6n+5) h3::before,
.categories > *:nth-child(6n+5) h3::before,
.collections > *:nth-child(6n+5) h3::before,
.sections > *:nth-child(6n+5) h3::before,
.category-list > *:nth-child(6n+5) .name::before,
.collection-list > *:nth-child(6n+5) .name::before,
.section-list > *:nth-child(6n+5) .name::before,
.categories > *:nth-child(6n+5) .name::before,
.collections > *:nth-child(6n+5) .name::before,
.sections > *:nth-child(6n+5) .name::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232ec9b8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='14' rx='2'/%3E%3Cpath d='M8 9h8M8 13h5'/%3E%3C/svg%3E") !important;
}

.category-list > *:nth-child(6n) h3::before,
.collection-list > *:nth-child(6n) h3::before,
.section-list > *:nth-child(6n) h3::before,
.categories > *:nth-child(6n) h3::before,
.collections > *:nth-child(6n) h3::before,
.sections > *:nth-child(6n) h3::before,
.category-list > *:nth-child(6n) .name::before,
.collection-list > *:nth-child(6n) .name::before,
.section-list > *:nth-child(6n) .name::before,
.categories > *:nth-child(6n) .name::before,
.collections > *:nth-child(6n) .name::before,
.sections > *:nth-child(6n) .name::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232ec9b8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6-10-6-10-6z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E") !important;
}

/* ========================================
   INTERNAL LAYOUT
======================================== */

.row-fluid {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  align-items: flex-start !important;
  background: transparent !important;
  box-shadow: none !important;
}

.row-fluid > #sidebar,
.row-fluid > aside#sidebar,
.row-fluid > .span3 {
  order: 1 !important;
  width: 240px !important;
  min-width: 240px !important;
  max-width: 240px !important;
  flex: 0 0 240px !important;
  float: none !important;
}

.row-fluid > #main-content,
.row-fluid > section#main-content,
.row-fluid > .span9,
.row-fluid > #contentArea {
  order: 2 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  float: none !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 22px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
  padding: 28px 30px !important;
  position: relative !important;
}

/* ========================================
   SIDEBAR
======================================== */

aside#sidebar,
#sidebar {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

aside#sidebar #searchBar,
#sidebar #searchBar {
  margin-bottom: 18px !important;
}

aside#sidebar #searchBar input,
#sidebar #searchBar input {
  height: 44px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  padding: 0 42px 0 14px !important;
  font-size: 15px !important;
}

aside#sidebar h3,
aside#sidebar h4,
#sidebar h3,
#sidebar h4,
.sidebar h3,
.sidebar h4 {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #0f172a !important;
  margin: 0 0 14px 0 !important;
}

aside#sidebar ul,
#sidebar ul {
  margin: 0 !important;
  padding: 0 !important;
}

aside#sidebar li,
#sidebar li {
  list-style: none !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

aside#sidebar a,
#sidebar a {
  display: block !important;
  padding: 16px 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.07) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: none !important;
  color: #1e293b !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  line-height: 1.25 !important;
}

aside#sidebar a:hover,
#sidebar a:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(46, 201, 184, 0.24) !important;
}

.sidebar .active > a,
#sidebar .active > a,
.docs-sidebar .active > a,
.kb-sidebar .active > a,
.sidebar a.active,
#sidebar a.active,
.docs-sidebar a.active,
.kb-sidebar a.active {
  color: #0f172a !important;
  font-weight: 700 !important;
  background: #ffffff !important;
  border-color: rgba(46, 201, 184, 0.28) !important;
}

.sidebar .active > a::before,
#sidebar .active > a::before,
.docs-sidebar .active > a::before,
.kb-sidebar .active > a::before,
.sidebar a.active::before,
#sidebar a.active::before,
.docs-sidebar a.active::before,
.kb-sidebar a.active::before {
  content: "" !important;
  display: inline-block !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: #2ec9b8 !important;
  margin-right: 10px !important;
  vertical-align: middle !important;
}

/* ========================================
   ARTICLE LIST / FEATURED BLOCK
======================================== */

#main-content ul,
#contentArea ul {
  margin-top: 18px !important;
  padding-left: 0 !important;
}

#main-content li,
#contentArea li {
  list-style: none !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#main-content li a,
#contentArea li a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: #1e293b !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
}

#main-content li a:hover,
#contentArea li a:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(46, 201, 184, 0.25) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
}

.icon-article-doc {
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: linear-gradient(135deg, #2ec9b8, #64e1d2) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zm0 2.5L18.5 9H14zM8 12h8v2H8zm0 4h8v2H8zm0-8h4v2H8z'/%3E%3C/svg%3E") center / contain no-repeat !important;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8zm0 2.5L18.5 9H14zM8 12h8v2H8zm0 4h8v2H8zm0-8h4v2H8z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  opacity: 0.95 !important;
}

/* ========================================
   ARTICLE PAGE
======================================== */

#fullArticle,
.article,
.docs-article {
  background: #ffffff !important;
  border-radius: 22px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  padding: 28px !important;
}

#fullArticle h2 {
  font-weight: 700 !important;
  margin-top: 22px !important;
}

#fullArticle p {
  line-height: 1.7 !important;
  font-size: 16px !important;
  color: rgba(15, 23, 42, 0.85) !important;
}

/* ========================================
   SEARCH BUTTON вЂ” DESKTOP ONLY
======================================== */

aside#sidebar form#searchBar button,
#sidebar form#searchBar button,
aside#sidebar #searchBar button,
#sidebar #searchBar button {
  background: linear-gradient(135deg, #2ec9b8, #64e1d2) !important;
  border: none !important;
  box-shadow: none !important;
}

aside#sidebar form#searchBar button:hover,
#sidebar form#searchBar button:hover,
aside#sidebar #searchBar button:hover,
#sidebar #searchBar button:hover {
  background: linear-gradient(135deg, #27bbaa, #55d8cb) !important;
  border: none !important;
}

#searchBar button .icon-search,
#searchBar button .icon-search::before,
#searchBar button i.icon-search,
#searchBar button i.icon-search::before {
  color: #ffffff !important;
  fill: #ffffff !important;
  background: transparent !important;
  opacity: 1 !important;
}

/* ========================================
   DESKTOP вЂ” MOVE ONLY SIDEBAR LEFT
======================================== */

@media (min-width: 1024px) {
  .row-fluid > #sidebar,
  .row-fluid > aside#sidebar,
  .row-fluid > .span3 {
    position: relative !important;
    left: -25px !important;
  }
}

/* ========================================
   MOBILE / TABLET FIXES
======================================== */

@media (max-width: 1023px) {
  .row-fluid,
  #contentArea .row-fluid,
  section#contentArea .row-fluid {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .row-fluid::before,
  .row-fluid::after,
  #contentArea .row-fluid::before,
  #contentArea .row-fluid::after {
    display: none !important;
    content: none !important;
  }

  .row-fluid > [class*="span"],
  .row-fluid > #main-content,
  .row-fluid > section#main-content,
  .row-fluid > #contentArea,
  .row-fluid > #sidebar,
  .row-fluid > aside#sidebar,
  .row-fluid > .span9,
  .row-fluid > .span3 {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    flex: none !important;
    box-sizing: border-box !important;
  }

  .row-fluid > #main-content,
  .row-fluid > section#main-content,
  .row-fluid > .span9,
  .row-fluid > #contentArea {
    order: 1 !important;
    padding: 16px 10px !important;
    border-radius: 18px !important;
    width: calc(100% + 12px) !important;
    max-width: calc(100% + 12px) !important;
    margin-left: -6px !important;
    margin-right: -6px !important;
  }

  .row-fluid > #sidebar,
  .row-fluid > aside#sidebar,
  .row-fluid > .span3 {
    order: 2 !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
  }

  #main-content h1,
  #contentArea h1,
  #fullArticle h1 {
    font-size: 24px !important;
    line-height: 1.08 !important;
    margin: 0 0 6px 0 !important;
  }

  #main-content .description,
  #main-content .collection-description,
  #contentArea .description,
  #contentArea .collection-description {
    font-size: 14px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
  }

  .category,
  .collection,
  .section,
  .category-list .category,
  .collection-list .collection,
  .section-list .section,
  .category-list a,
  .collection-list a,
  .section-list a,
  .categories a,
  .collections a,
  .sections a,
  a.category,
  a.collection,
  a.section {
    min-height: 220px !important;
  }

  .category-list a h3,
  .collection-list a h3,
  .section-list a h3,
  .categories a h3,
  .collections a h3,
  .sections a h3,
  .category-list a .name,
  .collection-list a .name,
  .section-list a .name,
  .categories a .name,
  .collections a .name,
  .sections a .name {
    font-size: 17px !important;
    padding-top: 60px !important;
    min-height: 70px !important;
  }

  .category-list a p,
  .collection-list a p,
  .section-list a p,
  .categories a p,
  .collections a p,
  .sections a p,
  .category-list a .desc,
  .collection-list a .desc,
  .section-list a .desc,
  .categories a .desc,
  .collections a .desc,
  .sections a .desc {
    min-height: 32px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 767px) {
  header#mainNav,
  .navbar {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }

  .navbar-inner {
    min-height: 0 !important;
  }

  header#mainNav .container-fluid,
  .navbar .container-fluid,
  header#mainNav .navbar-inner .container-fluid,
  .navbar .navbar-inner .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    min-height: 64px !important;
    padding: 12px 14px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  a.brand {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    max-width: 140px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    flex: 0 1 auto !important;
  }

  a.brand img,
  a.brand svg {
    display: block !important;
    max-height: 28px !important;
    width: auto !important;
    margin: 0 !important;
  }

  .navbar .btn-navbar,
  .btn.btn-navbar,
  button.btn-navbar {
    order: 2 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 0 auto !important;
    padding: 6px 8px !important;
    border: none !important;
    background: transparent !important;
    float: none !important;
    flex: 0 0 auto !important;
    align-self: center !important;
  }

  .navbar .btn-navbar .icon-bar,
  .btn.btn-navbar .icon-bar,
  button.btn-navbar .icon-bar {
    width: 22px !important;
    height: 2px !important;
    margin: 4px 0 !important;
    background: #ffffff !important;
  }

  .nav-collapse,
  .navbar .nav-collapse {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
    clear: both !important;
    display: block !important;
  }

  .navbar .nav,
  .navbar ul.nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 10px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  .navbar .nav > li,
  .navbar ul.nav > li {
    width: 100% !important;
    margin: 0 !important;
  }

  .navbar .nav > li > a,
  .navbar ul.nav > li > a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }

  .row-fluid > #main-content,
  .row-fluid > section#main-content,
  .row-fluid > .span9,
  .row-fluid > #contentArea,
  #main-content,
  #contentArea {
    width: calc(100% + 16px) !important;
    max-width: calc(100% + 16px) !important;
    min-width: 0 !important;
    padding: 14px 12px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    margin-left: -8px !important;
    margin-right: -8px !important;
  }

  #main-content h1,
  #contentArea h1,
  #fullArticle h1 {
    font-size: 20px !important;
    line-height: 1.08 !important;
    margin: 0 0 6px 0 !important;
  }

  #main-content .description,
  #main-content .collection-description,
  #contentArea .description,
  #contentArea .collection-description {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  #main-content ul,
  #contentArea ul {
    margin-top: 12px !important;
  }

  #main-content li,
  #contentArea li {
    margin: 0 0 10px 0 !important;
  }

  #main-content li a,
  #contentArea li a {
    padding: 14px 14px !important;
    border-radius: 14px !important;
    gap: 10px !important;
    font-size: 15px !important;
  }

  .icon-article-doc {
    width: 16px !important;
    height: 16px !important;
  }

  aside#sidebar #searchBar,
  #sidebar #searchBar {
    margin-bottom: 14px !important;
  }

  aside#sidebar #searchBar input,
  #sidebar #searchBar input {
    height: 42px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    padding: 0 40px 0 12px !important;
  }

  aside#sidebar h3,
  aside#sidebar h4,
  #sidebar h3,
  #sidebar h4,
  .sidebar h3,
  .sidebar h4 {
    font-size: 12px !important;
    margin: 0 0 12px 0 !important;
  }

  aside#sidebar a,
  #sidebar a {
    padding: 14px 14px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
  }

  .category,
  .collection,
  .section,
  .category-list .category,
  .collection-list .collection,
  .section-list .section,
  .category-list a,
  .collection-list a,
  .section-list a,
  .categories a,
  .collections a,
  .sections a,
  a.category,
  a.collection,
  a.section {
    min-height: 196px !important;
    border-radius: 18px !important;
  }

  .category-list a h3,
  .collection-list a h3,
  .section-list a h3,
  .categories a h3,
  .collections a h3,
  .sections a h3,
  .category-list a .name,
  .collection-list a .name,
  .section-list a .name,
  .categories a .name,
  .collections a .name,
  .sections a .name {
    font-size: 16px !important;
    padding-top: 56px !important;
    min-height: 64px !important;
    margin: 14px 14px 0 14px !important;
  }

  .category-list a h3::before,
  .collection-list a h3::before,
  .section-list a h3::before,
  .categories a h3::before,
  .collections a h3::before,
  .sections a h3::before,
  .category-list a .name::before,
  .collection-list a .name::before,
  .section-list a .name::before,
  .categories a .name::before,
  .collections a .name::before,
  .sections a .name::before {
    width: 42px !important;
    height: 42px !important;
    background-size: 20px 20px !important;
  }

  .category-list a h3::after,
  .collection-list a h3::after,
  .section-list a h3::after,
  .categories a h3::after,
  .collections a h3::after,
  .sections a h3::after,
  .category-list a .name::after,
  .collection-list a .name::after,
  .section-list a .name::after,
  .categories a .name::after,
  .collections a .name::after,
  .sections a .name::after {
    margin-top: 6px !important;
  }

  .category-list a p,
  .collection-list a p,
  .section-list a p,
  .categories a p,
  .collections a p,
  .sections a p,
  .category-list a .desc,
  .collection-list a .desc,
  .section-list a .desc,
  .categories a .desc,
  .collections a .desc,
  .sections a .desc {
    margin: 2px 14px 0 14px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    min-height: 28px !important;
  }

  .category-list a small,
  .collection-list a small,
  .section-list a small,
  .categories a small,
  .collections a small,
  .sections a small,
  .category-list a .meta,
  .collection-list a .meta,
  .section-list a .meta,
  .categories a .meta,
  .collections a .meta,
  .sections a .meta,
  .category-list a .article-count,
  .collection-list a .article-count,
  .section-list a .article-count,
  .categories a .article-count,
  .collections a .article-count,
  .sections a .article-count {
    font-size: 14px !important;
    margin: auto 14px 14px 14px !important;
  }

  /* 1. РЈР‘Р РђРўР¬ Р¦Р’Р•Рў РЈ РљРќРћРџРљР SEARCH РќРђ РњРћР‘РР›РљР• */
  aside#sidebar form#searchBar button,
  #sidebar form#searchBar button,
  aside#sidebar #searchBar button,
  #sidebar #searchBar button {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
  }

  aside#sidebar form#searchBar button:hover,
  #sidebar form#searchBar button:hover,
  aside#sidebar #searchBar button:hover,
  #sidebar #searchBar button:hover {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
  }

  #searchBar button .icon-search,
  #searchBar button .icon-search::before,
  #searchBar button i.icon-search,
  #searchBar button i.icon-search::before {
    color: inherit !important;
    fill: inherit !important;
    opacity: 1 !important;
  }
}

/* ========================================
   FINAL OVERRIDES вЂ” SEARCH + MOBILE FIXES
======================================== */

/* -----------------------------
   1. TOP SEARCH (homepage)
   РЈР±РёСЂР°РµРј С†РІРµС‚РЅРѕР№/Р·Р°Р»РёС‚С‹Р№ button СЃРїСЂР°РІР°
------------------------------ */
#docsSearch form#searchBar,
#docsSearch form {
  position: relative !important;
}

#docsSearch input.search-query,
#docsSearch input[type="text"] {
  padding-right: 110px !important;
}

#docsSearch form button,
#docsSearch button[type="submit"] {
  position: absolute !important;
  top: 50% !important;
  right: 18px !important;
  transform: translateY(-50%) !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

#docsSearch form button:hover,
#docsSearch button[type="submit"]:hover,
#docsSearch form button:focus,
#docsSearch button[type="submit"]:focus,
#docsSearch form button:active,
#docsSearch button[type="submit"]:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

#docsSearch form button::before,
#docsSearch form button::after,
#docsSearch button[type="submit"]::before,
#docsSearch button[type="submit"]::after {
  display: none !important;
  content: none !important;
}

#docsSearch form button span,
#docsSearch button[type="submit"] span {
  color: #8d8d8d !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* РµСЃР»Рё РёРєРѕРЅРєР° РµСЃС‚СЊ вЂ” СЃРєСЂС‹РІР°РµРј, С‡С‚РѕР±С‹ РЅРµ РґСѓР±Р»РёСЂРѕРІР°Р»Р°СЃСЊ */
#docsSearch form button .icon-search,
#docsSearch form button i.icon-search,
#docsSearch button[type="submit"] .icon-search,
#docsSearch button[type="submit"] i.icon-search {
  display: none !important;
}

/* -----------------------------
   2. SIDEBAR SEARCH
   РћСЃС‚Р°РІР»СЏРµРј С†РІРµС‚РЅСѓСЋ РєРЅРѕРїРєСѓ С‚РѕР»СЊРєРѕ РІ Р±РѕРєРѕРІРѕРј РїРѕРёСЃРєРµ
------------------------------ */
aside#sidebar form#searchBar,
#sidebar form#searchBar,
aside#sidebar #searchBar,
#sidebar #searchBar {
  position: relative !important;
}

aside#sidebar form#searchBar input,
#sidebar form#searchBar input,
aside#sidebar #searchBar input,
#sidebar #searchBar input {
  padding-right: 58px !important;
}

aside#sidebar form#searchBar button,
#sidebar form#searchBar button,
aside#sidebar #searchBar button,
#sidebar #searchBar button,
aside#sidebar form#searchBar button[type="submit"],
#sidebar form#searchBar button[type="submit"],
aside#sidebar #searchBar button[type="submit"],
#sidebar #searchBar button[type="submit"] {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 12px 12px 0 !important;
  background: linear-gradient(135deg, #2ec9b8, #64e1d2) !important;
  background-color: #2ec9b8 !important;
  background-image: linear-gradient(135deg, #2ec9b8, #64e1d2) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

aside#sidebar form#searchBar button:hover,
#sidebar form#searchBar button:hover,
aside#sidebar #searchBar button:hover,
#sidebar #searchBar button:hover,
aside#sidebar form#searchBar button[type="submit"]:hover,
#sidebar form#searchBar button[type="submit"]:hover,
aside#sidebar #searchBar button[type="submit"]:hover,
#sidebar #searchBar button[type="submit"]:hover {
  background: linear-gradient(135deg, #27bbaa, #55d8cb) !important;
  background-color: #27bbaa !important;
  background-image: linear-gradient(135deg, #27bbaa, #55d8cb) !important;
  border: none !important;
  box-shadow: none !important;
}

aside#sidebar form#searchBar button span,
#sidebar form#searchBar button span,
aside#sidebar #searchBar button span,
#sidebar #searchBar button span {
  display: none !important;
}

aside#sidebar form#searchBar button .icon-search,
#sidebar form#searchBar button .icon-search,
aside#sidebar #searchBar button .icon-search,
#sidebar #searchBar button .icon-search,
aside#sidebar form#searchBar button i.icon-search,
#sidebar form#searchBar button i.icon-search,
aside#sidebar #searchBar button i.icon-search,
#sidebar #searchBar button i.icon-search,
aside#sidebar form#searchBar button .icon-search::before,
#sidebar form#searchBar button .icon-search::before,
aside#sidebar #searchBar button .icon-search::before,
#sidebar #searchBar button .icon-search::before,
aside#sidebar form#searchBar button i.icon-search::before,
#sidebar form#searchBar button i.icon-search::before,
aside#sidebar #searchBar button i.icon-search::before,
#sidebar #searchBar button i.icon-search::before {
  color: #ffffff !important;
  fill: #ffffff !important;
  background: transparent !important;
  opacity: 1 !important;
}

/* -----------------------------
   3. MOBILE LOGO
------------------------------ */
@media (max-width: 767px) {
  a.brand {
    max-width: 180px !important;
  }

  a.brand img,
  a.brand svg {
    max-height: 38px !important;
    width: auto !important;
  }
}

/* -----------------------------
   4. MOBILE LAYOUT FIX
   РЈР±РёСЂР°РµРј СѓР·РєРёР№ РєРѕРЅС‚РµРЅС‚ Рё С‚С‘РјРЅС‹Рµ РїРѕР»РѕСЃС‹ РїРѕ Р±РѕРєР°Рј
------------------------------ */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  body {
    background: #f5f7fa !important;
  }

  .container-fluid,
  #contentArea,
  #main-content,
  .row-fluid,
  .row-fluid > #main-content,
  .row-fluid > section#main-content,
  .row-fluid > .span9,
  .row-fluid > #contentArea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .row-fluid > #main-content,
  .row-fluid > section#main-content,
  .row-fluid > .span9,
  .row-fluid > #contentArea,
  #main-content,
  #contentArea {
    padding: 14px 14px !important;
    border-radius: 16px !important;
  }

  #fullArticle,
  .article,
  .docs-article {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 18px 16px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  #fullArticle p,
  .article p,
  .docs-article p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  #fullArticle h1,
  .article h1,
  .docs-article h1 {
    font-size: 28px !important;
    line-height: 1.12 !important;
  }

  #fullArticle h2,
  .article h2,
  .docs-article h2 {
    font-size: 22px !important;
    line-height: 1.18 !important;
  }

  #fullArticle img,
  .article img,
  .docs-article img,
  #fullArticle iframe,
  .article iframe,
  .docs-article iframe,
  #fullArticle table,
  .article table,
  .docs-article table,
  #fullArticle pre,
  .article pre,
  .docs-article pre {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ========================================
   FIX 1 — Иконки в списке статей (мобилка)
======================================== */

#main-content li a .icon-article-doc,
#contentArea li a .icon-article-doc {
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
}

@media (max-width: 767px) {
  #main-content li a .icon-article-doc,
  #contentArea li a .icon-article-doc {
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
  }
}

/* ========================================
   FIX 2 — Нумерация и точки внутри статей
======================================== */

#fullArticle ol,
.article ol,
.docs-article ol {
  list-style: decimal !important;
  padding-left: 24px !important;
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}

#fullArticle ul,
.article ul,
.docs-article ul {
  list-style: disc !important;
  padding-left: 24px !important;
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}

#fullArticle li,
.article li,
.docs-article li {
  list-style: inherit !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 6px 0 !important;
  display: list-item !important;
}

#fullArticle ol li,
.article ol li,
.docs-article ol li {
  list-style: decimal !important;
}

#fullArticle ul li,
.article ul li,
.docs-article ul li {
  list-style: disc !important;
}

#fullArticle li a,
.article li a,
.docs-article li a {
  display: inline !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: inherit !important;
  color: #2ec9b8 !important;
  text-decoration: underline !important;
}

#fullArticle li a:hover,
.article li a:hover,
.docs-article li a:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ========================================
   FIX — Отступы внутри карточек
======================================== */

.category-list a h3,
.collection-list a h3,
.section-list a h3,
.categories a h3,
.collections a h3,
.sections a h3,
.category-list a .name,
.collection-list a .name,
.section-list a .name,
.categories a .name,
.collections a .name,
.sections a .name {
  min-height: 0 !important;
  margin: 14px 16px 0 16px !important;
  padding-top: 56px !important;
}

.category-list a p,
.collection-list a p,
.section-list a p,
.categories a p,
.collections a p,
.sections a p,
.category-list a .desc,
.collection-list a .desc,
.section-list a .desc,
.categories a .desc,
.collections a .desc,
.sections a .desc {
  min-height: 0 !important;
  margin: 6px 16px 0 16px !important;
}

.category-list a small,
.collection-list a small,
.section-list a small,
.categories a small,
.collections a small,
.sections a small,
.category-list a .meta,
.collection-list a .meta,
.section-list a .meta,
.categories a .meta,
.collections a .meta,
.sections a .meta,
.category-list a .article-count,
.collection-list a .article-count,
.section-list a .article-count,
.categories a .article-count,
.collections a .article-count,
.sections a .article-count {
  margin: 10px 16px 18px 16px !important;
}

.category,
.collection,
.section,
.category-list a,
.collection-list a,
.section-list a,
.categories a,
.collections a,
.sections a {
  min-height: 0 !important;
}

@media (max-width: 767px) {
  .category-list a h3,
  .collection-list a h3,
  .section-list a h3,
  .categories a h3,
  .collections a h3,
  .sections a h3,
  .category-list a .name,
  .collection-list a .name,
  .section-list a .name,
  .categories a .name,
  .collections a .name,
  .sections a .name {
    min-height: 0 !important;
    padding-top: 50px !important;
    margin: 12px 14px 0 14px !important;
  }

  .category-list a p,
  .collection-list a p,
  .section-list a p,
  .categories a p,
  .collections a p,
  .sections a p {
    min-height: 0 !important;
    margin: 4px 14px 0 14px !important;
  }

  .category-list a .article-count,
  .collection-list a .article-count,
  .section-list a .article-count,
  .categories a .article-count,
  .collections a .article-count,
  .sections a .article-count {
    margin: 8px 14px 16px 14px !important;
  }
}

/* ========================================
   FIX — Article count badge style
======================================== */

.category-list a small,
.collection-list a small,
.section-list a small,
.categories a small,
.collections a small,
.sections a small,
.category-list a .meta,
.collection-list a .meta,
.section-list a .meta,
.categories a .meta,
.collections a .meta,
.sections a .meta,
.category-list a .article-count,
.collection-list a .article-count,
.section-list a .article-count,
.categories a .article-count,
.collections a .article-count,
.sections a .article-count {
  display: inline-flex !important;
  align-self: center !important;
  margin: 16px auto 20px auto !important;
  padding: 5px 14px !important;
  background: rgba(46, 201, 184, 0.10) !important;
  border: 1px solid rgba(46, 201, 184, 0.22) !important;
  border-radius: 999px !important;
  color: #2ec9b8 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

@media (max-width: 767px) {
  .category-list a .article-count,
  .collection-list a .article-count,
  .section-list a .article-count,
  .categories a .article-count,
  .collections a .article-count,
  .sections a .article-count,
  .category-list a small,
  .collection-list a small,
  .section-list a small,
  .categories a small,
  .collections a small,
  .sections a small {
    margin: 12px auto 16px auto !important;
    font-size: 12px !important;
    padding: 4px 12px !important;
  }
}

/* ========================================
   VISUAL POLISH v2
======================================== */

/* 1. Фикс пробела в бейдже */
.category-list a .article-count,
.collection-list a .article-count,
.section-list a .article-count,
.categories a .article-count,
.collections a .article-count,
.sections a .article-count,
.category-list a small,
.collection-list a small,
.section-list a small,
.categories a small,
.collections a small,
.sections a small {
  word-spacing: 0.15em !important;
  letter-spacing: 0.03em !important;
}

/* 3. Полоска под заголовком — fade по краям */
.category-list a h3::after,
.collection-list a h3::after,
.section-list a h3::after,
.categories a h3::after,
.collections a h3::after,
.sections a h3::after,
.category-list a .name::after,
.collection-list a .name::after,
.section-list a .name::after,
.categories a .name::after,
.collections a .name::after,
.sections a .name::after {
  background: linear-gradient(90deg, transparent, #2ec9b8 30%, #64e1d2 70%, transparent) !important;
  height: 1px !important;
  opacity: 0.6 !important;
  margin-top: 10px !important;
}

/* 4. Иконка — заметнее, не сливается с бейджем */
.category-list a h3::before,
.collection-list a h3::before,
.section-list a h3::before,
.categories a h3::before,
.collections a h3::before,
.sections a h3::before,
.category-list a .name::before,
.collection-list a .name::before,
.section-list a .name::before,
.categories a .name::before,
.collections a .name::before,
.sections a .name::before {
  background-color: #ffffff !important;
  border: 1.5px solid rgba(46, 201, 184, 0.30) !important;
  box-shadow: 0 4px 14px rgba(46, 201, 184, 0.16), 0 1px 4px rgba(15, 23, 42, 0.06) !important;
  background-size: 24px 24px !important;
}

/* Ховер — иконка оживает */
.category-list a:hover h3::before,
.collection-list a:hover h3::before,
.section-list a:hover h3::before,
.categories a:hover h3::before,
.collections a:hover h3::before,
.sections a:hover h3::before,
.category-list a:hover .name::before,
.collection-list a:hover .name::before,
.section-list a:hover .name::before,
.categories a:hover .name::before,
.collections a:hover .name::before,
.sections a:hover .name::before {
  background-color: rgba(46, 201, 184, 0.06) !important;
  box-shadow: 0 6px 20px rgba(46, 201, 184, 0.28), 0 1px 4px rgba(15, 23, 42, 0.06) !important;
  border-color: rgba(46, 201, 184, 0.45) !important;
}

/* 5. Заголовок ниже от иконки */
.category-list a h3,
.collection-list a h3,
.section-list a h3,
.categories a h3,
.collections a h3,
.sections a h3,
.category-list a .name,
.collection-list a .name,
.section-list a .name,
.categories a .name,
.collections a .name,
.sections a .name {
  padding-top: 68px !important;
}

@media (max-width: 767px) {
  .category-list a h3,
  .collection-list a h3,
  .section-list a h3,
  .categories a h3,
  .collections a h3,
  .sections a h3,
  .category-list a .name,
  .collection-list a .name,
  .section-list a .name,
  .categories a .name,
  .collections a .name,
  .sections a .name {
    padding-top: 62px !important;
  }
}


/* ========================================
   FIX — Бейдж: выравнивание по низу + пробел
======================================== */

.category-list a,
.collection-list a,
.section-list a,
.categories a,
.collections a,
.sections a {
  justify-content: flex-start !important;
}

.category-list a .article-count,
.collection-list a .article-count,
.section-list a .article-count,
.categories a .article-count,
.collections a .article-count,
.sections a .article-count,
.category-list a small,
.collection-list a small,
.section-list a small,
.categories a small,
.collections a small,
.sections a small {
  margin-top: auto !important;
  margin-bottom: 20px !important;
  margin-left: auto !important;
  margin-right: auto !important;

  /* Пробел между цифрой и словом */
  word-spacing: 4px !important;
  letter-spacing: 0.02em !important;
}

@media (max-width: 767px) {
  .category-list a .article-count,
  .collection-list a .article-count,
  .section-list a .article-count,
  .categories a .article-count,
  .collections a .article-count,
  .sections a .article-count,
  .category-list a small,
  .collection-list a small,
  .section-list a small,
  .categories a small,
  .collections a small,
  .sections a small {
    margin-bottom: 16px !important;
  }
}
/* Пробел между цифрой и словом "article" */
.article-count span.notranslate,
.meta span.notranslate,
.categories a small span.notranslate,
.collections a small span.notranslate,
.sections a small span.notranslate,
.category-list a small span.notranslate,
.collection-list a small span.notranslate,
.section-list a small span.notranslate {
  margin-right: 4px !important;
}




/* ========================================
   HEADER POLISH
======================================== */

/* Более богатый градиент + глубина */
header#mainNav,
.navbar {
  background: linear-gradient(135deg, #1db8a8 0%, #2ec9b8 40%, #45cfe0 100%) !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.12), 0 1px 0 rgba(255,255,255,0.08) inset !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

/* Высота чуть больше */
header#mainNav .container-fluid,
.navbar .container-fluid {
  min-height: 72px !important;
}

/* Разделитель между nav ссылками */
.navbar .nav > li + li > a,
.navbar ul.nav > li + li > a {
  border-left: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 0 !important;
  margin-left: 4px !important;
  padding-left: 24px !important;
}

.navbar .nav > li + li > a:hover,
.navbar ul.nav > li + li > a:hover {
  border-radius: 999px !important;
  border-left-color: transparent !important;
}

/* Поисковая строка — в стиле хедера */
#docsSearch {
  background: linear-gradient(180deg, rgba(46,201,184,0.06) 0%, transparent 100%) !important;
  padding: 28px 0 8px 0 !important;
}

#docsSearch input.search-query,
#docsSearch input[type="text"] {
  border-radius: 14px !important;
  border: 1.5px solid rgba(46, 201, 184, 0.25) !important;
  box-shadow: 0 2px 16px rgba(46, 201, 184, 0.08), 0 1px 4px rgba(15,23,42,0.06) !important;
  font-size: 16px !important;
  height: 52px !important;
  padding-left: 20px !important;
  background: #ffffff !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

#docsSearch input.search-query:focus,
#docsSearch input[type="text"]:focus {
  border-color: rgba(46, 201, 184, 0.55) !important;
  box-shadow: 0 4px 24px rgba(46, 201, 184, 0.14), 0 1px 4px rgba(15,23,42,0.06) !important;
  outline: none !important;
}