@charset "utf-8";
/**
 * KBoard Modern Gallery Skin - Redesigned v3
 * - blur via ::before pseudo (자식 요소 블러 영향 없음)
 * - 전역 커서 팔로워 (overflow:hidden 클립 문제 해결)
 */

/* ===== CSS Variables ===== */
:root {
  --kb-primary: #132146;
  --kb-accent: #83badf;
  --kb-accent-hover: #83badf;
  --kb-brand: #132146;
  --kb-bg: #f8f8f8;
  --kb-white: #ffffff;
  --kb-border: #e9ecef;
  --kb-text: #333333;
  --kb-text-muted: #888888;
  --kb-radius: 12px;
  --kb-radius-sm: 8px;
  --kb-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --kb-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.14);
  --kb-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 공통 컨테이너 안전 패딩 ===== */
#kboard-no-filter-gallery-list,
#kboard-no-filter-gallery-document,
#kboard-no-filter-gallery-editor,
#kboard-document,
.kboard-no-filter-gallery-fade-in-up {
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}

/* FOUC 방지: JS가 gsap-ready 클래스를 붙이는 순간부터 숨김 상태로 시작
   gsap 없으면 클래스 자체가 안 붙으므로 정상 노출 */
.gsap-ready .kboard-no-filter-gallery-fade-in-up .kboard-no-filter-gallery-latest-item {
  opacity: 0;
  transform: translateY(40px);
}

/* ===== Buttons ===== */
.kboard-no-filter-gallery-button-small,
.kboard-no-filter-gallery-button-small:link,
.kboard-no-filter-gallery-button-small:visited {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 3px !important;
  padding: 0 16px !important;
  height: 34px;
  line-height: 34px;
  font-size: 13px !important;
  font-weight: 500;
  color: var(--kb-text) !important;
  background-color: var(--kb-white) !important;
  background-image: none !important;
  border: 1.5px solid var(--kb-border) !important;
  border-radius: var(--kb-radius-sm) !important;
  text-decoration: none;
  cursor: pointer;
  vertical-align: middle;
  text-shadow: none !important;
  transition: color var(--kb-transition), background-color var(--kb-transition), border-color var(--kb-transition);
  box-sizing: border-box;
}

.kboard-no-filter-gallery-button-small:hover,
.kboard-no-filter-gallery-button-small:focus,
.kboard-no-filter-gallery-button-small:active {
  color: var(--kb-accent) !important;
  background-color: #f0f5ff !important;
  background-image: none !important;
  border-color: var(--kb-accent) !important;
  border-radius: var(--kb-radius-sm) !important;
  text-decoration: none;
  text-shadow: none !important;
  box-shadow: none;
  transform: none !important;
}

.kboard-no-filter-gallery-poweredby {
  float: left;
  padding-bottom: 15px;
  width: 100%;
  font-size: 12px;
  color: var(--kb-text-muted);
  text-align: center;
  margin-top: 10px;
}

.kboard-no-filter-gallery-cut-strings {
  width: auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-wrap: normal;
}

.kboard-no-filter-gallery-badge-notice {
  display: inline-block;
  background: #ff4757;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

.kboard-badge-notice {
  display: inline-block;
  background-color: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ===== LIST ===== */
#kboard-no-filter-gallery-list {
  display: block;
  margin: 0 auto;
  max-width: 1680px;
  width: 100%;
  font-family: -apple-system, 'Pretendard', 'Noto Sans KR', sans-serif;
}

#kboard-no-filter-gallery-list * {
  text-shadow: none;
}

#kboard-no-filter-gallery-list .kboard-header {
  float: left;
  margin-top: 0;
  width: 100%;
  margin-bottom: 10px;
}

/* 상단 바: 전체게시글 (좌) / 글쓰기 버튼 (우) */
#kboard-no-filter-gallery-list .kboard-list-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 14px;
}

#kboard-no-filter-gallery-list .kboard-list-total {
  font-size: 13px;
  color: var(--kb-text-muted);
}

#kboard-no-filter-gallery-list .kboard-list-total strong {
  color: var(--kb-text);
  font-weight: 700;
}

#kboard-no-filter-gallery-list .kboard-no-filter-gallery-button-write,
#kboard-no-filter-gallery-list .kboard-no-filter-gallery-button-write:link,
#kboard-no-filter-gallery-list .kboard-no-filter-gallery-button-write:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  height: 38px;
  line-height: 38px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background-color: var(--kb-brand);
  border-radius: var(--kb-radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--kb-transition);
}

#kboard-no-filter-gallery-list .kboard-no-filter-gallery-button-write:hover,
#kboard-no-filter-gallery-list .kboard-no-filter-gallery-button-write:focus {
  background-color: #002f5c;
  color: #fff;
}

#kboard-no-filter-gallery-list .kboard-no-filter-gallery-button-write::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/><path d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/><path d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/></svg>");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

#kboard-no-filter-gallery-list .kboard-category {
  float: left;
  padding-bottom: 12px;
  width: 100%;
  text-align: left;
}

#kboard-no-filter-gallery-list .kboard-category .kboard-category-list {
  clear: both;
  float: left;
  margin: 0;
  padding: 0 16px;
  width: 100%;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  border: none;
  background: var(--kb-bg);
  border-radius: var(--kb-radius-sm);
  line-height: normal;
  box-sizing: border-box;
}

#kboard-no-filter-gallery-list .kboard-category .kboard-category-list li {
  flex: 0 0 auto;
  float: none;
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  font-size: 14px;
  list-style-type: none;
  border-radius: 0;
  text-align: left;
  transition: all var(--kb-transition);
}

#kboard-no-filter-gallery-list .kboard-category .kboard-category-list li a {
  display: inline-block;
  padding: 14px 0;
  color: var(--kb-text-muted);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}

#kboard-no-filter-gallery-list .kboard-category .kboard-category-list li.kboard-category-selected a {
  color: var(--kb-text);
  font-weight: 700;
  border-color: var(--kb-text);
}

#kboard-no-filter-gallery-list .kboard-category .kboard-category-list li:hover a {
  color: var(--kb-text);
}

#kboard-no-filter-gallery-list .kboard-category .kboard-category-list li.kboard-category-selected:hover a {
  color: var(--kb-text);
}

#kboard-no-filter-gallery-list .kboard-tree-category-wrap {
  float: left;
  padding-bottom: 15px;
  width: 100%;
}

#kboard-no-filter-gallery-list .kboard-tree-category-wrap select {
  display: inline;
  margin: 0 0 5px 0;
  padding: 6px 10px;
  width: 100%;
  height: 36px;
  font-size: 13px;
  color: var(--kb-text);
  border-radius: var(--kb-radius-sm);
  border: 1.5px solid var(--kb-border);
  background: var(--kb-white);
  box-sizing: border-box;
  outline: none;
}

#kboard-no-filter-gallery-list .kboard-tree-category-search .kboard-search-option-wrap.type-select {
  width: auto;
}

#kboard-no-filter-gallery-list .kboard-tree-category-search .kboard-search-option-wrap.type-tab {
  width: 100%;
}

#kboard-no-filter-gallery-list .kboard-tree-category {
  float: left;
  margin: 0;
  padding: 0 16px;
  width: 100%;
  list-style: none;
  border: 0;
  background: var(--kb-bg);
  border-radius: var(--kb-radius-sm);
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  box-sizing: border-box;
}

#kboard-no-filter-gallery-list .kboard-tree-category li {
  flex: 0 0 auto;
  float: none;
  margin: 0;
  padding: 0;
  border: none;
  background-color: transparent;
  font-size: 14px;
  list-style-type: none;
  border-radius: 0;
  text-align: left;
  transition: all var(--kb-transition);
}

#kboard-no-filter-gallery-list .kboard-tree-category li a {
  display: inline-block;
  padding: 14px 0;
  color: var(--kb-text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

#kboard-no-filter-gallery-list .kboard-tree-category li.kboard-category-selected a {
  color: var(--kb-text);
  font-weight: 700;
  border-color: var(--kb-text);
}

#kboard-no-filter-gallery-list .kboard-tree-category-search {
  float: left;
  width: 100%;
}

#kboard-no-filter-gallery-list .kboard-tree-category-search .kboard-search-option-wrap {
  margin-right: 5px;
  float: left;
}

/* ── Gallery Grid: PC 4컬럼 ── */
#kboard-no-filter-gallery-list .kboard-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  float: left;
  margin: 0;
  padding: 0;
  width: 100%;
  list-style: none;
  border: 0;
  box-sizing: border-box;
}

/* 공지 ul과 일반 ul 사이 여백 — gap과 동일 */
#kboard-no-filter-gallery-list .kboard-list:not(:last-of-type) {
  margin-bottom: 18px;
}

#kboard-no-filter-gallery-list .kboard-list img {
  display: inline;
  margin: 0;
  width: auto;
  height: auto;
  vertical-align: middle;
  box-shadow: none;
}

#kboard-no-filter-gallery-list .kboard-list .kboard-list-item {
  position: relative;
  float: none;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
  list-style: none;
  border: none;
  border-radius: var(--kb-radius);
  background: var(--kb-white);
  box-shadow: var(--kb-shadow);
  box-sizing: border-box;
  cursor: pointer;
}

/* 공지 thumbtack 아이콘 — 우상단 absolute */
#kboard-no-filter-gallery-list .kboard-list .kboard-list-item.kboard-list-notice::after {
  content: "\f08d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 15px;
  color: #89bee1;
  position: absolute;
  top: 10px;
  right: 12px;
  transform: rotate(45deg);
  z-index: 10;
  pointer-events: none;
  text-shadow: none;
  line-height: 1;
}

/* ──────────────────────────────────────────────────
   썸네일 래퍼
   - position:relative / overflow:hidden 유지
   - 블러는 ::before 가상요소로 분리 → 자식 요소 블러 없음
   - 오버레이·텍스트는 별도 자식 span으로 z-index 제어
   ────────────────────────────────────────────────── */
#kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-thumbnail {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  border-radius: var(--kb-radius) var(--kb-radius) 0 0;
  box-shadow: none;
  border: 0;
  text-decoration: none;
}

/* 블러 레이어 - 비로그인 시 JS가 .kb-no-filter-blur-thumb 클래스 추가 */
#kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  /* 부모 배경 이미지 상속 */
  background-position: center;
  background-size: cover;
  filter: blur(0px);
  transition: filter 0.3s ease;
  z-index: 0;
  border-radius: inherit;
}

#kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-thumbnail.kb-no-filter-blur-thumb::before {
  filter: blur(1.8px);
}

/* 로그인 힌트 텍스트 - 썸네일 중앙, z-index로 블러 위에 표시 */
#kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-thumbnail .kb-no-filter-login-hint {
  display: none;
  /* 기본 숨김, 모바일에서 보임 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  /* ::before(0) 위 */
  text-shadow: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* 카테고리 배지 - 썸네일 좌상단 */
#kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-thumbnail .kb-no-filter-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 60, 114, 0.85);
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  /* ::before(0) 위, login-hint(3) 아래 */
  text-shadow: none;
  letter-spacing: 0.01em;
}

/* Title */
#kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-description {
  padding: 12px 14px 14px;
  border-top: none;
  height: auto;
}

#kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-description .kboard-item-avatar {
  display: none;
}

#kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-description .kboard-item-title {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--kb-text);
}

#kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-description .kboard-item-title a {
  color: var(--kb-text);
  text-decoration: none;
  box-shadow: none;
  border: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-description .kboard-item-user {
  display: none;
}

#kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-info {
  display: none;
}

/* Pagination */
#kboard-no-filter-gallery-list .kboard-pagination {
  float: left;
  padding: 24px 0 10px;
  width: 100%;
  text-align: center;
}

#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  width: auto;
  list-style: none;
  text-align: center;
  border: 0;
  flex-wrap: wrap;
}

#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  list-style: none;
}

#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
}

#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li a:hover {
  background: #f3f4f6;
  border-color: #c8ccda;
  color: var(--kb-primary);
}

/* 현재 페이지 — 네이비 박스 */
#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.active a {
  font-weight: 700;
  color: #fff;
  background: var(--kb-primary);
  border-color: var(--kb-primary);
  width: auto;
  height: 32px;
  padding: 0 6px;
}

/* Prev / Next */
#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page a,
#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page a {
  font-size: 0;
  min-width: 32px;
  padding: 0 10px;
}

#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page a::before {
  content: "\f104";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  display: inline-block;
  vertical-align: middle;
  color: #888;
}

#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page a:hover::before {
  color: var(--kb-primary);
}

#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  display: inline-block;
  vertical-align: middle;
  color: var(--kb-primary);
}

#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page a:hover {
  background: var(--kb-primary);
  border-color: var(--kb-primary);
}

#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page a:hover::after {
  color: #fff;
}

#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li:before,
#kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li:after {
  display: none;
}

/* Search */
#kboard-no-filter-gallery-list .kboard-search {
  float: right;
  padding: 10px 0 3em;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 0;
  align-items: center;
}

#kboard-no-filter-gallery-list .kboard-search-form-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 480px;
  height: 40px;
  border: 1.5px solid var(--kb-border);
  border-radius: var(--kb-radius-sm);
  background: var(--kb-white);
  overflow: hidden;
  transition: border-color var(--kb-transition);
}

#kboard-no-filter-gallery-list .kboard-search-form-inner:focus-within {
  border-color: var(--kb-brand);
}

#kboard-no-filter-gallery-list .kboard-search select {
  display: inline-block;
  margin: 0;
  padding: 0 10px;
  height: 100%;
  font-size: 13px;
  color: var(--kb-text);
  border-radius: 0;
  border: none;
  border-right: 1px solid var(--kb-border);
  background: transparent;
  outline: none;
  vertical-align: middle;
  box-shadow: none;
  flex-shrink: 0;
}

#kboard-no-filter-gallery-list .kboard-search input {
  display: inline-block;
  flex: 1 1 auto;
  margin: 0;
  padding: 0 14px;
  width: 100%;
  height: 100%;
  font-size: 13px;
  color: var(--kb-text);
  border-radius: 0;
  border: none;
  line-height: normal;
  vertical-align: middle;
  box-shadow: none;
  outline: none;
  background: transparent;
}

#kboard-no-filter-gallery-list .kboard-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  min-width: 42px;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 0;
  color: #fff;
  background-color: var(--kb-brand);
  border: none;
  border-radius: 0 var(--kb-radius-sm) var(--kb-radius-sm) 0;
  cursor: pointer;
  transition: background-color var(--kb-transition);
}

#kboard-no-filter-gallery-list .kboard-search-submit::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 15px;
  color: #fff;
  display: inline-block;
}

#kboard-no-filter-gallery-list .kboard-search-submit:hover,
#kboard-no-filter-gallery-list .kboard-search-submit:focus {
  background-color: #0d1730;
}

#kboard-no-filter-gallery-list .kboard-search-submit svg {
  display: none;
}

#kboard-no-filter-gallery-list .kboard-control {
  float: left;
  padding: 10px 0 4px;
  width: 100%;
  text-align: right;
}

/* =====================================================
   최신글 "더보기" 버튼
   ===================================================== */
.kb-no-filter-latest-more-btn,
.kb-no-filter-latest-more-btn:link,
.kb-no-filter-latest-more-btn:visited {
  display: block;
  margin: 18px auto 0;
  padding: 12px 36px;
  background: var(--kb-brand);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--kb-radius-sm);
  border: none;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background var(--kb-transition);
  width: fit-content;
  letter-spacing: 0.01em;
  transform: none !important;
}

.kb-no-filter-latest-more-btn:hover,
.kb-no-filter-latest-more-btn:focus,
.kb-no-filter-latest-more-btn:active {
  background: #002f5c;
  color: #fff !important;
  text-decoration: none;
  transform: none !important;
}

/* =====================================================
   LATEST (최신글)
   ===================================================== */
#kboard-no-filter-gallery-latest {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

#kboard-no-filter-gallery-latest * {
  text-shadow: none;
}

#kboard-no-filter-gallery-latest .kboard-no-filter-gallery-latest-item {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  background: var(--kb-white);
  border-radius: var(--kb-radius);
  box-shadow: var(--kb-shadow);
}

/* ──────────────────────────────────────────────────
   최신글 썸네일 래퍼
   - 블러 ::before 가상요소로 분리
   - 오버레이/텍스트는 자식 span으로 z-index 위에 표시
   ────────────────────────────────────────────────── */
#kboard-no-filter-gallery-latest .kboard-no-filter-gallery-latest-thumbnail {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  /* 정방형 1:1 */
  background-position: center;
  background-size: cover;
  border-radius: var(--kb-radius);
  overflow: hidden;
  box-shadow: none;
  border: 0;
  text-decoration: none;
}

/* 블러 레이어 (::before) */
#kboard-no-filter-gallery-latest .kboard-no-filter-gallery-latest-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-position: center;
  background-size: cover;
  filter: blur(0px);
  transition: filter 0.3s ease;
  z-index: 0;
  border-radius: inherit;
}

#kboard-no-filter-gallery-latest .kboard-no-filter-gallery-latest-thumbnail.kb-no-filter-blur-thumb::before {
  filter: blur(1.8px);
}

/* 어두운 오버레이 - 비로그인 시 힌트 텍스트 가독성 확보 */
#kboard-no-filter-gallery-latest .kboard-no-filter-gallery-latest-thumbnail .kb-no-filter-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
  border-radius: inherit;
}

.kb-no-filter-blur-thumb .kb-no-filter-thumb-overlay {
  background: rgba(0, 0, 0, 0.15);
}

/* 로그인 힌트 - 항상 중앙 표시 (비로그인 시) */
#kboard-no-filter-gallery-latest .kboard-no-filter-gallery-latest-thumbnail .kb-no-filter-login-hint {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  /* ::before(0), overlay(1) 위 */
  text-shadow: none;
}

/* 타이틀 숨김 */
#kboard-no-filter-gallery-latest .kboard-no-filter-gallery-latest-title {
  display: none;
}

/* =====================================================
   DOCUMENT (상세) - notice 스타일 기준
   ===================================================== */
#kboard-document {
  width: 100%;
}

#kboard-no-filter-gallery-document {
  display: inline-block;
  margin: 0;
  width: 100%;
  font-family: -apple-system, 'Pretendard', 'Noto Sans KR', sans-serif;
}

#kboard-no-filter-gallery-document * {
  text-shadow: none;
}

#kboard-no-filter-gallery-document .kboard-document-wrap {
  float: left;
  width: 100%;
  background-color: white;
}

/* 제목 */
#kboard-no-filter-gallery-document .kboard-title {
  float: left;
  width: 100%;
}

#kboard-no-filter-gallery-document .kboard-title h1 {
  margin: 0;
  padding: 12px 22px;
  color: #545861;
  font-weight: bold;
  font-size: 22px;
  line-height: 30px;
  text-align: left;
}

/* 메타 정보 */
#kboard-no-filter-gallery-document .kboard-detail {
  clear: both;
  float: left;
  width: 100%;
  border-top: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
  background-color: #f9f9f9;
  font-size: 14px;
  box-sizing: border-box;
}

#kboard-no-filter-gallery-document .kboard-detail .detail-attr {
  display: inline-block;
  float: left;
  margin: 0;
  padding: 12px 35px 12px 22px;
}

#kboard-no-filter-gallery-document .kboard-detail .detail-attr .detail-name {
  float: left;
  font-weight: bold;
  color: #545861;
  text-align: right;
}

#kboard-no-filter-gallery-document .kboard-detail .detail-attr .detail-name::after {
  display: none;
}

#kboard-no-filter-gallery-document .kboard-detail .detail-attr .detail-value {
  float: left;
  padding-left: 20px;
  color: #545861;
}

#kboard-no-filter-gallery-document .kboard-detail .detail-attr .detail-value a {
  color: #545861;
  text-decoration: none;
  border: 0;
  box-shadow: none;
}

#kboard-no-filter-gallery-document .kboard-detail .detail-attr .detail-value img.avatar {
  display: inline;
  margin: 0;
  width: 24px;
  max-width: none;
  height: 24px;
  vertical-align: middle;
  border-radius: 50%;
}

/* 본문 */
#kboard-no-filter-gallery-document .kboard-content {
  clear: both;
  float: left;
  width: 100%;
  min-height: 200px;
}

#kboard-no-filter-gallery-document .kboard-content .content-view {
  margin: 0;
  padding: 22px;
  word-break: break-all;
}

#kboard-no-filter-gallery-document .kboard-content .content-view iframe {
  max-width: 100%;
}

#kboard-no-filter-gallery-document .kboard-content .content-view img {
  display: inline;
  margin: 0;
  vertical-align: middle;
  max-width: 100%;
}

#kboard-no-filter-gallery-document .kboard-content .content-view hr {
  margin: 10px 0;
  padding: 0;
  height: 1px;
  border: 0;
  background-color: #f1f1f1;
}

#kboard-no-filter-gallery-document .kboard-content .content-view ul {
  margin: 0.75em 0;
}

#kboard-no-filter-gallery-document .kboard-content .content-view ol {
  margin: 0.75em 0;
}

#kboard-no-filter-gallery-document .kboard-content .content-view p {
  margin: 0 0 0.75em;
}

#kboard-no-filter-gallery-document .kboard-content .content-view p:last-child {
  margin: 0;
}

#kboard-no-filter-gallery-document .kboard-content .content-view .thumbnail-area {
  text-align: center;
}

#kboard-no-filter-gallery-document .kboard-content .content-view .aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

#kboard-no-filter-gallery-document .kboard-content .content-view .alignright {
  float: right;
}

#kboard-no-filter-gallery-document .kboard-content .content-view .alignleft {
  float: left;
}

/* 좋아요/프린트 액션 */
#kboard-no-filter-gallery-document .kboard-document-action {
  padding: 0 22px 5px 22px;
  overflow: hidden;
  line-height: 1;
}

#kboard-no-filter-gallery-document .kboard-document-action .left {
  position: static;
  float: left;
}

#kboard-no-filter-gallery-document .kboard-document-action .right {
  position: static;
  float: right;
  text-align: right;
}

#kboard-no-filter-gallery-document .kboard-button-action {
  margin: 0 0 5px 0;
  padding: 4px 5px;
  font-size: 13px;
  font-weight: normal;
  line-height: 12px;
  text-align: left;
  border: 1px solid #ededed;
  background: none;
  background-color: white;
  border-radius: 2px;
  letter-spacing: normal;
  cursor: pointer;
  vertical-align: middle;
  text-shadow: none;
  box-shadow: none;
}

#kboard-no-filter-gallery-document .kboard-button-action span {
  position: static;
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 12px;
}

#kboard-no-filter-gallery-document .kboard-button-like {
  color: #ff5959;
}

#kboard-no-filter-gallery-document .kboard-button-unlike {
  color: #3d62aa;
}

#kboard-no-filter-gallery-document .kboard-button-print {
  color: gray;
}

/* 첨부파일 */
#kboard-no-filter-gallery-document .kboard-attach {
  clear: both;
  margin: 0 22px;
  padding: 10px 0 5px 0;
  font-size: 13px;
  overflow: hidden;
  line-height: 1;
  border-top: 1px dashed #ededed;
}

#kboard-no-filter-gallery-document .kboard-attach .kboard-button-download {
  margin: 0 0 5px 0;
  padding: 4px 5px;
  font-size: 13px;
  font-weight: normal;
  line-height: 12px;
  text-align: left;
  border: 1px solid #ededed;
  background: none;
  background-color: white;
  border-radius: 2px;
  cursor: pointer;
  vertical-align: middle;
  text-shadow: none;
  box-shadow: none;
  color: gray;
  text-decoration: none;
}

/* 댓글 */
#kboard-no-filter-gallery-document .kboard-comments-area {
  float: left;
  width: 100%;
}

/* 이전글/다음글 네비 — notice 스타일 */
#kboard-no-filter-gallery-document .kboard-document-navi {
  float: left;
  margin-top: 20px;
  padding: 14px 22px;
  width: 100%;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
  background-color: #fafbff;
  font-size: 14px;
  box-sizing: border-box;
}

#kboard-no-filter-gallery-document .kboard-document-navi a {
  display: block;
  text-decoration: none;
  border: 0;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
  color: #333;
  transition: color 0.2s ease;
}

#kboard-no-filter-gallery-document .kboard-document-navi a:hover {
  color: var(--kb-primary);
}

#kboard-no-filter-gallery-document .kboard-document-navi .navi-document-title {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#kboard-no-filter-gallery-document .kboard-document-navi .navi-arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #d0d6e5;
  background-color: #fff;
  color: #4b5563;
  font-size: 12px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
}

#kboard-no-filter-gallery-document .kboard-document-navi .kboard-prev-document {
  position: relative;
  float: left;
  width: 48%;
}

#kboard-no-filter-gallery-document .kboard-document-navi .kboard-prev-document a {
  padding-left: 36px;
}

#kboard-no-filter-gallery-document .kboard-document-navi .kboard-prev-document a::before {
  content: '이전 글';
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 2px;
}

#kboard-no-filter-gallery-document .kboard-document-navi .kboard-prev-document .navi-arrow {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

#kboard-no-filter-gallery-document .kboard-document-navi .kboard-next-document {
  position: relative;
  float: right;
  width: 48%;
  text-align: right;
}

#kboard-no-filter-gallery-document .kboard-document-navi .kboard-next-document a {
  padding-right: 36px;
}

#kboard-no-filter-gallery-document .kboard-document-navi .kboard-next-document a::before {
  content: '다음 글';
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 2px;
  text-align: right;
}

#kboard-no-filter-gallery-document .kboard-document-navi .kboard-next-document .navi-arrow {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* 하단 컨트롤 */
#kboard-no-filter-gallery-document .kboard-control {
  float: left;
  padding: 15px 0;
  width: 100%;
}

#kboard-no-filter-gallery-document .kboard-control .left {
  position: static;
  float: left;
}

#kboard-no-filter-gallery-document .kboard-control .right {
  position: static;
  float: right;
  text-align: right;
}

/* 모바일 document */
@media screen and (max-width: 600px) {
  #kboard-no-filter-gallery-document .kboard-title h1 {
    padding: 10px 5px;
    font-size: 18px;
  }

  #kboard-no-filter-gallery-document .kboard-content .content-view {
    padding: 10px 5px;
  }

  #kboard-no-filter-gallery-document .kboard-detail .detail-attr {
    clear: both;
    padding: 10px 5px;
    line-height: normal;
  }

  #kboard-no-filter-gallery-document .kboard-document-action {
    padding: 10px 5px 5px 5px;
  }

  #kboard-no-filter-gallery-document .kboard-attach {
    margin: 0 5px;
    padding: 10px 0 5px 0;
  }

  #kboard-no-filter-gallery-document .kboard-document-navi .kboard-prev-document {
    width: 100%;
  }

  #kboard-no-filter-gallery-document .kboard-document-navi .kboard-next-document {
    margin-top: 10px;
    float: left;
    width: 100%;
    text-align: left;
  }
}

/* =====================================================
   EDITOR (글쓰기) - notice 스타일 기준
   ===================================================== */
#kboard-no-filter-gallery-editor {
  overflow: hidden;
  max-width: 1680px;
  margin: 0 auto;
  font-family: -apple-system, 'Pretendard', 'Noto Sans KR', sans-serif;
}

#kboard-no-filter-gallery-editor * {
  text-shadow: none;
}

#kboard-no-filter-gallery-editor form {
  margin: 0;
  padding: 0;
}

#kboard-no-filter-gallery-editor select {
  display: inline;
  margin: 0;
  padding: 0 5px;
  font-size: 14px;
  width: 30%;
  height: 28px;
  line-height: 28px;
  color: #666666;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #dcdcdc;
  box-shadow: none;
  background: none;
  background-color: transparent;
  box-sizing: content-box;
  vertical-align: middle;
  text-indent: 0;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: menulist;
}

#kboard-no-filter-gallery-editor input[type=text],
#kboard-no-filter-gallery-editor input[type=email],
#kboard-no-filter-gallery-editor input[type=number],
#kboard-no-filter-gallery-editor input[type=date],
#kboard-no-filter-gallery-editor input[type=password] {
  display: inline;
  margin: 0;
  padding: 0 5px;
  width: 30%;
  height: 28px;
  line-height: 28px;
  font-size: 14px;
  color: #666666;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #dcdcdc;
  box-shadow: none;
  background: none;
  background-color: transparent;
  box-sizing: content-box;
  vertical-align: middle;
}

#kboard-no-filter-gallery-editor input[type=checkbox] {
  width: auto;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
}

#kboard-no-filter-gallery-editor input[type=radio] {
  width: auto;
  -webkit-appearance: radio;
  -moz-appearance: radio;
  appearance: radio;
}

#kboard-no-filter-gallery-editor select:hover,
#kboard-no-filter-gallery-editor input[type=text]:hover,
#kboard-no-filter-gallery-editor input[type=email]:hover,
#kboard-no-filter-gallery-editor input[type=number]:hover,
#kboard-no-filter-gallery-editor input[type=date]:hover,
#kboard-no-filter-gallery-editor input[type=password]:hover {
  border-bottom: 1px solid #9e9e9e;
}

#kboard-no-filter-gallery-editor select:focus,
#kboard-no-filter-gallery-editor input[type=text]:focus,
#kboard-no-filter-gallery-editor input[type=email]:focus,
#kboard-no-filter-gallery-editor input[type=number]:focus,
#kboard-no-filter-gallery-editor input[type=date]:focus,
#kboard-no-filter-gallery-editor input[type=password]:focus {
  border-bottom: 2px solid #9e9e9e;
}

#kboard-no-filter-gallery-editor input[type=file] {
  display: inline;
  margin: 0;
  padding: 0;
  width: 30%;
  font-size: 13px;
  color: #666666;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background-color: transparent;
}

#kboard-no-filter-gallery-editor .kboard-attr-title input {
  width: 70%;
}

#kboard-no-filter-gallery-editor .kboard-attr-row {
  float: left;
  padding: 5px 0;
  width: 100%;
  background-color: white;
  border-bottom: none;
  box-sizing: border-box;
}

#kboard-no-filter-gallery-editor .kboard-attr-row .attr-name {
  display: inline;
  float: left;
  margin: 0;
  padding: 0 10px 0 10px;
  width: 120px;
  line-height: 30px;
  color: #545861;
  font-size: 14px;
  font-weight: bold;
  text-align: left;
}

#kboard-no-filter-gallery-editor .kboard-attr-row .attr-name img {
  display: inline;
  margin: 0;
  padding: 0;
  width: auto;
  max-width: 100%;
  vertical-align: middle;
}

#kboard-no-filter-gallery-editor .kboard-attr-row .attr-name .attr-required-text {
  color: red;
  font-weight: normal;
  font-size: 13px;
}

#kboard-no-filter-gallery-editor .kboard-attr-row.kboard-attr-content .attr-name {
  display: none;
}

#kboard-no-filter-gallery-editor .kboard-attr-row .attr-value {
  margin: 0 0 0 140px;
  padding: 0;
  line-height: 30px;
  font-size: 14px;
}

#kboard-no-filter-gallery-editor .kboard-attr-row .attr-value .attr-value-option {
  display: inline;
  padding-right: 20px;
  width: auto;
  font-size: 14px;
  cursor: pointer;
}

#kboard-no-filter-gallery-editor .kboard-attr-row .attr-value .attr-value-option input {
  cursor: pointer;
}

#kboard-no-filter-gallery-editor .kboard-attr-row .attr-value .attr-value-label {
  display: inline;
  padding-right: 5px;
  width: auto;
  cursor: pointer;
}

#kboard-no-filter-gallery-editor .kboard-attr-row .attr-value .attr-value-label input {
  cursor: pointer;
}

#kboard-no-filter-gallery-editor .kboard-attr-row .attr-value .description {
  margin: 0;
  color: #666666;
}

#kboard-no-filter-gallery-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap {
  float: left;
  width: 100%;
}

#kboard-no-filter-gallery-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap select {
  clear: both;
  float: left;
  margin-bottom: 5px;
  width: 30%;
}

#kboard-no-filter-gallery-editor .kboard-content {
  float: left;
  margin: 0;
  padding: 9px 0;
  width: 100%;
  background-color: white;
}

#kboard-no-filter-gallery-editor .kboard-content .editor-textarea {
  display: inline;
  margin: 0;
  padding: 5px;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 250px;
  min-height: 0;
  font-size: 14px;
  border: 1px solid #dcdcdc;
  box-shadow: none;
  background: none;
  background-color: transparent;
  box-sizing: border-box;
  text-indent: 0;
  border-radius: 0;
  resize: vertical;
  outline: none;
  transition: none;
}

#kboard-no-filter-gallery-editor .kboard-control {
  float: left;
  padding: 15px 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#kboard-no-filter-gallery-editor .kboard-control .left {
  position: static;
  float: none;
  display: flex;
  gap: 6px;
}

#kboard-no-filter-gallery-editor .kboard-control .right {
  position: static;
  float: none;
  width: auto;
  text-align: right;
  display: flex;
  gap: 6px;
}

/* Confirm */
#kboard-no-filter-gallery-editor.confirm {
  margin: 100px auto;
  max-width: 590px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  box-sizing: border-box;
}

#kboard-no-filter-gallery-editor.confirm input[type=password] {
  width: 100%;
  box-sizing: border-box;
}

#kboard-no-filter-gallery-editor.confirm .kboard-confirm-row {
  border-bottom: 1px solid #dcdcdc;
  padding: 10px 0 16px;
}

#kboard-no-filter-gallery-editor.confirm .description {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 6px;
}

/* 모바일 에디터 */
@media screen and (max-width: 600px) {

  #kboard-no-filter-gallery-editor select,
  #kboard-no-filter-gallery-editor input[type=text],
  #kboard-no-filter-gallery-editor input[type=email],
  #kboard-no-filter-gallery-editor input[type=number],
  #kboard-no-filter-gallery-editor input[type=date],
  #kboard-no-filter-gallery-editor input[type=password],
  #kboard-no-filter-gallery-editor input[type=file] {
    width: 100% !important;
    box-sizing: border-box;
  }

  #kboard-no-filter-gallery-editor .kboard-attr-row {
    padding: 10px 0;
  }

  #kboard-no-filter-gallery-editor .kboard-attr-row .attr-name {
    padding: 0;
    width: 100%;
    font-size: 14px;
  }

  #kboard-no-filter-gallery-editor .kboard-attr-row .attr-value {
    margin: 0;
  }

  #kboard-no-filter-gallery-editor .kboard-attr-row .attr-value .kboard-tree-category-wrap select {
    margin-bottom: 10px;
    width: 100%;
  }

  #kboard-no-filter-gallery-editor.confirm {
    max-width: none;
  }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* 태블릿 ≤ 1024px → 2컬럼 */
@media screen and (max-width: 1024px) {
  #kboard-no-filter-gallery-list .kboard-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  #kboard-no-filter-gallery-latest {
    flex-wrap: wrap;
  }

  #kboard-no-filter-gallery-latest .kboard-no-filter-gallery-latest-item {
    flex: 0 0 calc(50% - 7px);
  }
}

/* 모바일 ≤ 600px → 1컬럼 */
@media screen and (max-width: 600px) {

  #kboard-no-filter-gallery-list .kboard-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  /* 모바일에서 리스트 비로그인 힌트 표시 */
  #kboard-no-filter-gallery-list .kboard-list .kboard-list-item .kboard-item-thumbnail .kb-no-filter-login-hint {
    display: flex;
  }

  #kboard-no-filter-gallery-latest {
    flex-wrap: wrap;
  }

  #kboard-no-filter-gallery-latest .kboard-no-filter-gallery-latest-item {
    flex: 0 0 calc(50% - 7px);
  }

  #kboard-no-filter-gallery-list .kboard-search-form-inner {
    max-width: 100%;
  }

  #kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li {
    display: none;
  }

  #kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.first-page,
  #kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.last-page,
  #kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page,
  #kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page,
  #kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.active {
    display: inline-block;
  }

  #kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.prev-page a,
  #kboard-no-filter-gallery-list .kboard-pagination .kboard-pagination-pages li.next-page a {
    padding: 0 18px;
  }

}