@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Open+Sans:wght@400;600;700&display=swap');

.tl-wrap {
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
}

/* ── Header ── */
.tl-header {
    text-align: center;
    padding: 3rem 1rem 1rem;
}
.tl-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a5c38;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.tl-line {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: #1a5c38;
}
.tl-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: #111;
    margin: 0 0 14px;
    line-height: 1.15;
}
.tl-subtitle {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 600px;
}

/* ── Timeline outer ── */
.tl-timeline-outer {
    position: relative;
    padding: 2rem 1rem 1rem;
    overflow-x: auto;
}

/* Horizontal track line */
.tl-timeline-track {
    position: absolute;
    top: 108px; /* aligns with center of dots */
    left: 5%;
    right: 5%;
    height: 3px;
    background: #1a5c38;
    z-index: 0;
}

/* Items row */
.tl-items {
    display: flex;
    gap: 0;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-width: 700px;
}

/* Single item */
.tl-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Year label */
.tl-year {
    font-size: 15px;
    font-weight: 700;
    color: #1a5c38;
    margin-bottom: 10px;
    text-align: center;
    white-space: nowrap;
}

/* Circle dot with icon */
.tl-dot {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #1a5c38;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #1a5c38;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}
.tl-dot img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.tl-dot span {
    font-size: 22px;
    line-height: 1;
}

/* Card */
.tl-card {
    background: #f5f9f6;
    border-radius: 14px;
    overflow: hidden;
    width: calc(100% - 20px);
    margin: 0 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
}
.tl-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
}
.tl-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tl-card-body {
    padding: 14px 14px 16px;
    text-align: center;
}
.tl-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a5c38;
    margin: 0 0 8px;
    line-height: 1.3;
}
.tl-card-text {
    font-size: 12.5px;
    color: #444;
    line-height: 1.6;
    margin: 0 0 10px;
}
.tl-read-more {
    font-size: 13px;
    font-weight: 700;
    color: #1a5c38;
    text-decoration: none;
    display: inline-block;
}
.tl-read-more:hover { text-decoration: underline; }

/* ── Stats Bar ── */
.tl-stats-bar {
    background: #1a5c38;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin-top: 2rem;
}
.tl-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    border-right: 1px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.tl-stat:last-of-type { border-right: none; }
.tl-stat-emoji { font-size: 26px; line-height: 1; }
.tl-stat-icon  { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.tl-stat-text  { display: flex; flex-direction: column; }
.tl-stat-text strong { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.1; }
.tl-stat-text span   { font-size: 11px; color: rgba(255,255,255,0.8); margin-top: 1px; white-space: nowrap; }

.tl-cta-btn {
    background: #fff;
    color: #1a5c38;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    margin: 14px 20px;
    white-space: nowrap;
    display: inline-block;
    transition: background 0.2s;
}
.tl-cta-btn:hover { background: #e8f5ee; }

/* Responsive */
@media (max-width: 768px) {
    .tl-stats-bar { flex-direction: column; }
    .tl-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); width: 100%; justify-content: center; }
}
