/* Saved Template 38716: WoodMart owns the timeline axis, columns, dots and arrows. */
.sellaz-partnership-timeline {
  --st-primary: #1a9f49;
  --st-soft: #eaf9ee;
  --st-text: #12372a;
  --st-muted: #53665b;
  --st-border: #d8dfda;
  --st-border-strong: #a7c8b0;
  --st-card: #fff;
  --st-shadow: 0 8px 24px rgba(18, 55, 42, 0.07);
  --st-radius: 10px;
  --st-brand-label: "";
  font-family: inherit;
}

.sellaz-partnership-timeline .elementor-widget-wd_title {
  margin-bottom: 28px;
}

/* Match the approved alternating Timeline breakpoint colors for each phase. */
.sellaz-partnership-timeline .sellaz-timeline-step--blue {
  --st-primary: #1677FF;
  --st-soft: #EAF3FF;
}

.sellaz-partnership-timeline .sellaz-timeline-step--pink {
  --st-primary: #E83278;
  --st-soft: #FFF0F5;
}

.sellaz-partnership-timeline .sellaz-timeline-step {
  color: var(--st-text);
  overflow-wrap: anywhere;
}

.sellaz-partnership-timeline .sellaz-timeline-badge {
  display: inline-block;
  max-width: 100%;
  padding: 7px 14px;
  margin: 0 0 12px;
  border-radius: 20px;
  background: var(--st-soft);
  color: var(--st-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
}

.sellaz-partnership-timeline .sellaz-timeline-step h3 {
  margin: 0 0 8px;
  color: var(--st-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.sellaz-partnership-timeline .sellaz-timeline-step > p {
  margin: 0 0 16px;
  color: var(--st-muted);
  line-height: 1.7;
}

.sellaz-partnership-timeline .sellaz-timeline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.sellaz-partnership-timeline .sellaz-timeline-chips > p {
  max-width: 100%;
  margin: 0;
}

.sellaz-partnership-timeline .sellaz-timeline-chip {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(26, 159, 73, 0.08);
  border-radius: 8px;
  background: var(--st-soft);
  color: var(--st-text);
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
}

.sellaz-partnership-timeline .sellaz-timeline-chip i {
  color: var(--st-primary);
}

.sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-primary {
  min-width: 0;
}


.sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary:has(.wd-timeline-image img) {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  background: var(--st-card);
  box-shadow: var(--st-shadow);
  overflow: hidden;
}

.sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary .wd-timeline-image {
  margin: 0;
}

.sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary .wd-timeline-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary:not(:has(.wd-timeline-image img)) {
  position: relative;
  display: flex;
  min-width: 0;
  aspect-ratio: 16 / 10;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 42px;
  border: 1px solid var(--st-border);
  border-radius: var(--st-radius);
  outline: 1px dashed var(--st-border-strong);
  outline-offset: -18px;
  background: var(--st-soft);
  box-shadow: var(--st-shadow);
  text-align: center;
  overflow: hidden;
}

.sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary:not(:has(.wd-timeline-image img))::before {
  content: "Chờ ảnh thật " var(--st-brand-label);
  display: block;
  max-width: 100%;
  color: var(--st-text);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary:not(:has(.wd-timeline-image img))::after {
  content: "Chọn ảnh trong Customer Case để hoàn thiện Timeline";
  display: block;
  max-width: 360px;
  color: var(--st-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .sellaz-partnership-timeline .elementor-widget-wd_title {
    margin-bottom: 24px;
  }

  .sellaz-partnership-timeline .sellaz-timeline-step h3 {
    font-size: 22px;
  }


  .sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary:has(.wd-timeline-image img) {
    padding: 14px;
  }

  .sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary:not(:has(.wd-timeline-image img)) {
    padding: 42px 34px;
    outline-offset: -14px;
  }
}

@media (max-width: 767px) {
  .sellaz-partnership-timeline .elementor-widget-wd_title {
    margin-bottom: 20px;
  }

  .sellaz-partnership-timeline .sellaz-timeline-step h3 {
    font-size: 20px;
  }

  .sellaz-partnership-timeline .sellaz-timeline-badge {
    padding: 6px 12px;
    margin-bottom: 10px;
    font-size: 12px;
  }

  .sellaz-partnership-timeline .sellaz-timeline-step > p {
    margin-bottom: 14px;
    line-height: 1.65;
  }

  .sellaz-partnership-timeline .sellaz-timeline-chips {
    gap: 7px;
  }

  .sellaz-partnership-timeline .sellaz-timeline-chip {
    padding: 6px 10px;
    font-size: 12px;
  }


  .sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary:has(.wd-timeline-image img) {
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(18, 55, 42, 0.06);
  }

  .sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary:not(:has(.wd-timeline-image img)) {
    min-height: 220px;
    padding: 38px 26px;
    border-radius: 8px;
    outline-offset: -12px;
    box-shadow: 0 5px 18px rgba(18, 55, 42, 0.06);
  }

  .sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary:not(:has(.wd-timeline-image img))::before {
    font-size: 18px;
  }

  .sellaz-partnership-timeline .elementor-widget-wd_timeline .wd-timeline-item .timeline-col-secondary:not(:has(.wd-timeline-image img))::after {
    max-width: 280px;
    font-size: 12px;
  }
}
