/* The Google rating block under the business name on the listing page (app/views/shared/_google_rating.html.erb). A plain
   file, not a <style> tag in the page, in the way of listing-cards.css. */
.le-g-block { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 2px 0 12px; }
.le-g-tile { width: 42px; height: 42px; flex: none; border-radius: 10px; background: #e8f0fe; display: flex; align-items: center; justify-content: center; }
.le-g-tile svg { width: 21px; height: 21px; fill: #1a73e8; }
.le-g-text { flex: 1 1 0; min-width: 0; }   /* shares the line with the tile; the hours row below takes a whole line */
.le-g-source { font: 600 10.5px/1.2 Montserrat, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #7a7f87; margin-bottom: 2px; }
.le-g-main { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 8px; color: #222; font: 500 15px/1.3 Montserrat, Arial, sans-serif; }
.le-g-main[hidden] { display: none; }
.le-g-num { font-weight: 700; }
.le-stars { position: relative; display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 1.5px; color: #d9dce1; white-space: nowrap; }
.le-stars::before { content: "\2605\2605\2605\2605\2605"; }
.le-stars > span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #fbbc04; }
.le-stars > span::before { content: "\2605\2605\2605\2605\2605"; }
.le-g-dot { color: #7a7f87; }
.le-g-count { font-weight: 500; }
/* !important because the theme colours links inside the listing title bar (see the same note in the distance styles) */
.le-g-block a.le-g-link { display: inline-block; margin-top: 2px; font: 600 12.5px/1.4 Montserrat, Arial, sans-serif; color: #0275d8 !important; text-decoration: none !important; transition: color .15s ease; }
.le-g-block a.le-g-link:hover, .le-g-block a.le-g-link:focus { color: #014c8c !important; text-decoration: underline !important; }
.le-g-link:focus-visible { outline: 2px solid #0275d8; outline-offset: 2px; border-radius: 2px; }
.le-g-arrow { font-size: 11px; }
/* on a phone the rating is on the first line, the number of reviews on the second and the link under them */
@media (max-width: 480px) {
  .le-g-block { align-items: flex-start; }
  .le-g-dot { display: none; }
  .le-g-count { flex-basis: 100%; }
}

/* opening hours, written the way Google Maps writes them: Open · Closes 8 pm, with the week behind the arrow */
.le-g-hours { flex: 0 0 100%; margin-top: 2px; }
.le-g-hours[hidden], .le-g-week[hidden] { display: none; }
.le-g-hours-toggle { display: flex; align-items: center; gap: 8px; margin: 0; padding: 4px 0; background: none; border: 0; cursor: pointer; text-align: left; font: 500 14px/1.3 Montserrat, Arial, sans-serif; color: #222; }
.le-g-hours-toggle:focus-visible { outline: 2px solid #0275d8; outline-offset: 2px; border-radius: 2px; }
.le-g-hours-toggle.le-g-static { cursor: default; }
.le-g-clock { width: 20px; height: 20px; flex: none; fill: none; stroke: #1a7f8e; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.le-g-hstatus { font-weight: 600; }
.le-g-hstatus.le-g-open { color: #188038; }
.le-g-hstatus.le-g-soon { color: #e37400; }
.le-g-hstatus.le-g-closed { color: #d93025; }
.le-g-chevron { color: #5f6368; font-size: 12px; transition: transform .15s ease; }
.le-g-hours-toggle[aria-expanded="true"] .le-g-chevron { transform: rotate(180deg); }
.le-g-static .le-g-chevron { display: none; }
.le-g-hours ul.le-g-week { list-style: none; margin: 2px 0 2px 28px; padding: 0; font: 400 13px/1.7 Asap, Arial, sans-serif; color: #444; }
.le-g-hours ul.le-g-week li { display: flex; gap: 14px; margin: 0; padding: 0; }
.le-g-week .le-g-day { min-width: 92px; }
.le-g-hours ul.le-g-week li.le-g-today { font-weight: 700; color: #222; }
.le-g-hsource { margin: 0 0 0 28px; font: 400 11px/1.4 Asap, Arial, sans-serif; color: #7a7f87; }
