/* Hide WordPress tags visually */
.tag-links,
.post-tags,
.tags-links {
  display: none !important;
}

/* Hide "Share this" and "Like this" sections */
.sharedaddy,
.sd-sharing-enabled,
.sharedaddy.sd-sharing,
#jp-post-flair {
  display: none !important;
}

/* HEADER BASE */
.mcny-header {
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  z-index: 999;
  position: relative;
}

/* HEADER LAYOUT */
.mcny-header .elementor-container,
.mcny-header .elementor-row {
  display: flex;
  align-items: center;
}

.mcny-header .elementor-column:last-child .elementor-widget-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* MAIN MENU DESKTOP */
.mcny-header .elementor-widget-wp-widget-nav_menu .menu,
.mcny-header .elementor-widget-wp-widget-nav_menu .menu-menu-container > ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mcny-header .elementor-widget-wp-widget-nav_menu .menu > li {
  position: relative;
  list-style: none;
  white-space: nowrap;
}

.mcny-header .elementor-widget-wp-widget-nav_menu .menu > li > a {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #111111;
  text-decoration: none;
  padding: 0 16px;
  line-height: 90px;
  transition: color 0.2s ease;
  background: transparent !important;
}

.mcny-header .elementor-widget-wp-widget-nav_menu .menu > li > a:hover,
.mcny-header .elementor-widget-wp-widget-nav_menu .menu > li.current-menu-item > a,
.mcny-header .elementor-widget-wp-widget-nav_menu .menu > li.current-menu-parent > a,
.mcny-header .elementor-widget-wp-widget-nav_menu .menu > li.current-menu-ancestor > a {
  color: #842216;
  background: transparent !important;
}

/* PARENT ITEM */
.mcny-header .menu-item-has-children {
  position: relative;
}

.mcny-header .menu-item-has-children > a[href="#"] {
  cursor: default;
}

/* CONTACT SAME STYLE */
.mcny-header .elementor-widget-wp-widget-nav_menu .menu > li:last-child > a {
  background: transparent !important;
  color: #111111 !important;
  padding: 0 16px !important;
  border-radius: 0 !important;
  line-height: 90px !important;
  margin-left: 0 !important;
}

.mcny-header .elementor-widget-wp-widget-nav_menu .menu > li:last-child > a:hover {
  color: #842216 !important;
  background: transparent !important;
}

/* DROPDOWN MENU DESKTOP */
.mcny-header .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  background: #ffffff;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border: 1px solid #f1f1f1;
  margin-top: 0;
  min-width: 260px;
}

.mcny-header .menu-item-has-children:hover > .sub-menu {
  display: block;
}

.mcny-header .sub-menu li {
  margin: 0;
  list-style: none;
}

.mcny-header .sub-menu li a {
  display: block;
  padding: 12px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #111111;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #ffffff !important;
}

.mcny-header .sub-menu li a:hover {
  background: #f8f8f8 !important;
  color: #842216;
}

/* MOBILE */
@media (max-width: 767px) {
  .mcny-header {
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  }

  .mcny-header .elementor-container,
  .mcny-header .elementor-row {
    min-height: 72px;
  }

  .mcny-header .elementor-widget-wrap {
    align-items: center;
  }

  .mcny-header .elementor-widget-image img {
    max-width: 28px !important;
    height: auto;
  }

  .mcny-header .elementor-heading-title {
    font-size: 13px !important;
    line-height: 1.05 !important;
  }

  /* HAMBURGER */
  .mcny-header .elementor-menu-toggle,
  .mcny-header .elementor-menu-toggle i,
  .mcny-header .menu-toggle {
    font-size: 26px !important;
    color: #111111 !important;
    background: transparent !important;
  }

  /* MOBILE MENU WRAPPER */
  .mcny-header .elementor-widget-wp-widget-nav_menu {
    width: 100%;
    position: relative;
  }

  /* FULL PANEL THAT CAN SCROLL */
  .mcny-header .elementor-nav-menu--dropdown,
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu-menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    background: #ffffff;
    z-index: 9999;
    max-height: calc(100vh - 72px);
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }

  /* MOBILE PANEL CONTENT */
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu,
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu-menu-container > ul {
    display: block;
    width: 100%;
    background: #ffffff;
    margin: 0;
    padding: 10px 0 20px 0;
    list-style: none;
    min-height: auto !important;
  }

  .mcny-header .elementor-widget-wp-widget-nav_menu .menu > li {
    width: 100%;
    white-space: normal;
  }

  /* TOP LEVEL ITEMS */
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 24px !important;
    line-height: 1.3 !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: #111111 !important;
    border-bottom: 1px solid #f3f3f3;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  .mcny-header .elementor-widget-wp-widget-nav_menu .menu > li:last-child > a {
    padding: 18px 24px !important;
    line-height: 1.3 !important;
    background: #ffffff !important;
  }

  /* REMOVE GREY ACTIVE / HOVER BLOCK ON MOBILE */
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu > li > a:hover,
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu > li > a:focus,
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu > li.current-menu-item > a,
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu > li.current-menu-parent > a,
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu > li.current-menu-ancestor > a,
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu > li.menu-item-has-children > a,
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu > li.menu-item-has-children > a:hover,
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu > li.menu-item-has-children > a:focus {
    background: #ffffff !important;
    color: #842216 !important;
    box-shadow: none !important;
  }

  /* MOBILE SUBMENU */
  .mcny-header .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 100%;
    padding: 0;
    margin: 0;
    background: #ffffff;
  }

  .mcny-header .sub-menu li a {
    padding: 10px 40px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    color: #444444 !important;
    border-bottom: 1px solid #f5f5f5;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  .mcny-header .sub-menu li a:hover,
  .mcny-header .sub-menu li a:focus,
  .mcny-header .sub-menu li.current-menu-item > a {
    background: #ffffff !important;
    color: #842216 !important;
    box-shadow: none !important;
  }

  /* EXTRA BOTTOM SPACE SO LAST ITEM IS REACHABLE */
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu:after,
  .mcny-header .elementor-widget-wp-widget-nav_menu .menu-menu-container > ul:after {
    content: "";
    display: block;
    height: 18px;
  }
}