/* ── Reset ─────────────────────────────────────────────────────────────────── */
.np-wrap *,
.np-wrap *::before,
.np-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Outer wrapper ─────────────────────────────────────────────────────────── */
.np-wrap {
  background-color: #005E83; /* fallback; overridden by Elementor colour control */
  width: 100%;
}

/* ── Section heading ───────────────────────────────────────────────────────── */
.np-heading {
  font-family: 'Brother 1816 Printed', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 42px;
  color: #FEFBEE;
  text-align: center;
  margin-bottom: 48px;
  padding: 0 24px;
}

/* ── Two-column body ───────────────────────────────────────────────────────── */
.np-body {
  border-top: 2px solid #009ABE;
  display: flex;
  align-items: stretch;
  gap: 26px;
  width: 100%;
  max-width: 1176px;
  margin: 0 auto;
  padding: 28px 0;
}

/* ── Nav item row (separator lines) ───────────────────────────────────────── */
.np-nav-item {
  border-bottom: 2px solid #009ABE;
  padding: 13px 0;
}

/* ── Navigation list (left column) ────────────────────────────────────────── */
.np-nav {
  flex: 0 0 454px;
  display: flex;
  flex-direction: column;
  list-style: none;
}

/* ── Individual nav item ───────────────────────────────────────────────────── */
.np-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 71px;
  padding: 12px 24px;
  border-radius: 0; /* inactive: no radius so separators bleed edge-to-edge */
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.np-item:hover,
.np-item.is-active {
  background-color: #82BD40;
  border-radius: 8px;
  cursor: pointer;
}

/* ── Icon + label group ────────────────────────────────────────────────────── */
.np-item-inner {
  display: flex;
  align-items: center;
  gap: 19px;
}

/* Icon — pacific teal on inactive, dark green on active.
 * font-size and width are controlled via the responsive Icon Size control. */
.np-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;       /* fallback — overridden by nav_icon_size responsive control */
  flex-shrink: 0;
  font-size: 22px;   /* fallback */
  color: #009ABE;
  transition: color 0.2s ease;
}

/* Explicitly propagate color to <i> (Font Awesome) and <svg> children */
.np-icon i,
.np-icon svg {
  color: inherit;
  fill: currentColor;
}

.np-item:hover .np-icon,
.np-item.is-active .np-icon {
  color: #54772C;
}

/* Label — font-size / line-height / font-family controlled by nav_label_typography
 * responsive control. Values here are CSS fallbacks only. */
.np-label {
  font-family: 'Brother 1816 Printed', sans-serif;
  font-weight: 700;
  font-size: 24px;      /* fallback */
  line-height: 1.875;   /* fallback */
  color: #FEFBEE;
  white-space: nowrap;
}

/* ── Right arrow — hidden on inactive, visible on active ───────────────────── */
.np-arrow {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #FEFBEE;
}

.np-item:hover .np-arrow,
.np-item.is-active .np-arrow {
  opacity: 1;
}

/* ── Image preview panel (right column) ────────────────────────────────────── */
.np-image-panel {
  flex: 1;
  min-height: 300px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-color: rgba(0, 0, 0, 0.1);
}

.np-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.np-img.is-fading {
  opacity: 0;
}

/* ── Responsive: stack on tablet/mobile ────────────────────────────────────── */
@media (max-width: 900px) {
  .np-body {
    flex-direction: column;
  }

  .np-nav {
    flex: none;
    width: 100%;
  }

  .np-image-panel {
    width: 100%;
    min-height: 260px;
    aspect-ratio: 3 / 2;
    position: relative;
  }

  .np-img {
    position: absolute;
  }
}

/* Typography overrides for heading and labels are handled by Elementor's
 * responsive controls and are output inline. No static @media overrides
 * needed here — they would fight the Elementor-generated responsive CSS. */
