/* Mamahotel joke rating: "Co nabízí Mamahotel" (LAND-02, D-01..D-04).
   Portability contract: every selector starts with .mh- and every colour comes from tokens.css (var(--mh-*)).
   Stars are CSS shapes (the star glyphs are not in the self-hosted fonts); the value is also printed as text,
   because the unlit star colour alone is only 1.66:1 on the card. No animation in this file. */

.mh-rating {
  width: calc(100% - 2 * var(--mh-space-4));
  margin: var(--mh-space-8) auto 0;
  padding: var(--mh-space-6);
  border: 1px solid var(--mh-surface-line);
  border-radius: var(--mh-radius-lg);
  background: var(--mh-surface);
}

/* ---- the overall header card: hotel name, caption, one lit star ---- */
.mh-rating__head {
  margin: 0 0 var(--mh-space-4);
  padding-bottom: var(--mh-space-4);
  border-bottom: 1px solid var(--mh-surface-line);       /* decorative line */
}

.mh-rating__head p {
  margin: 0;
}

.mh-rating__hotel {
  font-family: var(--mh-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.mh-rating__caption {
  color: var(--mh-text-muted);
  font-size: 0.9375rem;
}

.mh-rating__head .mh-rating__overall {
  display: flex;
  align-items: center;
  gap: var(--mh-space-3);
  margin-top: var(--mh-space-2);
}

.mh-rating__overall .mh-star {
  width: 1.5rem;
  height: 1.5rem;
}

.mh-rating__overall .mh-rating__score {
  color: var(--mh-text);
  font-size: 1.25rem;
}

/* ---- stars: same polygon as the neon sign (hero.css .mh-sign__star) ---- */
.mh-stars {
  display: inline-flex;
  flex: none;
  gap: 0.2em;
}

.mh-star {
  width: 1.1rem;
  height: 1.1rem;
  background: var(--mh-star);
  clip-path: polygon(50% 0, 62% 35%, 98% 36%, 69% 57%, 80% 92%, 50% 71%, 20% 92%, 31% 57%, 2% 36%, 38% 35%);
}

.mh-star--off {
  background: var(--mh-star-off);
}

/* ---- the six rows ---- */
.mh-rating__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mh-rating__row {
  padding: var(--mh-space-3) 0;
  border-top: 1px solid var(--mh-surface-line);          /* decorative line */
}

.mh-rating__row:first-child {
  border-top: 0;
}

.mh-rating__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--mh-space-1) var(--mh-space-3);
  margin: 0;
}

.mh-rating__name {
  flex: 1 1 9rem;
  font-weight: 600;
}

.mh-rating__score {
  color: var(--mh-text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.mh-rating__joke {
  margin: var(--mh-space-1) 0 0;
  color: var(--mh-text);
}

/* ---- the turn: leads into the calm cream section ---- */
.mh-rating__turn {
  margin: var(--mh-space-6) 0 0;
  font-family: var(--mh-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
