.biin-bags-editorial {
  position: relative;
  isolation: isolate;
  height: clamp(560px, 45vw, 720px);
  overflow: hidden;
  background: #f2ebe3;
  color: #292d24;
  font-family: var(--font-biin-ar);
}

.biin-bags-editorial__media,
.biin-bags-editorial__media img,
.biin-bags-editorial__blend {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.biin-bags-editorial__media img {
  object-fit: cover;
  object-position: center 48%;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .biin-bags-editorial__media img { object-position: right center; }
}

.biin-bags-editorial__blend {
  background:
    linear-gradient(to bottom, rgb(242 235 227 / .22), transparent 8%, transparent 86%, rgb(242 235 227 / .67)),
    linear-gradient(90deg, rgb(242 235 227 / .48), rgb(242 235 227 / .24) 35%, transparent 62%);
  pointer-events: none;
}

.biin-bags-editorial__signature {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #705841;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .34;
  pointer-events: none;
}

.biin-bags-editorial__signature--mobile { display: none; }

.biin-bags-editorial__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(32px, 8vw, 150px);
  width: min(470px, 39vw);
  transform: translateY(-50%);
  text-align: right;
}

.biin-bags-editorial .biin-bags-editorial__content h2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  margin: 0 0 16px;
  color: #20251d;
  font-family: var(--font-biin-ar);
  font-size: clamp(38px, 4.1vw, 66px);
  font-weight: 650;
  line-height: 1.2;
}

.biin-bags-editorial__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 118px;
  height: 58px;
}

.biin-bags-editorial__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.biin-bags-editorial__content p { margin: 0; }

.biin-bags-editorial__support {
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 400;
  line-height: 1.55;
  color: #292d24;
}

.biin-bags-editorial__body {
  margin-top: 8px !important;
  color: #3e4136;
  font-size: clamp(14px, 1.13vw, 17px);
  font-weight: 400;
  line-height: 1.75;
}

.biin-bags-editorial__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 44px;
  margin-top: 26px;
  padding: 8px 20px;
  border-radius: 3px;
  background: #705841;
  color: #fffaf5;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 250ms ease;
}

.biin-bags-editorial__cta:hover,
.biin-bags-editorial__cta:focus-visible {
  background: #424636;
  color: #fffaf5;
}

.biin-bags-editorial__cta span:last-child {
  transition: transform 250ms ease;
}

.biin-bags-editorial__cta:hover span:last-child,
.biin-bags-editorial__cta:focus-visible span:last-child {
  transform: translateX(-4px);
}

.biin-bags-editorial__cta:focus-visible {
  outline: 2px solid #424636;
  outline-offset: 4px;
}

.biin-bags-editorial.is-motion-ready .biin-bags-editorial__media img {
  opacity: .8;
  transform: scale(1.025);
  transition: opacity 850ms ease, transform 1100ms cubic-bezier(.2, .7, .2, 1);
}

.biin-bags-editorial.is-motion-ready .biin-bags-editorial__signature path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.biin-bags-editorial.is-motion-ready .biin-bags-editorial__content > * {
  opacity: 0;
  transform: translateY(14px);
}

.biin-bags-editorial.is-motion-ready.is-visible .biin-bags-editorial__media img {
  opacity: 1;
  transform: scale(1);
}

.biin-bags-editorial.is-motion-ready.is-visible .biin-bags-editorial__signature path {
  animation: biin-bags-line-draw 1.65s cubic-bezier(.25, .65, .2, 1) .15s both;
}

.biin-bags-editorial.is-motion-ready.is-visible .biin-bags-editorial__content > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease, transform 750ms cubic-bezier(.2, .7, .2, 1);
}

.biin-bags-editorial.is-visible .biin-bags-editorial__content h2 { transition-delay: .42s; }
.biin-bags-editorial.is-visible .biin-bags-editorial__support { transition-delay: .58s; }
.biin-bags-editorial.is-visible .biin-bags-editorial__body { transition-delay: .73s; }
.biin-bags-editorial.is-visible .biin-bags-editorial__cta { transition-delay: .88s; }

@keyframes biin-bags-line-draw {
  to { stroke-dashoffset: 0; }
}

@media (min-width: 1101px) {
  .biin-bags-editorial { height: clamp(660px, 50vw, 860px); }
  .biin-bags-editorial__media img { object-position: center top; }
  .biin-bags-editorial__blend {
    background:
      linear-gradient(to bottom, rgb(242 235 227 / .12), transparent 10%, transparent 64%, rgb(242 235 227 / .16) 73%, rgb(242 235 227 / .82) 93%, #f2ebe3 100%),
      linear-gradient(90deg, rgb(242 235 227 / .48), rgb(242 235 227 / .24) 35%, transparent 62%);
  }
}

@media (max-width: 767px) {
  .biin-bags-editorial {
    height: clamp(720px, 205vw, 840px);
  }

  .biin-bags-editorial__media img {
    object-position: center 35%;
    transform: scale(1.16);
    transform-origin: 70% 70%;
  }

  .biin-bags-editorial__media {
    bottom: auto;
    height: 85%;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 66%, transparent 96%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 66%, transparent 96%);
  }

  .biin-bags-editorial__blend {
    background: linear-gradient(to bottom, transparent 0%, transparent 48%, rgb(242 235 227 / .16) 57%, rgb(242 235 227 / .88) 73%, #f2ebe3 84%);
  }

  .biin-bags-editorial.is-motion-ready .biin-bags-editorial__media img { transform: scale(1.18); }
  .biin-bags-editorial.is-motion-ready.is-visible .biin-bags-editorial__media img { transform: scale(1.16); }

  .biin-bags-editorial__signature--desktop { display: none; }
  .biin-bags-editorial__signature--mobile {
    display: none;
  }

  .biin-bags-editorial__content {
    top: auto;
    right: 24px;
    bottom: 26px;
    left: 24px;
    width: auto;
    transform: none;
  }

  .biin-bags-editorial .biin-bags-editorial__content h2 {
    margin-bottom: 10px;
    font-size: clamp(36px, 9vw, 45px);
    gap: 8px;
  }

  .biin-bags-editorial__logo { width: 94px; height: 48px; }

  .biin-bags-editorial__support { font-size: 19px; }
  .biin-bags-editorial__body { font-size: 14px; }
  .biin-bags-editorial__cta { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .biin-bags-editorial.is-motion-ready .biin-bags-editorial__media img,
  .biin-bags-editorial.is-motion-ready .biin-bags-editorial__content > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .biin-bags-editorial.is-motion-ready .biin-bags-editorial__signature path {
    stroke-dashoffset: 0;
    animation: none;
  }

  .biin-bags-editorial__cta span:last-child { transition: none; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .biin-bags-editorial.is-motion-ready .biin-bags-editorial__media img { transform: scale(1.16); }
}
