/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a, a:focus {
    color: #598be7;
    text-decoration: none;
}

a:hover {
    color: #9bb9f1;
    text-decoration: none;
}

.author-link{
    color: #000000;
}

.jinwoo-link {
    font-weight: 700;
    color: #000000;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 24px;
}

.papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.paper-img,
.project-img {
  width: 190px;
  height: auto;
}

.paper-img {
  display: block;
  margin: 0 auto;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 0;
}

.paper-img:hover {
  transform: scale(2.5);
  z-index: 10;
}

.project-media {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  position: relative;
  width: max-content;
}

.project-hover-note {
  color: #666666;
  font-size: 12px;
  margin: 4px 0 0;
}

.project-media:focus,
.project-media:focus-within {
  outline: 2px solid #598be7;
  outline-offset: 3px;
}

.project-preview-video {
  background: #000000;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  left: 50%;
  max-height: 70vh;
  max-width: 70vw;
  opacity: 0;
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  visibility: hidden;
  width: 250%;
  z-index: 1000;
}

@media (hover: hover) and (min-width: 601px) {
  .project-media:hover .project-preview-video,
  .project-media:focus-within .project-preview-video {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
  }
}

.project-video-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.68);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 18px;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.18s ease, visibility 0.18s;
  visibility: hidden;
  z-index: 2000;
}

.project-video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.project-video-dialog {
  position: relative;
  width: min(92vw, 720px);
}

.project-video-dialog video {
  background: #000000;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  display: block;
  max-height: 82vh;
  width: 100%;
}

.project-video-close {
  align-items: center;
  background: rgba(0, 0, 0, 0.72);
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-size: 24px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: -12px;
  top: -12px;
  width: 36px;
  z-index: 1;
}

.project-video-modal-open {
  overflow: hidden;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.colored-box {
    color: black;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
}

@media (max-width: 600px) {
  /* paper-img hover 제거 */
  .paper-img:hover {
    transform: none;
    z-index: 0;
  }

  /* 논문/프로젝트 행: td를 block으로 전환해 세로 배치 */
  table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* 이미지 셀: 글 너비보다 약간 좁게 */
  .paper-img {
    width: 68% !important;
    max-width: none !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }

  .project-img {
    width: 48% !important;
    max-width: none !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }

  .project-media {
    display: block;
    width: 100%;
  }

  .project-preview-video {
    display: none;
  }

  .profile-row {
    align-items: center;
    display: flex !important;
    flex-direction: column;
  }

  td.profile-bio {
    display: contents !important;
  }

  td.profile-photo {
    display: block !important;
    margin: 0 auto;
    max-width: 260px !important;
    order: 2;
    text-align: center;
    width: 70% !important;
    padding: 2.5% !important;
  }

  td.profile-photo a {
    display: block;
    width: 100%;
  }

  td.profile-photo img {
    display: block;
    height: auto !important;
    margin: 0 auto;
    max-width: none !important;
    width: 100% !important;
  }

  td.profile-bio p {
    order: 3;
    padding: 0 2.5%;
    width: 100%;
  }

  td.profile-bio .name {
    order: 1;
    padding: 20px 2.5% 0;
    text-align: center !important;
    width: 100%;
    font-size: 30px;
  }
}
