
/* /src/components/GraduatesResults.css */
.graduates-results {
  color: #49503d;
  background: #f9f7f0;
  padding: 90px 0;
}

.graduates-results .gr-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.graduates-results .gr-title {
  color: #49503d;
  margin: 0 0 24px;
  font-family: Shadower, Georgia, serif;
  font-size: 43px;
  font-weight: 400;
}

.graduates-results .gr-layout {
  grid-template-columns: 84px minmax(0, 1fr) 220px;
  align-items: stretch;
  gap: 24px;
  display: grid;
}

.graduates-results .gr-layout.no-video {
  grid-template-columns: 84px minmax(0, 1fr);
}

.graduates-results .gr-rail {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  display: flex;
}

.graduates-results .gr-face {
  cursor: pointer;
  background: none;
  border: 3px solid #0000;
  border-radius: 50%;
  flex: none;
  width: 72px;
  height: 72px;
  padding: 0;
  transition: transform .2s, border-color .2s;
  position: relative;
}

.graduates-results .gr-face img {
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: block;
}

.graduates-results .gr-face:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px #4b57331f;
}

.graduates-results .gr-face, .graduates-results .gr-nav, .graduates-results .gr-dot, .graduates-results .gr-play {
  box-shadow: 0 4px 16px -8px #4b57334d;
}

.graduates-results .gr-face.is-active {
  border-color: #f6dfd5;
  box-shadow: 0 0 0 2px #c8ce85;
}

.graduates-results .gr-face .gr-tip {
  color: #f9f7f0;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  background: #49503d;
  border-radius: 99px;
  padding: 5px 10px;
  font-size: 13px;
  transition: opacity .18s;
  position: absolute;
  top: 50%;
  left: 108%;
  transform: translateY(-50%);
}

.graduates-results .gr-face:hover .gr-tip, .graduates-results .gr-face:focus-visible .gr-tip {
  opacity: 1;
}

.graduates-results .gr-card {
  background: #f6dfd5;
  border-radius: 32px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr);
  align-items: stretch;
  gap: 28px;
  height: 100%;
  padding: 32px;
  display: grid;
}

.graduates-results .gr-media-pair {
  display: contents;
}

.graduates-results .gr-fade {
  animation: .35s gr-fade;
}

@keyframes gr-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.graduates-results .gr-person {
  align-items: center;
  gap: 20px;
  display: flex;
}

.graduates-results .gr-person img {
  object-fit: cover;
  border-radius: 50%;
  flex: none;
  width: 92px;
  height: 92px;
}

.graduates-results .gr-person-meta {
  min-width: 0;
  overflow: hidden;
}

.graduates-results .gr-name {
  color: #49503d;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
  font-family: Shadower, Georgia, serif;
  font-size: 28px;
  overflow: hidden;
}

.graduates-results .gr-handle {
  color: #8a7f74;
  margin-top: 0;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
}

.graduates-results .gr-handle:hover {
  text-decoration: underline;
}

.graduates-results .gr-desc {
  color: #8a7f74;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.2;
}

.graduates-results .gr-texts {
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
}

.graduates-results .gr-texts p {
  margin: 0;
}

.graduates-results .gr-card > div:first-child {
  flex-direction: column;
  min-height: 0;
  display: flex;
}

.graduates-results .gr-texts b {
  font-weight: 700;
}

.graduates-results .gr-gallery {
  flex-direction: column;
  min-height: 0;
  display: flex;
  position: relative;
}

.graduates-results .gr-shot {
  object-fit: cover;
  cursor: zoom-in;
  background: #fff;
  border-radius: 24px;
  flex: auto;
  width: 100%;
  min-height: 0;
  display: block;
}

.graduates-results .gr-nav {
  cursor: pointer;
  color: #fff;
  background: #7e8f5b;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.graduates-results .gr-nav:hover {
  box-shadow: 0 12px 32px -8px #4b57331f;
}

.graduates-results .gr-nav.prev {
  left: 12px;
}

.graduates-results .gr-nav.next {
  right: 12px;
}

.graduates-results .gr-dots {
  flex: none;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  display: flex;
}

.graduates-results .gr-dot {
  cursor: pointer;
  background: #d7c3b8;
  border: none;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  padding: 0;
  box-shadow: 0 4px 16px -8px #4b57334d;
}

.graduates-results .gr-dot:hover {
  box-shadow: 0 12px 32px -8px #4b57331f;
}

.graduates-results .gr-dot.is-active {
  background: #7e8f5b;
  border-radius: 99px;
  width: 22px;
}

.graduates-results .gr-video {
  aspect-ratio: 9 / 16;
  background: #49503d;
  border-radius: 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.graduates-results .gr-video-side {
  display: flex;
}

.graduates-results .gr-video-mobile {
  display: none;
}

.graduates-results .gr-video video, .graduates-results .gr-video img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.graduates-results .gr-play {
  color: #49503d;
  cursor: pointer;
  background: #ffffffe6;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 84px;
  height: 84px;
  margin: auto;
  font-size: 26px;
  font-weight: 600;
  display: flex;
  position: absolute;
  inset: 0;
  box-shadow: 0 4px 16px -8px #4b57334d;
}

.graduates-results .gr-play:hover {
  box-shadow: 0 12px 32px -8px #4b57331f;
}

.graduates-results .gr-lightbox {
  z-index: 80;
  cursor: zoom-out;
  background: #49503dd9;
  justify-content: center;
  align-items: center;
  padding: 32px;
  display: flex;
  position: fixed;
  inset: 0;
}

.graduates-results .gr-lightbox img {
  border-radius: 20px;
  max-width: 100%;
  max-height: 100%;
}

@media (max-width: 1400px) {
  .graduates-results .gr-layout {
    grid-template-columns: 84px minmax(0, 1fr) 220px;
    gap: 18px;
  }

  .graduates-results .gr-layout.no-video {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .graduates-results .gr-face {
    width: 72px;
    height: 72px;
  }

  .graduates-results .gr-card {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr);
    gap: 24px;
    padding: 24px;
  }

  .graduates-results .gr-person img {
    width: 88px;
    height: 88px;
  }

  .graduates-results .gr-name {
    font-size: 26px;
  }
}

@media (max-width: 860px) {
  .graduates-results {
    padding: 56px 0;
  }

  .graduates-results .gr-title {
    font-size: 31px;
    line-height: 1.15;
  }

  .graduates-results .gr-layout, .graduates-results .gr-layout.no-video {
    grid-template-columns: minmax(0, 1fr);
  }

  .graduates-results .gr-rail {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    padding-bottom: 6px;
    overflow-x: auto;
  }

  .graduates-results .gr-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .graduates-results .gr-face {
    width: 60px;
    height: 60px;
  }

  .graduates-results .gr-face img {
    object-fit: cover;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: block;
  }

  .graduates-results .gr-face .gr-tip {
    display: none;
  }

  .graduates-results .gr-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .graduates-results .gr-video-side {
    display: none;
  }

  .graduates-results .gr-media-pair {
    align-items: stretch;
    gap: 12px;
    height: 200px;
    display: flex;
  }

  .graduates-results .gr-gallery {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
  }

  .graduates-results .gr-gallery .gr-dots {
    display: none;
  }

  .graduates-results .gr-video-mobile {
    aspect-ratio: 9 / 16;
    flex: none;
    max-width: none;
    height: 100%;
    display: flex;
  }

  .graduates-results .gr-video-mobile .gr-play {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .graduates-results .gr-shot, .graduates-results .gr-video {
    border-radius: 16px;
  }
}

@media (min-width: 431px) and (max-width: 860px) {
  .graduates-results .gr-media-pair {
    height: 320px;
  }

  .graduates-results .gr-face {
    width: 68px;
    height: 68px;
  }

  .graduates-results .gr-card {
    padding: 26px;
  }

  .graduates-results .gr-shot, .graduates-results .gr-video {
    border-radius: 20px;
  }

  .graduates-results .gr-video-mobile .gr-play {
    width: 56px;
    height: 56px;
    font-size: 18px;
  }
}
