/* PLBK Reviews. Colours follow the law firm theme's variables, with its navy/brass values as fallbacks. */
.nmr { --nmr-navy: var(--txc-ink, #13233f); --nmr-mute: var(--txc-muted, #4a5568); --nmr-line: var(--txc-border, #e3ded2); --nmr-star: var(--txc-star, #b7862b); --nmr-card: var(--txc-surface-alt, #f6f3ec); display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 32px; border: 1px solid var(--nmr-line); border-radius: var(--txc-radius, 14px); padding: clamp(22px, 3vw, 36px); background: var(--txc-surface, #fff); color: var(--nmr-navy); }
.nmr > h2 { grid-column: 1 / -1; margin: 0; }
.nmr h2 { color: var(--nmr-navy); font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; margin: 0; }
.nmr-summary__num { margin: 14px 0 0; font-size: 44px; font-weight: 800; line-height: 1; color: var(--nmr-navy); }
.nmr-summary__count { margin: 6px 0 0; color: var(--nmr-mute); font-size: 15px; }
.nmr-summary__label { margin: 14px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nmr-mute); }
.nmr-summary__label + .nmr-summary__num { margin-top: 6px; }
.nmr-summary__link { margin: 14px 0 0; font-size: 15px; font-weight: 600; }
.nmr-summary__link a { color: var(--txc-accent, #1f4e8c); text-underline-offset: 4px; }
.nmr-stars { position: relative; display: inline-block; font-size: 20px; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.nmr-stars__bg { color: #d6dde6; }
.nmr-stars__fg { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--nmr-star); }
.nmr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.nmr-card { background: var(--nmr-card); border: 1px solid var(--nmr-line); border-radius: var(--txc-radius-sm, 10px); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.nmr-card .nmr-stars { font-size: 16px; }
.nmr-card__text { margin: 0; padding: 0; border: 0; font-size: 16px; line-height: 1.6; font-style: normal; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.nmr-card__by { margin-top: auto; display: flex; gap: 10px; align-items: center; line-height: 1.3; }
.nmr-card__by img { border-radius: 50%; }
.nmr-card__avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--nmr-navy); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.nmr-card__by strong { color: var(--nmr-navy); font-size: 15px; }
.nmr-card__by small { display: block; color: var(--nmr-mute); font-size: 13px; }
.nmr-card__by a { text-decoration: none; }
.nmr-attrib { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--nmr-mute); }
.nmr-inline { display: inline-flex; align-items: center; gap: 6px; }
.nmr-inline .nmr-stars { font-size: 16px; }
.nmr-inline span:last-child { color: var(--nmr-mute); }
@media (max-width: 720px) { .nmr { grid-template-columns: 1fr; } }
.nmr--no-summary { grid-template-columns: 1fr; }

/* Per-office Google links (only with more than one listing) */
.nmr-locs { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.nmr-locs a, .nmr-locs__nolink { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--nmr-line); border-radius: 10px; background: #fff; text-decoration: none; color: var(--nmr-navy); font-weight: 650; font-size: 15px; transition: border-color .15s, background-color .15s; }
.nmr-locs a:hover { border-color: var(--nmr-navy); background: #f6f9fc; }
.nmr-locs a::after { content: ""; flex: none; width: 14px; height: 14px; margin-left: 2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat; }
.nmr-locs__name { flex: 1; min-width: 0; }
.nmr-locs__score { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nmr-locs__score span { color: var(--nmr-star); }
.nmr-locs__score small { color: var(--nmr-mute); font-weight: 500; }
.nmr-locs__hint { margin: 8px 0 0; font-size: 13px; color: var(--nmr-mute); }
.nmr-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Slider */
.nmr-slider { min-width: 0; --nmr-per: 2; --nmr-gap: 18px; }
.nmr--no-summary .nmr-slider { --nmr-per: 3; }
.nmr-slider__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.nmr-slider__pos { margin: 0; font-size: 14px; color: var(--nmr-mute); font-variant-numeric: tabular-nums; }
.nmr-slider__nav { display: flex; gap: 8px; }
.nmr-slider__btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--nmr-line); background: #fff; color: var(--nmr-navy); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, opacity .15s; }
.nmr-slider__btn:hover:not(:disabled) { border-color: var(--nmr-navy); }
.nmr-slider__btn:disabled { opacity: .35; cursor: default; }
.nmr-slider.is-static .nmr-slider__nav, .nmr-slider.is-static .nmr-slider__dots { display: none; }
.nmr .nmr-slider__track { display: flex; gap: var(--nmr-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px 2px 6px; margin: 0; list-style: none; grid-template-columns: none; }
.nmr-slider__track::-webkit-scrollbar { display: none; }
.nmr-slider__track:focus-visible { outline: 3px solid var(--txc-focus, #1f4e8c); outline-offset: 4px; border-radius: 14px; }
.nmr-slider__track > .nmr-card { box-sizing: border-box; flex: 0 0 calc((100% - (var(--nmr-per) - 1) * var(--nmr-gap)) / var(--nmr-per)); scroll-snap-align: start; min-width: 0; }
.nmr-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.nmr-slider__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--nmr-line); cursor: pointer; transition: width .2s, background-color .2s; }
.nmr-slider__dots button.is-on { width: 22px; background: var(--nmr-navy); }
.nmr-editor-note { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: #fff7d6; color: #5b4a00; font-size: 14px; grid-column: 1 / -1; }
@media (max-width: 1000px) { .nmr-slider { --nmr-per: 2; } }
@media (max-width: 720px) { .nmr-slider, .nmr--no-summary .nmr-slider { --nmr-per: 1.12; } }

/* Testimonial disclaimer: required under every review display (Bus. & Prof. Code §6157.2). */
.nmr-disclaimer { grid-column: 1 / -1; }
.nmr-disclaimer .txc-disclaimer { margin: 0; font-size: 13px; line-height: 1.5; color: var(--nmr-mute); }
.nmr-attrib { margin-top: -12px; }
.nmr-inline-link { color: inherit; text-decoration: none; }
