.milksy-home-reviews,
.milksy-home-reviews * {
  box-sizing: border-box;
}

.milksy-home-reviews {
  position: relative;
  overflow: clip;
  padding: clamp(76px, 8vw, 118px) 24px;
  background: #fef6e4;
  color: #282826;
  font-family: Jost, "Helvetica Neue", Arial, sans-serif;
}

.mhr-shell {
  display: grid;
  width: min(1180px, 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 52px);
}

.mhr-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  min-height: 540px;
  padding: clamp(40px, 5vw, 62px);
  flex-direction: column;
  justify-content: center;
  border-radius: 32px;
  background: #157ee9;
  color: #fff;
  box-shadow: 0 28px 70px rgba(21, 126, 233, .2);
}

.mhr-intro::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Official Milksy artwork: Textures.ai, artboard 4. */
  background-image: url("../images/brand/milksy-texture-04.webp");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: auto 115%;
  content: "";
  opacity: .18;
  pointer-events: none;
}

.mhr-eyebrow {
  margin: 0 0 15px;
  color: #ffeaa8;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mhr-intro h2 {
  max-width: 470px;
  margin: 0;
  color: #fff;
  font-family: Lora, Georgia, serif;
  font-size: clamp(42px, 4.3vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.mhr-lead {
  max-width: 490px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 16px;
  line-height: 1.65;
}

.mhr-google-summary {
  display: flex;
  width: fit-content;
  margin-top: 30px;
  padding: 14px 17px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}

.mhr-stars,
.mhr-card__stars {
  color: #ffeaa8;
  font-size: 16px;
  letter-spacing: .1em;
}

.mhr-google-summary > span:last-child {
  display: grid;
  gap: 2px;
}

.mhr-google-summary strong {
  color: #fff;
  font-size: 14px;
}

.mhr-google-summary small {
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
}

.mhr-button {
  display: inline-flex;
  width: fit-content;
  min-height: 52px;
  margin-top: 24px;
  padding: 12px 13px 12px 21px;
  align-items: center;
  gap: 17px;
  border-radius: 999px;
  background: #fff;
  color: #282826 !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mhr-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(7, 36, 72, .2);
}

.mhr-button:focus-visible {
  outline: 3px solid #ffeaa8;
  outline-offset: 4px;
}

.mhr-button span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #fef6e4;
  color: #157ee9;
  font-size: 16px;
}

.mhr-note {
  display: block;
  max-width: 420px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .64);
  font-size: 11px;
  line-height: 1.5;
}

.mhr-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mhr-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 205px;
  padding: 24px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e4e0d7;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(49, 65, 91, .07);
}

.mhr-card--featured {
  min-height: 215px;
  grid-column: 1 / -1;
  background: #fafafa;
}

.mhr-card__top {
  display: flex;
  min-height: 41px;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.mhr-card__stars {
  color: #157ee9;
  font-size: 14px;
}

.mhr-card__quote {
  color: #7cc4ff;
  font-family: Lora, Georgia, serif;
  font-size: 54px;
  line-height: .65;
}

.mhr-card > p {
  margin: 16px 0 22px;
  color: #474742;
  font-family: Lora, Georgia, serif;
  font-size: 14px;
  line-height: 1.6;
}

.mhr-card--featured > p {
  max-width: 560px;
  font-size: 15px;
}

.mhr-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mhr-card__avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: #eaf5ff;
  color: #157ee9;
  font-size: 11px;
  font-weight: 850;
}

.mhr-card footer > span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.mhr-card footer strong {
  color: #282826;
  font-size: 13px;
}

.mhr-card footer small {
  overflow: hidden;
  color: #77756f;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.milksy-theme-ready body .milksy-home-reviews,
html.milksy-theme-ready body .mhr-card,
html.milksy-theme-ready body .mhr-intro {
  transition: background-color .28s ease, color .28s ease, border-color .28s ease;
}

html[data-milksy-theme="dark"] body .milksy-home-reviews {
  background: #0f1724;
  color: #faf6ec;
}

html[data-milksy-theme="dark"] body .mhr-intro {
  border: 1px solid #456ba7;
  background: #1b3151;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}

html[data-milksy-theme="dark"] body .mhr-intro::before {
  opacity: .13;
}

html[data-milksy-theme="dark"] body .mhr-card,
html[data-milksy-theme="dark"] body .mhr-card--featured {
  border-color: #334761;
  background: #172335;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
}

html[data-milksy-theme="dark"] body .mhr-card > p,
html[data-milksy-theme="dark"] body .mhr-card footer strong {
  color: #faf6ec;
}

html[data-milksy-theme="dark"] body .mhr-card footer small {
  color: #aebed3;
}

html[data-milksy-theme="dark"] body .mhr-card__avatar {
  background: #203653;
  color: #7cc4ff;
}

@media (max-width: 980px) {
  .mhr-shell {
    grid-template-columns: 1fr;
  }

  .mhr-intro {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .milksy-home-reviews {
    padding: 64px 15px;
  }

  .mhr-intro {
    padding: 38px 27px;
    border-radius: 26px;
  }

  .mhr-intro::before {
    background-position: 12% center;
    background-size: auto 108%;
  }

  .mhr-intro h2 {
    font-size: 42px;
  }

  .mhr-google-summary {
    width: 100%;
  }

  .mhr-button {
    width: 100%;
    justify-content: space-between;
  }

  .mhr-review-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .mhr-card,
  .mhr-card--featured {
    min-height: 0;
    padding: 25px;
    grid-column: auto;
  }

  .mhr-card > p,
  .mhr-card--featured > p {
    font-size: 14px;
  }
}
