/*
 * miha-seo article baseline (owner defaults, 12.11.2026). Managed by `miha-seo baseline install`.
 * Every selector uses :where() (zero specificity): any site-specific rule wins automatically.
 * Defaults: photos fill the text column without cropping or stretching; captions in italics;
 * classic tables with light cell borders; horizontal scroll only inside the table wrapper.
 */
:where(article) :where(figure) {
  margin: 1.75rem 0;
  max-width: 100%;
}
:where(article) :where(figure, p, picture) > :where(img),
:where(article) :where(figure) :where(picture) > :where(img) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
:where(article) :where(figcaption) {
  margin-top: 0.5rem;
  font-style: italic;
  font-size: 0.92em;
  line-height: 1.45;
  opacity: 0.85;
}
:where(article) :where(table) {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95em;
  line-height: 1.45;
}
:where(article) :where(th, td) {
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
:where(article) :where(thead th) {
  font-weight: 600;
  background: color-mix(in srgb, currentColor 6%, transparent);
}
:where(article) :where(.table-wrap, .table-scroll, .table-wrapper) {
  overflow-x: auto;
  max-width: 100%;
}
@media (max-width: 640px) {
  :where(article) :where(th, td) { padding: 0.5rem; }
}
