/* Evenimente Magice header. The original Soledad navigation, links and logos remain in place. */
body.emgc-site {
  --emgc-nav-navy: #27232f;
  --emgc-nav-gold: #8031d1;
  --emgc-nav-paper: #ffffff;
  --emgc-header-height: 96px;
  --emgc-admin-offset: 0px;
  --emgc-drawer-width: min(360px, calc(100vw - 24px));
}
body.emgc-site.admin-bar { --emgc-admin-offset: 32px; }
/* The header occupies its own row; Soledad retains the sticky navigation behaviour. */
body.emgc-site #header { z-index: 999; }
/* Soledad writes its old 120px reservation inline during sticky updates. */
body.emgc-site #header #navigation-sticky-wrapper { height: var(--emgc-header-height) !important; }
body.emgc-site #header #navigation {
  box-sizing: border-box;
  height: var(--emgc-header-height);
  min-height: var(--emgc-header-height);
  padding: 0 32px;
  color: var(--emgc-nav-navy);
  background: var(--emgc-nav-paper);
  border-bottom: 1px solid rgba(45, 31, 61, .1);
  line-height: normal;
  z-index: 999;
}
body.emgc-site #header #navigation-sticky-wrapper.is-sticky #navigation {
  top: var(--emgc-admin-offset) !important;
  background: var(--emgc-nav-paper);
  box-shadow: 0 3px 20px rgba(45, 31, 61, .07);
}
body.emgc-site #header #navigation > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  transform: none;
  box-sizing: border-box;
}
body.emgc-site #header #navigation > .container::before,
body.emgc-site #header #navigation > .container::after { content: none; }
body.emgc-site #header #navigation #logo {
  float: none;
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  margin: 0;
  padding: 0;
  line-height: 1;
}
body.emgc-site #header #navigation #logo > a {
  display: block;
  width: 80px;
  height: 80px;
  padding: 0;
}
body.emgc-site #header #navigation #logo img {
  width: 80px;
  height: 80px;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  vertical-align: middle;
}
body.emgc-site #header #navigation > .container > ul.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(14px, 2vw, 30px);
  float: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
body.emgc-site #header #navigation > .container > ul.menu > li {
  position: relative;
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  transform: none;
}
body.emgc-site #header #navigation > .container > ul.menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 0 2px;
  color: inherit;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .025em;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
}
body.emgc-site #header #navigation > .container > ul.menu > li > a::before {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  width: auto;
  height: 2px;
  margin: 0;
  background: var(--emgc-nav-gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
body.emgc-site #header #navigation > .container > ul.menu > li:hover > a::before,
body.emgc-site #header #navigation > .container > ul.menu > li:focus-within > a::before,
body.emgc-site #header #navigation > .container > ul.menu > li.current-menu-item > a::before,
body.emgc-site #header #navigation > .container > ul.menu > li.current-menu-ancestor > a::before { transform: scaleX(1); }
body.emgc-site #header #navigation > .container > ul.menu > li.menu-item-has-children > a { padding-right: 28px; }
body.emgc-site #header #navigation > .container > ul.menu > li.menu-item-has-children > a::after { content: none; }
body.emgc-site #header #navigation .emgc-submenu-toggle {
  position: absolute;
  top: 0;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 44px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
body.emgc-site .emgc-submenu-toggle svg { width: 14px; height: 14px; transition: transform .18s ease; }
body.emgc-site .emgc-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
body.emgc-site #header #navigation > .container > ul.menu > li > ul.sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  right: auto;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 8px;
  width: min(560px, calc(100vw - 64px));
  max-height: calc(100vh - var(--emgc-admin-offset) - 126px);
  max-height: calc(100dvh - var(--emgc-admin-offset) - 126px);
  margin: 0;
  padding: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--emgc-nav-navy);
  background: #fff;
  border: 1px solid rgba(45, 31, 61, .12);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(45, 31, 61, .13);
  list-style: none;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
  box-sizing: border-box;
  transition: none;
}
/* The six-pixel bridge keeps a pointer moving from the link into its dropdown. */
body.emgc-site #header #navigation > .container > ul.menu > li.menu-item-has-children::after {
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 8px;
  content: "";
}
body.emgc-site #header #navigation > .container > ul.menu > li:hover > ul.sub-menu,
body.emgc-site #header #navigation > .container > ul.menu > li:focus-within > ul.sub-menu,
body.emgc-site #header #navigation > .container > ul.menu > li.emgc-submenu-open > ul.sub-menu { display: grid; }
body.emgc-site #header #navigation > .container > ul.menu > li.emgc-submenu-dismissed > ul.sub-menu { display: none; }
body.emgc-site #header #navigation > .container > ul.menu > li > ul.sub-menu > li {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  transform: none;
}
body.emgc-site #header #navigation > .container > ul.menu > li > ul.sub-menu > li > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--emgc-nav-navy);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  box-sizing: border-box;
}
body.emgc-site #header #navigation > .container > ul.menu > li > ul.sub-menu > li > a:hover,
body.emgc-site #header #navigation > .container > ul.menu > li > ul.sub-menu > li > a:focus-visible,
body.emgc-site #header #navigation > .container > ul.menu > li > ul.sub-menu > li.current-menu-item > a {
  background: rgba(128, 49, 209, .22);
  color: var(--emgc-nav-navy);
}
body.emgc-site #header #navigation .main-nav-social {
  position: static;
  float: none;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  color: inherit;
  line-height: 1;
}
body.emgc-site #header #navigation .inner-header-social,
body.emgc-site #sidebar-nav .inner-header-social { display: flex; align-items: center; justify-content: center; gap: 4px; color: inherit; }
body.emgc-site #header #navigation .main-nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: inherit;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  transition: color .18s ease, background .18s ease;
}
body.emgc-site #header #navigation .main-nav-social a:hover { color: var(--emgc-nav-navy); background: var(--emgc-nav-gold); }
body.emgc-site #header #navigation .button-menu-mobile { display: none; }
body.emgc-site #header #navigation a:focus-visible,
body.emgc-site #header #navigation button:focus-visible,
body.emgc-site #header #navigation .button-menu-mobile:focus-visible,
body.emgc-site #sidebar-nav a:focus-visible,
body.emgc-site #sidebar-nav button:focus-visible,
body.emgc-site #close-sidebar-nav:focus-visible {
  outline: 3px solid var(--emgc-nav-gold);
  outline-offset: 3px;
}

/* Drawer geometry is explicit: Soledad's initial left + transform combination clipped text. */
body.emgc-site #sidebar-nav {
  position: fixed;
  top: var(--emgc-admin-offset);
  right: auto;
  left: 0;
  display: block;
  width: var(--emgc-drawer-width);
  max-width: none;
  height: calc(100vh - var(--emgc-admin-offset));
  height: calc(100dvh - var(--emgc-admin-offset));
  margin: 0;
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  color: var(--emgc-nav-navy);
  background: #fff;
  border: 0;
  box-shadow: 8px 0 32px rgba(45, 31, 61, .14);
  visibility: hidden;
  transform: translateX(-101%);
  transition: transform .25s ease, visibility .25s;
  z-index: 10002;
  box-sizing: border-box;
}
body.emgc-site.open-sidebar-nav #sidebar-nav { left: 0; visibility: visible; transform: translateX(0); }
body.emgc-site #sidebar-nav #sidebar-nav-logo {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  padding: 0;
  line-height: 1;
}
body.emgc-site #sidebar-nav #sidebar-nav-logo > a { display: block; width: 88px; height: 88px; }
body.emgc-site #sidebar-nav #sidebar-nav-logo img { display: block; width: 88px; height: 88px; max-width: 100%; max-height: 100%; margin: 0; object-fit: contain; }
body.emgc-site #sidebar-nav .sidebar-nav-social { margin: 0 0 22px; padding: 0; }
body.emgc-site #sidebar-nav .sidebar-nav-social .inner-header-social { gap: 10px; }
body.emgc-site #sidebar-nav .sidebar-nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: var(--emgc-nav-navy);
  background: rgba(128, 49, 209, .18);
  border: 1px solid rgba(45, 31, 61, .1);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}
body.emgc-site #sidebar-nav .sidebar-nav-social a:hover { background: var(--emgc-nav-gold); }
body.emgc-site #sidebar-nav ul.menu,
body.emgc-site #sidebar-nav ul.sub-menu {
  position: static;
  float: none;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  list-style: none;
  text-align: left;
  transform: none;
  box-sizing: border-box;
}
body.emgc-site #sidebar-nav ul.menu li {
  position: relative;
  display: block;
  float: none;
  left: auto;
  right: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-sizing: border-box;
}
body.emgc-site #sidebar-nav ul.menu li > a {
  position: relative;
  left: auto;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px;
  color: var(--emgc-nav-navy);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  text-indent: 0;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transform: none;
  box-sizing: border-box;
}
body.emgc-site #sidebar-nav ul.menu li > a:hover,
body.emgc-site #sidebar-nav ul.menu li.current-menu-item > a { color: var(--emgc-nav-navy); background: rgba(128, 49, 209, .24); }
body.emgc-site #sidebar-nav ul.menu > li { border-bottom: 1px solid rgba(45, 31, 61, .09); }
body.emgc-site #sidebar-nav ul.menu > li.menu-item-has-children > a { padding-right: 56px; }
body.emgc-site #sidebar-nav ul.menu .indicator { display: none; }
body.emgc-site #sidebar-nav .emgc-submenu-toggle,
body.emgc-site #sidebar-nav .emgc-nav-close {
  position: absolute;
  top: 2px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--emgc-nav-navy);
  background: transparent;
  border: 1px solid rgba(45, 31, 61, .12);
  border-radius: 5px;
  cursor: pointer;
}
body.emgc-site #sidebar-nav .emgc-submenu-toggle:hover,
body.emgc-site #sidebar-nav .emgc-nav-close:hover { background: rgba(128, 49, 209, .28); }
body.emgc-site #sidebar-nav .emgc-nav-close { top: 16px; right: 16px; }
body.emgc-site #sidebar-nav .emgc-nav-close svg { width: 19px; height: 19px; }
/* Theme slideToggle writes display:block inline. Only this scoped override is required. */
body.emgc-site #sidebar-nav ul.menu > li > ul.sub-menu { display: none !important; padding: 4px 0 10px 12px; }
body.emgc-site #sidebar-nav ul.menu > li.emgc-submenu-open > ul.sub-menu { display: block !important; }
body.emgc-site #sidebar-nav ul.menu > li > ul.sub-menu > li > a { min-height: 44px; padding: 10px 12px; font-size: 15px; }
/* Keep the native external close anchor as the click-out area. */
body.emgc-site #close-sidebar-nav {
  position: fixed;
  top: var(--emgc-admin-offset);
  right: 0;
  bottom: 0;
  left: var(--emgc-drawer-width);
  display: block;
  width: auto;
  height: calc(100vh - var(--emgc-admin-offset));
  height: calc(100dvh - var(--emgc-admin-offset));
  margin: 0;
  padding: 0;
  background: rgba(12, 29, 47, .38);
  border: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition: opacity .25s ease, visibility .25s;
  z-index: 10001;
}
body.emgc-site #close-sidebar-nav > i { display: none; }
body.emgc-site.open-sidebar-nav #close-sidebar-nav { left: var(--emgc-drawer-width); opacity: 1; visibility: visible; pointer-events: auto; }

@media (max-width: 1199px) and (min-width: 1025px) {
  body.emgc-site #header #navigation { padding-right: 24px; padding-left: 24px; }
  body.emgc-site #header #navigation > .container { gap: 20px; }
  body.emgc-site #header #navigation > .container > ul.menu { gap: 18px; }
  body.emgc-site #header #navigation > .container > ul.menu > li > ul.sub-menu { width: 460px; }
}
@media (max-width: 1024px) {
  /* A class-based lock leaves the cookie dialog's own inline scroll lock intact. */
  body.emgc-site.open-sidebar-nav { overflow: hidden; }
  body.emgc-site #header { background: #fff; }
  body.emgc-site #header #navigation { padding-right: 20px; padding-left: 20px; color: var(--emgc-nav-navy); background: #fff; }
  body.emgc-site #header #navigation > .container { display: grid; grid-template-columns: minmax(44px, 1fr) 70px minmax(118px, 1fr); gap: 8px; }
  body.emgc-site #header #navigation .button-menu-mobile {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    float: none;
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    color: inherit;
    border: 1px solid currentColor;
    border-radius: 5px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  body.emgc-site #header #navigation .button-menu-mobile svg { width: 20px; height: 18px; fill: currentColor; }
  body.emgc-site #header #navigation #logo,
  body.emgc-site #header #navigation #logo > a,
  body.emgc-site #header #navigation #logo img { width: 70px; height: 70px; }
  body.emgc-site #header #navigation #logo { justify-self: center; }
  body.emgc-site #header #navigation > .container > ul.menu { display: none; }
  body.emgc-site #header #navigation .main-nav-social { justify-self: end; }
  body.emgc-site #header #navigation .inner-header-social { gap: 2px; }
  body.emgc-site #header #navigation .main-nav-social a { width: 38px; min-height: 44px; font-size: 16px; }
}
@media (max-width: 782px) {
  body.emgc-site.admin-bar { --emgc-admin-offset: 46px; }
}
@media (max-width: 359px) {
  body.emgc-site #header #navigation { padding-right: 10px; padding-left: 10px; }
  body.emgc-site #header #navigation > .container { grid-template-columns: minmax(44px, 1fr) 70px minmax(114px, 1fr); gap: 0; }
  body.emgc-site #header #navigation .inner-header-social { gap: 0; }
  body.emgc-site #sidebar-nav { padding: 24px 18px; }
}
@media (min-width: 1025px) {
  body.emgc-site #sidebar-nav,
  body.emgc-site #close-sidebar-nav,
  body.emgc-site.open-sidebar-nav #sidebar-nav,
  body.emgc-site.open-sidebar-nav #close-sidebar-nav { visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.emgc-site #sidebar-nav,
  body.emgc-site #close-sidebar-nav,
  body.emgc-site #header #navigation a::before,
  body.emgc-site .emgc-submenu-toggle svg { transition: none; }
}

/* Soledad's generated per-site CSS uses !important for the saved 120px header
   and menu geometry. These scoped geometry overrides follow that stylesheet. */
body.emgc-site #header #navigation {
  height: var(--emgc-header-height) !important;
  min-height: var(--emgc-header-height) !important;
}
body.emgc-site #header #navigation > .container { height: 100% !important; }
body.emgc-site #header #navigation #logo,
body.emgc-site #header #navigation #logo > a {
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  line-height: 1 !important;
}
body.emgc-site #header #navigation #logo img {
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
}
@media (min-width: 1025px) {
  body.emgc-site #header #navigation > .container > ul.menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: normal !important;
  }
  body.emgc-site #header #navigation > .container > ul.menu > li {
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: normal !important;
  }
  body.emgc-site #header #navigation > .container > ul.menu > li > a {
    display: flex !important;
    width: auto !important;
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.4 !important;
  }
}
@media (max-width: 1024px) {
  body.emgc-site #header #navigation > .container > ul.menu { display: none !important; }
  body.emgc-site #header #navigation #logo,
  body.emgc-site #header #navigation #logo > a,
  body.emgc-site #header #navigation #logo img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
  }
}

/* Reset the theme's social-icon positioning inside the flex header. */
body.emgc-site #header #navigation .inner-header-social{position:static!important;top:auto!important;left:auto!important;transform:none!important;height:auto!important;line-height:1!important;margin:0!important;padding:0!important}
body.emgc-site #header #navigation .main-nav-social i,body.emgc-site #sidebar-nav .sidebar-nav-social i{color:inherit!important}
body.emgc-site #header #navigation #logo img{transform:scale(1.2);transform-origin:center}

/* Keep the social group on the header centerline despite theme important heights. */
body.emgc-site #header #navigation .main-nav-social{height:auto!important;line-height:1!important;align-self:center!important}
body.emgc-site #header #navigation .main-nav-social i::before,body.emgc-site #sidebar-nav .sidebar-nav-social i::before{color:inherit!important}
body.emgc-site #header #navigation>.container>ul.menu>li>a::before{top:auto!important;bottom:3px!important}

/* The theme absolutely positioned its mobile logo, removing the middle grid cell. */
@media(max-width:1024px){
 body.emgc-site #header #navigation #logo{position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;grid-column:2;grid-row:1;justify-self:center}
 body.emgc-site #header #navigation .button-menu-mobile{grid-column:1;grid-row:1}
 body.emgc-site #header #navigation .main-nav-social{grid-column:3;grid-row:1}
}

/* The wide black logo stays readable on a solid white header at every scroll position. */
body.emgc-site #header #navigation #logo,
body.emgc-site #header #navigation #logo > a {
  flex: 0 0 180px;
  width: 180px !important;
  height: 86px !important;
  max-width: 180px !important;
  max-height: 86px !important;
}
body.emgc-site #header #navigation #logo img {
  width: 180px !important;
  height: 86px !important;
  max-width: 180px !important;
  max-height: 86px !important;
  transform: none !important;
}
body.emgc-site #header #navigation #logo .penci-logo { display: none !important; }
body.emgc-site #header #navigation #logo .penci-logo-sticky { display: block !important; }

/* Modern readable navigation type; icon glyphs retain their own font classes. */
body.emgc-site #header #navigation,
body.emgc-site #sidebar-nav,
body.emgc-site #header #navigation > .container > ul.menu a,
body.emgc-site #sidebar-nav ul.menu a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}
body.emgc-site #header #navigation { color: #27232f !important; }
body.emgc-site #header #navigation > .container > ul.menu > li > a,
body.emgc-site #header #navigation .main-nav-social a { color: inherit !important; }
body.emgc-site #header #navigation > .container > ul.menu > li > ul.sub-menu { color: #27232f !important; }
body.emgc-site #header #navigation > .container > ul.menu { gap: clamp(14px,1.5vw,24px); }
body.emgc-site #header #navigation > .container > ul.menu > li > a { font-size: 13px; }
body.emgc-site #header #navigation > .container > ul.menu > li > ul.sub-menu { grid-template-columns: 1fr; width: 370px; }
body.emgc-site #sidebar-nav #sidebar-nav-logo,
body.emgc-site #sidebar-nav #sidebar-nav-logo > a,
body.emgc-site #sidebar-nav #sidebar-nav-logo img {
  width: 180px;
  height: 88px;
  max-width: 100%;
}
@media(max-width:1199px) and (min-width:1025px){
 body.emgc-site #header #navigation > .container { gap: 16px; }
 body.emgc-site #header #navigation > .container > ul.menu { gap: 14px; }
 body.emgc-site #header #navigation #logo,body.emgc-site #header #navigation #logo > a,body.emgc-site #header #navigation #logo img { width:150px!important;max-width:150px!important;height:72px!important;max-height:72px!important;flex-basis:150px; }
}
@media(max-width:1024px){
 body.emgc-site { --emgc-header-height: 82px; }
 body.emgc-site #header #navigation { background:#fff!important; }
 body.emgc-site #header #navigation > .container { grid-template-columns:44px minmax(0,1fr) 80px; gap:8px; }
 body.emgc-site #header #navigation #logo,body.emgc-site #header #navigation #logo > a,body.emgc-site #header #navigation #logo img { width:138px!important;max-width:138px!important;height:66px!important;max-height:66px!important; }
}
@media(max-width:359px){
 body.emgc-site #header #navigation {padding-left:12px;padding-right:12px}
 body.emgc-site #header #navigation > .container { grid-template-columns:44px minmax(0,1fr) 80px; gap:6px; }
 body.emgc-site #header #navigation #logo,body.emgc-site #header #navigation #logo > a,body.emgc-site #header #navigation #logo img {width:126px!important;max-width:126px!important;height:60px!important;max-height:60px!important;}
}

/* User-requested opaque header: reserve its full row on home and inner pages alike. */
body.emgc-site.penci-header-trans .penci-header-wrap {
  position: relative !important;
  top: auto !important;
  background: #fff !important;
}
body.emgc-site #header,
body.emgc-site #header #navigation,
body.emgc-site #header #navigation-sticky-wrapper.is-sticky #navigation {
  background: #fff !important;
  color: #27232f !important;
  border-bottom-color: rgba(45,31,61,.1) !important;
}
body.emgc-site #header #navigation #logo .penci-logo { display: none !important; }
body.emgc-site #header #navigation #logo .penci-logo-sticky { display: block !important; }

/* Larger navigation type and circular social controls, as requested. */
body.emgc-site #header #navigation > .container > ul.menu > li > a { font-size:16px!important; font-weight:700!important; }
body.emgc-site #header #navigation > .container > ul.menu > li > ul.sub-menu > li > a { font-size:15px!important; font-weight:600!important; }
body.emgc-site #sidebar-nav ul.menu > li > a { font-size:18px!important; font-weight:650!important; }
body.emgc-site #sidebar-nav ul.menu > li > ul.sub-menu > li > a { font-size:15px!important; font-weight:600!important; }
body.emgc-site #header #navigation .main-nav-social a,
body.emgc-site #sidebar-nav .sidebar-nav-social a {
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  border-radius:50%!important;
  background:#8031d1!important;
  color:#fff!important;
}
body.emgc-site #header #navigation .main-nav-social a:hover,
body.emgc-site #sidebar-nav .sidebar-nav-social a:hover { background:#6722b2!important; color:#fff!important; }
@media(max-width:1024px){body.emgc-site #header #navigation > .container {grid-template-columns:44px minmax(0,1fr) 94px;}}
@media(max-width:359px){body.emgc-site #header #navigation > .container {grid-template-columns:44px minmax(0,1fr) 94px;gap:6px;}}
