.cb-global-hub-block {
    margin-block: 32px;
}

.cb-global-hub-block .cb-standard-more-post-block__header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 8px;
}

.cb-global-hub-block .cb-standard-more-post-block__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cb-global-hub-block .cb-standard-more-post-block__title {
  color: #000;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  line-height: 24px;
  text-transform: capitalize;
  margin: 0;
  white-space: nowrap;
}

.cb-global-hub-block .cb-standard-more-post-block__header .cb-trending__line {
  flex: 1;
  height: 2px;
  background: #dd3333;
  margin: 0;
  display: block;
}

.cb-global-hub-block .cb-standard-more-post-block__filter-btn {
  font-family: inherit;
  color: #5c5c5c;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
  padding: 4px 16px;
  border-radius: 50px;
  border: 1px solid #dfdfdf;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s ease;
}

.cb-global-hub-block .cb-standard-more-post-block__filter-btn.active {
  color: #fff;
  background: #d33;
  border-color: #d33;
}

.cb-global-hub-block .cb-standard-more-post-block__filter-btn:hover,
.cb-global-hub-block .cb-standard-more-post-block__filter-btn:active {
  color: #fff;
  background: #8D0F10;
  border-color: #8D0F10;
}

.cb-global-hub-block__grid {
  display: grid;
  grid-template-columns: 240px repeat(4, 1fr);
  column-gap: 40px;
  min-height: 388px;
  padding-right: 40px;
  background: #f5f5f5;
  border-radius: 8px;
  border: 1px solid #dfdfdf;
  overflow: hidden;
}

.cb-global-hub-block__col--menu {
  padding: 16px 0 24px 0;
}

.cb-global-hub-block__col--countries {
  background: #000;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.cb-global-hub-block__countries {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transition: opacity 150ms ease;
}

.cb-global-hub-block__countries.is-fading {
  opacity: 0;
}

.cb-global-hub-block__menu {
  padding: 0 0 16px 0;
  opacity: 1;
  transition: opacity 150ms ease;
}

.cb-global-hub-block__menu.is-fading {
  opacity: 0;
}

.cb-global-hub-block__country {
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 12px 0 16px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  height: 58px;
  border-bottom: 1px solid #363636;
  transition: all .2s ease;
}

.cb-global-hub-block__country:hover,
.cb-global-hub-block__country:active {
  background-color: #8D0F10;
}

.cb-global-hub-block__country-item:last-of-type .cb-global-hub-block__country {
  border: none;
}

.cb-global-hub-block__country.is-active {
  background: #f5f5f5;
  color: #000;
}

.cb-global-hub-block__country-arrow {
  height: 12px;
  width: 12px;
  margin-left: auto;
  display: inline-block;
  filter: invert(100%) brightness(200%);
}

.cb-global-hub-block__country.is-active .cb-global-hub-block__country-arrow {
  filter: brightness(0) saturate(100%);
}

.cb-global-hub-block__country-flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #ddd;
}

.cb-global-hub-block__country-flag--placeholder {
  display: inline-block;
}

.cb-global-hub-block__country-name {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
}

.cb-global-hub-block__country:not(.is-active) .cb-global-hub-block__country-name {
  color: #fff;
}

.cb-global-hub-block__menu-title {
  margin: 0 0 12px 0;
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
  text-transform: capitalize;
}

.cb-global-hub-block__menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cb-global-hub-block__menu-item {
  margin: 0 0 8px 0;
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 4px;
  align-items: center;
}

.cb-global-hub-block__menu-item:last-child {
  margin-bottom: 0;
}

.cb-global-hub-block__menu-item a {
  color: #000;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
  transition: all .2s ease;
}

.cb-global-hub-block__menu-item a:hover,
.cb-global-hub-block__menu-item a:active {
  color: #8D0F10;
}

.cb-global-hub-block__menu-item-arrow {
  width: 20px;
  height: 20px;
  display: block;
  align-self: normal;
}

.cb-global-hub-block__country-menus {
  display: none;
}

@media (max-width: 1075px) {
  .cb-global-hub-block__grid {
    column-gap: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 767px) {
  .cb-global-hub-block .cb-standard-more-post-block__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cb-global-hub-block .cb-standard-more-post-block__filters::-webkit-scrollbar {
    display: none;
  }

  .cb-global-hub-block__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-right: 0;
    width: 100%;
    min-height: auto;
  }

  .cb-global-hub-block__col--menu {
    display: none;
  }

  .cb-global-hub-block__country-arrow {
    transform: rotate(90deg);
    transition: transform 200ms ease;
  }

  .cb-global-hub-block__country.is-open .cb-global-hub-block__country-arrow {
    transform: rotate(-90deg);
  }

  .cb-global-hub-block__country.is-active.is-open {
    border-bottom: none;
  }

  .cb-global-hub-block__country-menus {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 500ms ease,
    opacity 150ms ease;
    background: #f5f5f5;
    padding: 0 16px;
  }

  .cb-global-hub-block__country-menus.is-open {
    max-height: 1000px;
    opacity: 1;
  }

  .cb-global-hub-block__country-menus .cb-global-hub-block__menu {
    padding: 0 0 16px 0;
  }

  .cb-global-hub-block__menu:first-of-type {
    padding-top: 16px;
  }
}
