.toc {
  border: 1px solid #ddd;
  padding: 1rem;
  margin: 1.5rem 0;
  background: #f9f9f9;
  font-size: 0.9rem;
  border-radius: 6px;
}
.toc h2 {
  margin-top: 0;
}
.toc ul {
  list-style: none;
  padding-left: 1rem;
}
.toc li {
  margin: 0.25rem 0;
}
.toc a {
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
}
ul.pros-cons {
  list-style: none;
  padding-left: 0;
}

.summary-thumb {
  height: 250px;
  overflow: hidden;
  position: relative;
}
@media(min-width: 768px) {
  .summary-thumb {
    height: 400px;
  }
}
.summary-thumb img {
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Apply rounded corners and soft shadows to all post images */
.post img,
.content img,
.article img,
figure img,
img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* Optional: control image overflow within figure or article containers */
figure,
.article,
.post {
  overflow: hidden;
}

.hg-hint {
  border-left: 5px solid #4a90e2;
  background: #f4f7ff;
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
  border-radius: 6px;
}

.hg-hint-update {
  border-color: #7b61ff;
  background: #f6f3ff;
}

.hg-hint-body {
  margin-top: 0.3rem;
}

.rank-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f7f7f7;
  margin-top: 1.5rem;
}

.rank-badge {
  font-weight: bold;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 6px;
  background: #333;
  color: white;
}

.rank-1 .rank-badge { background: #d4af37; }
.rank-2 .rank-badge { background: #c0c0c0; }
.rank-3 .rank-badge { background: #cd7f32; }

/* Review summary table styling */

.review-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.review-summary-table th,
.review-summary-table td {
  padding: 8px 10px;
  text-align: left;
}

.review-summary-table thead th {
  border-bottom: 2px solid #ddd;
  font-weight: 600;
}

.review-summary-table tbody tr {
  border-bottom: 1px solid #eee;
}

.review-summary-table tbody tr:last-child {
  border-bottom: none;
}