/* ============================================================
   saratoga-sidebar.css
   Sidebar styles for all /saratoga/ location pages.
   ============================================================ */

/* ── Sidebar card wrapper ────────────────────────────────── */
.sidebar-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .sidebar-card {
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .sidebar-card {
    padding: 1.25rem 1.1rem;
  }
}

.sidebar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ed533d;
  color: #111827;
}

/* ── Past cases ──────────────────────────────────────────── */
.sidebar-results h2 {
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.sidebar-results-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-result-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 1rem 1.25rem;
  border-left: 3px solid #ed533d;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sidebar-result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.13);
}

.sidebar-result-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #111827;
}

.sidebar-result-card p {
  color: #6b7280;
  line-height: 1.65;
  font-size: 1rem;
}

/* ── Reviews ─────────────────────────────────────────────── */
.sidebar-reviews-section {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
}

.sidebar-reviews-section h2 {
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.sidebar-reviews-section > p {
  color: #6b7280;
  line-height: 1.65;
  font-size: 1rem;
}

.sidebar-reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.sidebar-review-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 1rem 2.5rem 1rem 1.1rem;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sidebar-review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.13);
}

.sidebar-review-card .review-source-logo {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.sidebar-review-card .review-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.sidebar-review-card .review-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.sidebar-review-card .review-text {
  color: #374151;
  line-height: 1.65;
  font-size: 1rem;
}

/* ── Saratoga County location grid ───────────────────────── */
.saratoga-loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.125rem;
  margin-top: 0.25rem;
}

.saratoga-loc-link {
  display: block;
  padding: 0.5rem 0.6rem;
  font-size: 1rem;
  color: #374151;
  text-decoration: none;
  border-radius: 4px;
  line-height: 1.5;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.saratoga-loc-link:hover {
  color: #ed533d;
  background-color: #fff5f3;
}
