/* ====================== COMMON RULES ====================== */
.customtext-image-wrapper {
    overflow: hidden;
    flex-shrink: 0;
    width: clamp(50px, 15vw, var(--img-width-size, 80px));
    height: clamp(50px, 15vw, var(--img-height-size, 80px));
    display: flex;
    align-items: center;
    justify-content: center;
}

.customtext-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* можно заменить на contain, если нужно вписывать */
    display: block;
}

/* ====================== TYPOGRAPHY ====================== */
.mod-customtext-period {
    font-size: 90%;
    color: #555;
}

/* ====================== QUOTE LAYOUT ====================== */
.callout.quote {
  position: relative;
  text-align: center;
  font-style: italic;
  font-size: 1.1rem;
  padding: 2.5rem 3rem;
  margin: 2rem auto;
}

.callout.quote:before,
.callout.quote:after {
  font-family: 'Font Awesome 6 Free';
  position: absolute;
  font-size: 4rem;
  color: #039be5;
}

.callout.quote:before {
  content: "“";
  top: 0;
  left: 0;
}

.callout.quote:after {
  content: "”";
  bottom: 0;
  right: 0;
}

.quote-author {
  text-align: center;
  margin-top: 1rem;
}

.quote-author cite {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d;
}

.quote-author .author-image-wrapper img {
  width: var(--img-width-size, 40px);
  height: var(--img-height-size, 40px);
  object-fit: cover;
  border-radius: 50%;
}
