/* 林宝记·凉卤坊 — brand theme from logo (cream + bronze) */
:root {
  --lbj-cream: #f9f4e1;
  --lbj-cream-deep: #efe6c9;
  --lbj-ink: #4b281b;
  --lbj-bronze: #8a5e48;
  --lbj-gold: #b48a66;
  --lbj-gold-bright: #c9a46a;
  --lbj-paper: #fffdf6;
  --lbj-line: rgba(75, 40, 27, 0.12);
  --lbj-muted: rgba(75, 40, 27, 0.68);
  --lbj-shadow: 0 18px 40px rgba(75, 40, 27, 0.08);
  --lbj-serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --lbj-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --lbj-max: 1120px;
  --lbj-mbar: 0px;
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(180, 138, 102, 0.18), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(138, 94, 72, 0.12), transparent 55%),
    var(--lbj-cream);
  color: var(--lbj-ink);
  font-family: var(--lbj-sans);
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--lbj-bronze); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--lbj-ink); }
button, input, textarea, select { font: inherit; }

.lbj-wrap {
  width: min(100% - 32px, var(--lbj-max));
  margin-inline: auto;
}

.lbj-skip {
  position: absolute;
  left: -999px;
  top: 0;
}

/* Header */
.lbj-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 244, 225, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lbj-line);
}

.lbj-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 0;
}

.lbj-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.lbj-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.lbj-logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lbj-logo__brand {
  font-family: var(--lbj-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.lbj-logo__sub {
  font-size: 0.72rem;
  color: var(--lbj-muted);
}

.lbj-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lbj-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--lbj-ink);
  font-size: 0.95rem;
  border-radius: 999px;
}

.lbj-nav a:hover,
.lbj-nav .is-active a {
  background: rgba(138, 94, 72, 0.12);
  color: var(--lbj-ink);
}

.lbj-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lbj-ink);
  color: var(--lbj-cream) !important;
  font-size: 0.9rem;
}

.lbj-header__cta:hover { opacity: 0.9; color: var(--lbj-cream) !important; }

.lbj-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--lbj-line);
  border-radius: 10px;
  background: var(--lbj-paper);
  color: var(--lbj-ink);
  cursor: pointer;
}

.lbj-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* Mobile drawer */
.lbj-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(75, 40, 27, 0.45);
}

.lbj-drawer.is-open { display: block; }

.lbj-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(84vw, 320px);
  height: 100%;
  background: var(--lbj-cream);
  padding: 24px 20px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(0);
}

.lbj-drawer__close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--lbj-ink);
}

.lbj-drawer nav {
  clear: both;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 24px;
}

.lbj-drawer a {
  padding: 12px 10px;
  border-bottom: 1px solid var(--lbj-line);
  color: var(--lbj-ink);
}

/* Hero / carousel */
.lbj-hero {
  position: relative;
  min-height: min(72vh, 620px);
  overflow: hidden;
  background: var(--lbj-ink);
}

.lbj-hero__track {
  display: flex;
  width: 100%;
  height: min(72vh, 620px);
  transition: transform .55s ease;
}

.lbj-hero__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  background: center / cover no-repeat;
}

.lbj-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(75,40,27,.72) 0%, rgba(75,40,27,.28) 48%, rgba(75,40,27,.12) 100%);
  pointer-events: none;
}

.lbj-hero__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 48px 0 56px;
}

.lbj-hero__inner { color: var(--lbj-cream); max-width: 640px; }

.lbj-hero__brand {
  font-family: var(--lbj-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  line-height: 1.15;
  animation: lbj-rise .8s ease both;
}

.lbj-hero__desc {
  margin: 0 0 22px;
  font-size: 1.05rem;
  opacity: 0.92;
  animation: lbj-rise .9s ease .1s both;
}

.lbj-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: lbj-rise 1s ease .18s both;
}

.lbj-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.lbj-hero__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(249,244,225,.45);
  cursor: pointer;
  padding: 0;
}

.lbj-hero__dots button.is-active { background: var(--lbj-cream); width: 22px; border-radius: 999px; }

@keyframes lbj-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.lbj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
}

.lbj-btn--solid {
  background: var(--lbj-gold-bright);
  color: var(--lbj-ink) !important;
  font-weight: 600;
}

.lbj-btn--ghost {
  background: transparent;
  border-color: rgba(249,244,225,.55);
  color: var(--lbj-cream) !important;
}

.lbj-btn--ink {
  background: var(--lbj-ink);
  color: var(--lbj-cream) !important;
}

.lbj-btn--line {
  background: transparent;
  border-color: var(--lbj-bronze);
  color: var(--lbj-ink) !important;
}

/* Sections */
.lbj-section {
  padding: 64px 0;
}

.lbj-section--alt {
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.55) 0%, rgba(239, 230, 201, 0.42) 100%);
}

.lbj-section--cta {
  padding-top: 0;
  padding-bottom: 64px;
  /* 接住上一块 --alt 的底色，避免卡片上下背景断层 */
  background: rgba(239, 230, 201, 0.42);
}

/* 首页末尾联系条：取消 main 额外底边距，避免再露出一层页面底色 */
main.lbj-main:has(> .lbj-section--cta:last-child) {
  padding-bottom: 0;
}

/* 品牌动态(--alt)紧挨联系条时，去掉两段背景接缝 */
.lbj-section--alt:has(+ .lbj-section--cta) {
  padding-bottom: 40px;
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.55) 0%, rgba(239, 230, 201, 0.42) 100%);
}

.lbj-section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 720px;
}

.lbj-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lbj-bronze);
}

.lbj-section__head h2 {
  margin: 0;
  font-family: var(--lbj-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.lbj-section__head p {
  margin: 0;
  color: var(--lbj-muted);
}

.lbj-about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px 40px;
  align-items: center;
}

.lbj-about-grid__media {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--lbj-shadow);
  background: var(--lbj-paper);
}

.lbj-about-grid__media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.lbj-about-grid__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.lbj-about-grid__copy h2 {
  margin: 0;
  font-family: var(--lbj-serif);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--lbj-ink);
}

.lbj-about-grid__lead {
  margin: 0;
  color: var(--lbj-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.lbj-about-grid__excerpt {
  margin: 2px 0 6px;
  color: var(--lbj-ink);
  font-size: 0.95rem;
  line-height: 1.75;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lbj-about-grid__copy .lbj-btn {
  margin-top: 6px;
}

@media (max-width: 991px) {
  .lbj-about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
  }
  .lbj-about-grid__media img {
    aspect-ratio: 1 / 1;
  }
  .lbj-about-grid__excerpt {
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 767px) {
  .lbj-about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lbj-about-grid__media { order: 1; }
  .lbj-about-grid__copy { order: 2; }
  .lbj-about-grid__media img {
    aspect-ratio: 16 / 10;
  }
}

.lbj-prose {
  color: var(--lbj-ink);
}

.lbj-prose p { margin: 0 0 1em; }
.lbj-prose h3 {
  font-family: var(--lbj-serif);
  margin: 1.4em 0 0.6em;
}
.lbj-prose ul { padding-left: 1.2em; }
.lbj-prose img { border-radius: 12px; }
.lbj-prose table {
  width: 100%;
  border-collapse: collapse;
}
.lbj-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Cards / grids */
.lbj-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lbj-card {
  display: block;
  background: var(--lbj-paper);
  border: 1px solid var(--lbj-line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  box-shadow: var(--lbj-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.lbj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(75, 40, 27, 0.12);
  border-color: rgba(138, 94, 72, 0.28);
  color: inherit;
}

.lbj-card:focus-visible {
  outline: 2px solid var(--lbj-bronze);
  outline-offset: 2px;
}

.lbj-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: var(--lbj-cream-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.lbj-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .45s ease;
}

@media (hover: hover) and (pointer: fine) {
  .lbj-card:hover .lbj-card__media img {
    transform: scale(1.04);
  }
}

.lbj-card__body { padding: 16px 18px 18px; }
.lbj-card__body h3 {
  margin: 0 0 6px;
  font-family: var(--lbj-serif);
  font-size: 1.15rem;
  transition: color .2s ease;
}
.lbj-card:hover .lbj-card__body h3 { color: var(--lbj-bronze); }
.lbj-card__body p {
  margin: 0;
  color: var(--lbj-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lbj-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--lbj-bronze);
  font-size: 0.88rem;
  font-weight: 500;
}
.lbj-card__more::after {
  content: "→";
  transition: transform .2s ease;
}
.lbj-card:hover .lbj-card__more::after { transform: translateX(4px); }

.lbj-gallery-board {
  background: var(--lbj-paper);
  border: 1px solid var(--lbj-line);
  border-radius: 18px;
  padding: 22px 22px 16px;
  box-shadow: var(--lbj-shadow);
}
.lbj-gallery-board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--lbj-line);
}
.lbj-gallery-board__title {
  margin: 4px 0 0;
  font-family: var(--lbj-serif);
  font-size: 1.45rem;
}
.lbj-gallery-board__tip {
  margin: 0;
  color: var(--lbj-muted);
  font-size: 0.88rem;
}
.lbj-gallery-board .lbj-pagebar {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--lbj-line);
}
.lbj-card-grid--gallery { gap: 18px; }

.lbj-news-board {
  background: var(--lbj-paper);
  border: 1px solid var(--lbj-line);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: var(--lbj-shadow);
}
.lbj-news-board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--lbj-line);
}
.lbj-news-board__title {
  margin: 4px 0 0;
  font-family: var(--lbj-serif);
  font-size: 1.45rem;
}
.lbj-news-board__tip {
  margin: 0;
  color: var(--lbj-muted);
  font-size: 0.88rem;
}
.lbj-news-board .lbj-news-item__meta { display: flex; }
.lbj-news-board .lbj-pagebar {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--lbj-line);
}
.lbj-news-list {
  display: grid;
  gap: 18px;
}

.lbj-news-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  background: var(--lbj-paper);
  border: 1px solid var(--lbj-line);
  border-radius: 16px;
  color: inherit;
  box-shadow: var(--lbj-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* 列表页：PC/iPad 左图右文 */
.lbj-news-list .lbj-news-item {
  grid-template-columns: 220px 1fr;
}

.lbj-news-item:hover {
  transform: translateY(-3px);
  border-color: rgba(138, 94, 72, 0.35);
  box-shadow: 0 22px 48px rgba(75, 40, 27, 0.12);
  color: inherit;
}

.lbj-news-item__media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 0;
  background: var(--lbj-cream-deep) center / cover no-repeat;
}

.lbj-news-list .lbj-news-item__media {
  aspect-ratio: auto;
  min-height: 150px;
}

.lbj-news-item__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
}

.lbj-news-item__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px 18px 18px;
  min-width: 0;
}

.lbj-news-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--lbj-bronze);
}

.lbj-news-item__meta time {
  font-family: var(--lbj-serif);
  letter-spacing: 0.02em;
}

.lbj-news-item h3 {
  margin: 0;
  font-family: var(--lbj-serif);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--lbj-ink);
}

.lbj-news-item p {
  margin: 0;
  color: var(--lbj-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lbj-news-item__more {
  margin-top: 4px;
  color: var(--lbj-bronze);
  font-size: 0.88rem;
  font-weight: 500;
}

.lbj-news-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lbj-news-home .lbj-news-item {
  grid-template-columns: 1fr;
}

.lbj-news-home .lbj-news-item__media {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.lbj-news-home .lbj-news-item__media img {
  position: static;
  height: 100%;
  object-fit: cover;
}

.lbj-news-home .lbj-news-item__body {
  padding: 16px 18px 20px;
}

.lbj-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 28px;
  row-gap: 14px;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid rgba(138, 94, 72, 0.22);
  background:
    linear-gradient(135deg, rgba(249, 244, 225, 0.55), transparent 55%),
    var(--lbj-paper);
  box-shadow: var(--lbj-shadow);
  color: var(--lbj-ink);
}

.lbj-cta-band__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.lbj-cta-band h2 {
  margin: 0;
  font-family: var(--lbj-serif);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  line-height: 1.3;
  color: var(--lbj-ink);
}

.lbj-cta-band__addr {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--lbj-muted);
}

.lbj-cta-band__tel {
  display: inline-block;
  margin: 0;
  font-family: var(--lbj-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lbj-bronze);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.lbj-cta-band__tel:hover {
  color: var(--lbj-ink);
}

.lbj-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: center;
  gap: 10px;
}

.lbj-cta-band__actions .lbj-btn {
  min-width: 7.2em;
  justify-content: center;
}

@media (max-width: 767px) {
  .lbj-cta-band {
    grid-template-columns: 1fr;
    padding: 18px 16px;
  }
  .lbj-cta-band__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .lbj-cta-band__actions .lbj-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Page head */
.lbj-pagehead {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 48px 0 36px;
  background: center / cover no-repeat var(--lbj-ink);
  color: var(--lbj-cream);
}

.lbj-pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(75,40,27,.35), rgba(75,40,27,.78));
}

.lbj-pagehead .lbj-wrap { position: relative; z-index: 1; }

.lbj-pagehead h1 {
  margin: 0 0 8px;
  font-family: var(--lbj-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.lbj-pagehead p {
  margin: 0;
  max-width: 640px;
  opacity: 0.92;
}

.lbj-breadcrumb {
  margin: 14px 0 0;
  font-size: 0.85rem;
  opacity: 0.8;
}
.lbj-breadcrumb a { color: inherit; }

/* Inner layout */
.lbj-main {
  padding: 36px 0 72px;
  padding-bottom: calc(72px + var(--lbj-mbar));
}

.lbj-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

.lbj-side {
  position: sticky;
  top: 96px;
  padding: 18px;
  background: var(--lbj-paper);
  border: 1px solid var(--lbj-line);
  border-radius: 16px;
}

.lbj-side__title {
  margin: 0 0 4px;
  font-family: var(--lbj-serif);
  font-size: 1.2rem;
}

.lbj-side__desc {
  margin: 0 0 14px;
  color: var(--lbj-muted);
  font-size: 0.88rem;
}

.lbj-side__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.lbj-side__nav a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--lbj-ink);
  background: transparent;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.lbj-side__nav a:hover {
  background: rgba(138, 94, 72, 0.08);
  border-color: rgba(138, 94, 72, 0.16);
}
.lbj-side__nav .is-active a {
  background: rgba(75, 40, 27, 0.92);
  border-color: rgba(75, 40, 27, 0.92);
  color: var(--lbj-cream);
  font-weight: 600;
}
.lbj-side__nav .is-active a:hover {
  background: rgba(75, 40, 27, 0.92);
  color: var(--lbj-cream);
}

.lbj-side__foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--lbj-line);
  font-size: 0.9rem;
  color: var(--lbj-muted);
}

.lbj-panel {
  background: var(--lbj-paper);
  border: 1px solid var(--lbj-line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--lbj-shadow);
}

.lbj-meta {
  color: var(--lbj-muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.lbj-detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.lbj-detail-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--lbj-line);
  background: rgba(138, 94, 72, 0.05);
  color: var(--lbj-ink);
}

.lbj-detail-nav span {
  display: block;
  font-size: 0.78rem;
  color: var(--lbj-muted);
  margin-bottom: 4px;
}

/* Forms */
.lbj-form { display: grid; gap: 14px; }
.lbj-form label { display: grid; gap: 6px; font-size: 0.92rem; }
.lbj-form input,
.lbj-form textarea {
  width: 100%;
  border: 1px solid var(--lbj-line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  color: var(--lbj-ink);
}

.lbj-form__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.lbj-form__captcha {
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--lbj-line);
  cursor: pointer;
}

.lbj-contact-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.lbj-contact-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(138, 94, 72, 0.06);
}

.lbj-contact-list strong {
  display: block;
  font-size: 0.8rem;
  color: var(--lbj-bronze);
  margin-bottom: 2px;
}

/* Pagination */
.lbj-pagebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--lbj-line);
}
.lbj-pagebar > span {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
  height: auto;
}
.lbj-pagebar .page-status {
  order: -1;
  flex: 1 1 auto;
  color: var(--lbj-muted);
  font-size: 0.88rem;
  white-space: nowrap;
}
.lbj-pagebar .page-index,
.lbj-pagebar .page-pre,
.lbj-pagebar .page-numbar,
.lbj-pagebar .page-next,
.lbj-pagebar .page-last { gap: 6px; }
.lbj-pagebar .page-index a,
.lbj-pagebar .page-pre a,
.lbj-pagebar .page-next a,
.lbj-pagebar .page-last a,
.lbj-pagebar .page-num {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--lbj-line);
  color: var(--lbj-ink);
  background: var(--lbj-paper);
  font-size: 0.9rem;
  line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lbj-pagebar .page-numbar { gap: 6px; padding: 0 2px; }
.lbj-pagebar .page-num:hover,
.lbj-pagebar .page-index a:hover,
.lbj-pagebar .page-pre a:hover,
.lbj-pagebar .page-next a:hover,
.lbj-pagebar .page-last a:hover {
  border-color: var(--lbj-bronze);
  background: rgba(138, 94, 72, 0.08);
}
.lbj-pagebar .page-num.page-num-current {
  background: var(--lbj-ink);
  color: var(--lbj-cream);
  border-color: var(--lbj-ink);
  font-weight: 600;
  pointer-events: none;
}
.lbj-pagebar a[href="javascript:;"],
.lbj-pagebar a[href="javascript:void(0)"] {
  opacity: 0.38;
  cursor: default;
  pointer-events: none;
}
/* Footer */
.lbj-footer {
  position: relative;
  margin-bottom: var(--lbj-mbar);
  background:
    linear-gradient(180deg, rgba(201, 164, 106, 0.12), transparent 36%),
    linear-gradient(135deg, #4a281c 0%, #3a1f16 52%, #2f1812 100%);
  color: rgba(249, 244, 225, 0.9);
  border-top: 2px solid var(--lbj-gold);
}

.lbj-footer a { color: var(--lbj-cream); }
.lbj-footer a:hover { color: var(--lbj-gold-bright); }

.lbj-footer__top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 0 16px;
}

.lbj-footer__brand {
  flex: 1 1 auto;
  min-width: 0;
}

.lbj-footer__title {
  margin: 0 0 12px;
  font-family: var(--lbj-serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff8ea;
  line-height: 1.25;
}

.lbj-footer__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
  max-width: 520px;
}

.lbj-footer__meta li {
  display: grid;
  grid-template-columns: 2.8em 1fr;
  gap: 8px;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(249, 244, 225, 0.86);
}

.lbj-footer__meta span {
  color: var(--lbj-gold);
  font-size: 0.75rem;
}

.lbj-footer__qr {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 10px 14px 10px 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(201, 164, 106, 0.28);
  border-radius: 12px;
}

.lbj-footer__qrbox {
  flex: none;
  padding: 5px;
  background: #fffdf6;
  border-radius: 8px;
}

.lbj-footer__qrbox img {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: cover;
}

.lbj-footer__qrtext {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 5.5em;
}

.lbj-footer__qrtext strong {
  font-family: var(--lbj-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff8ea;
}

.lbj-footer__qrtext span {
  font-size: 0.76rem;
  color: rgba(249, 244, 225, 0.62);
}

.lbj-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
  padding: 12px 0 16px;
  border-top: 1px solid rgba(201, 164, 106, 0.22);
}

.lbj-footer__nav a {
  position: relative;
  padding: 2px 14px;
  font-size: 0.86rem;
  color: rgba(249, 244, 225, 0.82);
}

.lbj-footer__nav a:first-child {
  padding-left: 0;
}

.lbj-footer__nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 11px;
  background: rgba(201, 164, 106, 0.35);
  transform: translateY(-50%);
}

.lbj-footer__bottom {
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(201, 164, 106, 0.16);
}

.lbj-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.76rem;
  color: rgba(249, 244, 225, 0.58);
}

.lbj-footer__bottom a {
  color: rgba(249, 244, 225, 0.68);
}

.lbj-footer__bottom a:hover {
  color: var(--lbj-gold-bright);
}

/* Mobile quick bar */
.lbj-mbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(58, 31, 22, 0.96);
  border-top: 1px solid rgba(249,244,225,.12);
}

.lbj-mbar a {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  color: var(--lbj-cream);
  font-size: 0.85rem;
}

/* Multi-device ladder */
@media (max-width: 1199px) {
  .lbj-shell { grid-template-columns: 200px 1fr; gap: 20px; }
  .lbj-card-grid { grid-template-columns: repeat(2, 1fr); }
  .lbj-news-home { grid-template-columns: repeat(2, 1fr); }
  .lbj-news-list .lbj-news-item { grid-template-columns: 180px 1fr; }
  .lbj-footer__top { padding: 18px 0 14px; }
  .lbj-footer__meta { grid-template-columns: 1fr; max-width: none; }
  .lbj-footer__qr {
    flex: 0 0 auto;
    padding: 8px 12px 8px 8px;
    gap: 10px;
  }
  .lbj-footer__qrbox img {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 991px) {
  .lbj-shell { grid-template-columns: 1fr; }
  .lbj-side { display: none; }
  .lbj-header__cta { display: none; }
  .lbj-nav { display: none; }
  .lbj-nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; }
  .lbj-hero { min-height: 54vh; }
  .lbj-hero__track { height: 54vh; }
}

@media (max-width: 767px) {
  .lbj-gallery-board,
  .lbj-news-board { padding: 16px 14px 12px; border-radius: 14px; }
  .lbj-pagebar { justify-content: center; }
  .lbj-pagebar .page-status { flex: 1 1 100%; text-align: center; }
  .lbj-pagebar .page-index a,
  .lbj-pagebar .page-last a { display: none; }
  .lbj-pagebar .page-pre a,
  .lbj-pagebar .page-next a,
  .lbj-pagebar .page-num { min-width: 36px; height: 36px; padding: 0 12px; }
  :root { --lbj-mbar: 56px; }
  .lbj-main { padding-bottom: calc(28px + var(--lbj-mbar)); }
  main.lbj-main:has(> .lbj-section--cta:last-child) {
    padding-bottom: var(--lbj-mbar);
  }
  .lbj-section--cta {
    padding-bottom: 48px;
    background: rgba(239, 230, 201, 0.42);
  }
  .lbj-section--alt:has(+ .lbj-section--cta) {
    padding-bottom: 32px;
  }
  .lbj-logo__sub { display: none; }
  .lbj-logo img { height: 44px; }
  .lbj-card-grid { grid-template-columns: 1fr; }
  .lbj-news-home { grid-template-columns: 1fr; }
  .lbj-news-list .lbj-news-item {
    grid-template-columns: 1fr;
  }
  .lbj-news-list .lbj-news-item__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .lbj-news-list .lbj-news-item__body {
    justify-content: flex-start;
  }
  .lbj-detail-nav { grid-template-columns: 1fr; }
  .lbj-footer__nav { padding: 10px 0 14px; gap: 6px 0; }
  .lbj-footer__nav a { padding: 2px 10px; font-size: 0.82rem; }
  .lbj-footer__bottom-inner { padding: 9px 0; }
  .lbj-mbar { display: flex; }
  .lbj-footer { display: none; }
  .lbj-hero__content { padding: 28px 0 48px; }
  .lbj-section { padding: 48px 0; }
  .lbj-form__row { grid-template-columns: 1fr 120px; }
}

@media (max-width: 480px) {
  .lbj-wrap { width: min(100% - 24px, var(--lbj-max)); }
  .lbj-panel { padding: 16px; }
  .lbj-pagehead { min-height: 180px; padding: 36px 0 28px; }
  .lbj-form__row { grid-template-columns: 1fr 100px; gap: 8px; }
  .lbj-form__captcha { height: 40px; object-fit: cover; }
}
