/* ==========================================================================
   Beaconwire — main stylesheet
   ========================================================================== */

:root {
	--bw-accent: #ff5a1f;
	--bw-ink: #15130f;
	--bw-ink-2: #3b3830;
	--bw-muted: #6f6a5f;
	--bw-paper: #f5f2ea;
	--bw-paper-2: #ece7db;
	--bw-card: #fffdf8;
	--bw-line: #ddd6c6;
	--bw-radius: 14px;
	--bw-radius-sm: 9px;
	--bw-shadow: 0 1px 0 rgba(21, 19, 15, .04), 0 10px 30px -18px rgba(21, 19, 15, .35);
	--bw-shadow-lg: 0 2px 0 rgba(21, 19, 15, .04), 0 24px 50px -24px rgba(21, 19, 15, .45);
	--bw-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bw-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
	--bw-max: 1240px;
	--bw-gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bw-paper);
	color: var(--bw-ink);
	font: 400 16px/1.6 var(--bw-font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--bw-accent); }
:focus-visible { outline: 2px solid var(--bw-accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--bw-display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.bw-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bw-ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.bw-skip:focus { left: 8px; }

.bw-container { width: 100%; max-width: var(--bw-max); margin: 0 auto; padding: 0 var(--bw-gutter); }

/* Buttons ----------------------------------------------------------------- */
.bw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--bw-ink);
	font: 600 15px/1 var(--bw-font); text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
	white-space: nowrap;
}
.bw-btn:active { transform: translateY(1px); }
.bw-btn--primary { background: var(--bw-ink); color: var(--bw-paper); }
.bw-btn--primary:hover { background: var(--bw-accent); border-color: var(--bw-accent); color: #fff; }
.bw-btn--ghost { background: transparent; color: var(--bw-ink); }
.bw-btn--ghost:hover { background: var(--bw-ink); color: var(--bw-paper); }
.bw-btn--sm { padding: 8px 13px; font-size: 13px; }
.bw-btn--lg { padding: 15px 26px; font-size: 16px; }
.bw-btn[hidden] { display: none; }

/* Header ------------------------------------------------------------------ */
.bw-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bw-paper) 86%, transparent);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--bw-line);
}
.admin-bar .bw-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bw-header { top: 0; position: relative; } }

.bw-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.bw-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px/1 var(--bw-display); letter-spacing: -.03em; }
.bw-brand:hover { color: var(--bw-ink); }
.bw-brand__mark {
	width: 22px; height: 22px; border-radius: 50%;
	background: radial-gradient(circle, var(--bw-accent) 0 30%, transparent 32% 52%, var(--bw-accent) 54% 64%, transparent 66%);
}
.custom-logo-link img { max-height: 44px; width: auto; }

.bw-nav { margin-left: auto; }
.bw-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.bw-nav__list a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--bw-ink-2); }
.bw-nav__list a:hover, .bw-nav__list .current-menu-item > a { background: var(--bw-paper-2); color: var(--bw-ink); }
.bw-nav__list li { position: relative; }
.bw-nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 200px; list-style: none; margin: 6px 0 0; padding: 6px;
	background: var(--bw-card); border: 1px solid var(--bw-line); border-radius: var(--bw-radius-sm); box-shadow: var(--bw-shadow);
	opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s;
}
.bw-nav__list li:hover > .sub-menu, .bw-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.bw-search { display: flex; align-items: center; background: var(--bw-card); border: 1px solid var(--bw-line); border-radius: 999px; padding: 3px 4px 3px 14px; }
.bw-search input { border: 0; background: transparent; font: inherit; font-size: 14px; width: 170px; outline: 0; color: var(--bw-ink); }
.bw-search button { border: 0; background: var(--bw-ink); color: var(--bw-paper); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.bw-search button:hover { background: var(--bw-accent); }

.bw-burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--bw-line); background: var(--bw-card); border-radius: 50%; cursor: pointer; position: relative; }
.bw-burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--bw-ink); transition: .2s; }
.bw-burger span:first-child { top: 16px; }
.bw-burger span:last-child { top: 23px; }
.is-open .bw-burger span:first-child { top: 20px; transform: rotate(45deg); }
.is-open .bw-burger span:last-child { top: 20px; transform: rotate(-45deg); }

@media (max-width: 900px) {
	.bw-header__inner { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
	.bw-burger { display: block; }
	.bw-nav, .bw-search { display: none; width: 100%; }
	.bw-header.is-open .bw-nav, .bw-header.is-open .bw-search { display: flex; }
	.bw-nav { order: 3; margin: 0; }
	.bw-nav__list { flex-direction: column; width: 100%; }
	.bw-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding-left: 12px; }
	.bw-search { order: 4; }
	.bw-search input { width: 100%; }
}

/* Hero -------------------------------------------------------------------- */
.bw-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--bw-line); }
.bw-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 8vw, 96px); }
.bw-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 14px 6px 10px; border: 1px solid var(--bw-line); border-radius: 999px; background: var(--bw-card); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--bw-ink-2); }
.bw-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bw-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bw-accent) 22%, transparent); animation: bw-pulse 2.2s infinite; }
@keyframes bw-pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--bw-accent) 0%, transparent); } }

.bw-hero__title { font-size: clamp(40px, 6.4vw, 84px); font-weight: 800; line-height: .98; letter-spacing: -.045em; margin-bottom: 22px; max-width: 13ch; text-wrap: balance; }
.bw-hero__text { font-size: clamp(17px, 1.6vw, 20px); color: var(--bw-ink-2); max-width: 52ch; margin: 0 0 30px; }
.bw-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.bw-stats { display: flex; gap: 36px; margin: 40px 0 0; padding: 0; }
.bw-stats div { border-left: 2px solid var(--bw-accent); padding-left: 14px; }
.bw-stats dt { font-size: 13px; color: var(--bw-muted); text-transform: uppercase; letter-spacing: .08em; }
.bw-stats dd { margin: 2px 0 0; font: 800 32px/1 var(--bw-display); letter-spacing: -.03em; }

.bw-hero__art { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: end; }
.bw-beacon { position: absolute; inset: 0; display: grid; place-items: center; }
.bw-beacon i { position: absolute; border: 1.5px solid var(--bw-line); border-radius: 50%; }
.bw-beacon i:nth-child(1) { inset: 0; }
.bw-beacon i:nth-child(2) { inset: 16%; border-style: dashed; animation: bw-spin 60s linear infinite; }
.bw-beacon i:nth-child(3) { inset: 32%; border-color: color-mix(in srgb, var(--bw-accent) 45%, var(--bw-line)); }
.bw-beacon span { width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--bw-accent); box-shadow: 0 0 0 14px color-mix(in srgb, var(--bw-accent) 16%, transparent), 0 0 80px 10px color-mix(in srgb, var(--bw-accent) 40%, transparent); }
@keyframes bw-spin { to { transform: rotate(360deg); } }

.bw-float {
	position: absolute; padding: 8px 14px; background: var(--bw-card); border: 1px solid var(--bw-line);
	border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: var(--bw-shadow); white-space: nowrap;
	animation: bw-bob 6s ease-in-out infinite;
}
.bw-float--0 { top: 6%; left: 30%; }
.bw-float--1 { top: 24%; right: -2%; animation-delay: -1s; }
.bw-float--2 { top: 52%; left: -6%; animation-delay: -2s; }
.bw-float--3 { bottom: 18%; right: 4%; animation-delay: -3s; background: var(--bw-ink); color: var(--bw-paper); border-color: var(--bw-ink); }
.bw-float--4 { bottom: 2%; left: 22%; animation-delay: -4s; }
.bw-float--5 { top: 34%; left: 8%; animation-delay: -5s; }
@keyframes bw-bob { 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
	.bw-hero__inner { grid-template-columns: 1fr; }
	.bw-hero__art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* Browse / toolbar -------------------------------------------------------- */
.bw-browse { padding: clamp(40px, 6vw, 72px) 0; scroll-margin-top: 70px; }
.bw-browse--archive { padding-top: 24px; }
.bw-browse__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.bw-section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 0; }
.bw-count { margin: 0; color: var(--bw-muted); font-size: 14px; }

.bw-toolbar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	position: sticky; top: 68px; z-index: 20; padding: 12px 0; margin-bottom: 22px;
	background: var(--bw-paper); border-bottom: 1px solid var(--bw-line);
}
.admin-bar .bw-toolbar { top: 100px; }
@media (max-width: 900px) { .bw-toolbar { position: static; } }

.bw-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; max-width: 100%; }
.bw-chips::-webkit-scrollbar { display: none; }
.bw-chip {
	display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
	padding: 8px 14px; border-radius: 999px; border: 1px solid var(--bw-line); background: var(--bw-card);
	text-decoration: none; font-size: 14px; font-weight: 500; color: var(--bw-ink-2); transition: .15s;
}
.bw-chip:hover { border-color: var(--bw-ink); color: var(--bw-ink); }
.bw-chip.is-active { background: var(--bw-ink); border-color: var(--bw-ink); color: var(--bw-paper); }
.bw-chip__count { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--bw-paper-2); color: var(--bw-muted); }
.bw-chip.is-active .bw-chip__count { background: var(--bw-accent); color: #fff; }

.bw-toolbar__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bw-toolbar__tools .woocommerce-result-count { margin: 0; font-size: 14px; color: var(--bw-muted); }
.bw-toolbar__tools .woocommerce-ordering { margin: 0; }
.bw-input, .bw-select, .bw-toolbar__tools select {
	font: inherit; font-size: 14px; color: var(--bw-ink); background: var(--bw-card);
	border: 1px solid var(--bw-line); border-radius: 999px; padding: 9px 14px; min-height: 40px;
}
.bw-input { width: 180px; }
.bw-select, .bw-toolbar__tools select { padding-right: 32px; appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2315130f' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; }
.bw-input:focus, .bw-select:focus { outline: 0; border-color: var(--bw-ink); }

/* Grid + card ------------------------------------------------------------- */
.bw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(16px, 2vw, 26px); transition: opacity .2s; }
.bw-grid[aria-busy="true"] { opacity: .45; pointer-events: none; }

.bw-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--bw-card); border: 1px solid var(--bw-line); border-radius: var(--bw-radius);
	overflow: hidden; box-shadow: var(--bw-shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
	animation: bw-in .35s ease both;
}
.bw-card:hover { transform: translateY(-4px); box-shadow: var(--bw-shadow-lg); border-color: color-mix(in srgb, var(--bw-ink) 30%, var(--bw-line)); }
@keyframes bw-in { from { opacity: 0; transform: translateY(8px); } }

.bw-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bw-paper-2); border-bottom: 1px solid var(--bw-line); }
.bw-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 2.4s ease, object-position 2.4s ease; }
.bw-card:hover .bw-card__media img { object-position: bottom; }

.bw-card__badge { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 999px; background: var(--bw-accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.bw-card__visit {
	position: absolute; right: 12px; bottom: 12px; padding: 8px 13px; border-radius: 999px;
	background: var(--bw-ink); color: var(--bw-paper); font-size: 13px; font-weight: 600;
	opacity: 0; transform: translateY(6px); transition: .2s;
}
.bw-card:hover .bw-card__visit { opacity: 1; transform: none; }

.bw-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.bw-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.bw-card__cat { color: var(--bw-accent); text-decoration: none; }
.bw-card__cat:hover { text-decoration: underline; }
.bw-card__source { color: var(--bw-muted); }
.bw-card__source::before { content: "·"; margin-right: 10px; }
.bw-card__cat + .bw-card__source::before { display: inline; }
.bw-card__meta > .bw-card__source:first-child::before { display: none; }

.bw-card__title { font-size: 21px; font-weight: 700; margin: 0; }
.bw-card__title a { text-decoration: none; }
.bw-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.bw-card__excerpt { margin: 0; color: var(--bw-muted); font-size: 14px; line-height: 1.5; }

.bw-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--bw-line); }
.bw-card__price { font: 800 20px/1 var(--bw-display); letter-spacing: -.02em; }
.bw-card__price del { font-size: 14px; color: var(--bw-muted); font-weight: 500; margin-right: 4px; }
.bw-card__price ins { text-decoration: none; }
.bw-card__actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
/* Keep secondary links above the full-card overlay link. */
.bw-card__actions a, .bw-card__cat { position: relative; z-index: 2; }

/* Placeholder (no image) */
.bw-ph { position: absolute; inset: 0; display: flex; flex-direction: column; background: hsl(var(--h) 45% 92%); }
.bw-ph__bar { display: flex; gap: 5px; padding: 10px 12px; background: hsl(var(--h) 30% 84%); }
.bw-ph__bar i { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--h) 25% 66%); }
.bw-ph__body { position: relative; flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.bw-ph__mark { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: hsl(var(--h) 55% 38%); color: #fff; font: 800 28px/1 var(--bw-display); }
.bw-ph__lines { display: grid; gap: 8px; }
.bw-ph__lines b { display: block; height: 10px; border-radius: 6px; background: hsl(var(--h) 30% 80%); }
.bw-ph__lines b:nth-child(1) { width: 78%; }
.bw-ph__lines b:nth-child(2) { width: 56%; }
.bw-ph__lines b:nth-child(3) { width: 66%; }
.bw-ph__label { position: absolute; right: 18px; bottom: 16px; font: 700 13px/1 var(--bw-display); color: hsl(var(--h) 40% 34%); text-transform: uppercase; letter-spacing: .1em; }

.bw-empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; color: var(--bw-muted); background: var(--bw-card); border: 1px dashed var(--bw-line); border-radius: var(--bw-radius); }
.bw-more { display: flex; justify-content: center; margin-top: 36px; }

/* WooCommerce pagination */
.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul.page-numbers, .bw-pagination .nav-links { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 0; border: 0 !important; }
.woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span,
.bw-pagination .page-numbers {
	display: grid !important; place-items: center; min-width: 40px; height: 40px; padding: 0 10px !important;
	border-radius: 999px; border: 1px solid var(--bw-line); background: var(--bw-card); text-decoration: none; font-weight: 600;
}
.woocommerce-pagination .page-numbers .current, .bw-pagination .page-numbers.current { background: var(--bw-ink) !important; color: var(--bw-paper) !important; border-color: var(--bw-ink); }
.bw-pagination { margin-top: 40px; }

/* Steps ------------------------------------------------------------------- */
.bw-steps { background: var(--bw-ink); color: var(--bw-paper); padding: clamp(48px, 7vw, 88px) 0; }
.bw-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.bw-step { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 22px; }
.bw-step__n { font: 800 14px/1 var(--bw-display); color: var(--bw-accent); letter-spacing: .1em; }
.bw-step h3 { font-size: 26px; margin: 14px 0 8px; }
.bw-step p { margin: 0; color: rgba(245, 242, 234, .7); }
@media (max-width: 760px) { .bw-steps__grid { grid-template-columns: 1fr; } }

/* Page heads, archives ---------------------------------------------------- */
.bw-page-head { padding: clamp(32px, 5vw, 56px) 0 8px; }
.bw-page-title { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; margin: 0 0 12px; }
.bw-page-desc { color: var(--bw-ink-2); max-width: 64ch; font-size: 17px; }
.bw-crumbs, .woocommerce-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--bw-muted); margin-bottom: 14px; }
.bw-crumbs a { color: var(--bw-muted); text-decoration: none; }
.bw-crumbs a:hover { color: var(--bw-accent); }

/* Single product ---------------------------------------------------------- */
.bw-single { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); padding-top: 12px; padding-bottom: 56px; align-items: start; }
.bw-single__media { display: grid; gap: 16px; }
.bw-single__media img, .bw-single__media .bw-ph { border-radius: var(--bw-radius); border: 1px solid var(--bw-line); background: var(--bw-card); }
.bw-single__media .bw-ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.bw-single__info { position: sticky; top: 96px; background: var(--bw-card); border: 1px solid var(--bw-line); border-radius: var(--bw-radius); padding: 28px; box-shadow: var(--bw-shadow); }
.bw-single__title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 12px 0 10px; }
.bw-single__price { font: 800 30px/1 var(--bw-display); margin: 0 0 18px; }
.bw-single__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bw-single__note { font-size: 13px; color: var(--bw-muted); margin: 14px 0 0; }
.bw-single__desc { grid-column: 1 / -1; max-width: 760px; }
.bw-related { padding-bottom: 72px; }
.bw-related .bw-section-title { margin-bottom: 24px; }
@media (max-width: 900px) { .bw-single { grid-template-columns: 1fr; } .bw-single__info { position: static; } }

/* Blog -------------------------------------------------------------------- */
.bw-posts { padding-top: 16px; padding-bottom: 72px; }
.bw-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.bw-post { background: var(--bw-card); border: 1px solid var(--bw-line); border-radius: var(--bw-radius); overflow: hidden; }
.bw-post__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.bw-post__body { padding: 18px 20px 22px; }
.bw-post__meta { font-size: 13px; color: var(--bw-muted); margin: 0 0 6px; }
.bw-post__title { font-size: 22px; margin: 0 0 8px; }
.bw-post__title a { text-decoration: none; }
.bw-post__excerpt p { margin: 0; color: var(--bw-ink-2); font-size: 15px; }

.bw-article { max-width: 820px; padding-top: clamp(32px, 5vw, 56px); padding-bottom: 72px; }
.bw-article__media img { border-radius: var(--bw-radius); margin: 8px 0 28px; }
.bw-prose { font-size: 17px; line-height: 1.75; color: var(--bw-ink-2); }
.bw-prose h2 { font-size: 30px; margin-top: 1.6em; color: var(--bw-ink); }
.bw-prose h3 { font-size: 23px; margin-top: 1.4em; color: var(--bw-ink); }
.bw-prose img { border-radius: var(--bw-radius-sm); }
.bw-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--bw-accent); font-style: italic; }
.bw-prose pre { background: var(--bw-ink); color: var(--bw-paper); padding: 18px; border-radius: var(--bw-radius-sm); overflow: auto; }
.bw-front-content { padding-bottom: 64px; max-width: 820px; }
.bw-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--bw-paper-2); text-decoration: none; font-size: 13px; }

.bw-comments { margin-top: 48px; }
.bw-comment-list { list-style: none; padding: 0; }
.bw-comment-list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--bw-line); }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea, .search-form input[type=search] {
	width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--bw-line); border-radius: var(--bw-radius-sm); background: var(--bw-card);
}
.comment-form .submit, .search-form .search-submit { font: 600 15px/1 var(--bw-font); padding: 13px 22px; border-radius: 999px; border: 0; background: var(--bw-ink); color: var(--bw-paper); cursor: pointer; }

.bw-404, .bw-notice { padding-top: 96px; padding-bottom: 120px; max-width: 760px; }

/* Footer ------------------------------------------------------------------ */
.bw-footer { border-top: 1px solid var(--bw-line); padding: 56px 0 28px; background: var(--bw-paper-2); }
.bw-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.bw-footer__about p { color: var(--bw-muted); max-width: 36ch; margin-top: 14px; }
.bw-footer__title { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--bw-muted); font-family: var(--bw-font); font-weight: 600; margin-bottom: 14px; }
.bw-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bw-footer__links a { text-decoration: none; }
.bw-footer__disclosure { margin: 40px 0 0; padding: 14px 16px; border: 1px solid var(--bw-line); border-radius: var(--bw-radius-sm); font-size: 13px; color: var(--bw-muted); background: var(--bw-paper); }
.bw-footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: 14px; color: var(--bw-muted); }
.bw-totop { text-decoration: none; }
.bw-widget { margin-bottom: 24px; }
.bw-widget__title { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--bw-muted); font-family: var(--bw-font); }
@media (max-width: 760px) { .bw-footer__grid { grid-template-columns: 1fr; } .bw-footer__bottom { flex-direction: column; } }

/* WordPress core alignment helpers */
.alignwide { margin-left: calc(-1 * min(8vw, 120px)); margin-right: calc(-1 * min(8vw, 120px)); }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--bw-muted); }
