.krs {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  font-family: inherit;
}

/* Summary */
.krs-summary {
  display: flex;
  justify-content: center;
}

.krs-badge {
  width: 100%;
  max-width: 235px;
  padding: 38px 18px;
  text-align: center;
  background: #fff;
}

.krs-badge-title {
  display: block;
  font-family: "Seasons", Sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ae1b66;
}

.krs-badge .krs-stars {
  margin: 9px 0 7px;
  font-size: 34px;
}

.krs-badge-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-bottom: 5px;
}

.krs-score-value {
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
}

.krs-score-max {
  font-size: 14px;
  color: #666;
}

.krs-count {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

/* Brand */
krs-brand{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:12px;
}

.krs-brand-logo {
    display: block;
    height: 32px;
    width: auto;
    margin: 0 auto !important;
    padding-top: 10px;
}

.krs-logo{
    justify-self:end;
    display:block;
    width: 32px;
}

.krs-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0;
  border-radius: 50%;
}

/* Stars */
.krs-stars {
  display: inline-flex;
  gap: 1px;

  font-size: 24px;
  line-height: 1;
  color: #f5b400;
}

.krs-star-empty {
  color: #ddd;
}

/* Slider */
.krs-slider-wrap {
  position: relative;
  min-width: 0;
}

.krs-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 16px;
  padding: 10px 4px 14px;

  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

/* Review card */
.krs-card {
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 15px 25px;
  background: #fff;
  border: 1px solid #ededed;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.12);

  scroll-snap-align: start;
}

.krs-card-head {
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  gap: 12px;
  align-items: center;
}

.krs-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;

  font-size: 20px;
  font-weight: 700;
  color: #fff;

  background: #77b82a;
  border-radius: 50%;
}

.krs-name {
  font-size: 16px;
  font-family: "Seasons", Sans-serif;
}

.krs-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
}

.krs-card .krs-stars {
  font-size: 22px;
}

.krs-verified {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;

  font-size: 11px;
  font-weight: 700;
  color: #fff;

  background: #2b82f6;
  border-radius: 50%;
}

.krs-text {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;

  font-size: 16px;
  line-height: 1.45;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.krs-read {
  margin-top: auto;
  padding-top: 8px;

  font-size: 14px;
  color: #888;
  text-decoration: none;
}

/* Navigation */
.krs-nav {
  position: absolute;
  top: 50%;
  z-index: 2;

  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;

  font-size: 27px;
  line-height: 1;

  cursor: pointer;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);

  transform: translateY(-50%);
}

.krs-nav:hover,
.krs-nav:focus-visible {
  border-color: #78b82a;
  outline: none;
}

.krs-nav[hidden] {
  display: none;
}

.krs-prev {
  left: -15px;
}

.krs-next {
  right: -15px;
}

/* Error message */
.krs-error {
  padding: 12px;

  background: #fff;
  border-left: 4px solid #b32d2e;
}

/* Desktop */
@media (min-width:1000px){
    .krs-track{
        grid-auto-columns:calc((100% - 32px)/3);
    }
}

/* Mobile */
@media (max-width: 760px) {
  .krs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .krs-badge {
    max-width: none;
  }

  .krs-track {
    grid-auto-columns: 100%;
  }

  .krs-prev {
    left: -7px;
  }

  .krs-next {
    right: -7px;
  }
}