/* BRAND_CATEGORIES_ON (brand_categories.py): Design's approved Ratings by category look (Q81 final, Brandon Q87 A): each category's name at the left, its stars, figure and count
   at the right; one column on a phone (the name and the stars on the first line, the figure and count under the name), two columns from 768 px. */
.owner-categories{margin:16px 0}
.owner-categories>h3{margin:0 0 8px;font-size:16px}
.owner-category-ratings{display:grid;grid-template-columns:minmax(0,1fr);column-gap:24px;margin:0}
.owner-category-rating{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;padding:8px 0;border-bottom:1px solid var(--line)}
.owner-category-rating>dt{min-width:0;margin:0;color:var(--ink);font-weight:600;overflow-wrap:anywhere}
.owner-category-rating>dd{display:grid;justify-items:end;gap:2px;margin:0;font-size:14px}
.owner-category-score{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.owner-category-count{color:var(--muted);font-size:14px}
.owner-category-rating.is-unrated>dd>.owner-category-score>strong{color:var(--muted);font-weight:400}
@media (min-width:768px){.owner-category-ratings{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){
  .owner-category-rating{grid-template-columns:auto minmax(0,1fr) auto;gap:2px 6px}
  .owner-category-rating>dt{grid-row:1;grid-column:1/3}
  .owner-category-rating>dd,.owner-category-rating .owner-category-score{display:contents}
  .owner-category-rating .rating-stars{grid-row:1;grid-column:3;justify-self:end}
  .owner-category-rating>dd strong{grid-row:2;grid-column:1;font-size:14px}
  .owner-category-count{grid-row:2;grid-column:2}
  .owner-category-count::before{content:"· "}
  .owner-category-rating.is-unrated>dd strong{grid-column:1/3}
}
