/* ============================================================
   Travnik Live Search UI
   ============================================================ */

.tn-ls-wrap{
  position: relative;
}

.tn-ls-dropdown{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 9999;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  overflow: hidden;
}

.tn-ls-hidden{
  display: none !important;
}

.tn-ls-section-title{
  font-size: 12px;
  line-height: 1.2;
  opacity: .70;
  padding: 10px 12px 6px;
  margin: 0;
}

.tn-ls-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.tn-ls-item{
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.tn-ls-item:hover,
.tn-ls-item.is-active{
  background: rgba(0,0,0,.04);
}

.tn-ls-thumb{
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0,0,0,.06);
  flex: 0 0 34px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tn-ls-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tn-ls-text{
  min-width: 0;
  flex: 1 1 auto;
}

.tn-ls-title{
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tn-ls-meta{
  font-size: 12px;
  line-height: 1.2;
  opacity: .65;
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tn-ls-footer{
  border-top: 1px solid rgba(0,0,0,.08);
}

.tn-ls-all{
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
}

.tn-ls-all:hover{
  background: rgba(0,0,0,.04);
}
