/* 크리니티 블로그(목록·글) 전용 — 2026.10
   크리니티 소식(board.css)의 틀(색 변수·상단 보정·히어로·상세 머리)을 그대로 쓰고, 블로그에만 필요한 것만 더함 */

/* ===== 위쪽 띠: 블로그 이름 + 전체 글 ===== */
.bl-bar{padding-block:14px;border-bottom:1px solid var(--border)}
.bl-bar .bd-tabs-in{justify-content:space-between}
.bl-home{display:inline-flex!important;align-items:center;font-size:16px;font-weight:700;color:var(--title)!important;letter-spacing:-.01em}
.bl-all{display:inline-flex!important;align-items:center;gap:6px;height:36px;padding:0 14px;border:1px solid var(--border);border-radius:999px;font-size:14px;font-weight:600;color:var(--body)!important;transition:border-color .2s,color .2s}
.bl-all:hover{border-color:var(--hint);color:var(--fg)!important}

/* 블로그 이름 (Mail Insight · 메일 인사이트) */
.bl-home-ko{margin-left:8px;font-size:13px;font-weight:500;color:var(--muted)}
.bl-bar-r{display:inline-flex;align-items:center;gap:8px}
.bl-naver-s{display:inline-flex!important;align-items:center;gap:6px;height:36px;padding:0 12px;font-size:14px;font-weight:600;color:var(--muted)!important;transition:color .2s}
.bl-naver-s::after,.bl-naver-go::after{content:"";width:10px;height:10px;background:currentColor;opacity:.6;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2h6v6M10 2 3 9'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 2h6v6M10 2 3 9'/%3E%3C/svg%3E") center/contain no-repeat}
.bl-naver-s:hover{color:var(--fg)!important}
/* 목록 머리: 흰 바탕 + 아래 선 (10.26 사용자 결정 — 파랑 그라데이션 뺌) */
.bl .bh{background:var(--canvas)}
.bl .bh::after{display:none}
.bl .bh-in{position:relative;padding-block:88px 48px}
.bl .bh-in::after{content:"";position:absolute;left:40px;right:40px;bottom:0;border-bottom:1px solid var(--border)}
.bl .bl-list{padding-top:48px}
/* 목록 머리: 왼쪽 이름·소개, 오른쪽 공식 블로그(네이버) 카드 */
.bl-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:48px}
.bl-hero .bh-s{max-width:none}
@media(min-width:1200px){ .bl-hero .bh-s{white-space:nowrap} }   /* PC 는 소개 문구 한 줄 */
.bl-naver{flex:none;display:flex!important;flex-direction:column;gap:8px;width:360px;padding:22px 24px;border:1px solid var(--border);border-radius:var(--rc);background:rgba(255,255,255,.8);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:border-color .2s,box-shadow .25s}
.bl-naver-k{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#03a94d}
.bl-naver-k::before{content:"N";display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:4px;background:#03c75a;color:#fff;font-size:11px;font-weight:800}
.bl-naver strong{font-size:16px;font-weight:600;line-height:1.5;color:var(--fg)}
.bl-naver-go{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-size:14px;font-weight:600;color:var(--body)}
.bl-naver:hover{border-color:var(--hint);box-shadow:0 8px 24px rgba(0,30,80,.06)}
.bl-naver:hover .bl-naver-go{color:var(--fg)}

/* ===== 글 보기: PC 는 넓게 (본문 + 오른쪽 목차) ===== */
.bl-post{max-width:1200px;margin:0 auto}
.bl-by::before{content:"·";margin-right:12px;color:var(--hint)}
.bl .bv-t{max-width:980px;font-size:40px;line-height:1.36}
.bl-layout{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:72px;align-items:start;margin-top:48px}
.bl-layout.no-toc{grid-template-columns:minmax(0,1fr)}
.bl-main{min-width:0}
/* 썸네일(첨부한 첫 그림) */
.bl-cover{margin:0 0 48px;border-radius:var(--rc);overflow:hidden;background:var(--surface);aspect-ratio:1200/630}
.bl-cover img{display:block;width:100%;height:100%;object-fit:cover}
/* 오른쪽: 목차 + 문의 (스크롤하면 따라옴) */
.bl-side{position:sticky;top:calc(var(--hd-h,56px) + 88px);display:flex;flex-direction:column;gap:16px}
.bl-toc{padding:4px 0 4px 20px;border-left:2px solid var(--border)}
.bl-toc-t{margin-bottom:12px!important;font-size:13px;font-weight:700;letter-spacing:.04em;color:var(--muted)}
.bl-toc ol{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}
.bl-toc a{position:relative;display:block!important;padding:6px 0;font-size:14px;line-height:1.5;color:var(--muted);transition:color .2s}
.bl-toc a::before{content:"";position:absolute;left:-22px;top:6px;bottom:6px;width:2px;background:transparent;transition:background .2s}
.bl-toc a:hover{color:var(--fg)}
.bl-toc a.on{color:var(--title);font-weight:600}
.bl-toc a.on::before{background:var(--fg)}
.bl-side-cta{display:flex!important;flex-direction:column;gap:4px;margin-top:16px;padding:20px;border-radius:12px;background:var(--soft);transition:background .2s}
.bl-side-cta b{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:700;color:var(--title)}
.bl-side-cta b::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg)}
.bl-side-cta span{font-size:13px;color:var(--body)}
.bl-side-cta:hover{background:var(--weak-bg)}
/* 첨부파일 (그림 말고 다른 파일) */
.bl-files{margin-top:48px;padding:18px 22px;border-radius:12px;background:var(--soft)}
.bl-files-t{font-size:14px;font-weight:600;color:var(--body);margin-bottom:6px!important}
.bl-files-t span{margin-left:4px;color:var(--weak-fg)}
.bl-files li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;font-size:15px}
.bl-files li+li{border-top:1px solid var(--border)}
.bl-files a{color:var(--fg);font-weight:500;overflow-wrap:anywhere}
.bl-files a:hover{color:var(--primary);text-decoration:underline}
.bl-files li span{flex:none;font-size:13px;color:var(--muted)}

/* ===== 본문: 읽기 좋은 글자 크기·간격. 편집기에서 쓴 제목·표·목록도 같은 모양으로 ===== */
.bl-body{margin-top:0;font-size:18px;line-height:1.85;color:#333d4b;letter-spacing:-.003em}
.bl-body :is(p,div){margin:0}
.bl-body p+p,.bl-body div+p,.bl-body p+div{margin-top:.25em}
.bl-body :is(h2,h3,h4){font-family:inherit!important;color:var(--title);letter-spacing:-.02em;line-height:1.45}
.bl-body h2{margin:64px 0 18px!important;padding-top:28px;border-top:1px solid var(--border);font-size:26px!important;font-weight:700!important}
.bl-body h3{margin:40px 0 12px!important;font-size:20px!important;font-weight:700!important}
.bl-body h4{margin:28px 0 8px!important;font-size:18px!important;font-weight:700!important}
.bl-body>:first-child{margin-top:0!important}
.bl-body h2:first-child{border-top:0;padding-top:0}
.bl-body b,.bl-body strong{font-weight:700;color:var(--fg)}
.bl-body :is(ul,ol){margin:12px 0 20px!important;padding-left:1.3em!important}
.bl-body ul li{list-style:disc}
.bl-body ol li{list-style:decimal}
.bl-body li{margin:6px 0;padding-left:.2em}
.bl-body li::marker{color:var(--hint)}
.bl-body blockquote{margin:28px 0;padding:18px 22px;border-left:3px solid var(--primary);border-radius:0 12px 12px 0;background:var(--soft);color:var(--fg)}
.bl-body table{width:100%;margin:20px 0 28px;border-collapse:collapse;border-top:2px solid var(--fg);font-size:15px;line-height:1.6}
.bl-body :is(th,td){padding:12px 14px!important;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}
.bl-body table:not(:has(thead)) tr>td:first-child{width:26%;font-weight:600;color:var(--fg);background:var(--soft)}
.bl-body div:has(>table){overflow-x:auto;-webkit-overflow-scrolling:touch}
.bl-body hr{margin:48px 0;border:0;border-top:1px solid var(--border)}
.bl-body img{display:block;margin:28px auto;border-radius:12px}
/* 그림만 있는 문단. 본문 맨 앞 그림(= 썸네일로 쓴 그림)은 전체 폭으로 크게 */
.bl-body .bl-img{margin:28px 0}
.bl-body .bl-img img{margin:0 auto}
.bl-body>.bl-img:first-child{margin:0 0 48px}
.bl-body>.bl-img:first-child img{width:100%;height:auto;border-radius:var(--rc)}
/* 핵심 요약 상자 · 관련 제품 · 질문 상자 (편집기 글에서 자동으로 만듦) */
.bl-body .bl-sum{margin:8px 0 8px;padding:24px 28px;border-radius:var(--rc);background:var(--soft)}
.bl-body .bl-sum-t{margin:0 0 10px!important;font-size:15px;font-weight:700;color:var(--weak-fg)}
.bl-body .bl-sum ul{margin:0!important}
.bl-body .bl-sum li{margin:4px 0;font-size:16px}
.bl-body .bl-qa{margin:14px 0;padding:20px 24px;border:1px solid var(--border);border-radius:12px}
.bl-body .bl-q{margin:0!important;font-weight:700;color:var(--title)}
.bl-body .bl-a{margin:6px 0 0!important;color:var(--body)}
.bl-body .bl-rel{margin-top:48px;padding-top:28px;border-top:1px solid var(--border)}
.bl-body .bl-rel-t{margin:0 0 12px!important;font-size:15px;font-weight:700;color:var(--muted)}
.bl-body .bl-rel ul{display:flex;flex-wrap:wrap;gap:8px;margin:0!important;padding:0!important}
.bl-body .bl-rel li{list-style:none;margin:0;padding:0}
.bl-body .bl-rel a{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 16px;border:1px solid var(--border);border-radius:999px;font-size:15px;font-weight:600;color:var(--fg);text-decoration:none;transition:border-color .2s,color .2s}
.bl-body .bl-rel a::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg)}
.bl-body .bl-rel a:hover{border-color:var(--primary);color:var(--primary)}
.bl-body table th{background:var(--soft);font-weight:600;color:var(--fg)}
/* 표가 넓으면 표만 옆으로 밀어 보기 (본문 전체에 가로 스크롤이 생기지 않게) */
.bl-body .tbl{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ===== 문의 띠 (글 끝) ===== */
.bl-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:72px;padding:32px 36px;border-radius:var(--rc);background:linear-gradient(100deg,#f4f9ff 0%,#eaf4ff 100%)}
.bl-cta-t{font-size:20px!important;font-weight:700!important;line-height:1.45;letter-spacing:-.02em;color:var(--title)}
.bl-cta-d{margin-top:6px!important;font-size:15px;color:var(--body)}
.bl-cta-b{flex:none;display:inline-flex!important;align-items:center;gap:8px;height:48px;padding:0 22px;border-radius:var(--r);background:var(--fg);font-size:15px;font-weight:600;color:#fff!important;transition:background .2s}
.bl-cta-b::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg)}
.bl-cta-b:hover{background:#333d4b}
.bl .bv-foot{margin-top:40px}

/* ===== 카드 (목록·다른 글 공용): 위 썸네일 + 아래 글 ===== */
.bl-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 24px}
.bl-card a{display:flex!important;flex-direction:column;height:100%!important;color:inherit}
.bl-thumb{position:relative;display:block;aspect-ratio:1200/630;border-radius:14px;overflow:hidden;background:var(--surface);box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}
.bl-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
/* 썸네일이 없는 글: 연파랑 바탕 + 분류 글자 */
.bl-thumb.is-empty{display:flex;align-items:flex-end;padding:20px 22px;background:radial-gradient(120% 140% at 100% 0%,#d6eaff 0%,rgba(214,234,255,0) 55%),linear-gradient(135deg,#f4f9ff 0%,#e8f3ff 100%)}
.bl-thumb.is-empty::after{content:"";position:absolute;right:-40px;top:-40px;width:180px;height:180px;border:1.5px solid rgba(0,133,245,.18);border-radius:50%}
.bl-thumb-cat{position:relative;font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--weak-fg)}
.bl-card-in{display:flex;flex-direction:column;gap:10px;flex:1;padding:20px 2px 0}
.bl-tag{align-self:flex-start;display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:6px;background:var(--weak-bg);color:var(--weak-fg);font-size:13px;font-weight:600}
.bl-card-t{font-size:20px;font-weight:700;line-height:1.45;letter-spacing:-.02em;color:var(--title);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;transition:color .2s}
.bl-card-s{font-size:15px;line-height:1.65;color:var(--body);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.bl-card-d{margin-top:auto;padding-top:4px;font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
@media(hover:hover) and (pointer:fine){
  .bl-card a:hover .bl-thumb img{transform:scale(1.03)}
  .bl-card a:hover .bl-card-t{color:var(--primary)}
}
.rv-on .bl-grid .bl-card{animation:bdIn .6s var(--ease) both}
.rv-on .bl-grid .bl-card:nth-child(2){animation-delay:.05s}.rv-on .bl-grid .bl-card:nth-child(3){animation-delay:.1s}
.rv-on .bl-grid .bl-card:nth-child(4){animation-delay:.15s}.rv-on .bl-grid .bl-card:nth-child(5){animation-delay:.2s}
.rv-on .bl-grid .bl-card:nth-child(6){animation-delay:.25s}

.bl-list{padding-top:24px}
.bl-empty{padding:120px 0;text-align:center;color:var(--muted)}

/* 다른 글 */
.bl-more{max-width:1200px;margin:120px auto 0;padding-top:56px;border-top:1px solid var(--border)}
.bl-more-t{margin-bottom:20px!important;font-size:22px!important;font-weight:700!important;letter-spacing:-.02em;color:var(--title)}

/* 쪽 이동 (검정 = 고른 쪽) */
.bl-paging{display:flex;justify-content:center;align-items:center;gap:4px;margin-top:56px}
.bl-paging a{display:inline-flex!important;align-items:center;justify-content:center;min-width:36px;height:36px!important;padding:0 8px;border-radius:var(--r);font-size:15px;font-weight:500;color:var(--body);font-variant-numeric:tabular-nums;transition:background .2s,color .2s}
.bl-paging a:hover{background:var(--surface);color:var(--fg)}
.bl-paging a.on{background:var(--fg);color:#fff}
.bl-paging .bl-pg-arrow{padding:0 12px;color:var(--muted)}

/* ===== 반응형 ===== */
@media(max-width:1200px){
  .bl-layout{grid-template-columns:minmax(0,1fr) 220px;gap:48px}
}
@media(max-width:1024px){
  .bl-hero{flex-direction:column;align-items:flex-start;gap:28px}
  .bl .bh-in{padding-block:64px 40px}
  .bl-naver{width:auto;max-width:420px}
  .pc-br{display:none}
  .bl-layout{grid-template-columns:minmax(0,1fr);margin-top:40px}
  .bl-side{display:none}
  .bl .bv-t{font-size:32px}
  .bl-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .bl-bar{padding-block:10px}
  .bl-home{font-size:15px}
  .bl-all{height:32px;padding:0 12px;font-size:13px}
  .bl-home-ko{display:none}
  .bl .bh-in{padding-block:48px 32px}
  .bl .bh-in::after{left:16px;right:16px}
  .bl .bl-list{padding-top:32px}
  .bl-naver-s{height:32px;padding:0 6px;font-size:13px}
  .bl-naver{width:100%;max-width:none;padding:18px 20px}
  .bl-naver strong{font-size:15px}
  .bl .bv-t{font-size:24px;line-height:1.42}
  .bl-body{margin-top:0;font-size:16px;line-height:1.8}
  .bl-body h2{margin-top:48px!important;padding-top:22px;font-size:21px!important}
  .bl-body h3{margin-top:32px!important;font-size:18px!important}
  .bl-body table{font-size:14px}
  .bl-body :is(th,td){padding:10px!important}
  .bl-body .bl-sum{padding:18px 18px}
  .bl-body .bl-qa{padding:16px 18px}
  .bl-body table:not(:has(thead)) tr>td:first-child{width:30%}
  .bl-cta{flex-direction:column;align-items:flex-start;margin-top:56px;padding:24px 22px}
  .bl-cta-t{font-size:18px!important}
  .bl-cta-b{width:100%;justify-content:center}
  .bl-layout{margin-top:28px}
  .bl-cover{margin-bottom:32px;border-radius:12px}
  .bl-body>.bl-img:first-child{margin-bottom:32px}
  .bl-body>.bl-img:first-child img{border-radius:12px}
  .bl-files{margin-top:36px;padding:14px 16px}
  .bl-cards{grid-template-columns:1fr;gap:32px}
  .bl-card-in{padding-top:14px;gap:8px}
  .bl-thumb-cat{font-size:18px}
  .bl-card-t{font-size:17px}
  .bl-card-s{font-size:14px;-webkit-line-clamp:2}
  .bl-more{margin-top:64px}
  .bl-more-t{font-size:19px!important}
}
@media(prefers-reduced-motion:reduce){ .rv-on .bl-grid .bl-card{animation:none} }
@media print{ .bl-bar,.bl-cta,.bl-more,.bl-side{display:none!important} .bl-layout{display:block} }
