.listing .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 32px;
  row-gap: 48px;
}
.card {
  width: 384px;
  /* max-height: 460px; */
  border-radius: 12px;
  background: rgba(35, 35, 35, 1);
  border: 1px solid rgba(41, 41, 41, 1);
  box-shadow: 0px 0px 32px 16px rgba(255, 255, 255, 0.08);
  z-index: 1;
}
.start {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.card_bg,
.card_bg::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.card_bg::after {
  content: "";
  z-index: 1;
  background: #000000d9;
}
.card_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.rank {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank:not(:has(.label)) {
  height: 24px;
  width: 24px;
  border-radius: 6px;
  background: #ffffff66;
  margin-top: 8px;
  margin-left: 8px;
}
.rank:not(:has(.label)):has(.reward) {
  background: transparent;
}
.rank:has(.label) {
  height: 28px;
  gap: 4px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.rank_num {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.02em;
  position: relative;
}
.reward {
  margin-right: 8px;
  color: #4a27ac;
}
.reward::after {
  position: absolute;
  content: "1";
  left: -110%;
  top: -3px;
  background: url("../images/icons/reward.svg") no-repeat center;
  width: 28px;
  height: 28px;
  padding-bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.label {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.02em;
}
.card_header {
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.img_section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
}
.img_section img {
  width: 108px;
  height: 72px;
  object-fit: contain;
}
.score_num {
  text-align: center;
  color: #fff;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.brand_name {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.address {
  color: #b2b2b2;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.02em;
}
.end {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.end_text span {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.02em;
}
.card_title {
  margin-top: 4px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.02em;
}
.btn {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.link1 {
  height: 52px;
  border-radius: 6px;
  background: linear-gradient(271.2deg, #6e3aff 0%, #422399 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.link2 {
  color: #8a61ff;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-align: center;
}
.brand_address_mb, .link1_mb{
  display: none;
}

@media (max-width: 1000px) {
  .listing .container {
    row-gap: 24px;
  }
}
@media (max-width: 835px) {
  .card_header{
    padding-block: 0px;
  }
  .start{
    gap: 16px;
    padding-bottom: 16px;
  }
  .start_text{
    display: none;
  }
  .brand_address_mb{
    display: block;
    border-top: 1px solid #313131;
    margin-top: 8px;
    padding-top: 8px;
  }
  .brand_name,
  .address {
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: -0.02em;
  }
  .end_text span {
    font-weight: 300;
  }
  .card_title {
    font-size: 18px;
    line-height: 28px;
  }
  .link1_mb{
    display: flex;
  }
  .link2, .link1_desk{
    display: none;
  }
}
