/* Journey Card Styles */
.journey-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Journey Card for Single Posts */
.journey-card--single-post {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.journey-header {
    text-align: center;
    margin-bottom: 32px;
}

.journey-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 8px 0;
}

.journey-status {
    margin-bottom: 0;
}

.status-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.journey-progress {
    position: relative;
}

.progress-line {
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    z-index: 1;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.6s ease;
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
    z-index: 2;
}

.journey-step {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.step-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    padding: 16px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.step-link:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
}

/* Step status styles */
.journey-step.upcoming .step-icon {
    background: #f3f4f6;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
}

.journey-step.active .step-icon {
    background: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.journey-step.completed .step-icon {
    background: #10b981;
    color: #ffffff;
    border: 2px solid #10b981;
}

.step-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.step-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.3;
    flex-shrink: 0;
}

.journey-step.upcoming .step-title {
    color: #9ca3af;
}

.journey-step.active .step-title {
    color: var(--primary-color);
}

.journey-step.completed .step-title {
    color: #10b981;
}

.step-description {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 8px 0;
    line-height: 1.4;
    flex: 1;
    display: flex;
    align-items: center;
}

.step-cta {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: auto;
}

.journey-step.upcoming .step-cta {
    background: #f3f4f6;
    color: #9ca3af;
}

.journey-step.active .step-cta {
    background: var(--primary-color);
    color: #ffffff;
}

.journey-step.completed .step-cta {
    background: #10b981;
    color: #ffffff;
}

.step-cta.completed {
    background: #10b981;
    color: #ffffff;
}

/* Hover effects */
.journey-step:hover .step-icon {
    transform: scale(1.1);
}

.journey-step.upcoming:hover .step-icon {
    background: #e5e7eb;
    color: #6b7280;
}

.journey-step.active:hover .step-icon {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.journey-step.completed:hover .step-icon {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .journey-card {
        padding: 20px;
        margin: 32px 0;
    }
    
    .journey-header h3 {
        font-size: 1.25rem;
    }
    
    .journey-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .progress-line {
        left: 30px;
        right: auto;
        width: 3px;
        height: calc(100% - 60px);
        top: 60px;
    }
    
    .progress-fill {
        width: 3px;
        height: calc(100% - 60px);
    }
    
    .journey-step {
        display: flex;
        align-items: center;
        text-align: left;
    }
    
    .step-link {
        display: flex;
        align-items: center;
        padding: 12px;
        width: 100%;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        margin: 0 16px 0 0;
        flex-shrink: 0;
        font-size: 20px;
    }
    
    .step-content {
        text-align: left;
        flex: 1;
    }
    
    .step-title {
        font-size: 0.875rem;
        margin-bottom: 2px;
    }
    
    .step-description {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }
    
    .step-cta {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
}

@media (max-width: 480px) {
    .journey-card {
        padding: 16px;
        margin: 24px 0;
    }
    
    .journey-header h3 {
        font-size: 1.125rem;
    }
    
    .status-text {
        font-size: 0.8rem;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .step-title {
        font-size: 0.8rem;
    }
    
    .step-description {
        font-size: 0.7rem;
    }
}
