.sidebar-section,
.ads-wrapper {
  margin-top: 20px;
  background-color: #FFF;
}

.sidebar-section:first-child,
.ads-wrapper:first-child {
  margin-top: 33px;
}

.sidebar-box {
  border-top: 3px solid #1976d2;
  padding: 20px 12px;
}

.sidebar-header {
  border-left: 7px solid #1976d2;
  padding-left: 10px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  color: #121212;
  margin-bottom: 10px;
}

.sidebar-list,
.pg-song-list {
  margin-top: auto;
  padding: 0;
}

.sidebar-list li,
.pg-song-item {
  position: relative;
  align-items: center;
  display: flex;
  gap: 8px;
  padding: 10px 0px;
  border-bottom: 1px solid #ddd;
}

.sidebar-img,
.pg-song-img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-song-info,
.pg-song-info {
  flex: 1;
}

.sidebar-song-title,
.sidebar-artist-name,
.pg-song-title,
.pg-song-artist {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  color: #121212;
  margin: 0;
}

.sidebar-rank-number {
  font-size: 28px;
  font-weight: 600;
  color: #ccc;
  margin-right: 5px;
}

.tag-list {
  display: inline-block;
  padding: 4pt 6pt;
  margin: 16px 0 0;
  border: 1px dotted #1A1A1A;
  max-width: 465px;
}

.tag-item {
  display: block;
  color: #1A1A1A;
  font-size: 12px;
}

.tag-item:hover {
  color: #000000;
}

.ads-wrapper::before {
  content: "Ad";
  display: block;
  font-size: 10px;
  color: #ffffff;
  text-align: left;
  padding: 2px 0 2px 10px;
  width: 33px;
  background-color: #9999;
}

.ads-placeholder {
  min-height: 250px;
}

.ads-section {
  margin: 16px;
}

.ad-sc-hz {
  min-height: 90px !important;
  max-height: 190px;
  width: 100%;
  max-width: 728px;
  margin: 16px auto;
}

.ad-wp-hz {
  background-color: #f2f2f2;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-style: italic;
  color: #777;
  position: relative;
  overflow: hidden;
}

.ad-text {
  position: relative;
  z-index: 1;
  min-height: 90px !important;
  max-height: 190px;
  display: flex;
  align-items: center;
}

.ad-pch {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
@media screen and (max-width: 992px) {
  .sidebar-section {
    width: 100%;
  }
  
  .sidebar-section:first-child,
  .ads-wrapper:first-child {
    margin-top: 0;
  }
}

@media screen and (max-width: 768px) {
  .tag-list {
    min-width: 100%;
  }
}