/**
 * theme.css — plan1 CI 토큰 + 템플릿 크롬 무력화
 * DESIGN .site-header / #gnb.desktop-nav / dialog#menu 가 이김
 */
:root {
  --color-main: #111111;
  --color-point: #0A8A38;
  --color-accent: #F5CC00;
  --color-primary: #0A8A38;
  --inner-max: 1440px;
  --navy: #111111;
  --blue: #0A8A38;
  --orange: #F5CC00;
  --ink: #161616;
}

#wrapper {
  min-width: 0;
}

#header.site-header,
header#header {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  background: #fff !important;
  border-bottom: 1px solid #EDEFEA !important;
  z-index: 50 !important;
}

#header .contain {
  height: auto !important;
}

ul#gnb,
#gnb.desktop-nav {
  text-align: inherit !important;
  flex: none !important;
  min-width: 0 !important;
  width: auto !important;
}

#gnb.desktop-nav > li,
ul#gnb > li {
  padding: 0 !important;
}

#gnb.desktop-nav > li > a,
ul#gnb > li > a {
  height: auto !important;
  flex-direction: row !important;
  display: block !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.03em !important;
  font-synthesis: none;
}

/* 클릭·포커스·방문 후에도 GNB 1차 메뉴 글자 크기·굵기 고정 */
#gnb.desktop-nav > li > a:link,
#gnb.desktop-nav > li > a:visited,
#gnb.desktop-nav > li > a:hover,
#gnb.desktop-nav > li > a:active,
#gnb.desktop-nav > li > a:focus,
#gnb.desktop-nav > li > a:focus-visible,
#gnb.desktop-nav > li.is-current > a {
  font-size: 19px !important;
  font-weight: 600 !important;
}

#gnb.desktop-nav .submenu a,
#gnb.desktop-nav .submenu a:link,
#gnb.desktop-nav .submenu a:visited,
#gnb.desktop-nav .submenu a:hover,
#gnb.desktop-nav .submenu a:active,
#gnb.desktop-nav .submenu a:focus {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  font-synthesis: none;
}

#gnb .submenu {
  position: absolute !important;
  left: 50% !important;
  top: 100% !important;
  width: 228px !important;
  height: auto !important;
  overflow: visible !important;
  text-align: left !important;
}

dialog#menu.mobile-navigation,
#menu.mobile-navigation {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: none;
  overflow: auto;
  background: #fff;
  padding: 24px;
  color: var(--ink);
  z-index: 200;
}
dialog#menu.mobile-navigation[open],
#menu.mobile-navigation[open] {
  display: block;
}

.contain {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

#footer {
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
}

#gnb a.is-unlinked,
.mobile-navigation a.is-unlinked {
  cursor: default;
}

/* 가로형 로고 전체 노출 — 152px 박스에 잘리지 않게 */
.brand {
  width: auto !important;
  overflow: visible;
}
.brand img {
  width: auto !important;
  height: 64px !important;
  max-width: none !important;
  object-fit: contain;
  image-rendering: auto;
}
@media (max-width: 1023px) {
  .brand img { height: 54px !important; }
}
@media (max-width: 767px) {
  #header.site-header,
  header#header { height: 60px !important; }
  .brand img { height: 36px !important; }
}
.mobile-head img {
  width: auto !important;
  height: 54px !important;
  max-width: none;
  object-fit: contain;
}

/* SCROLL TO EXPLORE — 세로선이 아래로 흐르는 유도 */
.scroll-cue i {
  position: relative;
  overflow: hidden;
  background: #ffffff28;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 45%;
  background: #fff;
  animation: scrollCueDrop 1.8s ease-in-out infinite;
}
@keyframes scrollCueDrop {
  0% {
    top: -50%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue i::after {
    animation: none;
  }
}
