/* ==========================================================================
   Layout
   ========================================================================== */

.st-satisfaction-guarantee {
  box-sizing: border-box;
}

.st-satisfaction-guarantee__box {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 22px;
  border: var(--st-sg-border-width, 1px) solid var(--st-sg-border-color, #444);
  box-sizing: border-box;
}

/* Logo always spans 25% of the box width; height follows the image ratio */
.st-satisfaction-guarantee__logo {
  flex: 0 0 22%;
  width: 22%;
  max-width: 22%;
  color: #000;
  line-height: 0;
}

.st-satisfaction-guarantee__logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.st-satisfaction-guarantee__content {
  flex: 1 1 auto;
  min-width: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.st-satisfaction-guarantee__title {
  margin: 0 0 8px;
  font-family: var(--st-sg-title-font-family);
  font-weight: var(--st-sg-title-font-weight, 700);
  font-style: var(--st-sg-title-font-style, normal);
  font-size: var(--st-sg-title-font-size, 24px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--st-sg-title-color, #444);
}

.st-satisfaction-guarantee__body {
  font-family: var(--st-sg-body-font-family);
  font-weight: var(--st-sg-body-font-weight, 400);
  font-style: var(--st-sg-body-font-style, normal);
  font-size: var(--st-sg-body-font-size, 17px);
  line-height: 1.55;
  color: var(--st-sg-body-color, #444);
}

.st-satisfaction-guarantee__body p {
  margin: 0 0 0.5em;
}

.st-satisfaction-guarantee__body p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Mobile (max-width: 959px)
   ========================================================================== */

@media (max-width: 959px) {
  .st-satisfaction-guarantee__box {
    gap: 20px;
    padding: 20px;
  }

  .st-satisfaction-guarantee__title {
    font-size: var(--st-sg-title-font-size-mobile, 18px);
  }

  .st-satisfaction-guarantee__body {
    font-size: var(--st-sg-body-font-size-mobile, 14px);
  }
}
