/* ============================================
   PANEL / JUDGES PAGE — SupermodelMe
   ============================================ */

/* --- PANEL SECTION --- */
.panel-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-pad) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
}


/* --- JUDGE CARD — Editorial layout --- */
.judge-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Alternate layout — image on right */
.judge-card--reverse {
  direction: rtl;
}

.judge-card--reverse > * {
  direction: ltr;
}

/* Judge image */
.judge-card__image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 35%;
}

.judge-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.6s ease;
  filter: grayscale(20%);
}

.judge-card:hover .judge-card__image img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* Pink accent on image */
.judge-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}

.judge-card:hover .judge-card__image::after {
  transform: scaleX(1);
}

/* Judge content */
.judge-card__content {
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.judge-card__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.judge-card__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.judge-card__line {
  width: 50px;
  height: 2px;
  background: var(--pink);
  margin-bottom: 1.5rem;
  transition: width 0.6s var(--ease-out-expo);
}

.judge-card:hover .judge-card__line {
  width: 80px;
}

.judge-card__bio {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  line-height: 1.7;
  color: var(--silver);
  margin-bottom: 1.5rem;
  max-width: 450px;
}

/* Social icons */
.judge-card__socials {
  display: flex;
  gap: 1rem;
}

.judge-card__socials a {
  width: 32px;
  height: 32px;
  color: var(--mid-gray);
  transition: color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.judge-card__socials a:hover {
  color: var(--pink);
  transform: translateY(-2px);
}

.judge-card__socials svg {
  width: 100%;
  height: 100%;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .judge-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .judge-card--reverse {
    direction: ltr;
  }

  .judge-card__image {
    max-width: 100%;
    max-height: 450px;
  }

  .judge-card__name {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .judge-card__bio {
    max-width: none;
  }
}
