/* ================================
   GANNET TIMELINE (GRID VERSION)
   ================================ */

.gannet-timeline-wrapper {
    max-width: 1200px;
    width: 100%;
  
}

.gannet-timeline {
    position: relative;
}

/* ================================
   CENTER LINE
   ================================ */

.timeline-line {
      
  
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 165, 0, 1) 10%, rgba(255, 165, 0, 1) 90%, rgba(255, 255, 255, 1) 100%);
   
      height: 100%;
    left: 50%;
     position: absolute;
    right: 50%;
     width: 4px;
}

/* ================================
   TIMELINE ITEM
   ================================ */

.timeline-item {
    margin: 80px 0;
}

/* ================================
   GRID LAYOUT (THE KEY FIX)
   ================================ */

.timeline-content-wrapper {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    justify-content: center;

  
}

.timeline-even .timeline-content-wrapper {
    flex-direction: row-reverse;
}

/* ================================
   CENTER MARKER
   ================================ */

.timeline-marker {
    align-items: center;
    display: flex;
    justify-content: center;
    left: 50%;
    margin: auto;
    position: absolute;
    right: 50%;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: #f5a623;
    border-radius: 50%;
}

/* ARROW */
.timeline-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* ================================
   BASE CONTENT STYLES
   ================================ */

   .timeline-img {
    max-width: 5em;
    width: 100%;
   }

.timeline-image img {
    /* max-width: 260px;
    width: 100%; */
    flex-basis: 50%;
    height: auto;
}

.timeline-content {
    /* font-size: 18px;
    line-height: 1.6; */
    flex-basis: 50%;
    max-width: 25em;
    width: 100%;
}

.timeline-date {
    color: #FFA500;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px !important;
}

.timeline-text {
    color: #333;
    font-size: clamp(1.25rem, 0.929rem + 0.857vw, 1.7rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0px !important;
}

/* ================================
   ODD ROWS (IMAGE LEFT, TEXT RIGHT)
   ================================ */
/* .timeline-item:nth-of-type(odd) .timeline-image,
.timeline-item.timeline-odd .timeline-image {

    text-align: right;

} */


.timeline-item.timeline-odd .timeline-content {
 
    text-align: left !important;

}


.timeline-item.timeline-odd .timeline-arrow

{
 
    border-width: 20px 0 20px 30px;
    border-color: transparent transparent transparent #FFA500;
    right: 0;
     transform: rotate(180deg) !important;
}



/* ================================
   EVEN ROWS (TEXT LEFT, IMAGE RIGHT)
   ================================ */


.timeline-item.timeline-even .timeline-content {
    text-align: right;
}

/* .timeline-item:nth-of-type(even) .timeline-image,
.timeline-item.timeline-even .timeline-image {
    text-align: left;
} */


.timeline-item.timeline-even .timeline-arrow 

{
    right: 100%;
    border-width: 20px 30px 20px 0;
    border-color: transparent #FFA500 transparent transparent;
    left: 0;
    transform: rotateY(180deg) !important;
}



/* ================================
   MOBILE
   ================================ */

@media (max-width: 768px) {

.timeline-line {
    left: 0;
    right: 0;
}


.timeline-content-wrapper {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    margin-left: 4rem;
}

.timeline-even .timeline-content-wrapper {
    flex-direction: column !important;
}



.timeline-image img {
    max-width: 14em;
    width: 100%;
}


.timeline-item.timeline-even .timeline-content {
    text-align: left;
}


.timeline-item.timeline-odd .timeline-arrow {
    transform: rotate(0) !important;
}


.timeline-item.timeline-odd .timeline-arrow {
    left: 0;
    right: 0;
}

.timeline-item.timeline-even .timeline-arrow {
    left: 0;
    right: 0;
}

.timeline-marker {
    left: 0;
    right: 0;
}

}
