.item-adz {
  display: flex;
  position: relative;
  align-items: center;
  margin: 0 !important;
  border-radius: 12px;
  border: 1px solid #ececec;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.item-adz-logo {
  padding: 20px;
  min-width: 140px;
  max-width: 140px;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.item-adz-logo a {
  display: block;
  width: 100%;
  height: 100%;
}

.item-adz-logo img {
  width: 130px;
  height: 100px;
  object-fit: cover;
}

.item-adz-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 20px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}

.item-adz-name {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-weight: bold;
  font-size: 24px;
}

.item-adz-name a {
  text-decoration: none;
  color: #333 !important;
  transition: color 0.3s;
  font-size: 25px;
  font-weight: 700;
}

.item-adz-name a:hover {
  color: #0073aa;
}

.value-item-adz {
  display: flex;
  align-items: flex-start;
  color: #757575;
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 5px;
  flex-direction: column;
}

.value-item-adz2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #757575;
  font-weight: 400;
  font-size: 15px;
}

.full-item-adz-star {
  display: flex;
  align-items: center;
  gap: 2px;
}

.full-item-adz-star span {
  margin: 0 !important;
}

.item-adz-star span {
  font-size: 1rem;
}

.filled-star {
  color: #ff0 !important;
}

.empty-star {
  color: #ccc !important;
}

.item-adz-description {
  color: #666;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 48px;
  min-height: 48px;
  line-height: 1.5em;
}

.item-adz-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.item-adz-promotion {
  color: #46ab5c;
  position: relative;
  background-color: #f4f4f4;
  height: max-content;
  min-height: 42px;
  display: flex;
  padding: 12px;
  font-weight: 600;
  align-items: center;
  width: max-content;
}

.item-adz-promotion::after {
  content: "";
  position: absolute;
  top: 10px;
  right: -30px;
  border-width: 0 21px 21px;
  border-style: solid;
  border-color: transparent #f4f4f4 transparent #f4f4f4;
  rotate: -90deg;
}

.item-adz-despromotion {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.item-adz-button {
  display: inline-block;
  padding: 11px 27px;
  background: #c5243a;
  border-radius: 9999px;
  color: white !important;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  height: max-content;
  width: max-content;
  transition: background-color 0.3s;
  white-space: nowrap;
  width: max-content;
  font-weight: 600;
}

.item-adz-button:hover {
  background-color: #96091c;
}

.content-item-adz {
  flex: 1;
}

.item-adz-vote,
.item-adz-reputation {
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  font-size: 13px;
}

.item-adz-url {
  color: #3254fb;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px;
  white-space: nowrap;
}

.item-adz-list-button {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
	border-radius: 50px;
}

.full-item-adz-rate {
  display: flex;
  gap: 6px;
}

.item-adz-order {
  position: absolute;
  top: -8px;
  left: 10px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  padding: 2px 8px;
  background: #e2e2e2;
  min-width: 24px;
  max-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-adz-order::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 24px;
  border-top: 8px solid transparent;
  border-left: 5px solid #333;
}

.info-item-adz.info-mobile {
  display: none;
}
.info-item-adz.info-desktop {
  display: flex;
  flex-direction: column;
}

.filled-star {
  color: #f39c12 !important;
}

.toplist-container {
  margin: 24px 0;
  display: flex;
  gap: 24px;
  flex-direction: column;
}
/* Responsive Design */
@media (max-width: 960px) {
  .info-item-adz.info-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .info-item-adz.info-desktop {
    display: none;
  }
  .item-adz {
    flex-direction: column;
  }

  .full-item-adz-rate svg {
    display: none;
  }
  .item-adz-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 12px;
    padding: 20px;
  }

  .item-adz-header .item-adz-name,
  .item-adz-header .item-adz-vote,
  .item-adz-header .item-adz-reputation {
    color: #fff;
  }

  .full-item-adz-star .star {
    color: #fff !important;
    font-size: 14px;
  }

  .value-item-adz {
    justify-content: space-between;
  }

  .item-adz-bottom {
    flex-direction: column;
  }

  .item-adz-promotion {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    background: none;
    color: #008e18;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    min-height: auto;
    padding: 0;
  }

  .filled-star {
    color: #ff0 !important;
  }

  .item-adz-list-button {
    width: 100%;
  }
  .item-adz-logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    padding: 0;
  }

  .item-adz-logo img {
    height: 100% !important;
  }

  .item-adz-promotion::after {
    display: none;
  }

  .content-item-adz {
    width: 100%;
  }

  .item-adz-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    width: 100%;
    height: auto;
    background-color: #fffceb;
  }

  .item-adz-name {
    text-align: center;
    margin-top: 0 !important;
    line-height: 1 !important;
  }

  .info-item-adz {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .item-adz-star {
    text-align: center;
  }

  .item-adz-description {
    text-align: start;
  }

  .item-adz-button {
    padding: 13px 27px;
    align-self: center;
  }

  .item-adz-star span {
    font-size: 1rem;
  }
}
