/* Z4Host Services mega menu — content remains managed by Croster Mega Menu Builder. */
@media (min-width: 992px) {
  li.dropdown-megamenu .dropdown-mega .mega-menu > .container > .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    align-items: stretch;
    padding: 22px 15px 24px;
  }

  li.dropdown-megamenu .menu-small-box.z4-service-card {
    float: none;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 272px;
    margin: 0;
    padding: 18px;
    border: 1px solid #294740;
    border-radius: 10px;
    background: #303735;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
  }

  li.dropdown-megamenu .menu-small-box.z4-service-card:hover {
    border-color: #3e675d;
    background: #293632;
    transform: translateY(-2px);
  }

  li.dropdown-megamenu .z4-service-card .item-heading,
  li.dropdown-megamenu .z4-service-card > .item-with-icons {
    display: block;
    margin: 0 0 13px;
    text-decoration: none;
  }

  li.dropdown-megamenu .z4-service-card .item-with-icons {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
  }

  li.dropdown-megamenu .z4-service-card .item-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #31554c;
    border-radius: 9px;
    background: #102824;
    color: #43e52f;
    font-size: 17px;
  }

  li.dropdown-megamenu .z4-service-card .menu-name {
    margin: 1px 0 0;
    color: #f4faf7;
    font-size: 17px;
    line-height: 1.25;
  }

  li.dropdown-megamenu .z4-service-card .menu-name > span {
    display: block;
    min-height: 34px;
    margin-top: 5px;
    color: #aebdb8;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
  }

  li.dropdown-megamenu .z4-service-card .menu-list {
    display: grid;
    gap: 4px;
    margin: 0;
  }

  li.dropdown-megamenu .z4-service-card .menu-list > li {
    margin: 0 !important;
  }

  li.dropdown-megamenu .z4-service-card .menu-list > li > a {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    min-height: 33px;
    padding: 7px 8px;
    border-radius: 6px;
    color: #e7efec;
    line-height: 1.35;
    text-decoration: none;
  }

  li.dropdown-megamenu .z4-service-card .menu-list > li > a i {
    width: 18px;
    color: #91aaa2;
    text-align: center;
  }

  li.dropdown-megamenu .z4-service-card .menu-list > li > a:hover,
  li.dropdown-megamenu .z4-service-card .menu-list > li > a:focus {
    background: #102824;
    color: #43e52f;
  }

  li.dropdown-megamenu .z4-service-card .menu-list > li > a:hover i,
  li.dropdown-megamenu .z4-service-card .menu-list > li > a:focus i {
    color: #43e52f;
  }

  li.dropdown-megamenu .z4-service-card .menu-list > li.z4-service-compare-link > a {
    border: 1px solid #317b3b;
    background: #12341d;
    color: #54ed42;
    font-weight: 700;
  }
}

@media (max-width: 991.98px) {
  #navbar-side li.dropdown-megamenu > ul.dropdown-mega {
    padding: 8px 10px 14px;
  }

  #navbar-side li.dropdown-megamenu .z4-service-card {
    margin: 8px 0;
    border: 1px solid #294740;
    border-radius: 8px;
    background: #10211d;
    overflow: hidden;
  }

  #navbar-side li.dropdown-megamenu .z4-service-card > a {
    min-height: 50px;
  }

  #navbar-side li.dropdown-megamenu .z4-service-card > a > i {
    color: #43e52f;
  }

  #navbar-side li.dropdown-megamenu .z4-service-card .menu-name > span {
    display: block;
    margin-top: 3px;
    color: #91aaa2;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.35;
    white-space: normal;
  }
}
