﻿/* Keep the existing Polo design while preventing narrow-screen overflow. */
#topbar #logo img{max-width:100%;height:auto;max-height:68px;object-fit:contain}
#mainMenu nav>ul{list-style:none}
#mainMenu nav a:focus-visible,#mainMenu-trigger a:focus-visible{outline:2px solid #75b9dd;outline-offset:3px}
#footer .widget{min-width:0;overflow-wrap:anywhere}
#footer .widget ul{padding-left:18px}
#footer .widget img{max-width:100%;height:auto}
#footer .widget a{overflow-wrap:anywhere}
.mpd-description img,.mpd-intro img,#page-content img{max-width:100%}
.mpd-description img,.mpd-intro img{height:auto!important}
.mpd-description iframe,.mpd-intro iframe,.mpd-media iframe{max-width:100%}
.mpd-description table,.mpd-intro table{max-width:100%;display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.mpd-description pre{white-space:pre-wrap;overflow-wrap:anywhere}
.mpd-description,.mpd-intro{overflow-wrap:anywhere}
.content-page-photo{display:block;max-width:100%;max-height:480px;object-fit:contain;margin-bottom:28px}
@media(max-width:991px){
    #topbar .container{padding-left:18px;padding-right:18px}
    #topbar #logo img{max-height:60px}
    .mainMenu-open #mainMenu{height:auto!important;min-height:0!important;max-height:70vh!important;overflow-y:auto;-webkit-overflow-scrolling:touch}
    #mainMenu nav>ul>li>a{min-height:44px}
    #footer .footer-content{padding-top:36px;padding-bottom:24px}
    #footer .widget{margin-bottom:26px}
}
@media(max-width:575px){
    #topbar #logo img{max-height:52px}
    #footer .container{padding-left:20px;padding-right:20px}
    .search-overlay-content{padding-left:18px;padding-right:18px}
    .search-overlay-input{font-size:16px!important;min-width:0}
    .mpd-description iframe,.mpd-intro iframe{width:100%}
}
