/* NZ Studio 공통 서비스 메뉴 */
.content-3col {
  grid-template-columns: 190px minmax(0, 1fr) 280px;
  gap: 42px;
}

.svc-sidebar {
  grid-area: left;
  position: sticky;
  top: 96px;
  z-index: 10;
  width: 190px;
  flex-shrink: 0;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.svc-sidebar-head {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 14px 12px 18px;
  background: transparent;
  color: #15181D;
  border-bottom: 1px solid #ECEEF2;
  font-size: 15px;
  font-weight: 800;
}

.svc-sidebar-head svg {
  flex-shrink: 0;
  color: #5864FF;
}

.svc-sidebar-list {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 24px;
}

.svc-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #D4D8E2;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
  position: relative;
  transition: background 180ms ease, color 180ms ease,
              border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.svc-sidebar-link svg {
  display: block;
  flex-shrink: 0;
  opacity: 0.72;
  color: currentColor;
}

.svc-sidebar-link:hover {
  background: transparent;
  border-color: transparent;
  color: #5864FF;
  transform: translateX(3px);
}

.svc-sidebar-link.active {
  background: transparent;
  border-color: transparent;
  color: #5864FF;
  font-weight: 700;
  box-shadow: none;
  transform: none;
}

.svc-sidebar-link.active::before {
  display: none;
}

.svc-sidebar-link.active svg {
  opacity: 1;
}

.content-3col:has(.detail-back-nav) {
  grid-template-columns: 142px minmax(0, 1fr) 280px;
  gap: 24px;
}

.detail-back-nav {
  width: 142px;
  padding-top: 4px;
}

.detail-back-nav .svc-sidebar-link {
  gap: 0;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}

.mobile-detail-back {
  display: none;
}

@media (max-width: 1100px) {
  .svc-sidebar { display: none; }
  .content-3col:has(.detail-back-nav) {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: 28px !important;
  }

  .mobile-detail-back {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 7px;
    margin: 0 0 16px;
    padding: 8px 2px;
    color: #15181D;
    font-family: 'Wanted Sans', sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
  }

  .mobile-detail-back::before {
    content: '←';
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
  }

  .mobile-detail-back:hover,
  .mobile-detail-back:focus-visible {
    color: #5864FF;
    transform: translateX(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-sidebar-link { transition: none; }
}

/* Detail-page process and policy accents */
.process-title,
.info-title {
  color: #5864FF !important;
}

.faq-q > span:first-child {
  color: inherit;
}

#infoPolicy .faq-q > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#infoPolicy .faq-item:nth-child(1) .faq-q > span:first-child::before,
#infoPolicy .faq-item:nth-child(2) .faq-q > span:first-child::before,
#infoPolicy .faq-item:nth-child(3) .faq-q > span:first-child::before {
  width: 28px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  color: currentColor;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

#infoPolicy .faq-item:nth-child(1) .faq-q > span:first-child::before { content: '✎'; font-size: 16px; }
#infoPolicy .faq-item:nth-child(2) .faq-q > span:first-child::before { content: '₩'; }
#infoPolicy .faq-item:nth-child(3) .faq-q > span:first-child::before { content: '©'; }
