/* 공간 모음(/venues/) · 행사 준비 가이드(/event-guide/) 전용 — tools/seo-pages/build.mjs 가 만드는 페이지에서만 씁니다 */
.hub-hero h1 em,.eg-hero h1 em{font-style:normal;color:var(--cobalt)}
.hub-hero .lead{max-width:62ch}
.hub-nav{display:grid;gap:10px;margin-top:28px;padding-top:22px;border-top:1px solid var(--concrete-2)}
.hub-nav-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hub-nav-row>b{flex:0 0 auto;min-width:44px;font-size:13px;color:var(--ink-3);font-weight:700}
.hub-nav a{display:inline-flex;align-items:center;height:34px;padding:0 13px;border:1px solid var(--concrete);border-radius:var(--radius-dialog,16px);background:var(--white);font-size:13.5px;font-weight:600;color:var(--ink-2);white-space:nowrap;transition:border-color .15s,color .15s}
.hub-nav a:hover{border-color:var(--graphite);color:var(--graphite)}
.hub-nav a[aria-current="page"]{background:var(--cobalt);border-color:var(--cobalt);color:#fff}

.hub-count{font-size:14px;color:var(--ink-2)}
.hub-count b{font-family:var(--font-body);font-weight:700;font-size:20px;color:var(--cobalt);margin:0 2px;font-variant-numeric:tabular-nums}
.hub-list{align-items:stretch}
.hub-list>.space-card{min-width:0;grid-template-columns:minmax(0,1fr);align-content:start}
.hub-list .space-card .ph img{display:block}
.hub-after{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin-top:22px;padding:18px 20px;border:1px dashed var(--concrete);border-radius:var(--radius-lg);background:var(--concrete-3)}
.hub-after p{font-size:14.5px;color:var(--ink-2);max-width:60ch}

.hub-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hub-tile{display:flex;flex-direction:column;gap:6px;padding:20px;border:1px solid var(--concrete);border-radius:var(--radius-lg);background:var(--white);min-width:0;transition:border-color .15s,box-shadow .15s}
.hub-tile:hover{border-color:var(--graphite);box-shadow:var(--shadow)}
.hub-tile .n{font-family:var(--font-body);font-weight:700;font-size:34px;line-height:1;color:var(--cobalt);font-variant-numeric:tabular-nums}
.hub-tile .n small{font-family:var(--font-body,inherit);font-size:14px;font-weight:700;color:var(--ink-2);margin-left:3px}
.hub-tile b{font-size:16.5px}
.hub-tile span{font-size:13.5px;color:var(--ink-2);line-height:1.6}
.hub-tile em{font-style:normal;font-size:13.5px;font-weight:700;color:var(--cobalt);margin-top:auto;padding-top:6px}
.hub-tiles.words .hub-tile{padding:18px}

.hub-table-wrap{overflow-x:auto;border:1px solid var(--concrete);border-radius:var(--radius-lg);background:var(--white)}
.hub-table{width:100%;border-collapse:collapse;font-size:14.5px;min-width:560px}
.hub-table th,.hub-table td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--concrete-2);vertical-align:top}
.hub-table thead th{background:var(--concrete-3);font-size:13px;color:var(--ink-2);white-space:nowrap}
.hub-table tbody tr:last-child td,.hub-table tbody tr:last-child th{border-bottom:0}
.hub-table tbody th{font-weight:700;white-space:nowrap}
.hub-table td{white-space:nowrap}
.hub-table td.wrap{white-space:normal;min-width:180px}
.hub-table td b{color:var(--cobalt-2)}
.hub-table.txt{min-width:0}
.hub-table.txt td{white-space:normal;line-height:1.65}
.hub-table.txt th,.hub-table.txt td{word-break:keep-all;overflow-wrap:break-word}
.hub-table small{display:block;color:var(--ink-3);font-size:12.5px;font-weight:400;margin-top:2px}
.hub-src{font-size:13px;color:var(--ink-3);margin-top:10px;line-height:1.7}
.hub-src a{text-decoration:underline;text-underline-offset:3px}

.hub-checks{display:grid;gap:12px}
.hub-checks li{position:relative;padding:18px 18px 18px 52px;border:1px solid var(--concrete);border-radius:var(--radius-lg);background:var(--white)}
.hub-checks li::before{content:"";position:absolute;left:18px;top:20px;width:20px;height:20px;border-radius:50%;background:var(--cobalt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.6' fill='none' stroke='%231F53D5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.hub-checks b{display:block;font-size:16px;margin-bottom:4px}
.hub-checks span{font-size:14.5px;color:var(--ink-2);line-height:1.7}

.hub-links{display:grid;gap:12px}
.hub-links a{display:flex;flex-direction:column;gap:5px;padding:18px 20px;border:1px solid var(--concrete);border-radius:var(--radius-lg);background:var(--white);min-width:0;transition:border-color .15s}
.hub-links a:hover{border-color:var(--graphite)}
.hub-links small{font-size:12px;font-weight:800;letter-spacing:.04em;color:var(--cobalt)}
.hub-links b{font-size:16px;line-height:1.45}
.hub-links span{font-size:13.5px;color:var(--ink-2);line-height:1.6}

/* ---------- 행사 준비 가이드 ---------- */
.eg-narrow{max-width:820px}
.eg-hero .lead{max-width:none}
.eg-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:18px;font-size:13.5px;color:var(--ink-3)}
.eg-meta b{color:var(--ink-2);font-weight:700}
.eg-body{padding-top:40px;padding-bottom:56px}
.eg-body>*+*{margin-top:18px}
.eg-body h2{font-size:clamp(23px,3vw,30px);letter-spacing:-.02em;line-height:1.3;margin-top:52px;scroll-margin-top:90px}
.eg-body h3{font-size:19px;line-height:1.4;margin-top:32px}
.eg-body p,.eg-body li{font-size:16.5px;line-height:1.85;color:var(--ink-2)}
.eg-body p b,.eg-body li b{color:var(--graphite)}
.eg-body ul:not([class]),.eg-body ol:not([class]){display:grid;gap:8px;padding-left:22px}
.eg-body ul:not([class]){list-style:disc}
.eg-body ol:not([class]){list-style:decimal}
.eg-body p.hub-src{font-size:13px;line-height:1.7;color:var(--ink-3)}
.eg-body a:not(.btn):not(.eg-cta){color:var(--cobalt);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.eg-toc{padding:18px 20px;border:1px solid var(--concrete);border-radius:var(--radius-lg);background:var(--concrete-3)}
.eg-toc b{display:block;font-size:13px;color:var(--ink-3);margin-bottom:8px}
.eg-toc ol{display:grid;gap:6px;padding-left:20px;list-style:decimal}
.eg-toc li{font-size:15px;line-height:1.6}
/* 한눈에 보기 — 글 맨 위에서 질문에 먼저 답하는 두세 문장 */
.eg-answer{padding:20px 22px;border:1px solid var(--concrete);border-left:4px solid var(--cobalt);border-radius:var(--radius-lg);background:var(--white)}
.eg-answer>b{display:block;font-size:13px;font-weight:800;letter-spacing:.04em;color:var(--cobalt);margin-bottom:10px}
.eg-answer ul{display:grid;gap:8px;padding-left:20px;list-style:disc}
.eg-answer li{font-size:16px;line-height:1.75;color:var(--ink)}
.eg-answer li::marker{color:var(--cobalt)}
/* 용어 사전 */
.eg-terms{display:grid;gap:0;border-top:1px solid var(--concrete)}
.eg-terms>div{display:grid;gap:4px;padding:16px 2px;border-bottom:1px solid var(--concrete);scroll-margin-top:90px}
.eg-terms dt{font-size:16.5px;font-weight:800;color:var(--graphite);line-height:1.5}
.eg-terms dd{margin:0;font-size:15.5px;line-height:1.8;color:var(--ink-2)}
.eg-terms dd a{white-space:nowrap}
.eg-terms>div:target{background:var(--cobalt-soft)}
.eg-idx{display:flex;flex-wrap:wrap;gap:6px}
.eg-idx a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border:1px solid var(--concrete);border-radius:10px;background:var(--white);font-size:15px;font-weight:800;color:var(--graphite);text-decoration:none!important}
.eg-idx a:hover{border-color:var(--cobalt);color:var(--cobalt)}
.eg-callout{padding:18px 20px;border-radius:var(--radius-lg);background:var(--cobalt-soft);border:1px solid #C9D6F6}
.eg-callout b{display:block;font-size:15.5px;color:var(--cobalt-2);margin-bottom:4px}
.eg-callout p{font-size:15px;line-height:1.75;color:var(--ink)}
.eg-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;padding:18px 20px;border:1px solid var(--concrete);border-left:4px solid var(--cobalt);border-radius:var(--radius-lg);background:var(--white);transition:border-color .15s}
.eg-cta:hover{border-color:var(--graphite);border-left-color:var(--cobalt)}
.eg-cta span{font-size:15px;color:var(--ink-2);line-height:1.6;max-width:52ch}
.eg-cta span b{display:block;font-size:16px;color:var(--graphite)}
.eg-cta em{font-style:normal;font-weight:700;color:var(--cobalt);white-space:nowrap}
.eg-steps{display:grid;gap:10px;counter-reset:eg}
.eg-steps>li{position:relative;padding:18px 18px 18px 70px;border:1px solid var(--concrete);border-radius:var(--radius-lg);background:var(--white)}
.eg-steps>li>i{position:absolute;left:16px;top:18px;font-style:normal;font-family:var(--font-body);font-weight:700;font-size:15px;color:var(--cobalt);width:44px;font-variant-numeric:tabular-nums}
.eg-steps>li>b{display:block;font-size:16.5px;color:var(--graphite);margin-bottom:4px}
.eg-steps>li>span{display:block;font-size:15px;line-height:1.75;color:var(--ink-2)}
.eg-foot{margin-top:44px;padding-top:20px;border-top:1px solid var(--concrete-2);font-size:13.5px;color:var(--ink-3);line-height:1.7}
.eg-list{display:grid;gap:14px}
/* 가이드 목록 — 갈래별 묶음 */
.eg-cats{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.eg-cats a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 15px;border:1px solid var(--concrete);border-radius:999px;background:var(--white);font-size:14px;font-weight:700;color:var(--ink)}
.eg-cats a:hover{border-color:var(--graphite)}
.eg-cats a b{font-size:12.5px;font-weight:800;color:var(--cobalt)}
.eg-cat{margin-top:44px;scroll-margin-top:90px}
.eg-cat>h3{font-size:21px;letter-spacing:-.01em}
.eg-cat>p{margin-top:4px}
.eg-cat>.eg-list{margin-top:16px}
.eg-card{display:flex;flex-direction:column;gap:8px;padding:22px;border:1px solid var(--concrete);border-radius:var(--radius-lg);background:var(--white);min-width:0;transition:border-color .15s,box-shadow .15s}
.eg-card:hover{border-color:var(--graphite);box-shadow:var(--shadow)}
.eg-card small{font-size:12px;font-weight:800;letter-spacing:.04em;color:var(--cobalt)}
.eg-card.host small{color:var(--rust)}
.eg-card b{font-size:18px;line-height:1.45}
.eg-card span{font-size:14.5px;color:var(--ink-2);line-height:1.7}
.eg-card em{font-style:normal;font-size:13.5px;font-weight:700;color:var(--cobalt);margin-top:auto;padding-top:4px}

/* ---------- 수용 인원·평수 계산기 ---------- */
.cc-box{display:grid;gap:18px;padding:22px;border:1px solid var(--concrete);border-radius:var(--radius-lg);background:var(--white)}
.cc-tabs{display:inline-flex;justify-self:start;padding:3px;border-radius:var(--radius-dialog,16px);background:var(--concrete-2)}
.cc-tabs button{height:34px;padding:0 16px;border-radius:var(--radius-dialog,16px);font-size:14px;font-weight:700;color:var(--ink-2)}
.cc-tabs button[aria-pressed="true"]{background:var(--white);color:var(--graphite);box-shadow:0 1px 2px rgba(0,0,0,.12)}
.cc-in{display:grid;gap:12px}
.cc-in label{display:block;font-size:13.5px;font-weight:700;color:var(--ink-2);margin-bottom:6px}
.cc-out{padding:20px;border-radius:var(--radius-lg);background:var(--cobalt-soft)}
.cc-out small{display:block;font-size:13px;font-weight:700;color:var(--cobalt-2)}
.cc-out strong{display:block;font-family:var(--font-body);font-weight:700;font-size:clamp(30px,6vw,44px);line-height:1.15;color:var(--cobalt);margin-top:4px;font-variant-numeric:tabular-nums}
.cc-out p{font-size:14.5px;line-height:1.7;color:var(--ink);margin-top:8px}
.cc-out .row{margin-top:14px}

@media (min-width:700px){
  .hub-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
  .hub-tiles.words{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hub-checks{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hub-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eg-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cc-in{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:760px){
  .eg-terms>div{grid-template-columns:200px minmax(0,1fr);gap:20px;padding:18px 6px}
}
@media (min-width:1000px){
  .hub-links.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .eg-list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:520px){
  .hub-table{font-size:13.5px}
  .hub-table th,.hub-table td{padding:10px 9px}
  .hub-table tbody th{white-space:normal;min-width:108px}
  .hub-table.n1{min-width:0}
  .hub-table.txt tbody th{min-width:0}
  .hub-table.txt th,.hub-table.txt td{padding:10px 8px}
  .hub-table.n1 thead th{white-space:normal}
  .hub-nav-row>b{flex-basis:100%}
  .eg-steps>li{padding-left:18px}
  .eg-steps>li>i{position:static;display:block;width:auto;margin-bottom:4px}
}
