@import url('./wall-mounted-vs-floor-standing-bathroom-vanities.css?v=20260913-summary');
.article-page img[src] { content: normal !important; }
.article-page .quick-reference,
.article-page .article-table thead { background: #B8965A; }
.article-page .article-summary { background: #333333; }

/* Layout audit: measure, table header, quick-reference legibility */
.article-page p, .article-page li { max-width: 72ch; }
.article-page .article-table thead { background: var(--color-primary-dark); }
.article-page .article-table thead th { color: #fff; }
.article-page .quick-reference li { max-width: none; font-size: .9rem; line-height: 1.55; font-weight: 500; }
.article-page .article-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Source-retained migration: nine heading levels and source notes. */
.article-prose .article-subsection > h2 { font-size:clamp(26px,3vw,38px);line-height:1.2;scroll-margin-top:116px; }
.article-source-note { font-size:14px;line-height:1.6; }

/* Image slots sized to the images, so no product is cut off. */
@media (min-width: 621px) { .quick-reference { grid-template-columns: minmax(220px, 36%) minmax(0, 1fr); } }
@media (min-width: 621px) { .article-faq__heading { grid-template-columns: 200px 1fr; } }
.article-faq__heading > img, .article-faq__heading > picture > img { width: 100%; aspect-ratio: 3 / 4; }
.article-summary > img, .article-summary > picture > img { aspect-ratio: 4 / 5; }
.related-card img { aspect-ratio: 4 / 3; }
@media (max-width: 800px) { .article-summary > img, .article-summary > picture > img { aspect-ratio: 4 / 5; max-width: 420px; } }
@media (max-width: 620px) { .quick-reference > picture { display: flex; justify-content: center; padding: 24px 24px 0; } .quick-reference > picture > img { border-radius: 14px; } .quick-reference > img, .quick-reference > picture > img { width: auto; max-width: 100%; height: auto; max-height: 440px; aspect-ratio: auto; } .article-faq__heading > img, .article-faq__heading > picture > img { width: min(300px, 100%); aspect-ratio: 3 / 4; } }

/* natural-ratio figures: every photo keeps its own crop, so the product is never cut by the frame */
.article-figure--wide { text-align: center; }
.article-figure--wide picture { display: block; }
.article-figure--wide img { width: auto; max-width: 100%; height: auto; max-height: 560px; aspect-ratio: auto; object-fit: contain; margin: 0 auto; }
.article-overview figure { height: auto; }
.article-overview figure img { height: auto; max-height: 520px; width: 100%; aspect-ratio: auto; object-fit: contain; }
.article-inquiry > div > img, .article-inquiry > div > picture > img { aspect-ratio: auto; height: auto; max-height: 520px; object-fit: contain; }
/* QR natural: the Do-This card image is shown whole on every screen */
.quick-reference > picture { display: flex; align-items: center; justify-content: center; padding: 24px; }
.quick-reference > img, .quick-reference > picture > img { width: auto; max-width: 100%; height: auto; max-height: 560px; aspect-ratio: auto; object-fit: contain; border-radius: 14px; }
