/* Header */
.pve-topbar { font-size: 13px; text-align: center; padding: 6px 0; }
.pve-topbar__in { display: flex; justify-content: center; align-items: center; gap: 10px; }
.pve-topbar__logo { max-height: 28px; width: auto; }
.pve-masthead { background: var(--vip-header-bg); border-bottom: 1px solid var(--vip-border); position: relative; z-index: 60; }
.pve-masthead__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: 72px; }
.pve-masthead__left { justify-self: start; display: flex; }
.pve-masthead__right { justify-self: end; display: flex; align-items: center; gap: 2px; }
.pve-masthead__brand { justify-self: center; display: flex; align-items: center; justify-content: center; text-align: center; }
.pve-logo { display: inline-block; text-decoration: none; color: var(--vip-heading); }
.pve-logo__text { font: 900 28px/1 var(--vip-font-headline); }
.pve-logo--mobile { display: none; }
.pve-logo img { display: block; margin: 0 auto; }
/* Mode switch: selector weight must beat ".pve-logo img" above, otherwise both logos show. */
.pve-logo .pve-logo__img--dark { display: none; }
.pve-logo .pve-logo__img--light { display: block; }

/* Gradient navigation strip */
.pve-nav { background: var(--vip-gradient); min-height: var(--vip-nav-height); position: relative; z-index: 55; }
.pve-nav__in { display: flex; justify-content: center; align-items: center; min-height: var(--vip-nav-height); }
.pve-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; }
.pve-menu li { position: relative; }
.pve-menu a { display: block; padding: 0 14px; line-height: var(--vip-nav-height); color: #fff; font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; }
.pve-menu a:hover, .pve-menu .current-menu-item > a, .pve-menu .current-menu-ancestor > a { background: rgba(0,0,0,.18); }
.pve-menu .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 200px; background: #2b2b2b; z-index: 70; }
.pve-menu li:hover > .sub-menu, .pve-menu li:focus-within > .sub-menu { display: block; }
.pve-menu .sub-menu a { line-height: 1.3; padding: 10px 14px; white-space: normal; }
.pve-nav__tagline { margin: 0; color: #fff; font-size: 14px; text-align: center; }
.pve-menu ~ .pve-nav__tagline { display: none; }

/* Search panel */
.pve-search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--vip-surface); border-bottom: 1px solid var(--vip-border); padding: 14px 0; z-index: 65; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.pve-search-panel[hidden] { display: none; }
.pve-search-panel .pve-container { display: flex; gap: 8px; align-items: center; }
.pve-search-close { color: var(--vip-heading); }
.pve-mode-toggle__sun { display: none; }

/* Sticky */
.pve-sticky-main .pve-masthead { position: sticky; top: 0; }
.admin-bar.pve-sticky-main .pve-masthead { top: 32px; }
.pve-sticky-nav .pve-nav { position: sticky; top: 73px; }
.admin-bar.pve-sticky-nav .pve-nav { top: 105px; }

/* Off-canvas */
.pve-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1090; }
.pve-overlay[hidden] { display: none; }
.pve-offcanvas { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: var(--vip-surface); z-index: 1100; transform: translateX(-102%); transition: transform .25s ease; display: flex; flex-direction: column; visibility: hidden; }
.pve-offcanvas.is-open { transform: none; visibility: visible; }
.pve-offcanvas__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--vip-border); }
.pve-offcanvas__head .pve-logo--mobile, .pve-offcanvas__head .pve-logo--desktop { display: inline-block; }
.pve-offcanvas__body { padding: 16px; overflow-y: auto; flex: 1; }
.pve-offmenu { margin: 16px 0; }
.pve-offmenu a, .pve-offcats a { display: block; padding: 11px 0; color: var(--vip-heading); text-decoration: none; border-bottom: 1px solid var(--vip-border); font-weight: 600; }
.pve-offmenu .sub-menu { padding-left: 14px; }
.pve-offcanvas__title { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--vip-muted); margin: 18px 0 6px; }
.pve-offlegal a { font-size: 13px; color: var(--vip-muted); display: block; padding: 4px 0; }
body.pve-lock { overflow: hidden; }

/* Ticker (right to left) */
.pve-ticker { background: var(--vip-ticker-bg); color: var(--vip-ticker-color); overflow: hidden; white-space: nowrap; font-size: 14px; }
.pve-ticker__track { display: inline-flex; animation: pve-ticker var(--vip-ticker-speed) linear infinite; will-change: transform; }
.pve-ticker--pause:hover .pve-ticker__track { animation-play-state: paused; }
.pve-ticker__list { display: flex; }
.pve-ticker__list li { padding: 9px 28px; }
.pve-ticker__list a { color: var(--vip-ticker-color); text-decoration: none; }
@keyframes pve-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pve-ticker__track { animation: none; overflow-x: auto; } .pve-offcanvas { transition: none; } .pve-carousel__track { scroll-behavior: auto; } }
