/* -------------------------------------------------------------------------
   fortpolio — default.css
   - 모든 화면 크기를 하나의 CSS 로 대응합니다. (모바일 전용 스킨 없음)
   ---------------------------------------------------------------------- */

/* 토큰 ------------------------------------------------------------------ */
:root {
    --bg: #232323;
    --bg-soft: #2a2a2a;
    --bg-soft-2: #303030;
    --bg-deep: #1c1c1c;
    --fg: #ffffff;
    --fg-soft: #c9c9c9;
    --muted: #888888;
    --dim: #666666;
    --line: rgba(255, 255, 255, 0.16);
    --line-strong: rgba(255, 255, 255, 0.72);
    --orange: #ff5224;
    --pink: #fe7176;
    --green: #7fd39b;
    --ui: 'Poppins', 'Noto Sans KR', 'Noto Sans', sans-serif;
    --text: 'Noto Sans KR', sans-serif;
    --serif: 'Noto Serif KR', 'PT Serif', serif;
    --wrap: 1120px;
    --gutter: 24px;
    --header-h: 88px;
    --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

html[data-theme="light"] {
    --bg: #f5f4f0;
    --bg-soft: #ffffff;
    --bg-soft-2: #f0eee9;
    --bg-deep: #eae8e2;
    --fg: #1b1b1b;
    --fg-soft: #3d3d3d;
    --muted: #77736c;
    --dim: #9a958d;
    --line: rgba(27, 27, 27, 0.14);
    --line-strong: rgba(27, 27, 27, 0.7);
    --orange: #e8451b;
    --pink: #d9363e;
    --green: #1f8a4c;
}

/* 기본 ------------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
    color-scheme: dark;
    scroll-behavior: smooth;
}

html[data-theme="light"] {
    color-scheme: light;
}

body.fp-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 500 14px/1.6 var(--ui);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
}

input,
textarea,
select {
    border-radius: 0;
    outline: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

hr {
    border: 0;
}

::selection {
    background: rgba(255, 82, 36, 0.35);
    color: var(--fg);
}

:focus-visible {
    outline: 1px solid var(--orange);
    outline-offset: 2px;
}

/* 접근성/유틸 ------------------------------------------------------------ */
.sound_only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#skip_to_container a {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--fg);
    color: var(--bg);
    font: 500 11px var(--ui);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: top 0.2s ease;
}

#skip_to_container a:focus {
    top: 12px;
}

.fp-thin {
    font-weight: 200;
}

.fp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.fp-eyebrow > span:first-child {
    color: var(--fg-soft);
}

.fp-eyebrow-sep {
    color: var(--orange) !important;
}

.fp-rule {
    height: 1px;
    background: var(--line-strong);
    opacity: 0.5;
}

.fp-noscript {
    padding: 12px 0;
    color: var(--pink);
    font-size: 12px;
}

.fp-empty {
    grid-column: 1 / -1;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.fp-empty-label {
    display: block;
    margin-bottom: 6px;
    color: var(--dim);
    font: 500 9px var(--ui);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* 라벨/뱃지 ------------------------------------------------------------- */
.fp-badge {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 6px;
    border: 1px solid var(--orange);
    color: var(--orange);
    font: 500 8px/1 var(--ui);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.fp-badge.is-accent {
    background: var(--orange);
    color: #fff;
}

.fp-badge-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-left: 4px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font: 600 8px/1 var(--ui);
    vertical-align: middle;
}

.fp-chip {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border: 1px solid var(--line);
    color: var(--muted);
    font: 500 9px var(--ui);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.fp-cmt {
    color: var(--orange);
    font: 500 10px var(--ui);
}

.fp-cmt::before {
    content: "[";
}

.fp-cmt::after {
    content: "]";
}

.fp-ico {
    color: var(--dim);
    font-size: 11px;
}

.fp-ico-hot {
    color: var(--pink);
}

/* 헤더 ------------------------------------------------------------------ */
.fp-header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--header-h);
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}

.fp-header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(var(--wrap), calc(100% - var(--gutter) * 2));
    height: 100%;
    margin: 0 auto;
}

.fp-brand {
    color: var(--fg);
    font-family: var(--ui);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1;
    white-space: nowrap;
}

.fp-brand span {
    color: var(--orange);
    font-weight: 700;
}

.fp-nav {
    margin-left: auto;
}

.fp-nav-list {
    display: flex;
    align-items: center;
    gap: 26px;
}

.fp-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 32px;
    color: var(--fg);
    font-family: var(--ui);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.76;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.fp-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 2px;
    height: 1px;
    background: currentColor;
    transition: right 0.25s var(--ease);
}

.fp-nav-link:hover,
.fp-nav-link.is-active {
    opacity: 1;
}

.fp-nav-link:hover::after,
.fp-nav-link.is-active::after {
    right: 0;
}

.fp-nav-kr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.fp-header-tools {
    position: relative;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
}

.fp-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--orange);
    font-size: 11px;
    line-height: 1;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.fp-tool:hover {
    border-color: var(--orange);
    background: rgba(255, 82, 36, 0.12);
}

.fp-tool-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.fp-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    color: var(--fg);
}

.fp-nav-toggle-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 15px;
    height: 12px;
}

.fp-nav-toggle-bars i {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.fp-nav-toggle.is-open .fp-nav-toggle-bars i:first-child {
    transform: translateY(3px) rotate(45deg);
}

.fp-nav-toggle.is-open .fp-nav-toggle-bars i:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

.fp-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.fp-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

body.fp-nav-open {
    overflow: hidden;
}

/* 페이지 레이아웃 -------------------------------------------------------- */
.fp-main {
    flex: 1 0 auto;
    width: 100%;
}

.fp-main-sub {
    width: min(var(--wrap), calc(100% - var(--gutter) * 2));
    margin: 0 auto;
    padding: 64px 0 120px;
}

.fp-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 26px;
}

.fp-page-head-main {
    min-width: 0;
}

.fp-page-title {
    margin: 14px 0 0;
    color: var(--fg);
    font-family: var(--ui);
    font-size: clamp(34px, 4.6vw, 54px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.045em;
    word-break: keep-all;
}

.fp-page-desc {
    max-width: 600px;
    margin-top: 12px;
    color: var(--muted);
    font-family: var(--text);
    font-size: 13px;
    line-height: 1.9;
    word-break: keep-all;
}

.fp-page-head-side {
    flex: 0 0 auto;
    padding-bottom: 6px;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 9px;
    line-height: 1.9;
    letter-spacing: 0.1em;
    text-align: right;
    text-transform: uppercase;
}

.fp-page-head-side strong {
    display: block;
    color: var(--fg);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
}

.fp-main-sub > .fp-rule {
    margin-bottom: 38px;
}


/* 메인 비주얼 ------------------------------------------------------------ */
.fp-hero {
    display: flex;
    align-items: center;
    min-height: min(560px, calc(100vh - var(--header-h)));
    min-height: min(560px, calc(100svh - var(--header-h)));
    padding: 48px 0 40px;
}

.fp-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: end;
    gap: 64px;
    width: min(var(--wrap), calc(100% - var(--gutter) * 2));
    margin: 0 auto;
}

.fp-hero-title {
    margin: 22px 0 0;
    color: var(--fg);
    font-family: var(--ui);
    font-size: clamp(40px, 6.2vw, 76px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.05em;
    word-break: keep-all;
}

.fp-hero-title .fp-thin {
    color: var(--fg-soft);
}

.fp-hero-desc {
    max-width: 470px;
    margin-top: 28px;
    color: var(--muted);
    font-family: var(--text);
    font-size: 13px;
    line-height: 2;
    word-break: keep-all;
}

.fp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 38px;
}

.fp-hero-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 44px;
    align-self: stretch;
    padding-top: 34px;
}

.fp-hero-meta {
    border-top: 1px solid var(--line);
}

.fp-hero-meta > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.fp-hero-meta dt {
    flex: 0 0 auto;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fp-hero-meta dd {
    color: var(--fg-soft);
    font-family: var(--ui);
    font-size: 11px;
    letter-spacing: 0.02em;
    text-align: right;
    word-break: break-all;
}

.fp-hero-meta dd a {
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.fp-hero-meta dd a:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.fp-scroll {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fp-scroll i {
    color: var(--orange);
    font-size: 12px;
    animation: fp-bounce 2.4s ease-in-out infinite;
}

@keyframes fp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* 마퀴 ------------------------------------------------------------------ */
.fp-marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fp-marquee-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    padding: 18px 0;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fp-marquee 34s linear infinite;
}

.fp-marquee-track i {
    color: var(--orange);
    font-style: normal;
}

@keyframes fp-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* 섹션 ------------------------------------------------------------------ */
.fp-section {
    padding: 92px 0;
    border-top: 1px solid var(--line);
}

.fp-section-alt {
    background: var(--bg-deep);
}

.fp-section-inner {
    width: min(var(--wrap), calc(100% - var(--gutter) * 2));
    margin: 0 auto;
}

.fp-sect-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
}

.fp-sect-head-main {
    min-width: 0;
}

.fp-sect-title {
    margin-top: 12px;
    color: var(--fg);
    font-family: var(--ui);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.035em;
    word-break: keep-all;
}

.fp-sect-title .fp-thin {
    color: var(--fg-soft);
}

.fp-sect-desc {
    max-width: 520px;
    margin-top: 10px;
    color: var(--muted);
    font-family: var(--text);
    font-size: 12px;
    line-height: 1.85;
    word-break: keep-all;
}

.fp-more {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
    color: var(--fg-soft);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.fp-more:hover {
    color: var(--orange);
    border-color: var(--orange);
}


/* 갤러리 ---------------------------------------------------------------- */
.fp-gal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.fp-gal-item {
    min-width: 0;
}

.fp-gal-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fp-gal-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    aspect-ratio: 4 / 3;
}

.fp-gal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(12%) contrast(1.02);
    transition: transform 0.8s var(--ease), filter 0.4s ease;
}

.fp-gal-link:hover .fp-gal-thumb img {
    transform: scale(1.035);
    filter: none;
}

.fp-gal-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.4s var(--ease);
}

.fp-gal-link:hover .fp-gal-line {
    width: 100%;
}

.fp-gal-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 2px 0;
}

.fp-gal-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fp-gal-no {
    color: var(--orange);
}

.fp-gal-date {
    margin-left: auto;
}

.fp-gal-title {
    color: var(--fg);
    font-family: var(--text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    word-break: keep-all;
    transition: color 0.2s ease;
}

.fp-gal-link:hover .fp-gal-title {
    color: var(--orange);
}

.fp-gal-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--dim);
    font-size: 11px;
}

.fp-gal-grid-board .fp-gal-item {
    position: relative;
}

.fp-gal-check {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

/* 최근게시물 목록 -------------------------------------------------------- */
.fp-rows {
    margin: 0;
    padding: 0;
}

.fp-row {
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease;
}

.fp-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .fp-row:hover {
    background: rgba(27, 27, 27, 0.03);
}

.fp-list-latest .fp-row {
    padding: 0;
}

.fp-list-latest .fp-row-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 6px;
}

.fp-row-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fp-row-title {
    overflow: hidden;
    color: var(--fg);
    font-family: var(--text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.fp-row-meta {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 14px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.fp-row-no {
    flex: 0 0 auto;
    color: var(--orange);
    font-family: var(--ui);
    font-size: 9px;
    letter-spacing: 0.08em;
}

.fp-list-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
    color: var(--fg-soft);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.fp-list-more:hover {
    color: var(--orange);
    border-color: var(--orange);
}

/* 게시판/문의 행 -------------------------------------------------------- */
.fp-rows-board .fp-row,
.fp-rows-qa .fp-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 6px;
}

.fp-row-check {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.fp-row-check input,
.fp-chkall input,
.fp-gal-check input {
    width: 14px;
    height: 14px;
    accent-color: var(--orange);
}

.fp-row-check label span,
.fp-gal-check label span {
    display: none;
}

.fp-row-num {
    flex: 0 0 46px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.fp-row-now {
    color: var(--muted);
    font-size: 9px;
}

.fp-row-subject {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 8px;
    min-width: 0;
    color: var(--fg);
}

.fp-row-subject:hover .fp-row-title {
    color: var(--orange);
}

.fp-row-name {
    flex: 0 0 110px;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-row-date {
    flex: 0 0 88px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.fp-row-hit {
    flex: 0 0 64px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    text-align: right;
    white-space: nowrap;
}

.fp-qa-status {
    flex: 0 0 80px;
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.fp-qa-status.is-done {
    color: var(--green);
}

.fp-qa-status.is-wait {
    color: var(--muted);
}


/* 버튼 ------------------------------------------------------------------ */
.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border: 1px solid transparent;
    color: var(--fg);
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fp-btn i {
    font-size: 11px;
}

.fp-btn-accent {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

.fp-btn-accent:hover {
    border-color: #ff6a42;
    background: #ff6a42;
}

.fp-btn-ghost {
    border-color: rgba(255, 255, 255, 0.34);
    color: var(--fg);
}

html[data-theme="light"] .fp-btn-ghost {
    border-color: rgba(27, 27, 27, 0.28);
}

.fp-btn-ghost:hover {
    border-color: var(--fg);
    background: var(--fg);
    color: var(--bg);
}

.fp-btn-sm {
    height: 32px;
    padding: 0 12px;
    font-size: 9px;
    letter-spacing: 0.08em;
}

.fp-btn[disabled] {
    opacity: 0.45;
    pointer-events: none;
}

.fp-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.fp-icon-btn:hover {
    border-color: var(--line-strong);
    color: var(--fg);
}

.fp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
    color: var(--fg-soft);
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.fp-link:hover {
    color: var(--orange);
    border-color: var(--orange);
}


/* 폼 -------------------------------------------------------------------- */
.fp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}

.fp-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fp-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--fg-soft);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fp-label em {
    color: var(--orange);
    font-style: normal;
}

.fp-field input[type="text"],
.fp-field input[type="password"],
.fp-field input[type="email"],
.fp-field select,
.fp-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: var(--fg);
    font-family: var(--text);
    font-size: 13px;
}

html[data-theme="light"] .fp-field input[type="text"],
html[data-theme="light"] .fp-field input[type="password"],
html[data-theme="light"] .fp-field input[type="email"],
html[data-theme="light"] .fp-field select,
html[data-theme="light"] .fp-field textarea {
    border-color: rgba(27, 27, 27, 0.24);
}

.fp-field input:focus,
.fp-field select:focus,
.fp-field textarea:focus {
    border-color: var(--line-strong);
}

.fp-field input::placeholder,
.fp-field textarea::placeholder {
    color: var(--dim);
}

.fp-field select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.fp-field select option {
    background: var(--bg-soft);
    color: var(--fg);
}

.fp-field textarea {
    min-height: 220px;
    padding: 14px;
    line-height: 1.8;
    resize: vertical;
}

.fp-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
    cursor: pointer;
}

.fp-check input[type="checkbox"],
.fp-option input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--orange);
}

.fp-option {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
}

input[type="file"].fp-file,
.fp-write input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px dashed var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 11px;
}

.fp-editor {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.fp-editor textarea {
    width: 100%;
    min-height: 260px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: var(--fg);
    font-family: var(--text);
    font-size: 13px;
    line-height: 1.8;
    resize: vertical;
}

html[data-theme="light"] .fp-editor textarea {
    border-color: rgba(27, 27, 27, 0.24);
}

.fp-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 22px;
}

.fp-write .write_div {
    margin-bottom: 0;
}

.fp-write .btn_submit,
.fp-write .btn_cancel,
.fp-answer .btn_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    border: 1px solid transparent;
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.fp-write .btn_submit,
.fp-answer .btn_submit {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

.fp-write .btn_cancel {
    border-color: var(--line);
    color: var(--fg-soft);
}


/* 소개 ------------------------------------------------------------------ */
.fp-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
}

.fp-about-title {
    margin-top: 14px;
    color: var(--fg);
    font-family: var(--ui);
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -0.04em;
    word-break: keep-all;
}

.fp-about-title .fp-thin,
.fp-cta-title .fp-thin,
.fp-contact-title .fp-thin {
    color: var(--fg-soft);
}

.fp-about-text {
    color: var(--muted);
    font-family: var(--text);
    font-size: 13px;
    line-height: 2;
    word-break: keep-all;
}

.fp-about-list {
    margin-top: 26px;
    border-top: 1px solid var(--line);
}

.fp-about-list li {
    display: grid;
    grid-template-columns: 38px 128px minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.fp-about-num {
    color: var(--orange);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.fp-about-name {
    color: var(--fg);
    font-family: var(--ui);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.fp-about-desc {
    color: var(--dim);
    font-family: var(--text);
    font-size: 11px;
    line-height: 1.7;
}

.fp-about-body .fp-link {
    margin-top: 26px;
}

/* 소개 페이지 ------------------------------------------------------------ */
.fp-about-page {
    padding-top: 4px;
}

.fp-about-hero {
    padding-bottom: 40px;
}

.fp-lead {
    max-width: 760px;
    margin-top: 22px;
    color: var(--fg-soft);
    font-family: var(--text);
    font-size: 15px;
    line-height: 2;
    word-break: keep-all;
}

.fp-about-page > .fp-rule {
    margin-bottom: 44px;
}

.fp-about-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
}

.fp-about-subtitle {
    margin-bottom: 16px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fp-about-col p {
    margin-bottom: 14px;
    color: var(--muted);
    font-family: var(--text);
    font-size: 13px;
    line-height: 2;
    word-break: keep-all;
}

.fp-about-col p:last-child {
    margin-bottom: 0;
}

.fp-about-process {
    margin-top: 64px;
    padding-top: 44px;
    border-top: 1px solid var(--line);
}

.fp-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.fp-process li {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.fp-process-no {
    display: block;
    color: var(--orange);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.fp-process-name {
    display: block;
    margin-top: 10px;
    color: var(--fg);
    font-family: var(--ui);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.fp-process-desc {
    margin-top: 8px;
    color: var(--dim);
    font-family: var(--text);
    font-size: 11px;
    line-height: 1.8;
    word-break: keep-all;
}

.fp-about-contact {
    margin-top: 64px;
}

/* CTA ------------------------------------------------------------------- */
.fp-cta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.fp-cta-main {
    min-width: 0;
}

.fp-cta-title {
    margin-top: 14px;
    color: var(--fg);
    font-family: var(--ui);
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.04em;
    word-break: keep-all;
}

.fp-cta-desc {
    margin-top: 14px;
    color: var(--muted);
    font-family: var(--text);
    font-size: 12px;
    line-height: 1.9;
    word-break: keep-all;
}

.fp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    gap: 8px;
}


/* 이메일/연락 ------------------------------------------------------------ */
.fp-contact .fp-contact-title,
.fp-email-hero .fp-contact-title {
    margin-top: 16px;
    color: var(--fg);
    font-family: var(--ui);
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.045em;
    word-break: keep-all;
}

.fp-contact-desc {
    max-width: 520px;
    margin-top: 18px;
    color: var(--muted);
    font-family: var(--text);
    font-size: 13px;
    line-height: 1.9;
    word-break: keep-all;
}

.fp-contact-mail {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
    color: var(--fg);
    font-family: var(--serif);
    font-size: clamp(18px, 2.8vw, 32px);
    line-height: 1.3;
    transition: color 0.2s ease, border-color 0.2s ease;
    word-break: break-all;
}

.fp-contact-mail:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.fp-contact-mail i {
    color: var(--orange);
    font-size: 0.55em;
}

.fp-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.fp-email-page {
    padding-top: 4px;
}

.fp-email-page > .fp-rule {
    margin: 44px 0;
}

.fp-email-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
}

.fp-email-col p {
    color: var(--muted);
    font-family: var(--text);
    font-size: 13px;
    line-height: 2;
    word-break: keep-all;
}

.fp-check-list {
    border-top: 1px solid var(--line);
}

.fp-check-list li {
    position: relative;
    padding: 11px 0 11px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--fg-soft);
    font-family: var(--text);
    font-size: 12px;
    line-height: 1.7;
}

.fp-check-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 19px;
    width: 4px;
    height: 4px;
    background: var(--orange);
}

.fp-note {
    margin-top: 14px;
    color: var(--dim);
    font-family: var(--text);
    font-size: 11px;
    line-height: 1.8;
}

.fp-email-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}


/* 게시판 상단/카테고리 ---------------------------------------------------- */
.fp-board {
    padding-top: 2px;
}

.fp-board-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
}

.fp-board-total {
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fp-board-total strong {
    margin-left: 6px;
    color: var(--fg);
    font-size: 12px;
    letter-spacing: 0;
}

.fp-board-page {
    margin-left: 6px;
    color: var(--dim);
}

.fp-board-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fp-chkall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
}

.fp-cate {
    margin-bottom: 18px;
}

.fp-cate ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fp-cate a {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.fp-cate a:hover {
    border-color: var(--line-strong);
    color: var(--fg);
}

.fp-cate a#bo_cate_on {
    border-color: var(--fg);
    background: var(--fg);
    color: var(--bg);
}

/* 페이지/검색 ------------------------------------------------------------ */
.fp-board-foot {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
}

.fp-board-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.fp-paging .pg_wrap {
    display: flex;
    justify-content: center;
}

.fp-paging .pg {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.fp-paging .pg a,
.fp-paging .pg strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid transparent;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 500;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.fp-paging .pg a:hover {
    border-color: var(--line);
    color: var(--fg);
}

.fp-paging .pg strong {
    background: var(--fg);
    color: var(--bg);
}

.fp-paging .pg .pg_start,
.fp-paging .pg .pg_end,
.fp-paging .pg .pg_prev,
.fp-paging .pg .pg_next {
    padding: 0 10px;
    color: var(--dim);
}

.fp-search {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 420px;
    height: 42px;
    margin: 0 auto;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    transition: border-color 0.2s ease;
}

.fp-search:focus-within {
    border-color: var(--line-strong);
}

.fp-search select {
    height: 100%;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: var(--text);
    font-size: 11px;
}

.fp-search select option {
    background: var(--bg-soft);
    color: var(--fg);
}

.fp-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--fg);
    font-family: var(--text);
    font-size: 12px;
}

.fp-search input::placeholder {
    color: var(--dim);
}

.fp-search button {
    width: 42px;
    height: 100%;
    border-left: 1px solid var(--line);
    color: var(--muted);
    font-size: 11px;
    transition: color 0.2s ease;
}

.fp-search button:hover {
    color: var(--orange);
}

.fp-board-admin {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
}


/* 게시물 보기 ------------------------------------------------------------ */
.fp-view {
    padding-top: 4px;
}

.fp-view-head {
    padding-bottom: 26px;
}

.fp-view-title {
    margin-top: 12px;
    color: var(--fg);
    font-family: var(--ui);
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.035em;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.fp-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.fp-view-meta i {
    margin-right: 4px;
    color: var(--dim);
}

.fp-view-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fp-content {
    color: var(--fg-soft);
    font-family: var(--text);
    font-size: 14px;
    line-height: 2;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.fp-content p {
    margin: 0 0 1.1em;
}

.fp-content p:last-child {
    margin-bottom: 0;
}

.fp-content a {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fp-content img {
    max-width: 100%;
    height: auto;
}

.fp-content h2,
.fp-content h3,
.fp-content h4 {
    margin: 1.6em 0 0.6em;
    color: var(--fg);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.fp-content ul,
.fp-content ol {
    margin: 0 0 1.1em;
    padding-left: 1.2em;
}

.fp-content ul {
    list-style: disc;
}

.fp-content ol {
    list-style: decimal;
}

.fp-content blockquote {
    margin: 1.4em 0;
    padding-left: 16px;
    border-left: 2px solid var(--orange);
    color: var(--muted);
}

.fp-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.fp-content th,
.fp-content td {
    padding: 8px;
    border: 1px solid var(--line);
}

.fp-view-img {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.fp-view-img img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
}

.fp-signature {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.fp-view-act {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.fp-act-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.fp-act-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--line);
    color: var(--fg-soft);
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.fp-act-link:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.fp-act-link.is-static {
    color: var(--muted);
    pointer-events: none;
}

.fp-act-msg {
    display: none;
    align-self: center;
    color: var(--orange);
    font-size: 11px;
}

.fp-view-subtitle {
    margin-bottom: 12px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fp-view-file,
.fp-view-link,
.fp-view-rel {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}


.fp-file-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--fg-soft);
    font-size: 12px;
    transition: color 0.2s ease;
}

.fp-file-link:hover {
    color: var(--orange);
}

.fp-file-link i {
    color: var(--dim);
}

.fp-file-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-file-meta {
    flex: 0 0 auto;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    letter-spacing: 0.05em;
}

.fp-view-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 40px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fp-view-nav li {
    min-width: 0;
}

.fp-view-nav li + li {
    border-left: 1px solid var(--line);
}

.fp-view-nav a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 20px 0;
}

.fp-view-nav li.is-next a {
    padding-left: 20px;
    text-align: right;
}

.fp-view-nav-label {
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fp-view-nav-title {
    overflow: hidden;
    color: var(--fg);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-view-nav-date {
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
}

/* 1:1 문의 답변 ---------------------------------------------------------- */
.fp-answer {
    margin-top: 40px;
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}

.fp-answer-head {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.fp-answer-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fp-answer-title {
    color: var(--fg);
    font-family: var(--ui);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.fp-answer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.fp-answer-meta a {
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}

.fp-answer-meta a:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.fp-answer .fp-content {
    color: var(--fg-soft);
}

.fp-answer-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.fp-answer-form {
    margin-top: 28px;
}

.fp-answer-form .fp-answer-title {
    margin-bottom: 18px;
}

.fp-answer-wait {
    color: var(--muted);
    font-size: 12px;
}

.fp-qa-addq {
    margin-top: 24px;
}


/* 댓글 ------------------------------------------------------------------ */
.cmt_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 44px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--fg);
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.cmt_btn .total b {
    margin-right: 6px;
    color: var(--orange);
}

.cmt_btn .cmt_more::after {
    content: "+";
    font-size: 14px;
}

.cmt_btn_op .cmt_more::after {
    content: "\2212";
}

#bo_vc h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

#bo_vc article {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

#bo_vc article .pf_img {
    flex: 0 0 auto;
}

#bo_vc article .pf_img img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

#bo_vc article .cm_wrap {
    flex: 1 1 auto;
    min-width: 0;
}

#bo_vc header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    padding-right: 28px;
    color: var(--fg-soft);
    font-size: 12px;
}

#bo_vc header h2 {
    display: none;
}

#bo_vc .bo_vc_hdinfo {
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    letter-spacing: 0.04em;
}

#bo_vc .cmt_contents {
    color: var(--fg-soft);
    font-family: var(--text);
    font-size: 13px;
    line-height: 1.85;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

#bo_vc .bo_vl_opt {
    position: absolute;
    top: 18px;
    right: 0;
}

#bo_vc .bo_vl_opt .btn_cm_opt {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--dim);
    font-size: 12px;
}

#bo_vc .bo_vc_act {
    display: none;
    position: absolute;
    top: 28px;
    right: 0;
    z-index: 5;
    padding: 6px;
    border: 1px solid var(--line);
    background: var(--bg-soft-2);
}

#bo_vc .bo_vc_act li a {
    display: block;
    padding: 6px 12px;
    color: var(--fg-soft);
    font-size: 11px;
    white-space: nowrap;
}

#bo_vc .bo_vc_act li a:hover {
    color: var(--orange);
}

#bo_vc_empty {
    padding: 24px 0;
    color: var(--muted);
    font-size: 12px;
}

#bo_vc_w {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}

#bo_vc_w h2 {
    margin-bottom: 12px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

#bo_vc_w textarea {
    width: 100%;
    min-height: 96px;
    padding: 12px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--fg);
    font-family: var(--text);
    font-size: 13px;
    line-height: 1.8;
    resize: vertical;
}

.bo_vc_w_info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.bo_vc_w_info .frm_input {
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--fg);
    font-size: 12px;
}

.bo_vc_w .btn_confirm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.bo_vc_w .btn_submit {
    height: 38px;
    padding: 0 18px;
    border: 1px solid var(--orange);
    background: var(--orange);
    color: #fff;
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.secret_cm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
}

.secret_cm input {
    accent-color: var(--orange);
}

#captcha {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 14px 0 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--bg-soft-2);
}

#captcha legend {
    padding: 0 4px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#captcha img {
    width: 100px;
    height: 40px;
    border: 1px solid var(--line);
    background: #fff;
    object-fit: cover;
}

#captcha .captcha_box {
    width: 110px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--fg);
    font-family: var(--text);
    font-size: 13px;
    text-align: center;
}

#captcha button {
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--ui);
    font-size: 9px;
    letter-spacing: 0.04em;
}

#captcha button:hover {
    border-color: var(--line-strong);
    color: var(--fg);
}

#captcha button span {
    display: none;
}

#captcha audio {
    width: 100%;
    height: 32px;
}

#captcha #captcha_info {
    flex: 1 1 100%;
    color: var(--dim);
    font-size: 10px;
    line-height: 1.6;
}

@media (max-width: 520px) {
    #bo_vc article[style] {
        margin-left: 24px !important;
    }

    #bo_vc_w {
        padding: 16px;
    }

    .bo_vc_w_info {
        flex-direction: column;
        align-items: stretch;
    }

    .bo_vc_w_info .frm_input {
        width: 100%;
    }

    #captcha {
        gap: 6px;
    }

    #captcha .captcha_box {
        flex: 1 1 90px;
        width: auto;
        min-width: 0;
    }

    .fp-write .wr_content textarea {
        min-height: 260px;
    }
}


/* 하단 ------------------------------------------------------------------ */
.fp-footer {
    margin-top: auto;
    padding: 46px 0 40px;
    border-top: 1px solid var(--line);
}

.fp-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: min(var(--wrap), calc(100% - var(--gutter) * 2));
    margin: 0 auto;
}

.fp-footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.fp-footer-brand {
    color: var(--fg);
    font-family: var(--ui);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.fp-footer-brand span {
    color: var(--orange);
    font-weight: 700;
}

.fp-footer-desc {
    color: var(--dim);
    font-family: var(--text);
    font-size: 10px;
    line-height: 1.8;
    text-align: right;
}

.fp-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fp-footer-nav a:hover {
    color: var(--fg);
}

.fp-footer-logout {
    margin-left: auto;
    color: var(--fg-soft);
}

.fp-footer-logout:hover {
    color: var(--orange);
}

@media (max-width: 520px) {
    .fp-footer-logout {
        margin-left: 0;
    }
}

.fp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fp-copy {
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.fp-copy b {
    color: var(--muted);
    font-weight: 500;
}

.fp-theme-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.fp-theme-opt {
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
    transition: color 0.15s ease, background 0.15s ease;
}

.fp-theme-opt:hover {
    color: var(--fg);
}

.fp-theme-opt[aria-pressed="true"] {
    background: var(--fg);
    color: var(--bg);
}

.fp-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--fg-soft);
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, color 0.2s ease, border-color 0.2s ease;
}

.fp-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.fp-top:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.fp-toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    z-index: 120;
    max-width: calc(100% - 40px);
    padding: 12px 20px;
    background: var(--fg);
    color: var(--bg);
    font-family: var(--text);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 14px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.fp-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.fp-toast.is-error {
    background: var(--pink);
    color: #2a0000;
}

/* 등장 애니메이션 -------------------------------------------------------- */
html.fp-js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

html.fp-js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    html.fp-js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .fp-marquee-track,
    .fp-scroll i {
        animation: none;
    }

    .fp-gal-thumb img {
        transition: none;
    }
}


[id^="fp-"] {
    scroll-margin-top: calc(var(--header-h) + 20px);
}

/* 그룹 페이지 ------------------------------------------------------------ */
.fp-group-section + .fp-group-section {
    margin-top: 64px;
}

/* 반응형 ---------------------------------------------------------------- */
@media (max-width: 1080px) {
    .fp-about-grid,
    .fp-about-cols,
    .fp-email-cols {
        gap: 40px;
    }

    .fp-gal-grid {
        gap: 20px;
    }
}

@media (max-width: 960px) {
    :root {
        --header-h: 72px;
    }

    .fp-header-inner {
        width: calc(100% - 32px);
    }

    .fp-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        bottom: 0;
        z-index: 60;
        width: min(340px, 86vw);
        margin: 0;
        padding: 24px 24px 32px;
        border-left: 1px solid var(--line);
        background: var(--bg-deep);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s var(--ease);
    }

    .fp-nav.is-open {
        transform: none;
    }

    .fp-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .fp-nav-link {
        height: auto;
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        font-size: 13px;
        letter-spacing: 0.08em;
        opacity: 1;
    }

    .fp-nav-link::after {
        display: none;
    }

    .fp-nav-kr {
        position: static;
        width: auto;
        height: auto;
        margin-left: 10px;
        overflow: visible;
        clip: auto;
        color: var(--dim);
        font-size: 10px;
        letter-spacing: 0;
        text-transform: none;
    }

    .fp-nav-toggle {
        display: inline-flex;
    }

    .fp-header-tools {
        margin-left: auto;
    }

    .fp-hero {
        min-height: 0;
        padding: 44px 0 40px;
    }

    .fp-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fp-hero-side {
        gap: 28px;
        padding-top: 0;
    }

    .fp-hero-meta {
        max-width: 560px;
    }

    .fp-about-grid,
    .fp-about-cols,
    .fp-email-cols {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .fp-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
    }

    .fp-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fp-rows-board .fp-row-name,
    .fp-rows-board .fp-row-hit {
        display: none;
    }

    .fp-view-nav {
        grid-template-columns: 1fr;
    }

    .fp-view-nav li + li {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .fp-view-nav li.is-next a {
        padding-left: 0;
        text-align: left;
    }

    .fp-footer-top {
        flex-direction: column;
        gap: 14px;
    }

    .fp-footer-desc {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .fp-main-sub {
        padding: 44px 0 80px;
    }

    .fp-section {
        padding: 64px 0;
    }

    .fp-gal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fp-sect-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .fp-page-head-side {
        display: none;
    }

    .fp-page-title {
        font-size: clamp(30px, 8vw, 40px);
    }

    .fp-rows-qa .fp-row-name {
        display: none;
    }

    .fp-search {
        max-width: none;
    }

    .fp-board-bar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .fp-board-actions {
        justify-content: flex-start;
    }

    .fp-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .fp-top {
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 520px) {
    .fp-gal-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fp-process {
        grid-template-columns: minmax(0, 1fr);
    }

    .fp-about-list li {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .fp-about-desc {
        grid-column: 2;
    }

    .fp-row-num {
        flex-basis: 34px;
    }

    .fp-row-date {
        display: none;
    }

    .fp-rows-qa .fp-qa-status {
        flex-basis: auto;
    }

    .fp-hero-title {
        font-size: clamp(32px, 10vw, 44px);
    }

    .fp-contact-title,
    .fp-email-hero .fp-contact-title {
        font-size: clamp(28px, 9vw, 40px);
    }

    .fp-contact-mail {
        font-size: clamp(16px, 5vw, 22px);
    }

    .fp-btn {
        height: 40px;
        padding: 0 16px;
    }

    .fp-form {
        padding: 18px;
    }

    .fp-section {
        padding: 52px 0;
    }

    .fp-marquee-track {
        padding: 14px 0;
    }
}


/* 게시판 글쓰기 (그누보드 기본 마크업 보정) ------------------------------ */
.fp-write form {
    max-width: 100%;
}

.fp-write .write_div {
    margin-bottom: 14px;
}

.fp-write .frm_input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: var(--fg);
    font-family: var(--text);
    font-size: 13px;
}

html[data-theme="light"] .fp-write .frm_input {
    border-color: rgba(27, 27, 27, 0.24);
}

.fp-write .frm_input:focus {
    border-color: var(--line-strong);
}

.fp-write .frm_input::placeholder {
    color: var(--dim);
}

.fp-write .bo_w_info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.fp-write .bo_w_info .half_input {
    width: 100%;
}

.fp-write select {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: var(--fg);
    font-family: var(--text);
    font-size: 13px;
}

html[data-theme="light"] .fp-write select {
    border-color: rgba(27, 27, 27, 0.24);
}

.fp-write select option {
    background: var(--bg-soft);
    color: var(--fg);
}

.fp-write .bo_v_option {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.fp-write .chk_box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
}

.fp-write .chk_box label span {
    display: none;
}

.fp-write .selec_chk {
    width: 14px;
    height: 14px;
    accent-color: var(--orange);
}

.fp-write .btn_confirm {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 24px;
}

.fp-write .wr_content textarea {
    display: block;
    width: 100%;
    min-height: 340px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: var(--fg);
    font-family: var(--text);
    font-size: 13px;
    line-height: 1.8;
    resize: vertical;
}

html[data-theme="light"] .fp-write .wr_content textarea {
    border-color: rgba(27, 27, 27, 0.24);
}

.fp-write .wr_content textarea::placeholder {
    color: var(--dim);
}

.fp-write #char_count_desc {
    margin-bottom: 8px;
    color: var(--dim);
    font-size: 11px;
}

.fp-write #char_count_wrap {
    margin-top: 6px;
    color: var(--dim);
    font-size: 11px;
    text-align: right;
}

.fp-write #btn_autosave {
    margin-top: 8px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
}

.fp-write #autosave_pop {
    display: none;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--bg-soft-2);
}

.fp-write .bo_w_flie .file_wr {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.fp-write .lb_icon {
    color: var(--dim);
}

.fp-write .frm_file {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px;
    border: 1px dashed var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 11px;
}

.fp-write .file_del {
    color: var(--muted);
    font-size: 11px;
}

.fp-write .bo_w_link label {
    color: var(--dim);
    font-size: 11px;
}

.fp-write #captcha {
    margin-top: 6px;
}

.fp-view-rel .fp-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
}

.fp-view-rel .fp-row-subject {
    flex: 1 1 auto;
}

#bo_vc article[style] {
    border-top-color: var(--line) !important;
}

/* 관리자용 설정 안내 ---------------------------------------------------- */
.fp-setup {
    margin: 24px 0;
    padding: 16px 18px;
    border: 1px solid var(--orange);
    background: rgba(255, 82, 36, 0.08);
    color: var(--fg-soft);
    font-family: var(--text);
    font-size: 12px;
    line-height: 1.8;
}

.fp-setup b {
    color: var(--fg);
    font-weight: 600;
}

.fp-setup a {
    color: var(--orange);
    border-bottom: 1px solid var(--orange);
}

@media (max-width: 720px) {
    .fp-write .bo_w_info {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .fp-write .wr_content textarea {
        min-height: 260px;
    }

    .fp-write .selec_chk {
        width: 16px;
        height: 16px;
    }

    .fp-write .chk_box {
        min-height: 32px;
    }
}

/* 게시판 목록 보강 ------------------------------------------------------- */
.fp-board-query {
    display: inline-flex;
    align-items: center;
    height: 20px;
    margin-left: 8px;
    padding: 0 8px;
    border: 1px solid var(--line);
    color: var(--fg-soft);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    vertical-align: middle;
}

.fp-list-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 6px 10px;
    border-bottom: 1px solid var(--line);
    color: var(--dim);
    font-family: var(--ui);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fp-list-head .fp-row-num,
.fp-list-head .fp-row-name,
.fp-list-head .fp-row-date,
.fp-list-head .fp-row-hit {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
}

.fp-list-head .fp-row-subject {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    font: inherit;
}

.fp-list-head .fp-row-check {
    flex: 0 0 14px;
    width: 14px;
}

.fp-rows-board .fp-row {
    position: relative;
}

.fp-rows-board .fp-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: -1px;
    width: 2px;
    background: var(--orange);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.22s var(--ease);
}

.fp-rows-board .fp-row:hover::before {
    transform: scaleY(1);
}

.fp-rows-board .fp-row.is-notice {
    background: rgba(255, 82, 36, 0.05);
}

html[data-theme="light"] .fp-rows-board .fp-row.is-notice {
    background: rgba(232, 69, 27, 0.05);
}

.fp-rows-board .fp-row.is-notice:hover {
    background: rgba(255, 82, 36, 0.09);
}

.fp-rows-board .fp-row.is-notice .fp-row-title {
    font-weight: 600;
}

.fp-board-foot-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.fp-board-foot-split .fp-paging {
    grid-column: 2;
    min-width: 0;
}

.fp-board-foot-split .fp-search {
    grid-column: 3;
    justify-self: end;
    width: 340px;
    max-width: none;
    margin: 0;
}

/* 게시판 보기 보강 ------------------------------------------------------- */
.fp-view-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fp-view-no {
    color: var(--orange);
}

.fp-view-byline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.fp-view-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg-soft-2);
}

.fp-view-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-view-avatar:empty::after {
    content: "\f007";
    font-family: FontAwesome;
    color: var(--dim);
    font-size: 14px;
}

.fp-view-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.fp-view-author strong {
    overflow: hidden;
    color: var(--fg);
    font-family: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-view-author span {
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    letter-spacing: 0.06em;
}

.fp-view-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-left: auto;
    color: var(--dim);
    font-family: var(--ui);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.fp-view-stats i {
    margin-right: 4px;
}

.fp-view-footer {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.fp-view-nav.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.fp-view-nav.is-single li + li {
    border-left: 0;
}

.fp-view-nav.is-single a,
.fp-view-nav.is-single li a {
    padding-left: 0;
    text-align: left;
}

/* 게시판 글쓰기 보강 ----------------------------------------------------- */
.fp-field-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fp-group-label {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    color: var(--dim);
}

.fp-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fp-file-field .frm_file {
    flex: none;
    width: 100%;
}

.fp-file-del {
    margin-top: 2px;
}

@media (max-width: 960px) {
    .fp-list-head {
        display: none;
    }
}

@media (max-width: 720px) {
    .fp-field-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fp-board-foot-split {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .fp-board-foot-split .fp-paging {
        width: 100%;
    }

    .fp-board-foot-split .fp-search {
        width: 100%;
    }
}

/* 팝업레이어 ------------------------------------------------------------ */
#hd_pop {
    position: relative;
    z-index: 1000;
    height: 0;
    margin: 0 auto;
}

#hd_pop h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hd_pops {
    position: fixed;
    z-index: 1001;
    max-width: calc(100% - 32px);
    border: 1px solid var(--line);
    background: var(--bg-soft);
    color: var(--fg);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.hd_pops_con {
    max-height: calc(100vh - 170px);
    overflow: auto;
    color: var(--fg-soft);
    font-family: var(--text);
    font-size: 13px;
    line-height: 1.8;
}

.hd_pops_con img {
    max-width: 100%;
    height: auto;
}

.hd_pops_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--bg-deep);
    color: var(--muted);
}

.hd_pops_footer button {
    padding: 11px 14px;
    color: var(--muted);
    font-family: var(--ui);
    font-size: 10px;
    letter-spacing: 0.02em;
}

.hd_pops_footer .hd_pops_reject {
    flex: 1 1 auto;
    text-align: left;
}

.hd_pops_footer .hd_pops_close {
    flex: 0 0 auto;
    border-left: 1px solid var(--line);
    color: var(--fg);
}

@media (max-width: 720px) {
    .hd_pops {
        top: 84px !important;
        right: 16px;
        left: 16px !important;
        max-width: none;
    }

    .hd_pops_con {
        width: auto !important;
        height: auto !important;
        max-height: 62vh;
    }
}
