/* Hackathon highlight (top of Selected work) and the Creator section. */

.hackathon-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin: 0 0 48px;
  padding: clamp(18px, 2.4vw, 28px);
  background: #10131c;
  color: #e9edf7;
  border-radius: 22px;
}
.hackathon-photos { position: relative; margin: 0; padding-bottom: 12%; }
.hackathon-photos img { display: block; border-radius: 14px; object-fit: cover; }
.hackathon-team { width: 100%; height: auto; aspect-ratio: 1400 / 744; }
.hackathon-solo {
  position: absolute; right: -4%; bottom: 0; width: 34%; height: auto; aspect-ratio: 900 / 1080;
  border: 4px solid #10131c; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.hackathon-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.hackathon-tags span {
  font-size: 11px; letter-spacing: 1px; font-weight: 600; padding: 5px 10px; border-radius: 99px;
  background: rgba(255, 255, 255, .08); color: #b8c4dc;
}
.hackathon-tags span:first-child { background: var(--blue); color: #fff; }
.hackathon-body h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin: 0 0 14px; color: #fff; }
.hackathon-body p { font-size: 15px; line-height: 1.65; color: #b9c2d6; margin: 0 0 12px; }
.hackathon-body .hackathon-lead { color: #e9edf7; font-size: 16px; }
.hackathon-body strong { color: #fff; }
.hackathon-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.hackathon-stats div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.hackathon-stats dt { font-size: 22px; font-weight: 700; color: #fff; }
.hackathon-stats dd { margin: 4px 0 0; font-size: 12px; line-height: 1.4; color: #9eabc4; }
.hackathon-links { display: flex; flex-wrap: wrap; gap: 10px; }
.hackathon-links a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 99px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: #fff; border: 1px solid rgba(255, 255, 255, .25);
}
.hackathon-links a:first-child { background: var(--blue); border-color: var(--blue); }
.hackathon-links a:hover { border-color: #fff; }
.hackathon-links a:focus-visible, .creator-clip a:focus-visible { outline: 3px solid #8ea3ff; outline-offset: 3px; }

.creator { background: #f1f0f7; }
.creator-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.creator-clip { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.creator-clip video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #10131c; }
.creator-clip > div { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.creator-genre { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--blue); }
.creator-clip h3 { font-size: 17px; line-height: 1.3; margin: 0; color: var(--ink); }
.creator-clip p { font-size: 14px; line-height: 1.55; color: #5f6678; margin: 0; flex: 1; }
.creator-clip a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.creator-clip a:hover { color: var(--blue); }

@media (max-width: 1100px) {
  .creator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hackathon-highlight { grid-template-columns: 1fr; }
  .hackathon-solo { right: 0; }
}
@media (max-width: 520px) {
  .hackathon-stats { grid-template-columns: 1fr; }
  .creator-grid { gap: 14px; }
  .creator-clip > div { padding: 12px; }
  .creator-clip h3 { font-size: 15px; }
}
