/* Opt-in legacy pages. Desktop and navigation retain their existing rules. */
@media (max-width:820px){
body.rvf.rvf-news{width:auto!important}
body.rvf.rvf-news>p,body.rvf.rvf-news>h1,body.rvf.rvf-news>h2,body.rvf.rvf-news>h3,body.rvf.rvf-news>ul{overflow-wrap:anywhere}
body.rvf.rvf-news>h2 img,body.rvf.rvf-news>a>img{max-width:100%!important;height:auto!important;margin-left:0!important;margin-right:0!important}
body.rvf.rvf-pleco>span.contents img,body.rvf.rvf-photo>img,body.rvf.rvf-photo>a>img,body.rvf.rvf-photo>table img,body.rvf.rvf-frame #container img,body.rvf.rvf-frame #container iframe,body.rvf.rvf-footer>img,body.rvf.rvf-footer>a>img{box-sizing:border-box;max-width:100%!important}
body.rvf.rvf-pleco>span.contents img,body.rvf.rvf-photo>img,body.rvf.rvf-photo>a>img,body.rvf.rvf-photo>table img,body.rvf.rvf-frame #container img,body.rvf.rvf-footer>img,body.rvf.rvf-footer>a>img{height:auto!important}
body.rvf.rvf-frame #container{box-sizing:border-box;width:auto!important;max-width:100%;margin-right:5px;overflow-wrap:anywhere}
body.rvf.rvf-frame #sidebar1,body.rvf.rvf-frame #mainContent,body.rvf.rvf-frame #footer{box-sizing:border-box;float:none;width:auto!important;margin-left:0;margin-right:0}
body.rvf.rvf-photo>table,body.rvf.rvf-photo>table tbody,body.rvf.rvf-photo>table tr,body.rvf.rvf-photo>table td{display:block;box-sizing:border-box;width:100%!important;max-width:100%;overflow-wrap:anywhere}
body.rvf.rvf-footer>.rvf-width{box-sizing:border-box;width:auto!important;max-width:100%;overflow-wrap:anywhere}
body.rvf.rvf-footer>img{display:block}
}

/* 2026-11-26: preserve legacy decorative image heights; ordinary photos stay responsive. */
@media (max-width:820px){
body.rvf.rvf-footer > img[src$="st1.gif"][height="4"] { height:4px !important; }
}
