/* Preserve the complete silhouettes in the two wide collection campaigns. */
@media (min-width: 768px) {
  .collection-content[data-campaign] > section:first-of-type picture {
    height: auto;
    aspect-ratio: 12 / 5;
  }

  .collection-content[data-campaign="directory"] > section:first-of-type picture::after {
    background: linear-gradient(90deg, transparent 17%, rgb(20 16 13 / 48%) 39%, rgb(20 16 13 / 48%) 61%, transparent 84%);
  }

  .collection-content[data-campaign="directory"] > section:first-of-type .col-md-5 {
    width: min(49%, 640px);
  }
}

@media (min-width: 768px) and (max-width: 1049.98px) {
  .collection-content[data-campaign="womenswear"] > section:first-of-type picture {
    aspect-ratio: 130 / 81;
  }

  .collection-content[data-campaign="directory"] > section:first-of-type h1 {
    font-size: clamp(37px, 5vw, 52px) !important;
    margin-bottom: 12px !important;
  }

  .collection-content[data-campaign="directory"] > section:first-of-type .fs20 {
    font-size: 16px !important;
    margin-bottom: 12px !important;
  }

  .collection-content[data-campaign="directory"] > section:first-of-type .site-cta-group {
    margin-top: 16px !important;
  }
}

@media (max-width: 767.98px) {
  .collection-content[data-campaign] > section:first-of-type {
    display: flex;
    flex-direction: column;
  }

  .collection-content[data-campaign] > section:first-of-type > .position-absolute {
    order: 1;
    position: relative !important;
    height: auto !important;
  }

  .collection-content[data-campaign] > section:first-of-type .container > .d-flex {
    padding: 30px 0 !important;
    justify-content: flex-start;
  }

  .collection-content[data-campaign] > section:first-of-type .col-10,
  .collection-content[data-campaign] > section:first-of-type .col-md-6 {
    width: 100%;
    max-width: 100%;
    text-align: left !important;
  }

  .collection-content[data-campaign] > section:first-of-type .text-center,
  .collection-content[data-campaign] > section:first-of-type h1,
  .collection-content[data-campaign] > section:first-of-type p {
    margin-left: 0;
    text-align: left !important;
  }

  .collection-content[data-campaign] > section:first-of-type .site-cta-group {
    justify-content: flex-start !important;
    margin-top: 16px !important;
  }

  .collection-content[data-campaign] > section:first-of-type picture {
    order: 2;
    height: auto;
  }

  .collection-content[data-campaign] > section:first-of-type picture > img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .collection-content[data-campaign] > section:first-of-type picture::after {
    display: none;
  }
}
