.entry-content .wiki-link-missing { color: #ba0000; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content .table-responsive,
.entry-content .math-display { max-width: 100%; overflow-x: auto; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th,
.entry-content td { padding: .6rem; border: 1px solid #dce2e8; }
.entry-content pre { overflow-x: auto; }
.entry-content .source-code-related-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.entry-content .source-code-related-item { display: flex; gap: .75rem; align-items: center; }
.entry-content .source-code-related-item img { width: 90px; flex: 0 0 90px; object-fit: contain; }
.entry-content .source-code-related-image { flex: 0 0 90px; }
.entry-content .source-code-related-body { min-width: 0; }
.entry-content .source-code-related-body h3 { font-size: 1rem; margin: 0 0 .4rem; line-height: 1.5; }
.entry-content .rsc-image-placeholder { display: grid; place-items: center; width: 90px; height: 72px; background: #f0f4f8; color: #54657a; border-radius: .4rem; }
.entry-content .rsc-price { display: block; font-weight: 700; color: #15803d; font-size: 1.05rem; }
.entry-content .rsc-purchase { margin-block: 2rem; padding: 1.5rem; border: 1px solid #dce2e8; border-radius: .75rem; }
.entry-content .rsc-purchase h2 { margin-top: 0; }
.entry-content .rsc-buy-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.entry-content .rsc-buy-button { display: inline-block; padding: .65rem 1rem; border-radius: .4rem; background: #15803d; color: white; text-decoration: none; }
.entry-content .rsc-buy-button:hover { background: #166534; color: white; }
.entry-content .rsc-buy-button:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }
.entry-content .rsc-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.entry-content .rsc-gallery-viewport { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.entry-content .rsc-gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.entry-content .rsc-gallery-slide img { display: block; width: 100%; height: auto; }
.entry-content .rsc-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-block: .75rem; }
.entry-content .rsc-gallery-controls button { padding: .5rem .75rem; border: 1px solid #cbd5e1; background: #fff; color: #164e63; border-radius: .4rem; cursor: pointer; }
.entry-content .rsc-gallery-controls button:disabled { opacity: .45; cursor: default; }
.entry-content .contact-card { margin-block: 2rem; padding: 1.5rem; border: 1px solid #dce2e8; border-radius: .75rem; }
.entry-content .contact-card h2 { margin-top: 0; }
.entry-content .contact-card address { font-style: normal; line-height: 1.8; }
.entry-content .rsc-social-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .75rem; }
@media (max-width: 600px) {
    .entry-content .source-code-related-list { grid-template-columns: 1fr; }
}
