.events-timeline-band {
    background: rgb(242, 244, 245);
    padding: 60px 0;
    color: #191d3d;
}

.events-timeline-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

/* ===== Header ===== */
.events-timeline-header {
    margin-bottom: 32px;
}

.events-timeline-subtitle {
    display: block;
    color: #ce190f;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}

.events-timeline-title {
    color: #191d3d !important;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.1;
    margin: 0;
}

.events-timeline-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    position: relative;
}

.events-timeline-divider .line {
    height: 2px;
    flex: 1 1 auto;
    max-width: 240px;
    background: linear-gradient(to right, transparent, #ce190f, transparent);
}

.events-timeline-divider .clock-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    margin: 0 4px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #ce190f;
    color: #191d3d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(25, 29, 61, 0.15);
}

/* ===== Timeline ===== */
.events-timeline {
    position: relative;
    margin: 10px 0;
}

/* Linha central */
.events-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(25, 29, 61, 0.18);
    transform: translateX(-50%);
    z-index: 1;
}

.events-timeline-row {
    position: relative;
    min-height: 76px;
    padding: 14px 0;
}

.events-timeline-fill {
    display: none;
}

/* Nó de data (badge central, sobre a linha) */
.events-timeline-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #ce190f;
    color: #191d3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(25, 29, 61, 0.18);
}

.events-timeline-badge .day {
    font-size: 1.35rem;
    font-weight: 800;
}

.events-timeline-badge .month {
    margin-top: 2px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ce190f;
}

.events-timeline-content {
    width: 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.events-timeline-content.left {
    margin-right: auto;
    text-align: right;
    align-items: flex-end;
    padding-right: 46px;
}

.events-timeline-content.right {
    margin-left: auto;
    text-align: left;
    align-items: flex-start;
    padding-left: 46px;
}

.events-timeline-event-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.events-timeline-event-title a {
    color: #191d3d !important;
    text-decoration: none;
}

.events-timeline-event-title a:hover {
    color: #ce190f !important;
}

.events-timeline-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ce190f;
    letter-spacing: 0.4px;
}

.events-timeline-meta .sep {
    margin: 0 4px;
    opacity: 0.5;
}

/* Palestrante (foto + nome) */
.events-timeline-speaker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5b5b6b;
}

.events-timeline-content.left .events-timeline-speaker {
    flex-direction: row-reverse;
}

.events-timeline-speaker-img {
    width: 72px;
    height: 72px;
    flex: 0 0 42px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(25, 29, 61, 0.18);
}

.events-timeline-cta {
    margin-top: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ce190f !important;
    text-decoration: none;
}

.events-timeline-cta .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.events-timeline-cta:hover {
    color: #a5140c !important;
    text-decoration: none;
}

.events-timeline-cta:hover .arrow {
    transform: translateX(3px);
}

.events-timeline-cta.is-closed {
    color: #9a9aa8 !important;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    cursor: default;
}

/* ===== Footer ===== */
.events-timeline-footer {
    margin-top: 36px;
}

.events-timeline-footer .bottom-line {
    display: block;
    height: 2px;
    width: 55%;
    margin: 0 auto 22px;
    background: #ce190f;
}

.events-timeline-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #191d3d !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.events-timeline-more .arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.events-timeline-more:hover {
    color: #ce190f !important;
    text-decoration: none;
}

.events-timeline-more:hover .arrow {
    transform: translateX(4px);
}

/* ===== Responsivo (mobile) ===== */
@media (max-width: 600px) {
    .events-timeline-band {
        padding: 44px 0;
    }

    .events-timeline-title {
        font-size: 1.9rem;
    }

    /* badge sobre a linha à esquerda; informações à direita */
    .events-timeline::before {
        left: 31px;
    }

    .events-timeline-badge {
        left: 31px;
    }

    .events-timeline-content.left,
    .events-timeline-content.right {
        width: 100%;
        margin: 0;
        text-align: left;
        align-items: flex-start;
        padding: 0 0 0 82px;
    }

    .events-timeline-content.left .events-timeline-speaker {
        flex-direction: row;
    }
}
