.intro p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #34495e;
}
.criteria {
  display: flex;
  justify-content: space-around;
  margin-top: 25px;
  flex-wrap: wrap;
}
.criterion {
  background: #daffc0;
  color: #4a4949;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  flex: 1;
  min-width: 200px;
  margin: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.criterion .percent {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 10px;
}

.judge-bio, .judge-bio p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 24px !important;
}

.judges-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.judges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 10px;
}
.decoration-line {
  background: #1e1d1d;
  width: 130px;
  margin: 0 auto;
  height: 3px;
  margin-top: -25px;
}

/* 新增：突出评审团成员标题样式 */
.judges-title-highlight {

  margin-top: 30px;
  font-size: 2.1rem;
  text-align: center;
  letter-spacing: 2px;
  font-weight: 800;
}

.judge-name-cn {
  font-size: 1.5rem;
}

.judge-name-en {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 12px;
  font-weight: 400;
  text-align: center;
  line-height: 1.5rem;
}

@media (max-width: 900px) {
  .judges-grid {
    grid-template-columns: 1fr;
    gap: 20px 0;
  }
}

.judge-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: box-shadow .3s ease, transform .15s ease;
  perspective: 1000px;
}

.judge-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
}

.judge-card > a {
  display: block;
  width: 100%;
}

.judge-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 270px;
  height: 340px;
  margin-bottom: 0;
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
}

.judge-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.judge-card:hover .judge-photo img {
  transform: scale(1.06);
}

.judge-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 12px 16px;
  /*background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15) 70%, transparent);*/
background: rgba(0,0,0,0.5);
  text-align: center;
  pointer-events: none;
}
.judge-title {
  color: #c6392b;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f3f6;
  font-size: 1.4rem;
}

@media (max-width: 900px) {
  .judge-photo {
    width: 250px;
    height: 280px;
  }
}

.judge-name-overlay .judge-name-cn {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.judge-name-overlay .judge-name-en {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.judge-view-btn {
  background: #4c4d4e;
  border: none;
  border-radius: 4px;
  color: #fff;
  padding: 7px 18px;
  font-size: 15px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background .16s;
}

.judge-view-btn:active,
.judge-view-btn:focus {
  outline: none;
  background: #173f61;
}

/* Modal styles */
.judge-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0,0,0,0.35);
  justify-content: center;
  align-items: center;
}
.judge-modal.open {
  display: flex;
  animation: fadeIn 0.22s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.judge-modal-content {
  background: #fff;
  border-radius: 12px;
  max-width:700px;
  width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.17);
  padding: 36px 28px 28px 28px;
  position: relative;
}
.judge-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  border: none;
  background: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  transition: color .18s;
}
.judge-modal-close:hover {
  color: #2664a9;
}

/* Hide judge-info in card, only in modal */
.judge-info {
  display: none !important;
}

/* Modal content new style for custom layout */
.judge-modal-flex-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.judge-modal-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 0;
}

.judge-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.judge-modal-names {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.judge-modal-modalname-cn {
  font-size: 1.5rem;
  color: #222;
  font-weight: 600;
  line-height: 1.8rem;
}
.judge-modal-modalname-en {
  font-size: 1.1rem;
  color: #616060;
  font-weight: 400;
  line-height: 1.5rem;
}
.judge-modal-body-content {
  margin-top: 26px;
  text-align: left;
}