/* Wrapper for overflow control if needed */
.ptp-85621-timeline-wrapper {
	width: 100%;
	position: relative;
    padding: 20px 0; /* Space for hover shadow/transform */
}

/* Timeline Container */
.ptp-85621-timeline {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
    align-items: stretch;
}

/* Individual Item Container */
.ptp-85621-item {
	position: relative;
	flex: 1 1 300px; /* Responsive flex basis */
	display: flex;
	flex-direction: column;
    min-width: 280px;
}

/* Connector Line (Desktop - Horizontal) */
.ptp-85621-connector {
	position: absolute;
	top: 40px; /* Align roughly with header */
	right: -30px; /* Span gap */
	width: 30px;
	border-top: 2px solid #e2e8f0;
	z-index: 1;
    transition: border-color 0.3s ease;
}

/* Card Styling */
.ptp-85621-card {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	z-index: 2;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ptp-85621-card.has-hover-anim:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Header: Step Number & Icon */
.ptp-85621-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.ptp-85621-step-number {
	font-size: 14px;
	font-weight: 700;
	color: #3b82f6;
	background: #eff6ff;
	padding: 4px 12px;
	border-radius: 20px;
	display: inline-block;
}

.ptp-85621-icon {
	display: flex;
	align-items: center;
	justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.ptp-85621-icon i {
	font-size: 24px;
	color: #3b82f6;
}

.ptp-85621-icon svg {
	width: 24px;
	height: 24px;
	fill: #3b82f6;
}

/* Content Area */
.ptp-85621-card-content {
	flex-grow: 1;
}

.ptp-85621-title {
	font-size: 20px;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 12px 0;
}

.ptp-85621-description {
	font-size: 15px;
	line-height: 1.6;
	color: #64748b;
	margin: 0 0 20px 0;
}

/* Footer: Duration */
.ptp-85621-card-footer {
	margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.ptp-85621-duration {
	font-size: 13px;
	font-weight: 500;
	color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ptp-85621-duration::before {
    content: "⏱";
    font-size: 14px;
}

/* Scroll Reveal Animations */
.ptp-85621-timeline.has-scroll-reveal .ptp-85621-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--anim-delay, 0ms);
}

.ptp-85621-timeline.has-scroll-reveal .ptp-85621-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries for Layout (Approximating Tablet/Mobile) */
@media (max-width: 1024px) {
    /* Tablet layout: Stacked/Grid, lines flow differently */
    .ptp-85621-connector {
        display: none; /* Hide horizontal connectors on wrapping layout for simplicity */
    }
    
    /* Optional vertical line approach could be added via JS class `tablet-stacked` */
}

@media (max-width: 767px) {
    /* Mobile Layout */
    .ptp-85621-timeline {
        flex-direction: column;
        gap: 20px;
        position: relative;
    }
    
    /* Vertical line for mobile */
    .ptp-85621-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 20px; /* Align with icon center roughly */
        width: 2px;
        background: #e2e8f0;
        z-index: 0;
    }

    .ptp-85621-connector {
        display: none;
    }
    
    .ptp-85621-item {
        flex: 1 1 100%;
        padding-left: 40px; /* Space for line */
    }
    
    /* Make step number a circle on line for mobile maybe? Just keeping it simple for now */
    .ptp-85621-card {
        z-index: 2;
    }
}
