/* ================================================================
   INSPECTORIO MOBILE MENU — HYBRID CPT + WP MENU VERSION
   ================================================================ */

.ins-mobile-menu,
.ins-mobile-menu * {
  box-sizing: border-box;
}

.ins-mobile-menu {
  width: 100%;
  background: #ffffff;
  color: #111111;
  font-family: "Suisse Intl", Arial, sans-serif;
}

.ins-mobile-menu__inner {
  width: 100%;
}

.ins-mobile-menu-debug {
  padding: 12px;
  margin-bottom: 12px;
  background: #fff7cc;
  color: #111111;
  font-size: 13px;
  line-height: 1.4;
  border: 1px solid #e5d374;
}

.ins-mobile-menu-debug--item {
  margin: 8px 12px 0;
}

.ins-mobile-menu__item {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
}

/* Parent rows */

.ins-mobile-menu__trigger,
.ins-mobile-menu__top-link {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 20px 12px;
  text-align: left;
  text-decoration: none;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 400;
}

.ins-mobile-menu__trigger:hover,
.ins-mobile-menu__trigger:focus,
.ins-mobile-menu__trigger:focus-visible,
.ins-mobile-menu__top-link:hover,
.ins-mobile-menu__top-link:focus {
  background: transparent;
  color: #111111;
  outline: none;
  text-decoration: none;
}

.ins-mobile-menu__trigger[aria-expanded="true"] {
  color: #0e47df;
  font-weight: 600;
}

/* Parent chevron */

.ins-mobile-menu__trigger-icon {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.25s ease;
}

.ins-mobile-menu__trigger[aria-expanded="true"] .ins-mobile-menu__trigger-icon {
  transform: rotate(-135deg);
  margin-top: 4px;
}

/* Panel */

.ins-mobile-menu__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.36s ease;
}

.ins-mobile-menu__panel[hidden] {
  display: block;
}

.ins-mobile-menu__panel-inner {
  padding: 0 12px 18px;
}

/* Manual submenu + industry submenu links */

.ins-mobile-menu__link-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.ins-mobile-menu__sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  color: #111111;
  text-decoration: none;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 500;
  border: 1px solid rgba(14, 71, 223, 0.35);
  border-radius: 7px;
  background: #ffffff;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ins-mobile-menu__sub-link:hover,
.ins-mobile-menu__sub-link:focus {
  color: #0e47df;
  border-color: #0e47df;
  background: rgba(14, 71, 223, 0.04);
  text-decoration: none;
}

.ins-mobile-menu__sub-link-arrow,
.ins-mobile-menu-card__arrow,
.ins-mobile-menu__see-all-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

/* Dynamic solution list */

.ins-mobile-menu__dynamic-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.ins-mobile-menu-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  color: #111111;
  text-decoration: none;
  border: 1px solid rgba(14, 71, 223, 0.35);
  border-radius: 7px;
  background: #ffffff;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ins-mobile-menu-card:hover,
.ins-mobile-menu-card:focus {
  color: #111111;
  border-color: #0e47df;
  background: rgba(14, 71, 223, 0.04);
  text-decoration: none;
}

.ins-mobile-menu-card__icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f0ff;
}

.ins-mobile-menu-card__icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.ins-mobile-menu-card__content {
  display: block;
  min-width: 0;
}

.ins-mobile-menu-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #111111;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.15;
  font-weight: 700;
}

.ins-mobile-menu-card__description {
  display: block;
  margin-top: 3px;
  color: rgba(0, 0, 0, 0.62);
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 400;
}

.ins-mobile-menu-card:hover .ins-mobile-menu-card__title,
.ins-mobile-menu-card:focus .ins-mobile-menu-card__title {
  color: #0e47df;
}

/* See all */

.ins-mobile-menu__see-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 8px;
  padding: 15px 18px;
  border-radius: 7px;
  background: #dbe8ff;
  color: #111111;
  text-decoration: none;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ins-mobile-menu__see-all:hover,
.ins-mobile-menu__see-all:focus {
  background: #0e47df;
  color: #ffffff;
  text-decoration: none;
}

/* Testing safety: keep visible until final */
.ins-mobile-menu {
  display: block !important;
}


/* ================================================================
   INSPECTORIO MOBILE MENU — PARENT OPEN STATE FIX
   ================================================================ */

.ins-mobile-menu__panel {
  display: block !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition:
    max-height 0.36s ease,
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.ins-mobile-menu__item.is-open > .ins-mobile-menu__panel {
  max-height: 2000px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.ins-mobile-menu__panel-inner {
  display: block !important;
}