:root {
  /* core vars */
  --pnv-nav-height: 72px;
  --pnv-minimal-nav-item-height: 40px;
  --pnv-minimal-nav-bp: 768px;
  --pnv-dropdown-safeZone: 40px;
  --pnv-content-MaxWidth: 1280px;
  --pnv-viewport-base-padding: 32px;
  --pnv-viewport-padding: var(--pnv-viewport-base-padding);
  --pnv-transition-speed: .2;

  /* colors */
  --pnv-nav-background-color: #fff;
  --pnv-brand-name-color: #515151;
  --pnv-brand-slogan-color: #606060;
  --pnv-CTA-background-color-default: #1b8354;
  --pnv-CTA-background-color-hovered: #166a45;
  --pnv-CTA-background-color-pressed: #104631;
  --pnv-CTA-text-color: #fff;
  --pnv-btn-background-color-default: #fff;
  --pnv-btn-background-color-hovered: #f3f4f6;
  --pnv-btn-background-color-pressed: #e5e7eb;
  --pnv-text-default: #161616;
  --pnv-nav-dropmenu-background-color: #fff;
  --pnv-btn-dropmenu-background-color-default: #fff;
  --pnv-btn-dropmenu-background-color-hovered: #f3f4f6;
  --pnv-btn-dropmenu-background-color-pressed: #e5e7eb;
  --pnv-nav-dropmenu-text-color: #161616;
  /* primary 600 */

  /* borders */
  --pnv-border-color-default: #e5e7eb;

  /* typography */
  /* Fluid Typography using clamp() and vw units */
  /* Formula: clamp(min-size, fluid-size, max-size) */

  /* === Display Sizes - Fluid scaling === */
  --pnv-display-clamp-2xl-FS: clamp(48px, 6vw, 72px);
  --pnv-display-clamp-2xl-LH: clamp(58px, 7.5vw, 90px);
  --pnv-display-clamp-2xl-MB: clamp(14.5px, 1.875vw, 22.5px);

  --pnv-display-clamp-xl-FS: clamp(36px, 5vw, 60px);
  --pnv-display-clamp-xl-LH: clamp(44px, 6vw, 72px);
  --pnv-display-clamp-xl-MB: clamp(11px, 1.5vw, 18px);

  --pnv-display-clamp-lg-FS: clamp(30px, 4vw, 48px);
  --pnv-display-clamp-lg-LH: clamp(38px, 5vw, 60px);
  --pnv-display-clamp-lg-MB: clamp(9.5px, 1.25vw, 15px);

  --pnv-display-clamp-md-FS: clamp(24px, 3vw, 36px);
  --pnv-display-clamp-md-LH: clamp(30px, 3.67vw, 44px);
  --pnv-display-clamp-md-MB: clamp(7.5px, 0.9175vw, 11px);

  --pnv-display-clamp-sm-FS: clamp(20px, 2.5vw, 30px);
  --pnv-display-clamp-sm-LH: clamp(26px, 3.17vw, 38px);
  --pnv-display-clamp-sm-MB: clamp(6.5px, 0.7925vw, 9.5px);

  --pnv-display-clamp-xs-FS: clamp(18px, 2vw, 24px);
  --pnv-display-clamp-xs-LH: clamp(24px, 2.5vw, 30px);
  --pnv-display-clamp-xs-MB: clamp(6px, 0.625vw, 7.5px);

  /* === Text Sizes - Conservative scaling for readability === */
  --pnv-text-clamp-xl-FS: clamp(18px, 1.67vw, 20px);
  --pnv-text-clamp-xl-LH: clamp(26px, 2.33vw, 28px);

  --pnv-text-clamp-lg-FS: clamp(16px, 1.5vw, 18px);
  --pnv-text-clamp-lg-LH: clamp(24px, 2.17vw, 26px);

  --pnv-text-clamp-md-FS: clamp(14px, 1.33vw, 16px);
  --pnv-text-clamp-md-LH: clamp(22px, 2vw, 24px);

  --pnv-text-clamp-sm-FS: clamp(12px, 1.17vw, 14px);
  --pnv-text-clamp-sm-LH: clamp(20px, 1.83vw, 22px);

  --pnv-text-clamp-xs-FS: clamp(10px, 1vw, 12px);
  --pnv-text-clamp-xs-LH: clamp(16px, 1.67vw, 20px);

  --pnv-text-clamp-2xs-FS: clamp(9px, 0.83vw, 10px);
  --pnv-text-clamp-2xs-LH: clamp(14px, 1.33vw, 16px);

  /* === Display Static === */
  --pnv-display-2xl-FS: 72px;
  --pnv-display-2xl-LH: 90px;

  --pnv-display-xl-FS: 60px;
  --pnv-display-xl-LH: 72px;

  --pnv-display-lg-FS: 48px;
  --pnv-display-lg-LH: 60px;

  --pnv-display-md-FS: 36px;
  --pnv-display-md-LH: 44px;

  --pnv-display-sm-FS: 30px;
  --pnv-display-sm-LH: 38px;

  --pnv-display-xs-FS: 24px;
  --pnv-display-xs-LH: 32px;

  /* === Text === */
  --pnv-text-xl-FS: 20px;
  --pnv-text-xl-LH: 30px;

  --pnv-text-lg-FS: 18px;
  --pnv-text-lg-LH: 28px;

  --pnv-text-md-FS: 16px;
  --pnv-text-md-LH: 24px;

  --pnv-text-sm-FS: 14px;
  --pnv-text-sm-LH: 20px;

  --pnv-text-xs-FS: 12px;
  --pnv-text-xs-LH: 18px;

  --pnv-text-2xs-FS: 10px;
  --pnv-text-2xs-LH: 14px;

  /* shadows & transitions */
  --pnv-shadow: 0px 3.288px 6.575px -1.644px rgba(16, 24, 40, 0.10),
    0px 1.644px 3.288px -1.644px rgba(16, 24, 40, 0.06);
  --pnv-shadow-top: 0px -3.288px 6.575px -1.644px rgba(16, 24, 40, 0.10),
    0px -1.644px 3.288px -1.644px rgba(16, 24, 40, 0.06);
  --pnv-transition-effect: ease;
  --pnv-transition: calc(var(--pnv-transition-speed) * 1s) var(--pnv-transition-effect);

  /* misc (used by focus outlines) */
  --colors-base-black: #161616;
}

/* optional: halve the base padding on very small screens */
@media (max-width: 599px) {
  :root {
    --pnv-viewport-padding: calc(var(--pnv-viewport-base-padding)/2);
  }

}


header {
  display: block;
}

@supports (display: contents) {
  header {
    display: contents;
  }
}

nav#pnvMainNav :is(ul, ol, li) {
  padding: 0;
  margin: 0;
}

button,
.button,
.btn,
.pnv-btn,
.pnv-nav-link,
[role="button"],
[role="tab"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.pnv-main-nav button,
.pnv-main-nav .button,
.pnv-main-nav .btn,
.pnv-main-nav .pnv-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

hr {
  opacity: .10;
  border: 0;
  border-top: 1px solid;
  margin: 4px 0;
  color: inherit;
}

/* ===== CONTENT CONTAINER ===== */
.pnv-content-container {
  max-width: var(--pnv-content-MaxWidth);
  margin: 0 auto;
  padding: 0 var(--pnv-viewport-padding);
}

/* ========================================
   BASE NAVIGATION STYLES
   ======================================== */
.pnv-main-nav {
  position: sticky;
  inset-block-start: 0;
  /* top: 0 */
  inset-inline: 0;
  /* left:0; right:0 */
  z-index: 1000;
  height: var(--pnv-nav-height);
  transform: translateY(0);
  background-color: var(--pnv-nav-background-color);
  color: var(--pnv-text-default);
  box-shadow: var(--pnv-shadow);
}

.pnv-main-nav>.pnv-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: var(--pnv-nav-background-color);
}

.pnv-main-nav>.pnv-nav-container::before {
  content: "";
  position: fixed;
  height: var(--pnv-nav-height);
  background-color: var(--pnv-nav-background-color);
  left: 0;
  right: 0;
}

/* Brand */
.pnv-main-nav .pnv-brand {
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: nowrap;
  gap: 12px;
  height: var(--pnv-nav-height);
  max-width: 192px;
  padding-block: 12px;
  /* 12px 0 using logical */
  white-space: nowrap;
  font-weight: bold;
  text-decoration: none;
  z-index: 1;
}

.pnv-main-nav .pnv-brand :is(img, svg) {
  inline-size: auto;
  /* width */
  block-size: 100%;
  /* height */
}

.pnv-main-nav .pnv-brand .pnv-brand-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--pnv-brand-name-color);
  font-size: var(--pnv-text-clamp-md-FS);
  line-height: var(--pnv-text-clamp-md-LH);
}

.pnv-main-nav .pnv-brand .pnv-brand-slogan {
  display: block;
  font-weight: 400;
  color: var(--pnv-brand-slogan-color);
  font-size: var(--pnv-text-clamp-sm-FS);
  line-height: var(--pnv-text-clamp-sm-LH);
}

/* Toggler */
.pnv-main-nav .pnv-mainNav-toggler {
  display: none;
  align-items: center;
  justify-content: center;
  block-size: var(--pnv-nav-height);
  cursor: pointer;
  background: none;
  border: none;
  color: var(--pnv-text-default);
  font-size: 1.2rem;
}

/* Lists (grouped) */
.pnv-main-nav :is(.pnv-nav-primary, .pnv-nav-secondary, .pnv-nav-minimal) {
  display: flex;
  align-items: center;
  list-style: none;
}

.pnv-main-nav .pnv-nav-minimal .pnv-nav-item {
  border-block-end: unset !important;
}

/* ========================================
   LINKS & CTA
   ======================================== */
.pnv-main-nav .pnv-nav-item .pnv-nav-link .label,
.pnv-main-nav .pnv-nav-item .pnv-dropdown-item .label {
  position: relative;
  font-weight: 400;
  font-size: var(--pnv-text-md-FS);
  line-height: var(--pnv-text-md-LH);
}

.pnv-main-nav .pnv-nav-item>*:first-child {
  position: relative;
  border-radius: 4px;
  /* was var(--radius-sm) */
}

.pnv-main-nav .pnv-nav-item.iconOnly .pnv-nav-link .label {
  display: none;
}

.pnv-main-nav .pnv-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  block-size: var(--pnv-nav-height);
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  color: var(--pnv-text-default);
  text-decoration: none;
  font-size: var(--pnv-text-clamp-lg-FS);
  line-height: var(--pnv-text-clamp-lg-LH);
}

.pnv-main-nav .pnv-nav-link:focus-visible,
.pnv-main-nav .pnv-nav-link[aria-expanded="true"] {
  outline: 2px solid var(--colors-base-black);
  outline-offset: 2px;
}

/* CTA Buttons */
.pnv-main-nav .pnv-nav-item.CTA {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-inline: 8px;
}

.pnv-main-nav .pnv-nav-item.CTA>* {
  block-size: 40px;
  min-block-size: 40px;
  margin-inline: 8px;
  border-radius: 8px;
  white-space: nowrap;
  color: var(--pnv-CTA-text-color);
  background-color: var(--pnv-CTA-background-color-default);
  font-size: 1rem;
  line-height: normal;
}

.pnv-main-nav .pnv-nav-item.CTA:hover>* {
  background-color: var(--pnv-CTA-background-color-hovered);
}

.pnv-main-nav .pnv-nav-item.CTA:active>* {
  background-color: var(--pnv-CTA-background-color-pressed);
}

/* Icons */
.pnv-main-nav .pnv-nav-link>.icon,
.textIcon>i,
i.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 24px;
  block-size: 24px;
  padding: 2px;
  line-height: 0;
  font-size: 24px;
}

/* Scrollbar hiding */
.pnv-main-nav .pnv-nav-primary {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.pnv-main-nav .pnv-nav-primary::-webkit-scrollbar {
  display: none;
}

/* ========================================
   SHOW MORE
   ======================================== */
.pnv-main-nav .pnv-nav-primary:not(.hasMore) .showMore {
  display: none;
}

.pnv-main-nav .pnv-nav-primary .showMore {
  position: sticky;
  z-index: 999999;
  transition: opacity var(--pnv-transition);
  color: var(--pnv-text-default);
  background-color: var(--pnv-nav-background-color);
  inset-inline: auto 0;
  /* inline-start:auto; inline-end:0 */
}

.pnv-main-nav .pnv-nav-primary.hasMore .showMore {
  display: block;
}

.pnv-main-nav .pnv-nav-primary.hasMore .showMore * {
  justify-content: center;
}

/* ========================================
   DROPDOWNS (BASE)
   ======================================== */
.pnv-main-nav .pnv-dropdown {
  position: relative;
}

.pnv-main-nav .pnv-dropdown .pnv-dropdown-menu {
  z-index: -1;
  display: none;
  transform: translateY(-100%);
  transition: transform var(--pnv-transition);
  border-radius: 0;
  color: var(--pnv-nav-dropmenu-text-color);
  background: var(--pnv-nav-dropmenu-background-color);
}

.pnv-main-nav .pnv-dropdown .pnv-dropdown-menu>.pnv-content-container {
  inline-size: 100%;
  padding-block: 20px;
}

.pnv-main-nav .pnv-dropdown.show .pnv-dropdown-menu {
  display: flex;
  flex-direction: column;
  border-end-end-radius: 16px;
  /* bottom-right */
  border-end-start-radius: 16px;
  /* bottom-left */
  box-shadow: var(--pnv-shadow);
  touch-action: pan-y; /* Enable vertical touch scrolling */
}

/* opening/opened.show (grouped) */
.pnv-main-nav .pnv-dropdown:is(.opened.show, .opening) .pnv-dropdown-menu {
  display: flex;
  transform: translateY(0);
}

.pnv-main-nav .pnv-dropdown.closing .pnv-dropdown-menu {
  transform: translateY(-100%);
}

.pnv-main-nav .pnv-dropdown .pnv-dropdown-item {
  display: flex;
  justify-content: start;
  color: var(--pnv-nav-dropmenu-text-color);
  background-color: var(--pnv-btn-dropmenu-background-color-default);
  text-decoration: none;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 8px;
}

.pnv-main-nav .pnv-dropdown .pnv-dropdown-item:hover {
  background-color: var(--pnv-btn-dropmenu-background-color-hovered);
}

.pnv-main-nav .pnv-dropdown .pnv-dropdown-item:active {
  background-color: var(--pnv-btn-dropmenu-background-color-pressed);
}

.pnv-main-nav .pnv-dropdown .pnv-dropdown-item i {
  font-size: 20px;
}

.pnv-main-nav .pnv-dropdown .pnv-dropdown-item:last-child {
  border-block-end: none;
}

/* Dropdown indicators */
.pnv-main-nav .pnv-nav-item.pnv-dropdown>a>i {
  margin-inline-start: -0.125rem;
  /* logical (auto flips) */
  transition: transform 0.1s ease;
}

.pnv-main-nav .pnv-nav-item.pnv-dropdown.show>a>i {
  transform: rotate(180deg);
}

/* ========================================
   DROPDOWN COLUMNS
   ======================================== */
.pnv-dropdown-menu .pnv-dropdown-columns.columnView {
  column-count: 4;
  column-gap: 20px;
}

.pnv-dropdown-menu .pnv-dropdown-columns.columnView .pnv-column {
  break-inside: avoid;
}

.pnv-dropdown-menu .pnv-dropdown-columns .pnv-dropdown-title {
  font-weight: 500;
  font-size: var(--pnv-text-clamp-lg-FS);
  line-height: var(--pnv-text-clamp-lg-LH);
}

/* list resets (grouped) */
:is(.pnv-dropdown-menu .pnv-dropdown-columns ul,
  .pnv-dropdown-columns .pnv-list.pnv-multi-column-list) {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pnv-dropdown-columns .pnv-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  column-gap: 20px;
}

.pnv-dropdown-columns .pnv-list.pnv-multi-column-list {
  display: block;
  column-count: 3;
  column-gap: 2rem;
}

.pnv-dropdown-columns .pnv-list.pnv-multi-column-list * {
  display: flex;
  white-space: nowrap;
}

.pnv-dropdown-columns.pnv-rowList .pnv-list {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  column-gap: 20px;
}

.pnv-dropdown .pnv-dropdown-menu .pnv-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  touch-action: pan-y; /* Enable vertical touch scrolling */
}

.pnv-dropdown .pnv-dropdown-menu.widthFit .pnv-column {
  padding: 12px;
}

/* ========================================
   LINK STATES & PSEUDOS
   ======================================== */
.pnv-main-nav .pnv-nav-item:not(.CTA)>*:first-child:hover {
  background-color: var(--pnv-btn-background-color-hovered);
}

/* active/pressed (grouped) */
.pnv-main-nav :is(.pnv-dropdown.show, .pnv-nav-item:active, .pnv-nav-item.active):not(.CTA)>*:first-child {
  background-color: var(--pnv-btn-background-color-pressed);
  border-end-end-radius: 0;
  border-end-start-radius: 0;
}

.pnv-main-nav .pnv-nav-item:not(.CTA).focus>* {
  background-color: var(--pnv-CTA-background-color-default);
}

/* ========================================
   DESKTOP/TABLET (non-minimal)
   ======================================== */
body:not(.minimal) .pnv-main-nav .pnv-mainNav-toggler {
  display: none !important;
}

body:not(.minimal) .pnv-main-nav .pnv-collapse {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  inline-size: 100%;
}

body:not(.minimal) .pnv-main-nav .pnv-nav-primary {
  overflow-x: auto;
  inline-size: 100%;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body:not(.minimal) .pnv-main-nav .pnv-nav-primary>* {
  flex-shrink: 0;
  white-space: nowrap;
}

body:not(.minimal) .pnv-main-nav .pnv-nav-primary.hasMore .showMore {
  inset-inline-end: 0;
  /* logical: always at the end */
  transform: translateX(0);
}

body:not(.minimal) .pnv-main-nav .pnv-nav-primary.hasMore .showMore i {
  transition: transform 0.1s ease;
  transform: rotate(90deg);
}

body:not(.minimal) .pnv-main-nav .pnv-nav-primary.hasMore.atEnd .showMore i {
  transform: rotate(270deg);
}

body:not(.minimal) .pnv-main-nav .pnv-nav-primary.hasMore::before {
  position: sticky;
  inset-inline-end: 4px;
  /* was right/left swap */
  z-index: 9999;
  display: block;
  min-inline-size: 4px;
  /* width */
  inline-size: 4px;
  block-size: var(--pnv-nav-height);
  transform: translateX(4px);
  /* small nudge toward the edge */
  content: "";
  background-color: var(--pnv-nav-background-color);
}

body:not(.minimal) .pnv-main-nav .pnv-dropdown-menu,
body:not(.minimal) .pnv-main-nav .pnv-nav-minimal .pnv-dropdown-menu {
  position: fixed;
  inset-inline: 0;
  /* left:0; right:0 */
  max-height: 60vh;
  min-height: 1px;
  /* fix graphics bug at 0 */
  height: unset !important;
  overflow-y: auto;
}

body:not(.minimal) .pnv-main-nav .pnv-dropdown.show .pnv-dropdown-menu.widthFit,
body:not(.minimal) .pnv-main-nav .pnv-nav-minimal .pnv-dropdown.show .pnv-dropdown-menu.widthFit {
  position: absolute !important;
  inset-inline-end: 0;
  /* aligns to inline end in both LTR/RTL */
  inset-inline-start: auto;
  min-width: fit-content !important;
  white-space: nowrap;
}

/* ========================================
   MOBILE (body.minimal)
   ======================================== */
body.minimal .pnv-main-nav .pnv-mainNav-toggler {
  display: flex;
}

body.minimal .pnv-main-nav .pnv-mainNav-toggler i {
  font-size: 1.5rem;
}

body.minimal .pnv-main-nav .pnv-collapse {
  position: absolute;
  inset-block-start: var(--pnv-nav-height);
  inset-inline: 0;
  z-index: -1;
  display: none;
  height: unset !important;
  max-height: 60svh;
  max-height: 60dvh; /* Dynamic viewport height - adjusts when mobile browser UI appears/disappears */
  transform: translateY(-100%);
  background-color: var(--pnv-nav-background-color);
  box-shadow: var(--pnv-shadow);
  transition: transform var(--pnv-transition);
  will-change: height;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* hint vertical animation in minimal mode */
}

body.minimal .pnv-main-nav .pnv-collapse.opened,
body.minimal .pnv-main-nav .pnv-collapse.opening {
  display: flex;
  transform: translateY(0);
}

body.minimal .pnv-main-nav .pnv-collapse.show {
  display: flex;
  flex-direction: column;
}

body.minimal .pnv-main-nav .pnv-collapse.closing {
  transform: translateY(-100%);
}

body.minimal .pnv-main-nav .pnv-nav-primary {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  inline-size: 100%;
  overflow-x: auto;
  transition: margin-bottom 0.1s;
}

body.minimal .pnv-main-nav .pnv-nav-primary .pnv-nav-item:not(.showMore) {
  margin-inline: 16px;
}

body.minimal .pnv-main-nav .pnv-nav-primary .pnv-nav-item:last-child,
body.minimal .pnv-main-nav .pnv-nav-primary .pnv-nav-item:nth-last-child(2) {
  border-block-end: none;
}

body.minimal .pnv-main-nav .pnv-nav-primary .pnv-nav-item.showMore {
  position: fixed;
  inset-inline: 0;
  inset-block-end: var(--pnv-nav-height);
  z-index: 2;
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.08);
  transition: opacity 0.1s, visibility 0.1s;
}

body.minimal .pnv-main-nav .pnv-nav-primary .pnv-nav-item.showMore .pnv-nav-link {
  justify-content: center;
}

body.minimal .pnv-main-nav .pnv-nav-primary .pnv-nav-link {
  display: flex;
  align-items: center;
  justify-content: start;
  inline-size: 100%;
  block-size: var(--pnv-minimal-nav-item-height);
}

/* MOBILE Secondary bar */
body.minimal .pnv-main-nav .pnv-nav-item {
  border-block-end: 1px solid var(--pnv-border-color-default);
}

body.minimal .pnv-main-nav .pnv-nav-primary.hasMore {
  margin-block-end: calc(var(--pnv-minimal-nav-item-height) + 8px);
}

body.minimal .pnv-main-nav .pnv-nav-primary.hasMore .showMore {
  opacity: 1;
  visibility: visible;
  /* above nav items */
}

body.minimal .pnv-main-nav .pnv-nav-primary.hasMore .showMore i {
  transition: transform 0.1s ease;
}

body.minimal .pnv-main-nav .pnv-nav-primary.hasMore.atEnd .showMore i {
  transform: rotate(180deg);
}

body.minimal .pnv-main-nav .pnv-nav-secondary {
  position: sticky !important;
  inset-inline: 0;
  z-index: 1001;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  inline-size: 100%;
  background-color: var(--pnv-nav-background-color);
  border-block-start: 1px solid var(--pnv-border-color-default);
}

body.minimal .pnv-main-nav .pnv-nav-secondary .pnv-nav-item {
  border-block-end: none;
}

body.minimal .pnv-main-nav .pnv-nav-secondary .pnv-nav-item:first-child {
  border-block-start: none;
}

/* Mobile dropdowns */
body.minimal .pnv-main-nav .pnv-nav-primary .pnv-dropdown-menu {
  height: 0;
  transform: translateY(0);
  overflow: hidden;
  transition: height var(--pnv-transition);
  will-change: height;
  contain: layout;
  box-shadow: unset !important;
  border-radius: unset !important;
  z-index: 1;
}

body.minimal .pnv-main-nav .pnv-nav-secondary .pnv-dropdown-menu {
  position: fixed !important;
  inset-inline: 0;
  z-index: 1002;
  /* above all navigation */
  height: 0;
  max-height: 40vh;
  max-height: 40dvh; /* Dynamic viewport height for mobile browser UI changes */
  transform: translateY(0);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  color: var(--pnv-nav-dropmenu-text-color);
  background-color: var(--pnv-nav-dropmenu-background-color);
  box-shadow: var(--pnv-shadow);
  transition: height var(--pnv-transition);
  will-change: height;
  contain: layout;
}

/* Shared minimal dropdown (both mobile/desktop minimal) */
.pnv-main-nav .pnv-nav-minimal .pnv-dropdown-menu {
  position: fixed !important;
  inset-inline: 0;
  height: unset !important;
  max-height: 40vh;
  max-height: 40dvh; /* Dynamic viewport height for mobile browser UI changes */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  z-index: -1;
  color: var(--pnv-nav-dropmenu-text-color);
  background-color: var(--pnv-nav-dropmenu-background-color);
  box-shadow: var(--pnv-shadow);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */
/* Large Desktop: 1280px and down */
@media (max-width: 1279px) {
  .pnv-dropdown-menu .pnv-dropdown-columns.columnView {
    column-count: 3;
  }
}

/* Tablet: 960px and down */
@media (max-width: 959px) {
  .pnv-dropdown-menu .pnv-dropdown-columns.columnView {
    column-count: 2;
  }

  .pnv-dropdown-menu .pnv-dropdown-columns.pnv-rowList {
    margin: 0;
    padding: 0;
  }

  .pnv-dropdown-menu .pnv-dropdown-columns.pnv-rowList .pnv-list {
    flex-direction: column;
  }

  .pnv-multi-column-list {
    column-count: 2;
  }

  /* hide labels for non-CTA items (grouped) */
  .pnv-main-nav :is(.pnv-nav-secondary, .pnv-nav-minimal) .pnv-nav-item:not(.CTA) .pnv-nav-link .label {
    display: none;
  }
}

/* Small Mobile Screens */
@media (max-width: 599px) {
  .pnv-dropdown-menu .pnv-dropdown-columns.columnView {
    column-count: 1;
    inline-size: 100%;
  }

  .pnv-multi-column-list {
    column-count: 1;
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {

  .pnv-main-nav .pnv-dropdown-menu,
  .pnv-main-nav .pnv-collapse,
  .pnv-main-nav .pnv-nav-primary .showMore i {
    transition: none !important;
  }
}

/* Badge */
.pnv-badge {
  position: absolute;
  inset-block-start: calc(var(--pnv-nav-height) / 4);
  inset-inline-end: calc(var(--pnv-nav-height) / 6);
  font-size: 9px;
  background-color: #d92c20;
  color: #fff;
  min-inline-size: 16px;
  block-size: 16px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: normal;
  padding: 4px;
}

.subNavDemo {
  background-color: var(--pnv-btn-background-color-hovered);
  padding: 24px;
  border-radius: 8px;
  border: 2px dashed var(--pnv-border-color-default);
  text-align: center;
}

/* ========================================
   DARK MODE NAVIGATION
   ======================================== */
[data-theme="dark"] .pnv-main-nav {
  background-color: var(--pnv-nav-background-color);
  box-shadow: 0px 3.288px 6.575px -1.644px rgba(0, 0, 0, 0.25),
              0px 1.644px 3.288px -1.644px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .pnv-main-nav > .pnv-nav-container {
  background-color: var(--pnv-nav-background-color);
}

[data-theme="dark"] .pnv-main-nav > .pnv-nav-container::before {
  background-color: var(--pnv-nav-background-color);
}

[data-theme="dark"] .pnv-main-nav .pnv-collapse {
  background-color: var(--pnv-nav-background-color);
}

[data-theme="dark"] .pnv-main-nav .pnv-dropdown .pnv-dropdown-menu {
  background: var(--pnv-nav-dropmenu-background-color);
  color: var(--pnv-nav-dropmenu-text-color);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .pnv-main-nav .pnv-dropdown .pnv-dropdown-item {
  color: var(--pnv-nav-dropmenu-text-color);
  background-color: var(--pnv-btn-dropmenu-background-color-default);
}

[data-theme="dark"] .pnv-main-nav .pnv-dropdown .pnv-dropdown-item:hover {
  background-color: var(--pnv-btn-dropmenu-background-color-hovered);
}

[data-theme="dark"] .pnv-main-nav .pnv-dropdown .pnv-dropdown-item:active {
  background-color: var(--pnv-btn-dropmenu-background-color-pressed);
}

[data-theme="dark"] .pnv-main-nav .pnv-nav-item:not(.CTA) > *:first-child:hover {
  background-color: var(--pnv-btn-background-color-hovered);
}

[data-theme="dark"] .pnv-main-nav :is(.pnv-dropdown.show, .pnv-nav-item:active, .pnv-nav-item.active):not(.CTA) > *:first-child {
  background-color: var(--pnv-btn-background-color-pressed);
}

[data-theme="dark"] .pnv-main-nav .pnv-nav-primary .showMore {
  background-color: var(--pnv-nav-background-color);
}

[data-theme="dark"] body.minimal .pnv-main-nav .pnv-nav-secondary {
  background-color: var(--pnv-nav-background-color);
  border-block-start-color: var(--pnv-border-color-default);
}

[data-theme="dark"] body.minimal .pnv-main-nav .pnv-nav-item {
  border-block-end-color: var(--pnv-border-color-default);
}

[data-theme="dark"] body.minimal .pnv-main-nav .pnv-nav-primary .pnv-nav-item.showMore {
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] body:not(.minimal) .pnv-main-nav .pnv-nav-primary.hasMore::before {
  background-color: var(--pnv-nav-background-color);
}

[data-theme="dark"] hr {
  border-color: var(--pnv-border-color-default);
}

/* Dropdown menu widthFit variant in dark mode */
[data-theme="dark"] .pnv-dropdown-menu.widthFit {
  background-color: #1e1e26 !important;
  background: #1e1e26 !important;
  border: 1px solid #3a3a4a !important;
}

[data-theme="dark"] .pnv-dropdown-menu {
  background-color: #1e1e26 !important;
  background: #1e1e26 !important;
}

[data-theme="dark"] .pnv-dropdown-menu .pnv-column {
  background-color: transparent !important;
  background: transparent !important;
}

[data-theme="dark"] .pnv-dropdown-menu .pnv-btn.pnv-subtle {
  color: #e5e5e5;
  background-color: transparent;
}

[data-theme="dark"] .pnv-dropdown-menu .pnv-btn.pnv-subtle:hover {
  background-color: #2a2a36;
  color: #fff;
}

[data-theme="dark"] .pnv-dropdown-menu .pnv-btn.pnv-subtle:active {
  background-color: #353545;
}

[data-theme="dark"] .pnv-dropdown-menu .label {
  color: #e5e5e5;
}

[data-theme="dark"] .pnv-dropdown-menu .pnv-btn.pnv-subtle:hover .label {
  color: #fff;
}

[data-theme="dark"] .pnv-dropdown-menu .icon {
  color: #a0a0a0;
}

[data-theme="dark"] .pnv-dropdown-menu .pnv-btn.pnv-subtle:hover .icon {
  color: #fff;
}

[data-theme="dark"] .pnv-dropdown-menu hr {
  border-color: #3a3a4a;
  opacity: 0.5;
}

/* Theme toggle button styles */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle .icon-sun.d-none,
.theme-toggle .icon-moon.d-none {
  display: none !important;
}