/* ═══════════════════════════════════════════════════
   The Guilty Bar — Community (Reviews + Forum)
   ═══════════════════════════════════════════════════ */

/* ── Hero ── */
.comm-hero {
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(201,168,76,.16) 0%, transparent 70%), linear-gradient(160deg, #100d08 0%, #080604 100%);
  border-bottom: 1px solid rgba(201,168,76,.25);
  padding: 1.6rem 0 1.2rem;
  text-align: center;
}
.comm-hero h1 {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 2.2rem;
  color: #c9a84c;
  margin-bottom: .3rem;
}
.comm-hero p  { color: rgba(242,232,216,.65); font-size: .92rem; max-width: 600px; margin: 0 auto; }

/* ── Filter bar ── */
.comm-filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.comm-filter {
  background: #1e1810;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(242,232,216,.7);
  border-radius: 50px;
  padding: .4rem 1.1rem;
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.comm-filter:hover { border-color: #c9a84c; color: #c9a84c; }
.comm-filter.active { background: #c9a84c; border-color: #c9a84c; color: #100d08; }

/* ── Review card ── */
.comm-review-card {
  background: #1e1810;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color .2s;
}
.comm-review-card:hover { border-color: rgba(201,168,76,.3); }
.comm-review-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: .75rem; }
.comm-avatar {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, #c9a84c, #8b5cf6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff;
}
.comm-reviewer { font-weight: 700; color: #f2e8d8; font-size: .95rem; }
.comm-meta    { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .25rem; }
.comm-venue   { font-size: 1rem; font-weight: 700; color: #c9a84c; margin-bottom: .5rem; }
.comm-review-text { color: rgba(242,232,216,.8); font-size: .9rem; line-height: 1.7; }
.comm-stars   { color: #c9a84c; font-size: 1.1rem; letter-spacing: 2px; white-space: nowrap; }
.comm-time    { font-size: .75rem; color: rgba(242,232,216,.4); }
.comm-city    { font-size: .78rem; color: rgba(242,232,216,.5); }

/* ── Recipe card ── */
.comm-recipe-card {
  background: #1e1810;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color .2s;
}
.comm-recipe-card:hover { border-color: rgba(139,92,246,.3); }
.comm-recipe-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.comm-recipe-title  { font-size: 1.1rem; font-weight: 700; color: #f2e8d8; margin-bottom: .4rem; }
.comm-recipe-desc   { color: rgba(242,232,216,.7); font-size: .88rem; line-height: 1.6; margin-bottom: 0; }
.comm-ingredients-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #c9a84c; margin-bottom: .5rem; }
.comm-ingredients-list  { padding-left: 1.2rem; margin: 0; }
.comm-ingredients-list li { color: rgba(242,232,216,.8); font-size: .85rem; margin-bottom: .25rem; }
.comm-instructions  { color: rgba(242,232,216,.75); font-size: .85rem; line-height: 1.7; white-space: pre-line; margin: 0; }

/* ── Like button ── */
.comm-like-btn {
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.25);
  color: rgba(242,232,216,.6);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.comm-like-btn:hover, .comm-like-btn.liked { background: rgba(139,92,246,.3); border-color: #8b5cf6; color: #c4b5fd; }

/* ── Category badges ── */
.comm-cat-badge {
  display: inline-block;
  border-radius: 50px;
  padding: .15rem .65rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.comm-cat-bar      { background: rgba(201,168,76,.15); color: #c9a84c; }
.comm-cat-cocktail { background: rgba(236,72,153,.15); color: #ec4899; }
.comm-cat-beer     { background: rgba(251,146,60,.15); color: #fb923c; }
.comm-cat-wine     { background: rgba(139,92,246,.15); color: #a78bfa; }
.comm-cat-spirits  { background: rgba(34,211,238,.15); color: #22d3ee; }
.comm-cat-mocktail { background: rgba(52,211,153,.15); color: #34d399; }

/* ── Submit form card ── */
.comm-form-card {
  background: #1e1810;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
}
.comm-form-card h4  { color: #c9a84c; font-weight: 800; margin-bottom: .4rem; }
.comm-form-sub      { color: rgba(242,232,216,.5); font-size: .85rem; margin-bottom: 1.5rem; }
.form-label         { color: rgba(242,232,216,.8); font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.comm-input {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #f2e8d8 !important;
  border-radius: 10px !important;
}
.comm-input:focus {
  background: rgba(255,255,255,.08) !important;
  border-color: #c9a84c !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,.15) !important;
  color: #f2e8d8 !important;
}
.comm-input::placeholder { color: rgba(242,232,216,.3) !important; }
.comm-input option { background: #1e1810; color: #f2e8d8; }
.comm-hint { font-size: .75rem; color: rgba(242,232,216,.4); font-weight: 400; }

/* ── Star picker ── */
.comm-star-picker { display: flex; gap: .3rem; margin-bottom: .25rem; }
.comm-star {
  font-size: 1.8rem; cursor: pointer; color: rgba(255,255,255,.2);
  transition: color .15s, transform .1s;
  line-height: 1;
}
.comm-star.hover, .comm-star.selected { color: #c9a84c; transform: scale(1.15); }

/* ── Char count ── */
.comm-char-count { text-align: right; font-size: .72rem; color: rgba(242,232,216,.35); margin-top: .25rem; }

/* ── Submit button ── */
.comm-btn-submit {
  background: linear-gradient(135deg, #c9a84c, #a0832d);
  color: #100d08;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: .75rem;
  transition: opacity .2s;
}
.comm-btn-submit:hover { opacity: .88; color: #100d08; }
.comm-btn-submit:disabled { opacity: .6; }

/* ── Feedback states ── */
.comm-success {
  background: rgba(52,211,153,.1);
  border: 1px solid rgba(52,211,153,.3);
  color: #34d399;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
}
.comm-error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  color: #f87171;
  border-radius: 10px;
  padding: .75rem 1rem;
  margin-top: .75rem;
  font-size: .88rem;
}
.comm-loading, .comm-empty {
  color: rgba(242,232,216,.4);
  text-align: center;
  padding: 3rem 1rem;
  font-size: .95rem;
}

/* ── Blog page CTA banner ── */
.blog-reviews-cta {
  background: #1e1810;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  color: #f2e8d8;
  font-size: .9rem;
}
.blog-reviews-cta strong { color: #c9a84c; }
.blog-cta-btn {
  background: #c9a84c !important;
  color: #100d08 !important;
  font-weight: 700;
  font-size: .85rem;
  border: none;
  border-radius: 8px;
  padding: .45rem 1.1rem;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity .2s;
}
.blog-cta-btn:hover { opacity: .85; background: #c9a84c !important; color: #100d08 !important; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .comm-form-card { position: static; margin-top: 2rem; }
  .comm-hero h1 { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════
   Recipe Photo Cards (Forum curated section)
   ═══════════════════════════════════════════ */
.rc-search-wrap { position: relative; }
.rc-search-wrap i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: rgba(242,232,216,.3); pointer-events: none; }
.rc-search {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); color: #f2e8d8;
  border-radius: 50px; padding: .55rem 1rem .55rem 2.6rem;
  font-size: .9rem;
}
.rc-search:focus { outline: none; border-color: #c9a84c; box-shadow: 0 0 0 3px rgba(201,168,76,.12); }
.rc-search::placeholder { color: rgba(242,232,216,.28); }

.rc-filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.rc-filter {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  color: rgba(242,232,216,.55); border-radius: 50px;
  padding: .28rem .9rem; font-size: .77rem; font-weight: 700; cursor: pointer; transition: all .18s;
}
.rc-filter:hover  { border-color: #c9a84c; color: #c9a84c; }
.rc-filter.active { background: #c9a84c; border-color: #c9a84c; color: #100d08; }

.rc-card {
  background: #1e1810; border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s; height: 100%;
}
.rc-card:hover { border-color: rgba(201,168,76,.3); transform: translateY(-3px); }
.rc-card.rc-hidden { display: none; }

.rc-img-wrap {
  height: 180px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #16110a 0%, #100d08 100%);
}
.rc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rc-card:hover .rc-img { transform: scale(1.04); }
.rc-img-cat {
  position: absolute; bottom: .6rem; left: .6rem;
  background: rgba(20,14,8,.8); backdrop-filter: blur(6px);
  color: #c9a84c; font-size: .72rem; font-weight: 700;
  border-radius: 6px; padding: .2rem .6rem;
  border: 1px solid rgba(201,168,76,.3);
}

.rc-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.rc-meta { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-bottom: .5rem; }
.rc-diff {
  display: inline-block; border-radius: 50px;
  padding: .1rem .5rem; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.rc-diff.easy   { background: rgba(34,197,94,.15); color: #4ade80; }
.rc-diff.medium { background: rgba(245,158,11,.15); color: #fbbf24; }
.rc-diff.hard   { background: rgba(239,68,68,.15);  color: #f87171; }
.rc-abv  { font-size: .68rem; font-weight: 700; color: rgba(242,232,216,.45); }
.rc-tech { font-size: .68rem; font-weight: 700; color: rgba(139,92,246,.7); text-transform: uppercase; }

.rc-name   { font-size: .97rem; font-weight: 800; color: #f2e8d8; margin: 0 0 .2rem; line-height: 1.25; }
.rc-author { font-size: .73rem; color: rgba(242,232,216,.38); margin-bottom: .7rem; }
.rc-label  { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #c9a84c; margin-bottom: .3rem; }
.rc-ing-list { padding-left: 1.1rem; margin: 0 0 .7rem; }
.rc-ing-list li { font-size: .8rem; color: rgba(242,232,216,.75); margin-bottom: .15rem; }
.rc-method-text { font-size: .79rem; color: rgba(242,232,216,.65); line-height: 1.65; margin: 0; flex: 1; }

.rc-no-results { color: rgba(242,232,216,.35); text-align: center; padding: 4rem 1rem; }
.rc-no-results i { font-size: 2rem; display: block; margin-bottom: .75rem; }

.rc-section-head {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: rgba(242,232,216,.35); border-bottom: 1px solid rgba(255,255,255,.06);
  padding-bottom: .5rem; margin-bottom: 1rem; margin-top: 1.5rem;
}

@media (max-width: 575px) { .rc-img-wrap { height: 140px; } }
