@charset "utf-8";
/* 2026.10.07 추가 : 통합검색 페이지 + 빠른검색(Ctrl+K) */

/* ===================== 통합검색 페이지 ===================== */
.sch-page {
  --sch-accent: #629f10;
  --sch-accent-dark: #4b7c0b;
  --sch-line: #e3e8e0;
  --sch-sub: #6b7280;
  margin-top: 26px;
  text-align: left;
  color: #1f2937;
}
.sch-page kbd,
.cmdk kbd {
  display: inline-block;
  min-width: 20px;
  padding: 1px 6px;
  border: 1px solid #d5dbd2;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #fff;
  color: #4b5563;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.sch-form {
  padding: 28px 30px 22px;
  border: 1px solid var(--sch-line);
  border-radius: 18px;
  background: linear-gradient(135deg, #f7faf3 0%, #eef4ea 100%);
}
.sch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.sch-tab {
  cursor: pointer;
}
.sch-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sch-tab span {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid #d6ddd2;
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
}
.sch-tab:hover span {
  border-color: var(--sch-accent);
  color: var(--sch-accent-dark);
}
.sch-tab.is-on span {
  border-color: var(--sch-accent);
  background: var(--sch-accent);
  color: #fff;
}
.sch-tab input:focus-visible + span {
  outline: 2px solid var(--sch-accent);
  outline-offset: 2px;
}
.sch-box {
  position: relative;
  display: flex;
  align-items: center;
  height: 58px;
  border: 2px solid #d6ddd2;
  border-radius: 14px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.sch-box:focus-within {
  border-color: var(--sch-accent);
  box-shadow: 0 0 0 4px rgba(98, 159, 16, .14);
}
.sch-box__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0 12px 0 18px;
  fill: none;
  stroke: #9ca3af;
  stroke-width: 2;
  stroke-linecap: round;
}
.sch-box input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font-family: inherit;
  font-size: 17px;
}
.sch-box input::placeholder {
  color: #a3aab4;
}
.sch-box__btn {
  flex: 0 0 auto;
  height: 42px;
  margin-right: 7px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: var(--sch-accent);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.sch-box__btn:hover {
  background: var(--sch-accent-dark);
}
.sch-tip {
  margin: 12px 2px 0;
  color: var(--sch-sub);
  font-size: 13px;
}

.sch-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 34px 2px 14px;
  font-size: 16px;
  color: #374151;
}
.sch-summary strong {
  color: #111827;
}
.sch-summary em {
  font-style: normal;
  font-weight: 800;
  color: var(--sch-accent-dark);
}
.sch-summary__key {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5ee;
  color: var(--sch-sub);
  font-size: 12px;
  font-weight: 600;
}

.sch-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sch-line);
}
.sch-item {
  border-bottom: 1px solid var(--sch-line);
}
.sch-item__link {
  display: flex;
  gap: 20px;
  padding: 22px 12px;
  border-radius: 14px;
  text-decoration: none !important;
  transition: background .15s;
}
.sch-item__link:hover {
  background: #f7faf4;
}
.sch-item__thumb {
  flex: 0 0 132px;
  height: 92px;
  overflow: hidden;
  border-radius: 10px;
  background: #eef1ec;
}
.sch-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.sch-item__link:hover .sch-item__thumb img {
  transform: scale(1.05);
}
.sch-item__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sch-item__board {
  align-self: flex-start;
  margin-bottom: 7px;
  padding: 2px 9px;
  border-radius: 6px;
  background: #edf5e1;
  color: var(--sch-accent-dark);
  font-size: 12px;
  font-weight: 700;
}
.sch-item__title {
  color: #111827;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.sch-item__link:hover .sch-item__title {
  color: var(--sch-accent-dark);
}
.sch-item__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}
.sch-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: #9ca3af;
  font-size: 13px;
}
.sch-item__meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cfd4d8;
}
.sch-page mark,
.cmdk mark {
  padding: 0 1px;
  border-radius: 3px;
  background: #fff1a8;
  color: inherit;
}
.sch-paging {
  margin-top: 30px;
}
.sch-empty {
  margin-top: 34px;
  padding: 56px 20px;
  border: 1px dashed #d6ddd2;
  border-radius: 18px;
  text-align: center;
}
.sch-empty__title {
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}
.sch-empty__desc {
  margin-top: 8px;
  color: var(--sch-sub);
  font-size: 14px;
}

/* ===================== 빠른검색 (Ctrl+K) ===================== */
.cmdk-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}
.cmdk-trigger__kbd {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 7px;
  border: 1px solid #dfe3dc;
  border-radius: 6px;
  background: #f7f8f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}
.cmdk {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 10000;
  display: none;
  font-family: inherit;
  text-align: left;
}
.cmdk.is-open {
  display: block;
}
.cmdk__backdrop {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(15, 23, 20, .45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: cmdkFade .15s ease-out;
}
.cmdk__panel {
  position: relative;
  width: 640px;
  max-width: calc(100% - 32px);
  margin: 12vh auto 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 0, 0, .04);
  animation: cmdkPop .18s ease-out;
}
.cmdk__head {
  display: flex;
  align-items: center;
  height: 62px;
  padding: 0 18px;
  border-bottom: 1px solid #edf0eb;
}
.cmdk__head svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  fill: none;
  stroke: #629f10;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.cmdk__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0 !important;
  outline: 0;
  background: transparent;
  color: #111827;
  font-family: inherit;
  font-size: 17px;
}
.cmdk__input::placeholder {
  color: #a3aab4;
}
.cmdk__body {
  max-height: min(56vh, 460px);
  overflow-y: auto;
  padding: 8px;
  overscroll-behavior: contain;
}
.cmdk__group {
  padding: 10px 10px 6px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.cmdk__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cmdk__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #1f2937;
  cursor: pointer;
}
.cmdk__item.is-active {
  background: #f0f6e8;
}
.cmdk__ico {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3f5f2;
  color: #6b7280;
}
.cmdk__ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cmdk__item.is-active .cmdk__ico {
  background: #629f10;
  color: #fff;
}
.cmdk__txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cmdk__title {
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cmdk__path {
  overflow: hidden;
  margin-top: 1px;
  color: #9ca3af;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cmdk__enter {
  margin-left: auto;
  color: #9ca3af;
  font-size: 12px;
  opacity: 0;
}
.cmdk__item.is-active .cmdk__enter {
  opacity: 1;
}
.cmdk__none {
  padding: 28px 12px;
  color: #9ca3af;
  font-size: 14px;
  text-align: center;
}
.cmdk__foot {
  display: flex;
  gap: 16px;
  padding: 10px 18px;
  border-top: 1px solid #edf0eb;
  background: #fafbf9;
  color: #6b7280;
  font-size: 12px;
}
.cmdk__foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cmdk__foot .cmdk__brand {
  margin-left: auto;
  color: #a3aab4;
}
body.cmdk-lock {
  overflow: hidden;
}
@keyframes cmdkFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes cmdkPop {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cmdk__backdrop, .cmdk__panel { animation: none; }
}

/* 이용안내(통합검색) 상단 비주얼 소제목 */
#visual #s_visual7 .blind::before { content: "GUIDE"; }
