/* CSS bổ sung cho section quy-trinh (hỗ trợ 3–6 bước linh hoạt & ảnh tùy chọn) */

.tv-quy-trinh-intro {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
  font-family: var(--tv-font-noi-dung);
  font-size: 16px;
  line-height: 1.7;
  color: var(--tv-chu-phu, #555555);
}

.tv-quy-trinh-media--empty {
  min-height: 120px;
}

.tv-quy-trinh .elementor-element-1add6c9,
.elementor-78 .elementor-element.elementor-element-1add6c9 {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
}

.tv-quy-trinh .elementor-element-f92a242,
.elementor-78 .elementor-element.elementor-element-f92a242 {
  position: relative;
  z-index: 1;
  width: 100%;
}

.tv-quy-trinh .elementor-element-f92a242 img,
.elementor-78 .elementor-element.elementor-element-f92a242 img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

.tv-quy-trinh .elementor-element-d3cb79e,
.elementor-78 .elementor-element.elementor-element-d3cb79e {
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 2;
  pointer-events: none;
  transform: none;
  writing-mode: horizontal-tb;
  text-align: center;
}

.tv-quy-trinh .elementor-element-d3cb79e .elementor-heading-title,
.elementor-78 .elementor-element.elementor-element-d3cb79e .elementor-heading-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.05;
  color: rgba(255, 250, 244, 0.78);
  text-shadow: 0 2px 12px rgba(32, 16, 6, 0.45);
  white-space: nowrap;
}

.tv-quy-trinh-step > .e-con {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.tv-quy-trinh-step > .e-con::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 22, 10, 0.74) 0%, rgba(42, 22, 10, 0.18) 42%, transparent 68%);
  pointer-events: none;
  z-index: 1;
}

.tv-quy-trinh-step .elementor-widget-image {
  z-index: 0;
  width: 100%;
}

.tv-quy-trinh-step .elementor-widget-image img {
  display: block;
  width: 100%;
  aspect-ratio: 360 / 310;
  object-fit: cover;
  border-radius: 14px;
}

.tv-quy-trinh-step [data-settings='{"position":"absolute"}'] {
  z-index: 2;
  padding-bottom: 12px;
}

.tv-quy-trinh-step [data-settings='{"position":"absolute"}'] .elementor-heading-title {
  font-size: clamp(2.75rem, 4.2vw, 4rem);
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

@media (min-width: 1025px) {
  .tv-quy-trinh-row .tv-quy-trinh-step--right {
    margin-top: 116px;
  }

  .tv-quy-trinh-row .tv-quy-trinh-step--left {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .tv-quy-trinh .elementor-element-841d608 {
    --margin-top: 24px;
  }

  .tv-quy-trinh-row {
    gap: 32px;
  }
}
