/* Article typography for antivreditel.ru */
.article-content {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-content h1 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}

.article-content h2 {
  font-size: 1.625rem;
  font-weight: 800;
  color: #fff;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(34,197,94,0.3);
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 2rem 0 0.75rem;
  line-height: 1.35;
}

.article-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin: 1.5rem 0 0.5rem;
  line-height: 1.4;
}

.article-content p {
  margin: 0 0 1.25rem;
}

.article-content ul,
.article-content ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
  padding: 0;
}

.article-content ul { list-style-type: disc; }
.article-content ol { list-style-type: decimal; }

.article-content li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.article-content li > ul,
.article-content li > ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.article-content strong {
  color: #fff;
  font-weight: 700;
}

.article-content em {
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

.article-content a {
  color: #22c55e;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.article-content a:hover { color: #4ade80; }

.article-content blockquote {
  border-left: 4px solid #22c55e;
  background: rgba(34,197,94,0.08);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 0.75rem 0.75rem 0;
  color: rgba(255,255,255,0.8);
  font-style: italic;
}
.article-content blockquote p:last-child { margin-bottom: 0; }

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.article-content thead th {
  background: rgba(34,197,94,0.15);
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid rgba(34,197,94,0.3);
}

.article-content tbody td {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
}
.article-content tbody tr:hover { background: rgba(255,255,255,0.03); }

.article-content figure {
  margin: 2rem 0;
}
.article-content figure img {
  width: 100%;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
}
.article-content figcaption {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  font-style: italic;
}

.article-content hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 2.5rem 0;
}

.article-content code {
  background: rgba(255,255,255,0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  color: #4ade80;
}

.article-content pre {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.article-content pre code {
  background: none;
  padding: 0;
  color: rgba(255,255,255,0.8);
}
