/* Ch289 Súue catalog — blush paper, wine drop cap, brass rules */
:root {
  --lm-bg: #f6ebe6;
  --lm-paper: #f3e4de;
  --lm-ink: #2a1618;
  --lm-muted: #6e534c;
  --lm-wine: #6e2438;
  --lm-wine-deep: #54182a;
  --lm-brass: #a68449;
  --lm-hair: #e4d3c8;
  --lm-font: "Leelawadee UI", Tahoma, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; box-shadow: none; }
html, body { margin: 0; padding: 0; overflow-x: hidden; background: var(--lm-bg); color: var(--lm-ink); font-family: var(--lm-font); line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lm-wine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--lm-wine-deep); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lm-brass); outline-offset: 3px; }
button, summary { background: transparent; border: 0; font: inherit; color: inherit; }

.lm-container { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 22px; }
.lm-skip { position: absolute; left: 12px; top: -48px; background: transparent; color: var(--lm-wine); padding: 0; z-index: 5; }
.lm-skip:focus { top: 10px; }

.lm-mast { background: transparent; border: 0; text-align: center; padding: 58px 0 6px; }
.lm-mast-inner { display: flex; flex-direction: column; align-items: center; }
.lm-brand { display: inline-block; text-decoration: none; line-height: 0; }
.lm-brand img, .lm-brand amp-img { height: 108px; width: auto; margin: 0 auto; object-fit: contain; }
.lm-mast h1 { font-family: var(--lm-font); font-weight: 700; font-size: clamp(1.8rem, 3.8vw, 2.75rem); line-height: 1.28; margin: 26px 0 22px; max-width: 16em; }
.lm-brass { width: 8.5rem; height: 1px; margin: 0 auto; background: var(--lm-brass); border: 0; }
.lm-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem 1.35rem; list-style: none; margin: 18px 0 8px; padding: 0; }
.lm-nav a { color: var(--lm-muted); font-weight: 400; font-size: 0.96rem; text-decoration: underline; background: transparent; padding: 0; }
.lm-nav a:hover, .lm-nav a[aria-current="page"] { color: var(--lm-wine); background: transparent; font-weight: 600; }

.lm-hero { padding: 18px 0 0; }
.lm-bc { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 8px 0 16px; font-size: 0.88rem; color: var(--lm-muted); }
.lm-bc a { color: var(--lm-wine); font-weight: 400; }
.lm-hero-card, .lm-article, .lm-summary, .lm-facts, .lm-toc, .lm-info-card, .lm-faq details, .lm-table-wrap { background: transparent; border: 0; box-shadow: none; }
.lm-hero-body { display: block; padding: 0; }
.lm-meta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 0.9rem; color: var(--lm-muted); margin: 0 0 8px; }
.lm-tag-pill, .lm-badge { display: inline; background: transparent; color: var(--lm-brass); font-weight: 600; padding: 0; border: 0; font-size: inherit; }

.lm-hero-fig, .lm-fig { margin: 18px 0 22px; background: var(--lm-paper); border: 0; }
.lm-hero-fig img, .lm-hero-fig amp-img, .lm-fig img, .lm-fig amp-img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; display: block; background: var(--lm-paper); }
.lm-hero-fig amp-img img, .lm-fig amp-img img { object-fit: contain; }
.lm-fig figcaption { padding: 8px 0 0; font-size: 0.88rem; color: var(--lm-muted); background: transparent; }

.lm-main-wrap { padding: 8px 0 48px; }
.lm-content-grid { display: block; }
.lm-summary { padding: 8px 0 22px; border-bottom: 1px solid var(--lm-brass); }
.lm-summary h2 { margin: 0 0 12px; font-size: 1.2rem; font-weight: 700; color: var(--lm-wine); text-align: center; }
.lm-lead p:first-of-type::first-letter { float: left; font-size: 4.7rem; line-height: 0.72; padding: 0.08em 0.1em 0 0; color: var(--lm-wine); font-weight: 700; }
.lm-lead p:first-of-type { font-size: 1.12rem; }
.lm-summary p, .lm-article p { margin: 0 0 14px; }

.lm-facts { padding: 26px 0 8px; border-bottom: 1px solid var(--lm-brass); }
.lm-facts h3, .lm-toc strong, .lm-related h2, .lm-article h2, .lm-footer h2 { font-family: var(--lm-font); font-weight: 700; }
.lm-facts h3 { margin: 0 0 8px; font-size: 1.05rem; text-align: center; }
.lm-facts dl { margin: 0; }
.lm-fact-row { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--lm-hair); padding: 9px 0; }
.lm-facts dt { color: var(--lm-muted); font-weight: 600; font-size: 0.88rem; }
.lm-facts dd { margin: 0; font-weight: 650; }

.lm-toc { padding: 22px 0; border-bottom: 1px solid var(--lm-brass); }
.lm-toc strong { display: block; margin-bottom: 8px; text-align: center; }
.lm-toc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.lm-toc a { color: var(--lm-muted); font-weight: 400; }

.lm-article { padding: 0; }
.lm-article > section { margin: 0; padding: 28px 0 6px; border-top: 1px solid var(--lm-brass); background: transparent; }
.lm-article h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.4; margin: 0 0 14px; text-align: center; }
.lm-article h3 { margin: 0 0 6px; font-size: 1.02rem; }
.lm-steps { margin: 12px 0 16px; padding-left: 1.2rem; }
.lm-steps li { margin: 0 0 8px; }

.lm-table-wrap { overflow-x: auto; margin: 16px 0; }
.lm-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; }
.lm-table caption { padding: 0 0 8px; font-weight: 700; text-align: left; background: transparent; }
.lm-table th, .lm-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--lm-hair); vertical-align: top; }
.lm-table thead th { color: var(--lm-wine); font-weight: 700; border-bottom: 1px solid var(--lm-brass); background: transparent; }

.lm-card-grid { display: block; margin-top: 4px; }
.lm-info-card { padding: 14px 0; border-top: 1px solid var(--lm-hair); }
.lm-info-card p { margin: 0; color: var(--lm-muted); }

.lm-faq details { padding: 12px 0; margin: 0; border-top: 1px solid var(--lm-hair); }
.lm-faq details:last-of-type { border-bottom: 1px solid var(--lm-hair); }
.lm-faq summary { cursor: pointer; font-weight: 700; }
.lm-faq p { margin: 8px 0 0; color: var(--lm-muted); }

.lm-related { margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--lm-brass); }
.lm-related h2 { font-size: 1.35rem; margin: 0 0 6px; text-align: center; }
.lm-catalog { display: flex; flex-direction: column; }
.lm-cat-row { display: flex; flex-direction: row; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid var(--lm-hair); background: transparent; }
.lm-cat-row:last-child { border-bottom: 1px solid var(--lm-hair); }
img.lm-cat-thumb { width: auto; max-width: 164px; height: 92px; max-height: 92px; object-fit: contain; flex: 0 0 auto; background: transparent; }
amp-img.lm-cat-thumb { max-height: 92px; flex: 0 0 auto; }
amp-img.lm-cat-thumb img { object-fit: contain; }
.lm-cat-row p { margin: 4px 0 0; color: var(--lm-muted); font-size: 0.96rem; }

.lm-footer { background: transparent; border-top: 1px solid var(--lm-brass); padding: 36px 0 24px; margin-top: 28px; }
.lm-footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--lm-hair); }
.lm-footer-logo { height: 64px; width: auto; margin-bottom: 12px; }
.lm-footer h2 { font-size: 1rem; margin: 0 0 10px; }
.lm-footer ul { list-style: none; margin: 0; padding: 0; }
.lm-footer li { margin: 0 0 7px; }
.lm-footer a { color: var(--lm-muted); font-size: 0.92rem; }
.lm-footer a:hover { color: var(--lm-wine); }
.lm-footer p { color: var(--lm-muted); font-size: 0.92rem; }
.lm-badges { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; }
.lm-copy { padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.86rem; color: var(--lm-muted); }

@media (max-width: 720px) {
  .lm-mast { padding-top: 36px; }
  .lm-brand img, .lm-brand amp-img { height: 84px; }
  .lm-fact-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .lm-footer-grid { grid-template-columns: minmax(0, 1fr); }
  img.lm-cat-thumb { max-width: 120px; height: 72px; max-height: 92px; }
}
