.mapWrapper {
    width: 60%;
    height: 65%;
    aspect-ratio: 2 / 1;  /* width : height */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 2%;
}
  
#travelMap {
    position: absolute;
    top: -67px;
    left: 0;
    width: 100%;
    height: calc(100% + 60px);
    border: none;
}
  
.mapDescription {
    width: 60%;
    margin: 1rem auto;         
    text-align: center;      
    line-height: 1.4;        
    font-family: "Markazi Text", serif;
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 50;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    color: white;
    padding: 2rem 0; /* increased vertical padding to lower text */
}

footer p {
    margin: 0;
    padding-top: 0.5rem; /* extra space above copyright text */
}


/* ─── VERTICAL ALTERNATING TIMELINE w/ CENTERED GLOW DOTS ────────────────── */

.timeline {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem 0;
}

/* ─── Two images side-by-side in the card ─────────────────── */

.timeline-content {
    /* turn into a flex container */
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    text-align: left !important;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    background: white;
    border: 1px solid black;
    border-radius: 4px;
    padding: 1rem;
    width: 45%;
    max-width: none;
    position: relative;
    z-index: 2;
}
  
.timeline-content img {
    /* each image takes half the available width minus the gap */
    flex: 1 1 calc(50% - 0.25rem);
    max-width: calc(50% - 0.25rem);
    object-fit: cover;
    height: auto;
    border-radius: 4px;
    /* remove the old block display & margin */
    margin: 0;
}
  
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: black;
    /* faint halo on the line */
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    z-index: 1;
}
  
.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
  
.timeline-item::after {
    content: "";
    display: table;
    clear: both;
}
  
.timeline-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* odd = left side, even = right side */
.timeline-item:nth-child(odd) .timeline-content {
    float: left;
    text-align: right;
    margin-right: 5%;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
    text-align: left;
    margin-left: 5%;
}
  
.timeline-marker {
    position: absolute;
    /* centre dot exactly on the centre-line */
    left: 50.25%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: black;
    border-radius: 50%;
    /* LED-style glow */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%);
    z-index: 2;
}
  
/* ───RESPONSIVE SINGLE-COLUMN TIMELINE ── */
@media (max-width: 800px) {
    /* 1) Move the spine over a bit more for extra gutter */
    .timeline::before {
      left: 30px !important;
    }
  
    /* 2) Keep each dot 30px in, and above the content */
    .timeline-marker {
      left: 31.15px !important;
      z-index: 10 !important;     /* bring it above the cards */
    }
  
    /* 3) Turn off floats, make cards full-width minus gutter, and indent them */
    .timeline-item .timeline-content {
      float: none !important;
      width: calc(100% - 60px) !important;   /* full width less 60px gutter */
      margin: 1rem 0 1rem 60px !important;   /* indent from the left spine */
      z-index: 1 !important;                 /* sit behind the dot */
    }
}

.timeline-content > h3,
.timeline-content > p {
  flex: 1 1 100%;
}