@charset "utf-8";

body.hankyung-page-body {
  overflow: hidden;
  background: #0f2135;
}

/* Transparent frosted header — stay light even when scrolled */
body.hankyung-page-body header.header--main:not(.is-open),
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open) {
  background: rgba(255, 255, 255, 0.1) !important;
  -webkit-backdrop-filter: blur(30px) !important;
  backdrop-filter: blur(30px) !important;
}

body.hankyung-page-body header.header--main:not(.is-open)::before,
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open)::before {
  opacity: 0 !important;
  background: transparent !important;
}

body.hankyung-page-body header.header--main:not(.is-open) .logo .logo-light,
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open) .logo .logo-light {
  display: block;
}

body.hankyung-page-body header.header--main:not(.is-open) .logo .logo-dark,
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open) .logo .logo-dark {
  display: none;
}

body.hankyung-page-body header.header--main:not(.is-open) .inner > ul > li > :is(a, button),
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open) .inner > ul > li > :is(a, button) {
  color: #fff;
}

body.hankyung-page-body header.header--main:not(.is-open) .inner > ul > li:hover > :is(a, button),
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open) .inner > ul > li:hover > :is(a, button) {
  color: #fff;
}

body.hankyung-page-body header.header--main:not(.is-open) .header-portal,
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open) .header-portal {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

body.hankyung-page-body header.header--main:not(.is-open) .header-portal:hover,
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open) .header-portal:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body.hankyung-page-body header.header--main:not(.is-open) .header-portal .icon-light,
body.hankyung-page-body header.header--main:not(.is-open) .header-user .icon-light,
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open) .header-portal .icon-light,
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open) .header-user .icon-light {
  display: block;
}

body.hankyung-page-body header.header--main:not(.is-open) .header-portal .icon-dark,
body.hankyung-page-body header.header--main:not(.is-open) .header-user .icon-dark,
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open) .header-portal .icon-dark,
body.hankyung-page-body header.header--main.is-scrolled:not(.is-open) .header-user .icon-dark {
  display: none;
}

body.hankyung-page-body header.header--main:not(.is-open) .header-gnb-indicator {
  opacity: 0 !important;
}

.hankyung-page {
  position: relative;
  margin-top: 0;
  height: 100vh;
  overflow: hidden;
  background: transparent;
}

.hankyung-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #0f2135;
  overflow: hidden;
}

.hankyung-bg__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  opacity: 1;
}

.hankyung-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 80px;
}

.hankyung-scroll {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: contain;
  padding: 0 40px 0 20px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.hankyung-scroll__inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 60px;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.hankyung-block {
  margin-bottom: 40px;
}

.hankyung-block:last-child {
  margin-bottom: 0;
}

.hankyung-aside {
  position: sticky;
  top: 80px;
  flex: 0 0 860px;
  width: 860px;
  max-width: 860px;
  min-width: 860px;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 60px 0 40px 60px;
  box-sizing: border-box;
}

.hankyung-aside__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 800px;
  max-width: 100%;
  min-height: 710px;
  height: auto;
  box-sizing: border-box;
  padding: 63px 60px 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
}

.hankyung-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
}

.hankyung-badge {
  width: 168px;
  height: 35px;
  background: transparent;
  border: 1px solid #ff9d00;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 0 20px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.hankyung-badge__dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff9d00;
  flex-shrink: 0;
}

.hankyung-badge span {
  font-family: 'Pretendard', 'NanumSquare', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #ff9d00;
  letter-spacing: -0.45px;
  white-space: nowrap;
}

.hankyung-award-logo {
  position: relative;
  flex-shrink: 0;
  width: 118px;
  height: 53px;
}

.hankyung-award-logo__mark {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 45px;
  height: 53px;
}

.hankyung-award-logo__text {
  position: absolute;
  left: 32px;
  top: 18px;
  display: block;
  width: 90px;
  height: 28px;
  object-fit: cover;
}

.hankyung-title {
  margin: 0;
  width: 100%;
  max-width: 680px;
  font-family: 'Pretendard', 'NanumSquare', sans-serif;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -1.25px;
}

.hankyung-title p {
  margin: 0;
  white-space: nowrap;
}

.hankyung-date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  font-family: 'Pretendard', 'NanumSquare', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  letter-spacing: -0.4px;
}

.hankyung-date__source,
.hankyung-date time {
  display: inline-block;
}

.hankyung-date__sep {
  display: inline-block;
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.hankyung-desc {
  margin-top: 56px;
  width: 100%;
  max-width: 680px;
  font-family: 'Pretendard', 'NanumSquare', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #fff;
  letter-spacing: -0.4px;
  text-align: justify;
}

.hankyung-desc p {
  margin: 0 0 1em;
}

.hankyung-desc p:last-child {
  margin-bottom: 0;
  margin-top: 1em;
}

.hankyung-block__row {
  display: flex;
  gap: 20px;
}

.hankyung-block__caption {
  margin-top: 15px;
  padding-left: 5px;
  font-family: 'Pretendard', 'NanumSquare', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.35px;
}

.hankyung-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}

.hankyung-img-wrap--award1,
.hankyung-img-wrap--award2 {
  box-shadow: none;
}

.hankyung-img-wrap--half {
  flex: 1 1 calc((100% - 20px) / 2);
  min-width: 0;
  aspect-ratio: 480 / 710;
  max-height: 710px;
}

.hankyung-img-wrap__crop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 10px;
}

.hankyung-img-wrap--full {
  width: 100%;
  aspect-ratio: 980 / 710;
  max-height: 710px;
  background: transparent;
}

.hankyung-img-wrap img {
  display: block;
}

.hankyung-img-wrap--award1 .hankyung-img-wrap__crop img,
.hankyung-img-wrap--award2 .hankyung-img-wrap__crop img {
  position: absolute;
  max-width: none;
  object-fit: unset;
}

.hankyung-img-wrap--award1 .hankyung-img-wrap__crop img {
  width: 107.01%;
  height: 107.83%;
  left: -3.73%;
  top: -7.63%;
}

.hankyung-img-wrap--award2 .hankyung-img-wrap__crop img {
  width: 109.41%;
  height: 104.69%;
  left: -4.72%;
  top: -0.55%;
}

.hankyung-img-wrap--full img {
  position: absolute;
  max-width: none;
  object-fit: unset;
}

.hankyung-img-wrap--lotte1 img {
  width: 104.75%;
  height: 102.01%;
  left: -2.11%;
  top: -1.03%;
}

.hankyung-img-wrap--lotte2 img {
  width: 127.36%;
  height: 100%;
  left: -10.86%;
  top: 0;
}

.hankyung-img-wrap--lotte3 img {
  width: 107.06%;
  height: 104.26%;
  left: -5.49%;
  top: -2.19%;
}

.hankyung-img-wrap--lotte4 img {
  width: 106.5%;
  height: 103.72%;
  left: -2.98%;
  top: -2.31%;
}

.hankyung-img-wrap--lotte5 img {
  width: 105.35%;
  height: 102.6%;
  left: -2.7%;
  top: -1.19%;
}

.hankyung-img-wrap--lotte6 img {
  width: 102.96%;
  height: 100.55%;
  left: -1.48%;
  top: -0.41%;
}

.hankyung-img-wrap--lotte7 img {
  width: 104.49%;
  height: 105.16%;
  left: -2.24%;
  top: -2.54%;
}

.hankyung-expand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: rgba(0, 119, 217, 0.7);
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.hankyung-expand::before,
.hankyung-expand::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.hankyung-expand::before {
  width: 2px;
  height: 20px;
}

.hankyung-expand::after {
  width: 20px;
  height: 2px;
}

.hankyung-expand img {
  display: none;
}

.hankyung-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: rgba(0, 0, 0, 0.92);
  flex-direction: column;
  padding: 0;
  box-sizing: border-box;
}

.hankyung-lightbox.is-open {
  display: flex;
}

.hankyung-lightbox__viewport {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.hankyung-lightbox__viewport.is-dragging {
  cursor: grabbing;
}

.hankyung-lightbox__img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  max-height: none;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 0 0;
  will-change: transform;
  image-rendering: auto;
}

.hankyung-lightbox__controls {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hankyung-lightbox__btn {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 22px;
  background: rgba(0, 119, 217, 0.7);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  color: #fff;
  font-family: 'Pretendard', 'NanumSquare', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 44px;
  cursor: pointer;
  transition: background 0.2s;
}

.hankyung-lightbox__btn:hover {
  background: rgba(0, 119, 217, 0.9);
}

.hankyung-lightbox__btn#hankyungLightboxZoomReset {
  min-width: 72px;
  font-size: 14px;
}

.hankyung-lightbox__hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: 'Pretendard', 'NanumSquare', sans-serif;
  font-size: 13px;
  color: #999;
  white-space: nowrap;
  pointer-events: none;
}

.hankyung-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: rgba(0, 119, 217, 0.7);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.hankyung-lightbox__close::before,
.hankyung-lightbox__close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
}

.hankyung-lightbox__close::before {
  width: 2px;
  height: 20px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.hankyung-lightbox__close::after {
  width: 20px;
  height: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
}

@media all and (max-width: 1024px) {
  .hankyung-aside {
    flex: 0 0 42%;
    width: auto;
    min-width: 0;
    max-width: 860px;
    padding-left: 40px;
    padding-right: 16px;
  }

  .hankyung-aside__card {
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 48px 40px 40px;
  }

  .hankyung-head {
    width: 100%;
  }

  .hankyung-title,
  .hankyung-desc {
    width: 100%;
    max-width: none;
  }

  .hankyung-title p {
    white-space: normal;
  }

  .hankyung-badge {
    width: auto;
    min-width: 140px;
  }
}

@media all and (max-width: 1024px) {
  body.hankyung-page-body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .hankyung-page {
    min-height: 100vh;
    height: auto;
    overflow: visible;
  }

  .hankyung-bg {
    position: fixed;
  }

  .hankyung-layout {
    height: auto;
    flex-direction: column;
  }

  .hankyung-aside {
    position: relative;
    top: auto;
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    padding: 40px 24px;
  }

  .hankyung-aside__card {
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 40px 28px 36px;
  }

  .hankyung-title,
  .hankyung-desc {
    width: 100%;
    max-width: none;
  }

  .hankyung-title {
    font-size: 36px;
    letter-spacing: -0.9px;
  }

  .hankyung-title p {
    white-space: normal;
  }

  .hankyung-scroll {
    height: auto;
    overflow: visible;
    padding: 0 24px 0;
  }

  .hankyung-scroll__inner {
    padding-top: 0;
    padding-bottom: 60px;
    transform: none !important;
    will-change: auto;
  }

  .hankyung-block__row {
    flex-direction: column;
  }

  .hankyung-lightbox__hint {
    display: none;
  }

  .hankyung-lightbox__controls {
    bottom: 24px;
  }
}

/* ===== 진입 인트로 — 기업소식 이미지 박스와 동일 ===== */
body.hankyung-page-body.is-hankyung-intro:not(.is-hankyung-entered) .hankyung-aside__card,
body.hankyung-page-body.is-hankyung-intro:not(.is-hankyung-entered) .hankyung-img-wrap,
body.hankyung-page-body.is-hankyung-intro:not(.is-hankyung-entered) .hankyung-block__caption {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-aside__card,
body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-img-wrap,
body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block__caption {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-aside__card {
  transition-delay: 0.15s;
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(1) .hankyung-img-wrap--award1 {
  transition-delay: 0.35s;
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(1) .hankyung-img-wrap--award2 {
  transition-delay: 0.47s;
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(1) .hankyung-block__caption {
  transition-delay: 0.55s;
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(2) .hankyung-img-wrap,
body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(2) .hankyung-block__caption {
  transition-delay: 0.59s;
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(3) .hankyung-img-wrap,
body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(3) .hankyung-block__caption {
  transition-delay: 0.71s;
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(4) .hankyung-img-wrap,
body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(4) .hankyung-block__caption {
  transition-delay: 0.83s;
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(5) .hankyung-img-wrap,
body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(5) .hankyung-block__caption {
  transition-delay: 0.95s;
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(6) .hankyung-img-wrap,
body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(6) .hankyung-block__caption {
  transition-delay: 1.07s;
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(7) .hankyung-img-wrap,
body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(7) .hankyung-block__caption {
  transition-delay: 1.19s;
}

body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(8) .hankyung-img-wrap,
body.hankyung-page-body.is-hankyung-intro.is-hankyung-entered .hankyung-block:nth-child(8) .hankyung-block__caption {
  transition-delay: 1.31s;
}

/* Mobile — 메인 타이틀 2줄 고정 (카드 내부폭 = 100vw - 104px, 긴 줄 약 11.3em) */
@media all and (max-width: 768px) {
  .hankyung-title {
    font-size: min(30px, calc((100vw - 104px) / 12));
    line-height: 1.45;
    letter-spacing: -0.5px;
  }

  .hankyung-title p {
    white-space: nowrap;
  }

  /* 한국경제 로고 75% (마크·텍스트 위치 비율 유지) */
  .hankyung-award-logo {
    width: 89px;
    height: 40px;
  }

  .hankyung-award-logo__mark {
    width: 34px;
    height: 40px;
  }

  .hankyung-award-logo__text {
    left: 24px;
    top: 13.5px;
    width: 68px;
    height: 21px;
  }
}

/* Tablet — 이미지 영역 좌우 마진까지 꽉 차게, 수상 이미지 2개는 한 줄 */
@media all and (min-width: 600px) and (max-width: 1024px) {
  .hankyung-scroll {
    align-self: stretch;
    box-sizing: border-box;
    width: 100%;
  }

  .hankyung-scroll__inner {
    max-width: none;
  }

  .hankyung-block__row {
    flex-direction: row;
    gap: 16px;
  }

  .hankyung-img-wrap--half {
    flex: 1 1 calc((100% - 16px) / 2);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.hankyung-page-body.is-hankyung-intro:not(.is-hankyung-entered) .hankyung-aside__card,
  body.hankyung-page-body.is-hankyung-intro:not(.is-hankyung-entered) .hankyung-img-wrap,
  body.hankyung-page-body.is-hankyung-intro:not(.is-hankyung-entered) .hankyung-block__caption {
    opacity: 1;
    transform: none;
  }
}
