/* 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; }

/* block:ezdentool/lounge 0.2.0 */
/* 커뮤니티 라운지 (지금 ezdentool.shop/community, 목업 카드 모양) */
.ezd-lg { padding: var(--ezd-pt, 24px) 0 var(--ezd-pb, 70px); background: #fff; color: var(--ezd-ink); }
.ezd-lg *, .ezd-lg *::before, .ezd-lg *::after { box-sizing: border-box; }
.ezd-lg__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 24px; }
/* 게시판 카드는 지금 ezdentool.shop 처럼 한 줄에 하나씩 쌓는다 */
.ezd-lg__main { display: grid; gap: 20px; }
.ezd-lg__card { min-width: 0; border: 1px solid var(--ezd-line); border-radius: var(--ezd-r-18); background: #fff; box-shadow: var(--ezd-shadow-sm); transition: border-color .25s, box-shadow .25s; }
.ezd-lg__card:hover { border-color: color-mix(in srgb, var(--ezd-primary) 35%, var(--ezd-line)); box-shadow: var(--ezd-shadow); }
/* 머리: 아이콘 칩(위 소개 카드와 같은 모양) · 이름 · 한 줄 설명 · 더보기, 아래 얇은 선 */
.ezd-lg__head { display: flex; align-items: center; gap: 14px; padding: 20px 22px 16px; border-bottom: 1px solid var(--ezd-line); }
.ezd-lg__ico { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: var(--ezd-r-12); background: var(--ezd-primary-soft); color: var(--ezd-primary-dark); font-size: 20px; }
.ezd-lg__htxt { flex: 1; min-width: 0; }
.ezd-lg__head h3 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.ezd-lg__head h3 a { color: inherit; text-decoration: none; }
.ezd-lg__head h3 a:hover { color: var(--ezd-primary-dark); }
.ezd-lg__head p { margin: 3px 0 0; overflow: hidden; color: var(--ezd-muted); font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; }
.ezd-lg__more { display: inline-flex; flex: none; align-items: center; gap: 2px; padding: 7px 8px 7px 12px; border-radius: 99px; color: var(--ezd-primary-dark); font-size: 13px; font-weight: 700; text-decoration: none; transition: background-color .2s; }
.ezd-lg__more:hover { background: var(--ezd-primary-soft); }
.ezd-lg__more .bf-icon { font-size: 16px; }
/* 글 줄: 넓은 안쪽 여백, 올리면 연한 바탕 */
.ezd-lg__list { margin: 0; padding: 6px 0; list-style: none; }
.ezd-lg__list li { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 0 22px; transition: background-color .2s; }
.ezd-lg__list li:hover { background: var(--ezd-soft-2); }
/* 제목 링크가 줄 높이를 채워 누르기 쉽게, 글쓴이(사이드뷰)는 링크 밖 */
.ezd-lg__tit { display: flex; flex: 1; align-items: center; gap: 6px; min-width: 0; padding: 11px 0; color: inherit; font-size: 14.5px; font-weight: 500; text-decoration: none; }
.ezd-lg__tit:hover > span { color: var(--ezd-primary-dark); }
.ezd-lg__tit > span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: color .2s; }
.ezd-lg__tit em { flex: none; min-width: 20px; padding: 1px 6px; border-radius: 99px; background: var(--ezd-primary-soft); color: var(--ezd-primary-dark); font-size: 11.5px; font-style: normal; font-weight: 800; line-height: 1.5; text-align: center; }
.ezd-lg__lock { flex: none; color: var(--ezd-faint); }
.ezd-lg__meta { display: flex; flex: none; align-items: center; gap: 10px; color: #808285; font-size: 12.5px; }
.ezd-lg__name { position: relative; white-space: nowrap; }
/* 긴 이름은 글자만 줄인다 (상자를 자르면 사이드뷰 메뉴 창도 잘림) */
.ezd-lg__name :is(.sv_member, .sv_guest) { max-width: 140px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ezd-lg__name a { color: inherit; text-decoration: none; }
.ezd-lg__name a:hover { color: var(--ezd-primary-dark); }
.ezd-lg__date { font-variant-numeric: tabular-nums; }
/* 글이 없을 때 */
.ezd-lg__empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 34px 22px; }
.ezd-lg__empty p { margin: 0; color: var(--ezd-muted); font-size: 14px; }
.ezd-lg__empty a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid color-mix(in srgb, var(--ezd-primary) 35%, var(--ezd-line)); border-radius: 99px; color: var(--ezd-primary-dark); font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.ezd-lg__empty a:hover { border-color: var(--ezd-primary); background: var(--ezd-primary); color: #fff; }
.ezd-lg__side { display: grid; gap: 16px; }
.ezd-lg__box { padding: 22px 22px 20px; border: 1px solid var(--ezd-line); border-radius: var(--ezd-r-18); background: #fff; box-shadow: var(--ezd-shadow-sm); }
.ezd-lg__box h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 800; }
.ezd-lg__box h3 .bf-icon { color: var(--ezd-primary); }
.ezd-lg__sub { margin: 3px 0 0; color: #808285; font-size: 12.5px; }
.ezd-lg__rank { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ezd-lg__rank li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--ezd-r-12); background: var(--ezd-soft-2); font-size: 14px; font-weight: 600; }
.ezd-lg__rno { display: grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dceff9; color: var(--ezd-accent); font-size: 12.5px; font-weight: 800; }
.ezd-lg__rank li:first-child .ezd-lg__rno { background: var(--ezd-primary); color: #fff; }
.ezd-lg__rnick { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ezd-lg__rpt { margin-left: auto; color: var(--ezd-primary-dark); font-weight: 800; white-space: nowrap; }
.ezd-lg__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.ezd-lg__stats div { padding: 12px; border-radius: var(--ezd-r-12); background: var(--ezd-soft-2); }
.ezd-lg__stats dt { color: var(--ezd-muted); font-size: 12.5px; }
.ezd-lg__stats dd { margin: 4px 0 0; color: var(--ezd-ink-blue, #0a4a6b); font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ezd-lg__note { background: var(--ezd-primary-soft); border-color: transparent; box-shadow: none; }
.ezd-lg__note p { margin: 10px 0 0; color: var(--ezd-ink); font-size: 14px; line-height: 1.65; word-break: keep-all; }

@media (max-width: 1024px) {
    .ezd-lg__grid { grid-template-columns: minmax(0, 1fr); }
    .ezd-lg__side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 768px) {
    .ezd-lg { padding: min(var(--ezd-pt, 24px), 20px) 0 min(var(--ezd-pb, 70px), 44px); }
    .ezd-lg__main { gap: 12px; }
    .ezd-lg__card { border-radius: var(--ezd-r-14); }
    .ezd-lg__head { gap: 12px; padding: 16px 16px 14px; }
    .ezd-lg__ico { width: 36px; height: 36px; font-size: 18px; }
    .ezd-lg__head p { display: none; }
    .ezd-lg__list li { padding: 0 16px; }
    .ezd-lg__name :is(.sv_member, .sv_guest) { max-width: 92px; }
}

