/* Layout and type match the Cards (features) variant; AEM switches layout at <= 991px */

/* Title mirrors the #why-choose-us default-content heading in styles.css */
.why-choose-us .why-choose-us-title {
  margin: 10px 0 15px;
  color: #000;
  font-family: var(--heading-font-family);
  font-size: 20px;
  font-weight: 800;
  line-height: 27.32px;
  text-align: start;
}

/* Description mirrors the #why-choose-us + p paragraph in styles.css */
.why-choose-us .why-choose-us-description {
  margin: 0 0 20px;
  color: #222;
  font-family: var(--heading-font-family);
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-align: start;
}

.why-choose-us .why-choose-us-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-choose-us .why-choose-us-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 17px;
}

.why-choose-us .why-choose-us-icon {
  flex-shrink: 0;
  width: 40px;
  margin-right: 18px;
  padding-top: 2px;
  line-height: 0;
}

.why-choose-us .why-choose-us-icon picture {
  display: block;
}

.why-choose-us .why-choose-us-icon img {
  width: 40px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.why-choose-us .why-choose-us-body {
  flex: 1;
  min-width: 0;
  padding-right: 6px;
}

.why-choose-us .why-choose-us-item-title {
  margin: -5px 0 0;
  color: #3b3d40;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  text-align: left;
}

.why-choose-us .why-choose-us-item-text {
  margin: 0;
  color: #53565a;
  font-size: 12px;
  font-weight: 500;
  line-height: 16.8px;
  letter-spacing: 0.5px;
  text-align: left;
}

.why-choose-us .why-choose-us-cta-wrapper {
  margin: 20px 0 0;
  text-align: center;
}

.why-choose-us .why-choose-us-cta {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid #000;
  border-radius: 999px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.why-choose-us .why-choose-us-cta:hover,
.why-choose-us .why-choose-us-cta:focus-visible {
  background: #000;
  color: #fff;
}

@media (width >=992px) {
  .why-choose-us .why-choose-us-title {
    margin: 1.5em 0 10px;
    font-size: 32px;
    line-height: 35.2px;
    text-align: center;
  }

  .why-choose-us .why-choose-us-description {
    margin: 0 0 60px;
    font-size: 20px;
    font-weight: 400;
    line-height: 35.2px;
    text-align: center;
  }

  .why-choose-us .why-choose-us-list {
    flex-flow: row wrap;
    justify-content: center;
    gap: 30px 40px;
  }

  .why-choose-us .why-choose-us-item {
    flex: 1 1 calc(50% - 20px);
    min-width: 300px;
    margin-bottom: 0;
  }

  .why-choose-us .why-choose-us-icon {
    width: 54px;
    margin-right: 25px;
    padding-top: 7px;
  }

  .why-choose-us .why-choose-us-icon img {
    width: 54px;
    max-height: 80px;
  }

  .why-choose-us .why-choose-us-item-title {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 800;
    line-height: 27.32px;
  }

  .why-choose-us .why-choose-us-item-text {
    font-size: 16px;
    line-height: 21.86px;
  }

  .why-choose-us .why-choose-us-cta-wrapper {
    margin-top: 40px;
  }
}

@media (width >=1101px) {
  .why-choose-us .why-choose-us-list {
    justify-content: space-between;
    gap: 35px 20px;
  }

  .why-choose-us .why-choose-us-item {
    flex-basis: calc(33.333% - 20px);
    min-width: 320px;
  }
}

/* Variant: icon-grid: icon above centered text, 4 columns on desktop */

/* Variant: icon-grid — icon above centered text, 4 per row on desktop */

.why-choose-us.icon-grid {
  width: 100%;
  padding: 0 50px;
  color: #222;
  font-family: Manrope, var(--body-font-family), sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  margin-left: 0 !important;
  margin-right: 0 !important;

}

.why-choose-us.icon-grid .why-choose-us-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  gap: 32px 0;
}

.why-choose-us.icon-grid .why-choose-us-item {
  flex-direction: column;
  align-items: center;
  flex: 0 0 50%;
  min-width: 0;
  margin-bottom: 0;
  padding: 0 15px;
  box-sizing: border-box;
  text-align: center;
}

.why-choose-us.icon-grid .why-choose-us-icon {
  width: auto;
  margin: 0 0 20px;
  padding: 0;
}

.why-choose-us.icon-grid .why-choose-us-icon img {
  width: 56px;
  max-height: 56px;
}

.why-choose-us.icon-grid .why-choose-us-body {
  flex: none;
  width: 100%;
  padding: 0;
}

.why-choose-us.icon-grid .why-choose-us-item-title {
  margin: 0 0 14px;
  color: #222;
  font-family: Manrope, var(--body-font-family), sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 1.5px;
  text-align: center;
  text-transform: uppercase;
}

.why-choose-us.icon-grid .why-choose-us-item-text {
  color: #222;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: 0.35px;
  text-align: center;
}

@media (width >=992px) {
  .why-choose-us.icon-grid .why-choose-us-list {
    gap: 40px 0;
  }

  .why-choose-us.icon-grid .why-choose-us-item {
    flex: 0 0 25%;
    padding: 0 50px;
  }

  .why-choose-us.icon-grid .why-choose-us-icon {
    margin-bottom: 24px;
  }

  .why-choose-us.icon-grid .why-choose-us-item-title {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 1.6px;
  }

  .why-choose-us.icon-grid .why-choose-us-item-text {
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0;
  }
}

@media (width <=992px) {
  .why-choose-us.icon-grid {
    padding: 0;
  }

  .why-choose-us-variant .why-choose-us-item-text {
    font-weight: 400;
  }

  .why-choose-us-variant .mobile-side-padding-16 {
    padding: 0;
  }
}

@media (width <=991px) {
  .why-choose-us.icon-grid .why-choose-us-list {
    gap: 0;
  }

  .why-choose-us.icon-grid .why-choose-us-item {
    padding: 20px;
  }

  .why-choose-us.icon-grid .why-choose-us-item:nth-child(2),
  .why-choose-us.icon-grid .why-choose-us-item:nth-child(4) {
    border-left: 1px solid rgb(34 34 34 / 10%);
  }

  .why-choose-us.icon-grid .why-choose-us-item:nth-child(1),
  .why-choose-us.icon-grid .why-choose-us-item:nth-child(2) {
    border-bottom: 1px solid rgb(34 34 34 / 10%);
  }
}

/* mobile: plain 2 x 2 grid, no dividers */
@media (width < 600px) {
  .why-choose-us.icon-grid .why-choose-us-list {
    padding: 0 20px;
  }

  .why-choose-us.icon-grid .why-choose-us-item:nth-child(1),
  .why-choose-us.icon-grid .why-choose-us-item:nth-child(2),
  .why-choose-us.icon-grid .why-choose-us-item:nth-child(4) {
    border: 0;
  }
}

/* Policy */
@media (width >=992px) {
  .desktop-side-padding-37 {
    padding-left: 37px !important;
    padding-right: 37px !important;
  }
}