/* Trust tiles (inc/trust.php): rating, years, customers, shop, phone — icon, big value, short label. */
.cg-proof { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; background: var(--erp-bg); border: 1px solid var(--erp-line); border-radius: var(--erp-r-lg, 16px); box-shadow: 0 1px 2px rgba(17, 20, 24, .04); }
.cg-proof > li { display: flex; min-width: 0; }
.cg-proof > li + li { border-left: 1px solid var(--erp-line); }
.cg-proof__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; color: inherit; text-decoration: none; border-radius: inherit; transition: background .15s; }
a.cg-proof__item:hover { background: var(--erp-soft, #f6f6f7); }
.cg-proof__ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--erp-primary-50, #fdecec); color: var(--erp-primary); }
.cg-proof__ic svg { width: 20px; height: 20px; }
.cg-proof__item--rating .cg-proof__ic { background: #fff5dd; color: #e29400; }
.cg-proof__item--rating .cg-proof__ic svg { fill: currentColor; }
.cg-proof__txt { display: grid; gap: 1px; min-width: 0; }
.cg-proof__txt b { display: flex; align-items: center; gap: 6px; font-size: 1.12rem; font-weight: 800; line-height: 1.15; color: var(--erp-ink); white-space: nowrap; }
.cg-proof__txt small { overflow: hidden; font-size: .78rem; line-height: 1.3; color: var(--erp-muted); text-overflow: ellipsis; white-space: nowrap; }
a.cg-proof__item small { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .15s; }
a.cg-proof__item:hover small { text-decoration-color: currentColor; }
.cg-proof__stars { position: relative; display: inline-block; height: 13px; line-height: 0; }
.cg-proof__stars > span { display: inline-flex; gap: 1px; }
.cg-proof__stars > span:last-child { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.cg-proof__stars svg { width: 13px; height: 13px; fill: #d9dbe0; }
.cg-proof__stars > span:last-child svg { fill: #f5a524; }

/* Category pages: one row between the banner and the toolbar */
.cg-proof--archive { margin: 4px 0 18px; }
/* Quote page hero: two columns of tiles under the lead */
.cg-proof--hero { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
.cg-proof--hero > li + li { border-left: 0; }
.cg-proof--hero > li { border-top: 1px solid var(--erp-line); }
.cg-proof--hero > li:nth-child(-n+2) { border-top: 0; }
.cg-proof--hero > li:nth-child(even) { border-left: 1px solid var(--erp-line); }
.cg-proof--hero > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cg-proof--hero .cg-proof__txt small { white-space: normal; }

@media (max-width: 1100px) {
	.cg-proof--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cg-proof--archive > li:nth-child(n+4) { border-top: 1px solid var(--erp-line); }
	.cg-proof--archive > li:nth-child(4) { border-left: 0; }
}
@media (max-width: 700px) {
	/* phones: one row that scrolls sideways (keeps the page short) */
	.cg-proof--archive { display: flex; overflow-x: auto; margin-inline: calc(var(--erp-gutter, 16px) * -1); border-radius: 0; border-width: 1px 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.cg-proof--archive::-webkit-scrollbar { display: none; }
	.cg-proof--archive > li { flex: 0 0 auto; scroll-snap-align: start; border-top: 0 !important; }
	.cg-proof--archive > li:nth-child(4) { border-left: 1px solid var(--erp-line); }
	.cg-proof__item { padding: 10px 14px; gap: 10px; }
	.cg-proof__ic { width: 34px; height: 34px; border-radius: 10px; }
	.cg-proof__txt b { font-size: 1rem; }
}
