/* Mobile public navigation owns the placement as well as the column count.
   Legacy mobile themes may otherwise leave grid-auto-flow: column enabled. */
@media(max-width:768px){
 :root body .sub-nav-container.orgsite-subnav .sub-nav{box-sizing:border-box!important;padding:7px!important;border-radius:12px!important}
 :root body .sub-nav-container.orgsite-subnav .sub-nav>ul{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:minmax(0,1fr)!important;gap:6px!important}
 :root body .sub-nav-container.orgsite-subnav .sub-nav>ul>li{grid-area:auto!important;min-width:0!important;width:auto!important;max-width:100%!important}
 :root body .sub-nav-container.orgsite-subnav .sub-nav>ul>li>a{box-sizing:border-box!important;min-width:0!important;width:100%!important;min-height:46px!important;padding:10px 7px!important;border-radius:7px!important;line-height:1.45!important;font-size:14px!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important}
 :root body .sub-nav-container.orgsite-subnav .sub-nav>ul>li:not(.active)>a:not([aria-current=page]){background:#f5f7f8!important}
 :root body .sub-nav-container.orgsite-subnav .sub-nav>ul>li:not(.active)>a:hover{background:var(--theme-soft,#edf3f6)!important;color:var(--text-main,#263238)!important}
 .orgsite-mobile-table-scroll{box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow-x:auto;margin:12px 0 22px;overscroll-behavior-x:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 .orgsite-mobile-table-scroll:focus-visible{outline:2px solid var(--main-color,#557967);outline-offset:3px}
 .orgsite-mobile-table-scroll>table{display:table!important;table-layout:auto!important;margin:0!important;max-width:none!important}
 table.orgsite-wide-table{min-width:620px!important;width:100%!important}
 table.orgsite-compact-table{display:table!important;box-sizing:border-box;min-width:0!important;max-width:100%!important;width:100%!important;table-layout:auto!important}
 table.orgsite-compact-table :is(th,td){min-width:0!important;width:auto!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;padding:10px 8px!important;font-size:14px;line-height:1.65}
 table.orgsite-compact-table :is(img,video){max-width:100%!important;height:auto!important}
 .orgsite-mobile-table-hint{margin:10px 0 0;font-size:12px;line-height:1.5;color:#65716b}
}
@media(max-width:480px){:root body .sub-nav-container.orgsite-subnav .sub-nav>ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(min-width:769px){.orgsite-mobile-table-hint{display:none}}
@media(max-width:768px){
 :root body .board-wrapper :is(.gallery-pagination-wrapper,.data-pagination-wrapper,.board-pagination-wrapper){min-width:0;max-width:100%;width:100%;box-sizing:border-box}
 :root body .board-wrapper :is(.gallery-pagination-wrapper .pagination,.data-pagination,.board-pagination),
 :root body .dynamic-content .content-pages{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:5px;box-sizing:border-box;min-width:0;max-width:100%;width:100%;overflow-x:auto;margin-inline:0;padding:4px 2px 9px;list-style:none;scrollbar-width:thin;overscroll-behavior-x:contain}
 :root body .board-wrapper :is(.gallery-pagination-wrapper .pagination,.data-pagination,.board-pagination) .page-item{flex:0 0 auto;display:block;margin:0;width:auto;min-width:0}
 :root body .board-wrapper :is(.gallery-pagination-wrapper .pagination,.data-pagination,.board-pagination) .page-link,
 :root body .dynamic-content .content-pages>a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 auto;min-width:40px;width:40px;height:40px;padding:0;border-radius:6px;font-size:14px;line-height:1;text-decoration:none}
}
