/*
 * LogicBit News — front-end styles.
 * Colours / fonts / radius come from CSS variables printed by inc/design.php
 * (template preset <- Customizer overrides). Layout variants switch with
 * data-* attributes on <body>. Mobile-first: phone, then 640 / 768 / 1024 / 1200.
 */

/* ------------------------------------------------------------------ reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--base);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-synthesis: none;
  overflow-x: hidden;
}
img,
video,
iframe {
  max-width: 100%;
  display: block;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-heading);
  color: var(--c-heading);
  font-weight: var(--hw);
  /* Devanagari needs room for matras above / below the headline */
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.003em;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.lb-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
.lb-ui {
  font-family: var(--f-ui);
}
.lb-icon {
  width: 1em;
  height: 1em;
  flex: none;
  display: inline-block;
  vertical-align: -0.125em;
}

/* Devanagari must never be letter-spaced (conjuncts / matras break apart) */
[data-locale='ne'] .lb-logo__tag,
[data-locale='ne'] .lb-nav__link,
[data-locale='ne'] .lb-stitle h2,
[data-locale='ne'] .lb-hero-fp__col-title,
[data-locale='ne'] .lb-dispatch__kicker,
[data-locale='ne'] .lb-fp-lead__kicker,
[data-locale='ne'] .lb-masthead__side strong,
[data-locale='ne'] .lb-breaking__label,
[data-locale='ne'] .lb-hero-sf__kick em {
  letter-spacing: normal !important;
}

/* ----------------------------------------------------------------- top bar */
.lb-topbar {
  background: var(--c-topbar-bg);
  color: var(--c-topbar-text);
  font-family: var(--f-ui);
  font-size: 13px;
}
.lb-topbar__in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
}
.lb-topbar__menu {
  display: none;
  gap: 16px;
}
.lb-topbar__menu a:hover {
  opacity: 0.75;
}
.lb-topbar__date {
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-topbar__date .en {
  display: none;
  opacity: 0.8;
}
.lb-topbar__social {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.lb-social a {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: background 0.2s;
}
.lb-social a:hover {
  background: rgb(255 255 255 / 0.15);
}
@media (min-width: 768px) {
  .lb-topbar__menu {
    display: flex;
  }
  .lb-topbar__date .en {
    display: inline;
  }
}

/* ------------------------------------------------------------------ header */
.lb-header {
  background: var(--c-header-bg);
  color: var(--c-header-text);
}
.lb-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}
.lb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.lb-logo img {
  max-height: 64px;
  width: auto;
}
.lb-logo__mark {
  width: 46px;
  height: 46px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--c-primary);
  color: var(--c-primary-contrast);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
  flex: none;
  box-shadow: 0 6px 16px -6px var(--c-primary);
}
.lb-logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lb-logo__name {
  font-family: var(--f-heading);
  font-weight: 800;
  font-size: clamp(22px, 5vw, 34px);
  line-height: 1.1;
  color: var(--c-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-logo__tag {
  font-size: 12px;
  color: var(--c-muted);
  font-family: var(--f-ui);
}
.lb-header__date {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--c-muted);
}
.lb-header__ad {
  display: none;
  flex: 1;
  max-width: 728px;
}
@media (min-width: 900px) {
  .lb-header__ad {
    display: block;
  }
}

/* centered (broadsheet masthead) */
[data-header='centered'] .lb-header__in {
  flex-direction: column;
  text-align: center;
  padding: 20px 16px 10px;
  gap: 6px;
}
[data-header='centered'] .lb-masthead {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  gap: 10px;
}
[data-header='centered'] .lb-masthead__side {
  display: none;
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--c-muted);
}
[data-header='centered'] .lb-masthead__side strong {
  display: block;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
[data-header='centered'] .lb-masthead__side--right {
  text-align: right;
}
[data-header='centered'] .lb-logo {
  justify-content: center;
}
[data-header='centered'] .lb-logo__mark {
  display: none;
}
[data-header='centered'] .lb-logo__name {
  font-size: clamp(30px, 8vw, 72px);
  color: var(--c-header-text);
  letter-spacing: -0.01em;
  white-space: normal;
}
[data-header='centered'] .lb-logo__text {
  align-items: center;
}
[data-header='centered'] .lb-logo__tag {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 11px;
  margin-top: 6px;
}
[data-header='centered'] .lb-header__ad {
  display: none;
}
@media (min-width: 900px) {
  [data-header='centered'] .lb-masthead {
    grid-template-columns: 1fr 2fr 1fr;
  }
  [data-header='centered'] .lb-masthead__side {
    display: block;
  }
}

/* split masthead (Himalayan) */
[data-header='split-masthead'] .lb-header__in {
  padding: 18px 16px;
  border-bottom: 1px solid var(--c-border);
}
[data-header='split-masthead'] .lb-logo__name {
  font-size: clamp(26px, 6vw, 52px);
  color: var(--c-header-text);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}
[data-header='split-masthead'] .lb-logo__mark {
  border-radius: 50%;
  width: 64px;
  height: 64px;
  background: var(--c-surface);
  color: var(--c-primary);
  border: 2px solid var(--c-border);
  box-shadow: none;
}
[data-header='split-masthead'] .lb-logo__tag {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  margin-top: 6px;
}
[data-header='split-masthead'] .lb-header__ad {
  max-width: 820px;
}

/* compact (magazine) */
[data-header='compact'] .lb-header__in {
  padding: 10px 16px;
}
[data-header='compact'] .lb-logo__name {
  font-size: clamp(22px, 4vw, 30px);
}
[data-header='compact'] .lb-header__ad {
  max-width: 560px;
}

/* --------------------------------------------------------------------- nav */
.lb-nav {
  background: var(--c-nav-bg);
  color: var(--c-nav-text);
  font-family: var(--f-ui);
  position: relative;
  z-index: 40;
}
.lb-nav.is-sticky {
  position: sticky;
  top: 0;
}
.lb-nav.is-stuck {
  box-shadow: 0 6px 18px -10px rgb(0 0 0 / 0.45);
}
.lb-nav__in {
  display: flex;
  align-items: stretch;
  min-height: 50px;
  gap: 4px;
}
.lb-nav__burger,
.lb-nav__search-btn {
  background: none;
  border: 0;
  color: inherit;
  width: 46px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.lb-nav__list {
  display: none;
  align-items: stretch;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.lb-nav__list::-webkit-scrollbar {
  display: none;
}
.lb-nav__mobile-brand {
  display: flex;
  align-items: center;
  flex: 1;
  font-weight: 700;
  font-size: 17px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-nav__item {
  position: relative;
  display: flex;
}
.lb-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  font-weight: 600;
  font-size: 15.5px;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
[data-uppercase-nav='true'] .lb-nav__link {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.lb-nav__link:hover,
.lb-nav__link.is-active {
  background: var(--c-nav-active-bg);
  color: var(--c-nav-active-text);
}
.lb-nav__link .live {
  font-size: 10px;
  background: #facc15;
  color: #111;
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 800;
}
.lb-nav__drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--c-surface);
  color: var(--c-text);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.35);
  padding: 6px 0;
  display: none;
}
.lb-nav__item:hover .lb-nav__drop,
.lb-nav__item:focus-within .lb-nav__drop {
  display: block;
}
.lb-nav__drop a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
}
.lb-nav__drop a:hover {
  background: var(--c-surface-alt);
  color: var(--c-primary);
}
.lb-nav__highlight {
  display: none;
  align-items: center;
  margin: 8px 0 8px 8px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.lb-nav__search {
  border-top: 1px solid rgb(255 255 255 / 0.15);
  padding: 10px 0;
}
.lb-nav__search form,
.lb-search-form {
  display: flex;
  gap: 8px;
}
.lb-nav__search input,
.lb-search-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  font: inherit;
  background: var(--c-surface);
  color: var(--c-text);
}
.lb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--c-primary);
  color: var(--c-primary-contrast);
  font-weight: 700;
  font-family: var(--f-ui);
}
.lb-btn--ghost {
  background: transparent;
  color: var(--c-primary);
  border: 1px solid currentColor;
}
@media (min-width: 1024px) {
  .lb-nav__burger,
  .lb-nav__mobile-brand {
    display: none;
  }
  .lb-nav__list {
    display: flex;
    overflow: visible;
  }
  .lb-nav__highlight {
    display: flex;
  }
}

/* nav variants */
[data-nav='light'] .lb-nav {
  border-bottom: 1px solid var(--c-border);
  border-top: 1px solid var(--c-border);
}
[data-nav='light'] .lb-nav__link.is-active,
[data-nav='light'] .lb-nav__link:hover {
  background: transparent;
  color: var(--c-primary);
  box-shadow: inset 0 -3px 0 var(--c-primary);
}
[data-nav='underline'] .lb-nav {
  border-top: 1px solid var(--c-heading);
  border-bottom: 3px double var(--c-heading);
}
[data-nav='underline'] .lb-nav__link:hover,
[data-nav='underline'] .lb-nav__link.is-active {
  background: transparent;
  color: var(--c-primary);
  box-shadow: inset 0 -2px 0 var(--c-primary);
}
@media (min-width: 1024px) {
  [data-nav='underline'] .lb-nav__list {
    justify-content: center;
  }
}
[data-nav='dark'] .lb-nav {
  background: #0f172a;
  color: #e2e8f0;
}
[data-nav='pill'] .lb-nav {
  border-bottom: 1px solid var(--c-border);
}
[data-nav='pill'] .lb-nav__in {
  padding: 6px 16px;
}
[data-nav='pill'] .lb-nav__link {
  border-radius: 999px;
  margin: 4px 2px;
  padding: 0 16px;
}

/* mobile drawer */
.lb-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  visibility: hidden;
}
.lb-drawer.is-open {
  visibility: visible;
}
.lb-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
  opacity: 0;
  transition: opacity 0.25s;
  border: 0;
}
.lb-drawer.is-open .lb-drawer__backdrop {
  opacity: 1;
}
.lb-drawer__panel {
  position: relative;
  width: min(86vw, 340px);
  height: 100%;
  background: var(--c-surface);
  color: var(--c-text);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 16px;
  font-family: var(--f-ui);
}
.lb-drawer.is-open .lb-drawer__panel {
  transform: none;
}
.lb-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.lb-drawer__close {
  background: var(--c-surface-alt);
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--c-text);
}
.lb-drawer__nav a {
  display: flex;
  justify-content: space-between;
  padding: 11px 6px;
  border-bottom: 1px solid var(--c-border);
  font-weight: 600;
}
.lb-drawer__nav .sub a {
  padding-left: 22px;
  font-weight: 500;
  font-size: 15px;
}

/* ---------------------------------------------------------------- tickers */
.lb-breaking {
  margin: 14px auto 0;
}
.lb-breaking__in {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--c-breaking-bg);
  color: var(--c-breaking-text);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 44px;
  font-family: var(--f-ui);
}
.lb-breaking__label {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgb(0 0 0 / 0.18);
  padding: 0 14px;
  align-self: stretch;
  font-weight: 800;
  font-size: 14px;
}
.lb-breaking__dot {
  width: 9px;
  height: 9px;
  background: #fde047;
  border-radius: 50%;
  animation: lb-pulse 1.4s infinite;
}
@keyframes lb-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}
.lb-breaking__track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.lb-breaking__marquee {
  display: inline-flex;
  gap: 40px;
  white-space: nowrap;
  animation: lb-marquee var(--marquee-dur, 40s) linear infinite;
  padding-right: 40px;
}
.lb-breaking__track:hover .lb-breaking__marquee {
  animation-play-state: paused;
}
.lb-breaking__marquee a {
  font-weight: 700;
  font-size: 16px;
}
.lb-breaking__marquee a::before {
  content: '◆';
  font-size: 9px;
  margin-right: 10px;
  vertical-align: 2px;
  opacity: 0.7;
}
@keyframes lb-marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lb-breaking__marquee {
    animation: none;
  }
}
.lb-breaking__more {
  flex: none;
  display: none;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  margin-right: 8px;
  border-radius: var(--radius);
  background: rgb(0 0 0 / 0.2);
}
@media (min-width: 768px) {
  .lb-breaking__more {
    display: block;
  }
}
[data-ticker='pill'] .lb-breaking__in {
  border-left: 5px solid #facc15;
}
[data-ticker='pill'] .lb-breaking__label {
  background: #fff;
  color: var(--c-breaking-bg);
  margin: 8px 0 8px 10px;
  border-radius: 999px;
  padding: 2px 12px;
  align-self: center;
}
[data-ticker='line'] .lb-breaking {
  margin-top: 0;
}
[data-ticker='line'] .lb-breaking__in {
  border-radius: 0;
  border-bottom: 1px solid var(--c-border);
}
[data-ticker='line'] .lb-breaking__label {
  background: #b91c1c;
  color: #fff;
  align-self: center;
  padding: 4px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lb-trending {
  margin: 12px auto 0;
}
.lb-trending__in {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-family: var(--f-ui);
  font-size: 14px;
  overflow: hidden;
}
.lb-trending__label {
  color: var(--c-primary);
  font-weight: 800;
  flex: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.lb-trending__tags {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.lb-trending__tags::-webkit-scrollbar {
  display: none;
}
.lb-trending__tags a {
  white-space: nowrap;
  background: var(--c-surface-alt);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 2px 10px;
}
.lb-trending__tags a:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.lb-trending__ticker {
  display: none;
  gap: 14px;
  flex: none;
  color: var(--c-primary);
  font-weight: 700;
  font-size: 13px;
}
.lb-trending__ticker span + span::before {
  content: '•';
  margin-right: 14px;
  color: var(--c-muted);
}
@media (min-width: 1100px) {
  .lb-trending__ticker {
    display: flex;
  }
}

/* ---------------------------------------------------------------- ads */
.lb-ad-zone {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.lb-ad-zone--row {
  margin: 16px auto;
}
.lb-ad {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-ad img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) / 2);
}
.lb-ad__label {
  font-family: var(--f-ui);
  font-size: 10px;
  color: var(--c-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 2px;
}
.lb-ad--DESKTOP {
  display: none;
}
@media (min-width: 768px) {
  .lb-ad--DESKTOP {
    display: flex;
  }
  .lb-ad--MOBILE {
    display: none;
  }
}
.lb-ad-zone--leader .lb-ad {
  max-width: 970px;
}
.lb-incontent-ad {
  margin: 24px 0;
  padding: 10px;
  background: var(--c-surface-alt);
  border-radius: var(--radius);
}

/* popup + sticky */
.lb-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(0 0 0 / 0.65);
  animation: lb-fade 0.25s;
}
@keyframes lb-fade {
  from {
    opacity: 0;
  }
}
.lb-popup__box {
  position: relative;
  max-width: min(600px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 8px;
}
.lb-popup__close,
.lb-sticky__close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.3);
}
.lb-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: var(--c-surface);
  box-shadow: 0 -6px 20px -8px rgb(0 0 0 / 0.35);
  padding: 6px;
}
.lb-sticky__in {
  position: relative;
  max-width: 740px;
  margin: 0 auto;
}
.lb-sticky__close {
  top: -22px;
  right: 0;
  width: 28px;
  height: 28px;
}

/* ------------------------------------------------------------ sections */
.lb-main {
  padding-bottom: 32px;
}
.lb-section {
  padding: 22px 0;
}
.lb-section--tinted {
  background: var(--section-bg);
  color: var(--section-text, inherit);
  margin: 12px 0;
  padding: 32px 0;
}
.lb-section--tinted h2,
.lb-section--tinted h3,
.lb-section--tinted .lb-card__title {
  color: var(--section-text, var(--c-heading));
}
.lb-section--tinted .lb-card {
  background: transparent;
  border-color: rgb(255 255 255 / 0.12);
  box-shadow: none;
}
.lb-section--tinted .lb-meta {
  color: inherit;
  opacity: 0.75;
}

/* section titles */
.lb-stitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--f-ui);
}
.lb-stitle h2 {
  font-size: clamp(19px, 2.6vw, 24px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-heading);
}
.lb-stitle__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
}
.lb-stitle__more:hover {
  text-decoration: underline;
}
[data-title='bar'] .lb-stitle {
  border-bottom: 2px solid var(--c-border);
  padding-bottom: 8px;
}
[data-title='bar'] .lb-stitle h2::before {
  content: '';
  width: 5px;
  height: 24px;
  background: var(--accent-cat, var(--c-primary));
  border-radius: 2px;
}
[data-title='underline'] .lb-stitle {
  border-bottom: 1px solid var(--c-border);
}
[data-title='underline'] .lb-stitle h2 {
  box-shadow: inset 0 -3px 0 var(--accent-cat, var(--c-primary));
  padding-bottom: 6px;
  margin-bottom: -1px;
}
[data-title='pill'] .lb-stitle h2 {
  background: var(--accent-cat, var(--c-primary));
  color: #fff;
  border-radius: 6px;
  padding: 3px 14px;
  font-size: 17px;
}
[data-title='pill'] .lb-stitle::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-border);
  order: 1;
}
[data-title='pill'] .lb-stitle__more {
  order: 2;
}
[data-title='rule'] .lb-stitle h2 {
  font-size: clamp(20px, 2.8vw, 26px);
}
[data-title='rule'] .lb-stitle {
  border-top: 3px solid var(--accent-cat, var(--c-primary));
  padding-top: 8px;
}
[data-title='block'] .lb-stitle h2 {
  font-size: clamp(20px, 3vw, 28px);
}
[data-title='block'] .lb-stitle h2::after {
  content: '';
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent-cat, var(--c-primary));
}
[data-title='serif-rule'] .lb-stitle {
  border-top: 2px solid var(--c-heading);
  border-bottom: 1px solid var(--c-border);
  padding: 8px 0;
}
[data-title='serif-rule'] .lb-stitle h2 {
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 15px;
  font-weight: 800;
}

/* ------------------------------------------------------------------ cards */
.lb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  min-width: 0;
}
[data-card='shadow'] .lb-card--boxed {
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08), 0 4px 14px -6px rgb(0 0 0 / 0.12);
  overflow: hidden;
}
[data-card='bordered'] .lb-card--boxed {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
[data-card='elevated'] .lb-card--boxed {
  border-radius: var(--radius);
  box-shadow: 0 10px 30px -12px rgb(15 23 42 / 0.25);
  overflow: hidden;
}
[data-card='flat'] .lb-card--boxed {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface-alt);
}
[data-card='minimal'] .lb-card {
  background: transparent;
}
[data-card='minimal'] .lb-card--boxed .lb-card__body {
  padding-left: 0;
  padding-right: 0;
}
.lb-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: var(--ratio);
  background: var(--c-surface-alt);
}
.lb-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.lb-card:hover .lb-card__media img {
  transform: scale(1.04);
}
[data-card='minimal'] .lb-card__media,
[data-card='bordered'] .lb-card--list .lb-card__media,
[data-card='shadow'] .lb-card--list .lb-card__media {
  border-radius: var(--radius);
}
.lb-noimg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--c-primary-contrast);
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  font-weight: 800;
  font-size: 32px;
  font-family: var(--f-heading);
  opacity: 0.9;
}
.lb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.lb-play span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.55);
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  backdrop-filter: blur(4px);
}
.lb-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.lb-card__title {
  font-size: 18.5px;
  line-height: 1.5;
  font-weight: var(--hw);
  color: var(--c-heading);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lb-card__title a:hover {
  color: var(--c-primary);
}
.lb-card__excerpt {
  font-family: var(--f-body);
  font-size: 15.5px;
  color: var(--c-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lb-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--badge-bg, var(--c-primary));
  color: var(--badge-text, #fff);
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 700;
  padding: 1px 9px;
  border-radius: calc(var(--radius) / 2 + 2px);
  line-height: 1.7;
}
.lb-card__media .lb-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.lb-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--c-muted);
}
.lb-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lb-meta .by {
  color: var(--c-heading);
  font-weight: 600;
}

/* list card (thumb left) */
.lb-card--list {
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  background: transparent;
}
.lb-card--list .lb-card__media {
  width: 112px;
  flex: none;
  aspect-ratio: 4/3;
}
.lb-card--list .lb-card__body {
  padding: 0;
  gap: 4px;
}
.lb-card--list .lb-card__title {
  font-size: 16px;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .lb-card--list .lb-card__media {
    width: 130px;
  }
}

/* horizontal (bigger thumb left, excerpt right) */
.lb-card--horizontal {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .lb-card--horizontal {
    grid-template-columns: 42% 1fr;
  }
  .lb-card--horizontal .lb-card__media {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

/* overlay card */
.lb-card--overlay {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  background: #000;
}
.lb-card--overlay .lb-card__media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
.lb-card--overlay .lb-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0) 25%, rgb(0 0 0 / 0.85) 100%);
}
.lb-card--overlay .lb-card__body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  color: #fff;
  padding: 16px;
  justify-content: flex-end;
}
.lb-card--overlay .lb-card__title {
  color: #fff;
  font-size: 18px;
}
.lb-card--overlay .lb-meta {
  color: rgb(255 255 255 / 0.85);
}
.lb-card--overlay .lb-meta .by {
  color: #fff;
}
.lb-card--overlay.is-big {
  min-height: 340px;
}
.lb-card--overlay.is-big .lb-card__title {
  font-size: clamp(21px, 3vw, 30px);
  -webkit-line-clamp: 4;
}
.lb-card--overlay.is-big .lb-badge {
  position: static;
}

/* headline only */
.lb-card--headline {
  background: transparent;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
}
.lb-card--headline:last-child {
  border-bottom: 0;
}
.lb-card--headline .lb-card__body {
  padding: 0;
}
.lb-card--headline .lb-card__title {
  font-size: 17px;
}

/* numbered */
.lb-numbered {
  counter-reset: lbn;
  display: grid;
  gap: 2px;
}
.lb-numbered .lb-card--numbered {
  counter-increment: lbn;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-border);
  background: transparent;
}
.lb-numbered .lb-card--numbered::before {
  content: counter(lbn);
  font-family: var(--f-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--c-primary);
  opacity: 0.35;
  line-height: 1;
  min-width: 30px;
}
.lb-numbered .lb-card__body {
  padding: 0;
}
.lb-numbered .lb-card__title {
  font-size: 16px;
}

/* ------------------------------------------------------------- grids */
.lb-grid {
  display: grid;
  gap: 18px;
}
.lb-grid--2,
.lb-grid--3,
.lb-grid--4 {
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .lb-grid--2,
  .lb-grid--3,
  .lb-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .lb-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .lb-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.lb-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lb-with-sidebar {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) {
  .lb-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
.lb-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
@media (min-width: 1024px) {
  .lb-sidebar--sticky {
    position: sticky;
    top: 70px;
    align-self: start;
  }
}
.lb-widget {
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 14px 16px;
  border: 1px solid var(--c-border);
}
.lb-widget > h3 {
  font-size: 17px;
  margin-bottom: 8px;
  font-family: var(--f-heading);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-primary);
}

/* block layouts */
.lb-blk-lead-list {
  display: grid;
  gap: 18px;
  align-items: start;
}
@media (min-width: 768px) {
  .lb-blk-lead-list {
    grid-template-columns: 1.3fr 1fr;
  }
}
.lb-blk-lead-list .lb-card--big .lb-card__title {
  font-size: clamp(20px, 2.6vw, 26px);
  -webkit-line-clamp: 4;
}
.lb-blk-grid2list {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .lb-blk-grid2list {
    grid-template-columns: 2fr 1fr;
  }
}
.lb-blk-grid2list__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 14px;
  border-left: 3px solid var(--accent-cat, var(--c-primary));
}
.lb-blk-big-overlay {
  display: grid;
  gap: 18px;
}
@media (min-width: 768px) {
  .lb-blk-big-overlay {
    grid-template-columns: 1.15fr 1fr;
  }
  .lb-blk-big-overlay .lb-card--overlay.is-big {
    min-height: 100%;
  }
}
.lb-blk-mosaic {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .lb-blk-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .lb-blk-mosaic {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
  }
  .lb-blk-mosaic > :first-child {
    grid-row: span 2;
  }
  .lb-blk-mosaic > :nth-child(4) {
    grid-column: span 2;
  }
  .lb-blk-mosaic .lb-card--overlay {
    min-height: 0;
  }
}
.lb-blk-leadtop {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .lb-blk-leadtop__lead .lb-card--horizontal {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }
  .lb-blk-leadtop__lead .lb-card--horizontal .lb-card__body {
    padding: 22px 26px;
  }
}
.lb-blk-leadtop__lead .lb-card__title {
  font-size: clamp(21px, 3vw, 30px);
}
.lb-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.lb-carousel > * {
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .lb-carousel {
    grid-auto-columns: 44%;
  }
}
@media (min-width: 1024px) {
  .lb-carousel {
    grid-auto-columns: calc((100% - 48px) / 4);
  }
}

/* --------------------------------------------------------------- heroes */
/* headline-stack (classic / meropati) */
.lb-hero-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.lb-hero-stack__item {
  background: var(--c-surface);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px -4px rgb(0 0 0 / 0.15);
  overflow: hidden;
}
.lb-hero-stack__title {
  text-align: center;
  padding: 20px 20px 6px;
  font-size: clamp(25px, 4.4vw, 42px);
  line-height: 1.38;
  color: var(--c-primary);
}
.lb-hero-stack__title a:hover {
  opacity: 0.85;
}
.lb-hero-stack__sub {
  text-align: center;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--c-muted);
  padding: 0 16px;
}
.lb-hero-stack__meta {
  justify-content: center;
  padding: 6px 16px 14px;
}
.lb-hero-stack__img {
  aspect-ratio: 16/8;
  background: var(--c-surface-alt);
  overflow: hidden;
}
.lb-hero-stack__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-hero-stack__ex {
  padding: 14px 18px 18px;
  color: var(--c-muted);
  text-align: center;
  font-size: 16px;
}

/* lead-sidebar (portal) */
.lb-hero-ls {
  display: grid;
  gap: 20px;
}
@media (min-width: 1024px) {
  .lb-hero-ls {
    grid-template-columns: minmax(0, 1fr) 380px;
  }
}
.lb-hero-ls__lead {
  align-self: start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lb-hero-ls__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.lb-hero-ls__chips .lb-meta {
  margin-left: auto;
}
.lb-hero-ls__title {
  font-size: clamp(25px, 3.8vw, 40px);
  line-height: 1.38;
}
.lb-hero-ls__img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--c-surface-alt);
}
.lb-hero-ls__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-hero-ls__ex {
  font-size: 17px;
  color: var(--c-text);
}
.lb-hero-ls__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--c-border);
  padding-top: 12px;
}
.lb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}
.lb-hero-ls__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lb-side-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lb-side-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lb-side-card h3 {
  font-size: 19px;
  line-height: 1.4;
}
.lb-side-card h3 a:hover {
  color: var(--c-primary);
}
.lb-side-card p {
  font-size: 14px;
  color: var(--c-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* front-page (broadsheet) */
.lb-hero-fp {
  display: grid;
  gap: 24px;
}
@media (min-width: 1024px) {
  .lb-hero-fp {
    grid-template-columns: 300px minmax(0, 1fr) 300px;
  }
  .lb-hero-fp > * + * {
    border-left: 1px solid var(--c-border);
    padding-left: 24px;
  }
}
.lb-hero-fp__col-title {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--c-heading);
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.lb-hero-fp__col-title span:last-child {
  color: var(--c-muted);
  font-weight: 500;
}
.lb-dispatch {
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
}
.lb-dispatch__kicker {
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-primary);
}
.lb-dispatch__kicker span {
  color: var(--c-muted);
  font-weight: 500;
}
.lb-dispatch h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 4px 0;
}
.lb-dispatch p {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.55;
}
.lb-fp-lead__kicker {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 800;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lb-fp-lead h2 {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.28;
  margin: 8px 0 10px;
  font-weight: 900;
}
.lb-fp-lead__by {
  font-family: var(--f-ui);
  font-size: 13px;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 10px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.lb-fp-lead__by b {
  text-transform: uppercase;
}
.lb-fp-lead__by .upd {
  color: var(--c-primary);
  font-weight: 700;
}
.lb-fp-lead figure {
  margin: 0;
}
.lb-fp-lead figure img {
  width: 100%;
  aspect-ratio: var(--ratio);
  object-fit: cover;
  filter: grayscale(0.15);
}
.lb-fp-lead figcaption {
  font-size: 13px;
  font-style: italic;
  color: var(--c-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--c-border);
}
.lb-fp-lead__body {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.75;
}
@media (min-width: 768px) {
  .lb-fp-lead__body {
    columns: 2;
    column-gap: 28px;
  }
}
.lb-fp-lead__body::first-letter {
  float: left;
  font-family: var(--f-heading);
  font-size: 60px;
  line-height: 0.9;
  padding: 4px 8px 0 0;
  color: var(--c-heading);
  font-weight: 900;
}
.lb-takeaway {
  background: var(--c-surface-alt);
  border-left: 3px solid var(--c-primary);
  padding: 8px 10px;
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

/* overlay-grid (magazine) */
.lb-hero-og {
  display: grid;
  gap: 14px;
}
@media (min-width: 768px) {
  .lb-hero-og {
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 230px 230px;
  }
  .lb-hero-og > :first-child {
    grid-row: span 2;
  }
  .lb-hero-og .lb-card--overlay {
    min-height: 0;
  }
}
.lb-hero-og > :first-child {
  min-height: 360px;
}

/* split-feature (himalayan) */
.lb-hero-sf {
  display: grid;
  gap: 22px;
}
@media (min-width: 1024px) {
  .lb-hero-sf {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}
.lb-hero-sf__lead {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px;
}
.lb-hero-sf__kick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.lb-hero-sf__kick .lb-badge {
  background: var(--c-primary);
}
.lb-hero-sf__kick em {
  font-style: normal;
  color: #b91c1c;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lb-hero-sf__lead h2 {
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.35;
  margin-bottom: 14px;
}
.lb-hero-sf__lead figure {
  margin: 0;
  border-radius: calc(var(--radius) / 2);
  overflow: hidden;
}
.lb-hero-sf__lead figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.lb-hero-sf__lead figcaption {
  font-family: var(--f-ui);
  font-size: 13px;
  padding: 8px 10px;
  background: var(--c-surface-alt);
}
.lb-hero-sf__ex {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.7;
}
.lb-hero-sf__more {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
@media (min-width: 640px) {
  .lb-hero-sf__more {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* live wire */
.lb-wire {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.lb-wire__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--c-primary);
  color: var(--c-primary-contrast);
  padding: 12px 16px;
  font-weight: 700;
  font-family: var(--f-ui);
}
.lb-wire__head small {
  background: #dc2626;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.lb-wire__item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lb-wire__top {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-ui);
  font-size: 12px;
}
.lb-wire__top b {
  color: #c2410c;
}
.lb-wire__top span {
  color: var(--c-muted);
}
.lb-wire__item a {
  font-family: var(--f-ui);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-heading);
}
.lb-wire__item a:hover {
  color: var(--c-primary);
}
.lb-wire__all {
  display: block;
  text-align: center;
  padding: 10px;
  font-family: var(--f-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-primary);
  background: var(--c-surface-alt);
}

/* opinion */
.lb-opinion {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .lb-opinion {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .lb-opinion {
    grid-template-columns: repeat(4, 1fr);
  }
}
.lb-opinion__card {
  background: var(--c-surface);
  border-radius: var(--radius);
  border-top: 4px solid var(--accent-cat, var(--c-primary));
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 10px -6px rgb(0 0 0 / 0.2);
}
.lb-opinion__who {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--f-ui);
  font-size: 14px;
}
.lb-opinion__who img,
.lb-opinion__who .lb-avatar {
  width: 56px;
  height: 56px;
  border: 3px solid var(--c-surface-alt);
}
.lb-opinion__who b {
  display: block;
  color: var(--c-heading);
}
.lb-opinion__who small {
  color: var(--c-muted);
}
.lb-opinion__card h3 {
  font-size: 18px;
  line-height: 1.45;
}
.lb-opinion__card h3::before {
  content: '“';
  color: var(--c-primary);
  font-size: 1.4em;
  line-height: 0;
  margin-right: 2px;
}

/* trending tags */
.lb-tags-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .lb-tags-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1024px) {
  .lb-tags-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
.lb-tag-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.lb-tag-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lb-tag-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgb(0 0 0 / 0.8));
}
.lb-tag-tile span {
  position: relative;
  z-index: 1;
  padding: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}
.lb-tag-tile span::before {
  content: '#';
  opacity: 0.7;
}

/* video section */
.lb-video {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .lb-video {
    grid-template-columns: 1.6fr 1fr;
  }
}
.lb-video__main .lb-card__media {
  border-radius: var(--radius);
}
.lb-video__main .lb-card__title {
  font-size: clamp(19px, 2.4vw, 24px);
}
.lb-video__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---------------------------------------------------------- page headers */
.lb-page-head {
  padding: 22px 0 6px;
}
.lb-page-head h1 {
  font-size: clamp(26px, 4vw, 38px);
  display: flex;
  align-items: center;
  gap: 12px;
}
.lb-page-head h1::before {
  content: '';
  width: 6px;
  height: 30px;
  border-radius: 3px;
  background: var(--accent-cat, var(--c-primary));
}
.lb-page-head p {
  color: var(--c-muted);
  margin-top: 6px;
}
.lb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.lb-chips a {
  font-family: var(--f-ui);
  font-size: 14px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  padding: 4px 12px;
  border-radius: 999px;
}
.lb-chips a:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.lb-breadcrumb {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--c-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
}
.lb-breadcrumb a:hover {
  color: var(--c-primary);
}
.lb-breadcrumb span::before {
  content: '›';
  margin-right: 6px;
}

/* list page */
.lb-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lb-list .lb-card--horizontal .lb-card__title {
  font-size: clamp(18px, 2.2vw, 22px);
}
.lb-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 28px 0 8px;
  font-family: var(--f-ui);
}
.lb-pagination a,
.lb-pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  font-weight: 600;
}
.lb-pagination .is-current {
  background: var(--c-primary);
  color: var(--c-primary-contrast);
  border-color: var(--c-primary);
}
.lb-pagination a:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.lb-empty {
  text-align: center;
  padding: 60px 16px;
  color: var(--c-muted);
}

/* ---------------------------------------------------------------- single */
.lb-article {
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 18px 16px 24px;
  min-width: 0;
}
@media (min-width: 768px) {
  .lb-article {
    padding: 26px 32px 32px;
  }
}
[data-single='centered'] .lb-article,
[data-single='wide-hero'] .lb-article {
  max-width: 860px;
  margin: 0 auto;
}
[data-card='minimal'] .lb-article {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}
.lb-article__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.lb-article__title {
  font-size: clamp(27px, 4.4vw, 42px);
  line-height: 1.38;
}
[data-single='centered'] .lb-article__title,
[data-single='centered'] .lb-article__sub {
  text-align: center;
}
[data-single='centered'] .lb-article__cats,
[data-single='centered'] .lb-article__meta {
  justify-content: center;
}
.lb-article__sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--c-muted);
  margin-top: 10px;
  line-height: 1.55;
}
.lb-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  font-family: var(--f-ui);
}
.lb-byline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lb-byline b {
  display: block;
  color: var(--c-heading);
  font-size: 15px;
}
.lb-byline small {
  color: var(--c-muted);
  font-size: 13px;
}
.lb-article__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 13px;
  color: var(--c-muted);
}
.lb-article__stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lb-share {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.lb-share__count {
  text-align: center;
  font-family: var(--f-ui);
  line-height: 1.1;
  padding-right: 6px;
  margin-right: 2px;
  border-right: 1px solid var(--c-border);
}
.lb-share__count b {
  display: block;
  font-size: 18px;
  color: var(--c-heading);
}
.lb-share__count small {
  font-size: 11px;
  color: var(--c-muted);
}
.lb-share a,
.lb-share button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 0;
  font-size: 16px;
}
.lb-share .fb {
  background: #1877f2;
}
.lb-share .x {
  background: #111;
}
.lb-share .wa {
  background: #25d366;
}
.lb-share .vb {
  background: #7360f2;
}
.lb-share .cp {
  background: var(--c-surface-alt);
  color: var(--c-heading);
  border: 1px solid var(--c-border);
}
.lb-article__figure {
  margin: 0 0 18px;
}
.lb-article__figure img {
  width: 100%;
  border-radius: var(--radius);
}
.lb-article__figure figcaption {
  font-size: 13px;
  color: var(--c-muted);
  padding-top: 6px;
  font-family: var(--f-ui);
}
.lb-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  margin-bottom: 18px;
}
.lb-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lb-content {
  font-family: var(--f-body);
  font-size: var(--article-size, 20px);
  line-height: 1.9;
  color: var(--c-heading);
  overflow-wrap: anywhere;
}
.lb-content :where(p, ul, ol, blockquote, figure, table, pre, h2, h3, h4) {
  margin-top: 0;
  margin-bottom: 1.05em;
}
.lb-content h2 {
  font-size: 1.3em;
  margin-top: 1.4em;
}
.lb-content h3 {
  font-size: 1.15em;
  margin-top: 1.3em;
}
.lb-content a {
  color: var(--c-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lb-content ul,
.lb-content ol {
  padding-left: 1.3em;
}
.lb-content ul {
  list-style: disc;
}
.lb-content ol {
  list-style: decimal;
}
.lb-content blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  border-left: 5px solid var(--c-primary);
  background: var(--c-surface-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05em;
  font-weight: 600;
  color: var(--c-heading);
}
.lb-content img {
  height: auto;
  border-radius: var(--radius);
}
.lb-content figure {
  margin: 1.2em 0;
}
.lb-content figcaption {
  font-size: 14px;
  color: var(--c-muted);
  padding-top: 4px;
}
.lb-content iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  border: 0;
}
.lb-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85em;
  display: block;
  overflow-x: auto;
}
.lb-content th,
.lb-content td {
  border: 1px solid var(--c-border);
  padding: 8px 10px;
}
.lb-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--f-ui);
}
.lb-article__tags a {
  font-size: 14px;
  background: var(--c-surface-alt);
  border-radius: 6px;
  padding: 3px 12px;
}
.lb-article__tags a::before {
  content: '#';
  color: var(--c-primary);
}
.lb-author-box {
  display: flex;
  gap: 16px;
  margin-top: 26px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--c-surface-alt);
  align-items: flex-start;
}
.lb-author-box .lb-avatar {
  width: 72px;
  height: 72px;
  font-size: 26px;
}
.lb-author-box h4 {
  font-size: 18px;
}
.lb-author-box p {
  font-size: 15px;
  color: var(--c-muted);
  margin-top: 4px;
}
.lb-prevnext {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .lb-prevnext {
    grid-template-columns: 1fr 1fr;
  }
}
.lb-prevnext a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
}
.lb-prevnext a:hover {
  border-color: var(--c-primary);
}
.lb-prevnext small {
  display: block;
  font-family: var(--f-ui);
  color: var(--c-primary);
  font-weight: 700;
  font-size: 12px;
}
.lb-prevnext b {
  font-family: var(--f-heading);
  color: var(--c-heading);
  font-size: 16px;
  line-height: 1.45;
}
.lb-prevnext .next {
  text-align: right;
}
.lb-wide-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  margin-bottom: 24px;
  background: #000;
}
.lb-wide-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.lb-wide-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgb(0 0 0 / 0.85));
}
.lb-wide-hero .lb-container {
  position: relative;
  z-index: 2;
  padding-bottom: 32px;
  max-width: 900px;
}
.lb-wide-hero h1 {
  color: #fff;
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1.32;
}
.lb-wide-hero .lb-article__sub {
  color: rgb(255 255 255 / 0.85);
}

/* ---------------------------------------------------------------- footer */
.lb-footer {
  background: var(--c-footer-bg);
  color: var(--c-footer-text);
  margin-top: 24px;
  font-size: 15px;
}
.lb-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.lb-footer__grid {
  display: grid;
  gap: 28px;
  padding: 40px 16px 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .lb-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .lb-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.lb-footer h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 12px;
  font-family: var(--f-heading);
}
.lb-footer__brand img {
  max-height: 60px;
  width: auto;
  margin-bottom: 12px;
}
.lb-footer__name {
  font-family: var(--f-heading);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.lb-footer__about {
  opacity: 0.85;
  line-height: 1.7;
  white-space: pre-line;
}
.lb-footer dl {
  margin: 0;
  display: grid;
  gap: 6px;
}
.lb-footer dt {
  font-size: 13px;
  opacity: 0.7;
}
.lb-footer dd {
  margin: 0 0 4px;
  font-weight: 600;
}
.lb-footer__links {
  display: grid;
  gap: 6px;
}
.lb-footer__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.lb-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 0.12);
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.85;
  font-family: var(--f-ui);
}
.lb-footer .lb-social {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.lb-footer .lb-social a {
  background: rgb(255 255 255 / 0.08);
  width: 36px;
  height: 36px;
}
[data-footer='centered'] .lb-footer__grid {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
[data-footer='centered'] .lb-footer__name {
  font-size: clamp(30px, 6vw, 52px);
}
[data-footer='centered'] .lb-footer__bottom {
  justify-content: center;
}
[data-footer='minimal'] .lb-footer__grid > :not(:first-child) {
  display: none;
}
[data-footer='minimal'] .lb-footer__grid {
  grid-template-columns: 1fr;
}
[data-footer='columns'] .lb-footer {
  border-top: 4px solid var(--c-primary);
}

/* ------------------------------------------------------------ misc */
.lb-to-top {
  position: fixed;
  right: 16px;
  bottom: 84px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--c-primary);
  color: var(--c-primary-contrast);
  box-shadow: 0 8px 20px -6px rgb(0 0 0 / 0.4);
  z-index: 60;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.lb-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.lb-team-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-top: 16px;
}
.lb-team-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.lb-team-card .lb-avatar {
  width: 96px;
  height: 96px;
  font-size: 32px;
}

/* ================================================================ WordPress */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus,
.skip-link:focus {
  background: var(--c-surface);
  clip: auto !important;
  clip-path: none;
  color: var(--c-primary);
  display: block;
  font-size: 15px;
  font-weight: 700;
  height: auto;
  left: 8px;
  top: 8px;
  padding: 12px 18px;
  width: auto;
  z-index: 100000;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px -6px rgb(0 0 0 / 0.35);
}
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
.admin-bar .lb-nav.is-sticky {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .lb-nav.is-sticky {
    top: 0;
  }
}
.lb-logo-wrap {
  margin: 0;
  font-size: inherit;
  line-height: 1;
  min-width: 0;
}
.lb-logo .lb-logo__img {
  max-height: 72px;
  width: auto;
  height: auto;
}
[data-header='centered'] .lb-logo-wrap {
  display: flex;
  justify-content: center;
}
.lb-nav__search-btn .i-close,
.lb-nav__search-btn.is-open .i-open {
  display: none;
}
.lb-nav__search-btn.is-open .i-close {
  display: inline;
}
.lb-nav__search[hidden] {
  display: none;
}
.lb-drawer .lb-search-form {
  margin-bottom: 12px;
}
.lb-drawer .lb-social {
  margin-top: 16px;
}
.lb-badge--hot {
  background: #dc2626;
  color: #fff;
}
.lb-meta--end {
  margin-left: auto;
}
.lb-grid--tight {
  gap: 0 24px;
}
.lb-hero-sf__by {
  margin-left: auto;
  color: var(--c-muted);
}
.lb-stack--lg {
  gap: 22px;
}
.lb-list-wrap {
  margin-top: 16px;
}
.lb-single-wrap {
  margin-top: 14px;
}
.lb-byline--lg {
  margin-bottom: 10px;
}
.lb-byline--lg .lb-avatar,
.lb-byline--lg img.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}
.lb-page-head__desc {
  color: var(--c-muted);
  max-width: 760px;
}
.lb-page-head__search {
  max-width: 560px;
  margin-top: 12px;
}
.lb-profile .lb-social {
  margin-top: 6px;
}

/* sidebar widgets (core widgets) */
.lb-widget + .lb-widget,
.lb-ad-zone + .lb-widget {
  margin-top: 0;
}
.lb-widget__title {
  font-size: 17px;
  margin-bottom: 8px;
  font-family: var(--f-heading);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-primary);
}
.lb-widget ul {
  display: flex;
  flex-direction: column;
}
.lb-widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
}
.lb-widget li:last-child {
  border-bottom: 0;
}
.lb-widget a:hover {
  color: var(--c-primary);
}
.lb-widget select,
.lb-widget input[type='text'],
.lb-widget input[type='email'] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-text);
  font: inherit;
}
.lb-footer__widgets {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-top: 28px;
}
.lb-footer__widgets .lb-widget {
  background: transparent;
  border-color: rgb(255 255 255 / 0.12);
  color: inherit;
}
.lb-footer__widgets .lb-widget__title {
  color: inherit;
}
.lb-footer__bottom-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}

/* pagination (paginate_links markup) */
.lb-pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  font-weight: 600;
}
.lb-pagination .page-numbers.current {
  background: var(--c-primary);
  color: var(--c-primary-contrast);
  border-color: var(--c-primary);
}
.lb-pagination .page-numbers.dots {
  border: 0;
  background: transparent;
}
.lb-loadmore {
  text-align: center;
  margin: 8px 0 4px;
}
.lb-loadmore.is-done .lb-btn {
  background: var(--c-surface-alt);
  color: var(--c-muted);
  cursor: default;
}
.lb-loadmore .lb-btn[disabled] {
  opacity: 0.7;
}
.lb-page-links {
  display: flex;
  gap: 8px;
  margin: 18px 0;
  font-family: var(--f-ui);
}

/* pages / 404 */
.lb-page {
  padding-bottom: 32px;
}
.lb-article--page,
.lb-page--full .lb-article {
  margin-top: 14px;
}
.lb-page--full .lb-article {
  max-width: none;
}
.lb-404__box {
  text-align: center;
  max-width: 640px;
  margin: 40px auto 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.lb-404__box .lb-search-form {
  width: 100%;
}
.lb-404__code {
  font-family: var(--f-heading);
  font-weight: 800;
  font-size: clamp(72px, 16vw, 140px);
  line-height: 1;
  color: var(--c-primary);
}

/* block editor content */
.lb-content > * {
  max-width: 100%;
}
.lb-content .alignleft {
  float: left;
  margin: 0.3em 1.2em 1em 0;
  max-width: 50%;
}
.lb-content .alignright {
  float: right;
  margin: 0.3em 0 1em 1.2em;
  max-width: 50%;
}
.lb-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.lb-content .alignwide,
.lb-content .alignfull {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
.lb-content::after {
  content: '';
  display: table;
  clear: both;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text,
.wp-element-caption {
  font-size: 14px;
  color: var(--c-muted);
  padding-top: 4px;
}
.lb-content .wp-block-image img {
  border-radius: var(--radius);
}
.lb-content .wp-block-pullquote {
  border-top: 4px solid var(--c-primary);
  border-bottom: 4px solid var(--c-primary);
  padding: 1em 0;
  text-align: center;
}
.lb-content .wp-block-button__link {
  background: var(--c-primary);
  color: var(--c-primary-contrast);
  text-decoration: none;
  border-radius: var(--radius);
}
.lb-content .wp-block-embed__wrapper iframe,
.lb-content .wp-block-embed iframe {
  aspect-ratio: auto;
}
.lb-content .wp-block-embed.is-type-video iframe {
  aspect-ratio: 16/9;
}
.lb-content .wp-block-gallery {
  gap: 8px;
}
.lb-content .wp-block-separator {
  border: 0;
  border-top: 1px solid var(--c-border);
  margin: 2em 0;
}
.lb-content pre,
.lb-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  background: var(--c-surface-alt);
  border-radius: 4px;
}
.lb-content pre {
  padding: 14px;
  overflow-x: auto;
}
.sticky,
.bypostauthor,
.gallery-caption {
  outline: 0;
}

/* comments */
.lb-comments {
  margin-top: 30px;
  font-family: var(--f-ui);
}
.lb-comments__title,
.comment-reply-title {
  font-size: 20px;
  margin-bottom: 14px;
}
.lb-comments__list,
.lb-comments__list .children {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lb-comments__list .children {
  padding-left: 22px;
  border-left: 2px solid var(--c-border);
}
.lb-comments .comment-body {
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
}
.lb-comments .comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.lb-comments .comment-author .avatar {
  border-radius: 50%;
}
.lb-comments .comment-metadata {
  font-size: 13px;
  color: var(--c-muted);
}
.comment-form {
  display: grid;
  gap: 12px;
}
.comment-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-text);
  font: inherit;
}
.comment-form .lb-btn,
.comment-form input[type='submit'] {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .lb-breaking__marquee {
    animation: none !important;
  }
}

/* block widgets in sidebars */
.lb-widget h2,
.lb-widget .wp-block-heading {
  font-size: 17px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-primary);
}
.lb-widget .wp-block-search__inside-wrapper {
  display: flex;
  gap: 6px;
}
.lb-widget .wp-block-search__input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font: inherit;
}
.lb-widget .wp-block-search__button {
  background: var(--c-primary);
  color: var(--c-primary-contrast);
  border: 0;
  border-radius: var(--radius);
  padding: 8px 14px;
  margin: 0;
}
.lb-widget .wp-block-latest-posts__list,
.lb-widget .wp-block-latest-comments {
  padding: 0;
  margin: 0;
}
.lb-widget .wp-block-latest-comments__comment {
  margin: 0;
  padding: 8px 0;
  line-height: 1.6;
}
.lb-widget .wp-block-latest-comments__comment-excerpt p {
  margin: 0;
}
.lb-widget .wp-block-latest-comments article,
.lb-widget .wp-block-latest-comments__comment-meta {
  margin: 0;
  padding: 0;
}
.lb-widget .has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt,
.lb-widget .has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta {
  margin-left: 0;
}

.lb-content blockquote > :last-child {
  margin-bottom: 0;
}

/* block styles */
.lb-content .is-style-lb-highlight {
  border-left: 0;
  border-top: 4px solid var(--c-primary);
  background: var(--c-surface-alt);
  border-radius: var(--radius);
  font-size: 1.15em;
  padding: 18px 22px;
}
.lb-content .is-style-lb-rounded img {
  border-radius: calc(var(--radius) + 10px);
}
.lb-content ul.is-style-lb-checklist {
  list-style: none;
  padding: 14px 18px;
  background: var(--c-surface-alt);
  border-radius: var(--radius);
}
.lb-content ul.is-style-lb-checklist li {
  position: relative;
  padding-left: 1.5em;
}
.lb-content ul.is-style-lb-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-weight: 800;
}

/* live update pattern */
.lb-content .lb-live-entry {
  border-left: 3px solid var(--c-primary);
  padding: 4px 0 4px 16px;
  margin-bottom: 1.4em;
}
.lb-content .lb-live-entry__time {
  color: var(--c-primary);
  font-family: var(--f-ui);
  font-size: 0.8em;
  margin-bottom: 0.3em;
}
