/* Rhombic article-only layout; shared article typography remains in article.css */
.rhombic-hero>img{max-width:360px;object-fit:contain}.rhombic-article img{display:block;max-width:100%;height:auto;margin:12px auto}.rhombic-article table{border-collapse:collapse;margin:16px auto 4px;width:auto;max-width:100%}.rhombic-article th,.rhombic-article td{border:1px solid #cbd5dd;padding:5px 7px;text-align:center;vertical-align:middle}.rhombic-article .rhombic-table-scroll{overflow-x:auto;max-width:100%;margin:12px auto}.rhombic-article .rhombic-table-scroll table{margin:0 auto}.rhombic-article h1,.rhombic-article h2,.rhombic-article h3{color:#15202b}.rhombic-article a img{border:1px solid #cbd5dd}.rhombic-article pre{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:680px){.rhombic-hero>img{max-width:230px}.rhombic-article .rhombic-table-scroll{width:100%}}

/* v404: common caption presentation and compact download cards */
.rhombic-article .rhombic-caption{font-size:13px;line-height:1.35;text-align:center;text-decoration:none;margin:5px auto 16px;max-width:100%;}
.rhombic-article .rhombic-caption *{text-decoration:none;}
.rhombic-article .rhombic-download{display:flex;justify-content:center;margin:12px auto 18px;text-align:center;}
.rhombic-article .rhombic-download a{display:inline-flex;flex-direction:column;align-items:center;gap:5px;padding:10px 14px;border:1px solid #d4dde5;border-radius:8px;text-decoration:none;}
.rhombic-article .rhombic-download img{display:block;width:45px;height:52px;object-fit:contain;margin:0;border:0;}
.rhombic-article .rhombic-video{width:min(100%,640px);aspect-ratio:16/9;margin:18px auto 5px;}
.rhombic-article .rhombic-video iframe{width:100%;height:100%;border:0;border-radius:6px;}
.rhombic-article .rhombic-equations{width:fit-content;max-width:100%;margin:16px auto;padding:12px 16px;text-align:left;line-height:2;overflow-x:auto;font-family:Georgia,'Times New Roman',serif;font-size:16px;}
.rhombic-article .rhombic-equations div{white-space:nowrap;}

/* v405: legacy centring applies only to media, never to article prose */
.rhombic-article p{ text-align:left; }
.rhombic-article .rhombic-caption{ text-align:center; }
.rhombic-article .rhombic-download a{ min-width:164px; box-sizing:border-box; }
.rhombic-article .rhombic-equations{font-family:Georgia,'Times New Roman',serif;font-size:16px;line-height:2.25;}
.rhombic-article .rhombic-equations>div{white-space:nowrap;}
.rhombic-article .rhombic-frac{display:inline-flex;vertical-align:middle;flex-direction:column;text-align:center;line-height:1.2;margin:0 .14em;font-size:.92em;}
.rhombic-article .rhombic-frac>span:first-child{border-bottom:1px solid currentColor;padding:0 .24em .08em;}
.rhombic-article .rhombic-frac>span:last-child{padding:.08em .24em 0;}
.rhombic-article .rhombic-equations .rhombic-equation-line{display:block;}

/* v406: prevent legacy caption wrappers from affecting article text */
.rhombic-article h1,.rhombic-article h2,.rhombic-article h3,.rhombic-article p,.rhombic-article ul,.rhombic-article ol{ text-align:left; }
.rhombic-article .rhombic-caption{ text-align:center; font-size:13px; line-height:1.35; margin:5px auto 12px; }
.rhombic-article .rhombic-equations{font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:2.1;}
.rhombic-article .rhombic-angle-frac{font-size:.9em;}

/* v408 — rhombic captions follow the shared article spacing rhythm. */
.rhombic-article .rhombic-caption{margin:6px auto 22px}
.rhombic-article .rhombic-table-scroll + .rhombic-caption{margin-top:6px}
.rhombic-article .rhombic-caption + p{margin-top:0}
