/* OfficialRule mobile refinements. Author: NHDeveloper-Tasha. Desktop typography intentionally untouched. */
@media(max-width:767px){
 body.home .betterdocs-ia-launcher-wrapper{position:static!important;margin:20px 24px!important;width:max-content;max-width:calc(100% - 48px)}
 body.home #toTop{display:none!important}
 body.home .or-home-intro{--awb-font-size:17px!important;--awb-line-height:27.2px!important;--awb-content-alignment:left!important}
 body.home .or-home-intro-label{--awb-font-size:13px!important;--awb-line-height:20px!important;--awb-letter-spacing:2px!important}
 body.home .or-home-hero-copy{--awb-font-size:18px!important;--awb-line-height:28px!important}
 body.home .or-home-hero-title h1{font-size:44px!important;line-height:1.15!important;letter-spacing:0!important}
 body.home .or-home-heading h2{font-size:27px!important;line-height:1.25!important;letter-spacing:0!important}
 body.home .or-home-card-title h3,body.home .fusion-post-cards .fusion-title h2,body.home .fusion-post-cards .fusion-title h3{font-size:20px!important;line-height:1.4!important;letter-spacing:0!important}
 body.home .or-home-faq .fusion-toggle-heading{font-size:17px!important;line-height:1.5!important;font-weight:600!important;letter-spacing:0!important}
 body.home .or-home-faq .panel-title a{min-height:48px;display:flex;align-items:center;padding-top:12px;padding-bottom:12px}
 body.home .or-home-faq .panel-title{line-height:1.5!important}
 body.home .or-home-faq .panel-body{font-size:16px;line-height:1.6}
 /* The existing docs-only layout explicitly hides its title column. Reuse that column for the native mobile Menu. */
 body.or-library .fusion-tb-header .fusion_builder_column_1_3{width:calc(100% - 64px)!important}
 body.or-library .fusion-tb-header .fusion_builder_column_2_3{display:flex!important;width:64px!important}
 body.or-library .fusion-tb-header .fusion_builder_column_2_3 .fusion-title{display:none}
 body.or-library .fusion-tb-header .fusion_builder_column_2_3>.fusion-column-wrapper{width:100%;justify-content:flex-end}
 body.or-library .fusion-tb-header{position:relative;z-index:100}
 body.or-library .or-docs-primary{width:100%;--awb-mobile-color:#172e3b;--awb-mobile-bg:#fff;--awb-mobile-active-color:#fff;--awb-mobile-active-bg:#008f99}
 body.or-library .or-docs-primary .awb-menu__m-toggle{min-width:48px;min-height:48px;color:#172e3b}
 body.or-library .or-docs-primary .awb-menu__main-ul{background:#fff}
}
/* Native mobile submenu opens, but its fixed-height flex parent lets the next row cover the submenu links. */
@media(max-width:1210px){
 .fusion-tb-header .awb-menu.collapse-enabled .awb-menu__main-li{height:auto!important;min-height:65px;flex-wrap:wrap}
 .fusion-tb-header .awb-menu.collapse-enabled .awb-menu__sub-ul_main{flex-basis:100%;width:100%}
 .fusion-tb-header .awb-menu.collapse-enabled .awb-menu__m-toggle{min-width:44px}
}
/* Added docs menu is mobile-only: original desktop/tablet header remains unchanged. */
@media(min-width:768px){body.or-library .or-docs-primary{display:none!important}}
.fusion-tb-header .awb-menu button:focus-visible,.fusion-tb-header .awb-menu a:focus-visible{outline:2px solid currentColor;outline-offset:-3px}

/* Sports: native child menu on collapsed header only; desktop Builder mega untouched. */
.fusion-tb-header .awb-menu:not(.collapse-enabled) #menu-item-5976 > .awb-menu__sub-ul_main{display:none!important}
@media(max-width:1210px){
 .fusion-tb-header .awb-menu.collapse-enabled #menu-item-5976 > .awb-menu__mega-wrap{display:none!important}
 .fusion-tb-header .awb-menu.collapse-enabled #menu-item-5976 > .awb-menu__sub-ul_main{position:static!important;max-width:none!important;min-width:0!important;left:auto!important;right:auto!important;max-height:55vh;max-height:55dvh;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff}
 .fusion-tb-header .awb-menu.collapse-enabled #menu-item-5976 > .awb-menu__sub-ul_main > li{height:auto!important;min-height:44px;width:100%}
 .fusion-tb-header .awb-menu.collapse-enabled #menu-item-5976 > .awb-menu__sub-ul_main > li > a{min-height:44px;padding:10px 24px;white-space:normal;line-height:1.5;color:#172e3b;background:#fff}
 .fusion-tb-header .awb-menu.collapse-enabled #menu-item-5976 > .awb-menu__sub-ul_main > li > a:focus-visible{outline:2px solid #008f99;outline-offset:-3px}
}

/* OfficialRule completion: native six-group desktop mega, viewport-safe. */
@media(min-width:1025px){
 #awb-mega-menu-1258{max-height:calc(100dvh - 210px);overflow-y:scroll;scrollbar-width:thin;scrollbar-color:#008f99 #e8f0f0;overscroll-behavior:contain;}
 #awb-mega-menu-1258 > .fusion-fullwidth:first-child{--awb-padding-top:20px;--awb-padding-bottom:10px;}
 #awb-mega-menu-1258 .awb-submenu{--awb-gap:2px;}
 #awb-mega-menu-1258 .awb-submenu__main-a{min-height:25px;padding-top:1px;padding-bottom:1px;line-height:1.35;}
 #awb-mega-menu-1258 > .fusion-fullwidth:first-child > .fusion-row > .fusion-layout-column:nth-child(4) .fusion-title{margin-bottom:0;}
}
