/* Bixberry help center layer. Appended into style.css for the Zendesk compiler. */

body {
  background-color: #0B0D17;
  color: #F5F5F7;
  font-family: Urbanist, "Helvetica Neue", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
}

body::before {
  width: 110px;
  height: 900px;
  top: -250px;
  left: -180px;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.7) 50%, transparent 100%);
  animation: bxb-aurora-purple 95s ease-in-out infinite;
}

body::after {
  width: 100px;
  height: 850px;
  right: -180px;
  bottom: -250px;
  background: linear-gradient(180deg, transparent 0%, rgba(25, 229, 198, 0.6) 50%, transparent 100%);
  animation: bxb-aurora-mint 115s ease-in-out infinite;
}

main {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6,
.bxb-card-title,
.bxb-brand {
  font-family: "Space Grotesk", Urbanist, sans-serif;
  letter-spacing: -0.02em;
  color: #F5F5F7;
}

a {
  color: #19E5C6;
}

a:hover {
  color: #14C7AB;
}

@keyframes bxb-aurora-purple {
  0%, 100% { transform: translate(-100px, -50px) rotate(28deg); }
  50% { transform: translate(900px, 800px) rotate(28deg); }
}

@keyframes bxb-aurora-mint {
  0%, 100% { transform: translate(100px, 50px) rotate(-32deg); }
  50% { transform: translate(-900px, -800px) rotate(-32deg); }
}

.container-divider {
  border-top-color: transparent;
}

/* Header pill */
.header.bxb-header {
  max-width: none;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 16px 20px 8px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: transparent;
}

.bxb-pill {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 23, 42, 0.85);
  border: 1px solid #2A2D3F;
  border-radius: 999px;
  padding: 8px 12px 8px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}

.bxb-header .logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #F5F5F7;
  text-decoration: none;
}

.bxb-header .logo img {
  width: 36px;
  height: 36px;
  max-height: 36px;
}

.bxb-header .logo span,
.bxb-header .bxb-brand {
  margin: 0;
  color: #F5F5F7;
  font-weight: 700;
  font-size: 1.15rem;
}

.bxb-header .nav-wrapper-desktop {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 8px;
}

.bxb-header .user-nav {
  position: static;
  display: flex;
  align-items: center;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.bxb-header .user-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.bxb-header .user-nav-list > li {
  display: flex;
  align-items: center;
}

.bxb-header .nav-wrapper-desktop a.bxb-nav-link,
.bxb-header .nav-wrapper-desktop a.sign-in {
  display: inline-flex;
  align-items: center;
  color: #C9C9D2;
  background: transparent;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0;
  text-decoration: none;
  font-weight: 500;
}

.bxb-header .nav-wrapper-desktop a.bxb-nav-link:hover,
.bxb-header .nav-wrapper-desktop a.sign-in:hover {
  color: #F5F5F7;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.bxb-header a.submit-a-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #19E5C6;
  color: #0B0D17;
  border-radius: 999px;
  padding: 8px 16px;
  margin: 0;
  font-weight: 600;
  text-decoration: none;
  border: 0;
}

.bxb-header a.submit-a-request:hover,
.bxb-header a.submit-a-request:focus {
  background: #14C7AB;
  color: #0B0D17;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(25, 229, 198, 0.3);
}

.bxb-header .user-info {
  color: #F5F5F7;
}

.bxb-header .dropdown-toggle {
  color: #F5F5F7;
  background: transparent;
}

.bxb-header .nav-wrapper-mobile {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 4px;
  position: static;
}

@media (max-width: 1023px) {
  .bxb-header .nav-wrapper-desktop {
    display: none;
  }

  .bxb-header .nav-wrapper-mobile {
    display: flex;
  }

  .bxb-header .bxb-brand {
    font-size: 1rem;
  }
}

.bxb-header .menu-button-mobile {
  min-width: 0;
  color: #F5F5F7;
}

.bxb-header .menu-button-mobile .icon-menu {
  color: #F5F5F7;
}

.bxb-header .menu-list-mobile {
  top: calc(100% + 10px);
  left: 16px;
  right: 16px;
  background: #14172A;
  border: 1px solid #2A2D3F;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.bxb-header .menu-list-mobile-items a,
.bxb-header .menu-list-mobile-items button {
  color: #F5F5F7;
}

.bxb-header .menu-list-mobile-items a:hover,
.bxb-header .menu-list-mobile-items button:hover {
  background: rgba(25, 229, 198, 0.08);
  text-decoration: none;
}

.dropdown-menu {
  background: #14172A;
  border: 1px solid #2A2D3F;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.dropdown-menu [role="menuitem"],
.dropdown-menu [role="menuitemradio"] {
  color: #F5F5F7;
}

.dropdown-menu [role="menuitem"]:hover,
.dropdown-menu [role="menuitem"]:focus,
.dropdown-menu [role="menuitemradio"]:hover,
.dropdown-menu [role="menuitemradio"]:focus {
  background: rgba(25, 229, 198, 0.08);
  color: #19E5C6;
}

/* Hero */
.bxb-hero {
  text-align: center;
  padding: 56px 20px 28px;
  background: transparent;
}

.bxb-hero h1 {
  margin: 0 0 12px;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #F5F5F7;
}

.bxb-hero-sub {
  margin: 0 auto 28px;
  max-width: 640px;
  color: #C9C9D2;
  font-size: 1.05rem;
  line-height: 1.5;
}

.bxb-hero-search {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.bxb-hero .search,
.sub-nav .search,
.search {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(20, 23, 42, 0.6);
  border: 1px solid #2A2D3F;
  border-radius: 999px;
}

.bxb-hero .search input[type="search"],
.sub-nav .search input[type="search"],
.search input[type="search"],
.search .clear-button {
  background: transparent;
  color: #F5F5F7;
  height: 52px;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
}

.bxb-hero .search input[type="search"]::placeholder,
.search input[type="search"]::placeholder {
  color: rgba(201, 201, 210, 0.7);
}

.bxb-hero .search-icon {
  position: absolute;
  top: 50%;
  left: auto;
  right: 10px;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  width: 42px;
  height: 42px;
  padding: 11px;
  margin: 0;
  border-radius: 50%;
  color: #19E5C6;
  background: rgba(25, 229, 198, 0.08);
  border: 1px solid rgba(25, 229, 198, 0.25);
  box-shadow: 0 0 12px rgba(25, 229, 198, 0.35);
}

[dir="ltr"] .bxb-hero .search input[type="search"] {
  padding-left: 22px;
  padding-right: 64px;
}

.sub-nav .search input[type="search"],
.sub-nav .search .clear-button {
  height: 40px;
}

.sub-nav .search-icon {
  color: #19E5C6;
}

/* Homepage cards */
.bxb-home {
  padding-bottom: 48px;
}

.bxb-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 12px auto 0;
  padding: 0;
  max-width: 1080px;
}

.bxb-grid > li {
  flex: 1 1 300px;
  max-width: 340px;
}

.bxb-card {
  --tone: #19E5C6;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 280px;
  padding: 36px 26px 28px;
  background: rgba(20, 23, 42, 0.6);
  border: 1px solid #2A2D3F;
  border-top: 2px solid var(--tone);
  border-radius: 20px;
  color: #F5F5F7;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bxb-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tone), transparent);
  opacity: 0.7;
}

.bxb-card:hover {
  transform: translateY(-4px);
  color: #F5F5F7;
  text-decoration: none;
  border-color: var(--tone);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.bxb-card-title {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.bxb-card-desc {
  display: block;
  color: #C9C9D2;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 300px;
}

.bxb-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: block;
  background-color: rgba(25, 229, 198, 0.08);
  border: 1px solid rgba(25, 229, 198, 0.22);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 36px;
  filter: drop-shadow(0 0 12px rgba(25, 229, 198, 0.4));
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%2319E5C6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M19.439 7.85c-.049.322.059.648.289.878l1.568 1.568c.47.47.706 1.087.706 1.704s-.235 1.233-.706 1.704l-1.611 1.611a.98.98 0 0 1-.837.276c-.47-.07-.802-.48-.968-.925a2.501 2.501 0 1 0-3.214 3.214c.446.166.855.497.925.968a.98.98 0 0 1-.276.837l-1.61 1.61a2.4 2.4 0 0 1-1.705.707 2.4 2.4 0 0 1-1.704-.706l-1.568-1.568a1.026 1.026 0 0 0-.877-.29c-.493.074-.84.504-1.02.968a2.5 2.5 0 1 1-3.237-3.237c.464-.18.894-.527.967-1.02a1.026 1.026 0 0 0-.289-.877l-1.568-1.568A2.4 2.4 0 0 1 2 12c0-.617.236-1.234.706-1.704L4.23 8.77c.24-.24.581-.353.917-.303.515.077.877.528 1.073 1.01a2.5 2.5 0 1 0 3.259-3.259c-.482-.196-.933-.558-1.01-1.073-.05-.336.062-.676.303-.917l1.525-1.525A2.4 2.4 0 0 1 12 2c.617 0 1.234.236 1.704.706l1.568 1.568c.23.23.556.338.877.29.493-.074.84-.504 1.02-.968a2.5 2.5 0 1 1 3.237 3.237c-.464.18-.894.527-.967 1.02Z'/></svg>");
}

.bxb-icon-lg {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background-size: 40px;
  margin: 0;
}

/* Category tones */
.bxb-card[data-bxb="Onboarding"],
.bxb-kb-category[data-bxb="Onboarding"],
.bxb-page[data-bxb="Onboarding"],
body[data-bxb="Onboarding"] {
  --tone: #19E5C6;
}

.bxb-card[data-bxb="Onboarding"] .bxb-icon,
.bxb-kb-category[data-bxb="Onboarding"] .bxb-icon,
.bxb-page[data-bxb="Onboarding"] .bxb-icon,
body[data-bxb="Onboarding"] .bxb-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%2319E5C6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/><path d='m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/><path d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/><path d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/></svg>");
}

.bxb-card[data-bxb="Earnings & Payouts"],
.bxb-kb-category[data-bxb="Earnings & Payouts"],
.bxb-page[data-bxb="Earnings & Payouts"],
body[data-bxb="Earnings & Payouts"] {
  --tone: #A78BFA;
}

.bxb-card[data-bxb="Earnings & Payouts"] .bxb-icon,
.bxb-kb-category[data-bxb="Earnings & Payouts"] .bxb-icon,
.bxb-page[data-bxb="Earnings & Payouts"] .bxb-icon,
body[data-bxb="Earnings & Payouts"] .bxb-icon {
  background-color: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.22);
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.4));
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%23A78BFA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2'/><path d='M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4'/></svg>");
}

.bxb-card[data-bxb="Security & Privacy"],
.bxb-kb-category[data-bxb="Security & Privacy"],
.bxb-page[data-bxb="Security & Privacy"],
body[data-bxb="Security & Privacy"] {
  --tone: #5CC8F2;
}

.bxb-card[data-bxb="Security & Privacy"] .bxb-icon,
.bxb-kb-category[data-bxb="Security & Privacy"] .bxb-icon,
.bxb-page[data-bxb="Security & Privacy"] .bxb-icon,
body[data-bxb="Security & Privacy"] .bxb-icon {
  background-color: rgba(56, 164, 240, 0.08);
  border-color: rgba(56, 164, 240, 0.22);
  filter: drop-shadow(0 0 12px rgba(56, 164, 240, 0.4));
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%235CC8F2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/><path d='m9 12 2 2 4-4'/></svg>");
}

.bxb-card[data-bxb="Troubleshoot"],
.bxb-kb-category[data-bxb="Troubleshoot"],
.bxb-page[data-bxb="Troubleshoot"],
body[data-bxb="Troubleshoot"] {
  --tone: #F09595;
}

.bxb-card[data-bxb="Troubleshoot"] .bxb-icon,
.bxb-kb-category[data-bxb="Troubleshoot"] .bxb-icon,
.bxb-page[data-bxb="Troubleshoot"] .bxb-icon,
body[data-bxb="Troubleshoot"] .bxb-icon {
  background-color: rgba(236, 110, 110, 0.08);
  border-color: rgba(236, 110, 110, 0.22);
  filter: drop-shadow(0 0 12px rgba(236, 110, 110, 0.4));
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%23F09595' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/></svg>");
}

.bxb-card[data-bxb="Set Up & Optimize"],
.bxb-kb-category[data-bxb="Set Up & Optimize"],
.bxb-page[data-bxb="Set Up & Optimize"],
body[data-bxb="Set Up & Optimize"] {
  --tone: #EF9F27;
}

.bxb-card[data-bxb="Set Up & Optimize"] .bxb-icon,
.bxb-kb-category[data-bxb="Set Up & Optimize"] .bxb-icon,
.bxb-page[data-bxb="Set Up & Optimize"] .bxb-icon,
body[data-bxb="Set Up & Optimize"] .bxb-icon {
  background-color: rgba(240, 159, 39, 0.08);
  border-color: rgba(240, 159, 39, 0.22);
  filter: drop-shadow(0 0 12px rgba(240, 159, 39, 0.4));
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%23EF9F27' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><polyline points='7 10 12 15 17 10'/><line x1='12' x2='12' y1='15' y2='3'/></svg>");
}

@media (max-width: 980px) {
  .bxb-grid > li {
    flex-basis: calc(50% - 20px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 680px) {
  .bxb-hero h1 {
    font-size: 1.7rem;
  }

  .bxb-grid > li {
    flex-basis: 100%;
    max-width: none;
  }

  .bxb-card {
    min-height: 0;
  }

  .bxb-pill {
    border-radius: 20px;
  }

  .bxb-header a.submit-a-request {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* Category and section pages */
.bxb-page-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 8px 0 28px;
}

.bxb-page-head h1 {
  margin: 0 0 6px;
  color: var(--tone, #19E5C6);
  font-size: 2rem;
}

.bxb-page-desc {
  margin: 0;
  color: #C9C9D2;
  font-style: normal;
}

.bxb-folders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.bxb-folder,
.bxb-articles-solo,
.bxb-section .bxb-articles {
  background: rgba(20, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.bxb-folder-title {
  margin: 0;
}

.bxb-folder-title a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #F5F5F7;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  background: rgba(25, 229, 198, 0.09);
  border-bottom: 1px solid rgba(25, 229, 198, 0.18);
}

.bxb-kb-category[data-bxb="Earnings & Payouts"] .bxb-folder-title a,
.bxb-page[data-bxb="Earnings & Payouts"] .bxb-folder-title a,
body[data-bxb="Earnings & Payouts"] .bxb-folder-title a {
  background: rgba(139, 92, 246, 0.1);
  border-bottom-color: rgba(139, 92, 246, 0.2);
}

.bxb-kb-category[data-bxb="Security & Privacy"] .bxb-folder-title a,
.bxb-page[data-bxb="Security & Privacy"] .bxb-folder-title a,
body[data-bxb="Security & Privacy"] .bxb-folder-title a {
  background: rgba(56, 164, 240, 0.1);
  border-bottom-color: rgba(56, 164, 240, 0.2);
}

.bxb-kb-category[data-bxb="Troubleshoot"] .bxb-folder-title a,
.bxb-page[data-bxb="Troubleshoot"] .bxb-folder-title a,
body[data-bxb="Troubleshoot"] .bxb-folder-title a {
  background: rgba(236, 110, 110, 0.1);
  border-bottom-color: rgba(236, 110, 110, 0.2);
}

.bxb-kb-category[data-bxb="Set Up & Optimize"] .bxb-folder-title a,
.bxb-page[data-bxb="Set Up & Optimize"] .bxb-folder-title a,
body[data-bxb="Set Up & Optimize"] .bxb-folder-title a {
  background: rgba(240, 159, 39, 0.1);
  border-bottom-color: rgba(240, 159, 39, 0.2);
}

.bxb-folder-title a:hover {
  color: var(--tone, #19E5C6);
  text-decoration: none;
}

.bxb-folder-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  background: rgba(25, 229, 198, 0.12) center / 16px no-repeat;
  border: 1px solid rgba(25, 229, 198, 0.28);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2319E5C6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z'/></svg>");
}

.bxb-articles {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bxb-articles li {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bxb-articles li:first-child {
  border-top: 0;
}

.bxb-articles a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  color: #C9C9D2;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.45;
}

.bxb-articles a::after {
  content: "\2192";
  margin-left: auto;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  color: var(--tone, #19E5C6);
}

.bxb-articles a:hover {
  background: rgba(25, 229, 198, 0.06);
  color: var(--tone, #19E5C6);
  text-decoration: none;
}

.bxb-articles a:hover::after {
  opacity: 1;
  transform: none;
}

.bxb-folder:only-child {
  grid-column: 1 / -1;
}

.bxb-folder:only-child .bxb-articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bxb-folder:only-child .bxb-articles li:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.bxb-folder:only-child .bxb-articles li:nth-child(2) {
  border-top: 0;
}

.bxb-view-all {
  display: inline-flex;
  align-self: flex-end;
  margin: 12px 16px 14px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #C9C9D2;
  text-decoration: none;
  font-size: 0.85rem;
}

.bxb-folder {
  display: flex;
  flex-direction: column;
}

.bxb-view-all:hover {
  color: #F5F5F7;
  border-color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.bxb-section {
  margin-bottom: 48px;
}

.bxb-articles-solo {
  margin-top: 8px;
}

@media (max-width: 800px) {
  .bxb-folders,
  .bxb-folder:only-child .bxb-articles {
    grid-template-columns: 1fr;
  }

  .bxb-folder:only-child .bxb-articles li:nth-child(odd) {
    border-right: 0;
  }

  .bxb-folder:only-child .bxb-articles li:nth-child(2) {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .bxb-page-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Inner pages */
.breadcrumbs,
.breadcrumbs a,
.breadcrumbs li,
.sub-nav {
  color: #C9C9D2;
}

.breadcrumbs a:hover {
  color: #19E5C6;
}

.search-results,
.search-results-sidebar,
.article-sidebar .collapsible-sidebar,
.bxb-article .article,
.bxb-request #new-request-form,
.bxb-request .form {
  background: rgba(20, 23, 42, 0.6);
  border: 1px solid #2A2D3F;
  border-radius: 16px;
}

.bxb-article .article {
  padding: 32px;
}

.article-sidebar .collapsible-sidebar {
  padding: 18px 16px;
}

.article-title,
.sidenav-item,
.sidenav-title,
.search-result-description,
.meta-data {
  color: #F5F5F7;
}

body[data-bxb] .article-title,
body[data-bxb] .bxb-page-head h1 {
  color: var(--tone, #F5F5F7);
}

.article-body {
  color: #C3C9D6;
  line-height: 1.7;
}

.article-body a {
  color: #19E5C6;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
  color: #F5F5F7;
}

.article-body [style*="color: rgb(0, 0, 0)"],
.article-body [style*="color: rgb(68, 71, 70)"],
.article-body [style*="color: rgb(68,71,70)"],
.article-body [style*="color:#000"],
.article-body [style*="color: #000"] {
  color: #F5F5F7 !important;
}

.sidenav-item.current-article,
.sidenav-item.current,
.sidenav-item:hover {
  background: rgba(25, 229, 198, 0.08);
  color: #19E5C6;
}

.comment,
.comment-form,
.article-votes,
.share {
  color: #F5F5F7;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select,
.nesty-input {
  background-color: rgba(20, 23, 42, 0.75);
  color: #F5F5F7;
  border: 1px solid #2A2D3F;
  border-radius: 12px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #19E5C6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(25, 229, 198, 0.15);
}

label,
.form-field label {
  color: #F5F5F7;
}

.button,
.button-primary,
.hbs-form input[type="submit"] {
  border-radius: 999px;
}

.pagination a,
.pagination span {
  color: #C9C9D2;
}

/* Footer */
.footer.bxb-footer {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  background: rgba(20, 23, 42, 0.6);
  border-top: 1px solid #2A2D3F;
  color: #C9C9D2;
}

.bxb-footer a,
.bxb-footer button {
  color: #C9C9D2;
}

@media (min-width: 1024px) {
  .bxb-article {
    align-items: flex-start;
    gap: 24px;
  }

  .bxb-article .article {
    min-width: 0;
  }
}

/* Knowledge base index, shown from the Knowledge base nav item */
.bxb-kb { display: none; }

html.bxb-kb-view .bxb-hero,
html.bxb-kb-view .bxb-home { display: none; }

html.bxb-kb-view .bxb-kb { display: block; }

html.bxb-kb-view .bxb-nav-kb {
  color: #F5F5F7;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.bxb-kb-title {
  margin: 8px 0 28px;
  color: #F5F5F7;
  font-size: 2.2rem;
  font-weight: 700;
}

.bxb-kb-category {
  margin: 0 0 28px;
  padding: 12px 12px 4px;
  background: rgba(20, 23, 42, 0.45);
  border: 1px solid #2A2D3F;
  border-radius: 18px;
}

.bxb-kb-category .bxb-page-head { margin-bottom: 8px; }

.bxb-kb-category .bxb-page-head h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.bxb-kb-category .bxb-page-head h2 a {
  color: var(--tone, #19E5C6);
  text-decoration: none;
}

.bxb-kb-category .bxb-page-head h2 a:hover {
  color: var(--tone, #19E5C6);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bxb-kb-folders { grid-template-columns: 1fr 1fr 1fr; }

@media (max-width: 980px) {
  .bxb-kb-folders { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .bxb-kb-folders { grid-template-columns: 1fr; }
  .bxb-kb-title { font-size: 1.7rem; }
}
