/* Advertising place: marked-out block under the comparison.
   Shows nothing until the category has a promo entry with text (renderPromo decides). */
.promo {
  margin-bottom: 32px;
  margin: 24px auto 0;
  padding: 14px 16px;
  max-width: var(--wrap);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.6;
}

/* Empty top-left cell of the comparison table: a place for an advertiser. */
.corner-ad {
  display: grid; gap: 6px; padding: 8px; font-size: 12px; line-height: 1.4;
  border: 1px dashed var(--line); border-radius: var(--radius);
}

.promo-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  background: var(--line);
  color: var(--muted);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.promo-text {
  margin: 8px 0 0;
  color: var(--ink);
}

.promo-link {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.promo-link:hover {
  text-decoration: underline;
}

.promo-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

/* "Pārbaudīt" beside the mileage in car comparisons: a link to the partner, or a dead button until there is an address. */
.check-btn {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--best-bg);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  vertical-align: 1px;
  white-space: nowrap;
}
a.check-btn:hover { background: var(--accent); color: var(--accent-ink); }
.check-btn.off { opacity: 0.55; cursor: not-allowed; }
.cmp td.best .check-btn { font-weight: 600; }
.cmp td.best .check-btn::before { content: none; }

/* Places for partners under a car comparison: carVertical and leasing. */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px auto 32px;
  max-width: var(--wrap);
}
.partner {
  display: block;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}
a.partner { border-style: solid; transition: border-color 0.15s, box-shadow 0.2s; }
a.partner:hover { border-color: var(--accent); box-shadow: var(--shadow-lift); }
.partner-title { display: block; font-size: 16px; }
.partner .promo-text { margin: 4px 0 0; color: var(--muted); }

/* "About the comparison data": the footnote under the comparison. */
.about {
  margin: 32px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 760px;
}
.about p { margin: 0 0 8px; }
.about-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
