/* West Country Technical Solutions — Header and navigation */
.wcts-site-header{--wh-primary:var(--e-global-color-primary,#004225);--wh-secondary:var(--e-global-color-secondary,#2D5A40);--wh-accent:var(--e-global-color-accent,#F7B31B);--wh-text:var(--e-global-color-text,#26352e);position:sticky;top:0;z-index:9999;font-family:var(--e-global-typography-text-font-family,inherit);color:var(--wh-text)}
.wcts-site-header *{box-sizing:border-box}
.wcts-header-container{width:min(1240px,calc(100% - 48px));margin-inline:auto}
.wcts-topbar{background:var(--wh-primary);color:#fff;font-size:13px;letter-spacing:.01em}
.wcts-topbar__inner{min-height:34px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.wcts-topbar__contact{display:flex;gap:20px}
.wcts-topbar a{color:#fff;text-decoration:none}
.wcts-topbar a:hover{text-decoration:underline}
.wcts-navbar{background:#fff;border-bottom:1px solid #e3ebe5;box-shadow:0 3px 16px rgba(0,35,19,.05)}
.wcts-navbar__inner{min-height:90px;display:flex;align-items:center;gap:25px;position:relative}
.wcts-header-brand{flex:0 0 170px;min-height:54px}
.wcts-primary-nav{margin-left:auto;min-width:0}
.wcts-primary-nav .wcts-menu,.wcts-primary-nav .wcts-menu ul{margin:0;padding:0;list-style:none}
.wcts-primary-nav .wcts-menu{display:flex;align-items:center;gap:clamp(12px,1.3vw,22px)}
.wcts-primary-nav .wcts-menu>li{position:relative;display:block;margin:0;padding:0}
.wcts-primary-nav .wcts-menu>li>a{display:inline-flex;align-items:center;gap:0;color:var(--wh-primary);font-size:14px;font-weight:650;line-height:1.3;text-decoration:none;padding:14px 0;transition:color .2s}
.wcts-primary-nav .wcts-menu a:hover,.wcts-primary-nav .wcts-menu .current-menu-item>a{color:var(--wh-secondary)}
.wcts-primary-nav .wcts-menu>li.menu-item-has-children>a::after,.wcts-primary-nav .wcts-menu>li.wcts-has-mega>a::after{content:"";display:block;width:7px;height:7px;flex:0 0 7px;margin-left:10px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);pointer-events:none}
.wcts-header-cta{display:inline-flex;flex:none;align-items:center;gap:16px;background:var(--wh-accent);color:var(--wh-primary)!important;padding:15px 18px;text-decoration:none!important;font-size:13px;font-weight:750;white-space:nowrap;transition:filter .2s}
.wcts-header-cta:hover{filter:brightness(1.08)}
.wcts-site-header .wcts-submenu-toggle{display:none!important}
.wcts-menu-toggle{display:none;border:0;background:transparent;padding:10px;cursor:pointer}
.wcts-menu-toggle span{display:block;width:25px;height:2px;background:var(--wh-primary);margin:5px 0}
/* Ordinary WordPress dropdowns */
.wcts-primary-nav .wcts-menu .sub-menu{position:absolute;top:100%;left:0;min-width:225px;padding:10px;background:#fff;border:1px solid #e2eae4;box-shadow:0 14px 34px rgba(0,40,20,.14);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .18s,transform .18s,visibility .18s;z-index:1001}
.wcts-primary-nav .wcts-menu .sub-menu .sub-menu{top:0;left:100%}
.wcts-primary-nav .wcts-menu li:hover>.sub-menu,.wcts-primary-nav .wcts-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.wcts-primary-nav .wcts-menu .sub-menu li{position:relative}
.wcts-primary-nav .wcts-menu .sub-menu a{display:block;padding:12px 14px;white-space:nowrap}
.wcts-primary-nav .wcts-menu .sub-menu a:hover{background:#f2f7f3}
/* Mega menus: IMPORTANT: parent li remains position:relative.
   This prevents the menu panel itself from expanding the parent hover target.
   The panel is centred under the individual navigation label. */
.wcts-primary-nav .wcts-menu>li.wcts-has-mega{position:relative}
.wcts-primary-nav .wcts-menu>li.wcts-has-mega>.wcts-mega{position:absolute;top:100%;left:50%;right:auto;width:min(1000px,calc(100vw - 48px));min-width:0;background:#fff;border:1px solid #e1eae3;border-top:3px solid var(--wh-accent);box-shadow:0 20px 45px rgba(0,40,20,.14);opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,8px);transition:opacity .18s,transform .18s,visibility .18s;z-index:1000}
.wcts-primary-nav .wcts-menu>li.wcts-has-mega:hover>.wcts-mega,.wcts-primary-nav .wcts-menu>li.wcts-has-mega:focus-within>.wcts-mega{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
.wcts-mega__inner{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:30px;padding:30px}
.wcts-mega__inner>*{min-width:0}
.wcts-mega__eyebrow{display:block;font-size:11px;font-weight:700;letter-spacing:.1em;color:var(--wh-secondary);margin-bottom:12px}
.wcts-mega h2,.wcts-mega h3{font-family:var(--e-global-typography-primary-font-family,inherit);color:var(--wh-primary);margin:0;overflow-wrap:normal;word-break:normal}
.wcts-mega h2{font-size:25px;line-height:1.2}
.wcts-mega h3{font-size:15px;padding-bottom:14px;border-bottom:1px solid #e1e9e3}
.wcts-mega p{font-size:13px;line-height:1.6;color:var(--wh-text);margin:12px 0 0}
.wcts-primary-nav .wcts-menu .wcts-mega ul{list-style:none;margin:12px 0 0;padding:0}
.wcts-primary-nav .wcts-menu .wcts-mega li a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;white-space:normal;border-bottom:1px solid #eef2ee}
.wcts-mega li a span{opacity:.6}
.wcts-primary-nav .wcts-menu .wcts-mega__all{display:inline-flex;align-items:center;gap:12px;margin-top:22px;background:var(--wh-accent);color:var(--wh-primary);padding:12px 16px;font-weight:700;font-size:12px}
.wcts-mega__empty{font-size:12px!important;color:#687b70!important}
/* Radio communications — four-column categories */
.wcts-primary-nav .wcts-menu>li.wcts-has-mega>.wcts-mega--categories{width:min(1000px,calc(100vw - 48px))}
.wcts-primary-nav .wcts-mega--categories .wcts-mega__inner{display:block;padding:28px 34px 32px}
.wcts-primary-nav .wcts-mega--categories .wcts-mega__title{font-size:21px;line-height:1.25;margin:0 0 22px;font-weight:700}
.wcts-primary-nav .wcts-mega--categories .wcts-mega__categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.wcts-primary-nav .wcts-mega--categories .wcts-mega__category{min-width:0;border-left:1px solid #e1e9e3;padding-left:18px}
.wcts-primary-nav .wcts-mega--categories .wcts-mega__category:first-child{border-left:0;padding-left:0}
.wcts-primary-nav .wcts-mega--categories .wcts-mega__category h3{font-size:15px;line-height:1.4;padding:0;margin:0;border:0;font-weight:700}
.wcts-primary-nav .wcts-mega--categories .wcts-mega__category h3 a{display:block;padding:0;border:0;white-space:normal}
.wcts-primary-nav .wcts-mega--categories .wcts-mega__category ul{margin:12px 0 0;padding:0;list-style:none}
.wcts-primary-nav .wcts-mega--categories .wcts-mega__category li a{display:block;padding:6px 0;border:0;white-space:normal}
/* Gas detection — two-column mega menu */
.wcts-primary-nav .wcts-menu>li.wcts-has-mega>.wcts-mega--gas{width:min(850px,calc(100vw - 48px))}
.wcts-primary-nav .wcts-mega--gas .wcts-mega__inner{display:block;padding:28px 34px 32px}
.wcts-primary-nav .wcts-mega--gas .wcts-gas-menu__heading{margin-bottom:22px}
.wcts-primary-nav .wcts-mega--gas .wcts-mega__title{margin:0;font-size:23px}
.wcts-primary-nav .wcts-mega--gas .wcts-gas-menu__columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
.wcts-primary-nav .wcts-mega--gas .wcts-gas-menu__column{min-width:0}
.wcts-primary-nav .wcts-mega--gas .wcts-gas-menu__column+.wcts-gas-menu__column{border-left:1px solid #e1e9e3;padding-left:34px}
.wcts-primary-nav .wcts-mega--gas .wcts-gas-menu__column h3{font-size:13px;font-weight:750;text-transform:uppercase;letter-spacing:.07em;padding-bottom:12px;border-bottom:1px solid #e1e9e3;color:var(--wh-accent)}
.wcts-primary-nav .wcts-mega--gas .wcts-gas-menu__column ul{display:grid;grid-template-columns:1fr;gap:0;list-style:none;margin:8px 0 0;padding:0}
.wcts-primary-nav .wcts-mega--gas .wcts-gas-menu__column li a{display:block;padding:11px 0;white-space:normal}
/* Consistent typography across all dropdown links */
.wcts-site-header .wcts-primary-nav .wcts-menu .sub-menu a,
.wcts-site-header .wcts-primary-nav .wcts-mega--categories .wcts-mega__category h3 a,
.wcts-site-header .wcts-primary-nav .wcts-mega--categories .wcts-mega__category li a,
.wcts-site-header .wcts-primary-nav .wcts-mega--gas .wcts-gas-menu__column li a,
.wcts-site-header .wcts-primary-nav .wcts-mega li a{font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;letter-spacing:0;color:var(--wh-primary);text-decoration:none}
.wcts-site-header .wcts-primary-nav .wcts-menu .sub-menu a:hover,
.wcts-site-header .wcts-primary-nav .wcts-mega a:hover{color:#c47d00}
.admin-bar .wcts-site-header{top:32px}
@media(min-width:901px) and (max-width:1150px){.wcts-header-brand{flex-basis:100px}.wcts-navbar__inner{gap:14px}.wcts-primary-nav .wcts-menu{gap:12px}.wcts-primary-nav .wcts-menu>li>a{font-size:12px}.wcts-header-cta{padding:13px}.wcts-primary-nav .wcts-mega--categories .wcts-mega__categories{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Mobile navigation */
@media(max-width:900px){
 .wcts-header-container{width:calc(100% - 36px)}
 .wcts-topbar__inner{min-height:32px}.wcts-topbar__message{font-size:11px}
 .wcts-navbar__inner{min-height:74px}.wcts-header-brand{flex:1;min-height:44px}.wcts-header-cta{margin-left:auto}.wcts-menu-toggle{display:block}
 .wcts-primary-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid #e3ebe5;box-shadow:0 20px 30px rgba(0,40,20,.13);max-height:calc(100dvh - 110px);overflow:auto;margin:0}
 .wcts-site-header.is-menu-open .wcts-primary-nav{display:block}
 .wcts-primary-nav .wcts-menu{display:block;padding:12px 18px 20px}
 .wcts-primary-nav .wcts-menu>li,.wcts-primary-nav .wcts-menu>li.wcts-has-mega{position:relative;border-bottom:1px solid #edf1ed}
 .wcts-primary-nav .wcts-menu>li>a{padding:16px 4px;font-size:15px}
 .wcts-primary-nav .wcts-menu>li.menu-item-has-children>a,.wcts-primary-nav .wcts-menu>li.wcts-has-mega>a{padding-right:48px}
 .wcts-primary-nav .wcts-menu>li.menu-item-has-children>a::after,.wcts-primary-nav .wcts-menu>li.wcts-has-mega>a::after{display:none}
 .wcts-site-header .wcts-submenu-toggle{display:flex!important;position:absolute;top:5px;right:0;width:42px;height:42px;min-width:42px;min-height:42px;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--wh-primary)!important;align-items:center;justify-content:center;cursor:pointer}
 .wcts-chevron{display:block;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s}
 .is-submenu-open>.wcts-submenu-toggle .wcts-chevron{transform:rotate(225deg)}
 .wcts-primary-nav .wcts-menu .sub-menu,.wcts-primary-nav .wcts-menu .sub-menu .sub-menu{display:none;position:static;min-width:0;padding:0 0 8px 16px;opacity:1;visibility:visible;pointer-events:auto;transform:none;box-shadow:none;border:0;transition:none}
 .wcts-primary-nav .wcts-menu li:hover>.sub-menu,.wcts-primary-nav .wcts-menu li:focus-within>.sub-menu{display:none}
 .wcts-primary-nav .wcts-menu li.is-submenu-open>.sub-menu{display:block}
 .wcts-primary-nav .wcts-menu .sub-menu a{white-space:normal;padding:12px 4px}
 .wcts-primary-nav .wcts-menu>li.wcts-has-mega>.wcts-mega,.wcts-primary-nav .wcts-menu>li.wcts-has-mega>.wcts-mega--gas,.wcts-primary-nav .wcts-menu>li.wcts-has-mega>.wcts-mega--categories{display:none;position:static;width:100%;max-width:100%;opacity:1;visibility:visible;pointer-events:auto;transform:none;box-shadow:none;border:0;border-top:1px solid #e4ebe5;transition:none}
 .wcts-primary-nav .wcts-menu>li.wcts-has-mega:hover>.wcts-mega,.wcts-primary-nav .wcts-menu>li.wcts-has-mega:focus-within>.wcts-mega{display:none;transform:none}
 .wcts-primary-nav .wcts-menu>li.wcts-has-mega.is-submenu-open>.wcts-mega{display:block}
 .wcts-mega__inner{grid-template-columns:1fr;gap:22px;padding:20px 8px 24px}
 .wcts-mega h2{font-size:21px}
 .wcts-primary-nav .wcts-menu .wcts-mega li a{padding:12px 0}
 .wcts-primary-nav .wcts-mega--categories .wcts-mega__inner,.wcts-primary-nav .wcts-mega--gas .wcts-mega__inner{padding:20px 8px 24px}
 .wcts-primary-nav .wcts-mega--categories .wcts-mega__title{font-size:19px;margin-bottom:16px}
 .wcts-primary-nav .wcts-mega--categories .wcts-mega__categories{grid-template-columns:1fr;gap:18px}
 .wcts-primary-nav .wcts-mega--categories .wcts-mega__category,.wcts-primary-nav .wcts-mega--categories .wcts-mega__category:first-child{border-left:0;padding-left:0}
 .wcts-primary-nav .wcts-mega--gas .wcts-gas-menu__columns{grid-template-columns:1fr;gap:22px}
 .wcts-primary-nav .wcts-mega--gas .wcts-gas-menu__column+.wcts-gas-menu__column{border-left:0;border-top:1px solid #e1e9e3;padding:20px 0 0}
}
@media(max-width:600px){.wcts-topbar__message{display:none}.wcts-topbar__inner{justify-content:center}.wcts-header-cta{font-size:11px;padding:11px 12px;gap:8px}.wcts-header-brand{min-width:25px}.admin-bar .wcts-site-header{top:46px}}
@media(prefers-reduced-motion:reduce){.wcts-site-header *{transition:none!important}}
/* WCTS — MAIN NAVIGATION HOVER EFFECT */

@media (min-width: 901px) {

  /* Main navigation links */
  .wcts-site-header .wcts-primary-nav
  .wcts-menu > li > a {
    position: relative;
    transition: color 0.2s ease;
  }

  /* Animated yellow underline */
  .wcts-site-header .wcts-primary-nav
  .wcts-menu > li > a::before {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F7B31B;
    transition: width 0.25s ease;
  }

  /* Show underline on hover and keyboard focus */
  .wcts-site-header .wcts-primary-nav
  .wcts-menu > li:hover > a::before,
  .wcts-site-header .wcts-primary-nav
  .wcts-menu > li > a:focus-visible::before {
    width: 100%;
  }

  /* Slight text colour change */
  .wcts-site-header .wcts-primary-nav
  .wcts-menu > li:hover > a {
    color: #2D5A40;
  }
}

/* WCTS — MEGA MENU LINK HOVER EFFECT */

@media (min-width: 901px) {

  /* All mega menu links */
  .wcts-site-header .wcts-mega a {
    position: relative;
    transition: color 0.2s ease;
  }

  /* Yellow animated underline */
  .wcts-site-header .wcts-mega li > a::after,
  .wcts-site-header .wcts-mega__category h3 > a::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F7B31B;
    transition: width 0.25s ease;
    pointer-events: none;
  }

  /* Animate on hover and keyboard focus */
  .wcts-site-header .wcts-mega li > a:hover::after,
  .wcts-site-header .wcts-mega li > a:focus-visible::after,
  .wcts-site-header .wcts-mega__category h3 > a:hover::after,
  .wcts-site-header .wcts-mega__category h3 > a:focus-visible::after {
    width: 100%;
  }

  /* Keep text green */
  .wcts-site-header .wcts-mega a:hover {
    color: #004225 !important;
  }
}

/* WCTS — CONSISTENT MEGA MENU POSITIONING */

@media (min-width: 901px) {

  .wcts-navbar__inner {
    position: relative !important;
  }

  .wcts-primary-nav .wcts-menu > li.wcts-has-mega {
    position: static !important;
  }

  /* Position all mega menus consistently */
  .wcts-primary-nav .wcts-menu > li.wcts-has-mega > .wcts-mega {
    left: 55% !important;
    right: auto !important;
    transform: translate(-50%, 8px) !important;
  }

  /* Open position */
  .wcts-primary-nav .wcts-menu > li.wcts-has-mega:hover > .wcts-mega,
  .wcts-primary-nav .wcts-menu > li.wcts-has-mega:focus-within > .wcts-mega {
    transform: translate(-50%, 0) !important;
  }
}

/* WCTS — MEGA MENU HOVER EFFECT
   Colour change only, no underlines */

.wcts-site-header .wcts-primary-nav .wcts-mega a,
.wcts-site-header .wcts-primary-nav .wcts-mega a::before,
.wcts-site-header .wcts-primary-nav .wcts-mega a::after {
    text-decoration: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Default link colour */
.wcts-site-header .wcts-primary-nav .wcts-mega a {
    color: #004225 !important;
    border-bottom-color: transparent;
    transition: color 0.2s ease !important;
}

/* Hover — yellow/orange text only */
.wcts-site-header .wcts-primary-nav .wcts-mega a:hover,
.wcts-site-header .wcts-primary-nav .wcts-mega a:focus-visible {
    color: #F7B31B !important;
    text-decoration: none !important;
}

/* Remove underline pseudo-elements */
.wcts-site-header .wcts-primary-nav .wcts-mega a::before,
.wcts-site-header .wcts-primary-nav .wcts-mega a::after {
    content: none !important;
}

/* Remove any animated underline on category headings */
.wcts-site-header .wcts-primary-nav
.wcts-mega--categories .wcts-mega__category h3 a:hover {
    border-bottom: none !important;
}

/* WCTS — STABLE MEGA MENU HOVER */

@media (min-width: 901px) {

    /* Give each menu item its own hover area */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega {
        position: relative !important;
    }

    /* Position both panels consistently */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega > .wcts-mega {
        top: 100% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, 0) !important;
    }

    /* Extend hover area towards the dropdown */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega::after {
        content: "";
        position: absolute;
        top: 100%;
        left: -35px;
        width: calc(100% + 70px);
        height: 22px;
        background: transparent;
        pointer-events: auto;
    }

    /* Keep dropdown visible while hovered */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega:hover > .wcts-mega,
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega:focus-within > .wcts-mega {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate(-50%, 0) !important;
    }
}

/* ==========================================
   WCTS — MEGA MENU POSITION & HOVER FIX
========================================== */

@media (min-width: 901px) {

    /* Header content positioning */
    .wcts-site-header .wcts-navbar__inner {
        position: relative !important;
    }

    /* Keep the hover trigger limited to each menu item */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega {
        position: relative !important;
    }

    /* Both mega menus */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega > .wcts-mega {

        position: absolute !important;

        /* Remove the gap completely */
        top: 100% !important;
        margin-top: 0 !important;

        /* Same width for both */
        width: min(1240px, calc(100vw - 48px)) !important;
        max-width: none !important;

        left: 50% !important;
        right: auto !important;

        transform: translateX(-50%) !important;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: opacity .15s ease,
                    visibility .15s ease !important;
    }

    /* Show on hover or keyboard focus */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega:hover > .wcts-mega,

    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega:focus-within > .wcts-mega {

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) !important;
    }

    /* Remove previous hover bridge */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega::after {
        content: none !important;
    }

    /* Preserve yellow hover text, no underline */
    .wcts-site-header .wcts-primary-nav
    .wcts-mega a:hover {
        color: #F7B31B !important;
        text-decoration: none !important;
    }
}

/* WCTS — ALIGN BOTH MEGA MENUS TO HEADER CONTENT */

@media (min-width: 901px) {

    /* Use the header content as the positioning reference */
    .wcts-site-header .wcts-navbar__inner {
        position: relative !important;
    }

    /* Both mega-menu parent items */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega {
        position: static !important;
    }

    /* Centre both mega menus in the header */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega > .wcts-mega {

        left: 50% !important;
        right: auto !important;

        width: 100% !important;
        max-width: 1240px !important;

        top: 100% !important;
        margin-top: 0 !important;

        transform: translateX(-50%) !important;
    }

    /* Keep positioning identical when open */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega:hover > .wcts-mega,
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega:focus-within > .wcts-mega {
        transform: translateX(-50%) !important;
    }
}

/* WCTS — FIX MEGA MENU HOVER GAP */

@media (min-width: 901px) {

    /* Keep both mega menus aligned */
    .wcts-site-header .wcts-navbar__inner {
        position: relative !important;
    }

    .wcts-site-header .wcts-menu > li.wcts-has-mega {
        position: static !important;
    }

    /* Invisible bridge covering the space between
       navigation links and mega menus */
    .wcts-site-header .wcts-menu > li.wcts-has-mega > a::before {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 45px;
        background: transparent;
        z-index: 1001;
    }

    /* Position both mega menus identically */
    .wcts-site-header .wcts-primary-nav
    .wcts-menu > li.wcts-has-mega > .wcts-mega {
        top: 100% !important;
        left: 50% !important;
        right: auto !important;
        width: 100% !important;
        max-width: 1240px !important;
        margin-top: 0 !important;
        transform: translateX(-50%) !important;
    }

    /* Keep menus open while hovering over them */
    .wcts-site-header .wcts-menu > li.wcts-has-mega:hover > .wcts-mega,
    .wcts-site-header .wcts-menu > li.wcts-has-mega:focus-within > .wcts-mega {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) !important;
    }
}

/* WCTS — HEADER LOGO */

.wcts-site-header .wcts-header-brand {
    flex: 0 0 190px;
    min-width: 0;
    min-height: 0;
}

.wcts-site-header .wcts-header-brand__link {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
}

.wcts-site-header .wcts-header-brand__logo {
    display: block;
    width: 100%;
    max-width: 190px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    object-position: left center;
}

/* SMALLER DESKTOP SCREENS */

@media (min-width: 901px) and (max-width: 1200px) {
    .wcts-site-header .wcts-header-brand {
        flex-basis: 140px;
    }

    .wcts-site-header .wcts-header-brand__logo {
        max-width: 140px;
    }
}

/* TABLET AND MOBILE */

@media (max-width: 900px) {
    .wcts-site-header .wcts-header-brand {
        flex: 1 1 auto;
    }

    .wcts-site-header .wcts-header-brand__logo {
        width: auto;
        max-width: 150px;
        max-height: 55px;
    }
}

@media (max-width: 600px) {
    .wcts-site-header .wcts-header-brand__logo {
        max-width: 120px;
        max-height: 45px;
    }
}
