/* Navigation was populated and toggled by scripts removed during restoration. */
#header { overflow:visible; }
#nav > .wsite-menu-default { display:flex; justify-content:flex-end; align-items:center; margin:0; float:none; }
#nav > .wsite-menu-default > li { position:relative; display:block; }
#nav .wsite-menu-wrap { display:none !important; }
#nav .wsite-menu-item-wrap:hover > .wsite-menu-wrap,
#nav .wsite-menu-item-wrap:focus-within > .wsite-menu-wrap { display:block !important; }
/* The dropdown needs its own geometry so it fits within the visible window. */
#nav .wsite-menu-wrap { position:absolute; right:0; top:100%; width:280px; max-height:75vh; overflow-y:auto; background:#fff; box-shadow:0 3px 10px #0002; text-align:left; }
#nav .wsite-menu-wrap li { display:block; padding:0; }
#nav .wsite-menu-wrap a { display:block; padding:5px 15px; line-height:1.6; }
#nav .wsite-menu-wrap a:hover, #nav .wsite-menu-wrap a:focus { background:#f5edf2; }
.site-fix-menu-close { display:none; }
@media (max-width:767px) {
  #nav-trigger { cursor:pointer; }
  #nav:target { display:block; position:fixed; top:40px; left:0; right:0; max-height:calc(100dvh - 40px); overflow-y:auto; background:#fff; padding:0 0 15px; }
  #nav > .wsite-menu-default { display:block; }
  #nav > .wsite-menu-default > li { padding:0; }
  #nav .wsite-menu-item { padding:8px 18px; }
  #nav .wsite-menu-wrap { display:block !important; position:static; width:auto; max-height:none; overflow:visible; box-shadow:none; text-align:center; }
  #nav .wsite-menu-wrap a { padding:7px 18px; }
  #nav:target .site-fix-menu-close { display:block; position:fixed; top:0; left:9px; width:40px; height:40px; background:#fff; color:#99336f; font-size:32px; line-height:36px; text-align:center; z-index:12; }
}
/* Removed tab scripts left all real panels hidden. Interleave existing labels and panels. */
.tabbed-box { display:flex !important; flex-direction:column; }
.tabbed-box .tabbed-box-bar,
.tabbed-box .tabbed-box-tab-group,
.tabbed-box .tabbed-box-content-group { display:contents !important; }
.tabbed-box .tabbed-box-tab { float:none !important; width:auto !important; margin:0 !important; padding:12px 0 !important; height:auto !important; cursor:default !important; border-bottom:1px solid #ebc2da; }
.tabbed-box .tabbed-box-tab .paragraph { line-height:1.5 !important; }
.tabbed-box .tabbed-box-content { display:block !important; width:100%; box-sizing:border-box; }
.tabbed-box [rel="tab-0"] { order:0; } .tabbed-box .tab-0 { order:1; }
.tabbed-box [rel="tab-1"] { order:2; } .tabbed-box .tab-1 { order:3; }
.tabbed-box [rel="tab-2"] { order:4; } .tabbed-box .tab-2 { order:5; }
.tabbed-box [rel="tab-3"] { order:6; } .tabbed-box .tab-3 { order:7; }
.tabbed-box [rel="tab-4"] { order:8; } .tabbed-box .tab-4 { order:9; }
.tabbed-box [rel="tab-5"] { order:10; } .tabbed-box .tab-5 { order:11; }
.tabbed-box [rel="tab-6"] { order:12; } .tabbed-box .tab-6 { order:13; }
.tabbed-box [rel="tab-7"] { order:14; } .tabbed-box .tab-7 { order:15; }
.tabbed-box .scrollArrow { display:none !important; }
/* These six gallery slots have no archived images or captions. */
[id="540555937943287695-gallery"]:not(:has(img)) { display:none; }
/* The contact address was clipped by its container on phones. */
#contact ~ pre { white-space:pre-wrap; overflow-wrap:anywhere; }
/* Removed video embeds still reserve a widescreen rectangle. */
.wsite-youtube:has(.wsite-youtube-container):not(:has(iframe,video,img)) { display:none; }
video:not([src]):not(:has(source)), audio:not([src]):not(:has(source)) { display:none; }
/* Only missing, captionless gallery tiles are collapsed; real captions remain. */
.imageGallery > div:has(.galleryInnerImageHolder:empty):not(:has(img,.galleryCaption,.galleryCaptionInnerText)) { display:none; }
/* The page-wide paragraph colour overrode the original light text on these dark panels. */
#wsite-content .eparagraphsansserif .paragraph,
#wsite-content .eparagraphsansserif p { color:#ccc !important; }
