/* 2025-11-03 */

.tickets-item {
  display: flex;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.tickets-item:first-child {
  margin-top: 2rem;
}

.tickets-item:last-child {
  border-bottom: none;
  margin-bottom: 2rem;
}

.tickets-img {
  position: relative;
  width: 30.5%;
  padding-bottom: 19.84%;
  margin-right: 3rem;
  flex: none;
  overflow: hidden;
}

.tickets-title {
  font-size: 2rem;
}

.tickets-item:hover .tickets-title {
  color: #bf0e0e;
}

.tickets-info {
  position: relative;
  display: block;
  margin-top: 4rem;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.tickets-info:after {
  content: '查看更多';
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0 0 0 1rem;
  color: #bf0e0e;
  background: #fff;
}

.tickets-info::before {
  content: '...';
  position: absolute;
  left: 79.5%;
  right: 0;
  bottom: 0;
  padding: 0 0 0 0.6rem;
  background: #fff;
}

.tickets-qrcode {
  margin-top: 4rem;
  justify-content: space-between;
}

.tickets-qrcode img {
  width: 8.8rem;
  margin-right: 4rem;
  transform: none !important;
}

.tickets-qrcode .relative span {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  font-size: 1.4rem;
  padding: 0 0.4rem;
  display: flex;
  justify-content: center;
  writing-mode: vertical-rl;
  background: #bf0e0e;
  border-radius: 0.5rem;
}

.tickets-qrcode .relative span:before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 100%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.5rem 0.87rem 0.5rem 0;
  border-color: transparent #bf0e0e transparent transparent;
}

@media (max-width: 1200px) {
  .tickets-info {
    -webkit-line-clamp: 1;
    margin-top: 2rem;
  }

  .tickets-qrcode {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .tickets-item {
    flex-direction: column;
  }

  .tickets-img {
    width: 100%;
    padding-bottom: 64.75%;
    margin: 0 0 3rem;
  }

  .tickets-info {
    -webkit-line-clamp: 3;
  }
}
