/* 부컴 새 디자인 (2026-10-31) — www.bucoms.com 과 같은 검정·크림 톤 + 주황 포인트
   1) 사이트 전체: 헤더·푸터 검정, 글 목록 카드·글 본문 다듬기
   2) 첫 화면(front-page.php) 전용 bm- 클래스 */
:root {
	--bm-bg: #0a0a0a; --bm-ink: #f4f3ef; --bm-paper: #f4f3ef;
	--bm-mute: rgba(244,243,239,.62); --bm-faint: rgba(244,243,239,.38); --bm-line: rgba(244,243,239,.14);
	--bm-acc: #ff6a1a; --bm-acc-ink: #c2410c;
	--bm-out: cubic-bezier(.16,1,.3,1); --bm-std: cubic-bezier(.4,0,.2,1);
	--bm-serif: "Instrument Serif", serif;
}
.serif { font-family: var(--bm-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ── 1) 사이트 전체 ── */
body { background: var(--bm-paper); }
#masthead .site-main-header-wrap .site-header-row-container-inner,
#masthead .site-header-row-container-inner,
#masthead .site-top-header-wrap .site-header-row-container-inner { background: rgba(10,10,10,.92) !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; box-shadow: none !important; }
.item-is-stuck .site-header-row-container-inner { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
#masthead .custom-logo { filter: invert(1) hue-rotate(180deg); }
#masthead .main-navigation .primary-menu-container > ul > li > a { color: var(--bm-mute) !important; }
#masthead .main-navigation .primary-menu-container > ul > li > a:hover,
#masthead .main-navigation .primary-menu-container > ul > li.current-menu-item > a { color: #fff !important; }
#masthead .search-toggle-open, #masthead .menu-toggle-open { color: var(--bm-ink) !important; }
#masthead .main-navigation ul.sub-menu { background: #141414 !important; }
#masthead .main-navigation ul.sub-menu a { color: var(--bm-mute) !important; }

#colophon, #colophon .site-footer-wrap, #colophon .site-footer-row-container-inner { background: var(--bm-bg) !important; color: var(--bm-faint); }
#colophon a { color: var(--bm-mute) !important; }
#colophon a:hover { color: #fff !important; }
#colophon .site-bottom-footer-wrap .site-footer-row-container-inner { border-top: 1px solid rgba(255,255,255,.08); }

/* 글 목록(카테고리·검색) */
.archive .content-bg, .blog .content-bg, .search .content-bg, body.archive, body.search { background: var(--bm-paper); }
.loop-entry.entry { border: 0 !important; border-radius: 24px !important; box-shadow: none !important; background: #fff; }
.loop-entry.entry:hover { transform: translateY(-4px); }
.loop-entry .post-thumbnail img { transition: transform .8s var(--bm-out); }
.loop-entry:hover .post-thumbnail img { transform: scale(1.05); }
.loop-entry .entry-title { letter-spacing: -.03em; }
.archive-title, .page-title, .search .page-title { font-size: clamp(32px, 4.4vw, 60px) !important; font-weight: 700; letter-spacing: -.045em !important; }
.entry-taxonomies.category-style-pill a, .loop-entry .category-style-pill a { background: rgba(255,106,26,.12) !important; color: var(--bm-acc-ink) !important; }

/* 글 본문 */
.single .content-bg { border-radius: 28px; }
.single .entry-header .entry-title { letter-spacing: -.045em; font-weight: 700; }
.entry-header .entry-taxonomies .category-links a { background: var(--bm-bg) !important; color: #fff !important; }
.single-post .single-content h2 { border-bottom: 1px solid rgba(17,17,17,.14) !important; letter-spacing: -.035em; }
.single-content blockquote { border-left-color: var(--bm-acc) !important; background: var(--bm-paper) !important; }
.primary-sidebar .widget { border: 0 !important; border-radius: 24px !important; }
.primary-sidebar .widget h3, .primary-sidebar .widget .widget-title { border-bottom-color: var(--bm-bg) !important; }
.primary-sidebar .wp-block-search__button { background: var(--bm-bg) !important; border-radius: 999px !important; }
.bucom-repair-note { border-left-color: var(--bm-acc) !important; background: var(--bm-paper) !important; }
.entry-author-style-normal .entry-author-profile { border: 0 !important; border-radius: 24px !important; box-shadow: none !important; }
#kt-scroll-up:hover, #kt-scroll-up:focus { background: var(--bm-acc) !important; }

/* ── 2) 첫 화면 ── */
.bm-front { color: var(--bm-ink); background: var(--bm-bg); overflow-x: clip; word-break: keep-all; }
.home #primary, .home .content-container, .home .site-container { max-width: none; padding: 0; margin: 0; }
.bm-wrap { width: min(1280px, 100%); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); box-sizing: border-box; }
.bm-front a { text-decoration: none; color: inherit; }
.bm-front img { display: block; max-width: 100%; }

@keyframes bm-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes bm-fade { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bm-fill { to { width: 100%; } }
@keyframes bm-mq { to { transform: translateX(-50%); } }
.bm-rise { display: inline-block; animation: bm-rise 1.05s var(--bm-out) both; }
.bm-fade { animation: bm-fade .9s var(--bm-out) both; }

.bm-hero { padding: clamp(56px, 9vh, 110px) 0 clamp(56px, 8vh, 90px); }
.bm-hgrid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.bm-hgrid > * { min-width: 0; }
.bm-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; color: var(--bm-mute); margin-bottom: 22px; }
.bm-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--bm-acc); box-shadow: 0 0 0 4px rgba(255,106,26,.2); }
.bm-h1 { margin: 0; color: var(--bm-ink); font-weight: 700; font-size: clamp(42px, 5.1vw, 84px); line-height: .98; letter-spacing: -.045em; }
.bm-h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.bm-h1 .m { color: var(--bm-faint); }
.bm-lede { color: var(--bm-mute); font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.6; max-width: 28rem; margin: 26px 0 28px; }
.bm-search { display: flex; align-items: center; max-width: 460px; padding: 6px 6px 6px 22px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.bm-search input { flex: 1; background: none !important; border: 0 !important; box-shadow: none !important; color: var(--bm-ink) !important; font: inherit; font-size: 15px; outline: none; min-width: 0; padding: 8px 0 !important; }
.bm-search input::placeholder { color: var(--bm-faint); }
.bm-search button { border: 0; border-radius: 999px; background: var(--bm-ink); color: #0a0a0a; font: inherit; font-weight: 700; font-size: 14px; padding: 11px 20px; cursor: pointer; }
.bm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.bm-tags a { font-size: 13px; padding: 7px 14px; border-radius: 999px; color: var(--bm-mute) !important; box-shadow: inset 0 0 0 1px var(--bm-line); transition: .2s; }
.bm-tags a:hover { color: var(--bm-ink) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }

.bm-lead { position: relative; aspect-ratio: 16/9; width: 100%; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; background: #151515; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.bm-lead-img { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 1s var(--bm-std); }
.bm-lead-img.on { opacity: 1; pointer-events: auto; }
.bm-lead-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.bm-lead-img.on img { transform: scale(1); }
.bm-lead-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 72%, rgba(0,0,0,.55)); }
.bm-lead-tag { position: absolute; top: 16px; right: 16px; z-index: 3; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(10,10,10,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--bm-ink); }
.bm-bars { position: absolute; left: clamp(18px, 2.4vw, 32px); right: clamp(18px, 2.4vw, 32px); bottom: clamp(16px, 2vw, 24px); z-index: 3; display: flex; gap: 8px; }
.bm-bar { flex: 1; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.25); border-radius: 3px; cursor: pointer; overflow: hidden; }
.bm-bar i { display: block; height: 100%; width: 0; background: var(--bm-ink); }
.bm-bar.on i { animation: bm-fill 6s linear forwards; }
.bm-bar.done i { width: 100%; }
@media (max-width: 900px) { .bm-hgrid { grid-template-columns: 1fr; } }

.bm-mq { border-top: 1px solid var(--bm-line); border-bottom: 1px solid var(--bm-line); overflow: hidden; padding: 22px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.bm-mq .track { display: flex; gap: 28px; width: max-content; animation: bm-mq 40s linear infinite; align-items: center; }
.bm-mq span { font-size: clamp(28px, 4vw, 52px); font-weight: 700; letter-spacing: -.04em; color: rgba(244,243,239,.16); }
.bm-mq i { font-style: normal; color: var(--bm-acc); font-size: 20px; }

.bm-sheet { background: var(--bm-paper); color: #111; border-radius: clamp(32px, 5vw, 56px) clamp(32px, 5vw, 56px) 0 0; margin-top: clamp(56px, 8vh, 90px); padding: clamp(90px, 12vh, 140px) 0 clamp(110px, 14vh, 160px); position: relative; z-index: 2; }
.bm-sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.bm-lbl { font-size: 12px !important; font-weight: 700; letter-spacing: .14em; color: rgba(17,17,17,.45) !important; display: flex; align-items: center; gap: 14px; margin: 0; }
.bm-lbl::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.bm-title { font-size: clamp(36px, 5.2vw, 76px); letter-spacing: -.045em; line-height: 1; margin: 14px 0 0; font-weight: 700; color: #111; }
.bm-title .m { color: rgba(17,17,17,.3); }
.bm-more { font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(17,17,17,.2); color: #111 !important; }
.bm-more:hover { background: #111; color: #fff !important; }
.bm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 24px); }
.bm-card { display: flex; flex-direction: column; color: #111 !important; }
.bm-card .ph { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16/9; background: #ddd; }
.bm-card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--bm-out); }
.bm-card:hover .ph img { transform: scale(1.05); }
.bm-card .arrow { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #111; transition: transform .35s var(--bm-out), background .25s, color .25s; }
.bm-card:hover .arrow { transform: rotate(-45deg); background: #111; color: #fff; }
.bm-card .meta { margin-top: 16px; }
.bm-chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255,106,26,.12); color: var(--bm-acc-ink); }
.bm-date { font-family: ui-monospace, "JetBrains Mono", monospace; font-size: 11.5px; color: rgba(17,17,17,.45); margin-left: 10px; letter-spacing: .04em; }
.bm-card h3 { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.38; letter-spacing: -.03em; margin: 10px 0 6px; font-weight: 700; color: #111; }
.bm-card p { margin: 0; color: rgba(17,17,17,.58); font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1024px) { .bm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bm-grid { grid-template-columns: 1fr; } }

.bm-cats { margin-top: clamp(90px, 12vh, 140px); }
.bm-crow { display: grid; grid-template-columns: 70px 1.1fr 2fr 80px 40px; align-items: center; gap: 16px; padding: 26px 6px; border-top: 1px solid rgba(17,17,17,.14); color: #111 !important; transition: padding .35s var(--bm-out), background .3s; }
.bm-crow:last-child { border-bottom: 1px solid rgba(17,17,17,.14); }
.bm-crow:hover { padding-left: 20px; background: rgba(17,17,17,.035); }
.bm-crow .cno { font-family: var(--bm-serif); font-style: italic; font-size: 34px; color: rgba(17,17,17,.35); }
.bm-crow .cname { font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.04em; }
.bm-crow .cdesc { color: rgba(17,17,17,.55); font-size: 15px; }
.bm-crow .ccount { font-family: ui-monospace, "JetBrains Mono", monospace; font-size: 13px; color: rgba(17,17,17,.5); text-align: right; }
.bm-crow .carrow { font-size: 22px; transition: transform .35s var(--bm-out); }
.bm-crow:hover .carrow { transform: translateX(6px); color: var(--bm-acc-ink); }
@media (max-width: 760px) { .bm-crow { grid-template-columns: 44px 1fr 50px; row-gap: 4px; } .bm-crow .cdesc { grid-column: 2 / 4; grid-row: 2; } .bm-crow .carrow { display: none; } .bm-crow .cno { font-size: 26px; } }

.bm-end { background: var(--bm-bg); border-radius: clamp(32px, 5vw, 56px) clamp(32px, 5vw, 56px) 0 0; margin-top: -48px; position: relative; z-index: 3; overflow: hidden; padding: clamp(100px, 14vh, 160px) 0 clamp(90px, 12vh, 140px); }
.bm-end-h { font-size: clamp(36px, 5.6vw, 84px); letter-spacing: -.045em; line-height: 1.02; margin: 0 0 30px; font-weight: 700; color: var(--bm-ink); }
.bm-end-h .serif { color: var(--bm-mute); }
.bm-btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--bm-ink); color: #0a0a0a !important; position: relative; z-index: 1; }
.bm-btn b { width: 36px; height: 36px; border-radius: 50%; background: #0a0a0a; color: var(--bm-ink); display: grid; place-items: center; transition: transform .35s var(--bm-out); }
.bm-btn:hover b { transform: rotate(-45deg); }
.bm-ghost { position: absolute; left: 50%; bottom: -.18em; transform: translateX(-50%); font-weight: 900; font-size: 30vw; letter-spacing: -.07em; line-height: .8; color: rgba(255,255,255,.04); white-space: nowrap; pointer-events: none; }

.bm-js .bm-reveal { opacity: 0; transform: translateY(28px); }
.bm-js .bm-reveal.seen { opacity: 1; transform: none; transition: opacity .85s var(--bm-out), transform .85s var(--bm-out); }
@media (prefers-reduced-motion: reduce) {
	.bm-rise, .bm-fade, .bm-mq .track, .bm-bar.on i { animation: none; }
	.bm-js .bm-reveal { opacity: 1; transform: none; }
	.bm-lead-img img { transform: none !important; }
}

/* 카테고리·검색 머리 띠 검정 */
.post-archive-hero-section .entry-hero-container-inner, .search .entry-hero-container-inner { background: var(--bm-bg) !important; }
.post-archive-hero-section .hero-section-overlay { background: transparent !important; }
.post-archive-hero-section .archive-title, .post-archive-hero-section .page-title { color: var(--bm-ink) !important; }
.post-archive-hero-section .archive-description, .post-archive-hero-section .archive-description p { color: var(--bm-mute) !important; }
