/* Lịch tháng /lich-am-thang-M-YYYY/ */
.lt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lt-title { font-family: var(--font-display, 'Alegreya', 'Alegreya Fallback', Georgia, serif); font-size: 26px; font-weight: 800; margin: 0; text-align: center; }
.lt-title span { font-weight: 600; font-size: 18px; color: var(--ink-mute, #5E5048); }
.lt-nav { flex: none; padding: 10px 14px; border: 1px solid var(--sm-line, #E7DCC8); border-radius: 8px; background: #fff; color: var(--sm-lacquer, #7A1B14); font-weight: 600; text-decoration: none; white-space: nowrap; }
.lt-nav:hover { background: #F6EFE2; }
.lt-jump { display: flex; gap: 8px; justify-content: center; margin: 0 0 14px; }
.lt-jump select { min-height: 42px; padding: 6px 10px; font: inherit; border: 1px solid #D8CBB3; border-radius: 8px; background: var(--paper-light, #FFFDF8); }
.lt-jump .lt-go { min-height: 42px; padding: 8px 20px; }
.lt-cal-wrap { overflow-x: auto; }
.lt-cal { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: #fff; border: 1px solid var(--sm-line, #E7DCC8); border-radius: 12px; overflow: hidden; }
.lt-cal th { padding: 10px 4px; font-size: 14px; font-weight: 700; color: var(--ink-soft); background: #FBF4E4; border-bottom: 1px solid var(--sm-line); }
.lt-cal th.sun { color: var(--vermilion, #B42318); }
.lt-cal td { height: 92px; padding: 0; vertical-align: top; border-right: 1px solid #F0E8DA; border-bottom: 1px solid #F0E8DA; position: relative; }
.lt-cal tr td:last-child { border-right: 0; }
.lt-cal tbody tr:last-child td { border-bottom: 0; }
.lt-cal td.empty { background: #FCFAF6; }
.lt-cal td a { display: flex; flex-direction: column; height: 100%; padding: 8px 9px; color: inherit; text-decoration: none; box-sizing: border-box; }
.lt-cal td a:hover { background: #FBF6EC; }
.lt-cal td a:focus-visible { outline: 2px solid var(--vermilion); outline-offset: -3px; }
.lt-cal .dd { font-family: var(--font-display, 'Alegreya', 'Alegreya Fallback', Georgia, serif); font-size: 22px; font-weight: 800; line-height: 1; }
.lt-cal td.sun .dd { color: var(--vermilion, #B42318); }
.lt-cal .da { font-size: 13px; color: var(--ink-mute); margin-top: 4px; }
.lt-cal .da.first { color: var(--vermilion, #B42318); font-weight: 700; }
.lt-cal .dc { font-weight: 400; color: var(--gold-text, #8A6514); white-space: nowrap; }
.lt-cal td.today .dc { color: #F0C873; }
.lt-cal .ev { margin-top: auto; font-size: 11.5px; line-height: 1.25; color: var(--sm-lacquer, #7A1B14); font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lt-cal .ev.tk { color: #2E7D4F; }
.lt-cal td::after { content: ""; position: absolute; top: 10px; right: 9px; width: 8px; height: 8px; border-radius: 50%; }
.lt-cal td.empty::after { display: none; }
.lt-cal td.d-g::after, .lt-legend .d-g { background: #1E6B50; }
.lt-cal td.d-n::after, .lt-legend .d-n { background: #CDBFA6; }
.lt-cal td.d-b::after, .lt-legend .d-b { background: #3B2A22; }
.lt-cal td.today a { background: var(--vermilion, #B42318); color: #fff; }
.lt-cal td.today .dd, .lt-cal td.today .da, .lt-cal td.today .ev { color: #fff; }
.lt-legend { font-size: 14px; color: var(--ink-mute); margin: 10px 0 0; }
.lt-legend .lg { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 6px 0 10px; vertical-align: 0; }
.lt-legend .lg:first-child { margin-left: 0; }
.lt-events { margin: 0; padding-left: 20px; line-height: 1.7; }
.lt-months { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-months a { padding: 8px 14px; border: 1px solid var(--sm-line, #E7DCC8); border-radius: 999px; background: #fff; color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.lt-months a:hover { border-color: var(--sm-lacquer); color: var(--sm-lacquer); }
.lt-months a[aria-current="page"] { background: var(--sm-lacquer, #7A1B14); border-color: var(--sm-lacquer); color: var(--sm-cream, #F6E7C1); }
@media (max-width: 640px) {
  .lt-bar { flex-wrap: wrap; justify-content: center; }
  .lt-title { order: -1; width: 100%; font-size: 22px; }
  .lt-cal td { height: 72px; }
  .lt-cal .ev { display: none; }
}
