/* Article page styles */
.article {
  background: var(--bg, #fafaf7);
  padding: 60px 0 80px;
  min-height: 70vh;
}

.article__container {
  max-width: 780px;
}

.article__back {
  display: inline-block;
  color: var(--ink, #2a2a26);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 24px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.article__back:hover { opacity: 1; }

.article__header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.article__tag {
  background: var(--forest, #2d4a3e);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article__tag--red { background: #b04030; }

.article__date,
.article__read {
  color: var(--ink, #2a2a26);
  opacity: 0.6;
}

.article__title {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--ink, #2a2a26);
  margin: 0 0 20px;
}

.article__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink, #2a2a26);
  opacity: 0.85;
  margin: 0;
}

.article__body {
  font-size: 17px;
  line-height: 1.7;
  color: #1a1a1a;
}

.article__body h2 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  margin: 48px 0 20px;
  color: var(--ink, #2a2a26);
}

.article__body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--ink, #2a2a26);
}

.article__body p { margin: 0 0 18px; }

.article__body ul,
.article__body ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.article__body li { margin-bottom: 8px; }

.article__body strong { font-weight: 600; }

.article__body a {
  color: var(--forest, #2d4a3e);
  text-decoration: underline;
  text-decoration-color: rgba(45, 74, 62, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.article__body a:hover { text-decoration-color: var(--forest, #2d4a3e); }

.estimate-table,
.cases-table {
  margin: 32px 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.estimate-table table,
.cases-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.estimate-table th,
.cases-table th {
  background: var(--forest, #2d4a3e);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.estimate-table td,
.cases-table td {
  padding: 12px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.estimate-table .num,
.cases-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.estimate-table tr.total {
  background: #f4f4ef;
  font-weight: 600;
}
.estimate-table tr.grand {
  background: var(--ink, #2a2a26);
  color: #fff;
}
.estimate-table tr.grand td { color: #fff; }

.cases-table a { color: var(--forest, #2d4a3e); }

.article-cta {
  margin: 60px 0 40px;
  padding: 40px 32px;
  background: linear-gradient(135deg, var(--forest, #2d4a3e) 0%, #1a3028 100%);
  color: #fff;
  border-radius: 12px;
  text-align: center;
}

.article-cta h3 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 12px;
}

.article-cta p {
  font-size: 17px;
  margin: 0 0 24px;
  opacity: 0.9;
}

.article-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.article-cta__buttons .btn--primary {
  background: var(--gold, #b08a4f);
  color: #fff;
}
.article-cta__buttons .btn--primary:hover { background: #c89a5f; }

.article-cta__buttons .btn--secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.article-cta__buttons .btn--secondary:hover { background: rgba(255, 255, 255, 0.1); }

.article-cta__contacts {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
}

.article-nav {
  margin: 40px 0 0;
  padding: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: right;
}

.article-nav a {
  color: var(--forest, #2d4a3e);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.article-nav a:hover { color: var(--gold, #b08a4f); }

.article-nav__prev { float: left; }

@media (max-width: 600px) {
  .article { padding: 32px 0 60px; }
  .article__title { font-size: 28px; }
  .article__lead { font-size: 17px; }
  .article__body { font-size: 16px; }
  .article__body h2 { font-size: 24px; }
  .article__body h3 { font-size: 19px; }
  .article-cta { padding: 32px 20px; }
  .article-cta h3 { font-size: 26px; }
  .estimate-table table,
  .cases-table table { font-size: 13px; }
  .estimate-table td,
  .cases-table td { padding: 8px 10px; }
}
