/* Standard Knox — self-hosted Google reviews widget (footer badge + slider).
   Rebuilds what Trustindex did, driven by our own /api/reviews proxy.
   Namespaced .skr-* so it can't collide with Squarespace styles. */

.skr-stars { display: inline-flex; gap: 2px; vertical-align: middle; line-height: 0; }
.skr-stars svg { width: 18px; height: 18px; fill: #fbbc05; }
.skr-gword { font-weight: 700; letter-spacing: .2px; }

/* ---------- Slider section ---------- */
/* The enclosing Squarespace section is darkened to #333333 by the widget JS
   (scoped to the mount's own section, full-bleed incl. vertical padding). The
   widget itself carries the same dark as a fallback and keeps its content within
   the standard site container so it lines up with the rest of the page. */
.skr-section {
  padding: 0;
  background: #333333;
  color: #fff;
  font-family: inherit;
}
.skr-inner {
  max-width: var(--sqs-site-max-width, 1500px);
  margin: 0 auto;
  padding: 0 var(--sqs-site-gutter, 4vw);
  box-sizing: border-box;
}
.skr-head { max-width: 780px; margin: 0 auto; text-align: center; }
.skr-eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700;
}
.skr-title { margin: 10px 0 0; font-size: 32px; line-height: 1.15; font-weight: 700; color: #fff; }
.skr-sub { margin: 12px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.5; }

.skr-overall {
  margin: 26px auto 0; max-width: 100%; background: #fff; border: 1px solid #e4dfd4; color: #1a1a1a;
  border-radius: 14px; padding: 14px 20px; display: flex; flex-wrap: wrap;
  align-items: center; gap: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.skr-overall .skr-label { font-weight: 700; }
.skr-overall .skr-rating-num { font-weight: 700; font-size: 18px; }
.skr-overall .skr-count { color: #555; font-size: 14px; }
.skr-overall .skr-sep { color: #ccc; }
.skr-write {
  margin-left: auto; background: #111; color: #fff; text-decoration: none;
  padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; letter-spacing: .03em;
  white-space: nowrap; transition: background .2s;
}
.skr-write:hover { background: #333; }
@media (max-width: 560px) { .skr-write { margin-left: 0; } }

.skr-slider { margin-top: 28px; position: relative; }
.skr-viewport { overflow: hidden; margin: 0 60px; padding: 8px 2px; }
.skr-track { display: flex; transition: transform .5s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.skr-cell { flex: 0 0 var(--skr-cell, 33.3333%); box-sizing: border-box; padding: 0 10px; display: flex; min-width: 0; }
@media (max-width: 640px) { .skr-viewport { margin: 0 46px; } .skr-cell { padding: 0 8px; } }

.skr-card {
  background: #fff; border: 1px solid #e4dfd4; border-radius: 16px; padding: 22px; color: #1a1a1a;
  box-shadow: 0 4px 16px rgba(0,0,0,.05); display: flex; flex-direction: column;
  width: 100%; min-width: 0; overflow-wrap: anywhere; word-break: break-word;
}
.skr-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.skr-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px;
}
.skr-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.skr-meta { flex: 1; min-width: 0; }
.skr-author { font-weight: 700; font-size: 15px; margin: 0 0 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skr-date { color: #777; font-size: 13px; }
.skr-gicon { width: 22px; height: 22px; flex-shrink: 0; }
.skr-card .skr-stars { margin-bottom: 10px; }
.skr-text {
  color: #444; font-size: 14px; line-height: 1.55; margin: 0 0 10px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical;
}
.skr-text.skr-expanded { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
.skr-more {
  background: none; border: 0; padding: 0; color: #111; font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em; cursor: pointer; align-self: flex-start; margin-top: auto;
}
.skr-more:hover { color: #555; }

.skr-arrow {
  position: absolute; top: 46%; transform: translateY(-50%); width: 44px; height: 44px;
  border-radius: 50%; border: none; background: #111; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2;
  transition: background .2s, opacity .2s; padding: 0;
}
.skr-arrow:hover:not(:disabled) { background: #333; }
.skr-arrow svg { width: 20px; height: 20px; fill: currentColor; }
.skr-arrow--left { left: 6px; } .skr-arrow--right { right: 6px; }
.skr-arrow:disabled { opacity: .3; cursor: default; }
@media (max-width: 640px) { .skr-arrow { width: 40px; height: 40px; } .skr-arrow--left { left: 2px; } .skr-arrow--right { right: 2px; } }

.skr-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.skr-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #cabf9f; cursor: pointer; transition: transform .2s, background .2s; }
.skr-dot.skr-active { background: #111; transform: scale(1.3); }

.skr-empty { text-align: center; padding: 30px 0; color: #777; }

/* ---------- Footer badge: Google "Top Rated Service" card ---------- */
.skr-badge-wrap { display: flex; justify-content: center; padding: 26px 16px; }
.skr-badge-block .sqs-block-content { display: flex; }
.skr-badge {
  display: inline-flex; align-items: center; gap: 14px; background: #fff;
  border-radius: 14px; padding: 13px 22px; text-decoration: none; color: #1a1a1a;
  box-shadow: 0 3px 16px rgba(0,0,0,.12); font-family: inherit;
  transition: box-shadow .2s, transform .2s;
}
.skr-badge:hover { box-shadow: 0 6px 22px rgba(0,0,0,.16); transform: translateY(-1px); }
.skr-badge .skr-gicon { width: 46px; height: 46px; }
.skr-badge-body { display: flex; flex-direction: column; gap: 3px; }
.skr-badge-top { display: flex; align-items: center; gap: 8px; }
.skr-badge-top .skr-stars svg { width: 19px; height: 19px; }
.skr-badge-rating { font-weight: 700; font-size: 20px; line-height: 1; color: #1a1a1a; }
.skr-badge-label { font-weight: 600; font-size: 16px; line-height: 1; color: #2b2b2b; }
