/*
 * Loopyti blog — the few rules on top of the bookworm-light-astro theme stylesheet (/blog/assets/bookworm.css,
 * MIT, Copyright (c) 2023 - Present, Themefisher; full notice in that file and docs/blog/THIRD-PARTY.md).
 * The theme sizes its logo image with an inline style (34px × 200px); the site CSP allows no inline styles,
 * and Loopyti's logo is an icon plus the word mark, so the same 34px-high slot is laid out here.
 */
.navbar-brand.blog-brand { display: flex; align-items: center; height: 34px; gap: 8px; color: var(--color-dark); font-weight: 800; font-size: 26px; line-height: 34px; letter-spacing: -0.01em; }
.navbar-brand.blog-brand img { width: 34px; height: 34px; max-width: none; }
/* Post bodies are author markdown: keep wide images, tables and code inside the column. */
.content img { max-width: 100%; height: auto; }
.content pre, .content table { max-width: 100%; overflow-x: auto; }
.content { overflow-wrap: break-word; }
[data-search-count][hidden] { display: none; }
/* Table column alignment from markdown (blog-render.js writes classes, not inline styles). */
.content .align-left { text-align: left; }
.content .align-center { text-align: center; }
.content .align-right { text-align: right; }
/* Korean breaks between words, not inside them (the theme only ships Latin text). */
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) h4, :lang(ko) h5, :lang(ko) p, :lang(ko) li { word-break: keep-all; overflow-wrap: anywhere; }

/* bx-rich:start — 블로그 3차 서식 클래스(허용목록: functions/_lib/blog-markdown-ext.js). 공개 /blog/assets/blog.css와
   관리자 /admin-blog.css에 같은 내용으로 둔다(tests/blog-rich-css.test.mjs가 비교한다). 운영 CSP 때문에 style 속성 대신 클래스만 쓴다.
   명조: 나눔명조(NHN Corporation, SIL OFL 1.1, /fonts/nanum-myeongjo/OFL.txt) KS X 1001 서브셋, 고딕: Pretendard·시스템 고딕, 고정폭: 시스템 글꼴. */
@font-face{font-family:"Loopyti Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/nanum-myeongjo/nanum-myeongjo-regular.woff2) format("woff2")}
@font-face{font-family:"Loopyti Serif";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/nanum-myeongjo/nanum-myeongjo-bold.woff2) format("woff2")}
.bx-color-red{color:#d93025}.bx-color-orange{color:#e8710a}.bx-color-amber{color:#b06000}.bx-color-green{color:#188038}.bx-color-teal{color:#00796b}
.bx-color-blue{color:#1a73e8}.bx-color-indigo{color:#3f51b5}.bx-color-purple{color:#8e24aa}.bx-color-pink{color:#d81b60}.bx-color-gray{color:#6b7280}
.bx-bg-yellow,.bx-bg-green,.bx-bg-pink,.bx-bg-blue{padding:0 .12em;border-radius:.2em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.bx-bg-yellow{background-color:#fff1a8}.bx-bg-green{background-color:#d3f5dc}.bx-bg-pink{background-color:#ffd9e6}.bx-bg-blue{background-color:#d6e9ff}
.bx-size-sm{font-size:.875em}.bx-size-lg{font-size:1.25em;line-height:1.5}.bx-size-xl{font-size:1.5em;line-height:1.4}
.bx-font-serif{font-family:"Loopyti Serif","Nanum Myeongjo","Noto Serif KR",AppleMyungjo,Batang,Georgia,serif}
.bx-font-sans{font-family:"Pretendard Variable",Pretendard,"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",system-ui,sans-serif}
.bx-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,D2Coding,"Liberation Mono",monospace;font-size:.95em}
.bx-align-left{text-align:left}.bx-align-center{text-align:center}.bx-align-right{text-align:right}.bx-align-justify{text-align:justify}
figure.bx-figure{display:block;max-width:100%;margin:2em auto}
figure.bx-figure img{display:block;width:100%;height:auto;margin:0;border-radius:.5rem}
figure.bx-figure figcaption{margin-top:.6em;font-size:.875em;line-height:1.5;color:#80858d;text-align:center}
figure.bx-w-25{width:25%}figure.bx-w-50{width:50%}figure.bx-w-75{width:75%}figure.bx-w-100{width:100%}
figure.bx-img-left{margin-left:0;margin-right:auto}figure.bx-img-center{margin-left:auto;margin-right:auto}figure.bx-img-right{margin-left:auto;margin-right:0}
div.bx-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:2em 0}div.bx-gallery-3{grid-template-columns:repeat(3,minmax(0,1fr))}
div.bx-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;margin:0;border-radius:.375rem}
hr.bx-hr-dotted{height:0;border:0;border-top:2px dotted #c4c8ce}
hr.bx-hr-short{width:72px;height:0;border:0;border-top:2px solid #c4c8ce;margin-left:auto;margin-right:auto}
hr.bx-hr-dots{height:auto;border:0;overflow:visible;text-align:center;line-height:1}hr.bx-hr-dots::before{content:"\2022\2003\2022\2003\2022";color:#9aa0a6;font-size:1.1em}
a.bx-card{display:flex;align-items:center;gap:14px;max-width:560px;margin:1.5em 0;padding:14px 16px;border:1px solid #e1e4e8;border-radius:12px;background:#fff;color:#1f2328;font-weight:400;text-decoration:none;box-shadow:0 1px 2px rgba(15,23,42,.05)}
a.bx-card:hover,a.bx-card:focus-visible{border-color:#bfc5cd;background:#fafbfc;color:#1f2328}
.bx-card-icon{flex:0 0 44px;width:44px;height:44px;border-radius:10px;background:#f1f3f5 center/28px 28px no-repeat}
.bx-card-youtube .bx-card-icon{background-image:url(/blog/assets/icons/card-youtube.svg)}.bx-card-google .bx-card-icon{background-image:url(/blog/assets/icons/card-map-google.svg)}
.bx-card-naver .bx-card-icon{background-image:url(/blog/assets/icons/card-map-naver.svg)}.bx-card-kakao .bx-card-icon{background-image:url(/blog/assets/icons/card-map-kakao.svg)}
.bx-card-text{display:flex;flex-direction:column;min-width:0;line-height:1.45}
.bx-card-title{overflow:hidden;font-weight:700;color:#1f2328;text-overflow:ellipsis;white-space:nowrap}
.bx-card-service{font-size:.8125em;color:#5f6368}.bx-card-url{overflow:hidden;font-size:.8125em;color:#8a8f98;text-overflow:ellipsis;white-space:nowrap}
/* 도구 카드(@[](/tools/<slug>/)): 왼쪽(모바일은 위) 큰 브랜드 색 그림 칸 + 라벨·이름·설명·loopyti.com, 카드 전체가 도구 링크 */
a.bx-card-tool{align-items:stretch;gap:0;max-width:640px;padding:0;overflow:hidden;border:1.5px solid #b9d9f7;border-radius:14px}
a.bx-card-tool:hover,a.bx-card-tool:focus-visible{border-color:#0075de;background:#f5faff;box-shadow:0 4px 14px rgba(0,117,222,.14)}
a.bx-card-tool .bx-card-icon{flex:0 0 136px;width:136px;height:auto;min-height:136px;border-radius:0;background:#0075de center/64px 64px no-repeat}
a.bx-card-tool-doc .bx-card-icon{background-image:url(/blog/assets/icons/tool-doc.svg)}a.bx-card-tool-edu .bx-card-icon{background-image:url(/blog/assets/icons/tool-edu.svg)}a.bx-card-tool-excel .bx-card-icon{background-image:url(/blog/assets/icons/tool-excel.svg)}a.bx-card-tool-file .bx-card-icon{background-image:url(/blog/assets/icons/tool-file.svg)}a.bx-card-tool-image .bx-card-icon{background-image:url(/blog/assets/icons/tool-image.svg)}a.bx-card-tool-money .bx-card-icon{background-image:url(/blog/assets/icons/tool-money.svg)}a.bx-card-tool-order .bx-card-icon{background-image:url(/blog/assets/icons/tool-order.svg)}a.bx-card-tool-text .bx-card-icon{background-image:url(/blog/assets/icons/tool-text.svg)}
a.bx-card-tool .bx-card-text{flex:1 1 auto;justify-content:center;gap:4px;padding:16px 18px}
.bx-card-label{align-self:flex-start;padding:2px 9px;border-radius:999px;background:#e6f3fe;color:#005bb0;font-size:.75em;font-weight:700;line-height:1.6}
a.bx-card-tool .bx-card-title{display:-webkit-box;font-size:1.125em;line-height:1.4;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.bx-card-desc{display:-webkit-box;overflow:hidden;font-size:.875em;line-height:1.5;color:#4b5563;-webkit-line-clamp:2;-webkit-box-orient:vertical}
a.bx-card-tool .bx-card-url{font-weight:600;color:#0075de}a.bx-card-tool .bx-card-url::after{content:" \2192"}
@media (max-width:640px){a.bx-card-tool{flex-direction:column}a.bx-card-tool .bx-card-icon{flex:0 0 auto;width:auto;height:112px;min-height:0;background-size:56px 56px}a.bx-card-tool .bx-card-text{padding:14px 16px}}
@media (max-width:640px){figure.bx-w-25{width:50%}div.bx-gallery-3{gap:6px}}
/* bx-rich:end */
