*{margin:0;padding:0;box-sizing:border-box;}

body{
  font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
  background:#fafafa;
  color:#333;
  padding:20px;
}

.container{
  max-width:900px;
  margin:auto;
}

.title{
  text-align:center;
  margin-bottom:14px;
}

.back{
  display:inline-block;
  margin-bottom:18px;
  text-decoration:none;
  color:#1976d2;
  font-weight:600;
}

.timeline{
  background:#fff;
  border-radius:20px;
  padding:24px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.year-separator{
  font-size:1.4rem;
  font-weight:700;
  margin:24px 0 14px;
  padding-bottom:8px;
  border-bottom:2px solid #eee;
}

.event{
  display:flex;
  gap:16px;
  align-items:center;
  padding:14px;
  border-radius:14px;
  margin-bottom:12px;
  border:1px solid #eee;
}

.event img.icon{
  width:56px;
  height:56px;
  object-fit:contain;
  flex-shrink:0;
}

.name{
  font-size:1.1rem;
  font-weight:700;
  color:#111;
  text-decoration:none;
}

.location{
  margin-top:4px;
  color:#666;
}

.dates{
  margin-top:4px;
  font-size:.95rem;
  color:#444;
}

.future{
  opacity:.9;
}

.past{
  opacity:.65;
}

.current{
  background:#e8f5e9;
  border:2px solid #43a047;
}

.now-line {
  margin: 20px 0; /* Increased margin for better spacing */
  border-top: 3px solid #43a047;
  position: relative;
  z-index: 1;
}

.now-line span {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%); /* Centers the label */
  background: #fafafa; /* Matches your body background */
  color: #2e7d32;
  padding: 0 12px;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media(max-width:768px){
  .event{
    align-items:flex-start;
  }

  .event img.icon{
    width:44px;
    height:44px;
  }

  .name{
    font-size:1rem;
  }
}