/* Keep the existing header usable with all six navigation links. */
.header > .container { display: flex; align-items: center; gap: 24px; position: relative; }
.header > .container:before, .header > .container:after, .header > .container > .clearfix { display: none; }
.header .top-middle { position: static; flex: 0 0 190px; width: 190px; }
.header .top-middle a { padding: 24px 12px; }
.header .top-middle a h3 { font-size: 32px; white-space: nowrap; }
.header .top-nav { position: static; float: none; flex: 1; width: auto; min-width: 0; margin: 0; }
.header .top-nav .menu { display: none; border: 0; background: transparent; }
.header .top-nav ul.nav1 { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0; position: static; width: auto; margin: 0; padding: 0; }
.header .top-nav ul.nav1 li { display: block; width: auto; margin: 0; padding: 0; border: 0; background: transparent; }
.header .top-nav ul.nav1 li a { display: block; margin: 0; padding: 14px 10px; font-size: 15px; line-height: 1.4; letter-spacing: 0; color: #37393d; }
.header .top-nav ul.nav1 li a:hover,
.header .top-nav ul.nav1 li a.active { padding: 14px 10px; color: #fff; background: #3adecb; }
.header .top-nav a:focus-visible,
.header .top-nav .menu:focus-visible { outline: 2px solid #189a8d; outline-offset: -2px; }
/* MODX content already provides the outer Bootstrap column. */
.main-content > .main-content { float: none; width: 100%; padding: 0; }
@media (max-width: 768px) {
    .header { padding: 0; }
    .header > .container { justify-content: space-between; gap: 0; }
    .header > .container:before, .header > .container:after, .header > .container > .clearfix { display: none; }
.header .top-middle { flex: 0 0 auto; width: auto; }
    .header .top-middle a { padding: 18px 12px; }
    .header .top-middle a h3 { font-size: 26px; }
    .header .top-nav { flex: 0 0 auto; width: auto; }
    .header .top-nav .menu { display: block; position: static; margin: 0; padding: 12px; cursor: pointer; line-height: 1; }
    .header .top-nav .menu img { width: 32px; height: 32px; }
    .header .top-nav ul.nav1 { display: none; position: absolute; top: 100%; left: 15px; right: 15px; z-index: 1000; width: auto; background: #fff; box-shadow: 0 5px 12px rgba(0,0,0,.2); }
    .header .top-nav ul.nav1.is-open { display: block; }
    .header .top-nav ul.nav1 li { width: 100%; text-align: left; }
    .header .top-nav ul.nav1 li a,
    .header .top-nav ul.nav1 li a:hover,
    .header .top-nav ul.nav1 li a.active { padding: 12px 16px; }
    .sidebar-nav .sidebar-navbar-collapse { display: block; height: auto; }
    .sub-menu img, .sub-menu iframe { max-width: 100%; }
    .sub-menu img { height: auto; }
    .sub-menu #js-show-iframe-wrapper { min-width: 0; }
    .search-panel { margin-left: 15px; margin-right: 15px; }
    .search-panel .search-field { width: 100%; }
    .main-content { overflow-x: auto; overflow-wrap: anywhere; }
    .main-content > .main-content { overflow: visible; }
}