/* Process illustrations occupy the former frame without a circular border. */
.ww-front .process .step-badge {
  width: 124px;
  height: 124px;
  max-width: 100%;
  border: 0;
  border-radius: 0;
}
.ww-front .process .step-badge picture { width: 100%; height: 100%; }
.ww-front .process .step-icon {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Editable copy may contain long paragraphs, URLs and unbroken words. */
.ww-front { overflow-wrap: anywhere; }
.ww-front :is(.product-info, .ww-product-details, .ww-product-description, .ww-inner-content, .step, .footer-main > *) { min-width: 0; }
.ww-front .product-description { white-space: normal; }
.ww-front .intro { height: auto; min-height: 249px; }
.ww-front .collection-card, .ww-front .ww-catalog-card { height: auto; min-height: 296px; padding-bottom: 24px; }
.ww-front .story { height: auto; min-height: 534px; }
.ww-front .footer-contacts > a { white-space: normal; }
.ww-front .footer-bottom { height: auto; min-height: 73px; }
@media (min-width: 768px) and (max-width: 1000px) {
  .ww-front .collection-card { min-height: 250px; }
}
@media (max-width: 767px) {
  .ww-front .process .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ww-front .process .steps .step { min-width: 0; }
  .ww-front .process .steps .step h3,
  .ww-front .process .steps .step p { max-width: 100% !important; }
  .ww-front .intro { min-height: 101px; }
  .ww-front .collection-card, .ww-front .ww-catalog-card {
    aspect-ratio: auto;
    min-height: calc((100vw - 30px) * 0.52121212);
    padding-bottom: 64px;
  }
  .ww-front .ww-catalog-card__content { height: auto; }
  .ww-front .ww-catalog-card__link { position: static; margin-top: 24px; }
  .ww-front .story { min-height: 342px; }
  .ww-front .story.stones { min-height: 278px; }
  .ww-front .product-info { display: flex; flex-direction: column; height: auto; min-height: 122px; }
  .ww-front .product-description { flex: 1 0 auto; }
  .ww-front .product-bottom { position: static; flex: 0 0 auto; margin: 9px 0 0; }
  .ww-front .footer-main { grid-template-rows: minmax(129px, auto) minmax(112px, auto) auto; }
  .ww-front .footer-bottom { min-height: 74.5px; }
}

/* Fixed review previews; full text remains in Drupal's original DOM. */
.ww-front .review-card {
  --ww-review-height: 322px;
  min-width: 0;
  min-height: var(--ww-review-height);
  overflow-wrap: anywhere;
}
.ww-front .review-card:not(.ww-review-ready),
.ww-front .view-ww-reviews .review-card:not(.ww-review-ready) { height: auto; }
.ww-front .review-card.ww-review-ready:not(.ww-review-expanded) { height: var(--ww-review-height); }
.ww-front .review-card.ww-review-ready.ww-review-expanded { height: auto; }
.ww-front .review-card .review-person { flex: 0 0 auto; min-width: 0; }
.ww-front .review-card .review-person > div { min-width: 0; }
.ww-front .review-card.ww-review-ready .review-person h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.ww-front .review-card.ww-review-expanded .review-person h3 { display: block; }
.ww-front .review-card.ww-review-ready .review-text {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  white-space: pre-line;
  margin-bottom: 0;
}
.ww-front .review-card.ww-review-ready:not(.ww-review-expanded) .review-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--ww-review-lines, 1000);
  max-height: var(--ww-review-preview-height, none);
}
.ww-front .review-card.ww-review-expanded .review-text { display: block; flex: 0 0 auto; overflow: visible; }
.ww-front .ww-review-footer {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 8px;
  min-width: 0;
  margin-top: auto;
  padding-top: 4px;
}
.ww-front .ww-review-footer > time {
  margin: 0 0 0 auto;
  padding-top: 0;
  color: var(--muted);
  font: 300 14px/22px var(--sans);
  white-space: nowrap;
  text-align: right;
}
.ww-front .ww-review-more {
  position: static;
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--wine);
  font: 400 12px/18px var(--sans);
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ww-front .ww-review-more[hidden] { display: none; }
.ww-front .ww-review-more:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
@media (min-width: 1001px) and (max-width: 1250px) {
  .ww-front .review-card { --ww-review-height: 355px; }
}
@media (min-width: 768px) and (max-width: 1000px) {
  .ww-front:not(.ww-inner) .review-card { --ww-review-height: 300px; }
  .ww-product-full { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
}
@media (max-width: 767px) {
  .ww-front .review-card { --ww-review-height: 222px; }
  .ww-front .ww-review-footer > time { font-size: 12px; }
}
