/* Paper lid pages only; preserve shared production CSS. */
.mw-lid-page .mw-lid-photo img { width:100%; height:auto; max-height:560px; object-fit:contain; }
.mw-lid-page .mw-rbm h1 { font-size:clamp(30px,3vw,46px); line-height:1.2; text-wrap:balance; }
.mw-lid-page .mw-rbm h2 { text-wrap:balance; }
@media(max-width:700px){ .mw-lid-page .mw-rbm h1 { font-size:30px; } .mw-lid-page .mw-lid-photo img { max-height:480px; } }
.mw-lid-page .mw-rbm-split > * { min-width:0; } .mw-lid-page.mw-ja .mw-rbm h1 { overflow-wrap:anywhere; word-break:normal; line-break:strict; }
