/* Shared styles for the problem-specific article pages */
.art h1 { font-size: 27px; line-height: 1.45; margin-bottom: 20px; }
.art .lede { font-size: 15px; margin-bottom: 8px; }
.art h2 { margin-top: 44px; }
.art h2:first-of-type { margin-top: 32px; }
.art h3 { font-size: 16px; margin-top: 28px; margin-bottom: 10px; }
.art p { font-size: 14.5px; line-height: 1.95; margin-bottom: 18px; }
.art ul { margin: 0 0 18px 22px; }
.art ul li { font-size: 14.5px; line-height: 1.9; color: var(--fg-sub); margin-bottom: 7px; }
.art strong { color: var(--fg); }

.callout {
  padding: 18px 20px;
  background: var(--bg-sub);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  margin: 24px 0;
}
.callout p { margin: 0; font-size: 14px; }
.callout p + p { margin-top: 12px; }

.checklist { list-style: none; margin: 0 0 18px; padding: 0; }
.checklist li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--fg-sub);
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 4px; top: 17px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.crumb { font-size: 12px; color: var(--fg-sub); margin-bottom: 20px; }
.crumb a { color: var(--fg-sub); text-decoration: none; }
.crumb a:hover { color: var(--accent); }

.art-table {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.art-table table { width: 100%; border-collapse: collapse; min-width: 460px; }
.art-table th, .art-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  line-height: 1.7;
}
.art-table thead th { background: var(--bg-sub); font-weight: 700; font-size: 12.5px; }
.art-table tbody tr:last-child td { border-bottom: none; }
.art-table tbody td:first-child { font-weight: 500; color: var(--fg); width: 30%; }

.endcta {
  margin-top: 48px;
  padding: 26px 24px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  text-align: center;
}
.endcta h3 { font-size: 17px; margin: 0 0 10px; }
.endcta p { font-size: 13.5px; margin-bottom: 20px; }
.endcta .cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.15s;
}
.endcta .cta:hover { background: var(--accent-hover); }

.related { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }
.related h3 { font-size: 13px; color: var(--fg-sub); margin-bottom: 10px; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related ul li { margin-bottom: 8px; font-size: 13.5px; }

@media (max-width: 640px) {
  .art h1 { font-size: 22px; }
}
