:root{--red:#7a0d24;--ink:#2e2e2e;--cream:#fff6e8;--gold:#d4a645;--laz-line:#e9dcc9}body{background:#fffbf5;color:var(--ink)}.site-width,.lv-wrap{max-width:1240px}.site-header{background:var(--red);color:white;border-bottom:3px solid var(--gold)}.laz-brand{display:inline-flex;align-items:center;gap:12px;font-size:30px;font-weight:800;letter-spacing:-.8px;line-height:1.1;color:#fff}.laz-brand img{flex:none}.laz-brand small{display:block;color:#ffe9bd;font-size:12px;font-weight:500;letter-spacing:0;margin-top:5px}.site-header .site-menu{border-color:#ffffff30;gap:8px 22px}.site-header .site-menu a{color:#fff}.site-header .site-menu a:hover{color:#ffe2a0}.site-menu li{position:relative}.site-menu .sub-menu{display:none;position:absolute;z-index:20;min-width:190px;background:#7a0d24;padding:12px;border-radius:8px;box-shadow:0 8px 20px #0002}.site-menu li:hover>.sub-menu,.site-menu li:focus-within>.sub-menu{display:grid}.site-search input{background:#fff;border-color:#fff}.site-search button,.lv-form button,.lvf-tool-ui .lvf-form button{background:var(--red);color:white}.site-search button{background:var(--gold);color:#34200d;font-weight:700}.lv-wrap{color:var(--ink)}.lv-wrap h1,.lv-wrap h2,.article h1{color:var(--red)}.lv-wrap h1{font-size:clamp(25px,3vw,36px);margin:12px 0}.laz-intro{color:#6e6259;margin:0 0 24px}.laz-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}.laz-today-panel,.laz-month-panel{background:#fff;border:1px solid var(--laz-line);border-radius:16px;overflow:hidden;box-shadow:0 5px 18px #7a0d2409;min-width:0}.laz-today-panel>h2,.laz-month-panel>h2{margin:0;padding:13px 20px;font-size:19px;color:white;background:var(--red);border-bottom:2px solid var(--gold)}.laz-today-panel .lv-day{border-radius:0;background:#fff6e8;color:var(--ink);padding:24px 12px}.laz-today-panel .lv-day strong{color:var(--red)}.laz-today-panel .lv-day>div+div{border-color:#d4a645}.laz-today-panel .lv-facts{margin:12px;gap:7px}.laz-today-panel .lv-facts>div{background:#fff6e8}.laz-today-panel .lv-nav{margin:12px;justify-content:space-between}.laz-month-panel .lv-month{border:0;border-radius:0}.lv-cell{background:#fff6e8;color:var(--ink)}.lv-cell.lv-current{background:var(--red);color:#fff}.lv-month-head a,.lv-nav a,.lv-almanac-card h2,.lv-almanac-card h3{color:var(--red)}.lv-day{background:var(--red)}.lv-almanac-card{border-color:var(--laz-line);box-shadow:0 3px 14px #7a0d2406}.laz-quick{margin:24px 0}.laz-quick-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.laz-quick-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;background:#fff;border:1px solid var(--laz-line);border-radius:12px;padding:14px 8px;font-size:14px;font-weight:650}.laz-quick-grid span{font-size:27px;color:var(--red)}.laz-quick-grid a:hover{background:var(--cream)}.laz-home .post-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.post-card{border-color:var(--laz-line);padding:12px}.post-card h2{font-size:18px}.site-footer.lvf-footer{background:var(--red);border-top:3px solid var(--gold)}.lvf-brand p,.lvf-bottom{color:#f9e9da}.lvf-column h2{color:#ffe3a5}.lvf-tool-ui .lvf-form{background:var(--cream)}.lvf-tool-ui .lvf-form button:hover{background:#59091a}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.site-header .custom-logo{max-height:68px;width:auto}@media(max-width:850px){.laz-hero{grid-template-columns:1fr}.laz-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.laz-home .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.laz-brand{font-size:26px}.laz-brand img{width:46px;height:46px}.site-header .brand-row{padding:12px 0;gap:12px}.site-search{width:100%}.site-search input{flex:1;width:auto;min-width:0}.site-header .site-menu{gap:8px 14px}.laz-hero{gap:14px}.laz-today-panel .lv-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.laz-today-panel .lv-facts>div:last-child{grid-column:1/-1}.laz-home .post-grid{grid-template-columns:1fr}.laz-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lv-hour span{white-space:normal}}

/* LichAZ | Sitewide content tables */
:root {
  --laz-table-line: #e4d6c5;
  --laz-table-stripe: #fffaf2;
  --laz-table-hover: #f8eedf;
}
main table, .article table {
  width: 100%;
  max-width: 100%;
  margin: 1.25em 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--laz-table-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  table-layout: auto;
}
main table caption, .article table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 9px;
  color: var(--red);
  font-weight: 650;
}
main table :is(th, td), .article table :is(th, td) {
  padding: 12px 15px;
  border: 0;
  border-inline-end: 1px solid var(--laz-table-line);
  border-bottom: 1px solid var(--laz-table-line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
main table tr > :last-child, .article table tr > :last-child { border-inline-end: 0; }
main table > :last-child > tr:last-child > *, .article table > :last-child > tr:last-child > * { border-bottom: 0; }
main table th, .article table th { font-weight: 700; }
main table thead th, main table tbody > tr:first-child > th:not([scope="row"]), .article table thead th {
  background: var(--red);
  color: #fff;
  border-color: #ffffff30;
}
main table thead a, main table tbody > tr:first-child > th:not([scope="row"]) a, .article table thead a { color: #fff; text-decoration: underline; }
main table th[scope="row"], .article table th[scope="row"] { background: #f8eedf; color: var(--red); }
main table tbody tr:nth-child(even) > td, .article table tbody tr:nth-child(even) > td { background: var(--laz-table-stripe); }
main table tfoot :is(th,td), .article table tfoot :is(th,td) { background: #f8eedf; font-weight: 650; }
main table :is(td,th) > :first-child, .article table :is(td,th) > :first-child { margin-top: 0; }
main table :is(td,th) > :last-child, .article table :is(td,th) > :last-child { margin-bottom: 0; }
main table thead:first-child tr:first-child > :first-child, main table tbody:first-child tr:first-child > :first-child, .article table thead:first-child tr:first-child > :first-child { border-start-start-radius: 9px; }
main table thead:first-child tr:first-child > :last-child, main table tbody:first-child tr:first-child > :last-child, .article table thead:first-child tr:first-child > :last-child { border-start-end-radius: 9px; }
main table > :last-child > tr:last-child > :first-child, .article table > :last-child > tr:last-child > :first-child { border-end-start-radius: 9px; }
main table > :last-child > tr:last-child > :last-child, .article table > :last-child > tr:last-child > :last-child { border-end-end-radius: 9px; }
@media (hover: hover) { main table tbody tr:hover > td, .article table tbody tr:hover > td { background: var(--laz-table-hover); } }
/* Existing utility and Gutenberg wrappers already handle horizontal scrolling. */
.lvf-tool-ui .lvf-scroll, .wp-block-table { max-width: 100%; overflow-x: auto; }
.lvf-tool-ui .lvf-table, .wp-block-table table { margin: 0; }
.lvf-tool-ui .lvf-table { border: 0; border-radius: 0; }
.lvf-tool-ui .lvf-table th { background: var(--red); color: #fff; border-color: #ffffff30; }
.lvf-tool-ui .lvf-table td { border-bottom: 1px solid var(--laz-table-line); border-inline-end: 1px solid var(--laz-table-line); }
.lvf-tool-ui .lvf-table td:last-child { border-inline-end: 0; }
@media (max-width: 600px) {
  main table, .article table { font-size: 14px; }
  main table :is(th,td), .article table :is(th,td) { padding: 9px 10px; }
  /* Classic Editor tables can scroll without forcing the entire page wider. */
  .article table { display: block; overflow-x: auto; }
  .article table :is(th,td) { min-width: 78px; }
  .article .wp-block-table table, .article .lvf-scroll table { display: table; overflow: visible; min-width: 100%; }
  .article .wp-block-table table :is(th,td), .article .lvf-scroll table :is(th,td) { min-width: 0; }
}
@media print {
  main table, .article table { display: table; overflow: visible; break-inside: auto; }
  main table tr, .article table tr { break-inside: avoid; }
  main table thead th, .article table thead th { background: #eee; color: #222; }
}
