
.events-section {
    background:#114d37;
    color: #fff;
    padding: 50px 20px;
    font-family: 'Poppins', serif;
	min-height: calc(100vh - 160px); /* IMPORTANT */
}

/* CENTER BLOCK */
.events-container {
    max-width: 900px;
    margin: 0 auto;
}
.left-year-arrow,
.right-year-arrow {
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
    color: #7a0c23;
    padding: 5px 10px;
}

/* Center arrows vertically inside header */


/* Header */
.events-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 25px;
}

.header-divider {
    width: 2px;
    height: 40px;
    background: #fff;
    opacity: 0.7;
}

.year-box span {
    display: block;
    line-height: 28px;
    font-size: 34px;
    font-weight: 600;
}

.go-arrow {
    font-size: 35px;
    text-decoration: none;
    color: #fff;
}

/* Short lines like screenshot */
.line {
    height: 3px;
    width: 92%;
    margin: 22px auto;
    border-radius: 10px;
}

.line-purple { background: #c38fff; }
.line-blue   { background: #2cc5ff; }
.line-green  { background: #9cff67; }
.line-yellow { background: #e8ea44; }
.line-orange { background: #ffb347; }
.line-pink{background:#FF00FF;}
.line-grey{background:#d3d3d3;}
/* Event Row */
.event-box {
    display: flex;
    align-items: center;
    width: 92%;
    margin: 0 auto;
    gap: 20px;
}

/* Date */
.event-date {
    text-align: center;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    padding: 0 15px;
}

.event-date h3 {
    margin: 0;
    font-size: 38px;
}

.event-date p {
    margin: 0;
    font-size: 20px;
    opacity: .8;
}

/* Vertical line between date & title */
.title-divider {
    width: 2px;
    height: 45px;
    background: rgba(255,255,255,0.6);
}

/* Text */
.event-text {
    flex: 1;
    font-size: 19px;
}

/* Arrow */
.event-arrow {
    font-size: 22px;
    color: #fff;
    text-decoration: none;
}
.page-content {
    min-height: calc(100vh - 200px); /* adjust footer height */
}

/* Responsive */
@media (max-width: 768px) {

    .event-box {
        flex-direction: row;
        align-items: center;
        width: 100%;
        gap: 10px;
        flex-wrap: nowrap; /* prevent date & arrow from wrapping */
    }

    .event-date {
        flex-shrink: 0; /* prevent shrinking */
    }

    .event-text {
        font-size: 16px;
        flex: 1;
        white-space: normal; /* allow line break */
        word-wrap: break-word;
    }

    .event-arrow {
        font-size: 22px;
        flex-shrink: 0; /* prevent arrow from moving to next line */
    }

    .line {
        width: 100%;
    }
}


