/* BBQ restaurant guide (/bbq-restaurants/). Loaded after events.css, whose
 * hero, search form, grid, facts and FAQ styles it reuses. */
.rs-card { display: flex; flex-direction: column; gap: 6px; background: var(--charcoal); border: 1px solid rgba(200,114,42,0.18); padding: 16px; min-width: 0; }
.rs-card.is-featured { border-color: rgba(200,114,42,0.6); }
.rs-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-badge { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dark); border: 1px solid rgba(200,114,42,0.35); padding: 3px 8px; border-radius: 2px; }
.rs-badge--featured { color: var(--black); background: var(--copper); border-color: var(--copper); }
.rs-badge--mr { color: var(--copper-light); border-color: var(--copper-light); }
.rs-name { font-size: 1.1rem; line-height: 1.3; margin: 2px 0 0; color: var(--cream); overflow-wrap: anywhere; }
.rs-name a { color: inherit; text-decoration: none; }
.rs-name a:hover { color: var(--copper-light); text-decoration: underline; }
.rs-meta { font-size: 0.88rem; color: var(--smoke); margin: 0; }
.rs-scores { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 10px; font-size: 0.9rem; }
.rs-bark-score { color: var(--cream); }
.rs-bark-score strong { color: var(--copper-light); font-size: 1.05rem; }
.rs-bark-score span { color: var(--smoke); }
.rs-bark-score--none { color: var(--smoke); }
.rs-google { color: var(--cream-dark); min-height: 1.4em; }
.rs-google a { color: var(--copper-light); }
.rs-google a:hover { color: var(--copper-light); }
.rs-google .rs-gstars { color: #fbbc04; letter-spacing: 1px; }
.rs-open { color: #6fbf73; }
.rs-closed { color: var(--smoke); }
.rs-closed-perm { color: #e57373; font-weight: 600; }
.rs-card .ev-actions { margin-top: auto; }
.rs-attr { font-size: 0.8rem; color: var(--smoke); margin: 20px 0 0; }
.rs-gmaps { font-family: Roboto, Arial, sans-serif; color: var(--cream-dark); }
.rs-hero-scores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 1.05rem; }
.rs-loc + .rs-loc { margin-top: 12px; }
.rs-loc .ev-facts dd[data-f="hours"] { white-space: pre-line; font-size: 0.92rem; }
.rs-rate { margin-top: 36px; padding: 24px; background: var(--charcoal); border: 1px solid rgba(200,114,42,0.3); }
.rs-rate .ev-h2 { margin-top: 0; }
.rs-rate-summary { color: var(--cream-dark); margin: 0 0 16px; }
.rs-rate-summary strong { color: var(--copper-light); font-size: 1.6rem; font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.03em; }
.rs-flames { color: var(--copper); letter-spacing: 1px; }
.rs-stars-set { border: 0; padding: 0; margin: 0 0 16px; }
.rs-stars-set legend { color: var(--cream); margin-bottom: 8px; padding: 0; }
.rs-rate-fields { max-width: none; }
.rs-rate .rr-reviews { max-width: none; margin-top: 24px; }
.rs-checks { gap: 10px; }
.rs-checks label { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--cream); cursor: pointer; }
.rs-checks input { width: 20px; height: 20px; min-height: 0; accent-color: var(--copper); }
.rs-suggest { color: var(--cream-dark); margin: 20px 0 0; }
.rs-suggest a { color: var(--copper-light); }
.rs-claim { margin-top: 40px; }
#rsClaim, #rsSuggest { margin-bottom: 24px; }
@media (max-width: 600px) {
  .rs-rate { padding: 16px; }
}
/* Rating form: dish + name side by side, comment and button full width. */
.rs-rate-fields .ev-field { grid-column: span 2; }
.rs-rate-fields .ev-field--wide, .rs-rate-fields .ev-field--actions { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .rs-rate-fields .ev-field, .rs-rate-fields .ev-field--wide { grid-column: auto; }
}
/* .ev-field / .ev-btn set display, which beats the [hidden] attribute. */
.rs-loc [hidden], #rsClaim [hidden] { display: none !important; }

/* Pitmasters to Follow (/pitmasters/) */
.pm-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.pm-videos--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 4px 0 14px; }
.pm-video { display: flex; flex-direction: column; gap: 6px; color: var(--cream); text-decoration: none; min-width: 0; }
.pm-video img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--charcoal); border: 1px solid rgba(200,114,42,0.18); }
.pm-video:hover .pm-video-title { color: var(--copper-light); text-decoration: underline; }
.pm-video-title { font-size: 0.95rem; line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pm-video-meta { font-size: 0.8rem; color: var(--smoke); }
.pm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.pm-card { background: var(--charcoal); border: 1px solid rgba(200,114,42,0.18); padding: 18px; min-width: 0; }
.pm-head { display: flex; gap: 14px; align-items: flex-start; }
.pm-rank { flex: 0 0 auto; font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; line-height: 1; color: var(--copper); min-width: 1.6ch; }
.pm-who { min-width: 0; }
.pm-name { font-size: 1.15rem; margin: 2px 0 2px; color: var(--cream); }
.pm-name a { color: inherit; text-decoration: none; }
.pm-name a:hover { color: var(--copper-light); text-decoration: underline; }
.pm-stats { font-size: 0.82rem; color: var(--smoke); margin: 0; }
.pm-blurb { color: var(--cream-dark); line-height: 1.6; margin: 10px 0 12px; }
#rsCreator { margin-top: 12px; }
@media (max-width: 600px) {
  .pm-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pm-card { padding: 14px; }
}
.rs-claiming { grid-column: 1 / -1; color: var(--cream); margin: 0; }
/* Trending (our own activity data; see netlify/functions/lib/activity.js) */
.rs-badge--hot { color: #0a0807; background: #e8a33d; border-color: #e8a33d; font-weight: 700; cursor: help; }
.rs-trend-why { color: #e8a33d; font-size: 0.92rem; margin: 10px 0 0; }
.rs-trend-note { margin: -4px 0 14px; }
.ev-quick button[aria-pressed="true"] { background: var(--copper); color: var(--black); border-color: var(--copper); }
/* Featured creator spotlight (/pitmasters/, "featured": true in data/pitmasters.json) */
.pm-feature { margin: 0 0 8px; padding: 24px; background: linear-gradient(135deg, #1f1409 0%, var(--charcoal) 70%); border: 2px solid var(--copper); box-shadow: 0 0 0 1px rgba(200,114,42,0.25), 0 12px 40px rgba(200,114,42,0.12); }
.pm-feature-head { max-width: 760px; }
.pm-feature-name { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: 0.03em; line-height: 1; color: var(--cream); margin: 12px 0 6px; }
.pm-feature-name a { color: inherit; text-decoration: none; }
.pm-feature-name a:hover { color: var(--copper-light); }
.pm-feature .pm-blurb { font-size: 1.05rem; margin: 6px 0 6px; }
.pm-feature .pm-stats { margin-bottom: 18px; }
.pm-videos--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 20px; }
.pm-card--featured { border: 2px solid var(--copper); background: linear-gradient(135deg, #1f1409 0%, var(--charcoal) 60%); }
.pm-card--featured .pm-who .rs-badge { display: inline-block; margin-bottom: 4px; }
@media (max-width: 700px) {
  .pm-feature { padding: 16px; }
  .pm-videos--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-videos--three .pm-video:nth-child(3) { display: none; }
}
/* Featured BBQ Spot spotlight (hub; "featured": true in data/restaurants.json) */
.rs-feature { margin: 0 0 28px; padding: 26px; gap: 8px; background: linear-gradient(135deg, #1f1409 0%, var(--charcoal) 70%); border: 2px solid var(--copper); box-shadow: 0 0 0 1px rgba(200,114,42,0.25), 0 12px 40px rgba(200,114,42,0.12); }
.rs-feature .rs-badge { align-self: flex-start; }
.rs-feature-name { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.2rem); letter-spacing: 0.03em; line-height: 1; color: var(--cream); margin: 10px 0 0; }
.rs-feature-name a { color: inherit; text-decoration: none; }
.rs-feature-name a:hover { color: var(--copper-light); }
.rs-feature-blurb { color: var(--cream-dark); font-size: 1.05rem; line-height: 1.65; margin: 4px 0; max-width: 760px; }
.rs-feature .rs-scores { font-size: 1rem; }
.rs-feature-events { margin: 4px 0 14px; }
.rs-feature-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper); margin-bottom: 6px; }
.rs-feature-events ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rs-feature-events a { color: var(--copper-light); }
.rs-feature-events a:hover { color: var(--copper-light); }
.rs-feature-events span { color: var(--smoke); font-size: 0.88rem; }
.rs-feature .ev-actions { margin-top: 6px; }
@media (max-width: 600px) { .rs-feature { padding: 18px; } }

/* Shop CTA on state + city pages */
.rs-shop-cta { margin: 32px 0; }
.rs-shop-cta .rs-shop-cta-h { margin: 0 0 8px; }
.rs-shop-cta .btn { margin-top: 8px; }
.rs-shop-cta .rs-shop-cta-sub { margin: 14px 0 0; font-size: 0.85rem; }
.rs-shop-cta .rs-shop-cta-sub a { color: var(--copper-light); }

/* "Going here?" + claim inline forms (assets/rs-forms.js) */
.rs-rate-sub { color: var(--cream-dark); margin: -4px 0 16px; }
.rs-visit-btn { background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; }
.rs-visit-row { margin: 14px 0 0; }
.rs-visit-row .rs-visit-btn { color: var(--copper-light); font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
.rs-claim-row { margin: 32px 0 0; }
.rs-claim-link { background: none; border: 0; padding: 0; font: inherit; font-size: 0.9rem; color: var(--copper-light); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.rs-inline-form { margin: 14px 0 6px; padding: 18px; border: 1px solid rgba(200,114,42,0.3); background: var(--charcoal); max-width: 640px; box-sizing: border-box; width: 100%; }
.rs-inline-form form { display: grid; gap: 12px; }
.rs-inline-form .ev-field input, .rs-inline-form .ev-field select { width: 100%; box-sizing: border-box; }
.rs-inline-intro { color: var(--cream-dark); font-size: 0.88rem; line-height: 1.6; margin: 0 0 14px; }
.rs-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; line-height: 1.5; color: var(--cream-dark); }
.rs-consent input { margin-top: 3px; flex: none; }
.rs-inline-form .btn { justify-self: start; }
.rs-inline-form .btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.rs-inline-done { margin: 0; color: var(--cream); font-weight: 600; }
.rs-card .rs-inline-form { padding: 14px; }
.rs-claimed { margin: 32px 0 0; color: var(--copper-light); font-size: 0.9rem; font-weight: 600; }
.rs-badge--claimed { border-color: rgba(200,114,42,0.5); color: var(--copper-light); }

/* Owner photos (assets/rs-photos.js on restaurant pages, assets/owner-photos.js upload page) */
.rs-photos { margin-top: 36px; }
.rs-photo-grid, .op-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 24px; }
.rs-photo-grid figure, .op-photo { margin: 0; background: var(--charcoal); border: 1px solid rgba(200,114,42,0.3); }
.rs-photo-grid img, .op-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.rs-photo-grid figcaption, .op-photo figcaption { padding: 8px 10px; font-size: 0.85rem; color: var(--cream-dark); }
.op-photo .ev-clear { margin: 0 10px 10px; }
