/* Home redesign — «Подробнее о пленке»
   Figma: 360 / 768 / 1024 / 1280 / 1440 / 1920
*/

.bz-about-film {
  background-color: var(--bz-bg-prim, #f7f6f1);
  padding: 100px 20px 0;
  margin: 0;
  box-sizing: border-box;
}

.bz-about-film__label {
  display: none;
  margin: 0;
  color: #7e7d7b;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.bz-about-film__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* На мобилке колонки «разбираются», чтобы порядок был: текст → фото → подпись → кнопка */
.bz-about-film__col-media,
.bz-about-film__col-copy {
  display: contents;
}

.bz-about-film__text {
  order: 1;
  width: 100%;
  max-width: 320px;
  margin-bottom: 25px;
  color: var(--bz-b-100, #2d2c2c);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: uppercase;
}

.bz-about-film__lead,
.bz-about-film__desc {
  margin: 0;
}

.bz-about-film__lead {
  margin-bottom: 1.3em;
}

.bz-about-film__accent {
  color: var(--bz-prim, #f27e00);
}

.bz-about-film__visual {
  order: 2;
  display: block;
  width: 100%;
  max-width: 243px;
}

.bz-about-film__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 243 / 215;
  object-fit: cover;
}

.bz-about-film__caption {
  order: 3;
  margin: 2px 0 0;
  max-width: 235px;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: left;
}

.bz-about-film__caption-muted {
  color: #7e7d7b;
}

.bz-about-film__caption-strong {
  color: var(--bz-b-100, #2d2c2c);
  font-weight: 400;
}

.bz-about-film__btn {
  order: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 209px;
  height: 48px;
  margin-top: 40px;
  padding: 10px 20px;
  border: 1px solid var(--bz-divider, #cecece);
  border-radius: 40px;
  background-color: #ffffff;
  box-sizing: border-box;
  color: var(--bz-b-100, #2d2c2c);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.bz-about-film__btn:hover,
.bz-about-film__btn:focus {
  border-color: var(--bz-prim, #f27e00);
  color: var(--bz-b-100, #2d2c2c);
  text-decoration: none;
}

/* 768 — две колонки */
@media (min-width: 768px) {
  .bz-about-film {
    padding: 120px 30px 0;
  }

  .bz-about-film__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 34px;
  }

  .bz-about-film__col-media,
  .bz-about-film__col-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .bz-about-film__col-media {
    flex: 0 0 330px;
    width: 330px;
    gap: 15px;
  }

  .bz-about-film__col-copy {
    flex: 0 1 345px;
    max-width: 345px;
    gap: 30px;
  }

  .bz-about-film__text,
  .bz-about-film__visual,
  .bz-about-film__caption,
  .bz-about-film__btn {
    order: unset;
    margin: 0;
    max-width: none;
  }

  .bz-about-film__text {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    text-align: left;
  }

  .bz-about-film__visual {
    width: 100%;
    max-width: none;
  }

  .bz-about-film__image {
    aspect-ratio: 330 / 368;
  }

  .bz-about-film__caption {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-align: left;
    /* Figma 768: крошка в одну строку (вне ширины фото) */
    width: 100%;
    max-width: none;
    white-space: nowrap;
  }

  .bz-about-film__btn {
    min-width: 209px;
    /*height: 68px;*/
    /*border: 0;*/
  }

  .bz-about-film__btn {
    min-width: 209px;
  }
}

/* 1024 */
@media (min-width: 1024px) {
  .bz-about-film {
    padding: 120px 29px 0;
  }

  .bz-about-film__inner {
    justify-content: flex-start;
    gap: 58px;
  }

  .bz-about-film__col-media {
    flex-basis: 432px;
    width: 432px;
  }

  .bz-about-film__col-copy {
    flex-basis: 475px;
    max-width: 475px;
    gap: 36px;
  }

  .bz-about-film__text {
    font-size: 20px;
  }

  .bz-about-film__image {
    aspect-ratio: 432 / 383;
  }

  .bz-about-film__caption {
    max-width: 394px;
  }
}

/* 1280 */
@media (min-width: 1280px) {
  .bz-about-film__inner {
    gap: 91px;
  }

  .bz-about-film__col-media {
    flex-basis: 528px;
    width: 528px;
  }

  .bz-about-film__col-copy {
    flex-basis: 617px;
    max-width: 617px;
  }

  .bz-about-film__text {
    font-size: 24px;
  }

  .bz-about-film__image {
    aspect-ratio: 528 / 468;
  }

  .bz-about-film__caption {
    max-width: none;
    white-space: nowrap;
  }
}

/* 1440 */
@media (min-width: 1440px) {
  .bz-about-film {
    padding: 120px 43px 72px;
  }

  .bz-about-film__inner {
    /* Контейнер как в Figma 1920 = центрированные 1354px (padding 283 = (1920−1354)/2):
       на окнах 1441–1919 (MacBook 14/16) копия без этого прижималась к центру
       заметно левее «полусетки» (BUG-001, задача 6324.82) */
    max-width: 1354px;
    margin-left: auto;
    margin-right: auto;
    gap: 157px;
  }
}

/* 1920 */
@media (min-width: 1920px) {
  .bz-about-film {
    position: relative;
    padding: 120px 283px 72px;
  }

  .bz-about-film__label {
    display: block;
    position: absolute;
    top: 120px;
    left: 30px;
  }

  .bz-about-film__inner {
    gap: 157px;
  }
}

/* Safari < 15: нет aspect-ratio — пропорции через padding-хак на <picture> */
@supports not (aspect-ratio: 1 / 1) {
  .bz-about-film__visual {
    position: relative;
  }

  .bz-about-film__visual::before {
    content: '';
    display: block;
    padding-top: 88.4774%; /* 215 / 243 */
  }

  .bz-about-film__image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }

  @media (min-width: 768px) {
    .bz-about-film__visual::before {
      padding-top: 111.5152%; /* 368 / 330 */
    }
  }

  @media (min-width: 1024px) {
    .bz-about-film__visual::before {
      padding-top: 88.6574%; /* 383 / 432 */
    }
  }

  @media (min-width: 1280px) {
    .bz-about-film__visual::before {
      padding-top: 88.6364%; /* 468 / 528 */
    }
  }
}
