/* Pacific Pain Clinic — independently authored Mednix-like footer, v1.4.0.
   Scoped class names intentionally override none of the site's editor styles. */
.ppcf-footer{
 --ppcf-navy:#071131;--ppcf-blue:#4a90e2;--ppcf-teal:#17a2b8;
 position:relative;isolation:isolate;overflow:hidden;
 margin:24px 16px 0;border-radius:24px 24px 0 0;
 background:#081232;
 background-image:radial-gradient(ellipse 38% 75% at 1% 0%,rgba(78,151,239,.85),transparent 72%),
 radial-gradient(ellipse 26% 70% at 101% 97%,rgba(227,139,58,.48),transparent 67%),
 linear-gradient(115deg,#0b173b,#070f2b 65%);
 color:#fff;
 padding:0;
}
.ppcf-footer *{box-sizing:border-box}
.ppcf-footer a{color:inherit;text-decoration:none}
.ppcf-footer a:hover{color:#8ce5f1}
.ppcf-footer button,.ppcf-footer input{font:inherit}
.ppcf-glow{position:absolute;pointer-events:none;border-radius:50%;z-index:-1;filter:blur(22px);opacity:.55}
.ppcf-glow-blue{width:370px;height:400px;top:-240px;left:-110px;background:#4b91e9}
.ppcf-glow-amber{width:300px;height:400px;bottom:-230px;right:-100px;background:#c57b41;filter:blur(70px)}
.ppcf-container{position:relative;z-index:2;width:min(1200px,calc(100% - 112px));margin:0 auto}
.ppcf-grid{display:grid;grid-template-columns:minmax(205px,1.19fr) minmax(106px,.66fr) minmax(132px,.72fr) minmax(248px,1.28fr);column-gap:clamp(18px,2.4vw,34px);row-gap:23px;align-items:start;padding:74px 0 35px}
.ppcf-clinic-card{grid-column:1;grid-row:1/span 2;align-self:start;background:#fff;color:#23324d;border-radius:10px;padding:19px 20px 14px;min-width:0;box-shadow:0 5px 16px rgba(0,0,0,.035)}
.ppcf-brand{display:flex;align-items:center;min-height:38px;max-width:100%;color:#122f3e}
.ppcf-brand img{display:block;width:auto;max-width:100%;height:auto;max-height:44px;object-fit:contain;object-position:left center}
.ppcf-clinic-card>p{color:#646e76;font-size:11px;line-height:1.6;margin:14px 0 16px}
.ppcf-office-times{border-top:1px solid #e8e9ea}
.ppcf-office-times>div{display:flex;gap:7px;justify-content:space-between;align-items:baseline;padding:9px 0;border-bottom:1px solid #e8e9ea;font-size:10px;line-height:1.35}
.ppcf-office-times>div:last-child{border-bottom:0;padding-bottom:0}
.ppcf-office-times span{color:#5c636b;white-space:nowrap}
.ppcf-office-times strong{font-size:10px;line-height:1.4;color:#3a414c;font-weight:600;text-align:right}
.ppcf-links{min-width:0}
.ppcf-links h2,.ppcf-newsletter h2{font:600 16px/1.4 'Mona Sans',sans-serif;color:#fff!important;letter-spacing:-.025em;margin:2px 0 21px}
.ppcf-list,.ppcf-list ul{list-style:none!important;margin:0!important;padding:0!important}
.ppcf-list li{margin:0 0 12px;padding:0}
.ppcf-list li a{font-size:12px;line-height:1.43;font-weight:600;color:#f4f7fc;display:inline-flex;max-width:100%;overflow-wrap:anywhere}
.ppcf-list li a:hover{color:#84e6ee;transform:translateX(2px)}
.ppcf-newsletter{min-width:0}
.ppcf-newsletter>p:not(.ppcf-form-message){font-size:11.5px;line-height:1.8;color:#e7ecf5;margin:0 0 22px;max-width:330px}
.ppcf-newsletter-form{position:relative;display:flex;align-items:center;min-height:42px;max-width:380px;margin:0}
.ppcf-newsletter-form input[type=email]{appearance:none;-webkit-appearance:none;width:100%;height:42px;min-width:0;border:1px solid #e7ecf2;border-radius:7px;background:#fff;padding:0 52px 0 14px;box-shadow:none;outline:none;font-size:12px;color:#0f1e4c;transition:box-shadow .2s,border-color .2s}
.ppcf-newsletter-form input[type=email]::placeholder{color:#7584a0;opacity:1}
.ppcf-newsletter-form input[type=email]:focus{border-color:#6dbfec;box-shadow:0 0 0 3px rgba(74,144,226,.18)}
.ppcf-newsletter-form button{border:0;background:var(--ppcf-blue);color:#fff;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;position:absolute;right:6px;top:6px;padding:0;transition:transform .2s,background .2s}
.ppcf-newsletter-form button:hover{transform:rotate(-14deg) scale(1.04);background:#16a2b8}
.ppcf-newsletter-form button:focus-visible{outline:3px solid #7ee7f8;outline-offset:3px}
.ppcf-consent{display:flex;align-items:start;gap:8px;max-width:380px;margin-top:12px;font-size:10px;line-height:1.5;color:#c5d1e0}
.ppcf-consent input{flex:none;width:14px;height:14px;margin:2px 0 0;accent-color:#4a90e2;cursor:pointer}
.ppcf-consent span{max-width:290px}
.ppcf-form-message{font-size:11px!important;color:#d8f7ff!important;border-left:2px solid #4a90e2;padding:8px 0 8px 10px;max-width:350px;margin:12px 0 0!important}
.ppcf-honeypot{position:absolute!important;top:-10000px!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;pointer-events:none!important}
.ppcf-contact-strip{grid-column:2/5;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(11px,1.5vw,20px);align-items:center;padding-top:8px}
.ppcf-contact-item{display:flex;align-items:center;min-width:0;gap:10px;color:#fff}
.ppcf-contact-icon{background:#4a90e2;display:grid;place-items:center;width:36px;height:36px;min-width:36px;border-radius:50%;color:white;box-shadow:0 5px 15px rgba(40,104,209,.15)}
.ppcf-contact-item>div{min-width:0}
.ppcf-contact-item>div>span{color:#e6e9f1;display:block;font-size:10px;line-height:1.45}
.ppcf-contact-item strong,.ppcf-contact-item a{display:block;font-size:11.5px;font-weight:700;line-height:1.55;color:#fff;overflow-wrap:anywhere}
.ppcf-big-marquee{margin:0;padding:12px 0 18px;white-space:nowrap;overflow:hidden;position:relative;z-index:2}
.ppcf-big-marquee-track{display:flex;align-items:center;gap:0;width:max-content;animation:ppcf-scroll 38s linear infinite;will-change:transform}
.ppcf-big-marquee-track span{font:400 clamp(56px,7vw,112px)/1.16 'Mona Sans',sans-serif;letter-spacing:-.048em;color:#fff;white-space:nowrap}
.ppcf-big-marquee-track i{display:inline-flex;align-items:center;justify-content:center;font:400 clamp(36px,4vw,72px)/1 'Mona Sans',sans-serif;color:#a9b8ce;margin:0 38px;font-style:normal}
@keyframes ppcf-scroll{to{transform:translateX(-50%)}}
.ppcf-copyright{max-width:min(520px,calc(100% - 42px));min-height:45px;margin:0 auto;background:#fff;color:#314870;display:flex;justify-content:center;align-items:center;gap:13px;border-radius:24px 24px 0 0;text-align:center;padding:11px 17px;font-size:10px;line-height:1.4;position:relative;z-index:3}
.ppcf-copyright a{color:#147ca1;font-weight:700;text-decoration:underline}
.ppcf-copyright span{white-space:normal}
.ppcf-contact-item a:hover,.ppcf-copyright a:hover{color:#79dce7}
/* Desktop and laptop refinements. */
@media(min-width:1201px){
 .ppcf-footer{margin-inline:16px}
 .ppcf-container{width:min(1200px,calc(100% - 125px))}
}
@media(min-width:960px) and (max-width:1330px){
 /* Keep six main navigation links visible on laptops, as in the reference. */
 .medx-header .medx-nav{display:block}
 .medx-header .medx-toggle{display:none}
 .medx-header .medx-phone{display:none}
 .medx-main-menu{gap:clamp(9px,1.1vw,16px)}
 .medx-main-menu>li:nth-child(4),.medx-main-menu>li:nth-child(6){display:none}
 .medx-main-menu>li>a{font-size:11.5px;padding:18px 0}
 .medx-nav-row{gap:12px}
 .medx-nav-actions{gap:0}
 .medx-nav-cta{font-size:11px;padding-right:14px}
 .medx-logo .custom-logo,.ppc-brand-original{max-width:175px}
}
@media(max-width:1200px){
 .ppcf-container{width:calc(100% - 92px)}
 .ppcf-grid{grid-template-columns:minmax(190px,1.1fr) minmax(95px,.6fr) minmax(120px,.7fr) minmax(205px,1.15fr);column-gap:21px;padding-top:66px}
 .ppcf-clinic-card{padding:19px 18px 16px}
 .ppcf-contact-item{gap:8px}
 .ppcf-contact-icon{width:33px;height:33px;min-width:33px}
 .ppcf-contact-item a,.ppcf-contact-item strong{font-size:10.5px}
 .ppcf-big-marquee-track span{font-size:clamp(64px,7.5vw,92px)}
}
@media(max-width:959px){
 .ppcf-footer{margin-inline:12px;border-radius:20px 20px 0 0}
 .ppcf-container{width:calc(100% - 68px)}
 .ppcf-grid{grid-template-columns:minmax(205px,1.05fr) minmax(140px,.68fr) minmax(190px,1fr);gap:28px 20px;padding:54px 0 32px}
 .ppcf-clinic-card{grid-column:1;grid-row:1/span 2}
 .ppcf-links:not(.ppcf-departments){grid-column:2;grid-row:1}
 .ppcf-departments{grid-column:3;grid-row:1}
 .ppcf-newsletter{grid-column:2/4;grid-row:2}
 .ppcf-contact-strip{grid-column:1/4;grid-row:3;margin-top:6px}
 .ppcf-newsletter-form{max-width:420px}
 .ppcf-contact-strip{gap:15px}
}
@media(max-width:690px){
 .ppcf-container{width:calc(100% - 42px)}
 .ppcf-footer{margin:18px 9px 0;border-radius:20px 20px 0 0}
 .ppcf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:31px 15px;padding:39px 0 20px}
 .ppcf-clinic-card{grid-column:1/-1;grid-row:1;max-width:none;padding:22px 23px 19px}
 .ppcf-brand img{max-width:235px;max-height:35px}
 .ppcf-clinic-card>p{font-size:12px;line-height:1.75;max-width:440px}
 .ppcf-office-times>div{font-size:11px;padding:11px 0}
 .ppcf-office-times strong{font-size:11px}
 .ppcf-links:not(.ppcf-departments){grid-column:1;grid-row:2}
 .ppcf-departments{grid-column:2;grid-row:2}
 .ppcf-links h2,.ppcf-newsletter h2{font-size:16px;margin:0 0 15px}
 .ppcf-list li{margin-bottom:12px}
 .ppcf-list li a{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
 .ppcf-newsletter{grid-column:1/-1;grid-row:3}
 .ppcf-newsletter>p:not(.ppcf-form-message){font-size:12px;max-width:460px;margin-bottom:17px}
 .ppcf-newsletter-form{max-width:none}
 .ppcf-newsletter-form input[type=email]{height:46px}
 .ppcf-newsletter-form button{top:7px;right:7px;height:32px;width:32px}
 .ppcf-consent{max-width:500px}
 .ppcf-contact-strip{grid-column:1/-1;grid-row:4;display:grid;grid-template-columns:1fr;gap:0;padding-top:4px;margin-top:0}
 .ppcf-contact-item{padding:13px 0;border-top:1px solid rgba(255,255,255,.14);gap:13px}
 .ppcf-contact-icon{width:38px;height:38px;min-width:38px}
 .ppcf-contact-item>div>span{font-size:11px}
 .ppcf-contact-item strong,.ppcf-contact-item a{font-size:13px;line-height:1.6}
 .ppcf-big-marquee{padding:20px 0 20px}
 .ppcf-big-marquee-track span{font-size:clamp(48px,13vw,76px)}
 .ppcf-big-marquee-track i{font-size:32px;margin-inline:20px}
 .ppcf-copyright{width:calc(100% - 24px);max-width:none;border-radius:18px 18px 0 0;min-height:47px;padding:12px 14px;font-size:10px;flex-wrap:wrap;gap:4px 10px}
 .medx-mobile-actions{transition:transform .26s ease,opacity .26s ease,visibility .26s ease}
 .medx-mobile-actions.ppcf-dock-hidden{transform:translateY(calc(120% + 30px));opacity:0;visibility:hidden;pointer-events:none}
 .medx-back-to-top.ppcf-footer-visible{opacity:0;visibility:hidden;pointer-events:none}
}
@media(max-width:380px){
 .ppcf-container{width:calc(100% - 32px)}
 .ppcf-clinic-card{padding:19px}
 .ppcf-links h2{font-size:15px}
 .ppcf-list li a{font-size:11.5px}
 .ppcf-grid{column-gap:12px}
 .ppcf-big-marquee-track span{font-size:46px}
}
@media(prefers-reduced-motion:reduce){
 .ppcf-big-marquee-track{animation:none!important;transform:none!important}
 .ppcf-footer *, .ppcf-footer *:before, .ppcf-footer *:after{scroll-behavior:auto!important;transition-duration:0.001ms!important}
 .medx-mobile-actions{transition:none!important}
}

/* Mobile newsletter touch target */
@media(max-width:690px){.ppcf-newsletter-form input[type=email]{height:50px;padding-right:56px}.ppcf-newsletter-form button{width:40px;height:40px;top:5px;right:5px}.ppcf-consent input{width:16px;height:16px;min-width:16px}}
