/* Video factory page — collage + shared layout via content-factory.css */

.vf-collage {
  --vf-w: 980;
  --vf-h: 590;
  position: relative;
  width: min(980px, 100%);
  aspect-ratio: 980 / 590;
  margin: 12px auto 0;
  pointer-events: none;
}

.vf-collage__shot,
.vf-collage__deco,
.vf-collage__label-pill,
.vf-collage__label-text,
.vf-collage__dur {
  position: absolute;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.vf-collage__shot img,
.vf-collage__deco img,
.vf-collage__label-pill img,
.vf-collage__label-text img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  background: transparent;
}

.vf-collage__label-pill {
  top: calc(85.85 / var(--vf-h) * 100%);
  left: calc(100 / var(--vf-w) * 100%);
  width: calc(355 / var(--vf-w) * 100%);
  height: calc(81.94 / var(--vf-h) * 100%);
  z-index: 2;
}

.vf-collage__label-text {
  top: calc(105.02 / var(--vf-h) * 100%);
  left: calc(171.54 / var(--vf-w) * 100%);
  width: calc(212.97 / var(--vf-w) * 100%);
  height: calc(37.06 / var(--vf-h) * 100%);
  z-index: 3;
}

.vf-collage__label-text img {
  object-fit: contain;
}

.vf-collage__shot--boy {
  top: calc(72.6 / var(--vf-h) * 100%);
  left: calc(409.3 / var(--vf-w) * 100%);
  width: calc(480.3 / var(--vf-w) * 100%);
  height: calc(480.3 / var(--vf-h) * 100%);
  z-index: 4;
}

.vf-collage__shot--horse {
  top: calc(109.6 / var(--vf-h) * 100%);
  left: calc(642.1 / var(--vf-w) * 100%);
  width: calc(242.2 / var(--vf-w) * 100%);
  height: calc(357.5 / var(--vf-h) * 100%);
  z-index: 5;
}

.vf-collage__deco--shorts {
  top: calc(20 / var(--vf-h) * 100%);
  left: calc(573.4 / var(--vf-w) * 100%);
  width: calc(181.7 / var(--vf-w) * 100%);
  height: calc(181.7 / var(--vf-h) * 100%);
  z-index: 6;
}

.vf-collage__deco--stripes {
  top: calc(312.61 / var(--vf-h) * 100%);
  left: calc(738.8 / var(--vf-w) * 100%);
  width: calc(224.2 / var(--vf-w) * 100%);
  height: calc(167.8 / var(--vf-h) * 100%);
  z-index: 6;
}

.vf-collage__dur {
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid #a8a8a8;
  border-radius: 50px;
  box-shadow: 0 3px 8px #686881;
  font-family: "Qanelas-SemiBold", "Qanelas", Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(11px, 1.8vw, 20px);
  line-height: 1.3;
  color: #3a3a3a;
  text-shadow: 0 0 5px #fff;
}

.vf-collage__dur--30 {
  top: calc(519.22 / var(--vf-h) * 100%);
  left: calc(549.35 / var(--vf-w) * 100%);
  width: calc(100.34 / var(--vf-w) * 100%);
  height: calc(45.78 / var(--vf-h) * 100%);
  background: linear-gradient(180deg, #f3e7ff 0%, #d1c8d5 100%);
}

.vf-collage__dur--45 {
  top: calc(519.22 / var(--vf-h) * 100%);
  left: calc(671.19 / var(--vf-w) * 100%);
  width: calc(100.34 / var(--vf-w) * 100%);
  height: calc(45.78 / var(--vf-h) * 100%);
  background: linear-gradient(0deg, #d9d8fa 0%, #eeebff 100%);
}

.vf-collage__dur--60 {
  top: calc(519.22 / var(--vf-h) * 100%);
  left: calc(790.99 / var(--vf-w) * 100%);
  width: calc(99.32 / var(--vf-w) * 100%);
  height: calc(45.78 / var(--vf-h) * 100%);
  background: linear-gradient(180deg, #e6e5f5 0%, #e8daff 100%);
}

.vf-collage__shot--format {
  top: calc(219.6 / var(--vf-h) * 100%);
  left: calc(24.3 / var(--vf-w) * 100%);
  width: calc(533.4 / var(--vf-w) * 100%);
  height: calc(169.2 / var(--vf-h) * 100%);
  z-index: 8;
}

.vf-collage__shot--size {
  top: calc(358.5 / var(--vf-h) * 100%);
  left: calc(47.2 / var(--vf-w) * 100%);
  width: calc(486.3 / var(--vf-w) * 100%);
  height: calc(198.2 / var(--vf-h) * 100%);
  z-index: 9;
}

.vf-pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 960px;
  margin: 8px auto 0;
  text-align: left;
}

.vf-pipeline__step {
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid #ebe7f4;
  background: linear-gradient(165deg, #f3f0fa 0%, #ffffff 70%);
}

.vf-pipeline__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 8px;
  background: #43328a;
  color: #fff;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 13px;
}

.vf-pipeline__step h3 {
  margin: 0 0 8px;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #1b1b1b;
}

.vf-pipeline__step p {
  margin: 0;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  color: #424242;
}

.vf-editor {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(67, 50, 138, 0.14);
  background: transparent;
}

.vf-editor img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 960px) {
  .vf-pipeline {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .vf-pipeline__step {
    padding: 18px 16px;
  }

  .vf-editor {
    border-radius: 12px;
  }
}

@media (max-width: 749px) {
  .vf-pipeline {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 4px;
  }

  .vf-pipeline__step {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .vf-pipeline__n {
    min-width: 32px;
    height: 26px;
    margin-bottom: 8px;
    font-size: 12px;
  }

  .vf-pipeline__step h3 {
    font-size: 16px;
  }

  .vf-pipeline__step p {
    font-size: 14px;
  }

  .vf-collage {
    width: 100%;
    margin-top: 4px;
  }

  .vf-collage__dur {
    font-size: 10px;
    box-shadow: 0 2px 6px #686881;
  }

  .vf-editor {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .vf-pipeline__step {
    padding: 14px 12px;
  }

  .vf-pipeline__step h3 {
    font-size: 15px;
  }

  .vf-pipeline__step p {
    font-size: 13px;
  }

  .vf-collage__dur {
    font-size: 9px;
  }
}

@media (min-width: 1920px) {
  .vf-collage {
    width: min(1100px, 100%);
  }
}

a.factory-cta {
  text-decoration: none;
  color: #fff;
  box-sizing: border-box;
}

a.factory-cta span {
  color: #fff;
}
