/* The plugin only offers round markers. */
.vb-timeline .bold_timeline_item_marker {
    border-radius: 0 !important;
}

.vb-timeline .bold_timeline_item_media_image {
    max-width: 75%;
}

.vb-timeline.bold_timeline_container_line_position_center .bold_timeline_item:nth-child(odd) .bold_timeline_item_media_images {
    justify-content: flex-end;
}

.vb-timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border: 1px solid #868686;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6F706F;
}

.vb-timeline-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #868686;
}

@media (hover: hover) {
    .vb-timeline .bold_timeline_item_marker {
        transition: background-color 0.3s ease;
    }

    .vb-timeline .bold_timeline_item:hover .bold_timeline_item_marker {
        background-color: #868686 !important;
    }

    .vb-timeline .bold_timeline_item_media_image img {
        transition: filter 0.5s ease;
    }

    .vb-timeline .bold_timeline_item:hover .bold_timeline_item_media_image img {
        filter: grayscale(100%);
    }

    .vb-timeline .bold_timeline_item_header_title a {
        transition: color 0.3s ease;
    }

    .vb-timeline .bold_timeline_item_header_title a:hover {
        color: #868686;
    }
}

/* Cases have no images: items on the left align their title and badge with the date and subtitle.
   The title link is a flex container, so text-align alone doesn't move it. */
@media (min-width: 769px) {
    .vb-timeline--cases.bold_timeline_container_line_position_center .bold_timeline_item:nth-child(odd) .bold_timeline_item_header_title,
    .vb-timeline--cases.bold_timeline_container_line_position_center .bold_timeline_item:nth-child(odd) .bold_timeline_item_content {
        text-align: right;
    }

    .vb-timeline--cases.bold_timeline_container_line_position_center .bold_timeline_item:nth-child(odd) .bold_timeline_item_header_title a {
        justify-content: flex-end;
    }
}

/* Same breakpoint as the plugin's single-column layout. */
@media (max-width: 768px) {
    .vb-timeline .bold_timeline_item_media_image {
        max-width: none;
    }
}
