/* lc-timeline 2026-11-09 (Jason t6855u QA): .lch Lake Timeline — year LEFT of line, then marker, then card.
   Also styles Research Milestones .has--jma--timeline. Intro duplication fixed in content (no .lch-intro). */

.lch{
  --n:#052E47;--n2:#0b4466;--l:#1f7a99;--t:#e8f3f8;--ln:#b9d9e8;--ink:#203a4c;--m:#5b7182;
  font-family:inherit;color:var(--ink);max-width:920px;margin:0 auto;
}

/* legend chips */
.lch-legend{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px}
.lch-legend span{background:var(--t);border:1px solid var(--ln);color:var(--n);border-radius:999px;padding:3px 12px;font-size:13px}

/* timeline rail */
.lch ol{list-style:none;margin:0;padding:0;position:relative}
.lch ol:before{
  content:"";position:absolute;left:7.15rem;top:.35rem;bottom:.5rem;width:2px;background:var(--ln);
}
.lch li{
  position:relative;
  padding:0 0 1.55rem 8.4rem; /* room for year column + rail */
  margin:0;
}
/* year column LEFT of the vertical line */
.lch-yr{
  position:absolute;left:0;top:.15rem;width:6.5rem;
  text-align:right;box-sizing:border-box;padding-right:.55rem;
  font-family:"Playfair Display",Georgia,serif;font-weight:700;font-size:1.05rem;line-height:1.25;
  color:var(--n);display:block;margin:0;
}
/* small marker on the rail (empty .lch-ic becomes the dot) */
.lch-ic{
  position:absolute;left:6.85rem;top:.4rem;
  width:12px;height:12px;border-radius:50%;
  background:var(--n);border:2px solid #fff;box-shadow:0 0 0 1px var(--ln);
  color:transparent;overflow:hidden;
  display:block;padding:0;margin:0;
}
.lch-ic svg{display:none} /* SVGs were stripped live; keep marker small */

/* card to the RIGHT of the line */
.lch-card{
  background:#fff;border:1px solid var(--ln);border-left:4px solid var(--l);
  border-radius:8px;padding:14px 18px 14px;box-shadow:0 2px 8px rgba(5,46,71,.06);
  position:static; /* so .lch-yr positions against li, not card */
}
.lch-cat{
  display:inline-block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--l);font-weight:700;vertical-align:middle;margin:0 0 .35rem;
}
.lch h3{margin:2px 0 6px;font-size:19px;color:var(--n2);font-family:inherit}
.lch p{margin:0 0 10px;line-height:1.6;font-size:16px}
.lch-links{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.lch-links a{background:var(--t);color:var(--n);border-radius:4px;padding:3px 10px;font-size:14px;text-decoration:none;border:1px solid var(--ln)}
.lch-links a:hover{background:var(--n);color:#fff}
.lch-src{font-size:13px;color:var(--m);margin:0}
.lch-src a{color:var(--l)}
.lch-foot{font-size:14px;color:var(--m);border-top:1px solid var(--ln);padding-top:14px;margin-top:10px}

/* mobile: year above card, line kept on left (JMA-like stack) */
@media (max-width:700px){
  .lch ol:before{left:10px}
  .lch li{padding:0 0 1.35rem 1.85rem}
  .lch-ic{left:5px;top:.55rem;width:12px;height:12px}
  .lch-yr{
    position:static;width:auto;text-align:left;padding:0;margin:0 0 .35rem;
    font-size:1.05rem;display:block;
  }
  /* year must appear above card: move it visually — with position static inside card it flows first in card, which is correct */
  .lch-card{padding:12px 14px}
}

/* Research Milestones: year LEFT of line (match JMA / LC Lake Timeline) */
body.section-history .tabs-block .has--jma--timeline > ul,
body.section-history-myths-legends .tabs-block .has--jma--timeline > ul{
  list-style:none;margin:0;padding:0 0 0 0;position:relative;
}
body.section-history .tabs-block .has--jma--timeline > ul > li,
body.section-history-myths-legends .tabs-block .has--jma--timeline > ul > li{
  position:relative;padding:0 0 1.4rem 8.4rem;margin:0;border:0;
}
body.section-history .tabs-block .has--jma--timeline > ul > li:before,
body.section-history-myths-legends .tabs-block .has--jma--timeline > ul > li:before{
  content:"";position:absolute;left:6.85rem;top:.45rem;width:12px;height:12px;border-radius:50%;
  background:#052E47;box-shadow:0 0 0 3px #fff;border:0;
}
body.section-history .tabs-block .has--jma--timeline > ul:before,
body.section-history-myths-legends .tabs-block .has--jma--timeline > ul:before{
  content:"";position:absolute;left:7.15rem;top:.35rem;bottom:.5rem;width:2px;background:#b9d9e8;
}
body.section-history .tabs-block .has--jma--timeline > ul > li > strong:first-child,
body.section-history-myths-legends .tabs-block .has--jma--timeline > ul > li > strong:first-child{
  position:absolute;left:0;top:.1rem;width:6.5rem;text-align:right;padding-right:.55rem;
  color:#052E47;font-size:.95rem;line-height:1.25;font-weight:700;display:block;
}
@media (max-width:700px){
  body.section-history .tabs-block .has--jma--timeline > ul > li,
  body.section-history-myths-legends .tabs-block .has--jma--timeline > ul > li{padding-left:1.85rem}
  body.section-history .tabs-block .has--jma--timeline > ul:before,
  body.section-history-myths-legends .tabs-block .has--jma--timeline > ul:before{left:10px}
  body.section-history .tabs-block .has--jma--timeline > ul > li:before,
  body.section-history-myths-legends .tabs-block .has--jma--timeline > ul > li:before{left:5px}
  body.section-history .tabs-block .has--jma--timeline > ul > li > strong:first-child,
  body.section-history-myths-legends .tabs-block .has--jma--timeline > ul > li > strong:first-child{
    position:static;width:auto;text-align:left;padding:0;margin:0 0 .35rem;
  }
}

/* Related Items visible on LC (t6854u) */
:root body #view > .related-items,
:root body #view > .ui.container.related-items{display:block!important;margin:1.5rem auto;max-width:900px}
:root body #view > .related-items .header,
:root body #view > .ui.container.related-items .header{color:#052E47;font-size:1.15rem;margin-bottom:.6rem}

/* safety: never show stripped intro class if it returns */
.lch-intro{display:none!important}
