/**
 * Author Personal Blog Pro - Career Timeline Widget Stylesheet
 * Scoped under: .apb-widget-career-timeline
 */

.apb-widget-career-timeline {
  width: 100%;
  display: block;
  margin: 0;
  box-sizing: border-box;
}

.apb-journey-section {
  width: 100%;
  display: block;
  margin: 0;
  box-sizing: border-box;
  
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;

}

.apb-widget-career-timeline .apb-journey-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}

.apb-widget-career-timeline .apb-category-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--apb-radius-full, 9999px);
  font-size: var(--apb-font-size-xs, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--apb-color-accent-light, #fffaf0);
  color: var(--apb-color-accent, #c05621);
  margin-bottom: var(--apb-space-2, 0.5rem);
}

.apb-widget-career-timeline .apb-journey-title {
  font-family: var(--apb-font-serif, Georgia, serif);
  font-size: var(--apb-font-size-h2, 2.25rem);
  color: var(--apb-color-heading, #1e293b);
  margin-bottom: var(--apb-space-2, 0.5rem);
}

.apb-widget-career-timeline .apb-journey-subtitle {
  font-size: var(--apb-font-size-base, 1rem);
  color: var(--apb-color-text-muted, #64748b);
  line-height: var(--apb-line-height-base, 1.6);
  margin: 0;
}

.apb-widget-career-timeline .apb-milestones-timeline {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  padding: var(--apb-space-2, 0.5rem) 0;
}

.apb-widget-career-timeline .apb-milestones-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--apb-color-primary, #0d5c63), var(--apb-color-accent, #c05621));
  border-radius: var(--apb-radius-full, 9999px);
}

.apb-widget-career-timeline .apb-milestone-entry {
  position: relative;
  margin-bottom: var(--apb-space-6, 2.5rem);
  padding-left: 68px;
}

.apb-widget-career-timeline .apb-milestone-entry:last-child {
  margin-bottom: 0;
}

.apb-widget-career-timeline .apb-milestone-dot {
  position: absolute;
  left: 28px;
  top: 18px;
  transform: translate(-50%, 0);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--apb-color-bg-card, #ffffff);
  border: 3px solid var(--apb-color-primary, #0d5c63);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(13, 92, 99, 0.15);
  z-index: 2;
}

.apb-widget-career-timeline .apb-milestone-dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--apb-color-primary, #0d5c63);
}

.apb-widget-career-timeline .apb-milestone-card {
  background-color: var(--apb-color-bg-card, #ffffff);
  border: 1px solid var(--apb-color-border, #e2e8f0);
  border-radius: var(--apb-radius-md, 10px);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--apb-shadow-sm, 0 2px 4px rgba(0, 0, 0, 0.05));
  transition: transform var(--apb-transition-smooth, 0.3s ease), border-color var(--apb-transition-smooth, 0.3s ease);
}

.apb-widget-career-timeline .apb-milestone-card:hover {
  transform: translateX(4px);
  border-color: var(--apb-color-primary, #0d5c63);
}

.apb-widget-career-timeline .apb-milestone-year {
  display: inline-block;
  font-size: var(--apb-font-size-xs, 0.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--apb-color-accent, #c05621);
  margin-bottom: 4px;
}

.apb-widget-career-timeline .apb-milestone-title {
  font-family: var(--apb-font-serif, Georgia, serif);
  font-size: var(--apb-font-size-lg, 1.25rem);
  color: var(--apb-color-heading, #1e293b);
  margin-bottom: var(--apb-space-2, 0.5rem);
  margin-top: 0;
}

.apb-widget-career-timeline .apb-milestone-desc {
  font-size: var(--apb-font-size-sm, 0.875rem);
  color: var(--apb-color-text, #475569);
  line-height: var(--apb-line-height-relaxed, 1.75);
  margin: 0;
}