/******************************************
 * PREFOOTER — BASE + MOBILE
 ******************************************/
.prefooter {
    background-color: var(--color-primary--1);
    color: white;
    margin : 32px 0;
    border-radius: 20px;
    padding: 16px;


}

.prefooter__wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prefooter .col-separator {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.25);
}

/******************************************
 * PREFOOTER COLUMNS — BASE + MOBILE
 ******************************************/
.prefooter__col1, .prefooter__col2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
    justify-content: flex-end;
}

h2.prefooter__title {
  color : var(--color-white);
  font-family: var(--font--garamond);
  font-size: var(--heading-size-m);
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 50.4px */
}

.prefooter__subtitle {
  color: var(--color-secondary--1);
  font-size: var(--content-size-l);
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 28px */
}

.prefooter__body {
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.prefooter p,
.prefooter h2 {
    margin: 0;
}

.prefooter__image > article > * {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
}


.prefooter__col2 hr {
  width: 99%;
  color: rgba(255, 255, 255, 0.25);
}

.contact-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.icon:before {
  display: block;
  content: '';
  background-position: center;
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
}

.icon--phone::before {
  background-image: url(../../images/icons/phone.svg);
}
.icon--mail::before {
  background-image: url(../../images/icons/email.svg);
}

.contact-item__wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prefooter .cta__text {
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}



@media all and (min-width: 650px) {
  .prefooter__wrapper {
    flex-direction: row;
  }

  .prefooter__col1 {
    max-width: 577px;
  }



  .prefooter .col-separator {
    min-width: 1px;
    width: 1px;
    height: auto;
    align-items: stretch;
    display: flex;
  }

  .prefooter__col2 {
    width: 100%;
    max-width: 333px;
  }
}

@media all and (min-width:800px) {
  h2.prefooter__title {
    font-size: 36px;
  }
}

@media all and (min-width:900px) {
  .prefooter {
    padding : 32px;
  }

  .prefooter__wrapper {
    gap: 16px;
  }

  .prefooter__col2 {
    padding : 32px;
    padding-bottom: 16px;

  }
}
