/*  */
body {
  position:relative;
  z-index: 0;
  word-break: keep-all;
}

/**
 * wave motion effect
 * -------------------------------------------------------------
*/
#waveCanvas {
  position: fixed;
  top:0;
  left:0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
  
/**
 * ripple motion effect - main page
 * -------------------------------------------------------------
*/
#rippleCanvas {
  position: absolute;
  top:900px;
  left:50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 900px;
  height: 900px;
  aspect-ratio: 1; 
  opacity:0.3;
}
  

/**
  * header
  * -------------------------------------------------------------
*/
#header .logo-default {
  display: block;
}
#header .logo-light-mode {
  display: none;
}
/* scrolled */
#header.scrolled {
  background-color: rgba(0,0,0,0.3);
  backdrop-filter: blur(2px);
}
/* light mode */
#header.is-light {
  background-color: rgba(255,255,255,0.8);
  backdrop-filter: blur(2px);
}
#header.is-light .logo-default {
  display: none;
}
#header.is-light .logo-light-mode {
  display: block;
}
#header.is-light .menu-item a{
  color: #2b2b2b;
}

/**
  * lightbox
  * -------------------------------------------------------------
*/
.elementor-slideshow__title {
  font-size: 1rem !important;
  font-family: var(--font-primary) !important;
  font-weight: 500 !important;
}


/**
  * 탑 버튼 (맨 위로 이동)
  * -------------------------------------------------------------
*/
.autol-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 990;             /* #header(998) 아래, 본문 위 */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(43, 43, 43, 0.75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.autol-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.autol-top-btn:hover {
  background: #2b2b2b;
  transform: translateY(-2px);
}

.autol-top-btn:focus-visible {
  outline: 2px solid #15FF00;
  outline-offset: 3px;
}

.autol-top-btn svg {
  display: block;
  width: 14px;
  height: auto;
}

@media (max-width: 768px) {
  .autol-top-btn {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
  .autol-top-btn svg {
    width: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .autol-top-btn {
    transition: opacity 0.01s;
  }
  .autol-top-btn:hover {
    transform: none;
  }
}

/* ==========================================================
   Loop Grid 카드 높이 통일 + 제목 2줄 말줄임
   (News #274 / Trends #385 / Download #615 Loop Item)
   ========================================================== */
.elementor-element-299a89ce,
.elementor-element-3af7ff8a,
.elementor-element-53cb2fda { height: 100%; }

.elementor-element-8c64917,
.elementor-element-39e38412,
.elementor-element-551c4c31 { flex-grow: 1; }

.elementor-element-2676b7ec,
.elementor-element-11c40cb0,
.elementor-element-5101672a { margin-top: auto !important; }

:is(.elementor-274, .elementor-385, .elementor-615) .elementor-widget-theme-post-title .elementor-heading-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.9rem; /* line-height 1.45rem x 2 */
  word-break: keep-all;
}