.articles-hero {
  background: linear-gradient(135deg, #f0f6ff 0%, #fff 55%, #f8fafc 100%);
  color: var(--text);
  padding: 48px 24px;
  border-bottom: 1px solid var(--border);
}
.ah-inner { max-width: 1200px; margin: 0 auto; }
.ah-inner h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.ah-inner p { font-size: 16px; color: var(--text-2); margin-bottom: 20px; }

.ah-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.ah-cat {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  color: var(--text-2);
  background: #fff;
  transition: .15s;
  font-family: inherit;
}
.ah-cat:hover,
.ah-cat.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.articles-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 72px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.article-featured {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
  cursor: pointer;
  transition: .2s;
}
.article-featured:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.af-img { background: #E5E7EB; height: 280px; overflow: hidden; }
.af-img img { width: 100%; height: 100%; object-fit: cover; }
.af-body { padding: 28px; }
.af-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-light, #EFF6FF);
  color: var(--accent);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 12px;
}
.af-title { font-size: 22px; font-weight: 800; line-height: 1.25; margin-bottom: 10px; }
.af-excerpt { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.af-meta { font-size: 12px; color: var(--text-3); }
.af-read {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
}

.articles-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.art-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .2s;
  display: block;
  color: inherit;
  cursor: pointer;
}
.art-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.art-img { height: 160px; background: #E5E7EB; overflow: hidden; }
.art-img img { width: 100%; height: 100%; object-fit: cover; }
.art-img-empty, .af-img .art-img-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
  color: var(--text-3);
  font-size: 12px;
}
.art-body { padding: 14px; }
.art-tag { font-size: 10px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.art-title { font-size: 14px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.art-excerpt { font-size: 12px; color: var(--text-2); line-height: 1.6; }
.art-meta { margin-top: 10px; font-size: 11px; color: var(--text-3); }

.article-inline {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  margin-top: 24px;
  display: none;
}
.article-inline.open { display: block; }
.has-open-article .article-featured,
.has-open-article .articles-grid-2 { opacity: .45; pointer-events: none; }

.ai-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  margin-bottom: 16px;
  border: none;
  background: transparent;
  font-family: inherit;
  padding: 0;
}
.ai-back:hover { color: var(--accent); }
.ai-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-light, #EFF6FF);
  color: var(--accent);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 12px;
}
.ai-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; line-height: 1.2; }
.ai-meta { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.ai-img { border-radius: 14px; overflow: hidden; height: 300px; margin-bottom: 28px; background: #E5E7EB; }
.ai-img img { width: 100%; height: 100%; object-fit: cover; }

.article-body h2 { font-size: 20px; font-weight: 700; margin: 24px 0 10px; }
.article-body p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 16px; }
.article-body ul { padding-left: 20px; margin-bottom: 16px; }
.article-body ul li { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 6px; }
.article-body .callout {
  background: var(--accent-light, #EFF6FF);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--accent);
}
.article-body .callout strong { color: var(--accent-d, #1D4ED8); }
.article-body section { margin-bottom: 8px; }
.article-body .category-intro,
.article-body .warning-box,
.article-body .cta-box,
.article-body .cta-final {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
}
.article-body .warning-box { background: #fff7ed; border-color: #fed7aa; }
.article-body .btn-main {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.article-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }

.ai-cta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.ai-cta p { flex: 1 1 100%; font-size: 14px; color: var(--text-2); margin: 0 0 4px; }

.sb-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}
.sw-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.sw-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.sw-item:last-child { border-bottom: none; padding-bottom: 0; }
.sw-img { width: 56px; height: 42px; border-radius: 6px; background: #F3F4F6; overflow: hidden; flex-shrink: 0; }
.sw-img img { width: 100%; height: 100%; object-fit: cover; }
.sw-text { font-size: 12px; font-weight: 600; line-height: 1.4; }
.sw-tag { font-size: 10px; color: var(--accent); font-weight: 600; margin-top: 2px; }

.expert-cta { background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%); border: none; color: #fff; }
.ec-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.ec-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ec-text { font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 14px; }
.ec-btn { display: block; text-align: center; padding: 10px; background: var(--accent); color: #fff; border-radius: 8px; font-size: 13px; font-weight: 600; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-tag {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg, #F9FAFB);
  color: var(--text-2);
  border: 1.5px solid var(--border);
  transition: .15s;
}
.tc-tag:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 900px) {
  .articles-layout { grid-template-columns: 1fr; }
  .article-featured { grid-template-columns: 1fr; }
  .af-img { height: 180px; }
  .articles-grid-2 { grid-template-columns: 1fr; }
  .articles-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .articles-sidebar { grid-template-columns: 1fr; }
  .ai-title { font-size: 22px; }
  .ai-img { height: 200px; }
  .article-inline { padding: 24px 18px; }
}
