/* ==========================================================================
   꿈에그린 홈페이지 v2 (2026-11 전면 개편)
   - 공통 틀: assets/include/v2/head.html, gnb.html, footer.html
   - 색: 로고 보라 #482f8d → #7d4294, 포인트 초록 (DreamGreen)
   ========================================================================== */
:root {
  --c-brand: #482f8d;
  --c-brand-2: #7d4294;
  --c-brand-soft: #f3effa;
  --c-green: #1f9d6b;
  --c-green-soft: #e8f6ef;
  --c-ink: #16131f;
  --c-text: #3d3a46;
  --c-muted: #77737f;
  --c-line: #e7e4ec;
  --c-bg: #ffffff;
  --c-bg-2: #f7f6f9;
  --c-dark: #15111f;
  --grad: linear-gradient(120deg, #482f8d 0%, #6a3a91 55%, #7d4294 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(32, 18, 66, .08);
  --shadow-lg: 0 24px 60px rgba(32, 18, 66, .16);
  --wrap: 1240px;
  --gnb-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--gnb-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--c-text); background: var(--c-bg); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(125, 66, 148, .45); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; padding: 10px 16px; border-radius: 8px; background: var(--c-brand); color: #fff; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 767.98px) { .wrap { padding: 0 16px; } }

/* ---------- header / gnb ---------- */
.s-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--gnb-h); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--c-line); backdrop-filter: saturate(160%) blur(10px); transition: background .25s, border-color .25s, color .25s; }
.s-header .wrap { display: flex; align-items: center; height: 100%; gap: 28px; }
.s-logo { display: inline-flex; align-items: center; flex: none; }
.s-logo img { height: 30px; width: auto; }
.s-logo .on-dark { display: none; }
.s-nav { flex: 1; display: flex; justify-content: center; height: 100%; }
.s-nav > ul { display: flex; height: 100%; gap: 6px; }
.s-nav > ul > li { position: relative; display: flex; align-items: center; }
.s-nav .d1 { display: flex; align-items: center; height: 100%; padding: 0 18px; font-size: 16.5px; font-weight: 700; color: var(--c-ink); letter-spacing: -.01em; }
.s-nav .d1::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 16px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .25s var(--ease); }
.s-nav li:hover > .d1::after, .s-nav li.is-on > .d1::after, .s-nav li:focus-within > .d1::after { transform: scaleX(1); }
.s-nav .d2 { position: absolute; left: 50%; top: calc(100% - 8px); min-width: 200px; padding: 10px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.s-nav li:hover > .d2, .s-nav li:focus-within > .d2 { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.s-nav .d2 a { display: block; padding: 9px 14px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--c-text); white-space: nowrap; }
.s-nav .d2 a:hover, .s-nav .d2 a.is-on { background: var(--c-brand-soft); color: var(--c-brand); }
.s-nav .d2 a small { display: block; font-size: 12.5px; font-weight: 400; color: var(--c-muted); }
.s-util { display: flex; align-items: center; gap: 6px; flex: none; }
.s-util a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--c-text); }
.s-util a:hover { background: var(--c-bg-2); }
.s-util .btn-cta { background: var(--c-brand); color: #fff; padding: 0 16px; }
.s-util .btn-cta:hover { background: var(--c-brand-2); }
.s-burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; }
.s-burger span { display: block; width: 22px; height: 2px; margin: 5px auto; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .25s; }

/* 히어로 위에 뜨는 투명 머리말 (메인) */
body.has-hero .s-header:not(.is-solid) { background: transparent; border-color: transparent; backdrop-filter: none; }
body.has-hero .s-header:not(.is-solid) .d1, body.has-hero .s-header:not(.is-solid) .s-util a, body.has-hero .s-header:not(.is-solid) .s-burger { color: #fff; }
body.has-hero .s-header:not(.is-solid) .s-util a:hover { background: rgba(255, 255, 255, .14); }
body.has-hero .s-header:not(.is-solid) .s-util .btn-cta { background: #fff; color: var(--c-brand); }
body.has-hero .s-header:not(.is-solid) .s-logo .on-light { display: none; }
body.has-hero .s-header:not(.is-solid) .s-logo .on-dark { display: inline; }

/* 모바일 메뉴 */
.s-drawer { display: none; }
@media (max-width: 1023.98px) {
  :root { --gnb-h: 64px; }
  .s-nav, .s-util .hide-m { display: none; }
  .s-header .wrap { justify-content: space-between; }
  .s-logo img { height: 26px; }
  .s-util { margin-left: auto; }
  .s-burger { display: block; }
  .s-drawer { display: block; position: fixed; inset: var(--gnb-h) 0 0 0; z-index: 99; overflow-y: auto; padding: 8px 0 40px; background: #fff; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  body.menu-open { overflow: hidden; }
  body.menu-open .s-drawer { opacity: 1; visibility: visible; transform: none; }
  body.menu-open .s-header { background: #fff !important; border-color: var(--c-line) !important; }
  body.menu-open .s-header .d1, body.menu-open .s-header .s-util a, body.menu-open .s-header .s-burger { color: var(--c-ink) !important; }
  body.menu-open .s-logo .on-light { display: inline !important; }
  body.menu-open .s-logo .on-dark { display: none !important; }
  body.menu-open .s-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .s-burger span:nth-child(2) { opacity: 0; }
  body.menu-open .s-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .s-drawer details { border-bottom: 1px solid var(--c-line); }
  .s-drawer summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: 17px; font-weight: 700; color: var(--c-ink); list-style: none; cursor: pointer; }
  .s-drawer summary::-webkit-details-marker { display: none; }
  .s-drawer summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--c-muted); border-bottom: 2px solid var(--c-muted); transform: rotate(45deg); transition: transform .2s; }
  .s-drawer details[open] summary::after { transform: rotate(-135deg); }
  .s-drawer details a { display: block; padding: 11px 32px; font-size: 15.5px; color: var(--c-text); }
  .s-drawer details a:last-child { padding-bottom: 18px; }
  .s-drawer .dr-util { display: flex; gap: 8px; padding: 20px; }
  .s-drawer .dr-util a { flex: 1; text-align: center; padding: 12px; border: 1px solid var(--c-line); border-radius: 12px; font-weight: 600; }
  .s-drawer .dr-util a.btn-cta { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
}

/* ---------- buttons / chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-brand); color: #fff; box-shadow: 0 8px 20px rgba(72, 47, 141, .25); }
.btn-primary:hover { background: var(--c-brand-2); }
.btn-white { background: #fff; color: var(--c-brand); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-line { border-color: var(--c-line); background: #fff; color: var(--c-ink); }
.btn-line:hover { border-color: var(--c-brand); color: var(--c-brand); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn .ico { width: 18px; height: 18px; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--c-brand-soft); color: var(--c-brand); }
.chip-green { background: var(--c-green-soft); color: var(--c-green); }
.chip-gray { background: var(--c-bg-2); color: var(--c-muted); }
.chip-mock { background: #fff4e0; color: #a5610a; }

/* ---------- section ---------- */
.sec { padding: 110px 0; }
.sec-tight { padding: 72px 0; }
.sec-gray { background: var(--c-bg-2); }
.sec-dark { background: var(--c-dark); color: #d9d4e4; }
.sec-dark .sec-title, .sec-dark h3 { color: #fff; }
.sec-head { margin-bottom: 48px; }
.sec-head.center { text-align: center; }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: 13.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand-2); }
.sec-dark .eyebrow { color: #b99ad0; }
.sec-title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; font-weight: 800; letter-spacing: -.03em; color: var(--c-ink); }
.sec-lead { margin-top: 16px; font-size: 17.5px; color: var(--c-muted); max-width: 760px; }
.sec-head.center .sec-lead { margin-left: auto; margin-right: auto; }
@media (max-width: 767.98px) { .sec { padding: 72px 0; } .sec-tight { padding: 52px 0; } .sec-head { margin-bottom: 32px; } .sec-lead { font-size: 16px; } }

/* ---------- main hero ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; max-height: 960px; overflow: hidden; background: var(--c-dark); color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-on .bg { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 9, 28, .82) 0%, rgba(14, 9, 28, .45) 55%, rgba(14, 9, 28, .15) 100%), linear-gradient(0deg, rgba(14, 9, 28, .55), transparent 40%); pointer-events: none; }
.hero-in { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; padding-top: var(--gnb-h); }
.hero-copy { max-width: 760px; }
.hero-copy .eyebrow { color: #cdb6e3; }
.hero-copy h1 { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(90deg, #d7c2f0, #9fe3c3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { margin-top: 22px; font-size: clamp(16px, 1.6vw, 20px); color: rgba(255, 255, 255, .82); max-width: 620px; }
.hero-copy .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-txt { display: none; }
.hero-txt.is-on { display: block; animation: heroUp .9s var(--ease) both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 40px; }
.hero.has-stats .hero-nav { bottom: 118px; }
.hero.has-stats .hero-scroll { bottom: 200px; }
.hero-nav .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hero-nav button { position: relative; padding: 16px 0 0; border: 0; background: none; text-align: left; color: rgba(255, 255, 255, .6); font-size: 14.5px; font-weight: 700; transition: color .2s; }
.hero-nav button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255, 255, 255, .25); }
.hero-nav button::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: #fff; }
.hero-nav button.is-on { color: #fff; }
.hero-nav button.is-on::after { animation: heroBar var(--hero-t, 6s) linear forwards; }
.hero.is-paused .hero-nav button.is-on::after { animation-play-state: paused; }
.hero-nav button span { display: block; font-size: 12px; font-weight: 600; opacity: .7; }
@keyframes heroBar { to { width: 100%; } }
.hero-scroll { position: absolute; z-index: 3; right: 24px; bottom: 120px; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
@media (max-width: 767.98px) {
  .hero { min-height: 560px; height: 92vh; }
  .hero-nav { bottom: 24px; }
  .hero.has-stats .hero-nav { bottom: 64px; }
  .hero-nav .wrap { gap: 8px; }
  .hero-nav button { font-size: 12.5px; padding-top: 12px; }
  .hero-nav button span, .hero-scroll { display: none; }
  .hero-copy .btns .btn { height: 46px; padding: 0 18px; }
}

/* ---------- 숫자 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 34px 28px; border-left: 1px solid var(--c-line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; color: var(--c-ink); line-height: 1.1; }
.stat b small { font-size: .5em; font-weight: 700; margin-left: 3px; color: var(--c-brand-2); }
.stat > span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--c-muted); }
.stats-over { position: relative; z-index: 4; margin-top: -70px; }
@media (max-width: 767.98px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { padding: 22px 18px; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--c-line); } .stats-over { margin-top: -40px; } }

/* ---------- 사업분야 카드 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.biz-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: 30px 26px; overflow: hidden; border-radius: var(--radius-lg); color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.biz-card .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .7s var(--ease); }
.biz-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 12, 40, .05) 20%, rgba(20, 12, 40, .88) 100%); transition: background .3s; }
.biz-card:hover .bg { transform: scale(1.07); }
.biz-card:hover::before { background: linear-gradient(180deg, rgba(72, 47, 141, .35) 0%, rgba(40, 22, 80, .92) 100%); }
.biz-card .no { position: absolute; top: 24px; left: 26px; font-size: 13px; font-weight: 800; letter-spacing: .12em; opacity: .75; }
.biz-card h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.biz-card p { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.biz-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.biz-card li { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: 12.5px; }
.biz-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 14px; font-weight: 700; }
.biz-card .more::after { content: "→"; transition: transform .2s; }
.biz-card:hover .more::after { transform: translateX(4px); }
@media (max-width: 1023.98px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } .biz-card { min-height: 340px; } }
@media (max-width: 575.98px) { .biz-grid { grid-template-columns: 1fr; } .biz-card { min-height: 280px; } }

/* ---------- 소개 split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--c-bg-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge { position: absolute; left: 20px; bottom: 20px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); font-size: 14px; color: var(--c-muted); }
.split-media .badge b { display: block; font-size: 22px; color: var(--c-ink); }
.checks { margin-top: 28px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d6b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks li b { color: var(--c-ink); }
@media (max-width: 1023.98px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev > :first-child { order: 0; } }

/* ---------- 실적 카드 ---------- */
.works-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.works-filter button { height: 40px; padding: 0 18px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 600; color: var(--c-text); transition: all .2s; }
.works-filter button:hover { border-color: var(--c-brand); color: var(--c-brand); }
.works-filter button.is-on { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.works-filter button em { font-style: normal; margin-left: 4px; opacity: .6; font-weight: 500; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; }
.work:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.work .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-2); }
.work .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover .thumb img { transform: scale(1.05); }
.work .thumb .chips { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; }
.work .thumb .chip { background: rgba(255, 255, 255, .94); }
.work .thumb .chip-mock { background: #fff4e0; }
.work .body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.work .meta { display: flex; gap: 10px; font-size: 13.5px; color: var(--c-muted); }
.work .meta b { color: var(--c-brand-2); font-weight: 700; }
.work h3 { margin-top: 8px; font-size: 19px; line-height: 1.4; font-weight: 800; letter-spacing: -.02em; color: var(--c-ink); }
.work p { margin-top: 8px; font-size: 14.5px; color: var(--c-muted); }
.work dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--c-line); font-size: 14px; }
.work dt { color: var(--c-muted); }
.work dd { color: var(--c-ink); font-weight: 600; }
.work[hidden] { display: none; }
/* 2026-11-21 카드 전체가 상세(worksview.html) 링크 */
.work { position: relative; }
.work-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.work-link:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 2px; }
/* 사업실적 상세 */
.work-view .post-head .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.work-view .wv-cover { margin: 26px 0 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-bg-2); aspect-ratio: 16 / 9; }
.work-view .wv-cover img { width: 100%; height: 100%; object-fit: cover; }
.work-view .wv-lead { margin: 26px 0 0; font-size: 18px; line-height: 1.7; color: var(--c-ink); font-weight: 600; }
.work-view .wv-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 0; }
.work-view .wv-facts div { padding: 16px 18px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg-2); }
.work-view .wv-facts dt { font-size: 13px; color: var(--c-muted); }
.work-view .wv-facts dd { margin: 4px 0 0; font-weight: 700; color: var(--c-ink); overflow-wrap: anywhere; }
.work-view .wv-more { margin-top: 48px; }
.work-view .wv-more h2 { margin-bottom: 18px; font-size: 20px; font-weight: 800; color: var(--c-ink); }
@media (max-width: 767.98px) { .work-view .wv-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1023.98px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .works-grid { grid-template-columns: 1fr; } }
.mock-note { margin-bottom: 28px; padding: 14px 18px; border-radius: 12px; background: #fff8eb; color: #7a4a06; font-size: 14.5px; }

/* ---------- 서브 페이지 머리 ---------- */
.sub-hero { position: relative; padding: calc(var(--gnb-h) + 90px) 0 70px; overflow: hidden; background: var(--c-dark); color: #fff; isolation: isolate; }
.sub-hero .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.sub-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 10, 38, .9) 0%, rgba(40, 22, 80, .62) 60%, rgba(40, 22, 80, .35) 100%); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.crumb a:hover { color: #fff; }
.crumb span + span::before, .crumb a + span::before, .crumb a + a::before { content: "/"; margin-right: 8px; opacity: .5; }
.sub-hero h1 { margin-top: 14px; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; }
.sub-hero p { margin-top: 14px; max-width: 680px; font-size: clamp(15.5px, 1.4vw, 18.5px); color: rgba(255, 255, 255, .8); }
.sub-hero.plain { background: var(--c-bg-2); color: var(--c-ink); padding: calc(var(--gnb-h) + 56px) 0 44px; }
.sub-hero.plain::before { display: none; }
.sub-hero.plain .crumb { color: var(--c-muted); }
.sub-hero.plain p { color: var(--c-muted); }
.sub-hero.plain.slim { padding: calc(var(--gnb-h) + 22px) 0 0; background: transparent; }
.sub-hero.plain.slim + .page-body { padding-top: 18px !important; }
@media (max-width: 767.98px) { .sub-hero { padding: calc(var(--gnb-h) + 56px) 0 44px; } }

/* 페이지 안 탭 (구역 바로가기) */
html:has(.sub-tabs) { scroll-padding-top: calc(var(--gnb-h) + 72px); }
.sub-tabs { position: sticky; top: var(--gnb-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--c-line); }
.sub-tabs ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sub-tabs ul::-webkit-scrollbar { display: none; }
.sub-tabs a { position: relative; display: block; padding: 18px 16px; font-size: 15.5px; font-weight: 600; color: var(--c-muted); white-space: nowrap; }
.sub-tabs a:hover { color: var(--c-ink); }
.sub-tabs a.is-on { color: var(--c-brand); }
.sub-tabs a.is-on::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--c-brand); }

/* ---------- 서비스 카드 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.svc-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.svc { padding: 30px 28px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; transition: box-shadow .25s, border-color .25s; }
.svc:hover { box-shadow: var(--shadow); border-color: transparent; }
.svc .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c-brand-soft); color: var(--c-brand); }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { margin-top: 20px; font-size: 19.5px; font-weight: 800; letter-spacing: -.02em; color: var(--c-ink); }
.svc p { margin-top: 8px; font-size: 15px; color: var(--c-muted); }
.svc ul { margin-top: 14px; display: grid; gap: 6px; font-size: 14.5px; }
.svc ul li { position: relative; padding-left: 14px; }
.svc ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-brand-2); }
.sec-gray .svc { border-color: transparent; }
@media (max-width: 1023.98px) { .svc-grid, .svc-grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .svc-grid, .svc-grid.c2, .svc-grid.c4 { grid-template-columns: 1fr; } }

/* 진행 단계 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: st; }
.steps li { position: relative; padding: 26px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); counter-increment: st; }
.steps li::before { content: "0" counter(st); display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--c-brand-2); }
.steps b { display: block; margin-top: 8px; font-size: 17px; color: var(--c-ink); }
.steps span { display: block; margin-top: 6px; font-size: 14px; color: var(--c-muted); }
@media (max-width: 1023.98px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* 운영 시설 (위탁운영 등) */
.place { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.place + .place { margin-top: 28px; }
.place .ph { position: relative; min-height: 340px; background: var(--c-bg-2); }
.place .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place .tx { padding: 40px 40px 36px; }
.place h3 { margin-top: 10px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--c-ink); }
.place .desc { margin-top: 10px; color: var(--c-muted); }
.place dl { display: grid; grid-template-columns: 76px 1fr; gap: 10px 16px; margin-top: 22px; font-size: 15px; }
.place dt { color: var(--c-muted); }
.place dd { color: var(--c-ink); font-weight: 600; }
.place .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
@media (max-width: 1023.98px) { .place { grid-template-columns: 1fr; } .place .ph { min-height: 240px; aspect-ratio: 16/9; } .place .tx { padding: 28px 22px; } }

/* 고객사 로고 띠 */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.clients li { display: grid; place-items: center; min-height: 86px; padding: 14px; border: 1px solid var(--c-line); border-radius: 14px; background: #fff; text-align: center; font-size: 14.5px; font-weight: 700; color: var(--c-text); }
.clients li small { display: block; font-size: 12px; font-weight: 500; color: var(--c-muted); }
@media (max-width: 767.98px) { .clients { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 회사소개 ---------- */
.ceo { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.ceo blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.5; font-weight: 700; letter-spacing: -.02em; color: var(--c-ink); }
.ceo blockquote em { font-style: normal; color: var(--c-brand); }
.ceo .txt p + p { margin-top: 16px; }
.ceo .sign { margin-top: 28px; font-size: 15px; color: var(--c-muted); }
.ceo .sign b { margin-left: 8px; font-size: 20px; color: var(--c-ink); }
@media (max-width: 1023.98px) { .ceo { grid-template-columns: 1fr; gap: 28px; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 34px 30px; border-radius: var(--radius-lg); background: #fff; }
.value b { display: block; font-size: 42px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.value h3 { margin-top: 18px; font-size: 20px; font-weight: 800; color: var(--c-ink); }
.value p { margin-top: 8px; color: var(--c-muted); font-size: 15px; }
@media (max-width: 767.98px) { .values { grid-template-columns: 1fr; } }
.timeline { position: relative; display: grid; gap: 0; }
.tl-year { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--c-line); }
.tl-year:last-child { border-bottom: 1px solid var(--c-line); }
.tl-year h3 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--c-brand); line-height: 1.1; }
.tl-year ul { display: grid; gap: 12px; }
.tl-year li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; font-size: 16px; }
.tl-year li span { font-weight: 800; color: var(--c-ink); }
@media (max-width: 767.98px) { .tl-year { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; } .tl-year h3 { font-size: 28px; } }
.ci-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ci-box .logo-pad { display: grid; place-items: center; min-height: 220px; border-radius: var(--radius-lg); border: 1px solid var(--c-line); background: #fff; }
.ci-box .logo-pad.dark { background: var(--grad); border-color: transparent; }
.ci-box .logo-pad img { width: min(320px, 70%); }
.ci-colors { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.ci-colors div { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ci-colors i { width: 34px; height: 34px; border-radius: 10px; }
.ci-colors i.is-white { box-shadow: inset 0 0 0 1px var(--c-line); }
.ci-box .logo-pad { position: relative; margin: 0; }
.ci-box .logo-pad figcaption { position: absolute; left: 16px; bottom: 12px; font-size: 13px; color: var(--c-muted); }
.ci-box .logo-pad.dark figcaption { color: rgba(255, 255, 255, .8); }
@media (max-width: 767.98px) { .ci-box { grid-template-columns: 1fr; } }

/* ---------- 찾아오시는 길 / 정보표 ---------- */
.map-box { overflow: hidden; height: 460px; border-radius: var(--radius-lg); background: var(--c-bg-2); box-shadow: var(--shadow); }
@media (max-width: 767.98px) { .map-box { height: 320px; } }
.map-box iframe, .map-box > div { width: 100%; height: 100%; border: 0; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.info-card { padding: 26px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.info-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--c-ink); }
.info-card h3 svg { width: 22px; height: 22px; color: var(--c-brand); }
.info-card p, .info-card li { margin-top: 10px; font-size: 15px; }
.info-card li + li { margin-top: 4px; }
.info-card a { color: var(--c-brand); font-weight: 600; }
@media (max-width: 767.98px) { .info-cards { grid-template-columns: 1fr; } }

/* ---------- CTA 띠 ---------- */
.cta-band { position: relative; overflow: hidden; padding: 64px 56px; border-radius: var(--radius-lg); background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(159, 227, 195, .35), transparent 70%); }
.cta-band h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.cta-band p { margin-top: 8px; color: rgba(255, 255, 255, .8); }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 767.98px) { .cta-band { padding: 40px 24px; } }

/* 공지 목록 (메인) */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-box { min-width: 0; padding: 30px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.news-box .hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.news-box h3 { font-size: 20px; font-weight: 800; color: var(--c-ink); }
.news-box .hd a { font-size: 14px; color: var(--c-muted); }
.news-box li a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 15.5px; }
.news-box li:last-child a { border-bottom: 0; }
.news-box li a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c-ink); }
.news-box li a:hover span { color: var(--c-brand); }
.news-box li time { flex: none; font-size: 14px; color: var(--c-muted); }
.news-box .empty { padding: 24px 0; color: var(--c-muted); font-size: 15px; }
@media (max-width: 767.98px) { .news-grid { grid-template-columns: 1fr; } .news-box { padding: 22px; } }

/* ---------- footer ---------- */
.s-footer { padding: 64px 0 40px; background: #110d1b; color: #a9a3b6; font-size: 14px; }
.s-footer .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.s-footer .f-logo img { height: 30px; }
.s-footer .f-desc { margin-top: 14px; max-width: 360px; line-height: 1.7; }
.s-footer .f-menu { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 56px; }
.s-footer .f-menu h4 { margin-bottom: 6px; font-size: 14px; font-weight: 800; color: #fff; }
.s-footer .f-menu a { display: block; padding: 3px 0; }
.s-footer .f-menu a:hover { color: #fff; }
.s-footer .bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; }
.s-footer .f-info { display: flex; flex-wrap: wrap; gap: 4px 18px; max-width: 820px; }
.s-footer .f-info span b { margin-right: 6px; color: #d9d4e4; font-weight: 600; }
.s-footer .f-info-sub { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); align-items: center; }   /* 2026-11-27 시설관리법인 */
.s-footer .f-tag { padding: 1px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 12px; color: #d9d4e4; }
.s-footer .f-links { display: flex; gap: 16px; flex-wrap: wrap; }
.s-footer .f-links a { color: #d9d4e4; }
.s-footer .f-links a.strong { color: #fff; font-weight: 700; }
.s-footer .copy { margin-top: 16px; font-size: 13px; color: #6f6a7b; }
@media (max-width: 767.98px) { .s-footer { padding: 48px 0 32px; } .s-footer .f-menu { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; } }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--c-ink); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 나타나기 효과 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide, .hero-slide .bg { transition: none; }
}

/* ---------- 본문(글) 공통: 게시판·약관 등 ---------- */
.page-body { padding: 64px 0 110px; }
.prose { font-size: 16px; line-height: 1.85; color: var(--c-text); }
.prose h2 { margin: 2em 0 .6em; font-size: 22px; color: var(--c-ink); }
.prose h3 { margin: 1.6em 0 .5em; font-size: 18px; color: var(--c-ink); }
.prose p, .prose ul, .prose ol { margin: .8em 0; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose a { color: var(--c-brand); text-decoration: underline; }
.prose img { border-radius: 10px; }
.prose table { margin: 1em 0; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--c-line); }
.prose th { background: var(--c-bg-2); }

/* ---------- 게시판 · e-book (2단계) ---------- */
.board-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chips a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--c-line); border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--c-text); background: #fff; transition: border-color .2s, color .2s, background .2s; }
.cat-chips a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.cat-chips a.is-on { border-color: var(--c-brand); background: var(--c-brand); color: #fff; }
.board-search { display: flex; align-items: center; width: 300px; max-width: 100%; height: 44px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; overflow: hidden; }
.board-search:focus-within { border-color: var(--c-brand); box-shadow: 0 0 0 3px var(--c-brand-soft); }
.board-search input { flex: 1; min-width: 0; height: 100%; padding: 0 6px 0 18px; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; }
.board-search button { display: grid; place-items: center; width: 46px; height: 100%; border: 0; background: transparent; color: var(--c-brand); cursor: pointer; }
.board-search svg { width: 20px; height: 20px; }
.board-count { margin: 0 0 12px; font-size: 14.5px; color: var(--c-muted); }
.board-count b { color: var(--c-ink); }
.board-count a { margin-left: 8px; color: var(--c-brand); text-decoration: underline; }
.board-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--c-ink); }
.board-list li { border-bottom: 1px solid var(--c-line); }
.board-list li > a { display: grid; grid-template-columns: 90px 1fr 110px 90px; align-items: center; gap: 16px; padding: 18px 12px; color: var(--c-text); transition: background .15s; }
.board-list li > a:hover { background: var(--c-bg-2); }
.board-list li > a:hover .tt { color: var(--c-brand); }
.board-list .no { font-size: 13px; color: var(--c-muted); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list .tt { min-width: 0; font-size: 16.5px; font-weight: 600; color: var(--c-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list .tt .clip { margin-left: 6px; font-style: normal; font-size: 14px; }
.board-list .dt, .board-list .ct { font-size: 14px; color: var(--c-muted); text-align: center; }
.board-list .empty, .ebook-grid .empty { padding: 60px 12px; text-align: center; color: var(--c-muted); }
.ebook-grid .empty { grid-column: 1 / -1; }
mark { padding: 0 2px; border-radius: 3px; background: #fff1a8; color: inherit; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pager a, .pager strong, .pager span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.pager a { color: var(--c-text); border: 1px solid var(--c-line); background: #fff; }
.pager a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pager strong { background: var(--c-brand); color: #fff; }
.pager .off { color: #c9c5d0; border: 1px solid var(--c-line); }
@media (max-width: 760px) {
  .board-top { flex-direction: column; align-items: stretch; }
  .board-search { width: 100%; }
  .board-list li > a { grid-template-columns: 1fr auto; grid-template-areas: "tt tt" "dt ct"; gap: 6px 12px; padding: 16px 4px; }
  .board-list .no { display: none; }
  .board-list .tt { grid-area: tt; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .board-list .dt { grid-area: dt; text-align: left; }
  .board-list .ct { grid-area: ct; text-align: right; }
}
/* 글 보기 */
.post { max-width: 900px; margin: 0 auto; }
.post-head { padding: 8px 0 26px; border-bottom: 1px solid var(--c-line); }
.post-head h1 { margin: 14px 0; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.35; font-weight: 800; color: var(--c-ink); letter-spacing: -.02em; }
.post-head .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--c-muted); }
.post-head .meta b { color: var(--c-text); }
.post-body { padding: 32px 0; font-size: 17px; line-height: 1.85; }
.post-body img, .post-body video, .post-body iframe { max-width: 100%; height: auto; }
.post-body table { max-width: 100%; display: block; overflow-x: auto; }
.dg-sum { margin: 28px 0 0; padding: 18px 22px; border-left: 4px solid var(--c-green); border-radius: 0 var(--radius) var(--radius) 0; background: var(--c-green-soft); font-size: 15.5px; line-height: 1.7; }
.dg-sum .dg-sum-h { margin-bottom: 6px; font-size: 13px; font-weight: 800; color: var(--c-green); }
.dg-sum p { margin: 0 0 4px; }
.dg-sum p:last-child { margin-bottom: 0; }
.dg-sum-list { margin: 0; padding: 0; list-style: none; }
.dg-sum-list li { position: relative; margin: 4px 0; padding-left: 22px; }
.dg-sum-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--c-green); font-weight: 800; }
.post-files { margin: 8px 0 28px; padding: 20px 22px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg-2); }
.post-files h2 { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--c-ink); }
.post-files ul { margin: 0; padding: 0; list-style: none; }
.post-files li a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--c-text); }
.post-files li a:hover span { color: var(--c-brand); text-decoration: underline; }
.post-files svg { flex: none; width: 18px; height: 18px; color: var(--c-brand); }
.post-files span { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.post-files small { flex: none; color: var(--c-muted); }
.post-files .dg-copy-foot { margin: 12px 0 0; font-size: 13.5px; color: var(--c-muted); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.post-nav > a, .post-nav > span { display: block; min-width: 0; padding: 16px 18px; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-text); }
.post-nav > a:hover { border-color: var(--c-brand); }
.post-nav > *:last-child { text-align: right; }
.post-nav small { display: block; font-size: 12.5px; color: var(--c-muted); }
.post-nav > * > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.post-nav .off { color: #b5b1bc; }
.post-foot { margin-top: 28px; text-align: center; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav > *:last-child { text-align: left; } }
/* e-book */
.ebook-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.ebook { display: block; color: var(--c-text); }
.ebook .cover { display: block; aspect-ratio: 1 / 1.3; border: 1px solid var(--c-line); overflow: hidden; border-radius: 12px; background: var(--c-bg-2); box-shadow: var(--shadow); }
.ebook .cover img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.ebook:hover .cover img { transform: scale(1.04); }
.ebook .tx { display: block; padding-top: 14px; }
.ebook strong { display: block; font-size: 16.5px; line-height: 1.4; color: var(--c-ink); }
.ebook:hover strong { color: var(--c-brand); }
.ebook .sm { display: -webkit-box; margin-top: 6px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; color: var(--c-muted); }
.ebook .by { display: block; margin-top: 6px; font-size: 13px; color: var(--c-brand); font-weight: 600; }
.ebook-frame { position: relative; margin-top: 26px; padding-top: max(60%, 324px); border-radius: var(--radius); overflow: hidden; background: var(--c-bg-2); }
.ebook-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hint { margin: 10px 0 0; font-size: 13.5px; color: var(--c-muted); }
@media (max-width: 1000px) { .ebook-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ebook-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } }

/* ---------- 입력 양식 (문의·회원) ---------- */
.btn-lg { height: 56px; padding: 0 34px; font-size: 16.5px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.form-wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.form-wrap.narrow { grid-template-columns: minmax(0, 560px); justify-content: center; }
.form-side { display: grid; gap: 16px; position: sticky; top: calc(var(--gnb-h) + 20px); }
.side-card { padding: 22px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg-2); font-size: 14.5px; }
.side-card h2 { margin: 0 0 10px; font-size: 16px; font-weight: 800; color: var(--c-ink); }
.side-card ul { margin: 0; padding-left: 18px; }
.side-card li { margin: 6px 0; }
.side-card li.warn { color: #c2362b; }
.side-card a { color: var(--c-brand); text-decoration: underline; }
.side-card p { margin: 6px 0 0; }
.side-card .tel a { font-size: 22px; font-weight: 800; color: var(--c-ink); text-decoration: none; }
.side-card .muted, .muted { color: var(--c-muted); }
.form-card { padding: 34px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.form-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 20px; font-size: 19px; font-weight: 800; color: var(--c-ink); }
.form-title small { font-size: 13px; font-weight: 500; color: var(--c-muted); }
.form-title i, .f-label.req::after { color: #d6382b; font-style: normal; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.f-row { min-width: 0; }
.f-row.full { grid-column: 1 / -1; }
.f-label { display: block; margin-bottom: 7px; font-size: 14.5px; font-weight: 700; color: var(--c-ink); }
.f-label.req::after { content: " *"; }
.f-input { display: block; width: 100%; height: 50px; padding: 0 16px; border: 1px solid #d9d5e0; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--c-ink); transition: border-color .2s, box-shadow .2s; }
textarea.f-input { height: auto; min-height: 180px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.f-input:focus { outline: 0; border-color: var(--c-brand); box-shadow: 0 0 0 3px var(--c-brand-soft); }
.f-input[readonly] { background: var(--c-bg-2); color: var(--c-muted); }
.f-input.code { width: 130px; flex: none; font-weight: 800; letter-spacing: .15em; text-align: center; color: var(--c-brand); }
.f-code { display: flex; gap: 10px; max-width: 380px; }
.f-hint { margin: 6px 0 0; font-size: 13px; color: var(--c-muted); }
.f-err { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; color: #d6382b; }
.f-inline { display: flex; gap: 8px; }
.f-inline .f-input { flex: 1; min-width: 0; }
.f-inline .btn { flex: none; height: 50px; border-radius: 12px; }
.f-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.f-radios label { position: relative; cursor: pointer; }
.f-radios input { position: absolute; opacity: 0; }
.f-radios span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid #d9d5e0; border-radius: 999px; font-size: 15px; font-weight: 600; transition: all .2s; }
.f-radios input:checked + span { border-color: var(--c-brand); background: var(--c-brand-soft); color: var(--c-brand); }
.f-radios input:focus-visible + span { box-shadow: 0 0 0 3px var(--c-brand-soft); }
.f-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; color: var(--c-ink); }
.f-check input { width: 20px; height: 20px; accent-color: var(--c-brand); }
.agree-box { margin-top: 28px; padding: 20px 22px; border-radius: var(--radius); background: var(--c-bg-2); font-size: 14px; }
.agree-box h3 { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: var(--c-ink); }
.agree-box ul { margin: 0 0 14px; padding-left: 18px; color: var(--c-text); }
.agree-box li { margin: 4px 0; }
.agree-box a { color: var(--c-brand); text-decoration: underline; }
.f-actions { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.f-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 14.5px; color: var(--c-muted); }
.f-links a { color: var(--c-text); }
.f-links a:hover { color: var(--c-brand); }
@media (max-width: 960px) {
  .form-wrap { grid-template-columns: 1fr; }
  .form-side { position: static; order: 2; }
}
@media (max-width: 600px) {
  .form-card { padding: 22px 18px; border-radius: var(--radius); }
  .f-grid { grid-template-columns: 1fr; }
  .f-actions .btn { width: 100%; }
}

/* ---------- 회원 (로그인·가입·마이페이지) ---------- */
.auth-page { display: grid; place-items: start center; min-height: calc(100vh - 200px); padding: calc(var(--gnb-h) + 56px) 16px 90px; background: linear-gradient(180deg, var(--c-bg-2) 0%, #fff 70%); }
.auth-card { width: 100%; max-width: 460px; padding: 40px 36px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.auth-card.wide { max-width: 560px; }
.auth-card h1 { margin: 0 0 8px; font-size: 28px; font-weight: 800; color: var(--c-ink); letter-spacing: -.02em; }
.auth-card .lead { margin: 0 0 28px; color: var(--c-muted); font-size: 15px; }
.auth-btn { width: 100%; margin-top: 22px; }
.auth-rc { display: flex; justify-content: center; margin: 18px 0 0; }
.auth-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: var(--c-bg-2); font-size: 13.5px; color: var(--c-muted); }
.auth-note svg { flex: none; width: 20px; height: 20px; color: var(--c-brand); }
.auth-note p { margin: 0; }
.auth-note a { color: var(--c-brand); text-decoration: underline; }
.f-stack { display: grid; gap: 18px; }
.f-ok { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; color: var(--c-green); }
.f-dup { margin-top: 8px; padding: 10px 14px; border-radius: 10px; background: #fdeceb; font-size: 13.5px; color: #b3261e; }
.f-dup a { font-weight: 700; text-decoration: underline; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 24px; padding: 4px; border-radius: 14px; background: var(--c-bg-2); }
.seg button { height: 44px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--c-muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--c-brand); box-shadow: 0 2px 8px rgba(32, 18, 66, .1); }
.b2b-box { display: grid; gap: 18px; padding: 20px; border: 1px dashed #d9d5e0; border-radius: var(--radius); }
.btn-danger { background: #d6382b; color: #fff; }
.btn-danger:hover { background: #b92c21; }
.warn-card { border-color: rgba(214, 56, 43, .35); background: #fdf3f2; }
.warn-card h2 { color: #b3261e; }
.my-tabs a.is-on { color: var(--c-brand); }
.my-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.my-card { display: block; padding: 30px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); color: var(--c-text); }
.my-profile { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--c-line); }
.my-profile strong { display: block; font-size: 20px; color: var(--c-ink); }
.my-profile div span { font-size: 14px; color: var(--c-muted); }
.avatar { position: relative; display: grid; place-items: center; flex: none; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: var(--grad); color: #fff; font-size: 24px; font-weight: 800; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.my-dl { display: grid; grid-template-columns: 90px 1fr; gap: 12px 16px; margin: 22px 0; font-size: 15px; }
.my-dl dt { color: var(--c-muted); }
.my-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; color: var(--c-ink); font-weight: 600; }
.my-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.my-stat { position: relative; transition: border-color .2s, transform .2s var(--ease); }
.my-stat:hover { border-color: var(--c-brand); transform: translateY(-3px); }
.my-stat .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-brand-soft); color: var(--c-brand); }
.my-stat .ic svg { width: 24px; height: 24px; }
.my-stat h2 { margin: 18px 0 4px; font-size: 19px; color: var(--c-ink); }
.my-stat p { margin: 0; font-size: 14.5px; color: var(--c-muted); }
.my-stat strong { display: block; margin-top: 22px; font-size: 44px; font-weight: 800; line-height: 1; color: var(--c-brand); }
.my-stat strong small { margin-left: 4px; font-size: 16px; color: var(--c-muted); }
.my-stat .go { display: inline-block; margin-top: 18px; font-size: 14.5px; font-weight: 700; color: var(--c-brand); }
.qna-list .st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-style: normal; font-weight: 700; }
.qna-list .st.done { background: var(--c-green-soft); color: var(--c-green); }
.qna-list .st.wait { background: var(--c-bg-2); color: var(--c-muted); }
.qna-answer { margin: 0 0 28px; padding: 24px 26px; border-left: 4px solid var(--c-brand); border-radius: 0 var(--radius) var(--radius) 0; background: var(--c-brand-soft); }
.qna-answer h2 { margin: 0 0 10px; font-size: 16px; font-weight: 800; color: var(--c-brand); }
.qna-answer h2 small { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--c-muted); }
.qna-wait { margin: 0 0 28px; padding: 16px 20px; border-radius: var(--radius); background: var(--c-bg-2); color: var(--c-muted); font-size: 14.5px; }
.f-switches { display: flex; flex-wrap: wrap; gap: 22px; }
.f-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.f-switch input { position: absolute; opacity: 0; }
.f-switch span { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #d9d5e0; transition: background .2s; }
.f-switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.f-switch input:checked + span { background: var(--c-brand); }
.f-switch input:checked + span::after { transform: translateX(20px); }
.f-switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--c-brand-soft); }
.f-file { display: flex; align-items: center; gap: 16px; }
.f-file input[type=file] { max-width: 100%; font: inherit; font-size: 14px; }
@media (max-width: 860px) { .my-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .auth-page { padding: calc(var(--gnb-h) + 24px) 12px 60px; }
  .auth-card { padding: 28px 20px; border-radius: var(--radius); }
  .my-card { padding: 22px 18px; }
  .my-dl { grid-template-columns: 70px 1fr; }
}

/* ---------- 뉴스레터 구독 ---------- */
.nl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-form { position: relative; }
.nl-row { display: flex; gap: 8px; }
.nl-row input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid #d9d5e0; border-radius: 999px; background: #fff; font: inherit; font-size: 16px; color: var(--c-ink); }
.nl-row input:focus { outline: 0; border-color: var(--c-brand); box-shadow: 0 0 0 3px var(--c-brand-soft); }
.nl-row .btn { flex: none; height: 52px; }
.nl-agree { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.nl-agree input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--c-brand); }
.nl-more { margin-left: 4px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; opacity: .8; }
.nl-info { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, .04); font-size: 12.5px; line-height: 1.6; }
.nl-info a { text-decoration: underline; }
.nl-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.nl-msg.ok { color: var(--c-green); }
.nl-msg.err { color: #d6382b; }
.nl-copy strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.nl-copy span { display: block; margin-top: 4px; font-size: 14.5px; opacity: .8; }
/* 바닥글 위 띠 */
.nl-band { padding: 28px 0 30px; background: none; color: var(--c-text); }
.nl-band > .wrap { position: relative; }
.nl-band > .wrap::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; border-top: 1px solid var(--c-line); }
.nl-band .nl-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: center; gap: 24px 40px; }
.nl-band .nl-copy strong { color: var(--c-ink); }
.nl-band .nl-copy span { color: var(--c-muted); opacity: 1; }
/* 본문 상자 */
.nl-wrap { margin-top: 28px; }
.nl-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: 20px 36px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--c-line); border-radius: 0; background: none; }
.nl-card .nl-copy strong { color: var(--c-ink); }
.nl-card .nl-copy span { color: var(--c-muted); opacity: 1; }
.nl-card .nl-agree { color: var(--c-text); }
/* 안내 화면 */
.nl-plain { margin-top: 8px; text-align: left; }
.nl-page .nl-form { margin-top: 18px; }
.auth-card .eyebrow { display: inline-block; margin-bottom: 8px; }
.nl-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: var(--c-green-soft); color: var(--c-green); }
.nl-icon svg { width: 32px; height: 32px; }
@media (max-width: 860px) {
  .nl-band .nl-form, .nl-card { grid-template-columns: 1fr; }
  .nl-card { padding: 20px 0 0; }
  .nl-band { padding: 22px 0 24px; }
  .nl-band > .wrap::before { top: -22px; }
}
@media (max-width: 480px) {
  .nl-row { flex-direction: column; }
  .nl-row .btn { width: 100%; }
}
.my-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.my-tile { position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; color: var(--c-text); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.my-tile:hover { border-color: var(--c-brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.my-tile .ic { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c-brand-soft); color: var(--c-brand); }
.my-tile .ic svg { width: 22px; height: 22px; }
.my-tile b { font-size: 16px; color: var(--c-ink); }
.my-tile span:not(.ic) { font-size: 13px; color: var(--c-muted); }
.my-tile .cnt { position: absolute; top: 14px; right: 14px; padding: 2px 9px; border-radius: 999px; background: var(--c-brand); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
@media (max-width: 480px) { .my-menu { grid-template-columns: 1fr; } }
/* 약관·개인정보처리방침 */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-toc { position: sticky; top: 96px; padding: 20px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; font-size: 14px; }
.legal-toc strong { display: block; margin-bottom: 10px; color: var(--c-ink); }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-toc a { color: var(--c-muted); }
.legal-toc a:hover { color: var(--c-brand); }
.legal-body { min-width: 0; }
.legal-body h2 { scroll-margin-top: 96px; margin: 40px 0 12px; font-size: 20px; }
.legal-body h2:first-of-type { margin-top: 24px; }
.legal-lead { padding: 18px 20px; border-radius: var(--radius); background: var(--c-brand-soft); }
.tbl-scroll { overflow-x: auto; margin: 12px 0; }
.tbl-scroll table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.tbl-scroll th, .tbl-scroll td { padding: 10px 12px; border: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.tbl-scroll thead th { background: #f6f6f9; }
.legal-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.legal-contacts > div { padding: 16px 18px; border: 1px solid var(--c-line); border-radius: var(--radius); }
.legal-contacts h3 { margin: 0 0 6px; font-size: 15px; }
.legal-contacts p { margin: 0; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; gap: 20px; } .legal-toc { position: static; } .legal-contacts { grid-template-columns: 1fr; } }
/* 사내자료실 */
.chip-lock { background: #fff4e5; color: #b45309; }
.sub-hero .chip-lock { margin-right: 6px; vertical-align: 1px; }
.intra { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; }
.intra-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.intra-sel { display: none; }
.intra-group { padding: 16px 14px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.intra-group h2 { display: flex; align-items: center; gap: 8px; margin: -4px -14px 10px; padding: 0 18px 12px; border-bottom: 1px solid var(--c-line); font-size: 16px; font-weight: 800; color: var(--c-brand); letter-spacing: -.01em; }
.intra-group h2::before { content: ""; flex: none; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23482f8d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5A1.5 1.5 0 0 1 4.5 6H9l2 2h8.5A1.5 1.5 0 0 1 21 9.5v8a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 17.5z'/%3E%3C/svg%3E") center / 16px no-repeat; }
.intra-group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.intra-group a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 14.5px; color: var(--c-text); line-height: 1.4; }
.intra-group a:hover { background: #f5f5f8; color: var(--c-ink); }
.intra-group a.is-on { background: var(--c-brand-soft); color: var(--c-brand); font-weight: 700; }
.intra-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; color: var(--c-text); transition: border-color .2s, box-shadow .2s; }
.intra-link:hover { border-color: var(--c-brand); box-shadow: var(--shadow); }
.intra-link .ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--c-bg-2); }
.intra-link .tx { flex: 1; min-width: 0; }
.intra-link b { display: block; font-size: 15px; font-weight: 800; color: var(--c-ink); line-height: 1.3; }
.intra-link small { display: block; font-size: 12.5px; color: var(--c-muted); }
.intra-link .go { flex: none; font-size: 15px; color: var(--c-muted); }
.intra-link:hover .go { color: var(--c-brand); }
.intra-main { min-width: 0; }
.intra-main .board-top { align-items: center; }
.intra-main .board-count { margin: 0; }
.tag-imp { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 6px; background: #fdecec; color: #c0392b; font-size: 12px; font-style: normal; font-weight: 700; vertical-align: 2px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.post-tags a { padding: 4px 12px; border-radius: 999px; background: #f3f3f7; color: var(--c-muted); font-size: 13px; }
.post-tags a:hover { background: var(--c-brand-soft); color: var(--c-brand); }
@media (max-width: 900px) {
  .intra { grid-template-columns: 1fr; gap: 16px; }
  .intra-side { position: static; }
  .intra-sel { display: block; }
  .intra-group { display: none; }
}
.intra-note { margin: 0 0 14px; padding: 12px 16px; border-radius: var(--radius); background: #fff8eb; color: #8a5a00; font-size: 14px; }
.board-list li > .row-off { display: grid; grid-template-columns: 90px 1fr 110px 90px; align-items: center; gap: 16px; padding: 18px 12px; cursor: default; }
.board-list li > .row-off .tt { color: var(--c-muted); font-weight: 500; }
@media (max-width: 760px) { .board-list li > .row-off { grid-template-columns: 1fr auto; grid-template-areas: "tt tt" "dt ct"; gap: 6px 12px; padding: 16px 4px; } }
.empty-box { padding: 48px 24px; border: 1px dashed var(--c-line); border-radius: var(--radius); text-align: center; color: var(--c-muted); }
.empty-box b { display: block; margin-bottom: 6px; font-size: 17px; color: var(--c-ink); }
.intra-guest { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding: 16px 20px; border: 1px solid var(--c-line); border-left: 3px solid var(--c-brand); border-radius: var(--radius); }
.intra-guest b { display: block; color: var(--c-ink); font-size: 15.5px; }
.intra-guest span { display: block; margin-top: 2px; color: var(--c-muted); font-size: 13.5px; }
.intra-guest .btns { display: flex; flex: none; gap: 8px; }
@media (max-width: 760px) { .intra-guest { flex-direction: column; align-items: stretch; } .intra-guest .btns .btn { flex: 1; } }
/* 메인: 강점 4가지 (숫자 칸 자리) + 지금 진행 중 (2026-11-20) */
.stats.points .point { display: block; padding: 28px 26px 30px; color: inherit; transition: background .2s; }
.stats.points .point:hover { background: #faf9fc; }
.stats.points .pt-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: var(--c-brand-soft); color: var(--c-brand); }
.stats.points .pt-ic svg { width: 23px; height: 23px; }
.stats.points .point b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.stats.points .point > span:last-child { margin-top: 8px; font-size: 14px; line-height: 1.6; }
.ongoing { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 14px 18px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; }
.og-label { flex: none; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--c-ink); white-space: nowrap; }
.og-label i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: ogPulse 1.8s infinite; }
.og-label small { padding: 1px 7px; border-radius: 6px; background: #f1f1f5; color: var(--c-muted); font-size: 11px; font-weight: 700; }
@keyframes ogPulse { 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.og-view { display: flex; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.og-track { display: flex; flex: none; gap: 28px; margin: 0; padding: 0 28px 0 0; list-style: none; animation: ogMove 45s linear infinite; }
.ongoing:hover .og-track { animation-play-state: paused; }
@keyframes ogMove { to { transform: translateX(-100%); } }
.og-track a { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; font-size: 14.5px; color: var(--c-text); }
.og-track a:hover b { color: var(--c-brand); }
.og-track em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--c-brand); }
.og-track b { font-weight: 700; color: var(--c-ink); }
.og-track span { font-size: 13px; color: var(--c-muted); }
@media (prefers-reduced-motion: reduce) { .og-track { animation: none; } .og-view { overflow-x: auto; } }
@media (max-width: 767.98px) {
  .stats.points .point { padding: 20px 16px 22px; }
  .stats.points .pt-ic { width: 38px; height: 38px; margin-bottom: 12px; }
  .stats.points .point b { font-size: 15.5px; }
  .stats.points .point > span:last-child { font-size: 13px; }
  .ongoing { flex-direction: column; align-items: stretch; gap: 10px; border-radius: var(--radius); padding: 14px 14px 12px; }
}

/* 비회원 안내창 (2026-11-20) */
.guest-dlg { width: min(420px, calc(100vw - 32px)); padding: 30px 28px 26px; border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--c-text); box-shadow: var(--shadow-lg); text-align: center; }
.guest-dlg::backdrop { background: rgba(14, 9, 28, .55); }
.guest-dlg h2 { margin-top: 14px; font-size: 21px; font-weight: 800; color: var(--c-ink); }
.guest-dlg p { margin-top: 10px; font-size: 15.5px; line-height: 1.65; }
.guest-dlg p.sm { font-size: 13.5px; color: var(--c-muted); }
.guest-dlg .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.guest-dlg .btn-ghost { background: none; border: 0; color: var(--c-muted); }
