/* ==========================
   HERO
========================== */

.winners-hero {
    position: relative;
    height: 64vh;
    min-height: 540px;

    background: var(--navy-dark);

    display: flex;
    align-items: center;
    justify-content: flex-start;

    overflow: hidden;
}

.winners-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;

    width: 58%;
    height: 86%;

    background-image:
        linear-gradient(
            90deg,
            var(--navy-dark) 0%,
            rgba(2, 11, 28, 0.78) 18%,
            rgba(2, 11, 28, 0.22) 42%,
            rgba(2, 11, 28, 0.08) 100%
        ),
        linear-gradient(
            rgba(2, 11, 28, 0.08),
            rgba(2, 11, 28, 0.58)
        ),
        url("../assets/photos/past-winners-hero.png");

    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
}

.winners-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 260px;

    background:
        linear-gradient(
            to bottom,
            rgba(5, 18, 40, 0) 0%,
            rgba(5, 18, 40, 0.18) 30%,
            rgba(5, 18, 40, 0.45) 58%,
            rgba(5, 18, 40, 0.75) 80%,
            var(--navy-dark) 100%
        );

    pointer-events: none;
    z-index: 2;
}

.winners-hero-content {
    position: relative;
    z-index: 2;

    width: 560px;
    margin-left: 8%;
    margin-top: 70px;

    text-align: center;
}

.winners-hero h1 {
    color: var(--cream);

    font-size: clamp(28px, 2.8vw, 46px);
    letter-spacing: 7px;
    text-transform: uppercase;

    margin-bottom: 16px;
    white-space: nowrap;
display: inline-block;
}

.winners-hero-divider {
    display: flex;
    align-items: center;
    gap: 22px;

    margin: 0 auto 18px;
    width: min(620px, 100%);
}

.winners-hero-divider span {
    flex: 1;
    height: 1px;
    background: var(--gold);
}

.winners-hero-divider img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.winners-hero p {
    color: var(--gold);

    font-size: 28px;
    font-style: italic;
    letter-spacing: .4px;
    text-align: center;
width: min(620px, 100%);
margin: 0 auto;
}

/* ==========================
   WINNER GRID
========================== */

.winners-content {
  background: var(--navy-dark);
  padding: 10px 8% 110px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  align-items: start;
}

.winners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.winner-card {
  min-height: 300px;
  border: 1px solid rgba(198, 161, 91, 0.7);
  background: rgba(255, 255, 255, 0.025);
  padding: 18px 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.winner-card.active {

  transform: translateY(-6px);

  background: linear-gradient(
    rgba(198,161,91,.08),
    rgba(255,255,255,.03)
  );

  border-color: var(--gold);

  box-shadow:
    0 0 0 1px rgba(198,161,91,.35),
    0 24px 52px rgba(0,0,0,.30);
}

.winner-card-year {
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  margin-bottom: 10px;
}

.winner-card-name {
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 1.6px;
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.winner-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  margin-top: auto;
  .winner-card.active img {
  filter: saturate(0.88) contrast(1.05);
}
}

.winner-card.placeholder {
  justify-content: center;
}

.trophy-placeholder {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trophy-placeholder img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  opacity: 0.9;
}

.winner-card.placeholder .winner-card-name {
  margin-bottom: 12px;
}

/* ==========================
   WINNER DETAIL
========================== */

.winner-detail {
  margin-top: -6px;  
  background: linear-gradient(
    180deg,
    rgba(5, 18, 40, 0.96),
    rgba(4, 15, 34, 1)
  );
  border: 1px solid rgba(198, 161, 91, 0.65);
  overflow: hidden;
}

.winner-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.winner-info {
  padding: 42px;
}

.winner-year {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.winner-info h2 {
  color: var(--cream);
  font-size: 52px;
  margin: 14px 0 34px;
}

/* ==========================
   WINNER DETAIL
========================== */

.winner-detail {
    background: linear-gradient(
        180deg,
        rgba(5,18,40,.96),
        rgba(4,15,34,1)
    );

    border:1px solid rgba(198,161,91,.65);

    overflow:hidden;
}

.winner-media {
  position: relative;
  overflow: hidden;
  height: 520px;
}

.winner-photo,
.winner-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;

  transition:
    opacity 0.8s ease,
    transform 0.6s ease,
    filter 0.6s ease;
}

.winner-photo {
  opacity: 1;
  z-index: 3;
}

.winner-photo.is-placeholder {
  box-sizing: border-box;
  padding: 80px;
  object-fit: contain;
  opacity: 0.35;
}

.winner-video {
  opacity: 0;
  z-index: 2;
  transition-delay: 0s;
}

.winner-presentation.is-playing .winner-video {
  opacity: 1;
  transition-delay: 0.35s;
}

.winner-presentation.is-playing .winner-photo {
  opacity: 0;
}

.winner-presentation.is-playing .winner-video {
  opacity: 1;
}

.winner-info{
    padding:42px;
}

.winner-year{
    color:var(--gold);

    font-size:13px;

    letter-spacing:3px;

    text-transform:uppercase;
}

.winner-info h2{

    color:var(--cream);

    font-size:52px;

    margin:14px 0 34px;
}

.winner-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;

  border-top: 1px solid rgba(198, 161, 91, 0.42);
  border-bottom: 1px solid rgba(198, 161, 91, 0.42);

  padding: 26px 0;
  margin-bottom: 30px;
}

.winner-stats span,
.winner-courses span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.winner-stats strong {
  color: var(--cream);
  font-size: 24px;
  font-weight: 400;
}

.winner-courses {
  border-bottom: 1px solid rgba(198, 161, 91, 0.42);
  padding-bottom: 28px;
  margin-bottom: 30px;
}

.winner-courses p {
  color: var(--cream);
  font-size: 22px;
  line-height: 1.5;
  margin: 0;
}

.winner-reflection {
  margin-top: 6px;
}

.winner-reflection span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.winner-reflection blockquote {
  color: var(--cream);
  font-size: 24px;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* ==========================
   INTERACTIONS
========================== */

.winner-card {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.winner-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(198, 161, 91, 0.055);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.winner-card.active {
    cursor: pointer;
}

.winner-card:active {
  transform: translateY(-2px) scale(0.99);
}

.winner-card.placeholder:active {
  transform: translateY(-2px);
}

.winner-card.placeholder {
    cursor: auto;
}

.winner-card.placeholder:hover {
  transform: translateY(-2px);
}

.winner-card img {
  transition:
    filter 0.3s ease,
    transform 0.45s ease;
}

.winner-card:hover img {
  transform: scale(1.025);
}

.trophy-placeholder img {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.winner-card.placeholder:hover .trophy-placeholder img {
  transform: scale(1.08);
  opacity: 1;
}

.winner-detail {
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.winner-detail:hover {
  border-color: var(--gold);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.winner-detail:hover .winner-media img {
    transform: scale(1.03);
    filter: saturate(.92);
}

.winner-card.active {
    transform: translateY(-6px);

    background: linear-gradient(
        rgba(198,161,91,.08),
        rgba(255,255,255,.03)
    );

    border-color: var(--gold);

    box-shadow:
        0 0 0 1px rgba(198,161,91,.35),
        0 24px 52px rgba(0,0,0,.30);
}

@media (max-width: 700px) {

  /* Full-width mobile hero */

  .winners-hero {
    width: 100%;
    height: 72vh;
    min-height: 560px;

    justify-content: center;
  }

  .winners-hero::before {
    inset: 0;

    width: 100%;
    height: 100%;

    background-image:
      linear-gradient(
        rgba(2, 11, 28, 0.28),
        rgba(2, 11, 28, 0.72)
      ),
      url("../assets/photos/past-winners-hero.png");

    background-position: center top;
  }

  .winners-hero::after {
    height: 180px;
  }

  .winners-hero-content {
    width: 100%;
    max-width: 430px;

    margin: 70px auto 0;
    padding: 0 22px;
  }

  .winners-hero h1 {
    display: block;

    font-size: 2rem;
    letter-spacing: 4px;
    white-space: normal;
  }

  .winners-hero-divider {
    width: 100%;
    gap: 14px;
  }

  .winners-hero-divider img {
    width: 26px;
    height: 26px;
  }

  .winners-hero p {
    width: 100%;
    font-size: 1.4rem;
  }


  /* Detail panel above winner grid */

  .winners-content {
    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 28px;
    padding: 28px 18px 78px;
  }

  .winner-detail {
    order: 1;

    width: 100%;
    min-width: 0;
    margin-top: 0;
  }

  .winners-grid {
    order: 2;

    width: 100%;
    min-width: 0;

    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }


  /* Mobile detail proportions */

  .winner-media {
    height: 360px;
  }

  .winner-info {
    padding: 28px 22px;
  }

  .winner-info h2 {
    font-size: 2rem;
    margin: 8px 0 18px;
    line-height: 1;
}

  .winner-stats {
    gap: 12px;
    padding: 18px 0;
    margin-bottom: 18px;
}

.winner-stats span,
.winner-courses span,
.winner-reflection span {
    font-size: 0.58rem;
    letter-spacing: 1.8px;
    margin-bottom: 5px;
}

.winner-stats strong {
    font-size: 1.05rem;
}

.winner-courses {
    padding-bottom: 18px;
    margin-bottom: 18px;
}

  .winner-courses p {
    font-size: 0.95rem;
    line-height: 1.5;
}

  .winner-reflection blockquote {
    font-size: 1rem;
    line-height: 1.55;
}


  /* Preserve compact winner grid */

  .winner-card {
    width: 100%;
    min-width: 0;
    min-height: 210px;

    padding: 12px 8px 10px;
  }

  .winner-card-year {
    font-size: 1.1rem;
  }

  .winner-card-name {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }

  .winner-card img {
    width: 100%;
    height: 125px;
  }

  .trophy-placeholder img {
    width: 42px;
    height: 42px;
  }
}

.winner-year {
    font-size: 0.65rem;
    letter-spacing: 2px;
}