/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/**
 * Keep Bricks' fixed header from covering the first page section.
 * site-layout.js replaces the fallback with the header's real rendered height.
 */
:root {
  --ms-header-offset: 118px;
}

html {
  scroll-padding-top: calc(var(--ms-header-offset) + 16px);
}

#brx-header.brx-sticky ~ #brx-content {
  padding-top: var(--ms-header-offset);
}

@media (max-width: 600px) {
  :root {
    --ms-header-offset: 150px;
  }
}

/* MONSERRATO_SEARCH_RESULTS_START */
body.search { background:#f7fafc; }
body.search .bricks-archive-title-wrapper {
  max-width:none; width:100%; margin:0; padding:72px 20px 58px;
  background:linear-gradient(125deg,#071a2c 0%,#0f2438 100%);
  color:#fff; display:block;
}
body.search .bricks-archive-title-wrapper > * { max-width:1240px; margin-left:auto; margin-right:auto; }
body.search .bricks-archive-title-wrapper::before {
  content:'RICERCA SU MONSERRATO.IT'; display:block; max-width:1240px;
  margin:0 auto 14px; color:#fd5631; font:700 13px/1.2 Inter,Arial,sans-serif;
  letter-spacing:1.4px; text-transform:uppercase;
}
body.search .bricks-archive-title-wrapper .title {
  margin:0 auto; color:#fff; font-family:Poppins,Arial,sans-serif;
  font-size:clamp(34px,4vw,54px); line-height:1.08; font-weight:700;
}
body.search .ms-search-page-intro { max-width:1240px; margin:14px auto 0; color:#d7e2eb; font-size:17px; line-height:1.6; }
body.search .ms-search-page-form { max-width:760px; margin:28px auto 0; display:flex; align-items:stretch; }
body.search .ms-search-page-form label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
body.search .ms-search-page-form input[type='search'] {
  flex:1 1 auto; min-width:0; height:58px; padding:0 18px; border:1px solid #dce4ea;
  border-right:0; border-radius:12px 0 0 12px; background:#fff; color:#132235; font-size:16px;
}
body.search .ms-search-page-form button {
  flex:0 0 auto; min-width:112px; height:58px; padding:0 24px; border:1px solid #c93812;
  border-radius:0 12px 12px 0; background:#c93812; color:#fff; font:700 15px/1 Inter,Arial,sans-serif;
  cursor:pointer; transition:background-color .2s ease,transform .2s ease;
}
body.search .ms-search-page-form button:hover { background:#a92e0f; transform:translateY(-1px); }
body.search #brx-content.layout-default { padding-top:0 !important; background:#f7fafc; }
body.search #brx-content > .brxe-container { max-width:1240px; padding:64px 20px 80px; }
body.search-results .brxe-posts { width:100%; }
body.search-results .bricks-layout-wrapper[data-layout='grid'] {
  display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; width:100%;
}
body.search-results .bricks-layout-item {
  margin:0 !important; width:auto !important; min-height:100%; background:#fff;
  border:1px solid #dce4ea; border-radius:16px; box-shadow:0 10px 30px rgba(7,26,44,.06);
  overflow:hidden; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
body.search-results .bricks-layout-item:hover { transform:translateY(-4px); border-color:#c7d3dd; box-shadow:0 18px 42px rgba(7,26,44,.12); }
body.search-results .bricks-layout-inner { height:100%; }
body.search-results .content-wrapper { height:100%; padding:28px; display:flex; flex-direction:column; gap:12px; }
body.search-results .content-wrapper h3 { margin:0; font-family:Poppins,Arial,sans-serif; font-size:24px; line-height:1.2; }
body.search-results .content-wrapper h3 a { color:#071a2c; text-decoration:none; }
body.search-results .content-wrapper h3 a:hover { color:#c93812; }
body.search-results .content-wrapper .dynamic[data-field-id='1'] { color:#108981; font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
body.search-results .content-wrapper .dynamic[data-field-id='2'] { color:#566575; font-size:16px; line-height:1.6; }
body.search-results .content-wrapper::after {
  content:'Apri la pagina \2192'; margin-top:auto; padding-top:10px; color:#c93812;
  font-size:14px; line-height:1.2; font-weight:700;
}
body.search .bricks-pagination { margin-top:36px; }
body.search-no-results .bricks-no-posts-wrapper {
  width:100%; padding:44px; background:#fff; border:1px solid #dce4ea;
  border-radius:16px; box-shadow:0 10px 30px rgba(7,26,44,.06); text-align:left;
}
body.search-no-results .bricks-no-posts-wrapper .title {
  margin:0; color:#071a2c; font-family:Poppins,Arial,sans-serif; font-size:28px; line-height:1.2;
}
body.search-no-results .bricks-no-posts-wrapper::after {
  content:'Prova con un termine più breve oppure usa categorie come ospitalità, Policlinico, università, farmacie o mangiare.';
  display:block; max-width:720px; margin-top:12px; color:#566575; font-size:16px; line-height:1.6;
}
@media (max-width:991px) {
  body.search-results .bricks-layout-wrapper[data-layout='grid'] { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767px) {
  body.search .bricks-archive-title-wrapper { padding:48px 18px 42px; }
  body.search .ms-search-page-form { flex-direction:column; gap:10px; }
  body.search .ms-search-page-form input[type='search'], body.search .ms-search-page-form button {
    width:100%; height:54px; border-radius:10px; border:1px solid #dce4ea;
  }
  body.search .ms-search-page-form button { border-color:#c93812; }
  body.search #brx-content > .brxe-container { padding:42px 16px 56px; }
  body.search-results .bricks-layout-wrapper[data-layout='grid'] { grid-template-columns:1fr; gap:16px; }
  body.search-results .content-wrapper { padding:22px; }
  body.search-no-results .bricks-no-posts-wrapper { padding:28px 22px; }
}
/* MONSERRATO_SEARCH_RESULTS_END */

/* MONSERRATO_SEARCH_RESULTS_V2_START */
body.search .bricks-archive-title-wrapper {
  margin-top:var(--monsy-header-offset,119px);
  padding-top:58px;
}
body.search .bricks-archive-title-wrapper .title {
  font-size:clamp(32px,3.2vw,48px);
}
body.search-results .content-wrapper::after { display:none; }
body.search-results .ms-result-link {
  display:inline-flex; align-items:center; width:max-content; margin-top:auto; padding-top:10px;
  color:#c93812; font-size:14px; line-height:1.2; font-weight:700; text-decoration:none;
}
body.search-results .ms-result-link:hover { color:#a92e0f; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:767px) {
  body.search .bricks-archive-title-wrapper { margin-top:var(--monsy-header-offset,149px); padding-top:40px; }
}
/* MONSERRATO_SEARCH_RESULTS_V2_END */


/* MONSERRATO_SEARCH_FINAL_POLISH_START */
body.search .ms-search-page-form input[type='search'] {
  text-align:left !important;
  padding-left:22px !important;
  padding-right:22px !important;
}
body.search-results .bricks-layout-item .bricks-layout-inner > .content-wrapper {
  box-sizing:border-box !important;
  padding:30px 30px 32px !important;
}
body.search-results .content-wrapper h3,
body.search-results .content-wrapper .dynamic,
body.search-results .content-wrapper .ms-result-link {
  margin-left:0 !important;
  margin-right:0 !important;
}
@media (max-width:767px) {
  body.search .ms-search-page-form input[type='search'] { padding-left:18px !important; padding-right:18px !important; }
  body.search-results .bricks-layout-item .bricks-layout-inner > .content-wrapper { padding:24px 22px 26px !important; }
}
/* MONSERRATO_SEARCH_FINAL_POLISH_END */

/* MONSERRATO_MOBILE_PRODUCTION_POLISH_START */
@media (max-width: 767px) {
  html, body { width:100%; max-width:100%; overflow-x:hidden; }
  #brx-header, #brx-content, #brx-footer { width:100%; max-width:100%; overflow-x:clip; }

  #brxe-s000ik { padding:8px 16px !important; }
  #brxe-d000il { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:4px !important; align-items:start !important; justify-items:start !important; min-width:0 !important; }
  #brxe-t000im, #brxe-t000in { width:100% !important; max-width:100% !important; min-width:0 !important; white-space:normal !important; overflow-wrap:break-word !important; }
  #brxe-t000im { font-size:11px !important; line-height:1.4 !important; }
  #brxe-t000in { font-size:11px !important; line-height:1.35 !important; }

  #brxe-s000io { padding:13px 16px !important; }
  #brxe-d000ip { width:100% !important; min-width:0 !important; gap:10px !important; flex-wrap:nowrap !important; }
  #brxe-d000iq { min-width:0 !important; flex:1 1 auto !important; }
  #brxe-t000ir { font-size:20px !important; line-height:1.05 !important; white-space:nowrap !important; }
  #brxe-t000is { font-size:9px !important; line-height:1.25 !important; white-space:normal !important; }
  #brxe-n000it { flex:0 0 auto !important; min-width:44px !important; }
  #brxe-n000it .bricks-mobile-menu-toggle { width:44px !important; height:44px !important; display:flex !important; align-items:center !important; justify-content:center !important; }
  #brxe-n000it .bricks-mobile-menu-wrapper { width:min(88vw,340px) !important; max-width:calc(100vw - 20px) !important; }

  #contenuto { padding:42px 16px 52px !important; }
  #brxe-d000f7 { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:34px !important; width:100% !important; min-width:0 !important; }
  #brxe-d000f8 { width:100% !important; min-width:0 !important; gap:16px !important; }
  #brxe-h000f9 { max-width:100% !important; font-size:11px !important; line-height:1.4 !important; letter-spacing:1px !important; white-space:normal !important; overflow-wrap:break-word !important; }
  #brxe-h000fa { max-width:100% !important; font-size:clamp(38px,11vw,46px) !important; line-height:1.04 !important; overflow-wrap:break-word !important; }
  #brxe-h000fb { max-width:100% !important; font-size:clamp(29px,8.6vw,34px) !important; line-height:1.12 !important; white-space:normal !important; overflow-wrap:break-word !important; }
  #brxe-t000fc { max-width:100% !important; font-size:17px !important; line-height:1.58 !important; }

  #brxe-s000fd, .ms-search { width:100% !important; max-width:100% !important; min-width:0 !important; }
  #brxe-s000fd .bricks-search-form, .ms-search .bricks-search-form { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:8px !important; width:100% !important; max-width:100% !important; }
  #brxe-s000fd input[type="search"], .ms-search input[type="search"] { width:100% !important; min-width:0 !important; height:54px !important; min-height:54px !important; padding:0 16px !important; border:1px solid #dce4ea !important; border-radius:11px !important; box-sizing:border-box !important; }
  #brxe-s000fd button, .ms-search button { width:100% !important; min-width:0 !important; height:52px !important; min-height:52px !important; padding:0 18px !important; border-radius:11px !important; box-sizing:border-box !important; }

  #brxe-d000fe { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:8px !important; width:100% !important; min-width:0 !important; }
  #brxe-d000fe > .brxe-button { width:100% !important; min-width:0 !important; align-self:stretch !important; padding:10px 8px !important; font-size:12px !important; line-height:1.2 !important; text-align:center !important; white-space:normal !important; }

  #brxe-d000fk { width:100% !important; max-width:100% !important; min-width:0 !important; justify-self:stretch !important; }
  #brxe-d000fo { padding:20px !important; }

  #brxe-d000g2,#brxe-d000g7,#brxe-d000gc,#brxe-d000gh,#brxe-d000gm,#brxe-d000gr,
  #brxe-d000h1,#brxe-d000h5,#brxe-d000h9,#brxe-d000hd,
  #brxe-d000hz,#brxe-d000i4,#brxe-d000i9 { padding:22px !important; }
  #brxe-d000hj,#brxe-d000ho { padding:26px 22px !important; }
  #brxe-d000if { padding:28px 22px !important; }
  #brxe-b000ij { width:100% !important; }
}
/* MONSERRATO_STICKY_DISCLAIMER_V1_START */
#brx-header.brx-sticky.scrolling #brxe-s000ik {
  display: none !important;
}
#brx-header.brx-sticky.scrolling #brxe-s000io {
  box-shadow: 0 10px 30px rgba(7, 26, 44, .16);
}
@media (prefers-reduced-motion: no-preference) {
  #brx-header.brx-sticky #brxe-s000io {
    transition: box-shadow .2s ease;
  }
}
/* MONSERRATO_STICKY_DISCLAIMER_V1_END */

/* MONSERRATO_MOBILE_NAV_V3_START */
@media (max-width:1180px){
#brxe-n000it .bricks-mobile-menu-overlay{background:rgba(7,26,44,.66)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
#brxe-n000it .bricks-mobile-menu-wrapper{width:min(320px,86vw)!important;max-width:320px!important;background:#f8fafc!important;box-shadow:-18px 0 48px rgba(7,26,44,.22)!important;border-left:1px solid rgba(7,26,44,.08)!important;padding:72px 18px 28px!important;overflow-y:auto!important;overscroll-behavior:contain;border-radius:18px 0 0 18px}
#brxe-n000it .bricks-mobile-menu{display:flex!important;flex-direction:column!important;gap:4px!important;margin:0!important;padding:0!important}
#brxe-n000it .bricks-mobile-menu>li{margin:0!important;border-bottom:1px solid #e7edf2!important}
#brxe-n000it .bricks-mobile-menu>li:last-child{border-bottom:0!important}
#brxe-n000it .bricks-mobile-menu>li>a,#brxe-n000it .bricks-mobile-menu>li>.brx-submenu-toggle>a{min-height:52px!important;padding:13px 10px!important;font-size:17px!important;font-weight:650!important;line-height:1.25!important;color:#071a2c!important;letter-spacing:-.01em!important;text-decoration:none!important;display:flex!important;align-items:center!important;border-radius:10px!important}
#brxe-n000it .bricks-mobile-menu>li>a:hover,#brxe-n000it .bricks-mobile-menu>li>a:focus-visible,#brxe-n000it .bricks-mobile-menu>li>.brx-submenu-toggle>a:hover,#brxe-n000it .bricks-mobile-menu>li>.brx-submenu-toggle>a:focus-visible{background:#edf3f6!important;color:#c93812!important}
#brxe-n000it .bricks-mobile-menu .current-menu-item>a{color:#c93812!important;background:#fff1ed!important}
#brxe-n000it .bricks-mobile-menu .brx-submenu-toggle{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;align-items:center!important;gap:4px!important}
#brxe-n000it .bricks-mobile-menu .brx-submenu-toggle button,#brxe-n000it .bricks-mobile-menu .brx-submenu-toggle>button{width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;background:#edf3f6!important;color:#071a2c!important;display:grid!important;place-items:center!important}
#brxe-n000it .bricks-mobile-menu .brx-submenu-toggle button svg{width:16px!important;height:16px!important;stroke-width:2!important}
#brxe-n000it .bricks-mobile-menu .sub-menu{margin:0 6px 10px 10px!important;padding:4px 0 4px 14px!important;border:0!important;border-left:2px solid #d9e3e9!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
#brxe-n000it .bricks-mobile-menu .sub-menu a{min-height:44px!important;padding:10px!important;font-size:15px!important;font-weight:550!important;line-height:1.35!important;color:#455767!important;background:transparent!important;border-radius:8px!important;white-space:normal!important}
#brxe-n000it .bricks-mobile-menu .sub-menu a:hover,#brxe-n000it .bricks-mobile-menu .sub-menu a:focus-visible{color:#c93812!important;background:#edf3f6!important}
#brxe-n000it .bricks-mobile-menu-toggle{width:46px!important;height:46px!important;display:grid!important;place-items:center!important;border-radius:12px!important}
#brxe-n000it .bricks-mobile-menu-wrapper .bricks-mobile-menu-toggle,#brxe-n000it .bricks-mobile-menu-wrapper button[aria-label*="Chiudi" i]{position:absolute!important;top:16px!important;right:16px!important;width:44px!important;height:44px!important;border-radius:50%!important;background:#071a2c!important;color:#fff!important;box-shadow:0 8px 20px rgba(7,26,44,.16)!important}
#brxe-n000it .bricks-mobile-menu a:focus-visible,#brxe-n000it .bricks-mobile-menu button:focus-visible{outline:2px solid #c93812!important;outline-offset:2px!important;box-shadow:none!important}
}
@media (max-width:420px){#brxe-n000it .bricks-mobile-menu-wrapper{width:min(304px,84vw)!important;max-width:304px!important;padding-left:16px!important;padding-right:16px!important}}
@media (prefers-reduced-motion:reduce){#brxe-n000it .bricks-mobile-menu-wrapper *,#brxe-n000it .bricks-mobile-menu-overlay{transition:none!important;animation:none!important}}
/* MONSERRATO_MOBILE_NAV_V3_END */

/* MONSERRATO_TABLET_HEADER_ALIGNMENT_V4_START */
@media (max-width:1180px) {

  #brxe-d000ip {
    width:100% !important;
    max-width:1240px !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
  }

  #brxe-d000iq {
    flex:0 1 auto !important;
    min-width:0 !important;
  }

  #brxe-n000it {
    flex:0 0 46px !important;
    width:46px !important;
    min-width:46px !important;
    max-width:46px !important;
    margin-left:auto !important;
    margin-right:0 !important;
    align-self:center !important;
  }

  #brxe-n000it .bricks-mobile-menu-toggle {
    width:46px !important;
    height:46px !important;
    margin:0 0 0 auto !important;
    display:grid !important;
    place-items:center !important;
  }
}

@media (max-width:767px) {
  #brxe-n000it {
    flex-basis:44px !important;
    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;
  }

  #brxe-n000it .bricks-mobile-menu-toggle {
    width:44px !important;
    height:44px !important;
  }
}
/* MONSERRATO_TABLET_HEADER_ALIGNMENT_V4_END */
/* MONSERRATO_TABLET_HEADER_ALIGNMENT_V5_START */
@media (max-width:1180px){
  #brxe-d000ip{width:100%!important;max-width:none!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important}
  #brxe-d000iu{display:none!important}
  #brxe-d000iq{flex:0 1 auto!important;min-width:0!important}
  #brxe-n000it{flex:0 0 46px!important;width:46px!important;min-width:46px!important;max-width:46px!important;margin-left:auto!important;margin-right:0!important}
  #brxe-n000it .bricks-mobile-menu-toggle{margin-left:auto!important;margin-right:0!important}
}
/* MONSERRATO_TABLET_HEADER_ALIGNMENT_V5_END */
/* MONSERRATO_REFINED_FOCUS_V2_START */
:where(input[type="search"],input[type="text"],input[type="email"],input[type="tel"],textarea,select):focus,
:where(input[type="search"],input[type="text"],input[type="email"],input[type="tel"],textarea,select):focus-visible{
  outline:none!important;
  border-color:#C93812!important;
  box-shadow:0 0 0 2px rgba(201,56,18,.22)!important;
}
:where(a,button,[role="button"]):focus-visible{outline:2px solid #FD5631!important;outline-offset:3px!important;box-shadow:none}
/* MONSERRATO_REFINED_FOCUS_V2_END */
/* MONSERRATO_FOCUS_REFINED_V2_START */
:where(input[type="search"],input[type="text"],input[type="email"],input[type="tel"],textarea,select):focus,
:where(input[type="search"],input[type="text"],input[type="email"],input[type="tel"],textarea,select):focus-visible{
  outline:none!important;
  border-color:#C93812!important;
  box-shadow:0 0 0 2px rgba(201,56,18,.20)!important;
}
:where(a,button,[role="button"]):focus-visible{
  outline:2px solid #C93812!important;
  outline-offset:3px!important;
  box-shadow:none!important;
}
/* MONSERRATO_FOCUS_REFINED_V2_END *//* MONSERRATO_FOCUS_REFINED_V3_START */
.ms-search input[type="search"]:focus,
.ms-search input[type="search"]:focus-visible,
.bricks-search-form input[type="search"]:focus,
.bricks-search-form input[type="search"]:focus-visible{
  outline:2px solid #C93812!important;
  outline-offset:1px!important;
  border-color:#C93812!important;
  box-shadow:none!important;
}
/* MONSERRATO_FOCUS_REFINED_V3_END */
/* MONSERRATO_HOME_SEARCH_SEAMLESS_V1_START */
@media (min-width:761px){
  #brxe-s000fd .bricks-search-form{display:flex!important;align-items:stretch!important;gap:0!important;width:100%!important;max-width:100%!important;}
  #brxe-s000fd input[type="search"]{flex:1 1 auto!important;min-width:0!important;width:auto!important;height:60px!important;min-height:60px!important;margin:0!important;padding:0 20px!important;border:1px solid #dce4ea!important;border-right:0!important;border-radius:12px 0 0 12px!important;box-sizing:border-box!important;}
  #brxe-s000fd button{flex:0 0 auto!important;width:auto!important;min-width:112px!important;height:60px!important;min-height:60px!important;margin:0!important;padding:0 24px!important;border:1px solid #c93812!important;border-radius:0 12px 12px 0!important;box-sizing:border-box!important;}
}
/* MONSERRATO_HOME_SEARCH_SEAMLESS_V1_END */

/* MONSERRATO_HOME_MONSY_AVATAR_WHITE_V1_START */
#brxe-msyimg{background:#fff!important;border-color:#fff!important;border-radius:50%!important;padding:5px!important;overflow:hidden!important;box-shadow:0 3px 12px rgba(0,0,0,.12)!important;}
#brxe-msyimg img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:50%!important;display:block!important;}
/* MONSERRATO_HOME_MONSY_AVATAR_WHITE_V1_END */

/* MONSERRATO_HEADER_HERO_COHERENCE_20260828 */
#brx-header.brx-sticky ~ #brx-content{background:#071a2c}
body.search #brx-header.brx-sticky ~ #brx-content{background:#f7fafc}

/* MONSERRATO_CUSTOM_TEMPLATE_HEADER_MATRIX_20260828 */
body.single-mdf_entity #brx-content,
body.single-ms_storia #brx-content,
body.post-type-archive-ms_storia #brx-content,
body.tax-ms_topic #brx-content,
body.page-id-95 #brx-content{
  padding-top:0!important;
  margin-top:0!important;
  background:#071a2c!important;
}
body.page-id-95 #brx-content>*{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
body.single-mdf_entity .mdfp-single,
body.single-ms_storia .mskh-single,
body.post-type-archive-ms_storia .mskh-archive,
body.tax-ms_topic .mskh-archive,
body.page-id-95 .mdfp-directory-page{margin-top:0!important}
/* MS_DISCOVER_MENU_SCALE_20260828 */
@media(min-width:992px){
 #brxe-n000it .bricks-nav-menu>li.menu-item-has-children>.sub-menu{min-width:310px;padding:14px!important;border:1px solid #dce4ea!important;border-radius:16px!important;box-shadow:0 18px 45px rgba(7,26,44,.16)!important;background:#fff!important}
 #brxe-n000it .bricks-nav-menu>li.menu-item-has-children>.sub-menu>li>a{min-height:48px;padding:12px 14px!important;border-radius:10px!important;white-space:normal!important;line-height:1.3!important}
 #brxe-n000it .bricks-nav-menu>li.menu-item-has-children>.sub-menu>li>a:hover{background:#edf3f6!important;color:#c93812!important}
 #brxe-n000it .bricks-nav-menu>li.menu-item-has-children:nth-last-child(-n+2)>.sub-menu{right:0!important;left:auto!important}
}
/* MS_DISCOVER_GRID_20260828 */
@media(min-width:992px){
 #brxe-n000it .bricks-nav-menu #menu-item-312>.sub-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px 8px!important;width:620px!important;max-width:min(620px,calc(100vw - 40px))!important;padding:16px!important}
 #brxe-n000it .bricks-nav-menu #menu-item-312>.sub-menu>li{width:auto!important;margin:0!important}
 #brxe-n000it .bricks-nav-menu #menu-item-312>.sub-menu>li>a{height:100%!important;min-height:52px!important}
}
/* MS_MOBILE_CERT_FIX_20260828 */
@media(max-width:620px){
 #brxe-s000ik{min-height:auto!important;height:auto!important;padding:7px 12px!important}
 #brxe-s000ik #brxe-d000il{width:100%!important;max-width:100%!important;padding:0!important}
 #brxe-t000in{display:block!important;width:100%!important;max-width:100%!important;font-size:10px!important;line-height:1.35!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important}
}
/* Territory hubs menu organization */
@media(min-width:991px){
#brxe-n000it .bricks-nav-menu #menu-item-319>.sub-menu,
#brxe-n000it .bricks-nav-menu #menu-item-325>.sub-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px 8px!important;width:620px!important;max-width:min(620px,calc(100vw - 40px))!important;padding:16px!important}
#brxe-n000it .bricks-nav-menu #menu-item-319>.sub-menu>li,
#brxe-n000it .bricks-nav-menu #menu-item-325>.sub-menu>li{width:auto!important;margin:0!important}
#brxe-n000it .bricks-nav-menu #menu-item-319>.sub-menu>li>a,
#brxe-n000it .bricks-nav-menu #menu-item-325>.sub-menu>li>a{height:100%!important;min-height:52px!important}
}