/* www.clop.ai 자체 CSS v0 — 아임웹 vendor CSS 미사용(결정 D-8). 라이브 게시판의 모습(다크)을 최소 규칙으로 재현.
   서체: static/fonts.css(자체 호스팅 Montserrat + Pretendard, 외부 요청 0). */
:root {
  --bg: #252231; --footer: #181621; --card: #1C1A26; --line: #454350;
  --text: #fff; --muted: #9c9b9f; --dim: #7c7a83; --link: #ADABFF;
  --accent: #8848ED; --cat: #6ECC51;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.6 "Montserrat", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  word-break: keep-all; overflow-wrap: break-word;
}
body.board-afternoon_notice { --bg: #434343; }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.logo { display: block; line-height: 0; }
.logo img { height: 34px; width: auto; }
.gnb { display: flex; gap: 32px; }
.gnb a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.gnb a:hover { color: var(--link); }

/* main */
main.wrap { padding-top: 110px; padding-bottom: 90px; }
main.post-main { max-width: 910px; }

/* post */
.board-name { text-align: center; margin: 0 0 28px; font-size: 15px; }
.board-name a { color: #fff; text-decoration: none; }
.board-name::after { content: ""; display: block; width: 30px; height: 1px; margin: 16px auto 0; background: var(--line); }
.post-title { font-size: 24px; line-height: 1.45; margin: 0 0 110px; font-weight: 700; }
.post-title .category { padding-right: 10px; }
.post-title a { color: inherit; text-decoration: none; }
.post-meta { font-size: 14px; margin-bottom: 44px; }
.post-meta .author { display: block; }
.post-meta time { color: var(--muted); font-size: 13px; }
.post-body { line-height: 1.6; }
.post-body h2 { font-size: 44px; line-height: 1.3; margin: 1.1em 0 .45em; }
.post-body h3 { font-size: 22px; line-height: 1.4; margin: 1.2em 0 .5em; }
.post-body p { margin: 0 0 .4em; }
.post-body ul, .post-body ol { margin: .3em 0 .8em; padding-left: 40px; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 1.5em 0; }
.post-body blockquote { margin: 1em 0; padding: .6em 1em; border-left: 3px solid var(--accent); background: rgba(255,255,255,.04); }
.post-body table { border-collapse: collapse; width: 100%; margin: 1em 0; display: block; overflow-x: auto; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
.post-body code { background: rgba(255,255,255,.08); padding: 0 4px; border-radius: 3px; }
.post-nav { margin-top: 56px; border-top: 1px solid var(--line); }
.post-nav a { display: flex; gap: 28px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: #fff; text-decoration: none; font-size: 14px; }
.post-nav a:hover { color: var(--link); }
.post-nav .dir { width: 20px; text-align: center; color: var(--muted); }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-size: 13px; padding: 5px 20px; border-radius: 16px; }
.post-actions { margin: 14px 0 0; }

/* board lists */
.board-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.board-head h1 { font-size: 18px; font-weight: 600; margin: 0; }
.board-head h1 em { font-style: normal; font-size: 14px; color: var(--link); margin-left: 2px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { border-bottom: 1px solid var(--line); padding: 12px 0 10px; }
.rows li > a { color: #fff; text-decoration: none; font-size: 14px; }
.rows li > a:hover span { color: var(--link); }
.rows .cat { font-style: normal; color: var(--cat); padding-right: 5px; }
.meta { font-size: 12px; margin-top: 8px; }
.meta .author { font-weight: 600; margin-right: 8px; }
.cards { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cards a { display: flex; flex-direction: column; height: 100%; background: var(--card); color: #fff; text-decoration: none; }
.cards .thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.cards .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cards .title { padding: 18px 20px 0; font-size: 15px; font-weight: 600; flex: 1; }
.cards .meta { padding: 0 20px 18px; color: var(--muted); }
.cards .meta .author { color: #fff; }
.notice-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.notice-table th { font-weight: 400; color: var(--muted); text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.notice-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); }
.notice-table .no { width: 60px; color: var(--muted); }
.notice-table td a { color: #fff; text-decoration: none; }
.notice-table .name, .notice-table .time { width: 110px; white-space: nowrap; }
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 30px; font-size: 14px; }
.pagination a, .pagination span { min-width: 30px; text-align: center; color: var(--dim); text-decoration: none; }
.pagination .active { color: #fff; font-weight: 700; }
.pagination a:hover { color: #fff; }

/* 404 */
.notfound { text-align: center; }

/* footer */
.site-footer { background: var(--footer); color: #777; font-size: 14px; padding: 70px 0 110px; }
.site-footer .wrap { max-width: 1180px; }
.site-footer p { max-width: 660px; margin: 0; line-height: 1.65; }
.footer-logo { height: 22px; width: auto; display: block; margin-bottom: 22px; }

/* ── 디자인 페이지(홈·/afternoon): content/pages/*.json → 섹션·행(12칸 그리드)·위젯, JS 0.
   수치 = 라이브 데스크톱 1366px 계측(2026-09-25, p2-compare/live_measure_*.json). 모바일은 한 줄로 쌓는다. */
main.wrap.lp { max-width: none; padding: 0; }
.lp { font-size: 14px; line-height: 1.6; color: #cecece; }
.lp .sec { position: relative; background-color: var(--bg, transparent); }
.lp .has-bg:not(.hero) { background-color: transparent; }
.lp .has-bg:not(.hero)::after { content: ""; position: absolute; inset: 0; background: var(--bg, transparent); }
.lp .sec-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.lp .sec-bg.grayscale { filter: grayscale(1); }
.lp .inside { position: relative; z-index: 1; display: flow-root; max-width: 1180px; margin: 0 auto; padding: 0 20px; }  /* flow-root: 위젯 여백이 섹션 밖으로 새지 않게 */
.lp .wide .inside { max-width: none; }
.lp .fixed { position: sticky; top: 0; z-index: 20; }
.lp .hero .inside { min-height: 890px; display: flex; flex-direction: column; justify-content: center; }
.lp-home .hero .inside { justify-content: flex-end; }  /* 원본 히어로 문구 위치(1366×900 실측): 홈은 아래, /afternoon은 가운데 */
.lp-afternoon .hero .inside { min-height: 935px; }
/* 12칸 = 원본과 같은 모델(칸 안쪽 여백 = 칸 사이 간격의 절반, 중첩 행은 음수 여백으로 상쇄). --g·--vg는 섹션 설정 */
.lp .row { display: flex; margin: 0 calc(var(--g, 40px) / -2); }
.lp .col { min-width: 0; padding: 0 calc(var(--g, 40px) / 2); }
.lp .s1 { flex: 0 0 8.3333%; } .lp .s2 { flex: 0 0 16.6667%; } .lp .s3 { flex: 0 0 25%; } .lp .s4 { flex: 0 0 33.3333%; }
.lp .s5 { flex: 0 0 41.6667%; } .lp .s6 { flex: 0 0 50%; } .lp .s7 { flex: 0 0 58.3333%; } .lp .s8 { flex: 0 0 66.6667%; }
.lp .s9 { flex: 0 0 75%; } .lp .s10 { flex: 0 0 83.3333%; } .lp .s11 { flex: 0 0 91.6667%; } .lp .s12 { flex: 0 0 100%; }
.lp .gap { min-height: 1px; }
.lp .w-text.dp { margin: 20px 0; }
.lp :is(.gap, .w-img, .w-btn, .w-hr, .w-icon, .w-news, .w-board, .w-code) { margin: var(--vg, 20px) 0; }  /* 원본: 위젯마다 위아래 간격(여백 위젯 포함) */
.lp .w-text :is(h1, h2, h3, h4, h5, h6) { margin: 10px 0; color: #fff; font-weight: 700; }
.lp .w-text :is(h1, h2) { margin: 0 0 10px; }
.lp .w-text h1, .lp .w-text .h1 { font-size: 56px; line-height: 1.2; }
.lp .w-text h2, .lp .w-text .h2 { font-size: 45px; line-height: 1.2; }
.lp .w-text h3, .lp .w-text .h3 { font-size: 36px; line-height: 1.2; }
.lp .w-text h4, .lp .w-text .h4 { font-size: 30px; line-height: 1.2; }
.lp .w-text h5, .lp .w-text .h5 { font-size: 24px; line-height: 1.2; }
.lp .w-text h6, .lp .w-text .h6 { font-size: 18px; line-height: 1.4; font-weight: 400; }
.lp .w-text p { margin: 0; }
.lp .w-text ul { margin: 0 0 10px; padding-left: 40px; }
.lp .w-text li { margin-bottom: 10px; }
.lp .w-text [style*="--fs"] { font-size: var(--fs); }  /* 원문 글자 크기(추출기가 font-size → --fs) */
/* 사이트 테마(원본 custom CSS)의 큰 글자 줄 간격: 18~48px 1.2, 60px 이상 1.1 */
.lp .w-text :is([style*="--fs:18px"], [style*="--fs:20px"], [style*="--fs:22px"], [style*="--fs:24px"], [style*="--fs:26px"],
  [style*="--fs:30px"], [style*="--fs:36px"], [style*="--fs:48px"]) { line-height: 1.2; }
.lp .w-text :is([style*="--fs:60px"], [style*="--fs:64px"], [style*="--fs:72px"], [style*="--fs:96px"]) { line-height: 1.1; }
.lp .w-text::after { content: ""; display: table; clear: both; }
.lp .w-text.box { padding: 30px 50px; margin-bottom: 30px; }
.lp .w-link { display: block; text-decoration: none; }
.lp .w-img { text-align: center; line-height: 0; }
.lp .w-img img { object-fit: contain; }  /* 원본 상자 = 칸 폭 × 표시 높이(max-height), 그림은 비율 유지해 가운데 */
.lp .w-btn.c { text-align: center; }
.lp .w-btn.r { text-align: right; }
.lp .btn2 { display: inline-block; padding: 10px 20px; border: 1px solid transparent; border-radius: 30px; color: #fff; font-size: 12px;
  letter-spacing: 1px; line-height: 1.43; text-decoration: none; }
.lp .w-hr { border: 0; border-top: 1px solid rgba(136, 72, 237, .5); }
.lp .w-icon { line-height: 0; }
.lp .w-icon svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lp img.fr-dib { display: block; margin: 5px auto; }  /* 편집기(Froala) 이미지 배치 클래스 */
.lp img.fr-dib.fr-fil { margin-left: 0; }
.lp img.fr-dib.fr-fir { margin-right: 0; }
.lp img.fr-dii { display: inline-block; vertical-align: bottom; margin: 5px; max-width: calc(100% - 10px); }
.lp img.fr-dii.fr-fil { float: left; margin: 5px 5px 5px 0; }
.lp img.fr-dii.fr-fir { float: right; margin: 5px 0 5px 5px; }
.lp .lp-news { margin: 0; gap: 40px; }
.lp .lp-news .title { padding: 20px 20px 40px; font-size: 16px; line-height: 1.3; font-weight: 400; }
.lp .w-board .board-head h2 { margin: 0; font-size: 17px; font-weight: 400; color: #cecece; }
.lp .w-board .board-head em { color: var(--accent); }
.lp-home .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
/* /afternoon 떠 있는 예약·입점 버튼 — 원본 코드 위젯의 CSS를 그대로 옮김(+키보드 포커스) */
.af-btn { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-decoration: none; cursor: pointer; }
.af-pill { display: flex; align-items: center; justify-content: flex-start; overflow: hidden; transition: width .25s cubic-bezier(.4, 0, .2, 1);
  white-space: nowrap; height: 52px; border-radius: 14px; padding: 0 12px; width: 52px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, .82); border: 1.5px solid rgba(0, 206, 144, .5); box-shadow: 0 2px 16px rgba(0, 0, 0, .1); }
.af-label { font-size: 13px; font-weight: 500; color: #006644; opacity: 0; overflow: hidden; transition: opacity .2s ease; white-space: nowrap; flex-shrink: 0; margin-left: 8px; }
.af-tag { font-size: 11px; font-weight: 500; color: #006644; white-space: nowrap; text-align: center; opacity: 1; transition: opacity .2s ease; height: 16px; width: 52px; }
.af-btn:hover .af-tag, .af-btn:focus-visible .af-tag { opacity: 0; visibility: hidden; }
.af-btn:hover .af-pill, .af-btn:focus-visible .af-pill { width: 200px; background: rgba(255, 255, 255, .95); }
.af-btn:hover .af-label, .af-btn:focus-visible .af-label { opacity: 1; }

@media (max-width: 767px) {
  .lp .row { display: block; margin: 0; }
  .lp .col { padding: 0; }
  .lp .hide-m, .lp .spacer { display: none; }
  .lp .gap { max-height: 40px; }
  .lp .w-text [style*="--fs"] { font-size: clamp(13px, calc(var(--fs) * .45 + 6px), 36px); }  /* 테마 모바일 표(72→36·36→24·20→15)에 가깝게 */
  .lp .w-text h1, .lp .w-text .h1 { font-size: 32px; }
  .lp .w-text h2, .lp .w-text .h2 { font-size: 28px; }
  .lp .w-text h3, .lp .w-text .h3 { font-size: 24px; }
  .lp .w-text h4, .lp .w-text .h4 { font-size: 20px; line-height: 1.5; }
  .lp .w-text h5, .lp .w-text .h5 { font-size: 18px; line-height: 1.5; }
  .lp .w-text h6, .lp .w-text .h6 { font-size: 16px; }
  .lp .hero .inside { min-height: 600px; }
  .lp-home .hero .inside { padding-top: 150px; padding-bottom: 40px; }
  .lp .w-text.box { padding: 28px 22px; }
  .lp .w-text img.fr-dii { float: none; display: block; margin: 0 auto 12px; max-width: 96px; }  /* 떠 있는 아이콘 → 제목 위 가운데(원본 모바일 배치) */
  .lp .lp-news { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lp .lp-news .title { padding: 12px 12px 16px; font-size: 14px; }
}

@media (max-width: 767px) {
  .site-header .header-inner { flex-direction: column; padding: 12px 0 8px; }
  .gnb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; width: 100%; margin-top: 14px; padding: 0 20px; }
  .gnb a { font-size: 13px; }
  .gnb a:nth-child(3) { order: -1; }
  main.wrap { padding: 36px 15px 60px; }
  .board-name { display: none; }
  .post-title { font-size: 22px; margin-bottom: 40px; }
  .post-body h2 { font-size: 30px; }
  .post-body ul, .post-body ol { padding-left: 24px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .notice-table thead, .notice-table .no, .notice-table .name { display: none; }
  .site-footer { padding: 40px 0 60px; }
}
