/*
Theme Name: Loke.be
Theme URI: https://www.loke.be/
Author: Loke
Description: Twenty Twenty-Four child theme for a dark laboratory notebook site with notebook archive, Dark Room gallery sets, and styled single entries.
Version: 1.0.6
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: lbc
Template: twentytwentyfour
*/

:root {
  --lbc-hero-title-scale: 1;
  --lbc-hero-text-size: 1.02rem;
  --lbc-module-title-scale: 1;
  --lbc-notebook-title-scale: 1;
  --lbc-notebook-text-size: 0.94rem;
  --lbc-module-text-size: 0.91rem;
  --lbc-ui-text-size: 0.85rem;
  --lbc-label-text-size: 0.72rem;
  --lbc-meta-text-size: 0.82rem;
  --lbc-site-title-size: 1.08rem;
  --lbc-site-tagline-size: 0.72rem;
  --lbc-pill-height: 2.16rem;
  --lbc-pill-pad-x: 0.95rem;
  --lbc-chip-text-size: 0.75rem;
  --lbc-chip-height: 1.86rem;
  --lbc-chip-pad-x: 0.78rem;
  --bg: #020617;
  --bg-soft: rgba(255,255,255,0.06);
  --bg-soft-2: rgba(255,255,255,0.04);
  --bg-panel: rgba(2,6,23,0.78);
  --panel-dark: rgba(15,23,42,0.82);
  --border: rgba(255,255,255,0.12);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --violet: #8b5cf6;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.6rem;
  --radius-3xl: 2rem;
  --shadow-lg: 0 24px 72px rgba(0,0,0,0.26);
  --shadow-xl: 0 28px 90px rgba(0,0,0,0.32);
  --max-width: 1250px;
  --gap-lg: 1.5rem;
  --gap-md: 1rem;
  --page-bg: radial-gradient(circle at 8% 0%, rgba(139,92,246,0.16), transparent 22%), radial-gradient(circle at 88% 2%, rgba(56,189,248,0.14), transparent 20%), radial-gradient(circle at 78% 18%, rgba(217,70,239,0.08), transparent 18%), radial-gradient(circle at top, rgba(255,255,255,0.05), transparent 32%), linear-gradient(to bottom, rgba(8,12,28,0.98), rgba(2,6,23,1));
  --stage-core-bg: radial-gradient(circle at 50% 4%, rgba(167,139,250,0.34), rgba(167,139,250,0.12) 28%, transparent 60%), linear-gradient(180deg, rgba(48,47,136,0.46) 0%, rgba(28,33,92,0.24) 52%, transparent 100%);
  --stage-glow-bg: radial-gradient(circle at 50% 0%, rgba(221,214,254,0.28), rgba(167,139,250,0.12) 34%, transparent 74%);
  --top-stage-line: rgba(255,255,255,0.32);
  --top-stage-line-glow: rgba(196,181,253,0.18);
  --hero-grain-tint: rgba(255,255,255,0.82);
  --btn-primary-bg: linear-gradient(135deg, #8b5cf6, #7c3aed);
  --btn-primary-hover-bg: linear-gradient(135deg, rgba(139,92,246,0.85), #8b5cf6);
  --btn-secondary-hover-bg: linear-gradient(135deg, rgba(124,58,237,0.34), rgba(217,70,239,0.24), rgba(236,72,153,0.24));
  --lbc-font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lbc-font-heading: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --lbc-root-font-size: 16px;
  --lbc-body-line-height: 1.72;
  --lbc-heading-scale: 1;
  --lbc-heading-line-height: 1.02;
}

html { scroll-behavior: smooth; font-size: var(--lbc-root-font-size); }
html, body, .wp-site-blocks { min-height: 100%; background: var(--bg) !important; }
body {
  margin: 0;
  background: var(--page-bg) !important;
  color: var(--text);
  font-family: var(--lbc-font-body);
  line-height: var(--lbc-body-line-height);
}
body .wp-site-blocks, body .is-layout-constrained, body .wp-block-group { background: transparent !important; }
body .wp-site-blocks { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body .is-layout-flow > .alignwide,
body .alignwide { max-width: var(--max-width) !important; }
body .alignfull { max-width: none !important; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button,input,textarea,select { font: inherit; }

.lbc-shell { position: relative; width: min(calc(100% - 2.5rem), var(--max-width)); max-width: var(--max-width); margin: 0 auto; padding: 1.2rem 0 5rem; }

.lbc-site-header { position: relative; z-index: 20; min-height: 102px; margin-bottom: -10px; }
.lbc-site-header--stage { isolation: isolate; }
.lbc-top-stage { position: absolute; inset: 0 0 auto 0; height: 112px; overflow: visible; pointer-events: none; }
.lbc-top-stage::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 112px;
  background: var(--stage-core-bg);
  filter: blur(7px);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.95) 18%, rgba(0,0,0,0.95) 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.95) 18%, rgba(0,0,0,0.95) 82%, transparent 100%);
}
.lbc-top-stage::after {
  content: "";
  position: absolute;
  left: 19%;
  right: 19%;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--top-stage-line), transparent);
  box-shadow: 0 0 18px var(--top-stage-line-glow);
  opacity: 0.82;
}
.lbc-top-stage-glow,
.lbc-top-stage-stars,
.lbc-top-stage-molecules,
.lbc-top-stage-veil { position: absolute; inset: 0; pointer-events: none; }
.lbc-top-stage-glow {
  left: 28%; right: 28%; inset-block: auto -6px; height: 72px;
  background: var(--stage-glow-bg); filter: blur(14px);
}
.lbc-top-stage-stars {
  left: 18%; right: 18%; top: 0; bottom: 12px; opacity: 0.72;
  background-image:
    radial-gradient(rgba(255,255,255,0.78) 1px, transparent 1.2px),
    radial-gradient(rgba(221,214,254,0.56) 1px, transparent 1.2px),
    radial-gradient(rgba(255,255,255,0.38) 0.8px, transparent 1px);
  background-size: 92px 92px, 124px 124px, 74px 74px;
  background-position: 18px 20px, 72px 10px, 8px 42px;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.96) 10%, rgba(0,0,0,0.96) 90%, transparent 100%), linear-gradient(180deg, rgba(0,0,0,0.96), rgba(0,0,0,0.52) 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.96) 10%, rgba(0,0,0,0.96) 90%, transparent 100%), linear-gradient(180deg, rgba(0,0,0,0.96), rgba(0,0,0,0.52) 72%, transparent 100%);
}
.lbc-top-stage-veil { background: linear-gradient(180deg, rgba(2,6,23,0.00) 0%, rgba(2,6,23,0.04) 54%, rgba(2,6,23,0.16) 100%); }

.lbc-stage-molecule { position: absolute; transform: translate(-50%, -50%); filter: drop-shadow(0 14px 26px rgba(0,0,0,0.24)); }
.lbc-stage-molecule-core {
  position: relative; width: 62px; height: 62px; border-radius: 44% 56% 52% 48% / 48% 42% 58% 52%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.52), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04) 28%, transparent 36%),
    linear-gradient(135deg, var(--mol-a), var(--mol-b));
  box-shadow: inset 0 -10px 18px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.22);
}
.lbc-stage-molecule-core.has-image { background: transparent; box-shadow: none; width: 72px; height: 72px; border-radius: 0; }
.lbc-stage-molecule-image { width: 100%; height: 100%; object-fit: contain; display: block; }
.lbc-stage-molecule.violet { --mol-a: #d8b4fe; --mol-b: #8b5cf6; }
.lbc-stage-molecule.pink { --mol-a: #f0abfc; --mol-b: #ec4899; }
.lbc-stage-molecule.amber { --mol-a: #fde68a; --mol-b: #fb923c; }
.lbc-stage-molecule-face {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 8px;
  padding: 6px 10px; border-radius: 999px; background: rgba(6,10,28,0.74); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.lbc-stage-molecule-face span { width: 5px; height: 9px; border-radius: 999px; background: #f8fafc; }
.lbc-stage-molecule-symbol { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 1.05rem; color: rgba(10,14,34,0.84); text-shadow: 0 1px 0 rgba(255,255,255,0.18); }
.lbc-stage-orb { position: absolute; border-radius: 999px; background: rgba(255,255,255,0.18); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }
.lbc-stage-orb-a { width: 16px; height: 16px; left: -6px; bottom: 10px; }
.lbc-stage-orb-b { width: 11px; height: 11px; right: 3px; top: 5px; opacity: 0.72; }
.lbc-top-stage-molecules.count-1 .lbc-stage-slot-1 { left: 53%; top: 48px; }
.lbc-top-stage-molecules.count-2 .lbc-stage-slot-1 { left: 49%; top: 48px; }
.lbc-top-stage-molecules.count-2 .lbc-stage-slot-2 { left: 58%; top: 34px; }
.lbc-top-stage-molecules.count-3 .lbc-stage-slot-1 { left: 46%; top: 48px; }
.lbc-top-stage-molecules.count-3 .lbc-stage-slot-2 { left: 59%; top: 34px; }
.lbc-top-stage-molecules.count-3 .lbc-stage-slot-3 { left: 56%; top: 84px; }
.lbc-top-stage-molecules .lbc-stage-slot-2 .lbc-stage-molecule-core:not(.has-image) { width: 52px; height: 52px; }
.lbc-top-stage-molecules .lbc-stage-slot-3 .lbc-stage-molecule-core:not(.has-image) { width: 56px; height: 56px; }

.lbc-topbar { position: relative; z-index: 3; display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding:0.6rem 0 0; background:transparent; }
.lbc-brand { display:flex; align-items:center; gap:1rem; min-width:0; }
.lbc-brand-mark { width:3.5rem; height:3.5rem; border-radius:1rem; display:flex; align-items:center; justify-content:center; padding:0; background: transparent; border: 0; box-shadow: none; }
.lbc-brand:hover .lbc-brand-mark { transform: scale(1.02); }
.lbc-brand-mark img, .lbc-brand-mark .custom-logo { width:100%; height:100%; object-fit:cover; border-radius:0.85rem; box-shadow:0 8px 24px rgba(0,0,0,0.16); display:block; }
.lbc-eyebrow { font-size:var(--lbc-site-tagline-size); line-height:1; text-transform:uppercase; letter-spacing:0.3em; color:rgba(235,229,255,0.86); }
.lbc-brand-title { margin-top:0.35rem; font-size:calc(var(--lbc-site-title-size) * var(--lbc-heading-scale)); font-weight:600; letter-spacing:-0.02em; color:var(--text); text-shadow: 0 4px 18px rgba(2,6,23,0.28); }
.lbc-nav { margin-left:auto; }
.lbc-nav ul { list-style:none; display:flex; align-items:center; justify-content:flex-end; gap:0.35rem; padding:0; margin:0; }
.lbc-nav a { display:inline-flex; align-items:center; justify-content:center; border-radius:999px; padding:0.68rem 0.98rem; color:rgba(241,245,249,0.9); transition:background-color .2s ease,color .2s ease, border-color .2s ease; border:1px solid transparent; }
.lbc-nav a:hover { background:rgba(255,255,255,0.07); border-color:rgba(255,255,255,0.10); color:#fff; }

.lbc-section-gap { margin-top:1.5rem; }
.lbc-card { position: relative; border:1px solid var(--border); border-radius:var(--radius-3xl); background:rgba(255,255,255,0.06); box-shadow:var(--shadow-lg); backdrop-filter:blur(18px); }
.lbc-card::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(to bottom, rgba(255,255,255,0.05), transparent 14%); opacity:0.65; }
.lbc-hero-card { overflow:hidden; min-height:clamp(350px, 30vw, 390px); box-shadow:var(--shadow-xl); }
.lbc-hero-inner { position:relative; min-height:inherit; height:100%; padding:clamp(1.5rem, 2.2vw, 2.25rem); overflow:hidden; display:flex; isolation:isolate; }
.lbc-hero-media,.lbc-hero-overlay,.lbc-hero-overlay-2,.lbc-hero-overlay-grain { position:absolute; inset:0; }
.lbc-hero-media { background-size:cover; background-position:center; filter:saturate(1.1) contrast(1.04) brightness(1.03); }
.lbc-hero-overlay { background:linear-gradient(90deg, rgba(2,6,23,0.84) 0%, rgba(2,6,23,0.66) 42%, rgba(2,6,23,0.38) 68%, rgba(2,6,23,0.48) 100%); }
.lbc-hero-overlay-2 { background: radial-gradient(circle at 20% 18%, rgba(168,85,247,0.18), transparent 24%), radial-gradient(circle at 82% 24%, rgba(217,70,239,0.14), transparent 22%), radial-gradient(circle at 78% 76%, rgba(56,189,248,0.11), transparent 20%); }
.lbc-hero-overlay-grain {
  opacity:0.12; mix-blend-mode:screen;
  background-image: radial-gradient(color-mix(in srgb, var(--hero-grain-tint) 42%, transparent) 0.6px, transparent 0.7px), radial-gradient(color-mix(in srgb, var(--hero-grain-tint) 28%, transparent) 0.5px, transparent 0.6px);
  background-size:10px 10px, 14px 14px; background-position:0 0, 5px 6px;
}
.lbc-hero-content { position:relative; min-height:100%; width:100%; display:flex; flex-direction:column; justify-content:flex-start; max-width:46rem; padding-top:0.15rem; z-index:2; }
.lbc-hero-body { margin-top:auto; max-width:46rem; padding-bottom:0.25rem; }
.lbc-hero-title { margin:0 0 0.35rem; max-width:46rem; font-size:clamp(2.75rem, 5vw, 4.25rem); line-height:0.98; letter-spacing:-0.03em; font-weight:600; font-family:var(--lbc-font-heading); }
.lbc-hero-text { margin:0; max-width:42rem; font-size:var(--lbc-hero-text-size); line-height:1.82; color:var(--text-soft); }

.lbc-button-row { display:flex; flex-wrap:wrap; gap:0.75rem; margin-top:1.25rem; padding-top:0; }
.lbc-btn, .wp-block-button__link, button[type="submit"], input[type="submit"] {
  position: relative; overflow: hidden; isolation: isolate; display:inline-flex; align-items:center; justify-content:center; gap:0.5rem;
  border-radius:1rem; border:1px solid rgba(196,181,253,0.24); background:rgba(255,255,255,0.04); color:#f5f3ff; padding:0.88rem 1.2rem; cursor:pointer;
  transition:transform .25s ease, background-color .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease, filter .25s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 24px rgba(2,6,23,0.18);
}
.lbc-btn::before, .wp-block-button__link::before, button[type="submit"]::before, input[type="submit"]::before {
  content:""; position:absolute; inset:-1px; background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 18%, transparent 36%);
  transform: translateX(-130%); transition: transform .7s ease; pointer-events:none; z-index:0;
}
.lbc-btn > *, .wp-block-button__link > * { position:relative; z-index:1; }
.lbc-btn:hover, .wp-block-button__link:hover, button[type="submit"]:hover, input[type="submit"]:hover { transform:translateY(-2px) scale(1.01); filter:saturate(1.06); }
.lbc-btn:hover::before, .wp-block-button__link:hover::before, button[type="submit"]:hover::before, input[type="submit"]:hover::before { transform: translateX(130%); }
.lbc-btn-primary { background:var(--btn-primary-bg); color:#fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 14px 34px rgba(124,58,237,0.34), 0 0 0 1px rgba(167,139,250,0.14); }
.lbc-btn-primary:hover { background:var(--btn-primary-hover-bg); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 18px 42px rgba(168,85,247,0.38), 0 0 0 1px rgba(196,181,253,0.22); }
.lbc-btn-secondary { background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)); border-color: rgba(196,181,253,0.20); }
.lbc-btn-secondary:hover { border-color:rgba(244,114,182,0.36); background:var(--btn-secondary-hover-bg); color:#fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 16px 38px rgba(168,85,247,0.20), 0 0 0 1px rgba(217,70,239,0.12); }

.lbc-two-col { display:grid; grid-template-columns:1.06fr 0.94fr; gap:var(--gap-lg); align-items:stretch; }
.lbc-card-inner { padding:1.5rem; }
.lbc-home-panel-inner { display:flex; flex-direction:column; min-height:100%; }
.lbc-home-panel-body { display:flex; flex:1 1 auto; flex-direction:column; }
.lbc-panel-header { display:flex; align-items:center; gap:0.75rem; margin-bottom:1rem; }
.lbc-svg-icon, .lbc-bench-svg, .lbc-social svg { width:1.1rem; height:1.1rem; display:block; }
.lbc-bench-svg { width:1.3rem; height:1.3rem; }
.lbc-panel-header .lbc-svg-icon { color:#c4b5fd; }

.lbc-records, .lbc-records-grid { display:grid; gap:0.85rem; }
.lbc-records-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.lbc-record {
  position:relative; overflow:hidden; display:grid; gap:0.95rem; border:1px solid rgba(255,255,255,0.10); border-radius:1.15rem; background:rgba(2,6,23,0.32); padding:0.9rem 0.95rem;
  transition:border-color .2s ease, background-color .2s ease; box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.lbc-record:hover, .lbc-record:focus-within { border-color:color-mix(in srgb, var(--record-accent, #c4b5fd) 34%, rgba(255,255,255,0.1)); background:rgba(2,6,23,0.46); box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 0 1px color-mix(in srgb, var(--record-accent, #c4b5fd) 14%, transparent); }
.lbc-record::before { content:""; position:absolute; inset-inline:0; top:0; height:1px; background:rgba(255,255,255,0.08); }
.lbc-record-accent-amber { --record-accent:#facc15; }
.lbc-record-accent-violet { --record-accent:#c4b5fd; }
.lbc-record-accent-sky { --record-accent:#7dd3fc; }
.lbc-record-accent-fuchsia { --record-accent:#f0abfc; }
.lbc-record-accent-emerald { --record-accent:#6ee7b7; }
.lbc-record-accent-rose { --record-accent:#fb7185; }
.lbc-record.has-thumb { grid-template-columns:minmax(9rem, 11.25rem) minmax(0, 1fr); align-items:stretch; }
.lbc-record-media {
  position:relative; display:block; overflow:hidden; min-height:0; border-radius:0.95rem; border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03); aspect-ratio:4 / 5; isolation:isolate;
}
.lbc-record-media::after {
  content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,23,42,0.02) 0%, rgba(15,23,42,0.12) 100%);
  pointer-events:none;
}
.lbc-record-image { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.lbc-record:hover .lbc-record-image { transform:scale(1.03); }
.lbc-record-content { min-width:0; display:flex; flex-direction:column; }
.lbc-record-meta { display:flex; align-items:center; justify-content:space-between; gap:0.75rem; flex-wrap:wrap; }
.lbc-chip, .lbc-state-chip { display:inline-flex; align-items:center; gap:0.45rem; border:1px solid rgba(196,181,253,0.20); border-radius:999px; text-transform:uppercase; letter-spacing:0.24em; line-height:1; }
.lbc-chip { min-height:var(--lbc-chip-height); padding:0 var(--lbc-chip-pad-x); font-size:var(--lbc-chip-text-size); }
.lbc-state-chip { padding:0.35rem 0.75rem; font-size:var(--lbc-ui-text-size); }
.lbc-chip-dot { width:0.45rem; height:0.45rem; border-radius:999px; display:inline-block; flex:0 0 auto; }
.lbc-record-date { color:var(--text-muted); font-size:var(--lbc-meta-text-size); }
.lbc-record-title { margin:0.65rem 0 0; font-size:0.98rem; font-weight:600; }
.lbc-record-title a:hover { color:#ede9fe; }
.lbc-record-text, .lbc-entry-content, .entry-content, .comment-content { color:var(--text-soft); line-height:1.72; }
.lbc-record-link, .lbc-bench-link, .lbc-related-link { display:inline-flex; align-items:center; gap:0.4rem; margin-top:0.85rem; font-size:var(--lbc-ui-text-size); }
.lbc-record-link { margin-top:auto; }
.lbc-record.has-notebook-preview {
  grid-template-columns:minmax(5.1rem, 5.75rem) minmax(0, 1fr);
  grid-template-areas:
    "media head"
    "body body";
  align-items:start;
  column-gap:1rem;
  row-gap:0.8rem;
}
.lbc-record.has-notebook-preview .lbc-record-media {
  grid-area:media;
  aspect-ratio:1 / 1;
  align-self:start;
}
.lbc-record.has-notebook-preview .lbc-record-head {
  grid-area:head;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.lbc-record.has-notebook-preview .lbc-record-body {
  grid-area:body;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.lbc-record.has-notebook-preview .lbc-record-meta { margin-bottom:0.16rem; }
.lbc-record.has-notebook-preview .lbc-record-title {
  margin:0.56rem 0 0;
  font-size:1.14rem;
  line-height:1.28;
}
.lbc-record-subtitle {
  margin:0.28rem 0 0;
  color:var(--text-soft);
  font-size:0.96rem;
  font-style:italic;
  line-height:1.58;
}
.lbc-record.has-notebook-preview .lbc-record-text { margin-top:0; font-size:var(--lbc-notebook-text-size); line-height:1.56;overflow-wrap:break-word; display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; }
.lbc-record.has-notebook-preview .lbc-record-link { margin-top:0.72rem; }


.lbc-gallery-grid { display:grid; grid-template-columns:1.08fr 0.92fr; gap:0.65rem; height:100%; flex:1; overflow:hidden; }
.lbc-gallery-main, .lbc-gallery-item, .lbc-gallery-archive-frame { position:relative; overflow:hidden; border:1px solid var(--border); border-radius:1.2rem; background:rgba(2,6,23,0.30); min-height:0; isolation:isolate; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.lbc-gallery-main { min-height:240px; }
.lbc-gallery-stack { display:grid; grid-template-rows:1fr 1fr; gap:0.65rem; min-height:240px; }
.lbc-gallery-archive-frame { min-height:260px; }
.lbc-gallery-bg { position:absolute; inset:0; background-size:cover; background-position:center; transition:transform 0.5s ease; transform:translateZ(0); }
.lbc-gallery-item:hover .lbc-gallery-bg, .lbc-gallery-main:hover .lbc-gallery-bg, .lbc-gallery-archive-frame:hover .lbc-gallery-bg { transform:scale(1.03); }
.lbc-gallery-item::after, .lbc-gallery-main::after, .lbc-gallery-archive-frame::after { content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(2,6,23,0.82), rgba(2,6,23,0.08)); }
.lbc-gallery-caption { position:absolute; inset-inline:0; bottom:0; z-index:1; padding:0.9rem; font-size:var(--lbc-module-text-size); font-weight:500; display:grid; gap:.15rem; }
.lbc-gallery-caption-kicker { font-size:calc(var(--lbc-label-text-size) * 0.86); text-transform:uppercase; letter-spacing:.28em; color:rgba(224,242,254,0.84); }
.lbc-gallery-caption-title { font-size:calc(0.98rem * var(--lbc-module-title-scale)); font-weight:600; color:#f8fafc; }
.lbc-gallery-caption-meta { font-size:var(--lbc-meta-text-size); color:rgba(226,232,240,0.82); }
.lbc-gallery-archive-grid { display:grid; gap:1rem; grid-template-columns:repeat(3,minmax(0,1fr)); }
.lbc-gallery-fill-link { position:absolute; inset:0; z-index:3; }
.lbc-gallery-archive-item { position: relative; }
.lbc-gallery-archive-text { margin-top: 0.9rem; color: var(--text-soft); font-size: var(--lbc-module-text-size); line-height: 1.7; }
.lbc-gallery-single-grid { display:grid; gap: var(--gap-lg); grid-template-columns: 0.72fr 0.28fr; }
.lbc-gallery-single-content .wp-block-image,
.lbc-gallery-single-content .wp-block-gallery,
.lbc-gallery-single-content .blocks-gallery-grid { overflow: hidden; position: relative; }
.lbc-gallery-single-content .wp-block-image img,
.lbc-gallery-single-content .wp-block-gallery img,
.lbc-gallery-single-content img { display:block; width:100%; height:auto; object-fit:cover; }
.lbc-gallery-single-content .wp-block-image,
.lbc-gallery-single-content .wp-block-gallery { margin: 1.25rem 0; border-radius: 1.25rem; }

.lbc-benches-carousel-head { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:1rem; margin-bottom:1rem; }
.lbc-benches-heading { text-align:center; }
.lbc-carousel-arrow { position:relative; z-index:4; width:3rem; height:3rem; display:inline-flex; align-items:center; justify-content:center; border-radius:999px; border:1px solid var(--border); background:rgba(255,255,255,0.05); color:var(--text-soft); cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent; transition:transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.lbc-carousel-arrow::before { content:""; position:absolute; inset:-0.55rem; }
.lbc-carousel-arrow:hover, .lbc-carousel-arrow:focus-visible { transform:translateY(-2px); border-color:rgba(244,114,182,0.36); background:var(--btn-secondary-hover-bg); color:#fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 16px 38px rgba(168,85,247,0.20), 0 0 0 1px rgba(217,70,239,0.12); }
.lbc-carousel-arrow:focus-visible { outline:2px solid rgba(196,181,253,0.55); outline-offset:3px; }
.lbc-carousel-arrow-icon--left { transform:rotate(180deg); }
.lbc-benches-rail-wrap { overflow:hidden; padding-inline:12px; margin-inline:-12px; }
.lbc-benches-rail { display:flex; gap:1.25rem; overflow-x:auto; scroll-snap-type:x mandatory; padding-inline:1px; padding-bottom:.5rem; scrollbar-width:none; -ms-overflow-style:none; }
.lbc-benches-rail::-webkit-scrollbar { display:none; }
.lbc-bench-slide { width:85%; flex:0 0 auto; scroll-snap-align:start; }
.lbc-bench-card {
  position:relative; overflow:hidden; cursor:pointer;
  transition:border-color .28s ease, box-shadow .28s ease, filter .28s ease, background .28s ease;
  background:radial-gradient(circle at 14% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 36%), linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.028));
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 0 1px rgba(255,255,255,0.015), var(--shadow-lg);
}
.lbc-bench-card::after {
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  background:linear-gradient(to bottom, rgba(255,255,255,0.05), transparent 18%), radial-gradient(circle at 18% 8%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 28%), linear-gradient(135deg, color-mix(in srgb, var(--accent) 4%, transparent), transparent 46%);
  opacity:.58;
  transition:opacity .28s ease, background .28s ease;
}
.lbc-bench-card:hover,
.lbc-bench-card:focus-within {
  transform:none;
  border-color:color-mix(in srgb, var(--accent) 42%, rgba(255,255,255,0.18));
  background:radial-gradient(circle at 14% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 38%), linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.032));
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08), inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent), var(--shadow-lg);
  filter:saturate(1.08);
}
.lbc-bench-card:hover::after,
.lbc-bench-card:focus-within::after {
  background:linear-gradient(to bottom, rgba(255,255,255,0.06), transparent 18%), radial-gradient(circle at 18% 8%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 28%), linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 46%);
  opacity:.94;
}
.lbc-bench-card::before { content:""; position:absolute; inset-inline:0; top:0; height:1px; background:linear-gradient(90deg, color-mix(in srgb, var(--accent) 44%, transparent), color-mix(in srgb, var(--accent) 14%, transparent)); }
.lbc-bench-notch { position:absolute; top:0; left:1.25rem; width:5rem; height:.75rem; border-radius:0 0 .8rem .8rem; border-style:solid; border-width:0 1px 1px; transition:all .28s ease; border-color:color-mix(in srgb, var(--accent) 14%, transparent); background:color-mix(in srgb, var(--accent) 8%, transparent); }
.lbc-bench-card:hover .lbc-bench-notch,
.lbc-bench-card:focus-within .lbc-bench-notch { border-color:color-mix(in srgb, var(--accent) 62%, transparent); background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 38%, transparent), color-mix(in srgb, var(--accent) 18%, transparent)); box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent); }
.lbc-bench-inner { display:flex; flex-direction:column; min-height:236px; padding:2rem 1.5rem 3.4rem; position:relative; z-index:2; }
.lbc-bench-inner::after { content:""; position:absolute; right:1.25rem; bottom:0; width:5rem; height:.75rem; border-radius:.8rem .8rem 0 0; border-style:solid; border-width:1px 1px 0; transition:all .28s ease; border-color:color-mix(in srgb, var(--accent) 14%, transparent); background:color-mix(in srgb, var(--accent) 8%, transparent); pointer-events:none; z-index:1; }
.lbc-bench-card:hover .lbc-bench-inner::after,
.lbc-bench-card:focus-within .lbc-bench-inner::after { border-color:color-mix(in srgb, var(--accent) 62%, transparent); background:linear-gradient(0deg, color-mix(in srgb, var(--accent) 38%, transparent), color-mix(in srgb, var(--accent) 18%, transparent)); box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent); }
.lbc-bench-header { display:flex; align-items:center; gap:.9rem; margin-bottom:1rem; }
.lbc-bench-icon { width:3rem; height:3rem; display:flex; align-items:center; justify-content:center; border-radius:1rem; border:1px solid var(--border); background:rgba(2,6,23,0.70); flex:0 0 auto; color:color-mix(in srgb, var(--accent) 85%, white 15%); }
.lbc-bench-title { margin:0; font-size:calc(1.02rem * var(--lbc-module-title-scale)); font-weight:600; line-height:1.15; flex:1 1 auto; align-self:center; }
.lbc-bench-text { margin-top:.15rem; margin-bottom:.75rem; color:var(--text-soft); line-height:1.72; font-size:var(--lbc-module-text-size); }
.lbc-bench-card .lbc-state-chip { position:absolute; left:1.5rem; bottom:1rem; margin:0; align-self:flex-start; z-index:2; max-width:calc(100% - 8rem); border-color:color-mix(in srgb, var(--accent) 20%, transparent); background:color-mix(in srgb, var(--accent) 10%, transparent); color:color-mix(in srgb, var(--accent) 80%, white 20%); padding:0.46rem 0.84rem; font-size:0.66rem; line-height:1.18; min-height:0; overflow:visible; }
.lbc-bench-card .lbc-state-inactive { border-color:rgba(196,181,253,0.20); background:rgba(140,160,190,0.05); color:var(--text-soft); }
.lbc-bench-card .lbc-state-inactive .lbc-chip-dot { background:rgba(148,163,184,0.58); }
.lbc-bench-card.is-inactive { background:radial-gradient(circle at 14% 0%, rgba(125, 140, 170, 0.12), transparent 34%), linear-gradient(180deg, rgba(150, 170, 200, 0.03), rgba(255,255,255,0.02)); box-shadow:inset 0 1px 0 rgba(255,255,255,0.04), inset 0 0 0 1px rgba(170,190,220,0.03), var(--shadow-lg); }
.lbc-bench-card.is-inactive .lbc-bench-icon { color:#b7c3d7; background:rgba(8,14,28,0.82); }
.lbc-bench-card.is-inactive .lbc-bench-notch { border-color:rgba(170,190,220,0.20); background:rgba(170,190,220,0.10); }
.lbc-bench-card.is-inactive .lbc-bench-inner::after { border-color:rgba(170,190,220,0.20); background:rgba(170,190,220,0.10); }
.lbc-bench-card .lbc-state-active .lbc-chip-dot { box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.lbc-bench-fill-link { position:absolute; inset:0; z-index:3; border-radius:inherit; }
.lbc-bench-fill-link:focus-visible { outline:2px solid rgba(196,181,253,0.55); outline-offset:-2px; }

.lbc-entry-meta-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem 1.25rem; margin-top:1.5rem; }
.lbc-entry-meta-main { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem 1rem; flex:1 1 28rem; min-width:0; }
.lbc-entry-meta-group { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; min-width:0; }
.lbc-entry-meta-group--primary { flex:0 1 auto; padding-top:0; }
.lbc-entry-meta-group--tags { justify-content:flex-end; flex:1 1 18rem; padding-top:0; align-self:center; }
.lbc-meta-pill { display:inline-flex; align-items:center; gap:.4rem; border-radius:999px; border:1px solid var(--border); background:var(--bg-soft-2); color:var(--text-soft); padding:.55rem .9rem; font-size:var(--lbc-ui-text-size); line-height:1.2; text-decoration:none; }
.lbc-meta-pill--tag {
  position:relative;
  overflow:hidden;
  isolation:isolate;
  justify-content:center;
  border-radius:1rem;
  border:1px solid rgba(196,181,253,0.20);
  background:linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  color:#f5f3ff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 24px rgba(2,6,23,0.18);
  transition:transform .25s ease, background-color .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease, filter .25s ease;
}
.lbc-meta-pill--tag::before {
  content:"";
  position:absolute;
  inset:-1px;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 18%, transparent 36%);
  transform:translateX(-130%);
  transition:transform .7s ease;
  pointer-events:none;
  z-index:0;
}
.lbc-meta-pill--tag:hover,
.lbc-meta-pill--tag:focus-visible {
  color:#fff;
  border-color:rgba(244,114,182,0.36);
  background:var(--btn-secondary-hover-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 16px 38px rgba(168,85,247,0.20), 0 0 0 1px rgba(217,70,239,0.12);
  transform:translateY(-2px) scale(1.01);
  filter:saturate(1.06);
}
.lbc-meta-pill--tag:hover::before,
.lbc-meta-pill--tag:focus-visible::before { transform:translateX(130%); }
.lbc-entry-grid { display:grid; grid-template-columns:0.7fr 0.3fr; gap:1.5rem; margin-top:1.5rem; }
.lbc-section-title { font-size:var(--lbc-label-text-size); line-height:1; text-transform:uppercase; letter-spacing:0.3em; color:rgba(221,214,254,0.82); }
.lbc-sidebar-stack { display:flex; flex-direction:column; gap:1.5rem; }
.lbc-sidebar-card { border:1px solid var(--border); border-radius:1.5rem; background:var(--bg-soft-2); padding:1.05rem; }
.lbc-data-list { display:grid; gap:.75rem; }
.lbc-data-item { border:1px solid var(--border); border-radius:1rem; background:rgba(2,6,23,0.30); padding:.85rem 1rem; }
.lbc-data-label { font-size:var(--lbc-label-text-size); text-transform:uppercase; letter-spacing:.22em; color:var(--text-muted); }
.lbc-data-value { margin-top:.4rem; color:var(--text); }

.comments-area { margin-top:1.5rem; font-family:var(--lbc-font-body); }
.comments-area .comments-title,
.comments-area .comment-reply-title {
  margin:0;
  font-family:var(--lbc-font-heading);
  font-size:calc(0.98rem * var(--lbc-module-title-scale) * var(--lbc-heading-scale));
  line-height:var(--lbc-heading-line-height);
  color:var(--text);
}
.comments-area .comment-reply-title {
  margin-top:1.1rem;
}
.comments-area .comment-notes,
.comments-area .logged-in-as,
.comments-area .comment-awaiting-moderation,
.comments-area .comment-content,
.comments-area .comment-content p,
.comments-area .comment-content li,
.comments-area .comment-form textarea,
.comments-area .comment-form input[type="text"],
.comments-area .comment-form input[type="email"],
.comments-area .comment-form input[type="url"] {
  font-size:var(--lbc-module-text-size);
  line-height:var(--lbc-body-line-height);
}
.comments-area .comment-meta,
.comments-area .comment-metadata,
.comments-area .comment-form-cookies-consent label,
.comments-area .form-submit,
.comments-area .logged-in-as,
.comments-area .comment-notes {
  font-size:var(--lbc-meta-text-size);
}
.comments-area .comment-form label {
  display:block;
  margin-bottom:.35rem;
  color:var(--text-soft);
  font-size:var(--lbc-label-text-size);
  text-transform:uppercase;
  letter-spacing:0.18em;
}
.comments-area .comment-author .fn,
.comments-area .comment-author .fn a {
  font-family:var(--lbc-font-heading);
  font-size:calc(0.98rem * var(--lbc-notebook-title-scale) * var(--lbc-heading-scale));
  line-height:var(--lbc-heading-line-height);
  font-style:normal;
  color:var(--text);
}
.comment-list { list-style:none; padding:0; margin:1rem 0 0; display:grid; gap:1rem; }
.comment-list li { border:1px solid var(--border); border-radius:1rem; background:rgba(2,6,23,0.30); padding:1rem; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] {
  width:100%; border-radius:1rem; border:1px solid var(--border); background:rgba(2,6,23,0.30); color:var(--text); padding:.85rem 1rem; box-sizing:border-box;
}
.comment-form label { display:block; margin-bottom:.35rem; color:var(--text-soft); }
.comment-form p { margin:0 0 1rem; }

.lbc-footer { margin-top:1.5rem; border:1px solid var(--border); border-radius:var(--radius-3xl); background:rgba(255,255,255,0.04); box-shadow:0 20px 60px rgba(0,0,0,0.18); backdrop-filter:blur(18px); padding:1.25rem 1.75rem; }
.lbc-footer-inner { display:grid; grid-template-columns:auto minmax(0, 1fr) auto; align-items:center; gap:1rem; }
.lbc-footer-site { white-space:nowrap; align-self:center; }
.lbc-footer-copy { min-width:0; }
.lbc-footer-copy .lbc-record-text { margin:0; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lbc-socials { display:flex; align-items:center; gap:0.75rem; flex:0 0 auto; }
.lbc-social { width:2.5rem; height:2.5rem; display:inline-flex; align-items:center; justify-content:center; border-radius:999px; border:1px solid var(--border); background:rgba(255,255,255,0.04); transition:transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.lbc-social:hover { transform:translateY(-2px); border-color:rgba(196,181,253,0.20); background:rgba(167,139,250,0.12); color:#ede9fe; }
.lbc-social svg { width:0.95rem; height:0.95rem; display:block; }

.lbc-accent-amber, .lbc-chip-amber, .lbc-dot-amber, .lbc-notch-amber, .lbc-bench-amber { --accent: #fcd34d; }
.lbc-accent-violet, .lbc-chip-violet, .lbc-dot-violet, .lbc-notch-violet, .lbc-bench-violet { --accent: #c4b5fd; }
.lbc-accent-sky, .lbc-chip-sky, .lbc-dot-sky, .lbc-notch-sky, .lbc-bench-sky { --accent: #7dd3fc; }
.lbc-accent-fuchsia, .lbc-chip-fuchsia, .lbc-dot-fuchsia, .lbc-notch-fuchsia, .lbc-bench-fuchsia { --accent: #f9a8d4; }
.lbc-accent-emerald, .lbc-chip-emerald, .lbc-dot-emerald, .lbc-notch-emerald, .lbc-bench-emerald { --accent: #6ee7b7; }
.lbc-accent-rose, .lbc-chip-rose, .lbc-dot-rose, .lbc-notch-rose, .lbc-bench-rose { --accent: #fb7185; }
.lbc-chip-amber,.lbc-chip-violet,.lbc-chip-sky,.lbc-chip-fuchsia,.lbc-chip-emerald,.lbc-chip-rose { border-color: color-mix(in srgb, var(--accent) 20%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); color: color-mix(in srgb, var(--accent) 80%, white 20%); }
.lbc-dot-amber,.lbc-dot-violet,.lbc-dot-sky,.lbc-dot-fuchsia,.lbc-dot-emerald,.lbc-dot-rose { background: var(--accent); }
.lbc-notch-amber,.lbc-notch-violet,.lbc-notch-sky,.lbc-notch-fuchsia,.lbc-notch-emerald,.lbc-notch-rose { border-color: color-mix(in srgb, var(--accent) 14%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.lbc-accent-amber, .lbc-accent-violet, .lbc-accent-sky, .lbc-accent-fuchsia, .lbc-accent-emerald, .lbc-accent-rose { color: color-mix(in srgb, var(--accent) 85%, white 15%); }

@media (max-width: 1100px) {
  .lbc-entry-grid, .lbc-two-col, .lbc-records-grid, .lbc-gallery-archive-grid, .lbc-gallery-single-grid { grid-template-columns: 1fr; }
  .lbc-record.has-thumb { grid-template-columns:1fr; }
  .lbc-record-media { aspect-ratio:16 / 9; }
  .lbc-record.has-notebook-preview { grid-template-columns:minmax(4.4rem, 4.9rem) minmax(0, 1fr); }
  .lbc-record.has-notebook-preview .lbc-record-media { aspect-ratio:1 / 1; }
}
@media (min-width: 640px) { .lbc-bench-slide { width: calc(50% - 0.625rem); } }
@media (min-width: 900px) { .lbc-bench-slide { width: calc((100% - 2.5rem) / 3); } }
@media (min-width: 1280px) { .lbc-bench-slide { width: calc((100% - 3.75rem) / 4); } }
@media (max-width: 782px) {
  .lbc-shell { width: calc(100% - 2rem); }
  .lbc-site-header { min-height: 96px; margin-bottom: -8px; }
  .lbc-top-stage { height: 100px; }
  .lbc-top-stage::before { left: 10%; right: 10%; height: 100px; }
  .lbc-top-stage::after { left: 14%; right: 14%; bottom: 1px; }
  .lbc-top-stage-glow { left: 22%; right: 22%; height: 64px; inset-block: auto -6px; }
  .lbc-top-stage-stars { left: 10%; right: 10%; }
  .lbc-top-stage-molecules.count-1 .lbc-stage-slot-1 { left: 54%; top: 44px; }
  .lbc-top-stage-molecules.count-2 .lbc-stage-slot-1 { left: 47%; top: 44px; }
  .lbc-top-stage-molecules.count-2 .lbc-stage-slot-2 { left: 61%; top: 30px; }
  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-1 { left: 45%; top: 44px; }
  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-2 { left: 63%; top: 28px; }
  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-3 { left: 56%; top: 74px; }
  .lbc-topbar { flex-direction: column; align-items: flex-start; }
  .lbc-nav { margin-left: 0; width: 100%; }
  .lbc-nav ul { justify-content: flex-start; flex-wrap: wrap; }
  .lbc-gallery-grid { grid-template-columns:1fr; height:auto; }
  .lbc-gallery-main { min-height:220px; }
  .lbc-gallery-stack { grid-template-columns:1fr 1fr; grid-template-rows:none; min-height:110px; }
  .lbc-hero-card { min-height: clamp(320px, 62vw, 440px); }
  .lbc-hero-inner { min-height: inherit; }
  .lbc-footer-inner { grid-template-columns:1fr; align-items:flex-start; }
  .lbc-footer-copy .lbc-record-text { white-space:normal; overflow:visible; text-overflow:clip; }
}


/* v1.9.1 stage/hero export polish */
body {
  padding-inline: 2rem;
  overflow-x: hidden;
}

.lbc-shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 0 5rem;
  overflow: visible;
}

.lbc-site-header {
  min-height: 108px;
  margin-bottom: 0;
  z-index: 20;
}

.lbc-top-stage {
  position: absolute;
  inset: 0 0 auto 0;
  height: 118px;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}

.lbc-top-stage::before {
  left: 14%;
  right: 14%;
  top: -20px;
  bottom: 14px;
  height: auto;
  background: var(--page-bg);
  opacity: 0.38;
  filter: blur(10px);
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.95) 18%, rgba(0,0,0,0.95) 82%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.96) 26%, rgba(0,0,0,0.72) 74%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.95) 18%, rgba(0,0,0,0.95) 82%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.96) 26%, rgba(0,0,0,0.72) 74%, transparent 100%);
}

.lbc-top-stage::after {
  left: 24%;
  right: 24%;
  bottom: 8px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  box-shadow: 0 0 10px rgba(196,181,253,0.08);
  opacity: 0.5;
}

.lbc-top-stage-glow,
.lbc-top-stage-stars,
.lbc-top-stage-molecules,
.lbc-top-stage-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lbc-top-stage-molecules {
  z-index: 8;
}

.lbc-top-stage-glow {
  left: 34%;
  right: 34%;
  inset-block: auto 8px;
  height: 54px;
  background:
    radial-gradient(circle at 50% 0%, rgba(221,214,254,0.16), rgba(167,139,250,0.05) 34%, transparent 74%),
    radial-gradient(circle at 50% 24%, rgba(125,211,252,0.06), transparent 26%);
  filter: blur(14px);
}

.lbc-top-stage-stars {
  left: 20%;
  right: 20%;
  top: 0;
  bottom: 18px;
  opacity: 0.64;
}

.lbc-top-stage-veil {
  inset: 0 0 10px 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.00) 0%, rgba(2,6,23,0.01) 62%, rgba(2,6,23,0.06) 100%);
}

.lbc-stage-molecule {
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
}

.lbc-stage-molecule-core {
  border: 1px solid rgba(255,255,255,0.16);
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.52), transparent 18%),
    radial-gradient(circle at 72% 74%, rgba(255,255,255,0.12), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04) 28%, transparent 36%),
    linear-gradient(135deg, var(--mol-a), var(--mol-b));
  box-shadow:
    inset 0 -10px 18px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 8px 18px rgba(8,12,28,0.18);
}

.lbc-stage-molecule-core::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0.7;
  pointer-events: none;
}

.lbc-top-stage-molecules.count-1 .lbc-stage-slot-1 {
  left: 53%;
  top: 48px;
  --rot: -8deg;
}

.lbc-top-stage-molecules.count-2 .lbc-stage-slot-1 {
  left: 49%;
  top: 48px;
  --rot: -8deg;
}

.lbc-top-stage-molecules.count-2 .lbc-stage-slot-2 {
  left: 58%;
  top: 34px;
  --rot: 6deg;
}

.lbc-top-stage-molecules.count-3 .lbc-stage-slot-1 {
  left: 46%;
  top: 48px;
  --rot: -8deg;
}

.lbc-top-stage-molecules.count-3 .lbc-stage-slot-2 {
  left: 59%;
  top: 34px;
  --rot: 6deg;
}

.lbc-top-stage-molecules.count-3 .lbc-stage-slot-3 {
  left: 55%;
  top: 104px;
  --rot: 10deg;
  z-index: 12;
}

.lbc-top-stage-molecules .lbc-stage-slot-2 .lbc-stage-molecule-core.has-image {
  width: 62px;
  height: 62px;
}

.lbc-top-stage-molecules .lbc-stage-slot-3 .lbc-stage-molecule-core.has-image {
  width: 66px;
  height: 66px;
}

.lbc-topbar {
  position: relative;
  z-index: 3;
  padding: 0.6rem 0 0;
}

.lbc-hero-card {
  position: relative;
  z-index: 1;
  margin-top: -10px;
  width: 100%;
}

.lbc-footer-inner {
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
}

.lbc-footer-site {
  justify-self: start;
}

.lbc-footer-copy {
  min-width: 0;
  text-align: left;
}

.lbc-footer-copy .lbc-record-text {
  margin: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lbc-socials {
  justify-self: end;
}

@media (max-width: 782px) {
  body {
    padding-inline: 1.125rem;
  }

  .lbc-shell {
    width: 100%;
    overflow: visible;
  }

  .lbc-site-header {
    min-height: 102px;
    margin-bottom: 0;
  }

  .lbc-top-stage {
    height: 102px;
  }

  .lbc-top-stage::before {
    left: 12%;
    right: 12%;
    bottom: 12px;
  }

  .lbc-top-stage::after {
    left: 20%;
    right: 20%;
    bottom: 7px;
  }

  .lbc-top-stage-glow {
    left: 30%;
    right: 30%;
    height: 50px;
    inset-block: auto 7px;
  }

  .lbc-top-stage-stars {
    left: 14%;
    right: 14%;
  }

  .lbc-top-stage-molecules.count-1 .lbc-stage-slot-1 {
    left: 54%;
    top: 44px;
    --rot: -8deg;
  }

  .lbc-top-stage-molecules.count-2 .lbc-stage-slot-1 {
    left: 47%;
    top: 44px;
    --rot: -8deg;
  }

  .lbc-top-stage-molecules.count-2 .lbc-stage-slot-2 {
    left: 61%;
    top: 28px;
    --rot: 6deg;
  }

  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-1 {
    left: 45%;
    top: 44px;
    --rot: -8deg;
  }

  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-2 {
    left: 63%;
    top: 28px;
    --rot: 6deg;
  }

  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-3 {
    left: 56%;
    top: 92px;
    --rot: 10deg;
  }

  .lbc-hero-card {
    margin-top: -8px;
  }

  .lbc-footer-inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .lbc-socials {
    justify-self: start;
  }

  .lbc-footer-copy .lbc-record-text {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}


/* v17 gallery overflow fix */
.home .lbc-home-panel-body,
.home .lbc-gallery-grid,
.home .lbc-gallery-stack,
.home .lbc-gallery-main,
.home .lbc-gallery-item,
.home .lbc-gallery-main .lbc-gallery-fill-link,
.home .lbc-gallery-item .lbc-gallery-fill-link {
  min-height: 0;
  overflow: hidden;
  flex: 1 1 auto;
}
.home .lbc-gallery-grid {
  align-items: stretch;
}
.home .lbc-gallery-stack {
  overflow: hidden;
}
.home .lbc-gallery-stack > * {
  min-height: 0;
}
.home .lbc-gallery-bg,
.lbc-gallery-archive-frame .lbc-gallery-bg,
.lbc-gallery-set-figure img,
.lbc-gallery-single-content .wp-block-image img,
.lbc-gallery-single-content .wp-block-gallery img,
.lbc-gallery-single-content img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}
.home .lbc-gallery-bg,
.lbc-gallery-archive-frame .lbc-gallery-bg {
  background-repeat: no-repeat;
}
.home .lbc-gallery-main,
.home .lbc-gallery-item,
.lbc-gallery-archive-frame,
.lbc-gallery-set-figure {
  isolation: isolate;
  border-radius: 1.2rem;
}
.lbc-gallery-set-figure {
  overflow: hidden;
}
@media (max-width: 782px) {
  .home .lbc-gallery-grid,
  .home .lbc-gallery-stack {
    overflow: hidden;
  }
}


/* v18 homepage gallery sizing + stage-right fade */
.home .lbc-two-col {
  align-items: stretch;
}
.home .lbc-two-col > .lbc-card {
  min-height: 100%;
}
.home .lbc-home-panel-inner,
.home .lbc-home-panel-body {
  min-height: 0;
}
.home .lbc-gallery-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
  min-height: 0;
  height: auto;
}
.home .lbc-gallery-main {
  min-height: 0 !important;
  aspect-ratio: 0.92 / 1;
}
.home .lbc-gallery-stack {
  min-height: 0 !important;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.home .lbc-gallery-item {
  min-height: 0 !important;
  aspect-ratio: 1.22 / 0.84;
}
.home .lbc-gallery-main,
.home .lbc-gallery-item {
  height: auto;
}
.home .lbc-gallery-caption {
  overflow: hidden;
}
.home .lbc-gallery-caption-title,
.home .lbc-gallery-caption-meta {
  overflow-wrap: anywhere;
}
.lbc-top-stage::before {
  left: 14%;
  right: 6%;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.95) 18%, rgba(0,0,0,0.95) 96%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.96) 26%, rgba(0,0,0,0.72) 74%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.95) 18%, rgba(0,0,0,0.95) 96%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.96) 26%, rgba(0,0,0,0.72) 74%, transparent 100%);
}
.lbc-top-stage-stars {
  right: 10%;
}
.lbc-top-stage::after {
  right: 10%;
}
.lbc-top-stage-glow {
  right: 20%;
}
@media (max-width: 782px) {
  .home .lbc-gallery-grid {
    grid-template-columns: 1fr;
  }
  .home .lbc-gallery-main {
    aspect-ratio: 1.18 / 0.92;
  }
  .home .lbc-gallery-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .home .lbc-gallery-item {
    aspect-ratio: 1 / 1;
  }
  .lbc-top-stage::before {
    left: 12%;
    right: 6%;
    bottom: 12px;
  }
  .lbc-top-stage-stars,
  .lbc-top-stage::after {
    right: 8%;
  }
  .lbc-top-stage-glow {
    right: 18%;
  }
}


/* v19 approved top-stage / hero export from canvas */
.lbc-site-header {
  position: relative;
  z-index: 20;
  min-height: 102px;
  margin-bottom: -10px;
}
.lbc-site-header--stage {
  isolation: isolate;
}
.lbc-topbar {
  position: relative;
  z-index: 21;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  padding:0.6rem 0 0;
  background:transparent;
}
.lbc-nav a {
  position: relative;
  z-index: 22;
}
.lbc-top-stage {
  position: absolute;
  inset: 0 0 auto 0;
  height: 118px;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}
.lbc-top-stage::before {
  left: 14%;
  right: 14%;
  top: -20px;
  bottom: 14px;
  height: auto;
  background: var(--stage-core-bg);
  opacity: 0.9;
  filter: blur(10px);
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.95) 18%, rgba(0,0,0,0.95) 82%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.96) 26%, rgba(0,0,0,0.72) 74%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.95) 18%, rgba(0,0,0,0.95) 82%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.96) 26%, rgba(0,0,0,0.72) 74%, transparent 100%);
  z-index: 1;
}
.lbc-top-stage::after {
  left: 24%;
  right: 24%;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--top-stage-line), transparent);
  box-shadow: 0 0 10px var(--top-stage-line-glow);
  opacity: 0.5;
  z-index: 2;
}
.lbc-top-stage-glow,
.lbc-top-stage-stars,
.lbc-top-stage-molecules,
.lbc-top-stage-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.lbc-top-stage-glow {
  left: 34%;
  right: 34%;
  inset-block: auto 8px;
  height: 54px;
  background: var(--stage-glow-bg);
  filter: blur(14px);
}
.lbc-top-stage-stars {
  left: 20%;
  right: 20%;
  top: 0;
  bottom: 18px;
  opacity: 0.64;
}
.lbc-top-stage-veil {
  inset: 0 0 10px 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.00) 0%, rgba(2,6,23,0.01) 62%, rgba(2,6,23,0.06) 100%);
}
.lbc-top-stage-molecules {
  z-index: 8;
}
.lbc-stage-molecule {
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.24));
}
.lbc-stage-molecule-core {
  border: 1px solid rgba(255,255,255,0.16);
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.52), transparent 18%),
    radial-gradient(circle at 72% 74%, rgba(255,255,255,0.12), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04) 28%, transparent 36%),
    linear-gradient(135deg, var(--mol-a), var(--mol-b));
  box-shadow:
    inset 0 -10px 18px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 8px 18px rgba(8,12,28,0.18);
}
.lbc-stage-molecule-core::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0.7;
  pointer-events: none;
}
.lbc-top-stage-molecules.count-1 .lbc-stage-slot-1 { left: 53%; top: 48px; --rot: -8deg; }
.lbc-top-stage-molecules.count-2 .lbc-stage-slot-1 { left: 49%; top: 48px; --rot: -8deg; }
.lbc-top-stage-molecules.count-2 .lbc-stage-slot-2 { left: 58%; top: 34px; --rot: 6deg; }
.lbc-top-stage-molecules.count-3 .lbc-stage-slot-1 { left: 46%; top: 48px; --rot: -8deg; }
.lbc-top-stage-molecules.count-3 .lbc-stage-slot-2 { left: 59%; top: 34px; --rot: 6deg; }
.lbc-top-stage-molecules.count-3 .lbc-stage-slot-3 { left: 55%; top: 104px; --rot: 10deg; z-index: 12; }
.lbc-top-stage-molecules .lbc-stage-slot-2 .lbc-stage-molecule-core.has-image { width: 62px; height: 62px; }
.lbc-top-stage-molecules .lbc-stage-slot-3 .lbc-stage-molecule-core.has-image { width: 66px; height: 66px; }
.lbc-hero-card {
  position: relative;
  z-index: 1;
  margin-top: -10px;
  width: 100%;
}
@media (max-width: 782px) {
  body { padding-inline: 1.125rem; }
  .lbc-shell { width: 100%; overflow: visible; }
  .lbc-site-header { min-height: 102px; margin-bottom: -8px; }
  .lbc-top-stage { height: 102px; }
  .lbc-top-stage::before { left: 12%; right: 12%; bottom: 12px; }
  .lbc-top-stage::after { left: 20%; right: 20%; bottom: 7px; }
  .lbc-top-stage-glow { left: 30%; right: 30%; height: 50px; inset-block: auto 7px; }
  .lbc-top-stage-stars { left: 14%; right: 14%; }
  .lbc-top-stage-molecules.count-1 .lbc-stage-slot-1 { left: 54%; top: 44px; --rot: -8deg; }
  .lbc-top-stage-molecules.count-2 .lbc-stage-slot-1 { left: 47%; top: 44px; --rot: -8deg; }
  .lbc-top-stage-molecules.count-2 .lbc-stage-slot-2 { left: 61%; top: 28px; --rot: 6deg; }
  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-1 { left: 45%; top: 44px; --rot: -8deg; }
  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-2 { left: 63%; top: 28px; --rot: 6deg; }
  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-3 { left: 56%; top: 92px; --rot: 10deg; }
  .lbc-topbar { flex-direction: column; align-items: flex-start; }
  .lbc-nav { margin-left: 0; width: 100%; }
  .lbc-nav ul { justify-content: flex-start; flex-wrap: wrap; }
  .lbc-hero-card { min-height: clamp(320px, 62vw, 440px); margin-top: -8px; }
  .lbc-hero-inner { min-height: inherit; }
}


/* v19.2 transplant: v28 top bar + hero */
.lbc-site-header {
  position: relative !important;
  z-index: 20 !important;
  min-height: 96px !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
}

.lbc-site-header--stage {
  isolation: isolate !important;
}

.lbc-topbar {
  position: relative !important;
  z-index: 21 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  padding: 0.6rem 0 0 !important;
  background: transparent !important;
}

.lbc-nav a,
.lbc-brand {
  position: relative !important;
  z-index: 22 !important;
}

.lbc-top-stage {
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 108px !important;
  overflow: visible !important;
  pointer-events: none !important;
  z-index: 4 !important;
}

.lbc-top-stage::before {
  left: 14% !important;
  right: 6% !important;
  top: -20px !important;
  bottom: 18px !important;
  height: auto !important;
  background:
    radial-gradient(circle at 50% -6%, rgba(167,139,250,0.16), rgba(167,139,250,0.06) 24%, transparent 56%),
    radial-gradient(circle at 72% 10%, rgba(56,189,248,0.05), transparent 20%),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.03), transparent 16%),
    linear-gradient(180deg, rgba(8,12,28,0.00) 0%, rgba(8,12,28,0.00) 56%, rgba(8,12,28,0.03) 100%) !important;
  filter: blur(11px) !important;
  opacity: .92 !important;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.97) 16%, rgba(0,0,0,.97) 98%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.96) 24%, rgba(0,0,0,.86) 68%, transparent 100%) !important;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.97) 16%, rgba(0,0,0,.97) 98%, transparent 100%),
    linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.96) 24%, rgba(0,0,0,.86) 68%, transparent 100%) !important;
}

.lbc-top-stage::after {
  display: none !important;
  opacity: 0 !important;
  box-shadow: none !important;
}

.lbc-top-stage-glow,
.lbc-top-stage-stars,
.lbc-top-stage-molecules,
.lbc-top-stage-veil,
.lbc-top-stage-props {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
}

.lbc-top-stage-glow {
  z-index: 2 !important;
  left: 34% !important;
  right: 24% !important;
  inset-block: auto 14px !important;
  height: 42px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(221,214,254,0.13), rgba(167,139,250,0.04) 34%, transparent 74%),
    radial-gradient(circle at 64% 30%, rgba(56,189,248,0.05), transparent 25%) !important;
  filter: blur(15px) !important;
}

.lbc-top-stage-stars {
  z-index: 2 !important;
  left: 20% !important;
  right: 9% !important;
  top: 0 !important;
  bottom: 24px !important;
  opacity: .58 !important;
}

.lbc-top-stage-veil {
  z-index: 2 !important;
  inset: 0 0 18px 0 !important;
  background: linear-gradient(180deg, rgba(2,6,23,0) 0%, rgba(2,6,23,.01) 64%, rgba(2,6,23,.04) 100%) !important;
}

.lbc-top-stage-molecules {
  z-index: 8 !important;
}

.lbc-top-stage-props {
  z-index: 9 !important;
}

.lbc-stage-molecule {
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) !important;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.24)) !important;
}

.lbc-stage-molecule-core {
  border: 1px solid rgba(255,255,255,0.18) !important;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.54), transparent 18%),
    radial-gradient(circle at 72% 74%, rgba(255,255,255,.12), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.05) 28%, transparent 38%),
    linear-gradient(135deg, var(--mol-a), var(--mol-b)) !important;
  box-shadow:
    inset 0 -10px 18px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.24),
    0 8px 18px rgba(8,12,28,.18) !important;
}

.lbc-stage-molecule-core.has-image {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 72px !important;
  height: 72px !important;
}

.lbc-stage-molecule-core.has-image::after {
  display: none !important;
}

.lbc-stage-molecule-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.lbc-top-stage-molecules.count-1 .lbc-stage-slot-1 { left: 53% !important; top: 46px !important; --rot: -8deg; }
.lbc-top-stage-molecules.count-2 .lbc-stage-slot-1 { left: 49% !important; top: 46px !important; --rot: -8deg; }
.lbc-top-stage-molecules.count-2 .lbc-stage-slot-2 { left: 58% !important; top: 33px !important; --rot: 6deg; }
.lbc-top-stage-molecules.count-3 .lbc-stage-slot-1 { left: 46% !important; top: 46px !important; --rot: -8deg; }
.lbc-top-stage-molecules.count-3 .lbc-stage-slot-2 { left: 58% !important; top: 33px !important; --rot: 6deg; }
.lbc-top-stage-molecules.count-3 .lbc-stage-slot-3 { left: 55% !important; top: 102px !important; --rot: 10deg; z-index: 12 !important; }
.lbc-top-stage-molecules .lbc-stage-slot-2 .lbc-stage-molecule-core.has-image { width: 62px !important; height: 62px !important; }
.lbc-top-stage-molecules .lbc-stage-slot-3 .lbc-stage-molecule-core.has-image { width: 66px !important; height: 66px !important; }

.lbc-stage-prop {
  position: absolute !important;
  width: 26px !important;
  height: 26px !important;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.2)) !important;
}

.lbc-stage-prop img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.lbc-stage-prop-left { left: 40% !important; top: 36px !important; }
.lbc-stage-prop-centre { left: 50% !important; top: 20px !important; }
.lbc-stage-prop-right { left: 64% !important; top: 30px !important; }

.lbc-hero-card {
  min-height: clamp(300px, 27vw, 340px) !important;
  margin-top: -8px !important;
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
}

.lbc-hero-inner {
  min-height: inherit !important;
}

@media (max-width: 782px) {
  .lbc-site-header {
    min-height: 96px !important;
    margin-bottom: 0 !important;
  }

  .lbc-top-stage {
    height: 100px !important;
  }

  .lbc-top-stage::before {
    left: 12% !important;
    right: 6% !important;
    bottom: 16px !important;
  }

  .lbc-top-stage-glow {
    left: 30% !important;
    right: 22% !important;
    height: 40px !important;
    inset-block: auto 12px !important;
  }

  .lbc-top-stage-stars {
    left: 14% !important;
    right: 12% !important;
    bottom: 22px !important;
  }

  .lbc-top-stage-molecules.count-1 .lbc-stage-slot-1 { left: 54% !important; top: 42px !important; }
  .lbc-top-stage-molecules.count-2 .lbc-stage-slot-1 { left: 47% !important; top: 42px !important; }
  .lbc-top-stage-molecules.count-2 .lbc-stage-slot-2 { left: 61% !important; top: 28px !important; }
  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-1 { left: 45% !important; top: 42px !important; }
  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-2 { left: 63% !important; top: 28px !important; }
  .lbc-top-stage-molecules.count-3 .lbc-stage-slot-3 { left: 56% !important; top: 90px !important; }

  .lbc-stage-prop-left { left: 36% !important; top: 34px !important; }
  .lbc-stage-prop-centre { left: 50% !important; top: 18px !important; }
  .lbc-stage-prop-right { left: 67% !important; top: 28px !important; }

  .lbc-topbar {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .lbc-nav {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .lbc-nav ul {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }

  .lbc-hero-card {
    min-height: clamp(300px, 58vw, 410px) !important;
    margin-top: -6px !important;
  }
}


/* v19.3 homepage notes + empty gallery */
.home #notebook .lbc-record-text {
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.56;}
.home .lbc-home-panel-body--gallery-empty {
  flex:1 1 auto;
}
.home .lbc-gallery-grid--empty {
  min-height:100%;
}

/* v20.7 homepage triptych gallery + lightbox */
.home .lbc-home-gallery-panel-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}
.home .lbc-home-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 0.8rem;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  align-items: stretch;
}
.home .lbc-home-gallery-stack {
  display: grid;
  gap: 0.8rem;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 0;
  height: 100%;
}
.home .lbc-home-gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 1.2rem;
  overflow: hidden;
  background: rgba(2,6,23,0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  isolation: isolate;
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.home .lbc-home-gallery-tile--main,
.home .lbc-home-gallery-tile--stack {
  aspect-ratio: auto;
}
.home .lbc-home-gallery-tile:hover,
.home .lbc-home-gallery-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 40px rgba(15,23,42,0.22);
}
.home .lbc-home-gallery-tile:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.42);
  outline-offset: 3px;
}
.home .lbc-home-gallery-media,
.home .lbc-home-gallery-shade,
.home .lbc-home-gallery-copy {
  position: absolute;
  inset: 0;
}
.home .lbc-home-gallery-media {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.001);
  transition: transform 0.55s ease;
}
.home .lbc-home-gallery-tile:hover .lbc-home-gallery-media,
.home .lbc-home-gallery-tile:focus-visible .lbc-home-gallery-media {
  transform: scale(1.04);
}
.home .lbc-home-gallery-shade {
  background:
    linear-gradient(180deg, rgba(2,6,23,0.06) 0%, rgba(2,6,23,0.22) 38%, rgba(2,6,23,0.74) 100%),
    linear-gradient(135deg, rgba(14,165,233,0.16) 0%, rgba(14,165,233,0.00) 44%);
}
.home .lbc-home-gallery-copy {
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 0.18rem;
  padding: 1rem;
}
.home .lbc-home-gallery-kicker {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(224,242,254,0.84);
}
.home .lbc-home-gallery-title {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
  color: #f8fafc;
}
.home .lbc-home-gallery-meta {
  display: block;
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(226,232,240,0.84);
}

@media (min-width: 783px) {
  .home .lbc-home-gallery {
    min-height: 0;
    height: var(--lbc-home-gallery-height, 100%);
  }
}

.lbc-modal-open {
  overflow: hidden;
}
.lbc-home-gallery-lightbox[hidden] {
  display: none;
}
.lbc-home-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.lbc-home-gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.78);
  backdrop-filter: blur(12px);
}
.lbc-home-gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}
.lbc-home-gallery-lightbox-figure {
  margin: 0;
  display: grid;
  gap: 1rem;
}
.lbc-home-gallery-lightbox-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(2,6,23,0.5);
  box-shadow: 0 28px 80px rgba(2,6,23,0.36), inset 0 1px 0 rgba(255,255,255,0.06);
}
.lbc-home-gallery-lightbox-image {
  display: block;
  width: 100%;
  max-height: min(72vh, 860px);
  object-fit: contain;
  background: rgba(2,6,23,0.5);
}
.lbc-home-gallery-lightbox-caption {
  display: grid;
  gap: 0.3rem;
  padding-inline: 0.2rem;
}
.lbc-home-gallery-lightbox-meta {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.76);
}
.lbc-home-gallery-lightbox-title {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1;
  font-weight: 600;
  color: #f8fafc;
}
.lbc-home-gallery-lightbox-detail {
  color: var(--text-soft);
  line-height: 1.7;
}
.lbc-home-gallery-lightbox-link {
  margin-top: 0.45rem;
  width: fit-content;
}
.lbc-home-gallery-lightbox-close,
.lbc-home-gallery-lightbox-arrow {
  position: relative;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(15,23,42,0.58);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.lbc-home-gallery-lightbox-close:hover,
.lbc-home-gallery-lightbox-close:focus-visible,
.lbc-home-gallery-lightbox-arrow:hover,
.lbc-home-gallery-lightbox-arrow:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.34);
  background: rgba(30,41,59,0.78);
}
.lbc-home-gallery-lightbox-close:focus-visible,
.lbc-home-gallery-lightbox-arrow:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.42);
  outline-offset: 3px;
}
.lbc-home-gallery-lightbox-close {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  font-size: 1.5rem;
  line-height: 1;
}
.lbc-home-gallery-lightbox-arrow {
  font-size: 1.8rem;
  line-height: 1;
}

@media (max-width: 782px) {
  .home .lbc-home-gallery {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .home .lbc-home-gallery-tile--main {
    aspect-ratio: 1.16 / 0.92;
    height: auto;
  }
  .home .lbc-home-gallery-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    height: auto;
  }
  .home .lbc-home-gallery-tile--stack {
    aspect-ratio: 1 / 1;
    height: auto;
  }
  .lbc-home-gallery-lightbox {
    padding: 1rem;
  }
  .lbc-home-gallery-lightbox-dialog {
    grid-template-columns: 1fr;
  }
  .lbc-home-gallery-lightbox-close {
    top: 0.6rem;
    right: 0.6rem;
  }
  .lbc-home-gallery-lightbox-arrow {
    position: absolute;
    top: calc(50% - 1.5rem);
  }
  .lbc-home-gallery-lightbox-arrow--prev {
    left: 0.55rem;
  }
  .lbc-home-gallery-lightbox-arrow--next {
    right: 0.55rem;
  }
}


.lbc-notebook-filter-section { margin-top:1.35rem; }
.lbc-notebook-filter-bar { display:flex; flex-wrap:wrap; gap:0.75rem; align-items:center; }
.lbc-filter-pill {
  --pill-accent:#c4b5fd;
  display:inline-flex; align-items:center; min-height:2.25rem; padding:0.55rem 0.95rem; border-radius:999px;
  border:1px solid rgba(255,255,255,0.12); background:rgba(255,255,255,0.03); color:rgba(255,255,255,0.82);
  text-decoration:none; transition:background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.lbc-filter-pill:hover { background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.18); color:#fff; transform:translateY(-1px); }
.lbc-filter-pill.is-active {
  background:color-mix(in srgb, var(--pill-accent) 12%, transparent);
  border-color:color-mix(in srgb, var(--pill-accent) 38%, rgba(255,255,255,0.1));
  color:color-mix(in srgb, var(--pill-accent) 78%, white 22%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 1px color-mix(in srgb, var(--pill-accent) 16%, transparent);
}

/* Global pill height normalisation (excluding hero chips) */
.lbc-state-chip,
.lbc-filter-pill,
.lbc-meta-pill {
  display:inline-flex;
  align-items:center;
  min-height:var(--lbc-pill-height);
  padding-top:0;
  padding-bottom:0;
  padding-left:var(--lbc-pill-pad-x);
  padding-right:var(--lbc-pill-pad-x);
  line-height:1;
  box-sizing:border-box;
}

.lbc-single-hero-chips .lbc-chip {
  min-height:auto;
  padding:0.35rem 0.75rem;
}

@media (max-width: 560px) {
  .lbc-record.has-notebook-preview {
    grid-template-columns:1fr;
    grid-template-areas:
      "media"
      "head"
      "body";
  }
  .lbc-record.has-notebook-preview .lbc-record-media { width:min(100%, 8rem); }
}


/* Single-post modules and hero refinements */
.lbc-hero-card--single { min-height: clamp(360px, 34vw, 430px); }
.lbc-hero-content--single { justify-content: flex-start; max-width: none; padding-top: 0; }
.lbc-hero-body--single { max-width: min(68rem, 100% - 0.5rem); padding-bottom: 0.1rem; }
.lbc-single-hero-chips { margin: 0 0 1rem; align-self: flex-start; }
.lbc-hero-title--single { max-width: none; font-size: clamp(2.85rem, 4.45vw, 4.45rem); line-height: 0.95; }
.lbc-hero-text--single { max-width: 56rem; }

.lbc-entry-sidebar { align-self: start; display:grid; gap:1.12rem; }
.lbc-sidebar-module .lbc-card-inner { display: grid; gap: 0.72rem; }
.lbc-sidebar-module--toc { position: static; }
.lbc-sidebar-module--toc .lbc-card-inner { gap: 0.58rem; }
.lbc-module-block--toc-list { padding: 0.42rem 0.68rem 0.46rem; gap: 0.12rem; border: 1px solid color-mix(in srgb, #c4b5fd 42%, var(--border)); background: rgba(2,6,23,0.24); box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 0 1px rgba(196,181,253,0.14); }
.lbc-entry-sidebar .lbc-sidebar-module + .lbc-sidebar-module { margin-top: 0; }
.lbc-sidebar-module-head { display:flex; align-items:center; gap:.72rem; }
.lbc-sidebar-module-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent, #c4b5fd) 18%, var(--border));
  background: color-mix(in srgb, var(--accent, #c4b5fd) 10%, rgba(255,255,255,0.02));
  color: color-mix(in srgb, var(--accent, #c4b5fd) 76%, white 24%);
  flex: 0 0 auto;
}
.lbc-sidebar-module-icon-svg { width: .95rem; height: .95rem; display:block; }
.lbc-sidebar-module-icon-svg--analytics { width: 1.18rem; height: 1.18rem; }
.lbc-sidebar-module--beer-metrics .lbc-sidebar-module-icon-svg { width: 1.18rem; height: 1.18rem; }

.lbc-toc-nav { margin-top: 0; }
.lbc-toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.06rem; }
.lbc-toc-item { margin: 0; }
.lbc-toc-item a {
  display: block;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.22;
  padding: 0;
  transition: color 0.18s ease, transform 0.18s ease;
}
.lbc-toc-item a:hover,
.lbc-toc-item a:focus-visible { color: var(--text); transform: translateX(2px); }
.lbc-toc-item.level-3 a { padding-left: 0.58rem; color: var(--text-muted); }

.lbc-sidebar-module--beer-metrics,
.lbc-sidebar-module--recipe {
  border-color: var(--border);
  background: var(--bg-soft-2);
}
.lbc-module-metrics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.54rem; }
.lbc-module-metric-item,
.lbc-module-block {
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border));
  border-radius: 1rem;
  background: rgba(2,6,23,0.22);
  padding: 0.54rem 0.74rem 0.58rem;
  min-height: 0;
}
.lbc-module-metric-label,
.lbc-module-block-title {
  font-size: 0.66rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: color-mix(in srgb, var(--accent) 68%, white 32%);
}
.lbc-module-metric-value {
  margin-top: 0.34rem;
  color: var(--text);
  font-size: calc(0.98rem * var(--lbc-module-title-scale));
  line-height: 1.28;
}
.lbc-module-block { display:grid; gap:.42rem; }
.lbc-module-list { list-style:none; margin:0; padding:0; display:grid; gap:.32rem; }
.lbc-module-list li,
.lbc-module-note {
  color: var(--text-soft);
  font-size: var(--lbc-module-text-size);
  line-height: 1.48;
}
.lbc-module-list--split li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 0.9rem;
}
.lbc-module-list-label {
  min-width: 0;
}
.lbc-module-list-value {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.entry-content h2[id],
.entry-content h3[id] { scroll-margin-top: 1.5rem; }

/* v1.0.4 front-end image alignment parity */

/* v1.0.5 scoped prose link styling */
.entry-content a:not(.wp-block-button__link):not(.lbc-btn),
.lbc-entry-content a:not(.wp-block-button__link):not(.lbc-btn),
.comment-content a:not(.wp-block-button__link):not(.lbc-btn) {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
  text-decoration-color: color-mix(in srgb, var(--accent-2) 72%, white 28%);
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.entry-content a:not(.wp-block-button__link):not(.lbc-btn):hover,
.entry-content a:not(.wp-block-button__link):not(.lbc-btn):focus-visible,
.lbc-entry-content a:not(.wp-block-button__link):not(.lbc-btn):hover,
.lbc-entry-content a:not(.wp-block-button__link):not(.lbc-btn):focus-visible,
.comment-content a:not(.wp-block-button__link):not(.lbc-btn):hover,
.comment-content a:not(.wp-block-button__link):not(.lbc-btn):focus-visible {
  color: #ede9fe;
  text-decoration-color: #ede9fe;
}

.entry-content a:not(.wp-block-button__link):not(.lbc-btn):focus-visible,
.lbc-entry-content a:not(.wp-block-button__link):not(.lbc-btn):focus-visible,
.comment-content a:not(.wp-block-button__link):not(.lbc-btn):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-2) 55%, white 45%);
  outline-offset: 2px;
  border-radius: 0.22rem;
}

.entry-content::after,
.lbc-entry-content::after {
  content: "";
  display: table;
  clear: both;
}

.entry-content .wp-block-image.alignleft,
.lbc-entry-content .wp-block-image.alignleft,
.entry-content img.alignleft,
.lbc-entry-content img.alignleft {
  float: left;
  clear: left;
  max-width: min(48%, 22rem);
  margin: 0.35rem 1.5rem 1rem 0;
}

.entry-content .wp-block-image.alignright,
.lbc-entry-content .wp-block-image.alignright,
.entry-content img.alignright,
.lbc-entry-content img.alignright {
  float: right;
  clear: right;
  max-width: min(48%, 22rem);
  margin: 0.35rem 0 1rem 1.5rem;
}

.entry-content .wp-block-image.aligncenter,
.lbc-entry-content .wp-block-image.aligncenter,
.entry-content img.aligncenter,
.lbc-entry-content img.aligncenter {
  float: none;
  clear: both;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.entry-content .wp-block-image.alignleft img,
.entry-content .wp-block-image.alignright img,
.lbc-entry-content .wp-block-image.alignleft img,
.lbc-entry-content .wp-block-image.alignright img,
.entry-content img.alignleft,
.entry-content img.alignright,
.lbc-entry-content img.alignleft,
.lbc-entry-content img.alignright {
  width: 100%;
  height: auto;
}

.entry-content .wp-block-image.alignleft figcaption,
.entry-content .wp-block-image.alignright figcaption,
.lbc-entry-content .wp-block-image.alignleft figcaption,
.lbc-entry-content .wp-block-image.alignright figcaption {
  width: 100%;
}

@media (max-width: 781px) {
  .entry-content .wp-block-image.alignleft,
  .entry-content .wp-block-image.alignright,
  .lbc-entry-content .wp-block-image.alignleft,
  .lbc-entry-content .wp-block-image.alignright,
  .entry-content img.alignleft,
  .entry-content img.alignright,
  .lbc-entry-content img.alignleft,
  .lbc-entry-content img.alignright {
    float: none;
    clear: both;
    max-width: 100%;
    margin: 1rem auto;
  }
}


@media (max-width: 900px) {
  .lbc-entry-meta-group--tags { justify-content:flex-start; padding-top:0; }
}

@media (max-width: 782px) {
  .lbc-hero-title--single { max-width: 100%; font-size: clamp(2.35rem, 9vw, 3.35rem); }
  .lbc-hero-body--single { max-width: 100%; }
  .lbc-module-metrics-grid { grid-template-columns: 1fr; }
  .lbc-module-list--split li { column-gap: 0.7rem; }
  .lbc-module-list-value { white-space: normal; }
}


.lbc-sidebar-module--water-profile,
.lbc-sidebar-module--process,
.lbc-sidebar-module--mouthfeel,
.lbc-sidebar-module--sensory {
  border-color: var(--border);
  background: var(--bg-soft-2);
}

.lbc-module-metrics-grid--compact {
  gap: 0.42rem;
}

.lbc-sidebar-module--water-profile .lbc-module-metric-item {
  padding: 0.6rem 0.78rem 0.62rem;
}

.lbc-sidebar-module--process .lbc-card-inner,
.lbc-sidebar-module--mouthfeel .lbc-card-inner {
  gap: 0.66rem;
}

.lbc-module-metric-value--inline {
  margin-top: 0.16rem;
}

.lbc-module-block--mash-regime .lbc-module-list {
  gap: 0.38rem;
}

.lbc-entry-meta-row .lbc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0 0.95rem;
  border-radius: 1rem;
  line-height: 1;
  font-size: var(--lbc-ui-text-size);
  box-sizing: border-box;
}
.lbc-entry-meta-row .lbc-btn,
.lbc-entry-meta-row .lbc-meta-pill {
  height: 2.16rem;
  min-height: 2.16rem;
  line-height: 1;
}
.lbc-entry-meta-row .lbc-meta-pill {
  padding: 0 0.95rem;
}
.lbc-entry-meta-row .lbc-btn,
.lbc-entry-meta-row .lbc-meta-pill {
  align-self:center;
}

.lbc-profile-bars {
  display: grid;
  gap: 0.48rem;
}

.lbc-profile-bar-row {
  display: grid;
  grid-template-columns: minmax(5.8rem, auto) minmax(0, 1fr);
  align-items: center;
  column-gap: 0.72rem;
}

.lbc-profile-bar-label {
  min-width: 0;
  font-size: 0.68rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.lbc-profile-bar-track {
  position: relative;
  display: block;
  width: 100%;
  height: 0.42rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 10%, var(--border));
  background: rgba(255,255,255,0.04);
}

.lbc-profile-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, white 78%), color-mix(in srgb, var(--accent) 42%, white 58%));
  box-shadow: none;
}

.lbc-sidebar-module--sensory .lbc-card-inner {
  gap: 0.68rem;
}

.lbc-entry-sidebar .lbc-sidebar-module[class*="lbc-accent-"]::before {
  content:"";
  position:absolute;
  left:1.12rem;
  right:1.12rem;
  top:0;
  height:1px;
  background:linear-gradient(90deg, color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));
  pointer-events:none;
}

@media (max-width: 782px) {
  .lbc-profile-bar-row { grid-template-columns: 1fr; row-gap: 0.4rem; }
}

.lbc-sidebar-module--sensory .lbc-module-block { gap: 0.4rem; }
.lbc-sidebar-module--sensory .lbc-module-block-title { color: color-mix(in srgb, var(--accent) 68%, white 32%); }
.lbc-profile-bars { gap: 0.42rem; }
.lbc-profile-bar-row { grid-template-columns: minmax(5.6rem, auto) minmax(0, 1fr); column-gap: 0.72rem; }
.lbc-sidebar-module--toc .lbc-sidebar-module-head { margin-bottom: 0.02rem; }
.lbc-sidebar-module--toc .lbc-module-block { background: rgba(2,6,23,0.2); }


.lbc-module-title { font-size: calc(0.98rem * var(--lbc-module-title-scale)); }
.lbc-module-metric-value { font-size: calc(0.98rem * var(--lbc-module-title-scale)); }
.lbc-record-title { font-size: calc(0.98rem * var(--lbc-notebook-title-scale) * var(--lbc-heading-scale)); }
.lbc-hero-title {
  font-size: clamp(calc(2.75rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(5vw * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(4.25rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)));
}
.lbc-hero-title--single {
  font-size: clamp(calc(2.85rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(4.45vw * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(4.45rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)));
}
.lbc-state-chip,
.lbc-btn,
.lbc-meta-pill,
.lbc-record-link,
.lbc-bench-link,
.lbc-related-link {
  font-size: var(--lbc-ui-text-size);
}
.lbc-record.has-notebook-preview .lbc-record-text,
.lbc-record:not(.has-notebook-preview) .lbc-record-text {
  font-size: var(--lbc-notebook-text-size);
}
.lbc-chip {
  font-size: var(--lbc-chip-text-size);
  min-height: var(--lbc-chip-height);
  padding-left: var(--lbc-chip-pad-x);
  padding-right: var(--lbc-chip-pad-x);
}
@media (max-width: 720px) {
  .lbc-hero-title--single {
    font-size: clamp(calc(2.35rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(9vw * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(3.35rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)));
  }
}

/* Typography customizer */
:where(h1, h2, h3, h4, h5, h6,
  .lbc-brand-title,
  .lbc-hero-title,
  .lbc-record-title,
  .lbc-bench-title,
  .lbc-gallery-caption-title,
  .lbc-home-gallery-title,
  .lbc-home-gallery-lightbox-title,
  .lbc-module-title,
  .lbc-module-metric-value) {
  font-family: var(--lbc-font-heading);
}

:where(p, li, blockquote, figcaption, dd, dt, td, th,
  .lbc-record-text,
  .lbc-entry-content,
  .entry-content,
  .comment-content,
  .lbc-bench-text,
  .lbc-hero-text,
  .lbc-gallery-archive-text,
  .lbc-module-note,
  .lbc-module-list li) {
  line-height: var(--lbc-body-line-height);
}

:where(h1, h2, h3, h4, h5, h6) {
  line-height: var(--lbc-heading-line-height);
}

h1 { font-size: calc(2.5rem * var(--lbc-heading-scale)); }
h2 { font-size: calc(2rem * var(--lbc-heading-scale)); }
h3 { font-size: calc(1.6rem * var(--lbc-heading-scale)); }
h4 { font-size: calc(1.3rem * var(--lbc-heading-scale)); }
h5 { font-size: calc(1.1rem * var(--lbc-heading-scale)); }
h6 { font-size: calc(1rem * var(--lbc-heading-scale)); }

.lbc-hero-title {
  font-size: clamp(calc(2.75rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(5vw * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(4.25rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)));
  line-height: var(--lbc-heading-line-height);
}

.lbc-hero-title--single {
  font-size: clamp(calc(2.85rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(4.45vw * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(4.45rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)));
  line-height: var(--lbc-heading-line-height);
}

.lbc-record-title { font-size: calc(0.98rem * var(--lbc-heading-scale) * var(--lbc-notebook-title-scale)); }
.lbc-bench-title { font-size: calc(1.06rem * var(--lbc-heading-scale)); }
.lbc-gallery-caption-title { font-size: calc(0.94rem * var(--lbc-heading-scale)); }
.lbc-home-gallery-title { font-size: clamp(calc(1.15rem * var(--lbc-heading-scale)), calc(2vw * var(--lbc-heading-scale)), calc(1.55rem * var(--lbc-heading-scale))); }
.lbc-home-gallery-lightbox-title { font-size: calc(1.5rem * var(--lbc-heading-scale)); }

@media (max-width: 720px) {
  .lbc-hero-title--single {
    font-size: clamp(calc(2.35rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(9vw * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)), calc(3.35rem * var(--lbc-heading-scale) * var(--lbc-hero-title-scale)));
  }
}


/* v1.9.40 notebook nav + lighter hero overlay */
.lbc-notebook-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lbc-notebook-filter-back {
  flex: 0 0 auto;
}
.lbc-notebook-filter-row .lbc-notebook-filter-bar {
  flex: 1 1 auto;
  justify-content: flex-end;
}
.lbc-filter-inline-divider {
  width: 0.45rem;
  min-width: 0.45rem;
  height: 1px;
}

.lbc-filter-pill-subtopic {
  opacity: 0.95;
}

.lbc-filter-pill-parent-current {
  position: relative;
}


.lbc-notebook-filter-bar.is-subtopic-mode {
  gap: 0.625rem;
}

.lbc-filter-pill-animated {
  animation: lbcFilterPillIn 340ms cubic-bezier(0.22, 0.8, 0.2, 1) both;
}

.lbc-notebook-filter-bar.is-animating-entry .lbc-filter-pill-subtopic {
  opacity: 0;
  transform: translateX(14px);
}

.lbc-notebook-filter-bar.is-animating-entry.is-animating-entry-ready .lbc-filter-pill-subtopic {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 280ms ease-out 150ms, transform 420ms cubic-bezier(0.22, 0.8, 0.2, 1) 150ms;
}

.lbc-filter-mode-label {
  display: inline-flex;
  align-items: center;
  min-height: var(--lbc-pill-height);
  color: rgba(230, 234, 242, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes lbcFilterPillIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.lbc-subfilter-row {
  display: none;
}

.lbc-subfilter-bar,
.lbc-bench-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.lbc-bench-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lbc-bench-actions-row .lbc-entry-meta-main {
  flex: 0 0 auto;
}

.lbc-bench-actions-row .lbc-bench-filter-bar {
  flex: 1 1 auto;
}
.lbc-open-notebook-pill {
  margin-left: auto;
}
.lbc-back-pill,
.lbc-notebook-filter-back .lbc-btn,
.lbc-gallery-home-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--lbc-pill-height);
  height: var(--lbc-pill-height);
  padding: 0 var(--lbc-pill-pad-x);
  border-radius: 999px;
  line-height: 1;
  box-sizing: border-box;
  text-decoration: none;
}

.lbc-gallery-set-pills {
  justify-content: flex-end;
}

.lbc-back-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lbc-back-row .lbc-back-pill {
  flex: 0 0 auto;
}

.lbc-notebook-entry-nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex: 0 0 auto;
  margin-left: auto;
}
.lbc-notebook-entry-nav-arrow {
  width: var(--lbc-pill-height);
  height: var(--lbc-pill-height);
  min-width: var(--lbc-pill-height);
  min-height: var(--lbc-pill-height);
  border-radius: 999px;
}
.lbc-notebook-entry-nav-arrow.is-disabled {
  opacity: 0.42;
  pointer-events: none;
  cursor: default;
  box-shadow: none;
}
@media (max-width: 820px) {
  .lbc-notebook-filter-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .lbc-notebook-filter-row .lbc-notebook-filter-bar,
  .lbc-subfilter-row,
  .lbc-subfilter-bar,
  .lbc-bench-actions-row .lbc-bench-filter-bar {
    justify-content: flex-start;
    width: 100%;
  }
  .lbc-notebook-entry-nav {
    width: 100%;
  }
}

.lbc-hero-media {
  filter: saturate(1.16) contrast(1.05) brightness(1.05);
}
.lbc-hero-overlay {
  background: linear-gradient(90deg, rgba(2,6,23,0.74) 0%, rgba(2,6,23,0.54) 42%, rgba(2,6,23,0.28) 68%, rgba(2,6,23,0.40) 100%);
}


/* v1.9.41 notebook infinite scroll */
.lbc-notebook-feed-more {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.lbc-notebook-feed-status {
  display: inline-flex;
  align-items: center;
  min-height: var(--lbc-pill-height);
  padding: 0 var(--lbc-pill-pad-x);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.72);
  font-size: var(--lbc-ui-text-size);
}

.lbc-notebook-feed-sentinel {
  width: 100%;
  height: 2px;
}


/* v1.9.43 fixed viewport page background */
html {
  background: #020617 !important;
}
body {
  position: relative;
  z-index: 0;
  background: transparent !important;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--page-bg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}


.lbc-module-list--safety {
    display: grid;
    gap: 0.75rem;
    padding-left: 1.1rem;
    margin: 0;
    color: var(--lbc-text);
}

.lbc-module-list--safety li {
    padding-left: 0.1rem;
    line-height: 1.55;
}


.lbc-module-block--safety .lbc-module-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.lbc-module-block--safety .lbc-module-list li {
    margin: 0;
    padding: 0;
    color: rgba(241, 244, 255, 0.82);
    line-height: 1.55;}


/* v1.9.51 tag archive progressive feed + header logo cleanup */
.lbc-archive-feed-more {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.lbc-archive-feed-status {
  display: inline-flex;
  align-items: center;
  min-height: var(--lbc-pill-height);
  padding: 0 var(--lbc-pill-pad-x);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.72);
  font-size: var(--lbc-ui-text-size);
}

.lbc-archive-feed-sentinel {
  width: 100%;
  height: 2px;
}


/* Tag archive action row */
.lbc-archive-actions { display:flex; align-items:center; flex-wrap:wrap; gap:0.75rem; }

/* Ensure dedicated tag archive template is used and action row aligns cleanly */
body.tag .lbc-entry-meta-row.lbc-archive-actions-row { justify-content:flex-start; }


/* v1.9.53 tag archive context + gallery archive revamp */
.lbc-entry-meta-row.lbc-archive-actions-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}

.lbc-archive-context {
  margin-left:auto;
  color:rgba(241,244,255,0.76);
  font-size:0.94rem;
  line-height:1.5;
  text-align:right;
}

body.page-template-template-gallery .lbc-gallery-archive-shell {
  display:grid;
  gap:1.25rem;
}

.lbc-gallery-set-pills {
  display:flex;
  flex-wrap:wrap;
  gap:0.72rem;
  align-items:center;
  margin-bottom:1.35rem;
}

.lbc-gallery-set-pill {
  cursor:pointer;
}

.lbc-gallery-set-pill.is-active {
  background:rgba(125, 211, 252, 0.12);
  border-color:rgba(125, 211, 252, 0.42);
  color:#eff8ff;
  box-shadow:0 0 0 1px rgba(125, 211, 252, 0.14);
}

.lbc-gallery-set-stage {
  display:grid;
  gap:1rem;
}

.lbc-gallery-set-panel {
  display:grid;
  gap:1rem;
}

.lbc-gallery-set-panel-head {
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:1rem;
  align-items:end;
}

.lbc-gallery-set-panel-title {
  margin-bottom:0.4rem;
}

.lbc-gallery-set-panel-text {
  max-width:72ch;
  color:var(--text-soft);
  line-height:1.68;
}

.lbc-gallery-set-panel-meta {
  display:flex;
  flex-wrap:wrap;
  gap:0.58rem;
  justify-content:flex-end;
}

.lbc-gallery-mosaic {
  column-count:4;
  column-gap:0;
  line-height:0;
  overflow:hidden;
  border-radius:1.2rem;
  background:rgba(255,255,255,0.02);
}

.lbc-gallery-mosaic-tile {
  position:relative;
  display:inline-block;
  width:100%;
  margin:0;
  min-height:0;
  border:0;
  border-radius:0;
  overflow:hidden;
  background:rgba(2,6,23,0.28);
  cursor:pointer;
  padding:0;
  text-align:left;
  box-shadow:none;
  transition:transform .24s ease, filter .24s ease;
  break-inside:avoid;
  -webkit-column-break-inside:avoid;
  line-height:0;
}

.lbc-gallery-mosaic-tile:hover,
.lbc-gallery-mosaic-tile:focus-visible {
  transform:translateY(-2px);
  filter:saturate(1.04) brightness(1.02);
  z-index:1;
}

.lbc-gallery-mosaic-tile:focus-visible {
  outline:2px solid rgba(125,211,252,0.42);
  outline-offset:3px;
}

.lbc-gallery-mosaic-media {
  position:relative;
  display:block;
  width:100%;
  background:none;
  transition:transform .45s ease;
}

.lbc-gallery-mosaic-tile:hover .lbc-gallery-mosaic-media,
.lbc-gallery-mosaic-tile:focus-visible .lbc-gallery-mosaic-media {
  transform:scale(1.03);
}

.lbc-gallery-archive-lightbox[hidden] {
  display:none !important;
}

.lbc-gallery-archive-lightbox {
  position:fixed;
  inset:0;
  z-index:110;
  display:grid;
  place-items:center;
}

.lbc-gallery-archive-lightbox-backdrop {
  position:absolute;
  inset:0;
  background:rgba(2,6,23,0.76);
  backdrop-filter:blur(12px);
}

.lbc-gallery-archive-lightbox-dialog {
  position:relative;
  z-index:1;
  width:min(1180px, calc(100vw - 2rem));
  display:grid;
  grid-template-columns:auto minmax(0, 1fr) auto;
  align-items:center;
  gap:1rem;
}

.lbc-gallery-archive-lightbox-figure {
  margin:0;
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:0.9rem;
  align-items:start;
}

.lbc-gallery-archive-lightbox-frame {
  border:1px solid rgba(255,255,255,0.12);
  border-radius:1.35rem;
  overflow:hidden;
  background:rgba(255,255,255,0.03);
  box-shadow:0 22px 54px rgba(2,6,23,0.36);
}

.lbc-gallery-archive-lightbox-image {
  display:block;
  width:100%;
  max-height:min(72vh, 920px);
  object-fit:contain;
  background:rgba(2,6,23,0.18);
}

.lbc-gallery-archive-lightbox-caption {
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-start;
  gap:0.35rem;
  padding-inline:0.2rem;
}

.lbc-gallery-archive-lightbox-meta {
  color:rgba(224,242,254,0.86);
  font-size:0.74rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
}

.lbc-gallery-archive-lightbox-meta[hidden],
.lbc-gallery-archive-lightbox-detail[hidden] {
  display:none !important;
}

.lbc-gallery-archive-lightbox-title {
  font-size:calc(1.44rem * var(--lbc-heading-scale));
  line-height:1.18;
  color:#fff;
}

.lbc-gallery-archive-lightbox-detail {
  color:rgba(241,244,255,0.82);
  line-height:1.62;
}

@media (max-width: 1100px) {
  .lbc-gallery-mosaic { column-count:3; }
}

@media (max-width: 760px) {
  .lbc-gallery-mosaic { column-count:2; }
}

.lbc-gallery-archive-lightbox-link {
  margin-top:0.45rem;
  width:max-content;
}

.lbc-gallery-archive-lightbox-close,
.lbc-gallery-archive-lightbox-arrow {
  width:3rem;
  height:3rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.05);
  color:#f8fafc;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.lbc-gallery-archive-lightbox-close:hover,
.lbc-gallery-archive-lightbox-close:focus-visible,
.lbc-gallery-archive-lightbox-arrow:hover,
.lbc-gallery-archive-lightbox-arrow:focus-visible {
  transform:translateY(-2px);
  border-color:rgba(125,211,252,0.38);
  background:rgba(125,211,252,0.12);
}

.lbc-gallery-archive-lightbox-close {
  position:absolute;
  top:-3.75rem;
  right:0;
}

@media (max-width: 980px) {
  .lbc-gallery-set-panel-head {
    grid-template-columns:1fr;
    align-items:start;
  }

  .lbc-gallery-set-panel-meta {
    justify-content:flex-start;
  }

  .lbc-gallery-mosaic {
    column-count:2;
  }

  .lbc-gallery-archive-lightbox-dialog {
    width:min(960px, calc(100vw - 1.25rem));
  }

  .lbc-gallery-archive-lightbox-figure {
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px) {
  .lbc-gallery-mosaic {
    column-count:1;
  }
}

@media (max-width: 782px) {
  .lbc-archive-context {
    width:100%;
    text-align:left;
    margin-left:0;
  }

  .lbc-gallery-mosaic {
    grid-template-columns:1fr;
  }

  .lbc-gallery-mosaic-tile,
  .lbc-gallery-mosaic-tile:nth-child(6n + 1),
  .lbc-gallery-mosaic-tile:nth-child(6n + 2),
  .lbc-gallery-mosaic-tile:nth-child(6n + 3),
  .lbc-gallery-mosaic-tile:nth-child(6n + 4),
  .lbc-gallery-mosaic-tile:nth-child(6n + 5),
  .lbc-gallery-mosaic-tile:nth-child(6n + 6) {
    grid-column:span 1;
    min-height:220px;
  }

  .lbc-gallery-archive-lightbox-dialog {
    grid-template-columns:1fr;
    gap:0.75rem;
  }

  .lbc-gallery-archive-lightbox-close {
    top:0.5rem;
    right:0.5rem;
  }

  .lbc-gallery-archive-lightbox-arrow {
    display:none;
  }
}


/* Gallery archive refinements v1.9.54 */
.lbc-gallery-set-panel[hidden] { display:none !important; }
.lbc-gallery-set-stage { align-items:start; }
.lbc-gallery-archive-lightbox-dialog {
  width:min(1440px, calc(100vw - 2rem));
  grid-template-columns:3rem minmax(0, 1fr) 3rem;
  gap:1.25rem;
}
.lbc-gallery-archive-lightbox-figure {
  justify-items:center;
}
.lbc-gallery-archive-lightbox-frame {
  width:auto;
  max-width:min(88vw, 1120px);
  max-height:82vh;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.lbc-gallery-archive-lightbox-image {
  width:auto;
  max-width:min(88vw, 1120px);
  max-height:min(78vh, 980px);
  object-fit:contain;
}
.lbc-gallery-archive-lightbox-caption {
  width:min(88vw, 1120px);
}
@media (max-width: 980px) {
  .lbc-gallery-archive-lightbox-dialog {
    width:min(100vw - 1rem, 960px);
    grid-template-columns:2.75rem minmax(0, 1fr) 2.75rem;
  }
  .lbc-gallery-archive-lightbox-frame,
  .lbc-gallery-archive-lightbox-image,
  .lbc-gallery-archive-lightbox-caption {
    max-width:min(92vw, 92vw);
    width:auto;
  }
}


/* Gallery archive refinements v1.9.56 */
body.page-template-template-gallery .lbc-gallery-archive-shell {
  gap: 1rem;
}

.lbc-gallery-set-stage {
  gap: 0;
}

.lbc-gallery-set-panel {
  gap: 0;
}

.lbc-gallery-set-panel-head,
.lbc-gallery-set-panel-title,
.lbc-gallery-set-panel-text,
.lbc-gallery-set-panel-meta {
  display: none !important;
}

.lbc-gallery-mosaic {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.78rem;
}

.lbc-gallery-mosaic-tile,
.lbc-gallery-mosaic-tile:nth-child(6n + 1),
.lbc-gallery-mosaic-tile:nth-child(6n + 2),
.lbc-gallery-mosaic-tile:nth-child(6n + 3),
.lbc-gallery-mosaic-tile:nth-child(6n + 4),
.lbc-gallery-mosaic-tile:nth-child(6n + 5),
.lbc-gallery-mosaic-tile:nth-child(6n + 6) {
  grid-column: span 1;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
}

.lbc-gallery-mosaic-media {
  transition: transform .38s ease, filter .22s ease;
}

.lbc-gallery-mosaic-tile:hover .lbc-gallery-mosaic-media,
.lbc-gallery-mosaic-tile:focus-visible .lbc-gallery-mosaic-media {
  transform: scale(1.025);
  filter: saturate(1.03);
}

.lbc-gallery-mosaic-shade,
.lbc-gallery-mosaic-caption {
  display: none !important;
}

@media (max-width: 1100px) {
  .lbc-gallery-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .lbc-gallery-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lbc-gallery-mosaic-tile,
  .lbc-gallery-mosaic-tile:nth-child(6n + 1),
  .lbc-gallery-mosaic-tile:nth-child(6n + 2),
  .lbc-gallery-mosaic-tile:nth-child(6n + 3),
  .lbc-gallery-mosaic-tile:nth-child(6n + 4),
  .lbc-gallery-mosaic-tile:nth-child(6n + 5),
  .lbc-gallery-mosaic-tile:nth-child(6n + 6) {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 560px) {
  .lbc-gallery-mosaic {
    grid-template-columns: 1fr;
  }

  .lbc-gallery-mosaic-tile,
  .lbc-gallery-mosaic-tile:nth-child(6n + 1),
  .lbc-gallery-mosaic-tile:nth-child(6n + 2),
  .lbc-gallery-mosaic-tile:nth-child(6n + 3),
  .lbc-gallery-mosaic-tile:nth-child(6n + 4),
  .lbc-gallery-mosaic-tile:nth-child(6n + 5),
  .lbc-gallery-mosaic-tile:nth-child(6n + 6) {
    aspect-ratio: 4 / 3;
  }
}

/* Gallery archive refinements v1.9.58 */
.lbc-gallery-set-pills {
  margin-bottom: 1.35rem;
}

.lbc-gallery-set-stage {
  margin-top: 0.25rem;
}

.lbc-gallery-mosaic {
  column-count: 5;
  column-gap: 1rem;
}

.lbc-gallery-mosaic-tile,
.lbc-gallery-mosaic-tile:nth-child(5n + 1),
.lbc-gallery-mosaic-tile:nth-child(5n + 2),
.lbc-gallery-mosaic-tile:nth-child(5n + 3),
.lbc-gallery-mosaic-tile:nth-child(5n + 4),
.lbc-gallery-mosaic-tile:nth-child(5n + 5),
.lbc-gallery-mosaic-tile:nth-child(6n + 1),
.lbc-gallery-mosaic-tile:nth-child(6n + 2),
.lbc-gallery-mosaic-tile:nth-child(6n + 3),
.lbc-gallery-mosaic-tile:nth-child(6n + 4),
.lbc-gallery-mosaic-tile:nth-child(6n + 5),
.lbc-gallery-mosaic-tile:nth-child(6n + 6) {
  aspect-ratio: auto !important;
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
}

.lbc-gallery-mosaic-media {
  position: relative;
  inset: auto;
  display: block;
  background: none !important;
  transform: none !important;
}

.lbc-gallery-mosaic-media img {
  display:block;
  width:100%;
  height:auto;
}


.lbc-gallery-mosaic-tile:hover .lbc-gallery-mosaic-media img,
.lbc-gallery-mosaic-tile:focus-visible .lbc-gallery-mosaic-media img {
  display:block;
  width:100%;
  height:auto;
}


.lbc-gallery-archive-lightbox-dialog {
  width: auto;
  max-width: calc(100vw - 2rem);
  grid-template-columns: 3rem auto 3rem;
}

.lbc-gallery-archive-lightbox-figure {
  display: inline-grid;
  grid-template-columns: 1fr;
  width: max-content;
  max-width: min(90vw, 1120px);
  justify-items: start;
  align-items: start;
  gap: 0.9rem;
}

.lbc-gallery-archive-lightbox-frame {
  width: auto;
  max-width: min(90vw, 1120px);
}

.lbc-gallery-archive-lightbox-image {
  width: auto;
  max-width: min(90vw, 1120px);
  height: auto;
  max-height: 80vh;
}

.lbc-gallery-archive-lightbox-caption {
  width: 100%;
  min-height: 0;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.35rem;
}

.lbc-gallery-archive-lightbox-meta {
  display: none !important;
}

@media (max-width: 1200px) {
  .lbc-gallery-mosaic {
    column-count: 4;
  }
}

@media (max-width: 980px) {
  .lbc-gallery-mosaic {
    column-count: 3;
  }

  .lbc-gallery-archive-lightbox-dialog {
    grid-template-columns: 1fr;
    width: min(96vw, 960px);
  }

  .lbc-gallery-archive-lightbox-figure {
    width: 100%;
    max-width: 100%;
  }

  .lbc-gallery-archive-lightbox-frame,
  .lbc-gallery-archive-lightbox-image {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .lbc-gallery-set-pills {
    margin-bottom: 1rem;
  }

  .lbc-gallery-mosaic {
    column-count: 2;
    column-gap: 0.8rem;
  }
}


/* v1.9.59 gallery mosaic + dynamic hero refinements */
.lbc-gallery-set-pills {
  margin-bottom: 2rem !important;
}

.lbc-gallery-set-stage {
  margin-top: 0 !important;
}

.lbc-gallery-mosaic {
  column-count: 5;
  column-gap: 0 !important;
  border-radius: 26px;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}

.lbc-gallery-mosaic-tile,
.lbc-gallery-mosaic-tile:nth-child(5n + 1),
.lbc-gallery-mosaic-tile:nth-child(5n + 2),
.lbc-gallery-mosaic-tile:nth-child(5n + 3),
.lbc-gallery-mosaic-tile:nth-child(5n + 4),
.lbc-gallery-mosaic-tile:nth-child(5n + 5),
.lbc-gallery-mosaic-tile:nth-child(6n + 1),
.lbc-gallery-mosaic-tile:nth-child(6n + 2),
.lbc-gallery-mosaic-tile:nth-child(6n + 3),
.lbc-gallery-mosaic-tile:nth-child(6n + 4),
.lbc-gallery-mosaic-tile:nth-child(6n + 5),
.lbc-gallery-mosaic-tile:nth-child(6n + 6) {
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.lbc-gallery-mosaic-media {
  display: block;
  margin: 0;
  border-radius: 0 !important;
  overflow: hidden;
  background: transparent !important;
  line-height: 0;
  transform: none !important;
}

.lbc-gallery-mosaic-media img {
  display:block;
  width:100%;
  height:auto;
}


.lbc-gallery-mosaic-tile:hover,
.lbc-gallery-mosaic-tile:focus-visible {
  transform: none !important;
  box-shadow: none !important;
}

.lbc-gallery-mosaic-tile:hover .lbc-gallery-mosaic-media img,
.lbc-gallery-mosaic-tile:focus-visible .lbc-gallery-mosaic-media img {
  display:block;
  width:100%;
  height:auto;
}


@media (max-width: 1200px) {
  .lbc-gallery-mosaic {
    column-count: 4;
  }
}

@media (max-width: 980px) {
  .lbc-gallery-set-pills {
    margin-bottom: 1.6rem !important;
  }

  .lbc-gallery-mosaic {
    column-count: 3;
  }
}

@media (max-width: 640px) {
  .lbc-gallery-set-pills {
    margin-bottom: 1.2rem !important;
  }

  .lbc-gallery-mosaic {
    column-count: 2;
  }
}


/* v1.9.62 gallery hover + homepage button polish */
.lbc-gallery-set-switcher-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.35rem;
}

.lbc-gallery-home-link {
  flex: 0 0 auto;
  text-decoration: none;
}

.lbc-gallery-home-link {
  min-height: var(--lbc-pill-height);
  height: var(--lbc-pill-height);
  padding: 0 var(--lbc-pill-pad-x);
  line-height: 1;
  box-sizing: border-box;
}

.lbc-gallery-set-pills {
  margin-bottom: 0 !important;
  flex: 1 1 auto;
}

.lbc-gallery-mosaic {
  position: relative;
}

.lbc-gallery-mosaic-tile {
  position: relative;
  z-index: 0;
  cursor: pointer;
}

.lbc-gallery-mosaic-media {
  position: relative;
}

.lbc-gallery-mosaic-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 rgba(255,255,255,0.0), inset 0 0 0 1px rgba(255,255,255,0.0);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.0));
  opacity: 0;
  transition: opacity 180ms ease, box-shadow 180ms ease;
  pointer-events: none;
}

.lbc-gallery-mosaic-media img {
  transition: transform 220ms ease, filter 220ms ease;
  filter: saturate(0.97) brightness(0.94);
}

.lbc-gallery-mosaic-tile:hover,
.lbc-gallery-mosaic-tile:focus-visible {
  z-index: 2;
}

.lbc-gallery-mosaic-tile:hover .lbc-gallery-mosaic-media::after,
.lbc-gallery-mosaic-tile:focus-visible .lbc-gallery-mosaic-media::after {
  opacity: 1;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2), inset 0 0 0 999px rgba(255,255,255,0.03);
}

.lbc-gallery-mosaic-tile:hover .lbc-gallery-mosaic-media img,
.lbc-gallery-mosaic-tile:focus-visible .lbc-gallery-mosaic-media img {
  transform: scale(1.025);
  filter: saturate(1.08) brightness(1.02);
}

@media (max-width: 980px) {
  .lbc-gallery-set-switcher-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 1.9rem;
  }

  .lbc-gallery-home-link {
    align-self: flex-start;
  }

  .lbc-gallery-set-pills {
    justify-content: flex-start;
  }
}


/* v1.9.70 bench landing page */
.lbc-bench-intro-card,
.lbc-bench-feature-card,
.lbc-bench-latest-card,
.lbc-bench-resources-card {
  overflow: hidden;
}

.lbc-bench-intro-card::before,
.lbc-bench-feature-card::before,
.lbc-bench-latest-card::before,
.lbc-bench-resources-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 13%, transparent), transparent 42%);
  opacity: 0.9;
}

.lbc-bench-intro-card > .lbc-card-inner,
.lbc-bench-feature-card > .lbc-card-inner,
.lbc-bench-latest-card > .lbc-card-inner,
.lbc-bench-resources-card > .lbc-card-inner {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.lbc-bench-intro-layout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.lbc-bench-intro-layout.has-logo {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  align-items: center;
}

.lbc-bench-intro-copy,
.lbc-bench-feature-copy,
.lbc-bench-feature-title,
.lbc-bench-feature-text,
.lbc-bench-resource-item,
.lbc-bench-resource-item > span,
.lbc-bench-resource-title,
.lbc-bench-resource-text,
.lbc-bench-resource-meta,
.lbc-bench-resource-logo {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.lbc-bench-intro-copy p {overflow-wrap: break-word;
}

.lbc-bench-intro-brandmark {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 100%;
  padding: 1rem;
  border-radius: 1.4rem;
  background: #0c1422;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border));
  overflow: hidden;
}

.lbc-bench-intro-brandmark.is-featured-image {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.lbc-bench-intro-brandmark img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}

.lbc-bench-intro-brandmark.is-featured-image img {
  border-radius: 0;
}

.lbc-bench-section-head {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.lbc-bench-feed-grid {
  display: grid;
  gap: var(--gap-lg);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
}

.lbc-bench-feed-grid > .lbc-card {
  display: flex;
  min-height: 100%;
}

.lbc-bench-feed-grid > .lbc-card > .lbc-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.lbc-bench-feed-side {
  display: grid;
  gap: var(--gap-lg);
  align-content: start;
  min-width: 0;
}

.lbc-bench-feed-side > .lbc-card {
  display: block;
}

.lbc-bench-feature-article {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  padding-bottom: 2.35rem;
}


.lbc-bench-feature-media {
  position: relative;
  display: block;
  height: clamp(170px, 22vw, 230px);
  border-radius: 1.3rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(2,6,23,0.42);
  margin-bottom: 1rem;
  flex: 0 0 auto;
}

.lbc-bench-feature-media-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform 0.32s ease;
}

.lbc-bench-feature-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.82), rgba(2,6,23,0.12));
}

.lbc-bench-feature-article:hover .lbc-bench-feature-media-bg,
.lbc-bench-feature-article:focus-within .lbc-bench-feature-media-bg {
  transform: scale(1.04);
}

.lbc-bench-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  flex: 1 1 auto;
  min-height: 0;
  align-content: start;
  overflow: hidden;
}

.lbc-bench-feature-main {
  display: contents;
}

.lbc-bench-feature-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  line-height: 1.08;
}

.lbc-bench-feature-title a {
  color: inherit;
  text-decoration: none;
}

.lbc-bench-feature-title a:hover,
.lbc-bench-feature-title a:focus-visible {
  color: color-mix(in srgb, var(--accent) 78%, white 22%);
}

.lbc-bench-feature-text-wrap {
  min-height: 0;
  display: block;
  overflow: hidden;
  align-self: stretch;
  flex: 1 1 auto;
}

.lbc-bench-feature-text {
  color: var(--text-soft);
  font-size: var(--lbc-notebook-text-size);
  line-height: var(--lbc-body-line-height);word-break: normal;
  overflow-wrap: break-word;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.lbc-bench-feature-text > :first-child { margin-top: 0; }
.lbc-bench-feature-text > :last-child { margin-bottom: 0; }
.lbc-bench-feature-text p,
.lbc-bench-feature-text ul,
.lbc-bench-feature-text ol {
  margin: 0 0 0.72rem;
}

.lbc-bench-feature-text h1,
.lbc-bench-feature-text h2,
.lbc-bench-feature-text h3,
.lbc-bench-feature-text h4,
.lbc-bench-feature-text h5,
.lbc-bench-feature-text h6 {
  margin: 0 0 0.56rem;
  font-family: var(--lbc-font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.14;
  color: var(--text);
}

.lbc-bench-feature-text h1,
.lbc-bench-feature-text h2 {
  font-size: calc(1.18rem * var(--lbc-heading-scale));
}

.lbc-bench-feature-text h3 {
  font-size: calc(1.04rem * var(--lbc-heading-scale));
}

.lbc-bench-feature-text h4 {
  font-size: calc(0.96rem * var(--lbc-heading-scale));
}

.lbc-bench-feature-text h5,
.lbc-bench-feature-text h6 {
  font-size: calc(0.9rem * var(--lbc-heading-scale));
}

.lbc-bench-feature-text blockquote {
  margin: 0 0 0.85rem;
  padding: 0.1rem 0 0.1rem 0.9rem;
  border-left: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  color: color-mix(in srgb, var(--text-soft) 88%, white 12%);
}

.lbc-bench-feature-text ul,
.lbc-bench-feature-text ol {
  padding-inline-start: 1.1rem;
}

.lbc-bench-feature-cta {
  margin: 0.55rem 0 0;
  padding-top: 0.08rem;
  text-align: left;
  flex: 0 0 auto;
}

.lbc-bench-feature-cta .lbc-record-link {
  margin-top: 0;
  padding-top: 0;
}

.lbc-bench-feature-actions {
  display: none;
}

.lbc-bench-feature-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  padding-top: 0.35rem;
  background: linear-gradient(to top, rgba(5, 10, 22, 0.98) 45%, rgba(5, 10, 22, 0));
  z-index: 4;
}

.lbc-bench-feature-copy .lbc-record-link,
.lbc-bench-feature-actions .lbc-record-link {
  margin-top: 0;
  padding-top: 0;
  flex: 0 0 auto;
  align-self: flex-start;
  position: relative;
  z-index: 5;
}

.lbc-bench-latest-card .lbc-records {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.lbc-bench-latest-card > .lbc-card-inner,
.lbc-bench-tasting-card > .lbc-card-inner {
  height: auto;
}

.lbc-bench-latest-card .lbc-record-text {overflow-wrap: break-word;
}

.lbc-bench-actions-row {
  margin-top: 1.5rem;
}

.lbc-bench-actions-row + .lbc-bench-intro-shell {
  margin-top: 1rem;
}

.lbc-bench-resource-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.lbc-bench-resource-item {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  min-height: 100%;
  min-width: 0;
  padding: 1rem;
  border-radius: 1.25rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border));
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  overflow: hidden;
  box-sizing: border-box;
}

.lbc-bench-resource-item:hover,
.lbc-bench-resource-item:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, rgba(255,255,255,0.03)), rgba(255,255,255,0.02));
  box-shadow: 0 12px 28px rgba(2,6,23,0.22);
}

.lbc-bench-resource-item.is-static {
  cursor: default;
}

.lbc-bench-resource-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.lbc-bench-resource-copy {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
  order: 1;
}

.lbc-bench-resource-logo,
.lbc-bench-resource-icon {
  min-height: 3.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: start;
  overflow: hidden;
  flex: 0 0 auto;
  order: 0;
}


.lbc-bench-resource-logo img {
  display: block;
  max-width: min(100%, 132px);
  max-height: 3.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lbc-bench-resource-icon {
  width: 3.25rem;
  height: 3.25rem;
  min-height: 3.25rem;
  border-radius: 1rem;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  background: rgba(2,6,23,0.52);
  color: color-mix(in srgb, var(--accent) 82%, white 18%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.lbc-bench-resource-icon-svg {
  width: 1.38rem;
  height: 1.38rem;
  display: block;
}

.lbc-bench-resource-meta {
  font-size: var(--lbc-label-text-size);
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 70%, white 30%);
}

.lbc-bench-resource-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.lbc-bench-resource-text {
  color: var(--text-soft);
  font-size: var(--lbc-module-text-size);
  line-height: var(--lbc-body-line-height);
  hyphens: manual;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}

.lbc-bench-resource-empty {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  border: 1px dashed color-mix(in srgb, var(--accent) 20%, var(--border));
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
}

.lbc-bench-resource-empty-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.lbc-bench-resource-empty-text {
  margin: 0;
  color: var(--text-soft);
  line-height: var(--lbc-body-line-height);
}

@media (max-width: 1100px) {
  .lbc-bench-intro-layout.has-logo {
    grid-template-columns: 1fr;
  }

  .lbc-bench-intro-brandmark {
    max-width: 280px;
  }
}

@media (max-width: 980px) {
  .lbc-bench-feed-grid {
    grid-template-columns: 1fr;
  }

  .lbc-bench-feed-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .lbc-bench-resource-grid {
    grid-template-columns: 1fr;
  }
}




.lbc-404-simple {
  margin-top: 0.2rem;
}

.lbc-404-simple-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.35rem 0;
}

.lbc-404-simple-mark {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lbc-404-simple-mark img,
.lbc-404-simple-mark .custom-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.85rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.lbc-404-simple-mark .custom-logo-link {
  display: block;
  width: 100%;
  height: 100%;
}

.lbc-404-simple-copy {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  min-width: 0;
}

.lbc-404-simple-title {
  margin: 0;
  font-size: clamp(calc(1.35rem * var(--lbc-heading-scale)), calc(2vw * var(--lbc-heading-scale)), calc(1.85rem * var(--lbc-heading-scale)));
  line-height: 1.05;
}

.lbc-404-simple-sep {
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .lbc-404-simple-inner {
    align-items: flex-start;
  }

  .lbc-404-simple-copy {
    gap: 0.5rem;
  }

  .lbc-404-simple-sep {
    display: none;
  }
}
.lbc-share-rate-card {
  margin-top: 1.5rem;
}

.lbc-share-rate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem 1.5rem;
  flex-wrap: wrap;
}

.lbc-share-rate-group {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  min-width: 0;
}

.lbc-share-rate-label {
  font-size: var(--lbc-label-text-size);
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.lbc-share-rate-actions,
.lbc-rate-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.lbc-share-icon-btn,
.lbc-rate-star {
  width: 2.28rem;
  height: 2.28rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text-soft);
  text-decoration: none;
  transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease, opacity 0.22s ease;
  box-sizing: border-box;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.lbc-share-icon-btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(124,58,237,0.30), rgba(217,70,239,0.22), rgba(236,72,153,0.20));
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.7s ease;
  transform: translateX(-135%);
  pointer-events: none;
}

.lbc-share-icon-btn > *,
.lbc-rate-star > * {
  position: relative;
  z-index: 1;
}

.lbc-share-icon-btn:hover,
.lbc-share-icon-btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(244,114,182,0.36);
  background: var(--btn-secondary-hover-bg);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 16px 38px rgba(168,85,247,0.20), 0 0 0 1px rgba(217,70,239,0.12);
}

.lbc-share-icon-btn:hover::before,
.lbc-share-icon-btn:focus-visible::before {
  opacity: 1;
  transform: translateX(135%);
}

.lbc-rate-star:hover,
.lbc-rate-star:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent, #c4b5fd) 38%, rgba(255,255,255,0.14));
  background: color-mix(in srgb, var(--accent, #c4b5fd) 12%, transparent);
  color: color-mix(in srgb, var(--accent, #c4b5fd) 78%, white 22%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #c4b5fd) 10%, transparent);
}

.lbc-share-icon-btn:focus-visible,
.lbc-rate-star:focus-visible {
  outline: 2px solid rgba(196,181,253,0.42);
  outline-offset: 2px;
}

.lbc-share-icon-svg,
.lbc-rate-star-svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.lbc-rate-stars {
  gap: 0.42rem;
}

.lbc-rate-star {
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}

.lbc-rate-star.is-active {
  color: color-mix(in srgb, var(--accent, #c4b5fd) 82%, white 18%);
  background: color-mix(in srgb, var(--accent, #c4b5fd) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent, #c4b5fd) 34%, rgba(255,255,255,0.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 0 1px color-mix(in srgb, var(--accent, #c4b5fd) 10%, transparent);
}

[data-lbc-rating].is-rated .lbc-rate-star {
  cursor: default;
}

[data-lbc-rating].is-rated .lbc-rate-star:not(.is-active) {
  opacity: 0.72;
}

[data-lbc-rating].is-loading {
  opacity: 0.78;
}

.lbc-rate-feedback {
  font-size: var(--lbc-meta-text-size);
  color: var(--text-muted);
}

.comment-form .submit.lbc-comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: var(--lbc-pill-height);
  min-height: var(--lbc-pill-height);
  padding: 0 var(--lbc-pill-pad-x);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft-2);
  color: var(--text-soft);
  font-size: var(--lbc-ui-text-size);
  line-height: 1;
  box-shadow: none;
}

.comment-form .submit.lbc-comment-submit:hover,
.comment-form .submit.lbc-comment-submit:focus-visible {
  border-color: rgba(196,181,253,0.28);
  background: rgba(167,139,250,0.12);
  color: #ede9fe;
  box-shadow: none;
}

@media (max-width: 820px) {
  .lbc-share-rate-group--rate {
    width: 100%;
  }
}


/* v1.9.95 header search drawer */
.lbc-topbar-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:0.65rem;
  margin-left:auto;
}
.lbc-search-pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:var(--lbc-pill-height);
  min-width:var(--lbc-pill-height);
  height:var(--lbc-pill-height);
  min-height:var(--lbc-pill-height);
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(10,15,28,0.64);
  color:rgba(241,245,249,0.92);
  box-shadow:0 14px 34px rgba(2,6,23,0.22);
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.lbc-search-pill svg { width:1.05rem; height:1.05rem; }
.lbc-search-pill:hover,
.lbc-search-pill:focus-visible {
  outline:none;
  color:#fff;
  background:linear-gradient(180deg, rgba(26,13,44,0.96), rgba(59,20,73,0.92));
  border-color:rgba(244,114,182,0.46);
  box-shadow:0 0 0 1px rgba(244,114,182,0.2), 0 18px 38px rgba(91,33,182,0.30), 0 10px 20px rgba(236,72,153,0.20);
  transform:translateY(-1px);
}
.lbc-search-drawer {
  position:fixed;
  inset:0;
  z-index:120;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:1.15rem 1rem 1rem;
}
.lbc-search-drawer[hidden] { display:none !important; }
.lbc-search-drawer-backdrop {
  position:absolute; inset:0; border:0; padding:0; margin:0;
  background:rgba(2,6,23,0.58);
  backdrop-filter:blur(8px);
}
.lbc-search-drawer-panel {
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  width:min(920px, calc(100vw - 2rem));
  height:auto;
  max-height:min(82vh, 860px);
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(255,255,255,0.10);
  background:linear-gradient(180deg, rgba(8,12,24,0.98), rgba(7,11,22,0.96));
  box-shadow:0 34px 90px rgba(2,6,23,0.58), inset 0 1px 0 rgba(255,255,255,0.05);
  transform:translateY(-20px) scale(0.985);
  opacity:0;
  transition:transform .34s cubic-bezier(.22,.8,.2,1), opacity .28s ease;
}
.lbc-search-drawer.is-open .lbc-search-drawer-panel { transform:translateY(0) scale(1); opacity:1; }
.lbc-search-drawer-close {
  display:inline-flex; align-items:center; justify-content:center;
  width:calc(var(--lbc-pill-height) - 0.2rem); min-width:calc(var(--lbc-pill-height) - 0.2rem); height:calc(var(--lbc-pill-height) - 0.2rem);
  margin-left:auto;
  border-radius:999px; border:1px solid rgba(255,255,255,0.12); background:rgba(255,255,255,0.04); color:rgba(241,245,249,0.92);
  font-size:1.25rem; line-height:1; transition:transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.lbc-search-drawer-close:hover,
.lbc-search-drawer-close:focus-visible {
  outline:none; color:#fff; background:linear-gradient(180deg, rgba(26,13,44,0.96), rgba(59,20,73,0.92)); border-color:rgba(244,114,182,0.46); transform:translateY(-1px);
}
.lbc-search-form-shell { padding:1.45rem 1.15rem 0.85rem; }
.lbc-search-field-wrap {
  display:flex; align-items:center; gap:0.8rem;
  min-height:3.45rem; padding:0 0.65rem 0 1rem;
  border-radius:22px; border:1px solid rgba(255,255,255,0.10);
  background:linear-gradient(180deg, rgba(15,23,42,0.78), rgba(8,12,24,0.92));
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.04);
}
.lbc-search-field-wrap svg { flex:0 0 auto; width:1.1rem; height:1.1rem; color:rgba(196,181,253,0.88); }
.lbc-search-field {
  flex:1 1 auto; width:100%; border:0; background:transparent; color:#f8fafc; font-size:1rem; min-height:3.1rem;
}
.lbc-search-field::placeholder { color:rgba(203,213,225,0.56); }
.lbc-search-field:focus { outline:none; }
.lbc-search-drawer-body {
  flex:0 1 auto;
  min-height:0;
  max-height:min(68vh, 720px);
  padding:0 1.15rem 1.15rem;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable both-edges;
  scrollbar-width:thin;
  scrollbar-color:rgba(244,114,182,0.5) rgba(255,255,255,0.05);
}
.lbc-search-drawer-body::-webkit-scrollbar { width:10px; }
.lbc-search-drawer-body::-webkit-scrollbar-track {
  background:rgba(255,255,255,0.05);
  border-radius:999px;
}
.lbc-search-drawer-body::-webkit-scrollbar-thumb {
  border-radius:999px;
  background:linear-gradient(180deg, rgba(187,134,255,0.78), rgba(244,114,182,0.78));
  border:2px solid rgba(11,16,30,0.9);
}
.lbc-search-drawer-body::-webkit-scrollbar-thumb:hover {
  background:linear-gradient(180deg, rgba(196,181,253,0.92), rgba(244,114,182,0.92));
}

.lbc-search-status {
  margin:0 0 0.9rem; color:rgba(196,181,253,0.84); font-size:0.84rem; text-transform:uppercase; letter-spacing:.14em;
}
 .lbc-search-results { display:grid; gap:0.95rem; align-content:start; padding-bottom:0.2rem; }
.lbc-search-more-wrap { display:flex; justify-content:center; margin-top:0.7rem; padding:0.65rem 0 0.25rem; }
.lbc-search-more-wrap[hidden] { display:none !important; }
.lbc-search-more-button { min-width:8.5rem; justify-content:center; }
.lbc-search-more-button[disabled] { opacity:0.7; pointer-events:none; }

.lbc-search-group { display:grid; gap:0.7rem; min-width:0; }
.lbc-search-group-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); align-items:start; gap:0.9rem; min-width:0; }
.lbc-search-result-card { min-width:0; min-height:0; position:relative; isolation:isolate; align-self:start; }
 .lbc-search-result-link {
  display:flex; flex-direction:column; align-items:flex-start; gap:0.42rem; height:auto; min-width:0; min-height:0; overflow:hidden; box-sizing:border-box;
  padding:0.88rem 0.95rem; border-radius:22px; border:1px solid rgba(255,255,255,0.08);
  background:linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  text-decoration:none; color:inherit; transition:transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.lbc-search-result-link:hover,
.lbc-search-result-link:focus-visible {
  outline:none; transform:translateY(-2px); border-color:rgba(244,114,182,0.34); background:linear-gradient(180deg, rgba(42,18,64,0.80), rgba(17,24,39,0.96)); box-shadow:0 16px 30px rgba(91,33,182,0.18);
}
.lbc-search-result-meta-row { display:flex; align-items:center; justify-content:space-between; gap:0.75rem; flex-wrap:wrap; width:100%; min-width:0; }
 .lbc-search-result-source {
  --source-accent:#c4b5fd;
  display:inline-flex; align-items:center; min-height:1.75rem; max-width:100%; padding:0 0.68rem; border-radius:999px;
  border:1px solid color-mix(in srgb, var(--source-accent) 28%, rgba(255,255,255,0.08));
  background:color-mix(in srgb, var(--source-accent) 10%, rgba(255,255,255,0.02));
  color:color-mix(in srgb, var(--source-accent) 82%, white 18%); font-size:var(--lbc-label-text-size); text-transform:uppercase; letter-spacing:.12em;
}
.lbc-search-result-date { color:rgba(148,163,184,0.8); font-size:var(--lbc-meta-text-size); }
.lbc-search-result-source.is-page { color:rgba(226,232,240,0.86); background:rgba(255,255,255,0.045); border-color:rgba(255,255,255,0.1); }
.lbc-search-result-source.is-dark-room { letter-spacing:.13em; }
.lbc-search-result-title { margin:0; font-size:calc(0.98rem * var(--lbc-module-title-scale)); line-height:1.32; width:100%; overflow-wrap:anywhere; }
.lbc-search-result-excerpt { color:rgba(226,232,240,0.74); line-height:1.48; font-size:var(--lbc-module-text-size); width:100%; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.lbc-search-loading,
.lbc-search-empty {
  padding:1rem 0.15rem 0.35rem; color:rgba(226,232,240,0.78);
}
body.lbc-search-open { overflow:hidden; }
@media (max-width: 900px) {
  .lbc-topbar-actions { width:100%; margin-left:0; justify-content:space-between; }
  .lbc-nav { margin-left:0; flex:1 1 auto; width:auto; }
  .lbc-nav ul { justify-content:flex-start; flex-wrap:wrap; }
  .lbc-search-drawer-panel { width:min(100%, calc(100vw - 1rem)); }
  .lbc-search-group-grid { display:grid; grid-template-columns:minmax(0,1fr); }
}
@media (max-width: 640px) {
  .lbc-search-drawer { padding:0.7rem 0.5rem 0.5rem; }
  .lbc-search-form-shell, .lbc-search-drawer-body { padding-left:0.82rem; padding-right:0.82rem; }
}


/* Brewology tasting notes */
.lbc-entry-grid--tasting {
  grid-template-columns: minmax(0, 0.7fr) minmax(18rem, 0.3fr);
  margin-top: calc(var(--gap-md) * 0.82);
}

.lbc-entry-card--tasting {
  position: relative;
  border-color: color-mix(in srgb, var(--accent) 16%, var(--border));
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, rgba(255,255,255,0.02)), rgba(255,255,255,0.018));
}

.lbc-entry-card--tasting::before {
  content: "";
  position: absolute;
  inset-inline: 1.35rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));
  pointer-events: none;
}

.lbc-entry-card--tasting > .lbc-card-inner {
  display: grid;
  gap: 1rem;
}

.lbc-entry-card--tasting .lbc-section-title {
  font-size: var(--lbc-label-text-size);
}

.lbc-entry-card--tasting .lbc-module-block-title {
  font-size: var(--lbc-label-text-size);
}


.lbc-entry-card--tasting .lbc-tasting-metric-value,
.lbc-entry-card--tasting .lbc-record-title--sidebar,
.lbc-entry-card--tasting .lbc-sidebar-brewery-text,
.lbc-entry-card--tasting .lbc-tasting-section-text,
.lbc-entry-card--tasting .lbc-module-note,
.lbc-entry-card--tasting .lbc-module-list li {
  font-family: var(--lbc-font-body);
}

.lbc-entry-card--tasting .lbc-record-title--sidebar {
  font-family: var(--lbc-font-heading);
  font-size: calc(1.02rem * var(--lbc-heading-scale));
}

.lbc-entry-card--tasting .entry-content,
.lbc-entry-card--tasting .lbc-tasting-sheet,
.lbc-entry-card--tasting .lbc-tasting-sheet *:not(.lbc-tasting-score-value):not(.lbc-tasting-score-value span):not(.lbc-tasting-metric-value):not(.lbc-bench-tasting-title) {
  font-family: var(--lbc-font-body);
}

.lbc-tasting-sheet {
  display: grid;
  gap: 0.74rem;
}

.lbc-tasting-sheet-top {
  display: grid;
  grid-template-columns: minmax(11rem, 12.75rem) minmax(0, 1fr);
  gap: 0.92rem;
  align-items: stretch;
}

.lbc-tasting-media-wrap {
  position: relative;
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
  padding: 1.05rem;
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--border));
  background: rgba(2,6,23,0.22);
  box-sizing: border-box;
}

.lbc-tasting-media {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  display: block;
  margin: auto;
  border-radius: 0.9rem;
  border: 0;
  background: transparent;
}

.lbc-tasting-media--placeholder {
  min-height: 100%;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.lbc-tasting-content {
  display: grid;
  align-content: start;
  gap: 0.82rem;
  font-family: var(--lbc-font-body);
}

.lbc-tasting-pill-stack {
  display: grid;
  gap: 0.6rem;
}

.lbc-tasting-pill-row {
  display: grid;
  gap: 0.6rem;
}

.lbc-tasting-pill-row--split {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.lbc-tasting-pill-card {
  display: grid;
  align-content: start;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.62rem 0.8rem 0.66rem;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border));
  border-radius: 1rem;
  background: rgba(2,6,23,0.22);
  text-decoration: none;
}

.lbc-tasting-pill-card--action {
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.lbc-tasting-pill-card--action:hover,
.lbc-tasting-pill-card--action:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 52%, var(--border));
  background: color-mix(in srgb, var(--accent) 12%, rgba(2,6,23,0.22));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent), 0 10px 24px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

.lbc-tasting-pill-card--action-shell {
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.lbc-tasting-pill-action {
  min-height: var(--lbc-pill-height);
  width: auto;
  max-width: 100%;
}

.lbc-tasting-pill-action:hover,
.lbc-tasting-pill-action:focus-visible {
  transform: translateY(-1px);
}

.lbc-tasting-pill-label {
  font-size: var(--lbc-label-text-size);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: color-mix(in srgb, var(--accent) 68%, white 32%);
}

.lbc-tasting-pill-value {
  min-width: 0;
  color: var(--text);
  font-family: var(--lbc-font-heading);
  font-size: calc(1.02rem * var(--lbc-heading-scale));
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.lbc-tasting-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.lbc-tasting-metric-item,
.lbc-tasting-score-card,
.lbc-tasting-section {
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border));
  border-radius: 1rem;
  background: rgba(2,6,23,0.22);
}

.lbc-tasting-metric-item {
  padding: 0.62rem 0.8rem 0.66rem;
}

.lbc-tasting-metric-label,
.lbc-tasting-score-kicker,
.lbc-tasting-subscore-label {
  font-size: var(--lbc-label-text-size);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: color-mix(in srgb, var(--accent) 68%, white 32%);
}

.lbc-tasting-score-kicker {
  display: inline-flex;
  align-items: center;
  align-self: center;
  min-height: 100%;
}

.lbc-tasting-metric-value {
  margin-top: 0.34rem;
  color: var(--text);
  font-family: var(--lbc-font-heading);
  font-size: calc(1.08rem * var(--lbc-heading-scale));
  line-height: 1.18;
}

.lbc-tasting-score-card {
  padding: 0.92rem;
  display: grid;
  gap: 0.84rem;
}

.lbc-tasting-score-overall {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.4rem;
}

.lbc-tasting-score-value {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  align-self: center;
  font-family: var(--lbc-font-heading);
  font-size: calc(2.4rem * var(--lbc-heading-scale));
  line-height: 1;
  color: var(--text);
}

.lbc-tasting-score-value span {
  font-size: calc(0.98rem * var(--lbc-module-title-scale));
  line-height: 1;
  color: color-mix(in srgb, var(--accent) 72%, white 28%);
}

.lbc-tasting-subscores {
  display: grid;
  gap: 0.62rem;
}

.lbc-tasting-subscore-row {
  display: grid;
  grid-template-columns: minmax(8.5rem, auto) minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
}

.lbc-tasting-subscore-track {
  position: relative;
  height: 0.5rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 10%, var(--border));
  background: rgba(255,255,255,0.04);
}

.lbc-tasting-subscore-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, white 78%), color-mix(in srgb, var(--accent) 42%, white 58%));
}

.lbc-tasting-sections {
  display: grid;
  gap: 0.78rem;
}

.lbc-tasting-section {
  box-sizing: border-box;
  min-width: 0;
  padding: 0.82rem 0.94rem 0.9rem;
}

.lbc-tasting-section--from-brewery {
  margin-top: 0.1rem;
}

.lbc-tasting-section--full-width {
  width: 100%;
  max-width: 100%;
}

.lbc-tasting-section-text {
  min-width: 0;
  margin-top: 0.56rem;
  color: var(--text-soft);
  font-family: var(--lbc-font-body);
  font-size: var(--lbc-body-text-size);
  line-height: var(--lbc-body-line-height);
  overflow-wrap: anywhere;
}

.lbc-tasting-section-text p {
  margin: 0 0 0.82rem;}

.lbc-tasting-section-text p:last-child {
  margin-bottom: 0;
}

.lbc-record-title--sidebar {
  margin: 0;
  color: var(--text);
  font-size: calc(1.06rem * var(--lbc-heading-scale));
  line-height: 1.25;
}

.lbc-sidebar-brewery-text {
  color: var(--text-soft);
  font-family: var(--lbc-font-body);
  font-size: var(--lbc-module-text-size);
  line-height: 1.56;
}

.lbc-sidebar-brewery-text p {
  margin: 0 0 0.85rem;}

.lbc-sidebar-brewery-text p:last-child {
  margin-bottom: 0;
}

.lbc-sidebar-item--action {
  padding-top: 0.15rem;
}

.lbc-sidebar-item--action-spaced {
  padding-top: 1.05rem;
}

.lbc-module-block--brewery-note {
  gap: 0.72rem;
}

.lbc-module-block--score-system {
  gap: 0.78rem;
}

.lbc-sidebar-module--score-system .lbc-module-note {}

.lbc-bench-tasting-shell {
  margin-top: 1.5rem;
}

.lbc-bench-tasting-card .lbc-card-inner {
  display: grid;
  gap: 0.9rem;
}

.lbc-bench-section-head--tasting-carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.lbc-bench-tasting-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lbc-bench-tasting-arrow {
  min-width: 2.55rem;
  justify-content: center;
  padding-inline: 0.7rem;
}

.lbc-bench-tasting-arrow[disabled] {
  opacity: 0.42;
  pointer-events: none;
}

.lbc-bench-tasting-stage {
  position: relative;
  padding-inline: 2.7rem;
}

.lbc-bench-tasting-arrow--overlay {
  position: absolute;
  top: 5.2rem;
  transform: translateY(-50%);
  z-index: 3;
}

.lbc-bench-tasting-arrow--prev {
  left: 0;
}

.lbc-bench-tasting-arrow--next {
  right: 0;
}

.lbc-bench-tasting-viewport {
  overflow: hidden;
}

.lbc-bench-tasting-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(.22,.8,.2,1);
  will-change: transform;
}

.lbc-bench-tasting-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.lbc-bench-tasting-item {
  display: grid;
  gap: 0.8rem;
  align-items: center;
  justify-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.lbc-bench-tasting-media {
  position: relative;
  display: block;
  width: min(100%, 12.2rem);
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border));
  background: rgba(2,6,23,0.24);
  isolation: isolate;
}

.lbc-bench-tasting-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.06) 0%, rgba(15,23,42,0.18) 100%);
  pointer-events: none;
}

.lbc-bench-tasting-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .32s ease;
}

.lbc-bench-tasting-item:hover .lbc-bench-tasting-media img,
.lbc-bench-tasting-item:focus-visible .lbc-bench-tasting-media img,
.lbc-bench-tasting-item:focus-within .lbc-bench-tasting-media img {
  transform: scale(1.04);
}

.lbc-bench-tasting-media.is-empty {
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.lbc-bench-tasting-copy {
  display: grid;
  gap: 0.32rem;
  justify-items: center;
}

.lbc-bench-tasting-title {
  font-family: var(--lbc-font-heading);
  font-size: calc(1.08rem * var(--lbc-heading-scale));
  line-height: 1.2;
  color: var(--text);
}

.lbc-bench-tasting-brewery {
  color: var(--text-soft);
  font-size: var(--lbc-body-text-size);
  line-height: 1.35;
}

@media (max-width: 980px) {
  .lbc-entry-grid--tasting {
    grid-template-columns: 1fr;
  }

  .lbc-tasting-sheet-top {
    grid-template-columns: 1fr;
  }

  .lbc-tasting-media-wrap {
    min-height: 20rem;
  }

  .lbc-bench-tasting-stage {
    padding-inline: 0;
  }

  .lbc-bench-tasting-arrow--overlay {
    top: 4.6rem;
  }
}

@media (max-width: 640px) {
  .lbc-tasting-pill-row--split,
  .lbc-tasting-metrics-grid {
    grid-template-columns: 1fr;
  }

  .lbc-tasting-score-overall {
    align-items: start;
    flex-direction: column;
  }

  .lbc-tasting-subscore-row {
    grid-template-columns: 1fr;
    gap: 0.38rem;
  }

  .lbc-bench-tasting-item {
    justify-items: center;
    text-align: center;
  }
}


@media (max-width: 980px) {
  .lbc-entry-grid--tasting {
    margin-top: calc(var(--gap-md) * 0.7);
  }

  .lbc-tasting-sheet-top {
    grid-template-columns: 1fr;
  }

  .lbc-tasting-media-wrap {
    min-height: 18rem;
  }
}


.lbc-sidebar-brewery-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.lbc-sidebar-module--score-system .lbc-module-note p {
  margin: 0 0 0.88rem;
}

.lbc-sidebar-module--score-system .lbc-module-note p:last-child {
  margin-bottom: 0;
}

/* v1.0.19 single post inline gallery module */
.lbc-inline-gallery-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0.7rem;
}
.lbc-inline-gallery-thumb {
  position:relative;
  display:block;
  width:100%;
  padding:0;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:1rem;
  overflow:hidden;
  background:rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  cursor:pointer;
  transition:transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.lbc-inline-gallery-thumb:hover,
.lbc-inline-gallery-thumb:focus-visible {
  transform:translateY(-1px);
  border-color:rgba(255,255,255,0.22);
  box-shadow:0 14px 28px rgba(15,23,42,0.28), inset 0 1px 0 rgba(255,255,255,0.05);
}
.lbc-inline-gallery-thumb:focus-visible {
  outline:2px solid rgba(255,255,255,0.35);
  outline-offset:2px;
}
.lbc-inline-gallery-thumb img {
  display:block;
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
}
.lbc-inline-gallery-lightbox[hidden] {
  display:none !important;
}
.lbc-inline-gallery-lightbox {
  position:fixed;
  inset:0;
  z-index:1500;
  display:grid;
  place-items:center;
  padding:1.5rem;
}
.lbc-inline-gallery-lightbox-backdrop {
  position:absolute;
  inset:0;
  border:0;
  background:rgba(2,6,23,0.84);
  cursor:pointer;
}
.lbc-inline-gallery-lightbox-dialog {
  position:relative;
  z-index:1;
  width:min(1080px,100%);
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:0.85rem;
}
.lbc-inline-gallery-lightbox-figure {
  margin:0;
  display:grid;
  gap:0.9rem;
}
.lbc-inline-gallery-lightbox-frame {
  overflow:hidden;
  border-radius:1.35rem;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(15,23,42,0.78);
  box-shadow:0 28px 70px rgba(2,6,23,0.5);
}
.lbc-inline-gallery-lightbox-image {
  display:block;
  width:100%;
  max-height:min(78vh,920px);
  object-fit:contain;
}
.lbc-inline-gallery-lightbox-caption {
  color:rgba(226,232,240,0.92);
  text-align:center;
}
.lbc-inline-gallery-lightbox-title {
  font-size:calc(1.05rem * var(--lbc-heading-scale));
  font-weight:600;
}
.lbc-inline-gallery-lightbox-detail {
  margin-top:0.25rem;
  font-size:0.94rem;
  line-height:1.6;
  color:rgba(226,232,240,0.72);
}
.lbc-inline-gallery-lightbox-close,
.lbc-inline-gallery-lightbox-arrow {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2.9rem;
  height:2.9rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(15,23,42,0.72);
  color:#fff;
  box-shadow:0 14px 32px rgba(2,6,23,0.38);
  cursor:pointer;
  transition:transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lbc-inline-gallery-lightbox-close:hover,
.lbc-inline-gallery-lightbox-close:focus-visible,
.lbc-inline-gallery-lightbox-arrow:hover,
.lbc-inline-gallery-lightbox-arrow:focus-visible {
  transform:translateY(-1px);
  border-color:rgba(255,255,255,0.28);
  background:rgba(30,41,59,0.88);
}
.lbc-inline-gallery-lightbox-close:focus-visible,
.lbc-inline-gallery-lightbox-arrow:focus-visible {
  outline:2px solid rgba(255,255,255,0.35);
  outline-offset:2px;
}
.lbc-inline-gallery-lightbox-close {
  position:absolute;
  top:-0.4rem;
  right:-0.4rem;
  font-size:1.45rem;
}
.lbc-inline-gallery-lightbox-arrow {
  font-size:1.65rem;
}
@media (max-width: 720px) {
  .lbc-inline-gallery-lightbox {
    padding:0.9rem;
  }
  .lbc-inline-gallery-lightbox-dialog {
    grid-template-columns:1fr;
  }
  .lbc-inline-gallery-lightbox-arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
  }
  .lbc-inline-gallery-lightbox-arrow--prev {
    left:0.35rem;
  }
  .lbc-inline-gallery-lightbox-arrow--next {
    right:0.35rem;
  }
}


.has-text-align-justify {
  text-align: justify;
  text-justify: inter-word;
}


/* v1.0.6 top stage character scale controls */
.lbc-stage-molecule-visual {
  position: relative;
  transform: scale(var(--lbc-stage-character-scale, 1));
  transform-origin: center center;
  will-change: transform;
}
.lbc-stage-molecule-visual .lbc-stage-molecule-core,
.lbc-stage-molecule-visual .lbc-stage-orb {
  pointer-events: none;
}
