﻿.history-banner {padding:48px 0 40px;position:relative;overflow:hidden;color:#1f3d22;}
.timeline-grid {display:grid;grid-template-columns:repeat(5,1fr);row-gap:0;position:relative;padding:0 80px;margin-top:20px}
.timeline-grid:before{content:'';width:100%;height:2px;background:#2c4a2e;position:absolute;left:0;top:50%;}
.note-slot {height:112px;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:35px;position:relative;left:50%;margin-left:-15px}
.milestone:last-child .note-slot{width:calc(50% + 95px)}
.note-slot.bottom {justify-content:flex-start;padding-top:35px;padding-bottom:0;}
.note {position:relative;padding-left:14px;font-size:13px;line-height:1.5;color:#2c4a2e;}
.note::before {content:"";position:absolute;top:5px;left:0;width:6px;height:6px;border-radius:50%;background:#2c4a2e;z-index:2}
.note:after{content:'';width:2px;height:calc(100% + 35px);border-left:2px dotted #7cb26a;left:2px;position:absolute;top:8px;}
.note-slot.bottom .note:after{top:auto;bottom:100%;margin-bottom:-8px}
.dot-row {position:relative;height:54px;display:flex;align-items:center;}
.timeline-line {position:absolute;top:50%;left:0;right:0;height:2px;background:#2c4a2e;z-index:1;}
.milestone:first-child .timeline-line {left:0%;}
.milestone:last-child  .timeline-line {right:0%;}
.dot {position:relative;z-index:2;width:66px;height:66px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:700;left:50%;margin-left:-27px}
.dot.dark {background:#1e4d2b;color:#fff;}
.dot.light {background:#7cb26a;color:#fff;}
@media (max-width:1024px) {.timeline-grid {grid-template-columns:repeat(3,1fr);gap:20px;padding:0}
.timeline-grid:before,.timeline-line {display:none;}
.milestone {display:flex;flex-direction:row-reverse;align-items:center;gap:16px;}
.milestone:nth-child(2n){flex-direction:row}
.note-slot,.note-slot.bottom {height:auto;padding:0;left:0;margin:0;flex:1;}
.note {padding:0;}
.note::before,.note:after{display:none;}
.note-slot:not(.bottom):last-child,.milestone:nth-child(2n) .note-slot:first-child{display:none}
.dot-row {height:auto;}
.dot{left:0;margin:0;}}
@media (max-width:768px) {.timeline-grid {grid-template-columns:repeat(2,1fr);}}
@media (max-width:550px) {.timeline-grid {grid-template-columns:repeat(1,1fr);}}