/* Pacific Pain Clinic — 1.6 Mednix-style navbar and moving testimonial lanes.
 Original responsive implementation. No reference template assets were copied. */
:root {--ppcn-blue:#4a90e2;--ppcn-navy:#0f1e4c;--ppcn-line:#e7ecf5;}
body .medx-top{display:none!important}
body .medx-header.ppcn-header{
 position:sticky;top:0;z-index:120;background:#fff;border:0;
 border-bottom:1px solid var(--ppcn-line);border-radius:0 0 15px 15px;
 box-shadow:0 4px 14px rgba(15,30,76,.065);
 backdrop-filter:none;-webkit-backdrop-filter:none;
 transition:box-shadow .23s ease;
}
body.admin-bar .medx-header.ppcn-header{top:32px}
body .medx-header.ppcn-header.medx-is-scrolled{box-shadow:0 12px 30px rgba(15,30,76,.12)}
body .ppcn-header .medx-wrap.ppcn-inner{width:min(1300px,calc(100% - 58px));max-width:1300px;min-height:69px;gap:clamp(9px,1.35vw,22px);display:flex;align-items:center;justify-content:space-between}
body .ppcn-header .ppcn-brand{margin:0!important;padding:0!important;flex:none;width:auto;min-width:0;max-width:185px;line-height:0;display:flex;align-items:center}
body .ppcn-header .ppcn-brand img,body .ppcn-header .ppcn-brand .custom-logo{display:block;max-width:100%!important;width:auto;max-height:43px;height:auto;object-fit:contain}
body .ppcn-header .ppcn-nav{display:block;flex:1 1 auto;margin:0 auto;min-width:0}
body .ppcn-header .ppcn-list{list-style:none!important;margin:0!important;padding:0!important;display:flex!important;align-items:center;justify-content:center;gap:clamp(8px,1.3vw,20px)}
body .ppcn-header .ppcn-list>li{margin:0!important;list-style:none!important;position:relative;flex:none}
body .ppcn-header .ppcn-list>li>a{display:inline-flex;align-items:center;gap:5px;justify-content:center;color:#101c39;font-size:clamp(10px,.91vw,12px);line-height:1.1;font-weight:700;letter-spacing:0;text-transform:uppercase;border:0;border-radius:4px;min-height:35px;padding:8px clamp(6px,.75vw,12px)!important;white-space:nowrap;transition:background .18s,color .18s}
body .ppcn-header .ppcn-list>li>a:hover{color:var(--ppcn-blue);background:#edf5fe}
body.home .ppcn-header .ppcn-list>li:first-child>a,body .ppcn-header .ppcn-list>li.current-menu-item>a,body .ppcn-header .ppcn-list>li.current_page_item>a{color:#fff!important;background:var(--ppcn-blue)!important;box-shadow:0 5px 12px rgba(74,144,226,.14)}
body .ppcn-header .ppcn-list>li.menu-item-has-children>a:after{content:"⌄";display:inline-block;font-size:15px;line-height:.6;position:relative;top:-2px;font-weight:400}
body .ppcn-header .ppcn-list>li.current-menu-ancestor>a{color:var(--ppcn-blue)}
body .ppcn-header .ppcn-list .sub-menu{display:none;position:absolute;top:calc(100% + 3px);left:0;z-index:145;min-width:215px;margin:0!important;padding:9px!important;border:1px solid #e9eff5;border-radius:10px;background:#fff;box-shadow:0 20px 40px rgba(15,30,76,.15);list-style:none!important;animation:ppcn-drop .17s ease-out}
@keyframes ppcn-drop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
body .ppcn-header .ppcn-list li:hover>.sub-menu,body .ppcn-header .ppcn-list li:focus-within>.sub-menu{display:block}
body .ppcn-header .ppcn-list .sub-menu a{display:block;line-height:1.3;padding:11px 10px!important;color:#263758;font-size:12px;font-weight:650;border-radius:7px}
body .ppcn-header .ppcn-list .sub-menu a:hover,body .ppcn-header .ppcn-list .sub-menu .current-menu-item>a{background:#eaf5fd;color:var(--ppcn-blue)}
body .ppcn-header .ppcn-actions{margin-left:auto;flex:none;display:flex;gap:clamp(8px,.95vw,14px);align-items:center}
body .ppcn-header .ppcn-phone{display:inline-flex;align-items:center;gap:7px;min-width:0;color:var(--ppcn-blue);text-decoration:none}
body .ppcn-header .ppcn-phone-icon{display:grid;place-items:center;flex:none;width:30px;height:37px;color:var(--ppcn-blue)}
body .ppcn-header .ppcn-phone-copy{display:flex;flex-direction:column;gap:0;min-width:0;line-height:1.25;white-space:nowrap}
body .ppcn-header .ppcn-phone-copy small{font-size:9px;color:#748399;line-height:1.2}
body .ppcn-header .ppcn-phone-copy strong{font-size:12px;letter-spacing:-.016em;color:var(--ppcn-navy);font-weight:650}
body .ppcn-header .ppcn-category-link{display:grid;place-items:center;flex:none;width:38px;height:38px;min-width:38px;border:1px solid #e7ecf5;box-shadow:0 7px 19px rgba(15,30,76,.07);border-radius:5px;color:var(--ppcn-navy);background:#fff;transition:background .2s,color .2s,transform .2s}
body .ppcn-header .ppcn-category-link:hover{color:#fff;background:var(--ppcn-blue);transform:translateY(-2px)}
body .ppcn-header .ppcn-appointment{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:38px;height:38px;flex:none;border-radius:4px;color:#fff!important;background:var(--ppcn-blue);padding:4px 5px 4px 15px!important;box-shadow:none;text-transform:none;font-weight:700;font-size:11.5px;white-space:nowrap;line-height:1.1}
body .ppcn-header .ppcn-appointment:hover{background:#347bd0!important;color:#fff!important;transform:translateY(-1px)}
body .ppcn-header .ppcn-appointment-arrow{display:grid;place-items:center;background:#fff;color:#14244b;font-size:18px;font-weight:400;flex:none;width:29px;height:29px;line-height:1;border-radius:2px}
body .ppcn-header .ppcn-toggle,body .ppcn-header .ppcn-mobile-phone{display:none}
body .ppcn-header .ppcn-mobile{display:none!important}
body .ppcn-header .ppcn-mobile:not([hidden]){display:none!important}
/* Moving testimonials: two full-width, staggered, opposite-direction lanes */
.ppcr-section{background:#f0f7f4!important;padding:82px 0 68px!important}
.ppcr-heading{margin-bottom:37px!important}
.ppcr-heading h2{font-size:clamp(37px,4.5vw,57px)!important}
.ppcr-marquee{position:relative;width:100%;overflow:hidden;isolation:isolate}
.ppcr-marquee:before,.ppcr-marquee:after{content:"";position:absolute;z-index:5;top:0;bottom:0;width:clamp(25px,8vw,125px);pointer-events:none}
.ppcr-marquee:before{left:0;background:linear-gradient(90deg,#f0f7f4 0%,rgba(240,247,244,.82) 35%,transparent 100%)}
.ppcr-marquee:after{right:0;background:linear-gradient(270deg,#f0f7f4 0%,rgba(240,247,244,.82) 35%,transparent 100%)}
.ppcr-viewport{overflow:hidden;width:100%;padding:7px 0 12px}
.ppcr-viewport+.ppcr-viewport{margin-top:24px}
.ppcr-track{display:flex;align-items:stretch;gap:23px;width:max-content;will-change:transform;animation-duration:60s;animation-timing-function:linear;animation-iteration-count:infinite}
.ppcr-set{display:flex;gap:23px;width:max-content;flex:none;align-items:stretch}
.ppcr-track-left{animation-name:ppcr-travel-left}
.ppcr-track-right{animation-name:ppcr-travel-right;animation-duration:64s}
@keyframes ppcr-travel-left{from{transform:translate3d(0,0,0)}to{transform:translate3d(calc(-50% - 11.5px),0,0)}}
@keyframes ppcr-travel-right{from{transform:translate3d(calc(-50% - 11.5px),0,0)}to{transform:translate3d(0,0,0)}}
.ppcr-marquee:hover .ppcr-track,.ppcr-marquee:focus-within .ppcr-track,.ppcr-marquee.ppcr-paused .ppcr-track{animation-play-state:paused!important}
.ppcr-card{flex:0 0 304px;width:304px;height:226px;min-width:0;background:#fff;color:#21314a;padding:23px 22px 20px;border:1px solid #e4ebee;border-radius:9px;box-shadow:0 3px 7px rgba(15,30,76,.025);display:flex;flex-direction:column;gap:0;transition:box-shadow .25s,border-color .25s}
.ppcr-card:hover{border-color:#a5d2f3;box-shadow:0 13px 28px rgba(15,30,76,.095)}
.ppcr-person{display:flex;align-items:center;gap:13px;min-width:0;margin-bottom:19px}
.ppcr-avatar{display:grid;place-items:center;background:linear-gradient(145deg,#d9ecf2,#e9f1f7);color:#327ba3;border:2px solid #f4f8fa;border-radius:50%;width:53px;height:53px;flex:none;overflow:hidden;font-weight:700;font-size:16px}
.ppcr-avatar-photo{display:block;width:100%;height:100%;object-fit:cover}
.ppcr-person-copy{min-width:0}
.ppcr-person-copy h3{font-size:16px!important;color:#152452!important;line-height:1.28;margin:0 0 4px!important;letter-spacing:-.025em;font-weight:500!important;white-space:normal}
.ppcr-person-copy>span{font-size:11px;display:block;color:#808994;line-height:1.35}
.ppcr-card blockquote{font-size:12.5px;line-height:1.7;color:#626f78;flex:1;margin:0 0 12px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}
.ppcr-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px;margin-top:auto}
.ppcr-stars{color:#f6aa17;font-size:17px;letter-spacing:1px;white-space:nowrap}
.ppcr-source-note{color:#81909c;font-size:10.5px}
.ppcr-foot a{font-size:10px;white-space:nowrap;color:var(--ppcn-blue);text-decoration:none;font-weight:750}
.ppcr-foot a:hover{text-decoration:underline}
.ppcr-lower{margin-top:18px}
.ppcr-row-controls{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ppcr-row-controls p{font-size:11px;color:#788891;margin:0;line-height:1.5}
.ppcr-motion-toggle{display:inline-flex;align-items:center;gap:9px;flex:none;min-height:35px;background:#fff;border:1px solid #d7e7e8;border-radius:22px;padding:7px 13px;color:#1b4766;font-size:11px;font-weight:700;cursor:pointer}
.ppcr-motion-toggle:hover{border-color:var(--ppcn-blue);color:var(--ppcn-blue)}
.ppcr-motion-toggle:focus-visible{outline:3px solid var(--ppcn-blue);outline-offset:3px}
.ppcr-motion-toggle [data-ppcr-toggle-icon]{font-size:14px;font-weight:800;line-height:1}
.ppcr-comments{margin-top:24px}
.ppcr-static{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}
.ppcr-empty{border-radius:12px;background:#fff;padding:35px;max-width:640px;margin:auto;text-align:center}
.ppcr-empty h3{font-size:20px;margin-bottom:12px}
.ppcr-empty p{font-size:13px;color:#678}
/* Medium laptop navigation keeps all 6 menu entries visible. */
@media(max-width:1180px){
 body .ppcn-header .ppcn-inner{width:calc(100% - 36px);gap:10px}
 body .ppcn-header .ppcn-list{gap:5px}
 body .ppcn-header .ppcn-brand{max-width:169px}
 body .ppcn-header .ppcn-phone-copy strong{font-size:11px}
 body .ppcn-header .ppcn-phone-icon{width:25px}
 body .ppcn-header .ppcn-category-link{width:35px;height:35px;min-width:35px}
 body .ppcn-header .ppcn-appointment{font-size:11px;padding-left:10px!important}
}
@media(max-width:1020px){
 body .ppcn-header .ppcn-phone{display:none}
 body .ppcn-header .ppcn-inner{min-height:67px}
 body .ppcn-header .ppcn-list>li>a{font-size:11px}
}
@media(max-width:860px){
 body .ppcn-header .ppcn-inner{min-height:70px;width:calc(100% - 38px)}
 body .ppcn-header .ppcn-nav{display:none!important}
 body .ppcn-header .ppcn-brand{max-width:190px}
 body .ppcn-header .ppcn-phone{display:none}
 body .ppcn-header .ppcn-category-link{display:none}
 body .ppcn-header .ppcn-appointment{height:39px;min-height:39px}
 body .ppcn-header .ppcn-mobile-phone{display:grid;width:41px;height:41px;place-items:center;border:1px solid #e1eaf3;border-radius:7px;background:#fff;color:var(--ppcn-blue);margin-left:auto}
 body .ppcn-header .ppcn-toggle{display:flex!important;flex:none;margin:0;width:43px;height:42px;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid #e1eaf3;background:#fff;border-radius:7px;cursor:pointer}
 body .ppcn-header .ppcn-toggle>span{width:19px;height:2px;background:var(--ppcn-navy);transition:transform .25s,opacity .25s}
 body .ppcn-header .ppcn-toggle[aria-expanded="true"]>span:first-child{transform:translateY(7px) rotate(45deg)}
 body .ppcn-header .ppcn-toggle[aria-expanded="true"]>span:nth-child(2){opacity:0}
 body .ppcn-header .ppcn-toggle[aria-expanded="true"]>span:last-child{transform:translateY(-7px) rotate(-45deg)}
 body .ppcn-header .ppcn-mobile:not([hidden]){display:block!important;position:absolute;z-index:120;top:100%;left:12px;right:12px;max-height:calc(100dvh - 92px);overflow-y:auto;overscroll-behavior:contain;padding:15px 17px 19px;background:#fff;border:1px solid #e8eff6;border-radius:0 0 14px 14px;box-shadow:0 22px 38px rgba(15,30,76,.15)}
 body .ppcn-header .ppcn-mobile-list,body .ppcn-header .ppcn-mobile-list .sub-menu{padding:0!important;margin:0!important;list-style:none!important}
 body .ppcn-header .ppcn-mobile-list>li{position:relative;border-bottom:1px solid #edf0f5}
 body .ppcn-header .ppcn-mobile-list>li>a{display:flex;align-items:center;min-height:47px;padding:10px 45px 10px 9px!important;font-size:13.5px;font-weight:750;color:#14234a;text-transform:uppercase;line-height:1.35}
 body .ppcn-header .ppcn-mobile-list>.current-menu-item>a,body.home .ppcn-header .ppcn-mobile-list>li:first-child>a{color:var(--ppcn-blue)}
 body .ppcn-header .ppcn-mobile.ppcn-enhanced .ppcn-mobile-list .sub-menu{display:none!important}
 body .ppcn-header .ppcn-mobile.ppcn-enhanced .menu-item.ppcn-expanded>.sub-menu{display:block!important}
 body .ppcn-header .ppcn-mobile-list .sub-menu{padding:0 0 10px 16px!important;margin:0 0 5px 10px!important;border-left:2px solid #dbeaf5}
 body .ppcn-header .ppcn-mobile-list .sub-menu a{display:block;padding:10px 13px!important;min-height:38px;color:#66798f;font-size:12.5px;font-weight:600}
 body .ppcn-header .ppcn-mobile-list .sub-menu a:hover{color:var(--ppcn-blue)}
 body .ppcn-header .ppcn-expand{display:grid;place-items:center;position:absolute;right:2px;top:6px;width:36px;height:36px;border:0;border-radius:5px;background:#edf4fb;color:#254270;font-size:22px;line-height:1;cursor:pointer}
 body .ppcn-header .ppcn-expand[aria-expanded="true"]{background:#dceefd;color:#1a78bf}
 body .ppcn-header .ppcn-mobile-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:15px;padding:13px 17px;background:var(--ppcn-blue);color:#fff!important;border-radius:7px;font-size:13px;font-weight:750}
 body .ppcn-header .ppcn-mobile-cta span{font-size:23px}
 body .ppcn-header .ppcn-toggle:focus-visible,body .ppcn-header .ppcn-mobile-phone:focus-visible{outline:3px solid var(--ppcn-blue);outline-offset:3px}
}
@media(max-width:600px){
 body.admin-bar .medx-header.ppcn-header{top:46px}
 body .ppcn-header .ppcn-inner{width:calc(100% - 28px);min-height:70px;gap:8px}
 body .ppcn-header .ppcn-brand{max-width:min(57vw,200px)}
 body .ppcn-header .ppcn-brand img{max-height:38px}
 body .ppcn-header .ppcn-appointment{display:none}
 body .ppcn-header .ppcn-actions{margin-left:auto}
 .ppcr-section{padding:62px 0 53px!important}
 .ppcr-heading{margin-bottom:25px!important}
 .ppcr-viewport+.ppcr-viewport{margin-top:17px}
 .ppcr-track,.ppcr-set{gap:13px}
 .ppcr-track{animation-duration:52s}
 .ppcr-track-right{animation-duration:56s}
 @keyframes ppcr-travel-left{to{transform:translate3d(calc(-50% - 6.5px),0,0)}}
 @keyframes ppcr-travel-right{from{transform:translate3d(calc(-50% - 6.5px),0,0)}to{transform:translate3d(0,0,0)}}
 .ppcr-card{flex-basis:280px;width:280px;height:235px;padding:20px}
 .ppcr-marquee:before,.ppcr-marquee:after{width:34px}
 .ppcr-lower{margin-top:13px}
 .ppcr-row-controls p{font-size:10px}
 .ppcr-motion-toggle{font-size:10px;gap:6px;padding:6px 9px}
}
@media(max-width:360px){
 .ppcr-card{width:258px;flex-basis:258px;height:235px}
 body .ppcn-header .ppcn-brand{max-width:52vw}
}
@media(prefers-reduced-motion:reduce){
 .ppcr-motion-toggle{display:none!important}
 .ppcr-track{animation:none!important;transform:none!important;will-change:auto}
 .ppcr-track-right{display:none}
 .ppcr-viewport{overflow:visible}
 .ppcr-marquee{overflow:visible}
 .ppcr-marquee:before,.ppcr-marquee:after{display:none}
 .ppcr-track-left{width:auto;justify-content:center}
 .ppcr-set{flex-wrap:wrap;justify-content:center;width:auto}
 .ppcr-set[aria-hidden="true"]{display:none}
 .ppcr-card{height:auto;min-height:225px}
}

/* Frame the clinic's wide physician photograph without centering him out of view. */
.medx-hero .medx-slide-photo{background-position:right 35%}
@media(max-width:690px){
 .medx-hero .medx-slide-photo{background-position:right 28%}
}

/* Mednix-inspired header motion: animated call icon, sliding CTA arrow and menu transitions. */
body .ppcn-header .ppcn-phone-icon svg{overflow:visible}
body .ppcn-header .ppcn-phone-icon svg path:nth-child(2),
body .ppcn-header .ppcn-phone-icon svg path:nth-child(3){transform-box:fill-box;transform-origin:center}
body .ppcn-header .ppcn-phone-icon svg path:nth-child(2){animation:ppcn-phone-wave-one 1.15s infinite cubic-bezier(.1,.57,.5,1)}
body .ppcn-header .ppcn-phone-icon svg path:nth-child(3){animation:ppcn-phone-wave-two 1.15s infinite cubic-bezier(.1,.57,.5,1)}
@keyframes ppcn-phone-wave-one{0%,100%{opacity:.42;transform:scale(.88)}50%{opacity:1;transform:scale(1.08)}}
@keyframes ppcn-phone-wave-two{0%,100%{opacity:.28;transform:scale(.78)}50%{opacity:1;transform:scale(1.14)}}
body .ppcn-header .ppcn-phone-copy strong{transition:color .35s ease,text-decoration-color .35s ease}
body .ppcn-header .ppcn-phone:hover .ppcn-phone-copy strong,
body .ppcn-header .ppcn-phone:focus-visible .ppcn-phone-copy strong{color:var(--ppcn-blue);text-decoration:underline;text-underline-offset:3px}
body .ppcn-header .ppcn-mobile-phone svg{transition:transform .35s ease}
body .ppcn-header .ppcn-mobile-phone:hover svg,
body .ppcn-header .ppcn-mobile-phone:focus-visible svg{animation:ppcn-handset-ring .55s ease-in-out}
@keyframes ppcn-handset-ring{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-12deg)}40%,80%{transform:rotate(10deg)}}

/* Same two-arrow sliding motion used by Mednix theme buttons. */
body .ppcn-header .ppcn-appointment{position:relative;overflow:hidden;gap:10px;transition:background-color .35s ease,transform .35s ease,box-shadow .35s ease}
body .ppcn-header .ppcn-appointment .ppcn-button-text,
body .ppcn-header .ppcn-mobile-cta .ppcn-button-text{position:relative;display:block;color:transparent;text-shadow:0 0 #fff,0 22px #fff;transition:text-shadow .5s ease-in-out}
body .ppcn-header .ppcn-appointment:hover .ppcn-button-text,
body .ppcn-header .ppcn-appointment:focus-visible .ppcn-button-text,
body .ppcn-header .ppcn-mobile-cta:hover .ppcn-button-text,
body .ppcn-header .ppcn-mobile-cta:focus-visible .ppcn-button-text{text-shadow:0 -22px #fff,0 0 #fff}
body .ppcn-header .ppcn-appointment-arrow,
body .ppcn-header .ppcn-mobile-cta-arrow{position:relative;display:grid;place-items:center;overflow:hidden;isolation:isolate;background:#fff;color:var(--ppcn-navy);transition:color .4s ease,background-color .4s ease}
body .ppcn-header .ppcn-appointment-arrow:before,
body .ppcn-header .ppcn-mobile-cta-arrow:before{content:"";position:absolute;right:0;top:-7px;bottom:0;width:0;height:calc(100% + 14px);border-radius:4px;background:var(--ppcn-navy);z-index:-1;transition:width .4s ease}
body .ppcn-header .ppcn-appointment:hover .ppcn-appointment-arrow:before,
body .ppcn-header .ppcn-appointment:focus-visible .ppcn-appointment-arrow:before,
body .ppcn-header .ppcn-mobile-cta:hover .ppcn-mobile-cta-arrow:before,
body .ppcn-header .ppcn-mobile-cta:focus-visible .ppcn-mobile-cta-arrow:before{width:100%}
body .ppcn-header .ppcn-appointment:hover .ppcn-appointment-arrow,
body .ppcn-header .ppcn-appointment:focus-visible .ppcn-appointment-arrow,
body .ppcn-header .ppcn-mobile-cta:hover .ppcn-mobile-cta-arrow,
body .ppcn-header .ppcn-mobile-cta:focus-visible .ppcn-mobile-cta-arrow{color:#fff}
body .ppcn-header .ppcn-button-icon .ppcn-arrow{position:relative;z-index:1;display:block;line-height:1;font-size:20px;font-weight:400;transition:transform .4s ease,color .4s ease}
body .ppcn-header .ppcn-button-icon .ppcn-arrow-current{transform:translateX(10px)}
body .ppcn-header .ppcn-button-icon .ppcn-arrow-next{position:absolute;transform:translateX(-100px)}
body .ppcn-header .ppcn-appointment:hover .ppcn-arrow-current,
body .ppcn-header .ppcn-mobile-cta:hover .ppcn-arrow-current,
body .ppcn-header .ppcn-appointment:focus-visible .ppcn-arrow-current,
body .ppcn-header .ppcn-mobile-cta:focus-visible .ppcn-arrow-current{transform:translateX(100px)}
body .ppcn-header .ppcn-appointment:hover .ppcn-arrow-next,
body .ppcn-header .ppcn-mobile-cta:hover .ppcn-arrow-next,
body .ppcn-header .ppcn-appointment:focus-visible .ppcn-arrow-next,
body .ppcn-header .ppcn-mobile-cta:focus-visible .ppcn-arrow-next{transform:translateX(-1px)}
body .ppcn-header .ppcn-appointment-arrow{width:29px;height:29px;border-radius:2px;font-size:0}
body .ppcn-header .ppcn-appointment:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(52,123,208,.2)}

/* Navigation items use a soft expanding highlight; submenu chevrons rotate. */
body .ppcn-header .ppcn-list>li>a{position:relative;isolation:isolate;overflow:hidden;background:transparent;transition:color .45s ease,background-color .45s ease,transform .45s ease}
body .ppcn-header .ppcn-list>li>a:before{content:"";position:absolute;inset:0;border-radius:4px;background:#edf5fe;transform:scaleX(0);transform-origin:left center;transition:transform .42s cubic-bezier(.2,.7,.2,1);z-index:-1}
body .ppcn-header .ppcn-list>li:not(.current-menu-item):not(.current_page_item)>a:hover:before,
body .ppcn-header .ppcn-list>li:not(.current-menu-item):not(.current_page_item)>a:focus-visible:before{transform:scaleX(1)}
body .ppcn-header .ppcn-list>li:not(.current-menu-item):not(.current_page_item)>a:hover,
body .ppcn-header .ppcn-list>li:not(.current-menu-item):not(.current_page_item)>a:focus-visible{color:var(--ppcn-blue);background:transparent;transform:translateY(-1px)}
body .ppcn-header .ppcn-list>li.menu-item-has-children>a:after{transition:transform .35s ease,color .35s ease;transform-origin:50% 45%}
body .ppcn-header .ppcn-list>li.menu-item-has-children:hover>a:after,
body .ppcn-header .ppcn-list>li.menu-item-has-children:focus-within>a:after{transform:rotate(180deg)}
body .ppcn-header .ppcn-list .sub-menu{animation:ppcn-drop .42s cubic-bezier(.2,.7,.2,1)}
@keyframes ppcn-drop{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
body .ppcn-header .ppcn-list .sub-menu a{position:relative;overflow:hidden;transition:padding .4s ease,color .4s ease,background-color .4s ease}
body .ppcn-header .ppcn-list .sub-menu a:after{content:"";position:absolute;left:10px;bottom:5px;width:0;height:1px;background:var(--ppcn-blue);transition:width .4s ease}
body .ppcn-header .ppcn-list .sub-menu a:hover:after,
body .ppcn-header .ppcn-list .sub-menu a:focus-visible:after{width:calc(100% - 20px)}
body .ppcn-header .ppcn-list .sub-menu a:hover,
body .ppcn-header .ppcn-list .sub-menu a:focus-visible{padding-left:18px!important}

/* Animated icon tile on the small utility button. */
body .ppcn-header .ppcn-category-link svg{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
body .ppcn-header .ppcn-category-link:hover svg,
body .ppcn-header .ppcn-category-link:focus-visible svg{transform:rotate(45deg) scale(1.04)}

/* Mobile appointment CTA uses the same animated arrow tile and sliding label. */
body .ppcn-header .ppcn-mobile-cta{position:relative;overflow:hidden;padding:6px 7px 6px 17px!important;transition:background-color .35s ease,box-shadow .35s ease,transform .35s ease}
body .ppcn-header .ppcn-mobile-cta-text{font-size:13px;line-height:1.2}
body .ppcn-header .ppcn-mobile-cta-arrow{width:36px;height:36px;min-width:36px;border-radius:4px;font-size:0}
body .ppcn-header .ppcn-mobile-cta:hover{background:#347bd0;box-shadow:0 7px 18px rgba(52,123,208,.2);transform:translateY(-1px)}
body .ppcn-header .ppcn-mobile-list>li>a{transition:color .3s ease,padding-left .3s ease,background-color .3s ease}
body .ppcn-header .ppcn-mobile-list>li>a:hover,
body .ppcn-header .ppcn-mobile-list>li>a:focus-visible{color:var(--ppcn-blue);padding-left:15px!important}
body .ppcn-header .ppcn-expand{transition:background-color .3s ease,color .3s ease,transform .3s ease}
body .ppcn-header .ppcn-expand[aria-expanded="true"]{transform:rotate(180deg)}

@media(prefers-reduced-motion:reduce){
 body .ppcn-header .ppcn-phone-icon svg path:nth-child(2),
 body .ppcn-header .ppcn-phone-icon svg path:nth-child(3){animation:none!important}
 body .ppcn-header .ppcn-mobile-phone:hover svg{animation:none!important}
 body .ppcn-header .ppcn-appointment,
 body .ppcn-header .ppcn-appointment *,
 body .ppcn-header .ppcn-mobile-cta,
 body .ppcn-header .ppcn-mobile-cta *,
 body .ppcn-header .ppcn-list>li>a,
 body .ppcn-header .ppcn-list .sub-menu a,
 body .ppcn-header .ppcn-category-link svg{transition:none!important;animation:none!important}
 body .ppcn-header .ppcn-appointment .ppcn-button-text,
 body .ppcn-header .ppcn-mobile-cta .ppcn-button-text{color:#fff;text-shadow:none}
 body .ppcn-header .ppcn-button-icon .ppcn-arrow-current{transform:none}
 body .ppcn-header .ppcn-button-icon .ppcn-arrow-next{display:none}
}


/* Final CTA stacking and motion tuning to mirror the reference theme. */
body .ppcn-header .ppcn-appointment:hover,
body .ppcn-header .ppcn-appointment:focus-visible{
 background:var(--ppcn-blue)!important;color:#fff!important;
 transform:none;box-shadow:none;
}
body .ppcn-header .ppcn-appointment .ppcn-button-text,
body .ppcn-header .ppcn-mobile-cta .ppcn-button-text{overflow:hidden}
body .ppcn-header .ppcn-mobile-cta-arrow{position:relative;z-index:1;isolation:isolate}
body .ppcn-header .ppcn-mobile-cta-arrow:before{z-index:0}


/* Compact Mednix-style utility bar above the primary navigation. */
body .ppcn-header .ppcn-topbar{display:block;width:100%;background:#fff;border-bottom:1px solid #e8edf3;color:#667085;position:relative}
body .ppcn-header .ppcn-topbar-inner{width:min(1300px,calc(100% - 58px));max-width:1300px;min-height:42px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
body .ppcn-header .ppcn-topbar-info{display:flex;align-items:center;gap:clamp(14px,1.9vw,25px);min-width:0}
body .ppcn-header .ppcn-topbar-item{display:inline-flex;align-items:center;gap:7px;min-width:0;color:#596579;text-decoration:none;font-size:10.5px;font-weight:550;line-height:1.25;white-space:nowrap;transition:color .25s ease}
body .ppcn-header .ppcn-topbar-item svg{width:14px;height:14px;flex:none;color:#4a90e2}
body .ppcn-header .ppcn-topbar-email:hover,body .ppcn-header .ppcn-topbar-email:focus-visible{color:#4a90e2}
body .ppcn-header .ppcn-topbar-separator{padding:0 3px;color:#aab4c2}
body .ppcn-header .ppcn-topbar-tools{display:flex;align-items:center;gap:10px;flex:none}
body .ppcn-header .ppcn-top-search{position:relative;z-index:160}
body .ppcn-header .ppcn-top-search summary{list-style:none;display:grid;place-items:center;width:27px;height:27px;cursor:pointer;color:#27364d;border-radius:50%;transition:color .25s ease,background .25s ease}
body .ppcn-header .ppcn-top-search summary::-webkit-details-marker{display:none}
body .ppcn-header .ppcn-top-search summary svg{width:15px;height:15px}
body .ppcn-header .ppcn-top-search summary:hover,body .ppcn-header .ppcn-top-search[open] summary{color:#4a90e2;background:#edf5fe}
body .ppcn-header .ppcn-top-search-form{display:none;position:absolute;right:0;top:calc(100% + 8px);z-index:180;width:min(290px,calc(100vw - 36px));padding:7px;background:#fff;border:1px solid #e7edf4;border-radius:8px;box-shadow:0 14px 34px rgba(15,30,76,.16);align-items:center;gap:6px}
body .ppcn-header .ppcn-top-search[open] .ppcn-top-search-form{display:flex}
body .ppcn-header .ppcn-top-search-form input{flex:1;min-width:0;height:36px;border:0;outline:0;box-shadow:none;padding:0 9px;background:#f7f9fc;border-radius:5px;color:#14234a;font-size:12px}
body .ppcn-header .ppcn-top-search-form button{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:5px;background:#4a90e2;color:#fff;cursor:pointer;transition:background .25s ease,transform .25s ease}
body .ppcn-header .ppcn-top-search-form button:hover{background:#347bd0;transform:translateY(-1px)}
body .ppcn-header .ppcn-top-search-form button svg{width:16px;height:16px}
body .ppcn-header .ppcn-topbar-socials{display:flex;align-items:center;gap:6px}
body .ppcn-header .ppcn-topbar-socials a{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f2f5f8;color:#536176;transition:background .3s ease,color .3s ease,transform .3s ease}
body .ppcn-header .ppcn-topbar-socials a svg{width:12px;height:12px}
body .ppcn-header .ppcn-topbar-socials a:hover,body .ppcn-header .ppcn-topbar-socials a:focus-visible{color:#fff;background:#4a90e2;transform:translateY(-2px)}
body .ppcn-header .ppcn-inner{position:relative;z-index:2}

/* Keep the dropdown panel physically connected to its parent item. */
body .ppcn-header .ppcn-list>li{z-index:1}
body .ppcn-header .ppcn-list>li:hover,body .ppcn-header .ppcn-list>li:focus-within{z-index:150}
body .ppcn-header .ppcn-list .sub-menu{display:block!important;top:100%!important;left:0;padding:8px 9px 9px!important;margin:0!important;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s;animation:none!important}
body .ppcn-header .ppcn-list li:hover>.sub-menu,body .ppcn-header .ppcn-list li:focus-within>.sub-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition-delay:0s}
body .ppcn-header .ppcn-list .sub-menu li{position:relative}
body .ppcn-header .ppcn-list .sub-menu a{white-space:normal;min-height:36px}

/* Match the original Mednix button: navy fill grows inside the white arrow tile. */
body .ppcn-header .ppcn-appointment-arrow{position:relative;z-index:1;isolation:isolate;overflow:hidden;background:#fff;color:var(--ppcn-navy);border-radius:2px}
body .ppcn-header .ppcn-appointment-arrow:before{content:"";position:absolute;right:0;top:-7px;bottom:0;width:0;height:calc(100% + 14px);border-radius:5px;background:var(--ppcn-navy);z-index:0;transition:width .4s ease}
body .ppcn-header .ppcn-button-icon .ppcn-arrow{position:relative;z-index:1;display:block;line-height:1;font-size:20px;font-weight:400;transition:transform .4s ease}
body .ppcn-header .ppcn-button-icon .ppcn-arrow-current{transform:translateX(12px)}
body .ppcn-header .ppcn-button-icon .ppcn-arrow-next{position:absolute;left:50%;top:50%;transform:translate(-100px,-50%)}
body .ppcn-header .ppcn-appointment:hover .ppcn-appointment-arrow:before,
body .ppcn-header .ppcn-appointment:focus-visible .ppcn-appointment-arrow:before,
body .ppcn-header .ppcn-mobile-cta:hover .ppcn-mobile-cta-arrow:before,
body .ppcn-header .ppcn-mobile-cta:focus-visible .ppcn-mobile-cta-arrow:before{width:100%}
body .ppcn-header .ppcn-appointment:hover .ppcn-arrow-current,
body .ppcn-header .ppcn-appointment:focus-visible .ppcn-arrow-current,
body .ppcn-header .ppcn-mobile-cta:hover .ppcn-arrow-current,
body .ppcn-header .ppcn-mobile-cta:focus-visible .ppcn-arrow-current{transform:translateX(100px)}
body .ppcn-header .ppcn-appointment:hover .ppcn-arrow-next,
body .ppcn-header .ppcn-appointment:focus-visible .ppcn-arrow-next,
body .ppcn-header .ppcn-mobile-cta:hover .ppcn-arrow-next,
body .ppcn-header .ppcn-mobile-cta:focus-visible .ppcn-arrow-next{transform:translate(-11px,-50%)}

@media(max-width:1100px) and (min-width:861px){
 body .ppcn-header .ppcn-topbar-inner{width:calc(100% - 36px);gap:12px}
 body .ppcn-header .ppcn-topbar-info{gap:13px}
 body .ppcn-header .ppcn-topbar-item{font-size:9.8px;gap:5px}
}
@media(max-width:860px){body .ppcn-header .ppcn-topbar{display:none!important}}
@media(prefers-reduced-motion:reduce){
 body .ppcn-header .ppcn-topbar-item,body .ppcn-header .ppcn-top-search summary,body .ppcn-header .ppcn-topbar-socials a,body .ppcn-header .ppcn-top-search-form button,body .ppcn-header .ppcn-list .sub-menu,body .ppcn-header .ppcn-appointment-arrow:before,body .ppcn-header .ppcn-button-icon .ppcn-arrow{transition:none!important}
}

/* Final CTA stacking and motion tuning to mirror the reference theme. */
body .ppcn-header .ppcn-appointment:hover,body .ppcn-header .ppcn-appointment:focus-visible{background:var(--ppcn-blue)!important;color:#fff!important;transform:none;box-shadow:none}
body .ppcn-header .ppcn-appointment .ppcn-button-text,body .ppcn-header .ppcn-mobile-cta .ppcn-button-text{overflow:hidden}
body .ppcn-header .ppcn-mobile-cta-arrow{position:relative;z-index:1;isolation:isolate}
body .ppcn-header .ppcn-mobile-cta-arrow:before{z-index:0}


/* Final comparison pass: keep all reference navigation labels visible at laptop widths. */
@media (min-width:861px) and (max-width:1180px){
 body .ppcn-header .medx-wrap.ppcn-inner{width:calc(100% - 32px)!important;gap:7px!important}
 body .ppcn-header .ppcn-brand{max-width:145px!important}
 body .ppcn-header .ppcn-nav{display:block!important;flex:1 1 0%!important;width:auto!important;min-width:0!important;overflow:visible!important}
 body .ppcn-header .ppcn-list{display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;gap:1px!important;width:100%!important}
 body .ppcn-header .ppcn-list>li{display:block!important;visibility:visible!important;flex:0 0 auto!important}
 body .ppcn-header .ppcn-list>li>a{font-size:10px!important;padding:7px 4px!important;gap:3px!important}
 body .ppcn-header .ppcn-list>li.menu-item-has-children>a:after{font-size:12px!important}
 body .ppcn-header .ppcn-actions{gap:6px!important}
 body .ppcn-header .ppcn-phone{gap:4px!important}
 body .ppcn-header .ppcn-phone-copy small{display:none!important}
 body .ppcn-header .ppcn-phone-copy strong{font-size:10px!important}
 body .ppcn-header .ppcn-phone-icon{width:23px!important}
 body .ppcn-header .ppcn-category-link{width:32px!important;height:32px!important;min-width:32px!important}
 body .ppcn-header .ppcn-appointment{gap:5px!important;padding-left:9px!important;padding-right:4px!important;font-size:10px!important}
 body .ppcn-header .ppcn-appointment-arrow{width:30px!important;height:30px!important}
}

/* The reference CTA shows a complete right arrow before hover, not a clipped dash. */
body .ppcn-header .ppcn-appointment-arrow{
 width:32px!important;height:32px!important;min-width:32px!important;
 display:grid!important;place-items:center!important;overflow:hidden!important;
 position:relative!important;isolation:isolate!important;
 background:#fff!important;color:#14244b!important;
}
body .ppcn-header .ppcn-button-icon .ppcn-arrow{
 display:block!important;position:relative!important;z-index:2!important;
 font-size:20px!important;line-height:1!important;font-weight:400!important;
 transition:transform .4s cubic-bezier(.2,.7,.2,1),color .35s ease!important;
}
body .ppcn-header .ppcn-button-icon .ppcn-arrow-current{
 transform:translateX(0)!important;
}
body .ppcn-header .ppcn-button-icon .ppcn-arrow-next{
 display:block!important;position:absolute!important;left:50%!important;top:50%!important;
 transform:translate(-180%,-50%)!important;
}
body .ppcn-header .ppcn-appointment:hover .ppcn-arrow-current,
body .ppcn-header .ppcn-appointment:focus-visible .ppcn-arrow-current,
body .ppcn-header .ppcn-mobile-cta:hover .ppcn-arrow-current,
body .ppcn-header .ppcn-mobile-cta:focus-visible .ppcn-arrow-current{
 transform:translateX(100px)!important;
}
body .ppcn-header .ppcn-appointment:hover .ppcn-arrow-next,
body .ppcn-header .ppcn-appointment:focus-visible .ppcn-arrow-next,
body .ppcn-header .ppcn-mobile-cta:hover .ppcn-arrow-next,
body .ppcn-header .ppcn-mobile-cta:focus-visible .ppcn-arrow-next{
 transform:translate(-50%,-50%)!important;
}
body .ppcn-header .ppcn-appointment:hover .ppcn-appointment-arrow,
body .ppcn-header .ppcn-appointment:focus-visible .ppcn-appointment-arrow,
body .ppcn-header .ppcn-mobile-cta:hover .ppcn-mobile-cta-arrow,
body .ppcn-header .ppcn-mobile-cta:focus-visible .ppcn-mobile-cta-arrow{
 color:#fff!important;
}
@media(prefers-reduced-motion:reduce){
 body .ppcn-header .ppcn-button-icon .ppcn-arrow-current{transform:translateX(0)!important}
 body .ppcn-header .ppcn-button-icon .ppcn-arrow-next{display:none!important}
}


/* Header spacing refinement — align the Pacific header with the Mednix reference at laptop widths. */
@media (min-width:981px) and (max-width:1100px){
 body .ppcn-header .medx-wrap.ppcn-inner{
  width:calc(100% - 92px)!important;max-width:1300px!important;min-height:69px!important;
  gap:0!important;justify-content:space-between!important;
 }
 body .ppcn-header .ppcn-brand{flex:0 0 118px!important;width:118px!important;max-width:118px!important}
 body .ppcn-header .ppcn-brand img,body .ppcn-header .ppcn-brand .custom-logo{max-width:118px!important;max-height:40px!important}
 body .ppcn-header .ppcn-nav{
  display:block!important;flex:0 0 438px!important;width:438px!important;max-width:438px!important;
  min-width:0!important;margin-left:8px!important;margin-right:0!important;overflow:visible!important;
 }
 body .ppcn-header .ppcn-list{
  display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;
  align-items:center!important;gap:0!important;width:100%!important;
 }
 body .ppcn-header .ppcn-list>li{display:block!important;flex:0 0 auto!important}
 body .ppcn-header .ppcn-list>li>a{min-height:35px!important;padding:7px 9px!important;font-size:10px!important;gap:3px!important}
 body .ppcn-header .ppcn-list>li:first-child>a{padding-left:15px!important;padding-right:15px!important}
 body .ppcn-header .ppcn-list>li:last-child>a{padding-right:0!important}
 body .ppcn-header .ppcn-actions{
  display:flex!important;flex:0 0 296px!important;width:296px!important;max-width:296px!important;
  margin:0!important;gap:10px!important;justify-content:flex-end!important;
 }
 body .ppcn-header .ppcn-phone{flex:none!important;gap:6px!important;margin-right:15px!important}
 body .ppcn-header .ppcn-phone-icon{width:28px!important;height:36px!important}
 body .ppcn-header .ppcn-phone-icon svg{width:28px!important;height:28px!important}
 body .ppcn-header .ppcn-phone-copy small{display:block!important;font-size:9px!important}
 body .ppcn-header .ppcn-phone-copy strong{font-size:11px!important}
 body .ppcn-header .ppcn-category-link{
  flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px!important;
 }
 body .ppcn-header .ppcn-appointment{
  flex:0 0 121px!important;width:121px!important;min-width:121px!important;max-width:121px!important;
  height:38px!important;min-height:38px!important;padding:4px 5px 4px 13px!important;gap:6px!important;font-size:10.5px!important;
 }
 body .ppcn-header .ppcn-appointment-arrow{
  flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px!important;
 }
 body .ppcn-header .ppcn-topbar-inner{width:calc(100% - 92px)!important;max-width:1300px!important}
}


/* Dynamic Blogs dropdown: all published articles, keyboard/scroll friendly. */
@media(min-width:861px){
 body .ppcn-header .ppcn-list>li.ppcn-blog-menu>.sub-menu{
  width:330px!important;
  min-width:290px!important;
  max-width:min(350px,calc(100vw - 30px))!important;
  max-height:min(66vh,470px)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  scrollbar-width:thin;
  scrollbar-color:#c5d9e9 #f5f8fc;
  overscroll-behavior:contain;
 }
 body .ppcn-header .ppcn-list>li.ppcn-blog-menu>.sub-menu a{
  display:block;
  font-size:12px;
  line-height:1.5;
  white-space:normal!important;
  overflow-wrap:break-word;
 }
}
body .ppcn-header .ppcn-mobile-list>li.ppcn-blog-menu>.sub-menu{
 max-height:min(52vh,380px)!important;
 overflow-y:auto!important;
 overflow-x:hidden!important;
 scrollbar-width:thin;
 overscroll-behavior:contain;
}


/* Scoped mobile CTA readability repair — 2026-11-09 */
@media (max-width:860px) {
 body .ppcn-header a.ppcn-mobile-cta {
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:row!important;
   flex-wrap:nowrap!important;
   justify-content:space-between!important;
   align-items:center!important;
   width:100%!important;
   height:auto!important;
   min-height:64px!important;
   padding:10px 12px 10px 20px!important;
   gap:12px!important;
   line-height:1.2!important;
   text-align:left!important;
   overflow:hidden!important;
 }
 body .ppcn-header a.ppcn-mobile-cta .ppcn-mobile-cta-text.ppcn-button-text,
 body .ppcn-header a.ppcn-mobile-cta:hover .ppcn-mobile-cta-text.ppcn-button-text,
 body .ppcn-header a.ppcn-mobile-cta:focus-visible .ppcn-mobile-cta-text.ppcn-button-text {
   box-sizing:border-box!important;
   display:block!important;
   flex:1 1 auto!important;
   min-width:0!important;
   margin:0!important;
   padding:0!important;
   color:#fff!important;
   font-size:15px!important;
   font-weight:750!important;
   line-height:1.35!important;
   letter-spacing:0!important;
   white-space:nowrap!important;
   text-shadow:none!important;
   overflow:visible!important;
   transform:none!important;
   transition:none!important;
 }
 body .ppcn-header a.ppcn-mobile-cta .ppcn-mobile-cta-arrow.ppcn-button-icon {
   box-sizing:border-box!important;
   position:relative!important;
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
   flex:0 0 44px!important;
   width:44px!important;
   height:44px!important;
   min-width:44px!important;
   padding:0!important;
   border-radius:5px!important;
   background:#fff!important;
   color:#14244b!important;
 }
 body .ppcn-header a.ppcn-mobile-cta .ppcn-mobile-cta-arrow:before {
   content:none!important;
   display:none!important;
 }
 body .ppcn-header a.ppcn-mobile-cta .ppcn-mobile-cta-arrow .ppcn-arrow-current,
 body .ppcn-header a.ppcn-mobile-cta:hover .ppcn-mobile-cta-arrow .ppcn-arrow-current,
 body .ppcn-header a.ppcn-mobile-cta:focus-visible .ppcn-mobile-cta-arrow .ppcn-arrow-current {
   display:block!important;
   position:static!important;
   margin:0!important;
   transform:none!important;
   font-size:23px!important;
   line-height:1!important;
   color:#14244b!important;
 }
 body .ppcn-header a.ppcn-mobile-cta .ppcn-mobile-cta-arrow .ppcn-arrow-next {
   display:none!important;
 }
}
@media (max-width:360px) {
 body .ppcn-header a.ppcn-mobile-cta {padding-left:12px!important;gap:8px!important;}
 body .ppcn-header a.ppcn-mobile-cta .ppcn-mobile-cta-text.ppcn-button-text {font-size:13px!important;}
}
