/* --- Mythos timeline styles --- */

.mythos-section {
  padding: 80px 20px;
  background: rgba(15, 15, 15, 0.9);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #33ccff;
  transform: translateX(-50%);
}

.chapter-card {
  position: relative;
  width: 45%;
  padding: 20px 25px;
  margin: 40px 0;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid #33ccff;
  border-radius: 8px;
  color: #e6e6e6;
}

.chapter-card:nth-child(odd) {
  left: 0;
}

.chapter-card:nth-child(even) {
  left: 55%;
}

.chapter-card h3 {
  margin: 0 0 10px;
  color: #f2fcff;
  letter-spacing: 1px;
}

.chapter-card p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ─── MOBILE / portrait fixes ────────────────────────── */
@media (max-width:768px){

  /* move timeline line to left gutter */
  .timeline::before{
    left:18px;               /* a little breathing room from edge */
    transform:none;
  }

  /* give the whole timeline a left-hand padding so cards
     can simply fill 100 % width without touching the line */
  .timeline{
    padding-left:38px;       /* 18px line + 20px gap */
  }

  /* full-width cards, no side-to-side alternation */
  .chapter-card{
    width:90%;
    left:0 !important;       /* override odd/even offsets */
    margin:30px 0;
  }
}
