/* Rex Group v0.6.5 — isolated product-card expansion.
   Scope: the homepage product strip only. */
.rex-products-five {
  align-items: stretch;
}
.rex-products-five .product-card {
  min-width: 0;
}
.rex-products-five .product-card.hotel .product-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Five equal cards on standard desktop/laptop widths. */
@media (min-width: 1200px) {
  .rex-products-five {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
  .rex-products-five .product-card {
    padding: 18px 16px !important;
  }
  .rex-products-five .product-card h2 {
    font-size: 18px !important;
    line-height: 1.16 !important;
  }
  .rex-products-five .product-card em {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }
  .rex-products-five .product-card p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
}

/* Keep the five cards readable as the viewport narrows. */
@media (min-width: 900px) and (max-width: 1199px) {
  .rex-products-five {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .rex-products-five {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 599px) {
  .rex-products-five {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
