/* block:ezdentool/cta 0.1.0 */
/* 문의 띠 배너 */
.ezd-cta { overflow: hidden; isolation: isolate; }
.ezd-cta.has-image { background-image: var(--cta-img); background-position: center; background-size: cover; color: #fff; }
.ezd-cta.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 12, 24, .62); }
.ezd-cta.has-image.ezd-sec--primary::before { background: color-mix(in srgb, var(--ezd-primary) 82%, rgba(0, 0, 0, .4)); }
/* 대표 색 바탕: 빛 번짐 무늬 */
.ezd-cta.ezd-sec--primary:not(.has-image) { background-image: radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), radial-gradient(40% 90% at 0% 100%, rgba(0, 0, 0, .18), transparent 60%); }
.ezd-cta__in { display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.ezd-cta--split .ezd-cta__in { flex-direction: row; justify-content: space-between; text-align: left; }
.ezd-cta__title { margin: 0; color: inherit; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; word-break: keep-all; }
.ezd-cta__title em { font-style: normal; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.ezd-sec--light .ezd-cta__title em, .ezd-sec--soft .ezd-cta__title em, .ezd-sec--mist .ezd-cta__title em { color: var(--ezd-primary); text-decoration: none; }
.ezd-cta__desc { margin: 16px 0 0; font-size: 18px; line-height: 1.65; opacity: .8; word-break: keep-all; }
.ezd-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; flex-shrink: 0; }
.ezd-cta.has-image .ezd-sec__eyebrow, .ezd-cta.ezd-sec--primary .ezd-sec__eyebrow { color: rgba(255, 255, 255, .8); }

@media (max-width: 1024px) {
    .ezd-cta--split .ezd-cta__in { flex-direction: column; align-items: flex-start; }
    .ezd-cta__title { font-size: 32px; }
}

@media (max-width: 768px) {
    .ezd-cta__in { gap: 24px; }
    .ezd-cta__title { font-size: 24px; }
    .ezd-cta__desc { margin-top: 10px; font-size: 15px; }
    .ezd-cta__btns { width: 100%; }
    .ezd-cta__btns .ezd-btn { flex: 1; }
}

/* 짙은 하늘색 둥근 상자 (목업 .cta-band): 사이트 폭 안, 작은 제목 · 단추 */
/* 위는 붙이고 아래는 블록 "위아래 여백" 설정만큼 띄운다 (다음 구역과 붙지 않게) */
.ezd-sec.ezd-cta--band { padding-top: 0; background: none !important; }
/* 바로 앞 구역이 색 바탕(연한 회색 · 파랑 · 어두운 · 대표 색)이면 상자가 그 바탕에 붙어 보이므로 위도 아래만큼 띄운다 */
.bf-row:has(> .bf-block > section:is([class*="--soft"], [class*="--mist"], [class*="--dark"], [class*="--primary"])) + .bf-row .ezd-sec--pad-sm.ezd-cta--band { padding-top: var(--ezd-pad-sm); }
.bf-row:has(> .bf-block > section:is([class*="--soft"], [class*="--mist"], [class*="--dark"], [class*="--primary"])) + .bf-row .ezd-sec--pad-md.ezd-cta--band { padding-top: var(--ezd-pad-md); }
.bf-row:has(> .bf-block > section:is([class*="--soft"], [class*="--mist"], [class*="--dark"], [class*="--primary"])) + .bf-row .ezd-sec--pad-lg.ezd-cta--band { padding-top: var(--ezd-pad-lg); }
/* 사이트 폭 줄 안에서는 빌더가 .ezd-in 안쪽 여백을 0 으로 두므로 더 구체적으로 */
.ezd-sec.ezd-cta--band .ezd-cta__in.ezd-in { gap: 24px; padding: 44px 48px; border-radius: var(--ezd-r-18); background: linear-gradient(120deg, var(--ezd-ink-blue, #0a4a6b), var(--ezd-primary-dark)); color: #fff; }
.ezd-cta--band .ezd-cta__title { font-size: clamp(20px, 2.4vw, 27px); font-weight: 800; }
.ezd-cta--band .ezd-cta__desc { margin-top: 6px; font-size: 15px; opacity: .82; }
.ezd-cta--band .ezd-btn { min-height: 50px; }
.ezd-cta--band .ezd-btn .bf-icon { display: none; }
.ezd-cta--band .ezd-btn--white { color: var(--ezd-accent, #0e6e9e); }

@media (max-width: 768px) {
    .ezd-sec.ezd-cta--band .ezd-cta__in.ezd-in { padding: 32px 26px; }
}
/* 화면 가득 줄에서도 상자는 사이트 폭(좌우 여백 뺀 폭) 안에 — 위아래 블록의 카드와 끝을 맞춘다 */
.bf-row--bleed .ezd-sec.ezd-cta--band .ezd-cta__in.ezd-in { width: calc(100% - var(--bf-gutter, 20px) * 2); max-width: var(--bf-container-width, 1280px); }

/* block:ezdentool/features 0.3.0 */
/* 강점 카드 (목업 .features) */
.ezd-feat { padding: var(--ezd-pt, 90px) 0 var(--ezd-pb, 40px); color: var(--ezd-ink); }
.ezd-feat--soft { background: var(--ezd-soft-2); }
.ezd-feat__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ezd-feat__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ezd-feat__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ezd-feat__card { display: block; padding: 30px 26px; border: 1px solid var(--ezd-line); border-radius: var(--ezd-r-18); background: #fff; color: inherit; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, opacity .7s var(--ezd-ease); }
.ezd-feat__card:hover { border-color: color-mix(in srgb, var(--ezd-primary) 40%, transparent); box-shadow: var(--ezd-shadow); transform: translateY(-6px); }
.ezd-feat__ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: var(--ezd-r-16); background: linear-gradient(135deg, var(--ezd-primary-soft), #ddf1fb); color: var(--ezd-primary-dark); font-size: 24px; }
.ezd-feat__title { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.ezd-feat__text { margin: 0; color: var(--ezd-muted); font-size: 14.5px; line-height: 1.6; word-break: keep-all; }

@media (max-width: 1024px) {
    .ezd-feat__grid, .ezd-feat__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .ezd-feat { padding: min(var(--ezd-pt, 90px), 48px) 0 min(var(--ezd-pb, 40px), 24px); }
    .ezd-feat__grid, .ezd-feat__grid--3 { gap: 12px; }
    .ezd-feat__card { padding: 22px 18px; border-radius: var(--ezd-r-14); }
    .ezd-feat__ico { width: 46px; height: 46px; margin-bottom: 14px; border-radius: var(--ezd-r-13); font-size: 21px; }
    .ezd-feat__title { font-size: 16px; }
    .ezd-feat__text { font-size: 13.5px; }
}

@media (max-width: 480px) {
    .ezd-feat__grid, .ezd-feat__grid--3, .ezd-feat__grid--2 { grid-template-columns: 1fr; }
}

/* 카드 위 작은 글 · 아래 꼬리표 (0.2.0) */
.ezd-feat__eyebrow { margin: 0 0 6px; color: var(--ezd-primary-dark); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; }
.ezd-feat__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.ezd-feat__tags span { padding: 5px 11px; border-radius: 99px; background: var(--ezd-primary-soft); color: var(--ezd-accent); font-size: 12.5px; font-weight: 600; }
.ezd-feat__grid--1 { grid-template-columns: minmax(0, 1fr); }
.ezd-feat__grid--1 .ezd-feat__card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: start; }
.ezd-feat__grid--1 .ezd-feat__ico { grid-row: span 4; margin-bottom: 0; }
/* 짙은 하늘색 바탕: 반투명 흰 카드 */
.ezd-feat--dark { background: linear-gradient(120deg, var(--ezd-ink-blue, #0a4a6b) 0%, var(--ezd-accent) 45%, var(--ezd-primary-dark) 100%); color: #fff; }
.ezd-feat--dark .ezd-hrow__eyebrow { color: rgba(255, 255, 255, .78); }
.ezd-feat--dark .ezd-hrow__title { color: #fff; }
.ezd-feat--dark .ezd-hrow__desc { color: rgba(255, 255, 255, .8); }
.ezd-feat--dark .ezd-feat__card { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(6px); }
.ezd-feat--dark .ezd-feat__card:hover { border-color: rgba(255, 255, 255, .45); }
.ezd-feat--dark .ezd-feat__ico { background: rgba(255, 255, 255, .16); color: #fff; }
.ezd-feat--dark .ezd-feat__text { color: rgba(255, 255, 255, .8); }
.ezd-feat--dark .ezd-feat__eyebrow { color: #9fdcf5; }
.ezd-feat--dark .ezd-feat__tags span { background: rgba(255, 255, 255, .14); color: #fff; }

/* 카드 아래 파란 글 · 가운데 정렬 (0.3.0) */
.ezd-feat__action { margin: 12px 0 0; color: var(--ezd-primary-dark); font-size: 15px; font-weight: 800; }
.ezd-feat--dark .ezd-feat__action { color: #9fdcf5; }
.ezd-feat__grid.is-center .ezd-feat__card { text-align: center; }
.ezd-feat__grid.is-center .ezd-feat__ico { margin-left: auto; margin-right: auto; }
.ezd-feat__grid.is-center .ezd-feat__tags { justify-content: center; }

/* footer:ezdentool/business 0.2.0 */
/* 이지덴툴 푸터 (목업 .footer: 짙은 남색 바탕, 위 줄 링크 · 동그라미, 아래 회사 정보 · 공식 앱) */
.ezd-ft { background: #1b2a35; color: #93a5b1; font-size: 13.5px; line-height: 1.7; }
.ezd-ft a { color: inherit; text-decoration: none; }
.ezd-ft__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ezd-ft__links p { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; }
.ezd-ft__links a { color: #c4d2db; font-weight: 600; }
.ezd-ft__links a:hover { color: #fff; }
.ezd-ft__links strong, .ezd-ft__links strong a { color: var(--ezd-primary); font-weight: 600; }
.ezd-ft__sns { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ezd-ft__sns a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #c4d2db; font-size: 18px; transition: background-color .2s, color .2s; }
.ezd-ft__sns a:hover { background: var(--ezd-primary); color: #fff; }
.ezd-ft__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; padding: 34px 0 40px; }
.ezd-ft__meta p { margin: 0; }
.ezd-ft__logo { margin-bottom: 16px; }
.ezd-ft__logo .bf-logo-w { margin: 0; font-size: inherit; line-height: 1; }
.ezd-ft__logo .bf-logo-w__link { color: #fff; }
.ezd-ft__logo .bf-logo-w__text { color: #fff; font-weight: 800; }
.ezd-ft__logo img { width: auto; }
/* 회사 정보: 한 칸씩 끊어 흐르게 (bf/text 의 문단 안 · 로 나눈 글은 span 으로) */
.ezd-ft__info { max-width: 760px; }
.ezd-ft__info p { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ezd-ft__info span { max-width: 100%; }
.ezd-ft__copy { margin-top: 16px; color: #6b7b87; font-size: 12.5px; }
.ezd-ft__app { align-self: center; text-align: right; }
.ezd-ft__app-tit { margin: 0 0 12px; color: #c4d2db; font-weight: 700; }
.ezd-ft__app-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--ezd-r-12); color: #c4d2db; font-size: 13.5px; font-weight: 600; transition: border-color .2s, color .2s; }
.ezd-ft__app-btn:hover { border-color: var(--ezd-primary); color: #fff; }
.ezd-ft__app-btn .bf-icon { font-size: 16px; }

/* 맨 위로 (목업 .back-top: 흰 동그라미 · 파란 화살표) */
.ezd-float { position: fixed; right: 28px; bottom: 28px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.ezd-float__btn { position: relative; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid var(--ezd-line); border-radius: 50%; background: #fff; color: var(--ezd-primary-dark) !important; box-shadow: var(--ezd-shadow); font-size: 22px; cursor: pointer; transition: transform .2s; }
.ezd-float__btn:hover { transform: translateY(-3px); }
.ezd-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ezd-float__top { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; }
.ezd-float__top.is-shown { opacity: 1; visibility: visible; transform: none; }
html.ezd-drawer-open .ezd-float { display: none; }
body:has(.bf-edit-fab) .ezd-float { bottom: 82px; }

@media (max-width: 768px) {
    .ezd-ft__body { grid-template-columns: 1fr; gap: 24px; padding: 28px 0 32px; }
    .ezd-ft__app { text-align: left; }
    .ezd-float, body:has(.bf-edit-fab) .ezd-float { right: 14px; bottom: 14px; }
    .ezd-float__btn { width: 46px; height: 46px; font-size: 20px; }
}

@media print {
    .ezd-float, .ezd-ft__sns { display: none; }
}

/* header:ezdentool/business 0.4.0 */
/* 비즈니스 헤더 — 색은 --hd-* 로 한곳에서 바꾼다 (첫 배너 위에 겹칠 때 흰 글자 · 투명 바탕) */
.ezd-hd {
    --hd-fg: var(--ezd-ink, #111);
    --hd-sub: var(--ezd-muted, #666);
    --hd-bg: var(--ezd-bg, #fff);
    --hd-line: var(--ezd-line, #e5e7eb);
    position: relative;
    background: var(--hd-bg);
    color: var(--hd-fg);
    transition: background-color .3s, color .3s, border-color .3s;
}
.ezd-hd.has-border { border-bottom: 1px solid var(--hd-line); }
.ezd-hd__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; height: var(--ezd-hd-h, 80px); }
.ezd-hd__logo { min-width: 0; }
.ezd-hd__logo .bf-logo-w { margin: 0; font-size: inherit; line-height: 1; }
.ezd-hd__logo .bf-logo-w__link { display: inline-flex; align-items: center; color: var(--hd-fg); text-decoration: none; }
.ezd-hd .bf-logo-w__text { color: var(--hd-fg); font-size: var(--bf-logo-fs, 24px); font-weight: 800; letter-spacing: -0.03em; }
.ezd-hd .bf-logo-w__img--dark { display: none; }
.ezd-hd__nav { display: flex; justify-content: center; min-width: 0; height: 100%; }
.ezd-hd--menu-left .ezd-hd__nav { justify-content: flex-start; padding-left: 32px; }
.ezd-hd--menu-right .ezd-hd__nav { justify-content: flex-end; }
.ezd-hd__right { display: flex; align-items: center; gap: 6px; }
.ezd-hd__links { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.ezd-hd__links a, .ezd-hd__member .bf-member-w a { display: inline-flex; align-items: center; height: 40px; padding: 0 10px; color: var(--hd-fg); font-size: 15px; font-weight: 500; text-decoration: none; opacity: .88; }
.ezd-hd__links a:hover, .ezd-hd__member .bf-member-w a:hover { opacity: 1; color: var(--ezd-primary); }
.ezd-hd__member .bf-member-w { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.ezd-hd__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--hd-fg); font-size: 22px; cursor: pointer; }
.ezd-hd__icon:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.ezd-hd__cta { display: inline-flex; align-items: center; height: 40px; margin-left: 10px; padding: 0 20px; border-radius: var(--ezd-r-12); background: var(--ezd-primary); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .2s; }
.ezd-hd__cta:hover { background: var(--ezd-primary-dark); color: #fff; }
.ezd-hd__menu-btn { display: none; }

/* 검색: 헤더 아래로 펼쳐지는 줄 */
.ezd-hd__search { position: absolute; top: 100%; left: 0; right: 0; border-top: 1px solid var(--ezd-line); background: var(--ezd-bg); box-shadow: 0 16px 30px rgba(15, 23, 42, .08); color: var(--ezd-ink); }
.ezd-hd__search-in { display: flex; align-items: center; gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.ezd-hd__search-box { flex: 1; min-width: 0; }
.ezd-hd__search .ezd-hd__icon { color: var(--ezd-ink); }

/* ---------- 첫 배너 위에 겹치기 (html.ezd-over: 첫 화면 맨 위 블록이 겹치기를 켠 첫 배너일 때 그 블록이 붙인다) */
html.ezd-over .bf-region--header { margin-bottom: calc(var(--ezd-over-h, 80px) * -1); }
/* 화면을 내리지 않았고, 마우스를 올리거나 메뉴 · 검색을 열지 않았을 때만 투명 */
html.ezd-over .bf-region--header:not(.is-stuck) .ezd-hd:not(:hover):not(:focus-within):not(.is-search-open) {
    --hd-fg: #fff;
    --hd-bg: transparent;
    --hd-line: rgba(255, 255, 255, .18);
}
html.ezd-over .bf-region--header:not(.is-stuck) .ezd-hd:not(:hover):not(:focus-within):not(.is-search-open) .bf-logo-w__img--light:has(+ .bf-logo-w__img--dark) { display: none; }
html.ezd-over .bf-region--header:not(.is-stuck) .ezd-hd:not(:hover):not(:focus-within):not(.is-search-open) .bf-logo-w__img--dark { display: inline; }
html.ezd-over .bf-region--header:not(.is-stuck) .ezd-hd:not(:hover):not(:focus-within):not(.is-search-open) .ezd-gnb__link::after { background: #fff; }

/* ---------- 휴대폰 전체 메뉴 (오른쪽에서 열리는 창) */
/* 휴대폰 회원 아이콘: 맨 위 줄 로그인 링크가 숨는 폭에서만 */
.ezd-hd__auth { display: none !important; }

@media (max-width: 768px) {
    .ezd-hd__auth { display: inline-flex !important; }
}

/* 휴대폰 전체 메뉴 (지금 ezdentool.shop 의 .m-menu 모양) */
.ezd-drawer { position: fixed; inset: 0; z-index: 10000; }
.ezd-drawer, .ezd-drawer :is(button, input, select, textarea) { font-family: var(--bf-font, inherit); }
.ezd-drawer__panel { line-height: 1.6; }
.ezd-drawer[hidden] { display: none; }
.ezd-drawer__backdrop { position: absolute; inset: 0; background: rgba(10, 40, 60, .4); opacity: 0; transition: opacity .36s cubic-bezier(.25, .46, .45, .94); }
.ezd-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 84%); padding: 28px 24px calc(28px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: var(--ezd-bg, #fff); color: var(--ezd-ink, #111); box-shadow: -12px 0 32px rgba(10, 40, 60, .12); box-sizing: border-box; transform: translateX(100%); transition: transform .36s cubic-bezier(.25, .46, .45, .94); }
.ezd-drawer.is-open .ezd-drawer__backdrop { opacity: 1; }
.ezd-drawer.is-open .ezd-drawer__panel { transform: none; }
.ezd-drawer__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--ezd-r-10); background: none; color: var(--ezd-muted, #5a6b78); font-size: 26px; cursor: pointer; }
.ezd-drawer__close:hover { background: var(--ezd-soft-2, #f4fafe); color: var(--ezd-ink); }
/* 로그인 칸 */
.ezd-drawer__auth { margin-top: 52px; padding-bottom: 18px; border-bottom: 1px solid var(--ezd-line, #e3edf3); }
.ezd-drawer__auth-btns { display: flex; gap: 10px; }
.ezd-drawer__auth-btns a { display: grid; flex: 1; place-items: center; height: 46px; border-radius: var(--ezd-r-12); font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.ezd-drawer__login { background: var(--ezd-primary); color: #fff; }
.ezd-drawer__login:hover { background: var(--ezd-primary-dark); color: #fff; }
.ezd-drawer__join { border: 1px solid var(--ezd-line, #e3edf3); background: #fff; color: var(--ezd-ink); }
.ezd-drawer__join:hover { border-color: var(--ezd-primary); color: var(--ezd-primary-dark); }
.ezd-drawer__hello { margin: 0; color: var(--ezd-muted); font-size: 15px; }
.ezd-drawer__hello strong { color: var(--ezd-ink); font-weight: 800; }
.ezd-drawer__auth-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 12px 0 0; }
.ezd-drawer__auth-links a { color: var(--ezd-muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.ezd-drawer__auth-links a:hover { color: var(--ezd-primary-dark); }
/* 주메뉴: 이름은 바로가기, 오른쪽 화살표는 하위 메뉴 펼침 */
.ezd-drawer__nav { margin-top: 20px; }
.ezd-drawer__close + .ezd-drawer__nav { margin-top: 52px; }
.ezd-drawer__nav ul { margin: 0; padding: 0; list-style: none; }
.ezd-drawer__nav > ul > li { border-bottom: 1px solid var(--ezd-line, #e3edf3); }
.ezd-drawer__row { display: flex; align-items: center; gap: 4px; }
.ezd-drawer__top { display: block; flex: 1; min-width: 0; padding: 16px 4px; color: var(--ezd-ink); font-size: 17px; font-weight: 700; text-decoration: none; }
.ezd-drawer__top:hover { color: var(--ezd-primary-dark); }
li.is-current > .ezd-drawer__row > .ezd-drawer__top { color: var(--ezd-primary-dark); }
.ezd-drawer__toggle { display: grid; flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--ezd-r-10); background: none; color: var(--ezd-faint, #8a9aa6); cursor: pointer; transition: background-color .2s, color .2s, transform .25s; }
.ezd-drawer__toggle:hover { background: var(--ezd-soft-2, #f4fafe); color: var(--ezd-ink); }
.ezd-drawer__toggle svg { width: 20px; height: 20px; }
li.is-open > .ezd-drawer__row > .ezd-drawer__toggle { color: var(--ezd-primary-dark); transform: rotate(180deg); }
.ezd-drawer__nav li > ul { display: none; gap: 2px; margin-left: 4px; padding: 4px 0 14px 12px; border-left: 2px solid var(--ezd-primary-soft, #eaf6fc); }
.ezd-drawer__nav li.is-open > ul { display: grid; }
.ezd-drawer__nav li > ul a { display: block; padding: 11px 10px; border-radius: var(--ezd-r-8); color: var(--ezd-muted, #5a6b78); font-size: 15px; font-weight: 600; text-decoration: none; }
.ezd-drawer__nav li > ul a:hover, .ezd-drawer__nav li > ul a[aria-current="page"] { background: var(--ezd-soft-2, #f4fafe); color: var(--ezd-primary-dark); }
.ezd-drawer__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 0; font-size: 14px; }
.ezd-drawer__links a { color: var(--ezd-muted); text-decoration: none; }
html.ezd-drawer-open { overflow: hidden; }

/* ---------- 반응형: 화면 폭이 아니라 헤더 폭으로 정한다 (편집기 패널이 열려 헤더가 좁아져도 겹치지 않게)
 * 좁아지는 차례: 작은 링크 숨김 → 로그인 링크 숨김 → 주메뉴 대신 메뉴 단추 → 대표 단추 숨김 */
.ezd-hd { container: ezd-hd / inline-size; }

@container ezd-hd (max-width: 1240px) {
    .ezd-hd__links { display: none; }
}

@container ezd-hd (max-width: 1120px) {
    .ezd-hd__member { display: none; }
}

@container ezd-hd (max-width: 1000px) {
    .ezd-hd__row { grid-template-columns: minmax(0, 1fr) auto; height: min(var(--ezd-hd-h, 80px), 68px); }
    .ezd-hd__nav, .ezd-hd__links, .ezd-hd__member { display: none; }
    .ezd-hd__menu-btn { display: inline-flex; }
}

@container ezd-hd (max-width: 640px) {
    .ezd-hd__cta { display: none; }
}

/* 로고는 지금 ezdentool.shop 처럼 휴대폰(400px 이하)에서만 38px 로 줄인다 */
@container ezd-hd (max-width: 400px) {
    .ezd-hd .bf-logo-w__img { max-height: 38px; width: auto; }
}

/* 겹치기 높이는 헤더 줄 높이를 theme.js 가 재서 알려 준다 (--ezd-over-h) */

/* 컨테이너 질의를 모르는 브라우저 */
@supports not (container-type: inline-size) {
    @media (max-width: 1024px) {
        .ezd-hd__row { grid-template-columns: minmax(0, 1fr) auto; height: min(var(--ezd-hd-h, 80px), 68px); }
        .ezd-hd__nav, .ezd-hd__links, .ezd-hd__member { display: none; }
        .ezd-hd__menu-btn { display: inline-flex; }
    }

    @media (max-width: 768px) {
        .ezd-hd__cta { display: none; }
    }
}

@media print {
    .ezd-hd__right, .ezd-hd__nav { display: none; }
}

/* ---------- 밝은 첫 배너 위에 겹치기: 바탕은 투명, 글자는 진한 색 그대로 (html.ezd-over-light) */
html.ezd-over.ezd-over-light .bf-region--header:not(.is-stuck) .ezd-hd:not(:hover):not(:focus-within):not(.is-search-open) {
    --hd-fg: var(--ezd-ink, #111);
    --hd-line: color-mix(in srgb, var(--ezd-ink, #111) 8%, transparent);
}
html.ezd-over.ezd-over-light .bf-region--header:not(.is-stuck) .ezd-hd:not(:hover):not(:focus-within):not(.is-search-open) .bf-logo-w__img--light:has(+ .bf-logo-w__img--dark) { display: inline; }
html.ezd-over.ezd-over-light .bf-region--header:not(.is-stuck) .ezd-hd:not(:hover):not(:focus-within):not(.is-search-open) .bf-logo-w__img--dark { display: none; }
html.ezd-over.ezd-over-light .bf-region--header:not(.is-stuck) .ezd-hd:not(:hover):not(:focus-within):not(.is-search-open) .ezd-gnb__link::after { background: var(--ezd-primary); }

/* widget:bf/search 1.3.1 */
.bf-search-w { position: relative; display: flex; align-items: center; width: 100%; border: 1px solid var(--bf-color-border); border-radius: 999px; background: var(--bf-color-bg); }
.bf-search-w:focus-within { border-color: var(--bf-color-primary); }
.bf-search-w__input { flex: 1; min-width: 0; height: 40px; padding: 0 16px; border: 0; border-radius: 999px 0 0 999px; background: transparent; font-size: .95rem; outline: none; }
.bf-search-w__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 40px; border: 0; border-radius: 0 999px 999px 0; background: transparent; color: var(--bf-color-muted); font-size: 20px; cursor: pointer; }
.bf-search-w__btn:hover { color: var(--bf-color-primary); }

/* 펼침 목록 (실시간 인기 검색어 등) */
.bf-suggest { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0; min-width: 260px; padding: 6px 0; border: 1px solid var(--bf-color-border, #e5e7eb); border-radius: 4px; background: var(--bf-color-bg, #fff); color: var(--bf-color-text, #1f2937); box-shadow: 0 10px 28px rgba(15, 23, 42, .12); text-align: left; }
.bf-suggest[hidden] { display: none; }
.bf-suggest__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 6px 14px 8px; }
.bf-suggest__head strong { font-size: 13px; font-weight: 800; }
.bf-suggest__head small { color: var(--bf-color-muted, #6b7280); font-size: 11.5px; }
.bf-suggest__list { margin: 0; padding: 0; list-style: none; }
.bf-suggest__item { display: flex; align-items: center; gap: 10px; padding: 7px 14px; color: inherit; font-size: 14px; text-decoration: none; }
.bf-suggest__item:hover, .bf-suggest__item.is-active { background: color-mix(in srgb, var(--bf-color-primary, #0ea5e9) 8%, transparent); }
.bf-suggest__n { flex: none; width: 18px; color: var(--bf-color-muted, #6b7280); font-size: 13px; font-weight: 700; text-align: center; }
.bf-suggest__n.is-top { color: var(--bf-color-primary, #0ea5e9); }
.bf-suggest__word { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-suggest__ch { flex: none; color: var(--bf-color-muted, #9ca3af); font-size: 11px; font-weight: 700; }
.bf-suggest__ch.is-new { color: #10b981; }
.bf-suggest__ch.is-up { color: #ef4444; }
.bf-suggest__ch.is-down { color: #3b82f6; }

/* 검색창 안 왼쪽: 실시간 인기 검색어가 몇 초마다 위로 넘어간다 (누르면 그 검색어로 검색) */
.bf-search-w__ticker { position: relative; flex: none; display: flex; align-items: center; gap: 8px; width: 180px; height: 40px; padding: 0 12px 0 16px; overflow: hidden; }
.bf-search-w__ticker::after { content: ""; position: absolute; top: 25%; right: 0; bottom: 25%; width: 1px; background: var(--bf-color-border, #e5e7eb); }
.bf-search-w__ticker-label { flex: none; padding: 1px 5px; border-radius: 2px; background: color-mix(in srgb, var(--bf-color-primary, #0ea5e9) 12%, transparent); color: var(--bf-color-primary, #0ea5e9); font-size: 11px; font-weight: 800; line-height: 1.5; }
.bf-search-w__ticker-list { position: relative; flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; list-style: none; }
.bf-search-w__ticker-list li { position: absolute; inset: 0; display: flex; align-items: center; transform: translateY(100%); opacity: 0; transition: transform .45s ease, opacity .45s ease; }
.bf-search-w__ticker-list li.is-on { transform: none; opacity: 1; }
.bf-search-w__ticker-list li.is-out { transform: translateY(-100%); opacity: 0; }
.bf-search-w__ticker-list li:first-child { transform: none; opacity: 1; }
.bf-search-w__ticker-list.is-ready li:first-child:not(.is-on) { transform: translateY(100%); opacity: 0; }
.bf-search-w__ticker-list.is-ready li.is-out:first-child { transform: translateY(-100%); }
.bf-search-w__ticker a { display: flex; align-items: center; gap: 6px; min-width: 0; width: 100%; color: inherit; font-size: 13.5px; text-decoration: none; }
.bf-search-w__ticker a:hover span { text-decoration: underline; }
.bf-search-w__ticker b { flex: none; color: var(--bf-color-primary, #0ea5e9); font-weight: 800; }
.bf-search-w__ticker span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-search-w__ticker em { flex: none; font-size: 9px; font-style: normal; font-weight: 800; }
.bf-search-w__ticker em.is-new { color: #10b981; }
.bf-search-w__ticker em.is-up { color: #ef4444; }
.bf-search-w__ticker em.is-down { color: #3b82f6; }
@media (prefers-reduced-motion: reduce) {
    .bf-search-w__ticker-list li { transition: none; }
}
/* 좁은 화면에서는 검색어 칸을 넓게 쓰도록 숨긴다 */
@media (max-width: 768px) {
    .bf-search-w__ticker { display: none; }
}

/* widget:bf/site-logo 1.1.0 */
.bf-logo-w { margin: 0; font-size: inherit; line-height: 1; min-width: 0; }
.bf-logo-w__link { display: inline-flex; align-items: center; max-width: 100%; color: var(--bf-color-text); text-decoration: none; }
.bf-logo-w__link img { width: auto; max-width: 100%; vertical-align: middle; }
/* 어두운 화면용 로고: 테마가 어두운 화면일 때 html 에 data-bf-dark 또는 자기 표시를 붙이고 바꿔 보여 준다 */
.bf-logo-w__img--dark { display: none; }
html[data-bf-dark] .bf-logo-w__img--light { display: none; }
html[data-bf-dark] .bf-logo-w__img--dark { display: inline; }
.bf-logo-w__text { font-size: var(--bf-logo-fs, 22px); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 모바일: 긴 사이트 이름이 옆 메뉴 버튼을 가리지 않도록 줄이고 말줄임 */
@media (max-width: 768px) {
    .bf-logo-w__text { font-size: min(var(--bf-logo-fs, 22px), 18px); }
}

/* widget:ezdentool/cart 0.1.0 */
/* 장바구니 단추 (목업 .icon-btn .dot): 담은 상품이 있으면 오른쪽 위 빨간 점 */
.ezd-cart { position: relative; }
.ezd-cart__dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; }

/* widget:ezdentool/mega-menu 0.2.0 */
/* 펼침 주메뉴: 펼친 칸은 헤더(.ezd-hd) 기준으로 화면 폭만큼 놓인다 */
.ezd-gnb { height: 100%; }
.ezd-gnb__list { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.ezd-gnb__item { display: flex; align-items: stretch; }
.ezd-gnb__link { position: relative; display: flex; align-items: center; padding: 0 22px; color: var(--hd-fg, #111); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: color .2s; }
.ezd-gnb__link::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; background: var(--ezd-primary); transform: scaleX(0); transition: transform .25s var(--ezd-ease, ease); }
.ezd-gnb__item:hover > .ezd-gnb__link, .ezd-gnb__item.is-open > .ezd-gnb__link, .ezd-gnb__item.is-current > .ezd-gnb__link { color: var(--ezd-primary); }
.ezd-gnb__item:hover > .ezd-gnb__link::after, .ezd-gnb__item.is-open > .ezd-gnb__link::after { transform: none; }
.ezd-gnb__empty { color: var(--ezd-muted); font-size: 14px; }

/* 펼친 칸 공통 */
.ezd-gnb__panel { visibility: hidden; opacity: 0; color: var(--ezd-ink, #111); transition: opacity .2s, visibility .2s, transform .25s var(--ezd-ease, ease); }
.ezd-gnb__sub { margin: 0; padding: 0; list-style: none; }
.ezd-gnb__sub a { display: flex; align-items: center; gap: 6px; color: var(--ezd-ink-2, #333); text-decoration: none; transition: color .15s; }
.ezd-gnb__sub a .bf-icon { opacity: 0; font-size: 16px; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.ezd-gnb__sub a:hover, .ezd-gnb__sub a[aria-current="page"] { color: var(--ezd-primary); }
.ezd-gnb__sub a:hover .bf-icon { opacity: 1; transform: none; }

/* drop: 올린 메뉴 밑에 작은 상자 (지금 ezdentool.shop 과 목업 .gnb .depth2 모양) */
.ezd-gnb--drop .ezd-gnb__item { position: relative; }
.ezd-gnb--drop .ezd-gnb__link { font-weight: 700; }
.ezd-gnb--drop .ezd-gnb__link::after { bottom: 18px; height: 3px; border-radius: 3px; }
.ezd-gnb--drop .ezd-gnb__item.is-current > .ezd-gnb__link::after { transform: none; }
.ezd-gnb--drop .ezd-gnb__panel { position: absolute; top: calc(100% - 8px); left: 50%; z-index: 5; min-width: 180px; padding: 10px; border: 1px solid var(--ezd-line, #e5e7eb); border-radius: var(--ezd-r-14); background: var(--ezd-bg, #fff); box-shadow: 0 12px 32px rgba(15, 23, 42, .12); transform: translateX(-50%) translateY(8px); box-sizing: border-box; }
.ezd-gnb--drop .ezd-gnb__sub a { padding: 9px 14px; border-radius: var(--ezd-r-9); color: var(--ezd-ink-2, #333); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background-color .15s, color .15s; }
.ezd-gnb--drop .ezd-gnb__sub a .bf-icon { display: none; }
.ezd-gnb--drop .ezd-gnb__sub a:hover, .ezd-gnb--drop .ezd-gnb__sub a[aria-current="page"] { background: var(--ezd-primary-soft, #e8f6fd); color: var(--ezd-primary-dark, #0b7fb5); }
.ezd-gnb--drop .ezd-gnb__item:is(:hover, .is-open, :focus-within) > .ezd-gnb__panel { visibility: visible; opacity: 1; transform: translateX(-50%); }

/* each: 올린 메뉴의 하위 메뉴만, 헤더 아래 화면 폭 칸에 크게 */
.ezd-gnb--each .ezd-gnb__panel { position: absolute; top: 100%; left: 0; right: 0; border-top: 1px solid var(--ezd-line, #e5e7eb); background: var(--ezd-bg, #fff); box-shadow: 0 20px 40px rgba(15, 23, 42, .1); transform: translateY(-6px); }
.ezd-gnb--each .ezd-gnb__panel-in { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 40px; width: 100%; max-width: calc(var(--bf-container-width, 1280px) + 2 * var(--bf-gutter, 20px)); margin: 0 auto; padding: 44px var(--bf-gutter, 20px) 52px; box-sizing: border-box; }
.ezd-gnb--each .ezd-gnb__panel-in:not(:has(.ezd-gnb__panel-title)) { grid-template-columns: minmax(0, 1fr); }
.ezd-gnb__panel-title { margin: 0; color: var(--ezd-ink, #111); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.ezd-gnb--each .ezd-gnb__sub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 32px; }
.ezd-gnb--each .ezd-gnb__sub a { padding: 12px 0; border-bottom: 1px solid var(--ezd-line, #e5e7eb); font-size: 16px; font-weight: 500; }
.ezd-gnb--each .ezd-gnb__sub a span { flex: 1; }
.ezd-gnb--each .ezd-gnb__item:is(:hover, .is-open) > .ezd-gnb__panel { visibility: visible; opacity: 1; transform: none; }

/* all: 모든 메뉴의 하위 메뉴를 각 메뉴 밑에 세로로. 바탕 띠는 헤더 ::after (높이는 theme.js 가 잼) */
.ezd-gnb--all .ezd-gnb__item { position: relative; }
.ezd-gnb--all .ezd-gnb__panel { position: absolute; top: 100%; left: 0; z-index: 1; width: 100%; min-width: 150px; }
.ezd-gnb--all .ezd-gnb__panel-in { padding: 26px 22px 30px; }
.ezd-gnb--all .ezd-gnb__sub a { padding: 7px 0; font-size: 15px; white-space: nowrap; }
.ezd-hd:has(.ezd-gnb--all)::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: var(--ezd-mega-h, 0px); border-top: 1px solid var(--ezd-line, #e5e7eb); background: var(--ezd-bg, #fff); box-shadow: 0 20px 40px rgba(15, 23, 42, .1); visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; pointer-events: none; }
.ezd-hd:has(.ezd-gnb--all .ezd-gnb__list:hover)::after, .ezd-hd.is-mega::after { visibility: visible; opacity: 1; }
.ezd-hd:has(.ezd-gnb--all .ezd-gnb__list:hover) .ezd-gnb--all .ezd-gnb__panel, .ezd-hd.is-mega .ezd-gnb--all .ezd-gnb__panel { visibility: visible; opacity: 1; }
.ezd-gnb--all .ezd-gnb__item + .ezd-gnb__item .ezd-gnb__panel-in { border-left: 1px solid var(--ezd-line, #e5e7eb); }

/* 헤더(.ezd-hd 컨테이너)가 좁아지면 메뉴 사이를 줄인다 */
@container ezd-hd (max-width: 1320px) {
    .ezd-gnb__link { padding: 0 16px; font-size: 16px; }
    .ezd-gnb__link::after { left: 16px; right: 16px; }
}

@container ezd-hd (max-width: 1180px) {
    .ezd-gnb__link { padding: 0 12px; }
    .ezd-gnb__link::after { left: 12px; right: 12px; }
    .ezd-gnb--each .ezd-gnb__sub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* widget:ezdentool/topbar 0.1.0 */
/* 맨 위 공지 줄 (목업 .topbar) */
.ezd-top { background: var(--ezd-soft-2, #f4fafe); border-bottom: 1px solid var(--ezd-line); color: var(--ezd-muted); font-size: 13px; }
.ezd-top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 38px; }
.ezd-top__notice { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; max-width: 720px; height: 100%; }
.ezd-top__badge { flex: none; padding: 2px 8px; border-radius: 99px; background: var(--ezd-primary); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.5; }
.ezd-top__roll { position: relative; flex: 1; min-width: 0; height: 20px; margin: 0; padding: 0; overflow: hidden; list-style: none; }
.ezd-top__roll li { position: absolute; inset: 0; opacity: 0; transform: translateY(100%); transition: transform .45s ease, opacity .45s ease; }
.ezd-top__roll li.is-on { opacity: 1; transform: none; }
.ezd-top__roll li.is-out { opacity: 0; transform: translateY(-100%); }
.ezd-top__roll a { display: block; overflow: hidden; color: inherit; line-height: 20px; white-space: nowrap; text-overflow: ellipsis; text-decoration: none; }
.ezd-top__roll a:hover { color: var(--ezd-primary-dark); }
.ezd-top__links { display: flex; flex: none; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ezd-top__links a { color: inherit; text-decoration: none; }
.ezd-top__links a:hover { color: var(--ezd-primary-dark); }

@media (max-width: 768px) {
    .ezd-top__links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ezd-top__roll li { transition: none; }
}

