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

.timeline {
    position: relative;

    max-width: 850px;
    margin: 0 auto;

    padding-left: 45px;
}


.timeline::before {
    content: "";

    position: absolute;

    left: 13px;
    top: 0;
    bottom: 0;

    width: 2px;

    background:
        linear-gradient(
            var(--gold-dark),
            var(--gold),
            var(--gold-dark)
        );
}


/* Era heading */

.timelineEra {
    position: relative;

    margin: 45px 0 25px -45px;

    text-align: center;
}


.timelineEra:first-child {
    margin-top: 0;
}


.timelineEra span {
    display: inline-block;

    padding: 7px 18px;

    border: 1px solid var(--gold-dark);

    background: #101711;

    color: var(--gold-light);

    font-size: 0.72rem;
    font-weight: bold;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}


/* Individual events */

.timelineEvent {
    position: relative;

    margin-bottom: 28px;
}


.timelineMarker {
    position: absolute;

    left: -39px;
    top: 25px;

    width: 16px;
    height: 16px;

    border: 2px solid var(--gold);

    border-radius: 50%;

    background: #111812;

    box-shadow:
        0 0 0 5px rgba(201, 166, 91, 0.08),
        0 0 18px rgba(201, 166, 91, 0.25);
}


.timelineEventContent {
    padding: 22px 24px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background:
        linear-gradient(
            145deg,
            rgba(31, 42, 32, 0.96),
            rgba(13, 18, 14, 0.98)
        );

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.timelineEvent:hover .timelineEventContent {
    transform: translateX(5px);

    border-color:
        rgba(228, 201, 130, 0.6);
}


.timelineEventHeader {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 8px;
}


.timelineDate {
    color: var(--gold-light);

    font-size: 0.82rem;
    font-weight: bold;
}


.timelineType {
    padding: 2px 7px;

    border: 1px solid rgba(201, 166, 91, 0.35);
    border-radius: 999px;

    color: var(--gold);

    font-size: 0.58rem;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.timelineEvent h3 {
    margin-bottom: 9px;

    color: var(--cream);

    font-size: 1.35rem;
    font-weight: normal;
}


.timelineEvent p {
    margin-bottom: 15px;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.55;
}


.timelineEvent .secondaryButton {
    padding: 7px 12px;

    font-size: 0.72rem;
}


