.g2-with-quotes {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0px;
}
.g2-with-quotes .g2-with-quotes__slides {
  display: flex;
  gap: 18px;
  max-height: 458px;

  /* will-change: transform; */
  transition: transform 0.4s ease;
  padding: 0;
  margin: 0;
  list-style: none;
}
.g2-card,
.mosaic-card {
  flex: 0 0 auto;
}

.g2-card {
  width: 275px;
  aspect-ratio: 275 / 458;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(180deg, #6474a9 0%, #29355d 100%), #fff;
  box-shadow: 3px 6px 15px 0px rgba(0, 0, 0, 0.35);
  color: white;
  padding: 25px;
}
.g2-card__title {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: normal;
  margin-bottom: 12px;
}
.g2-card__body {
  font-size: 1rem;
  font-weight: 600;
  line-height: 133%;
}
.g2-card__star-rating {
  margin-top: 20px;
  margin-bottom: 20px;
}
.g2-star-rating {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}
.g2-star-rating__wrapper {
  grid-area: stack;
  overflow: hidden;
  width: 100px;
  position: relative;
  display: grid;
  grid-template-areas: "stack";
}
.g2-star-rating__upper {
  grid-area: stack;
  overflow: hidden;
  z-index: 1;
}
.g2-star-rating__lower {
  grid-area: stack;
  opacity: 0.5;
  position: relative;
  z-index: 2;
}
.g2-card__footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.g2-card__user-image {
  width: 35px;
  height: 35px;
  border-radius: 100px;
  border: 2px solid #006ceb;
  overflow: hidden;
}
.g2-card__user-name {
  font-size: 13px;
  font-weight: bold;
  line-height: normal;
}
.g2-star-rating__score {
  font-size: 13px;
  font-weight: bold;
  line-height: normal;
}

.g2-with-quotes .g2-with-quotes__template-v1 {
  display: grid;
  grid-template-areas:
    "stat1 stat2"
    "quote quote";
  max-width: 375px;
  gap: 18px;
}
.g2-with-quotes .g2-with-quotes__template-v2 {
  display: grid;
  grid-template-areas:
    "quote quote"
    "stat1 stat2";
  max-width: 375px;
  gap: 18px;
}
.g2-with-quotes .g2-with-quotes__template-v3 {
  display: grid;
  grid-template-areas:
    "quote1"
    "quote2";
  max-width: 375px;
  gap: 18px;
}
.mosaic-card {
  width: 375px;
  height: 458px;
}

.mosaic-quote {
  display: flex;
  flex-direction: row;
  background: white;
  justify-content: space-between;
  padding: 20px;
  padding-bottom: 0;
  width: 100%;
  height: 220px;
  border-radius: 12px;
  gap: 12px;
  box-shadow: 3px 6px 15px 0px rgba(0, 0, 0, 0.13);
}

.g2-with-quotes .g2-with-quotes__template-v1 .mosaic-quote,
.g2-with-quotes .g2-with-quotes__template-v2 .mosaic-quote {
  grid-area: quote;
}
.g2-with-quotes .g2-with-quotes__template-v3 .mosaic-quote:first-child {
  grid-area: quote1;
}
.g2-with-quotes .g2-with-quotes__template-v3 .mosaic-quote:last-child {
  grid-area: quote2;
  flex-direction: row-reverse;
}
.mosaic-quote .mosaic-quote__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 184px;
  width: 100%;
}
.mosaic-quote .mosaic-quote__text-content {
  font-size: 16px;
  line-height: normal;
  font-weight: bold;
  color: black;
  margin-bottom: 0;
}
.mosaic-quote .mosaic-quote__text-source {
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  color: black;
  margin-bottom: 0;
}
.mosaic-quote .mosaic-quote__img {
  align-self: flex-end;
  flex-shrink: 1;
}

.mosaic-stat {
  width: 175px;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  gap: 16px;
  padding: 16px;
  border: 2px solid rgba(129, 230, 201, 0.25);
  background: #fff;
  box-shadow: 3px 6px 15px 0px rgba(0, 0, 0, 0.13);
}
.mosaic-stat:first-child {
  grid-area: stat1;
}
.mosaic-stat:last-child {
  grid-area: stat2;
}
.mosaic-quote {
  grid-area: quote;
}

.mosaic-stat__number {
  font-size: 3rem;
  text-align: center;
  font-weight: 800;
  line-height: 81%;
  color: #ff5000;
}
.mosaic-stat__text {
  font-size: 1.25rem;
  text-align: center;
  font-weight: 600;
  line-height: normal;
}

.g2-with-quotes__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.g2-with-quotes__nav > button {
  background: #d9d9d9;
  border-radius: 100px;
  border: none;
  padding: 0;
  width: 13px;
  height: 13px;
  cursor: pointer;
}
.g2-with-quotes__nav > button.active {
  background: #29355d;
  border-radius: 100px;
  border: none;
  padding: 0;
  width: 13px;
  height: 13px;
  cursor: pointer;
}

@media (min-width: 2028px) {
  .g2-with-quotes_wrapper {
    max-width: 1800px;
    margin: 0 auto;
  }
  .g2-with-quotes_wrapper .g2-with-quotes_inner {
  }
  .g2-with-quotes_wrapper {
    position: relative;
    background-color: #fff;
  }
  .g2-with-quotes_wrapper::before,
  .g2-with-quotes_wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 1;
    pointer-events: none;
  }
  .g2-with-quotes_wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f3f3f3 0%, rgba(243, 243, 243, 0) 100%);
  }
  .g2-with-quotes_wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f3f3f3 0%, rgba(243, 243, 243, 0) 100%);
  }
}
