@charset "utf-8";
/* ==========================================================================
   대전신학대학교 게시판 (2026 개편)
   - include/m2026_board_head.php 에서 main2026.css 다음에 로드
   - 그누보드 default.css / mobile.css 위에 덧씌우므로 .m26b 범위로 한정
   ========================================================================== */

/* ---------- 서브 상단 ---------- */
.m26-sub { min-height: 100vh; background: var(--bg); }

.m26-subhead {
    padding: 36px 0 0;
    background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
    border-bottom: 1px solid var(--line);
}
.m26-crumb ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.m26-crumb li { display: flex; align-items: center; gap: 4px; }
.m26-crumb li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid #b9b3aa; border-right: 1.5px solid #b9b3aa; transform: rotate(45deg); margin: 0 6px 0 2px; }
.m26-crumb a:hover { color: var(--brand); }
.m26-crumb [aria-current] { color: var(--ink-2); font-weight: 600; }
.m26-subhead__group { margin-top: 18px !important; font-size: 14px; font-weight: 600; color: var(--brand); }
.m26-subhead__title { margin: 4px 0 0 !important; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; color: var(--ink); }
.m26-subhead__group + .m26-subhead__title { margin-top: 2px !important; }

.m26-subtabs { margin-top: 26px; }
.m26-subtabs ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 0; list-style: none; }
.m26-subtabs ul::-webkit-scrollbar { display: none; }
.m26-subtabs a {
    position: relative; display: block; flex: none; padding: 12px 16px 14px;
    font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap;
    transition: color .2s;
}
.m26-subtabs a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); transform: scaleX(0); transition: transform .25s var(--ease); }
.m26-subtabs a:hover { color: var(--ink); }
.m26-subtabs a.is-active { color: var(--brand); }
.m26-subtabs a.is-active::after { transform: scaleX(1); }

.m26-sub__main { padding: 40px 0 88px; }
.m26-sub__main:focus { outline: none; }

@media (max-width: 767px) {
    .m26-subhead { padding-top: 22px; }
    .m26-subhead__title { font-size: 26px; }
    .m26-subtabs { margin: 16px calc(var(--gutter) * -1) 0; }
    .m26-subtabs ul { padding: 0 var(--gutter); }
    .m26-subtabs a { padding: 10px 12px 12px; font-size: 14px; }
    .m26-sub__main { padding: 24px 0 64px; }
}

/* 미리보기 표시 */
.m26-preview-badge {
    position: fixed; left: 50%; bottom: 16px; z-index: 800; transform: translateX(-50%);
    display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 16px;
    background: rgba(28, 31, 38, .92); color: #fff; border-radius: 999px;
    font-size: 13px; box-shadow: var(--shadow-lg); white-space: nowrap;
}
.m26 .m26-preview-badge a { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; }
.m26 .m26-preview-badge a:hover { background: rgba(255, 255, 255, .26); }

/* ---------- 공통 ---------- */
.m26b { font-size: 16px; color: var(--ink); line-height: 1.6; }
.m26b .m26b-ico { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.m26b .m26b-only-m { display: none !important; }

.m26b .m26b-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 40px; padding: 0 16px; margin: 0;
    border: 1px solid var(--line); border-radius: 10px; background: #fff;
    color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; line-height: 1;
    white-space: nowrap; cursor: pointer; text-decoration: none;
    transition: border-color .2s, background .2s, color .2s;
}
.m26b .m26b-btn:hover { border-color: var(--brand); color: var(--brand); }
.m26b .m26b-btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.m26b .m26b-btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.m26b .m26b-btn--ghost { background: transparent; }
.m26b .m26b-btn--sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.m26b .m26b-btn--lg { height: 50px; padding: 0 30px; font-size: 16px; border-radius: 12px; }
.m26b .m26b-btn.is-static { cursor: default; }
.m26b .m26b-btn.is-static:hover { border-color: var(--line); color: var(--ink-2); }
.m26b .m26b-btn[disabled] { opacity: .6; cursor: progress; }

.m26b .m26b-iconbtn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--ink-2); }
.m26b .m26b-iconbtn:hover { background: var(--brand-soft); color: var(--brand); }

.m26b .m26b-tag {
    display: inline-flex; align-items: center; height: 22px; padding: 0 8px; margin-right: 6px;
    border-radius: 6px; background: #f1ede7; color: var(--ink-2);
    font-size: 12px; font-weight: 600; line-height: 1; vertical-align: 2px; white-space: nowrap;
}
.m26b .m26b-tag--notice { background: var(--brand); color: #fff; }

.m26b-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.m26b-btns--end { margin-left: auto; }
.m26b-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.m26b-actions--center { justify-content: center; margin-top: 36px; }

.m26b-empty { padding: 64px 0 !important; text-align: center; color: var(--muted); font-size: 15px; list-style: none; }

/* ---------- 목록 ---------- */
.m26b-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.m26b-total { margin: 0; font-size: 14px; color: var(--muted); }
.m26b-total strong { color: var(--brand); font-weight: 700; }

.m26b-cate { margin-bottom: 18px; }
.m26b-cate ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.m26b-cate h2 { display: none; }
.m26b .m26b-cate a {
    display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
    border: 1px solid var(--line); border-radius: 999px; background: #fff;
    font-size: 14px; font-weight: 500; color: var(--ink-2); transition: border-color .2s, color .2s, background .2s;
}
.m26b .m26b-cate a:hover { border-color: var(--brand); color: var(--brand); }
.m26b .m26b-cate a#bo_cate_on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

.m26b-chkall { margin-bottom: 10px; font-size: 14px; color: var(--ink-2); }
.m26b-chkall label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }

.m26b .m26b-table { width: 100%; margin: 0; border-collapse: collapse; border-top: 2px solid var(--ink); table-layout: auto; font-size: 15px; }
.m26b .m26b-table th {
    padding: 14px 10px; background: var(--bg-soft); border: 0; border-bottom: 1px solid var(--line);
    color: var(--ink-2); font-size: 14px; font-weight: 600; text-align: center; white-space: nowrap;
}
.m26b .m26b-table th a { color: inherit; }
.m26b .m26b-table th a:hover { color: var(--brand); }
.m26b .m26b-table td {
    padding: 16px 10px; border: 0; border-bottom: 1px solid var(--line);
    color: var(--ink-2); text-align: center; vertical-align: middle; background: transparent;
}
.m26b .m26b-table tr:hover td { background: #fcfbf9; }
.m26b .m26b-table tr.is-notice td { background: #fbf6f3; }
.m26b .m26b-table tr.is-current td { background: var(--brand-soft); }
.m26b-c-num { width: 76px; font-variant-numeric: tabular-nums; color: var(--muted) !important; font-size: 14px; }
.m26b-c-chk { width: 40px; }
.m26b-c-name { width: 120px; }
.m26b-c-date { width: 116px; font-variant-numeric: tabular-nums; font-size: 14px; white-space: nowrap; }
.m26b-c-hit, .m26b-c-good { width: 72px; font-variant-numeric: tabular-nums; font-size: 14px; }
.m26b-c-file { width: 64px; }
.m26b-c-pdf { width: 160px; }
.m26b .m26b-table td.m26b-c-subject { text-align: left; color: var(--ink); }
.m26b .m26b-subject { color: var(--ink); font-weight: 500; word-break: keep-all; overflow-wrap: anywhere; transition: color .15s; }
.m26b .m26b-subject:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.m26b tr.is-notice .m26b-subject { font-weight: 700; }
.m26b-flags { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; vertical-align: 1px; }
.m26b-cmtcnt { font-size: 13px; font-weight: 700; color: var(--brand); }
.m26b-new { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; line-height: 1; }
.m26b-flag { display: inline-flex; color: #a29a90; }
.m26b-flag .m26b-ico { width: 15px; height: 15px; }
.m26b-reply { display: inline-flex; color: #a29a90; margin-right: 4px; transform: scaleY(-1); }
.m26b-reply .m26b-ico { width: 15px; height: 15px; }
.m26b .sv_use { position: relative; }

@media (max-width: 767px) {
    .m26b .m26b-only-m { display: inline !important; }
    .m26b .m26b-c-hit .m26b-only-m { margin-right: 3px; }
    .m26b .m26b-c-subject .m26b-tag.m26b-only-m { display: inline-flex !important; }
    .m26b .m26b-table, .m26b .m26b-table tbody, .m26b .m26b-table tr, .m26b .m26b-table td { display: block; width: auto; }
    .m26b .m26b-table thead { display: none; }
    .m26b .m26b-table { font-size: 14px; }
    .m26b .m26b-table tr { position: relative; padding: 14px 2px; border-bottom: 1px solid var(--line); }
    .m26b .m26b-table tr:hover td { background: transparent; }
    .m26b .m26b-table tr.is-notice { background: #fbf6f3; }
    .m26b .m26b-table tr.is-notice td, .m26b .m26b-table tr.is-current td { background: transparent; }
    .m26b .m26b-table tr.is-current { background: var(--brand-soft); }
    .m26b .m26b-table td { padding: 0; border: 0; text-align: left; }
    .m26b .m26b-table td.m26b-c-num { display: none; }
    .m26b .m26b-table td.m26b-c-subject { margin-bottom: 6px; font-size: 15.5px; line-height: 1.5; }
    .m26b .m26b-table tr:has(.m26b-c-chk) td.m26b-c-subject { padding-right: 32px; }
    .m26b .m26b-table td.m26b-c-chk { position: absolute; right: 2px; top: 14px; }
    .m26b .m26b-table td.m26b-c-name,
    .m26b .m26b-table td.m26b-c-date,
    .m26b .m26b-table td.m26b-c-hit,
    .m26b .m26b-table td.m26b-c-good,
    .m26b .m26b-table td.m26b-c-file,
    .m26b .m26b-table td.m26b-c-pdf { display: inline-flex; align-items: center; margin-right: 12px; font-size: 13px; color: var(--muted); width: auto; vertical-align: middle; }
    .m26b .m26b-table td.m26b-c-file:empty, .m26b .m26b-table td.m26b-c-pdf:empty { display: none; }
    .m26b .m26b-table td.m26b-c-pdf { display: flex; margin: 8px 0 0; }
    .m26b .m26b-table td.m26b-empty { display: block; }
    .m26b .m26b-iconbtn { width: 28px; height: 28px; }
}

/* 갤러리 */
.m26b .m26b-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
.m26b-gallery__item { position: relative; }
.m26b-gallery__item a { display: block; }
.m26b-gallery__thumb { display: block; aspect-ratio: var(--m26b-ratio, 4 / 3); overflow: hidden; border-radius: 14px; background: #ece8e2; }
.m26b-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.m26b-gallery__item a:hover img { transform: scale(1.05); }
.m26b-gallery__item.is-current .m26b-gallery__thumb { outline: 3px solid var(--brand); outline-offset: 2px; }
.m26b-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: #b9b2a8; }
.m26b-noimg .m26b-ico { width: 34px; height: 34px; }
.m26b-gallery__body { display: block; padding: 12px 2px 0; }
.m26b-gallery__title {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--ink);
}
.m26b-gallery__item a:hover .m26b-gallery__title { color: var(--brand); }
.m26b-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.m26b-meta span { display: inline-flex; align-items: center; gap: 3px; }
.m26b-meta .m26b-ico { width: 14px; height: 14px; }
.m26b-gallery__chk { position: absolute; left: 10px; top: 10px; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .9); }
.m26b .m26b-gallery .m26b-empty { grid-column: 1 / -1; }

@media (max-width: 767px) {
    .m26b .m26b-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .m26b-gallery__thumb { border-radius: 10px; }
    .m26b-gallery__title { font-size: 14.5px; }
    .m26b-meta { font-size: 12px; gap: 2px 8px; }
}

/* 페이지 번호 (get_paging 출력) */
.m26b-paging:empty { display: none; }
.m26b .m26b-paging .pg_wrap { clear: both; margin: 36px 0 0; padding: 0; text-align: center; }
.m26b .m26b-paging .pg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.m26b .m26b-paging .pg_page,
.m26b .m26b-paging .pg_current {
    display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; margin: 0;
    border: 1px solid var(--line); border-radius: 10px; background: #fff;
    color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none;
}
.m26b .m26b-paging .pg_page:hover { border-color: var(--brand); color: var(--brand); }
.m26b .m26b-paging .pg_current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.m26b .m26b-paging .pg_start, .m26b .m26b-paging .pg_prev, .m26b .m26b-paging .pg_next, .m26b .m26b-paging .pg_end { font-size: 13px; color: var(--muted); }

@media (max-width: 767px) {
    .m26b .m26b-paging .pg_page, .m26b .m26b-paging .pg_current { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; }
    .m26b .m26b-paging .pg_start, .m26b .m26b-paging .pg_end { display: none; }
}

/* 검색 */
.m26b .m26b-search {
    display: flex; align-items: stretch; max-width: 520px; margin: 28px auto 0; height: 48px;
    border: 1px solid #d9d4cc; border-radius: 12px; background: #fff; overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.m26b .m26b-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(122, 20, 8, .1); }
.m26b .m26b-search select {
    flex: none; width: auto; height: 100%; padding: 0 30px 0 14px; margin: 0; border: 0; border-right: 1px solid var(--line);
    background: #faf8f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237d8391' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
    color: var(--ink-2); font: inherit; font-size: 14px; -webkit-appearance: none; appearance: none; border-radius: 0;
}
.m26b .m26b-search input[type="search"] {
    flex: 1; min-width: 0; height: 100%; padding: 0 14px; margin: 0; border: 0; background: transparent;
    color: var(--ink); font: inherit; font-size: 15px; line-height: normal; outline: none; -webkit-appearance: none;
}
.m26b .m26b-search__btn { flex: none; display: grid; place-items: center; width: 52px; height: 100%; background: var(--brand); color: #fff; border: 0; cursor: pointer; }
.m26b .m26b-search__btn:hover { background: var(--brand-dark); }
.m26b .m26b-search__btn .m26b-ico { width: 20px; height: 20px; }

@media (max-width: 767px) {
    .m26b .m26b-search { height: 44px; }
    .m26b .m26b-search select { padding: 0 26px 0 10px; font-size: 13px; }
}

/* ---------- 읽기 ---------- */
.m26b-view__head { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.m26b-view__cate { margin: 0 0 10px !important; }
.m26b .m26b-view__title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.m26b-view__meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 14px 0 0 !important; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.m26b-view__meta li { display: inline-flex; align-items: center; }
.m26b-view__meta li + li::before { content: ""; width: 1px; height: 11px; margin: 0 12px; background: var(--line); }
.m26b-view__meta .sv_member, .m26b-view__meta .sv_guest, .m26b-view__meta a { color: var(--ink-2); font-weight: 600; }
.m26b-ip { margin-left: 4px; }

.m26b-info { margin-top: 24px; }
.m26b-info dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.m26b-info__row { display: grid; grid-template-columns: 116px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.m26b-info__row.is-wide { grid-column: 1 / -1; }
.m26b-info dt { padding: 12px 14px; background: var(--bg-soft); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.m26b-info dd { margin: 0; padding: 12px 14px; font-size: 15px; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }

@media (max-width: 767px) {
    .m26b .m26b-view__title { font-size: 22px; }
    .m26b-view__meta { font-size: 13px; }
    .m26b-info dl { grid-template-columns: 1fr; }
    .m26b-info__row { grid-template-columns: 96px minmax(0, 1fr); }
    .m26b-info dt, .m26b-info dd { padding: 10px 12px; font-size: 14px; }
}

.m26b-attach { margin-top: 20px; padding: 16px 20px; border-radius: 14px; background: var(--bg-soft); }
.m26b-attach h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px !important; font-size: 14px; font-weight: 700; color: var(--ink); }
.m26b-attach h3 span { color: var(--brand); }
.m26b-attach ul { margin: 0; padding: 0; list-style: none; }
.m26b-attach li { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 8px 0; border-top: 1px dashed #e2ddd5; }
.m26b-attach li:first-child { border-top: 0; }
.m26b .m26b-attach a { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink); font-size: 15px; }
.m26b .m26b-attach a strong { font-weight: 600; word-break: break-all; }
.m26b .m26b-attach a:hover strong { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.m26b-attach a .m26b-ico { color: var(--brand); }
.m26b-attach__size { color: var(--muted); font-size: 13px; }
.m26b-attach__desc { flex-basis: 100%; margin: 0 0 0 26px !important; font-size: 13px; color: var(--muted); }
.m26b-attach__cnt { margin-left: auto; font-size: 12.5px; color: var(--muted); }

.m26b-view__body { padding: 36px 0 12px; }
.m26b-view__img { margin-bottom: 20px; text-align: center; }
.m26b-view__img img { max-width: 100%; height: auto; margin: 0 auto 16px; border-radius: 8px; }

/* 본문 (에디터로 작성된 HTML) : .m26 의 초기화 규칙을 되돌림 */
.m26b-content { min-height: 120px; font-size: 16px; line-height: 1.85; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; overflow-x: auto; }
.m26b-content p { margin: 0 0 .9em; }
.m26b-content p:last-child { margin-bottom: 0; }
.m26b-content ul, .m26b-content ol { margin: 0 0 1em; padding-left: 1.6em; }
.m26b-content ul { list-style: disc; }
.m26b-content ol { list-style: decimal; }
.m26b-content li { margin: .2em 0; }
.m26b-content h1, .m26b-content h2, .m26b-content h3, .m26b-content h4 { margin: 1.4em 0 .6em; line-height: 1.4; font-weight: 700; }
.m26b-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.m26b-content img { max-width: 100% !important; height: auto !important; }
.m26b-content iframe, .m26b-content video { max-width: 100%; }
.m26b-content table { max-width: 100%; border-collapse: collapse; }
.m26b-content table[border] td, .m26b-content table[border] th { border: 1px solid #d9d4cc; padding: 6px 8px; }
.m26b-content th, .m26b-content b, .m26b-content strong { font-weight: 700; }
.m26b-content blockquote { margin: 1em 0; padding: 12px 18px; border-left: 4px solid var(--line); background: var(--bg-soft); }
.m26b-sign { margin-top: 24px !important; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }

.m26b-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.m26b-act .bo_v_act_gng { position: relative; }
.m26b-act strong { color: var(--brand); }
.m26b-act__msg { display: none; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 6px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }

.m26b-prevnext { margin-top: 40px; border-top: 1px solid var(--ink); }
.m26b .m26b-prevnext a { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px 6px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.m26b .m26b-prevnext a:hover { background: var(--bg-soft); }
.m26b-prevnext__label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.m26b-prevnext__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.m26b .m26b-prevnext a:hover .m26b-prevnext__title { color: var(--brand); }

@media (max-width: 767px) {
    .m26b-attach { padding: 14px 16px; }
    .m26b .m26b-attach a { font-size: 14px; }
    .m26b-attach__cnt { margin-left: 26px; }
    .m26b-view__body { padding-top: 24px; }
    .m26b-content { font-size: 15.5px; line-height: 1.8; }
    .m26b .m26b-prevnext a { grid-template-columns: 76px minmax(0, 1fr); padding: 14px 2px; }
    .m26b-view .m26b-actions { justify-content: space-between; }
    .m26b-view .m26b-btns--end { margin-left: 0; }
}

/* ---------- 댓글 ---------- */
.m26b-cmt-list { margin-top: 48px; }
.m26b-cmt-list__title { display: flex; align-items: center; gap: 6px; margin: 0 0 8px !important; font-size: 17px; font-weight: 700; }
.m26b-cmt-list__title span { color: var(--brand); }
.m26b-cmt-list__empty { padding: 28px 0; margin: 0 !important; border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--muted); }
.m26b-cmt { padding: 18px 4px; border-top: 1px solid var(--line); }
.m26b-cmt.is-reply { margin-left: var(--depth, 20px); padding: 16px 18px; border-top: 0; margin-top: 8px; border-radius: 12px; background: var(--bg-soft); }
.m26b-cmt__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--muted); }
.m26b-cmt__reply { display: inline-flex; color: #a29a90; transform: scaleY(-1); }
.m26b-cmt__reply .m26b-ico { width: 15px; height: 15px; }
.m26b-cmt__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.m26b-cmt__name a, .m26b-cmt__name span { color: inherit; }
.m26b-cmt__body { margin-top: 8px; font-size: 15px; line-height: 1.75; color: var(--ink); word-break: break-all; }
.m26b .m26b-cmt__act { display: flex; gap: 14px; margin-top: 10px; font-size: 13px; }
.m26b .m26b-cmt__act a { color: var(--muted); }
.m26b .m26b-cmt__act a:hover { color: var(--brand); text-decoration: underline; }

.m26b-cmt-write { margin-top: 16px; }
.m26b-cmt .m26b-cmt-write, .m26b-cmt span[id^="edit_"] .m26b-cmt-write, .m26b-cmt span[id^="reply_"] > * { margin-top: 12px; }
.m26b-cmt span[id^="edit_"], .m26b-cmt span[id^="reply_"] { display: block; }
.m26b-cmt-write__box { border: 1px solid #d9d4cc; border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.m26b-cmt-write__box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(122, 20, 8, .08); }
.m26b .m26b-cmt-write__box textarea {
    display: block; width: 100%; min-height: 110px; padding: 14px 16px; margin: 0; border: 0; background: transparent;
    color: var(--ink); font: inherit; font-size: 15px; line-height: 1.6; resize: vertical; outline: none; box-sizing: border-box;
}
.m26b-cmt-write__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-top: 1px solid var(--line); background: #faf8f5; }
.m26b-cmt-write__bar .m26b-btn { margin-left: auto; }
.m26b-cmt-write .m26b-field-row, .m26b-cmt-write > form > .m26b-field { margin-bottom: 12px; }
.m26b-cmt-write > form > .m26b-field { margin-top: 12px; }

/* ---------- 쓰기 ---------- */
.m26b-write { max-width: 960px; margin: 0 auto; }
.m26b-form { display: grid; gap: 22px; }
.m26b-field { min-width: 0; }
.m26b-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.m26b-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.m26b-req { margin-left: 3px; color: var(--brand); }
.m26b .m26b-input {
    display: block; width: 100%; height: 46px; padding: 0 14px; margin: 0;
    border: 1px solid #d9d4cc; border-radius: 10px; background: #fff;
    color: var(--ink); font: inherit; font-size: 15px; line-height: normal; box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
.m26b select.m26b-input {
    padding-right: 36px; -webkit-appearance: none; appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237d8391' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.m26b .m26b-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(122, 20, 8, .1); outline: none; }
.m26b .m26b-input[readonly] { background: #f6f4f1; }
.m26b .m26b-input--short { max-width: 220px; }
.m26b .m26b-input--file { height: auto; padding: 10px 12px; font-size: 14px; }
.m26b-filebox { display: grid; gap: 8px; }
.m26b-help { margin: 6px 0 0 !important; font-size: 13px; color: var(--muted); }
.m26b-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; min-height: 46px; align-items: center; }
.m26b .m26b-check { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.m26b .m26b-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.m26b-subject-wrap { position: relative; display: flex; gap: 8px; }
.m26b-subject-wrap .m26b-input { flex: 1; }
.m26b-subject-wrap .m26b-btn { height: 46px; flex: none; }
.m26b-autosave {
    display: none; position: absolute; right: 0; top: calc(100% + 6px); z-index: 20;
    width: min(360px, 100%); padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
}
.m26b-autosave strong { display: block; margin-bottom: 8px; font-size: 14px; }
.m26b-autosave ul { max-height: 220px; overflow-y: auto; margin: 0 0 8px; padding: 0; list-style: none; font-size: 14px; }
.m26b-autosave li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.m26b-autosave div { text-align: right; }
.m26b-autosave div:first-of-type { display: none; }
.m26b .m26b-autosave .autosave_close { padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; cursor: pointer; }
.m26b-editor textarea#wr_content { width: 100%; min-height: 320px; padding: 14px; border: 1px solid #d9d4cc; border-radius: 10px; font: inherit; font-size: 15px; line-height: 1.7; box-sizing: border-box; }
.m26b-editor iframe, .m26b-editor .cheditor-container, .m26b-editor > div { max-width: 100%; }
.m26b-fieldset { min-width: 0; margin: 0; padding: 20px 22px 24px; border: 1px solid var(--line); border-radius: 16px; }
.m26b-fieldset legend { padding: 0 8px; margin-left: -8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.m26b-fieldset > .m26b-field + .m26b-grid2, .m26b-fieldset > .m26b-grid2 + .m26b-field { margin-top: 18px; }
.m26b-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.m26b-addr { display: grid; gap: 8px; }
.m26b-addr__zip { display: flex; align-items: center; gap: 6px; }
.m26b .m26b-addr__zip .m26b-input { width: 80px; flex: none; text-align: center; }
.m26b .m26b-addr__zip .m26b-btn { height: 46px; }

@media (max-width: 767px) {
    .m26b-form { gap: 18px; }
    .m26b-field-row, .m26b-grid2 { grid-template-columns: 1fr; gap: 18px; }
    .m26b-subject-wrap { flex-wrap: wrap; }
    .m26b-subject-wrap .m26b-input { flex: 1 1 100%; }
    .m26b-subject-wrap .m26b-btn { height: 38px; }
    .m26b-fieldset { padding: 16px 14px 18px; }
    .m26b-actions--center .m26b-btn--lg { flex: 1; padding: 0 12px; }
}

/* 그누보드 캡챠 */
.m26b #captcha { display: inline-block; }

/* ---------- 그누보드 default.css / mobile.css 공통 규칙 덮어쓰기 ---------- */
/* legend 숨김 해제 */
.m26b .m26b-fieldset legend { display: block; position: static; font-size: 15px; line-height: 1.4; text-indent: 0; overflow: visible; }
/* 필수 입력 표시 배경(wrest.gif) 제거 - 라벨의 * 로 표시 */
.m26b .m26b-input.required, .m26b textarea.required, .m26b input.required { background-color: #fff !important; background-image: none !important; }
.m26b select.m26b-input.required {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237d8391' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center !important;
}
.m26b .m26b-cmt-write__box textarea.required, .m26b .m26b-search input.required { background: transparent !important; }
/* mobile.css 의 체크박스 모양 제거 해제 */
.m26 input[type="checkbox"], .m26 input[type="radio"] { -webkit-appearance: auto; appearance: auto; -webkit-border-radius: 0; accent-color: var(--brand); }
