.topic-tile-wrap .topics-tile-item {
  padding: var(--space-sm) var(--space-sm) var(--space-sm) 0;
  min-width: 195px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topic-tile-wrap .topics-tile-item::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(100% - 72px);
  height: 1px;
  background-color: var(--color-border-width-border-width-default);
}
.topic-tile-wrap .topics-tile-item:last-child {
  padding-right: 0;
}
.topic-tile-wrap .topics-tile-item:last-child::after {
  display: none;
}
.topic-tile-column {
  display: flex;
  flex-wrap: wrap;
}
.topics-tile-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.topics-tile-item img {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}
.topics-tile-item .svg-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-surface-surface-default);
}
.topics-tile-item .svg-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  background-color: var(--color-foreground-foreground-active);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.topic-tile-text {
  width: calc(100% - 72px);
  min-height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.topics-tile-item p {
  font-family: var(--font-family-non-latin);
  font-size: var(--typography-font-size-body2-lg);
  line-height: var(--typography-line-height-body2-lg);
  color: var(--color-foreground-foreground-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.vertical-col .topic-tile-text {
  width: 100%;
  border-bottom: 0;
  align-items: center;
  min-height: auto;
}
.vertical-col .topics-tile-item {
  width: 50%;
  padding: var(--space-md) var(--space-xl);
  min-width: 120px;
}
.vertical-col .topics-tile-item::after {
  display: none;
}
.vertical-col .topic-tile-wrap  {
  flex-wrap: wrap;
}
.topic-tile-text .heading {
  font-weight: var(--font-weight-bold);
  color: var(--color-foreground-foreground-default);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media only screen and (min-width: 961px) {
  .topics-tile-item .svg-icon-wrap {
    width: 96px;
    height: 96px;
  }
  .topics-tile-item .svg-icon {
    width: 36px;
    height: 36px;
  }
  .topics-tile-item img {
    width: 96px;
    height: 96px;
  }
  .topics-tile-item p {
    margin-top: var(--space-xs);
  }
  .topic-tile-wrap .topics-tile-item::after {
    display: none;
  }
  .topic-tile-text {
    width: calc(100% - 112px);
    min-height: 96px;
  }
  .topic-tile-column {
    width: 100%;
    padding: var(--space-lg) var(--space-md);
    border-top: 1px solid var(--color-border-width-border-width-default);
  }
  .topic-tile-column:first-child {
    border-top: 0;
  }
  .topic-tile-wrap .topics-tile-item {
    width: 25%;
    padding-right: var(--space-xl);
  }
  .vertical-col .topic-tile-wrap > .topics-tile-item {
    width: 16.6666667%;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  .vertical-col.topic-tile > .heading {
    padding-bottom: var(--space-md);
  }
}
@media only screen and (max-width: 960px) {
  .vertical-col .topics-tile-item:nth-child(odd) {
    padding-left: 0;
  }
  .vertical-col .topics-tile-item:nth-child(even) {
    padding-right: 0;
  }
  .vertical-col.topic-tile > .heading {
    padding-bottom: var(--space-xs);
  }
}
