/* One visual system for generated and migrated VirtuousReviews categories. */
:root {
  --vr-ink: #161616;
  --vr-muted: #625c5d;
  --vr-accent: #a63214;
  --vr-border: #e9e5e3;
  --vr-soft: #fff8f4;
}
body.vr-category-page,
body:has(> header .header-inner) {
  color: var(--vr-ink);
  background: #fff;
}
body.vr-category-page header,
body:has(> header .header-inner) > header {
  border-bottom: 1px solid var(--vr-border);
}
body.vr-category-page .nav {
  min-height: 90px;
}
body.vr-category-page main.wrap {
  width: 100%;
  max-width: none;
  padding: 0 0 70px;
}
body.vr-category-page main.wrap > .vr-crumb,
body.vr-category-page main.wrap > .eyebrow,
body.vr-category-page main.wrap > h1 {
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--vr-soft);
}
body.vr-category-page main.wrap > .vr-crumb {
  margin: 0;
  padding-top: 37px;
  padding-bottom: 24px;
}
body.vr-category-page main.wrap > .eyebrow {
  color: var(--vr-accent);
  padding-bottom: 9px;
}
body.vr-category-page main.wrap > h1 {
  margin: 0 0 34px;
  padding-bottom: 43px;
  font-size: clamp(35px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  border-bottom: 1px solid var(--vr-border);
}
body.vr-category-page main.wrap > .copy,
body.vr-category-page main.wrap > .vr-company-results,
body.vr-category-page main.wrap > .vr-category-related {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
body.vr-category-page .vr-company-grid,
.results .company-grid:not(.ranked-list) {
  grid-template-columns: 1fr;
  gap: 12px;
}
body.vr-category-page .vr-company-card,
.results .company-grid:not(.ranked-list) .company-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 22px;
  padding: 18px 22px;
  border: 1px solid var(--vr-border);
  border-radius: 15px;
  box-shadow: 0 5px 18px #31180d08;
}
body.vr-category-page .vr-company-card h3,
body.vr-category-page .vr-company-card p {
  grid-column: 1;
  margin: 0;
}
body.vr-category-page .vr-company-card .vr-card-action,
.results .company-grid:not(.ranked-list) .profile-link {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--vr-accent);
  border-radius: 9px;
  color: var(--vr-accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
body.vr-category-page .vr-company-card .vr-card-action:hover,
.results .company-grid:not(.ranked-list) .profile-link:hover {
  color: #fff;
  background: var(--vr-accent);
}
body.vr-category-page .vr-related-links a,
.main .grid .item {
  border-color: var(--vr-border);
  border-radius: 15px;
  background: #fff;
  min-height: 70px;
}
body.vr-category-page .vr-related-links a:hover,
.main .grid .item:hover {
  border-color: var(--vr-accent);
  background: var(--vr-soft);
}
@media (max-width: 650px) {
  body.vr-category-page .vr-company-card,
  .results .company-grid:not(.ranked-list) .company-card {
    grid-template-columns: 1fr;
  }
  body.vr-category-page .vr-company-card .vr-card-action,
  .results .company-grid:not(.ranked-list) .profile-link {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 10px;
  }
}

/* Shared company result card for taxonomy, observed categories and locations. */
.results .company-grid,
body.vr-category-page .vr-company-grid{display:grid;grid-template-columns:1fr;gap:12px}
.results .vr-listing-card,
body.vr-category-page .vr-listing-card{
  display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;
  gap:18px;padding:19px 22px;border:1px solid var(--vr-border);
  border-radius:16px;background:#fff;box-shadow:0 5px 18px #31180d08;min-width:0
}
.vr-listing-card:hover{border-color:#dfb6a7;box-shadow:0 9px 25px #31180d12}
.vr-listing-rank{grid-column:1;grid-row:1;display:grid;place-items:center;width:56px;height:56px;border-radius:12px;background:#a63214;color:#fff;font-size:17px;font-weight:800}
.vr-listing-card.is-ranked{grid-template-columns:56px 56px minmax(0,1fr) auto}
.vr-listing-card.is-ranked .vr-listing-logo{grid-column:2}
.vr-listing-card.is-ranked .vr-listing-details{grid-column:3}
.vr-listing-card.is-ranked .vr-listing-action{grid-column:4}
.vr-listing-logo{grid-column:1;grid-row:1;display:grid;place-items:center;width:56px;height:56px;border:1px solid #e9d2c7;border-radius:12px;background:#fff8f4;color:#a63214;font-size:25px;font-weight:800;overflow:hidden}
.vr-listing-logo img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.vr-listing-details{grid-column:2;grid-row:1;min-width:0}
.vr-listing-card h3{margin:0;font-size:20px;line-height:1.25;letter-spacing:-.3px}
.vr-listing-card h3 a{color:#241f1e;text-decoration:none}
.vr-listing-card h3 a:hover{color:#a63214;text-decoration:underline}
.vr-listing-card .vr-listing-location,.vr-listing-card .vr-listing-rating,.vr-listing-card .vr-listing-description{margin:4px 0 0;color:#625c5d;font-size:13px;line-height:1.45}
.vr-listing-card .vr-listing-rating{color:#514647;font-weight:650}
.vr-listing-card .vr-listing-rating span:first-child{color:#a63214}
.vr-listing-card .vr-listing-description{font-size:14px;margin-top:7px;max-width:76ch}
.vr-listing-sponsor{display:inline-block;margin-bottom:5px;padding:3px 8px;border-radius:6px;background:#fff2ce;color:#765516;font-size:11px;font-weight:800}
.vr-listing-action{grid-column:3;grid-row:1;justify-self:end;padding:10px 15px;border:1px solid #a63214;border-radius:9px;color:#a63214;font-size:13px;font-weight:750;text-decoration:none;white-space:nowrap}
.vr-listing-action:hover{background:#a63214;color:#fff;text-decoration:none}
.vr-listing-card:focus-within{outline:2px solid #c73512;outline-offset:2px}
@media(max-width:700px){
  .results .vr-listing-card,body.vr-category-page .vr-listing-card{grid-template-columns:48px minmax(0,1fr);align-items:start;gap:12px;padding:16px}
  .vr-listing-card.is-ranked{grid-template-columns:48px 48px minmax(0,1fr)}
  .vr-listing-rank,.vr-listing-logo{width:48px;height:48px}
  .vr-listing-card.is-ranked .vr-listing-logo{grid-column:2}
  .vr-listing-card.is-ranked .vr-listing-details{grid-column:3}
  .vr-listing-action,.vr-listing-card.is-ranked .vr-listing-action{grid-column:1/-1;grid-row:2;justify-self:start}
  .vr-listing-card h3{font-size:17px}
}
