/**
 * @file
 * Divided hero styles
 */


.divided-hero {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--color-highlight--3);
}
.divided-hero::after {
  content: '';
  display: block;
  position: absolute;
  top: 90%;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: 4;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom right;
  -webkit-mask-size: 100%;
  -webkit-mask-image: url(../../images/hero-homepage/decoupe-hero-divided-mobile.svg);
  mask-image: url(../../images/hero-homepage/decoupe-hero-divided-mobile.svg);
  mask-repeat: no-repeat;
  mask-position: bottom right;
  mask-size: 100%;
  background: var(--color-neutral--5);
}
.divided-hero__wrapper {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.divided-hero__breadcrumb .breadcrumb {
  padding: 0;
  line-height: normal;
}
.divided-hero__breadcrumb .breadcrumb a,
.divided-hero__breadcrumb .breadcrumb li {
  color: var(--color-neutral--2);
  font-size: var(--content-size-s);
}
h1.divided-hero__title {
  font-size: 2.625rem;
  color: var(--color-primary--2);
  line-height: normal;
  margin: 1rem 0 2rem 0;
}
.divided-hero__summary {
  z-index: 5;
  position: relative;
  padding-bottom: 4rem;
}
.divided-hero__summary .summary ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.divided-hero__summary li {
  display: flex;
  align-items: center;
  gap: 9px;
  transition: ease 150ms;
  position: relative;
  width: fit-content;
}
.divided-hero__summary li:hover {
  transform: translateX(5px);
}
.divided-hero__summary li::before {
  content: '';
  display: block;
  width: 13px;
  height: 12px;
  background-image: url('../../images/arrow-summary.svg');
  background-position: center;
  background-repeat: no-repeat;
}
.divided-hero__summary li a {
  transition: ease 150ms;
  color: var(--color-neutral--1);
  font-weight: 500;
  font-size: 1rem;
}
.divided-hero__summary li a:hover {
  text-decoration: none;
  color: var(--color-tertiary--2);
}
.divided-hero__summary li a::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.divided-hero__summary-title {
  font-size: 1.25rem;
  line-height: normal;
}
@media all and (min-width: 800px) {
  .divided-hero::after {
    -webkit-mask-image: url(../../images/hero-homepage/decoupe-hero-hp-desktop.svg);
    mask-image: url(../../images/hero-homepage/decoupe-hero-hp-desktop.svg);
  }
}
@media all and (min-width: 1024px) {
  .divided-hero {
    flex-direction: row;
  }
  .divided-hero__image {
    flex:  0 0 43%;
  }
  .divided-hero__wrapper {
    flex: 1;
    padding: 2rem;
    max-width: 688px;
  }
  .divided-hero__summary li a {
    font-size: 1.125rem;
  }
  .divided-hero__summary-title {
    font-size: 1.875rem;
  }
  h1.divided-hero__title {
    margin: 0 0 auto 0;
  }
  .divided-hero--summary h1.divided-hero__title {
    margin-bottom: 1rem;
  }
  .divided-hero--summary .divided-hero__wrapper {
    justify-content: flex-start;
  }
  .divided-hero--summary .divided-hero__breadcrumb {
    margin-bottom: unset;
  }
  .divided-hero__breadcrumb {
    margin-bottom: auto;
  }
}
@media all and (min-width: 1024px) and (max-width: 1350px){
  .divided-hero__image img {
    height: 100%;
    object-fit: cover;
  }
}
@media all and (min-width: 1350px){
  .divided-hero__image {
    flex:  0 0 49%;
  }
}
@media all and (min-width: 1600px){
  h1.divided-hero__title {
    font-size: 2.5rem;
    margin: 0 0 auto 0;
  }
  .divided-hero--summary h1.divided-hero__title {
    margin: 1.5rem 0;
  }
}
