/* Blog-specific additions on top of legal.css */

.post-list { list-style: none; padding: 0; margin: 0; }
.post-item { margin: 0 0 28px; padding: 0 0 28px; border-bottom: 1px solid #2a2a2a; }
.post-item:last-child { border-bottom: 0; }
.post-item a { display: block; color: inherit; text-decoration: none; }
.post-item h2 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #f0f0f0;
  letter-spacing: -0.01em;
  transition: color 0.1s;
}
.post-item a:hover h2 { color: #9de; }
.post-item .post-meta { color: #888; font-size: 13px; margin: 0 0 10px; }
.post-item .post-excerpt { color: #bbb; font-size: 14px; margin: 0; line-height: 1.55; }

/* Language dropdown */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 32px;
}
.lang-switch-select {
  background: #1d1d1d;
  color: #e0e0e0;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  min-width: 130px;
  transition: border-color 0.12s;
}
.lang-switch-select:hover { border-color: #555; }
.lang-switch-select:focus-visible {
  outline: none;
  border-color: #5b8df6;
}

/* Article body */
article.post { max-width: none; }
article.post h1 { font-size: 32px; line-height: 1.2; margin: 0 0 10px; }
article.post .post-meta { color: #888; font-size: 13px; margin: 0 0 32px; }
article.post h2 { font-size: 22px; margin: 36px 0 12px; color: #f5f5f5; }
article.post h3 { font-size: 17px; margin: 24px 0 8px; color: #e8e8e8; font-weight: 600; }
article.post p { font-size: 15.5px; line-height: 1.65; color: #d0d0d0; margin: 0 0 14px; }
article.post ul, article.post ol { font-size: 15px; line-height: 1.65; color: #d0d0d0; }
article.post li { margin: 6px 0; }
article.post a { color: #9de; }
article.post strong { color: #f0f0f0; }
article.post blockquote {
  margin: 18px 0;
  padding: 2px 18px;
  border-inline-start: 3px solid #5b8df6;
  color: #bbb;
  font-style: italic;
}

/* Comparison table */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 13.5px;
  background: #1d1d1d;
  border-radius: 8px;
  overflow: hidden;
}
.cmp-table th, .cmp-table td {
  padding: 10px 12px;
  text-align: start;
  border-bottom: 1px solid #2a2a2a;
  vertical-align: top;
}
.cmp-table th {
  background: #262626;
  color: #f0f0f0;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table .ok { color: #4ade80; }
.cmp-table .warn { color: #fbbf24; }
.cmp-table .bad { color: #ef4444; }

.cta-box {
  background: linear-gradient(135deg, #1e2a3a, #1a1a1a);
  border: 1px solid #2a3a55;
  border-radius: 10px;
  padding: 22px 24px;
  margin: 30px 0;
}
.cta-box h3 { margin: 0 0 8px; color: #f5f5f5; font-size: 18px; }
.cta-box p { margin: 0 0 14px; color: #c8c8c8; font-size: 14.5px; }
.cta-box .cta-btn {
  display: inline-block;
  background: #2e7dff;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.1s;
}
.cta-box .cta-btn:hover { background: #1e6ff0; }

/* Reading list — reusable "related articles" block */
.reading-list { list-style: none; padding: 0; margin: 0; }
.reading-list li {
  padding: 12px 0;
  border-bottom: 1px solid #2a2a2a;
}
.reading-list li:last-child { border-bottom: 0; }
.reading-list a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  transition: color 0.1s;
}
.reading-list .r-title {
  color: #ddd;
  font-size: 15px;
  font-weight: 500;
}
.reading-list .r-desc {
  color: #888;
  font-size: 13px;
  line-height: 1.5;
}
.reading-list a:hover .r-title { color: #9de; }

@media (max-width: 640px) {
  article.post h1 { font-size: 24px; }
  article.post h2 { font-size: 19px; }
  article.post p, article.post li { font-size: 14.5px; }
  .cmp-table { font-size: 12px; }
  .cmp-table th, .cmp-table td { padding: 7px 8px; }
}
