/* MIROLUB TV 0.35 — LIVE DOM PREMIUM COMPONENTS.
 * Uses the REAL rendered selectors from LuckyWP Table of Contents and Mirolub Maps.
 * VISUAL ONLY: no removal/reordering of items; no changes to headings, content,
 * shortcode data, Leaflet maps, Schema, Yoast, Access or WordPress metadata.
 * Inherits ink/ivory/gold palette from premium-editorial.css v0.34.
 */

/* ------------ 1. The real LuckyWP Table of Contents ------------ */
body.single-post .mirolub-entry .lwptoc {
  --ml-live-ink:#152c3d;--ml-live-gold:#bd9253;--ml-live-border:#e5e4df;
  display:block;max-width:1020px!important;width:100%!important;
  margin:clamp(28px,4vw,52px) auto!important;
  padding:0!important;box-sizing:border-box;color:var(--ml-live-ink);
}
body.single-post .mirolub-entry .lwptoc .lwptoc_i {
  display:block;box-sizing:border-box;width:100%;max-width:none;
  padding:clamp(21px,3vw,34px)!important;
  border:1px solid var(--ml-live-border)!important;
  border-radius:26px!important;
  background:linear-gradient(155deg,#fffefa 0%,#fff 70%)!important;
  box-shadow:0 22px 56px rgba(17,38,49,.09)!important;
  overflow:visible!important;
}
body.single-post .mirolub-entry .lwptoc .lwptoc_header {
  display:flex!important;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:14px;margin:0 0 19px!important;padding:0 0 22px!important;
  border-bottom:1px solid #e8e5de!important;
}
body.single-post .mirolub-entry .lwptoc .lwptoc_title {
  display:inline-block;font:700 clamp(24px,2.6vw,34px)/1.12 Georgia,'Times New Roman',serif!important;
  letter-spacing:-.035em;color:#152c3d!important;
}
body.single-post .mirolub-entry .lwptoc .lwptoc_toggle_label {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;min-width:86px;box-sizing:border-box;
  padding:8px 14px!important;border:1px solid #e6dccb!important;
  border-radius:100px!important;background:#fbf5e9!important;
  color:#785a30!important;font:700 12px/1.3 system-ui,sans-serif!important;
  text-decoration:none!important;
}
body.single-post .mirolub-entry .lwptoc .lwptoc_items {width:100%;max-width:100%;}
/* Desktop: two balanced-looking editorial columns, every LuckyWP item preserved. */
@media(min-width:850px){
  body.single-post .mirolub-entry .lwptoc .lwptoc_items > .lwptoc_itemWrap {
    columns:2;column-gap:clamp(25px,3vw,46px);
    column-rule:1px solid #f0eee9;
  }
  body.single-post .mirolub-entry .lwptoc .lwptoc_items > .lwptoc_itemWrap > .lwptoc_item {
    break-inside:avoid;-webkit-column-break-inside:avoid;
  }
}
body.single-post .mirolub-entry .lwptoc .lwptoc_item,
body.single-post .mirolub-entry .lwptoc .lwptoc_itemWrap {
  background:none!important;border:0;box-shadow:none!important;
}
body.single-post .mirolub-entry .lwptoc .lwptoc_item {
  margin:0!important;padding:0!important;break-inside:avoid;
}
body.single-post .mirolub-entry .lwptoc .lwptoc_item > a {
  display:flex!important;gap:12px;align-items:flex-start;
  min-height:46px;box-sizing:border-box;
  margin:0!important;padding:10px 9px!important;
  border-radius:12px;border-bottom:1px solid #eff0ec;
  background:transparent!important;text-decoration:none!important;
  color:#1e3544!important;
  font:600 clamp(13px,1.1vw,14.5px)/1.48 system-ui,-apple-system,sans-serif!important;
  transition:background-color .18s,color .18s;
}
body.single-post .mirolub-entry .lwptoc .lwptoc_item > a:hover,
body.single-post .mirolub-entry .lwptoc .lwptoc_item > a:focus-visible {
  background:#f3f6f5!important;color:#0d5d76!important;text-decoration:none!important;
}
body.single-post .mirolub-entry .lwptoc .lwptoc_item > a:focus-visible {
  outline:2px solid #d4a45b!important;outline-offset:2px;
}
body.single-post .mirolub-entry .lwptoc .lwptoc_item_number {
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 35px;min-height:28px;max-width:60px;
  padding:3px 6px;margin:0;box-sizing:border-box;
  border-radius:8px;background:#f3ebdd!important;
  font:800 11px/1.15 system-ui,sans-serif!important;
  font-variant-numeric:tabular-nums;letter-spacing:.01em;
  color:#715127!important;
}
body.single-post .mirolub-entry .lwptoc .lwptoc_item_label {
  display:block;flex:1;min-width:0;overflow-wrap:break-word;color:inherit;
}
/* Preserve all nested H3 2.1 / 2.2 and their exact target anchors. */
body.single-post .mirolub-entry .lwptoc .lwptoc_itemWrap .lwptoc_itemWrap {
  margin:3px 0 11px 21px!important;padding-left:12px!important;
  border-left:2px solid #d9b982!important;
}
body.single-post .mirolub-entry .lwptoc .lwptoc_itemWrap .lwptoc_itemWrap .lwptoc_item > a {
  min-height:42px;padding:8px 8px!important;font-size:13px!important;
  font-weight:500!important;color:#586a75!important;
}
/* Plugin controls collapsed state; don't hide or exclude any TOC item. */

/* ------------ 2. Actual Mirolub Map plugin DOM / mim-* ------------ */
body.single-post .mirolub-entry .mim-shell {
  --mlmap-ink:#162e3e;--mlmap-gold:#bd9253;
  box-sizing:border-box;width:100%;max-width:1100px;
  margin:clamp(28px,4vw,54px) auto!important;
  overflow:hidden;border-radius:26px;
  background:#fffefa;border:1px solid #e5e3dc;
  box-shadow:0 24px 60px rgba(15,36,48,.12);
  color:var(--mlmap-ink);
}
body.single-post .mirolub-entry .mim-shell .mim-head {
  box-sizing:border-box;padding:clamp(22px,3.6vw,42px)!important;
  background:linear-gradient(120deg,#fffefa 0%,#f8f7f2 100%);
  border-bottom:1px solid #e9e5df;
}
body.single-post .mirolub-entry .mim-shell .mim-kicker {
  font:800 11px/1.6 system-ui,-apple-system,sans-serif!important;
  letter-spacing:.2em;text-transform:uppercase;color:#aa7d35!important;
  margin-bottom:9px;
}
body.single-post .mirolub-entry .mim-shell .mim-head h2 {
  border:0!important;padding:0!important;margin:0 0 9px!important;
  font:700 clamp(27px,3.2vw,43px)/1.1 Georgia,'Times New Roman',serif!important;
  letter-spacing:-.04em;color:#152c3d!important;text-wrap:balance;
}
body.single-post .mirolub-entry .mim-shell .mim-head h2 span {
  color:inherit!important;
}
body.single-post .mirolub-entry .mim-shell .mim-head p {
  margin:0!important;padding:0!important;
  font:500 clamp(13px,1.2vw,16px)/1.55 system-ui,-apple-system,sans-serif!important;
  color:#65737b!important;
}
body.single-post .mirolub-entry .mim-shell .mim-layout {
  max-width:100%;min-width:0;background:#f8f9f8;
}
/* Keep plugin's responsive layout/display logic, list accordions and Leaflet JS intact. */
body.single-post .mirolub-entry .mim-shell .mim-side {
  min-width:0;background:#fcfcfb;border-color:#eceae4;
}
body.single-post .mirolub-entry .mim-shell .mim-list {
  min-width:0;padding:clamp(8px,1vw,15px)!important;
}
body.single-post .mirolub-entry .mim-shell .mim-acc {
  margin:0 0 8px;border:1px solid #eceae3;border-radius:13px;
  overflow:hidden;background:#fff;
  box-shadow:0 3px 10px rgba(10,34,46,.025);
}
body.single-post .mirolub-entry .mim-shell .mim-acc-head {
  box-sizing:border-box;width:100%;min-height:47px;
  padding:12px!important;border:0!important;
  border-radius:10px;background:#fffefa!important;
  color:#263849!important;
  font:700 13px/1.4 system-ui,-apple-system,sans-serif!important;
  text-align:left;
}
body.single-post .mirolub-entry .mim-shell .mim-acc-head:hover,
body.single-post .mirolub-entry .mim-shell .mim-acc-head:focus-visible {
  background:#f7f2e9!important;color:#25495a!important;
}
body.single-post .mirolub-entry .mim-shell .mim-acc-head b {
  color:#b48a46!important;font-weight:800;
}
body.single-post .mirolub-entry .mim-shell .mim-acc-body {
  padding:2px 5px 7px;
}
body.single-post .mirolub-entry .mim-shell .mim-acc-body[hidden] {
  display:none!important; /* retain native/plugin-controlled collapsed state */
}
body.single-post .mirolub-entry .mim-shell .mim-place {
  box-sizing:border-box;min-height:42px;width:100%;
  padding:9px 8px!important;border:0!important;border-radius:8px;
  background:#fff!important;color:#334a56!important;
  font:500 12.5px/1.45 system-ui,-apple-system,sans-serif!important;
  text-align:left;
}
body.single-post .mirolub-entry .mim-shell .mim-place:hover,
body.single-post .mirolub-entry .mim-shell .mim-place:focus-visible {
  background:#f0f5f4!important;color:#0c576f!important;
}
body.single-post .mirolub-entry .mim-shell .mim-mobile-places {
  box-sizing:border-box;min-height:48px;border-radius:12px;
  padding:11px 17px;background:#193d51!important;
  color:#fff!important;font:750 14px/1.3 system-ui,sans-serif!important;
}
body.single-post .mirolub-entry .mim-shell .mim-map-wrap {
  min-width:0;max-width:100%;background:#e7ecec;
}
/* Leaflet owns transforms, tile positions, drag/zoom and inline height. */
body.single-post .mirolub-entry .mim-shell .mim-map.leaflet-container {
  min-width:0;max-width:100%;background:#e7eeeb;
}
body.single-post .mirolub-entry .mim-shell .leaflet-control-zoom {
  overflow:hidden;border-radius:10px!important;
  border:1px solid #d9dedb!important;
  box-shadow:0 5px 20px rgba(9,29,44,.16);
}
body.single-post .mirolub-entry .mim-shell .leaflet-control-zoom a {
  display:flex;align-items:center;justify-content:center;
  box-sizing:border-box;min-width:34px;min-height:34px;
  background:#fffefa!important;color:#213e51!important;
  text-decoration:none!important;
}
body.single-post .mirolub-entry .mim-shell .leaflet-control-attribution {
  font-size:10px!important;line-height:1.3!important;
}
body.single-post .mirolub-entry .mim-shell button:focus-visible,
body.single-post .mirolub-entry .mim-shell a:focus-visible {
  outline:3px solid #d9aa63!important;outline-offset:2px;
}

/* ------------ 3. Responsive composition, without removing modules ------------ */
@media(max-width:849px){
  body.single-post .mirolub-entry .lwptoc .lwptoc_items > .lwptoc_itemWrap {
    columns:1;column-rule:none;
  }
  body.single-post .mirolub-entry .mim-shell {border-radius:19px;}
  body.single-post .mirolub-entry .mim-shell .mim-head {padding:22px!important;}
}
@media(max-width:559px){
  body.single-post .mirolub-entry .lwptoc .lwptoc_i {
    border-radius:17px!important;padding:17px!important;
  }
  body.single-post .mirolub-entry .lwptoc .lwptoc_header {
    gap:10px;margin-bottom:8px!important;padding-bottom:14px!important;
  }
  body.single-post .mirolub-entry .lwptoc .lwptoc_title {font-size:25px!important;}
  body.single-post .mirolub-entry .lwptoc .lwptoc_item > a {
    gap:9px;padding:10px 7px!important;font-size:13px!important;
  }
  body.single-post .mirolub-entry .lwptoc .lwptoc_item_number {
    flex-basis:30px;min-height:26px;
  }
  body.single-post .mirolub-entry .lwptoc .lwptoc_itemWrap .lwptoc_itemWrap {
    margin-left:11px!important;padding-left:9px!important;
  }
  body.single-post .mirolub-entry .mim-shell {
    border-radius:16px;box-shadow:0 11px 30px rgba(15,36,48,.08);
  }
  body.single-post .mirolub-entry .mim-shell .mim-head {padding:18px!important;}
  body.single-post .mirolub-entry .mim-shell .mim-head h2 {font-size:clamp(25px,7vw,33px)!important;}
  body.single-post .mirolub-entry .mim-shell .mim-list {padding:8px!important;}
  body.single-post .mirolub-entry .mim-shell .mim-mobile-places {
    margin:11px!important;min-height:48px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.single-post .mirolub-entry .lwptoc .lwptoc_item > a {transition:none!important;}
}
