/* Pacific Pain Clinic — reviews & latest insights, original implementation matching visual reference.
 * Dynamic data from WordPress Posts, Comments, Patient Testimonials; no demo data.
 * Scoped under ppci- to avoid breaking theme/footer styles.
 */
.ppci-testimonials,
.ppci-insights{overflow:hidden;position:relative}
.ppci-testimonials{background:#edf6f2!important;padding:92px 0 85px!important;isolation:isolate}
.ppci-testimonials:before{content:"";position:absolute;top:-175px;left:-260px;width:540px;height:620px;background:radial-gradient(ellipse,rgba(255,255,255,.72),transparent 68%);z-index:-1;pointer-events:none}
.ppci-testimonials:after{content:"";position:absolute;bottom:-280px;right:-190px;width:560px;height:600px;background:radial-gradient(ellipse,rgba(212,230,227,.42),transparent 65%);z-index:-1;pointer-events:none}
.ppci-section-heading{text-align:center;max-width:930px;margin:0 auto 47px}
.ppci-eyebrow{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 11px;background:#ecf3f1;color:#192752;border-radius:999px;font-size:10px;line-height:1.3;font-family:'Mona Sans',sans-serif;font-weight:600;text-transform:none;letter-spacing:0}
.ppci-eyebrow-dot{height:6px;width:6px;border-radius:50%;background:#83abcb;display:inline-block;flex:none}
.ppci-section-heading h2{font-family:'Mona Sans',sans-serif;font-weight:400!important;letter-spacing:-.054em!important;color:#0f1e4c!important;font-size:clamp(38px,4.4vw,58px)!important;line-height:1.17!important;margin:19px auto 11px!important}
.ppci-section-heading h2 em{font-family:'Georgia', 'Times New Roman',serif;font-size:1.04em;font-style:italic;font-weight:400!important;letter-spacing:-.062em;color:#4a90e2}
.ppci-section-heading>p{font-size:14px;line-height:1.8;max-width:600px;margin:12px auto 0;color:#64727b}
.ppci-review-heading{margin-bottom:36px}
.ppci-review-heading h2{font-size:clamp(37px,4.1vw,53px)!important}
.ppci-reviews-wrap{position:relative}
.ppci-reviews-wrap:before,.ppci-reviews-wrap:after{content:"";position:absolute;top:0;bottom:0;width:46px;pointer-events:none;z-index:2}
.ppci-reviews-wrap:before{left:-16px;background:linear-gradient(90deg,#edf6f2,transparent)}
.ppci-reviews-wrap:after{right:-16px;background:linear-gradient(270deg,#edf6f2,transparent)}
.ppci-review-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.ppci-review-card{display:flex;min-width:0;min-height:222px;flex-direction:column;padding:24px 24px 19px;border:1px solid #e8eef1;border-radius:11px;background:#fff;color:#27324b;box-shadow:0 3px 7px rgba(36,65,93,.035);transition:transform .35s cubic-bezier(.2,.75,.2,1),box-shadow .35s,border-color .35s}
.ppci-review-card:hover{transform:translateY(-6px);border-color:#bedbe9;box-shadow:0 16px 38px rgba(33,66,93,.09)}
.ppci-review-person{display:flex;align-items:center;gap:13px;margin-bottom:17px;min-width:0}
.ppci-review-avatar{display:grid;place-items:center;flex:none;width:51px;height:51px;border-radius:50%;background:linear-gradient(140deg,#e1edf1,#d6e7ed);overflow:hidden;border:2px solid #f4f7f9;color:#247b98;font-size:18px;font-weight:750;letter-spacing:-.03em}
.ppci-review-avatar .ppci-review-photo{width:100%;height:100%;object-fit:cover;display:block}
.ppci-review-identity{min-width:0}
.ppci-review-identity h3{font-family:'Mona Sans',sans-serif;font-size:17px!important;line-height:1.28!important;font-weight:550!important;letter-spacing:-.025em!important;color:#152456!important;margin:0 0 3px!important}
.ppci-review-identity>span{display:block;font-size:11px;color:#7c8591;line-height:1.4}
.ppci-review-card blockquote{font-size:13px;line-height:1.8;margin:0 0 20px;font-weight:400;color:#6a737c;flex:1;max-width:100%;overflow-wrap:break-word}
.ppci-review-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.ppci-review-rating{font-family:Arial,sans-serif;font-size:18px;letter-spacing:1.5px;line-height:1.4;color:#f7ad16}
.ppci-review-source-label{font-size:10px;color:#8998a3;line-height:1.5}
.ppci-review-foot a{font-size:10.5px;font-weight:750;color:#4a90e2!important;text-decoration:none;white-space:nowrap}
.ppci-review-foot a:hover{text-decoration:underline}
.ppci-review-invite{background:#e4f2f3;border-color:#d5e8ea;justify-content:flex-start}
.ppci-invite-icon{font-size:30px;color:#4a90e2;line-height:1;margin-bottom:15px}
.ppci-review-invite h3,.ppci-review-info h3{color:#0f1e4c;font-size:21px;line-height:1.3;margin:0 0 10px}
.ppci-review-invite p,.ppci-review-info p{color:#627683;font-size:13px;line-height:1.75;margin:0 0 20px}
.ppci-review-invite a{margin-top:auto;color:#137d9e!important;font-size:13px;font-weight:800}
.ppci-review-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 0;min-height:34px}
.ppci-review-actions>span{color:#73858b;font-size:11px;line-height:1.6}
.ppci-review-buttons{display:none;gap:9px;flex:none}
.ppci-review-buttons button{width:40px;height:40px;border:1px solid #cbdee3;border-radius:50%;background:#fff;color:#0f1e4c;font-size:21px;cursor:pointer;transition:background .25s,border-color .25s,color .25s}
.ppci-review-buttons button:not(:disabled):hover{background:#4a90e2;border-color:#4a90e2;color:#fff}
.ppci-review-buttons button:disabled{opacity:.38;cursor:default}
.ppci-comments-disclosure{background:rgba(255,255,255,.8);border:1px solid #dce9e8;border-radius:13px;margin:23px 0 0;overflow:hidden}
.ppci-comments-disclosure>summary{list-style:none;display:flex;align-items:center;gap:15px;padding:15px 23px;min-height:57px;cursor:pointer;color:#0f1e4c;font-size:13px;font-weight:700}
.ppci-comments-disclosure>summary::-webkit-details-marker{display:none}
.ppci-comments-disclosure>summary span:first-child{margin-right:auto}
.ppci-comments-count{color:#61808f;font-size:11px;white-space:nowrap}
.ppci-comments-disclosure>summary span:last-child{font-size:21px;font-weight:400;color:#4a90e2}
.ppci-comments-disclosure[open]>summary{border-bottom:1px solid #e4ecee}
.ppci-comments-disclosure[open]>summary span:last-child{transform:rotate(45deg)}
.ppci-comments-body{padding:18px 23px 23px;display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
.ppci-comments-body article{border-radius:11px;background:white;padding:17px}
.ppci-comments-body article>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ppci-comments-body strong{color:#1c2850;font-size:13px}
.ppci-comments-body small{color:#87959b;font-size:11px}
.ppci-comments-body p{color:#5d707a;font-size:13px;line-height:1.7}
.ppci-comments-body a{color:#147ca1;font-size:12px;font-weight:700}
.ppci-insights{background:#fff!important;padding:103px 0 90px!important}
.ppci-insights-heading{margin-bottom:38px}
.ppci-insights-heading .ppci-eyebrow{background:#edf2f3}
.ppci-insights-heading h2{font-size:clamp(41px,4.3vw,55px)!important;line-height:1.16!important;margin:16px auto 0!important}
.ppci-insights-heading h2 em{font-size:1.075em}
.ppci-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.ppci-article-card{min-width:0;margin:0;padding:0;background:transparent;border:0}
.ppci-article-image{display:block;aspect-ratio:1.18/1;overflow:hidden;border-radius:13px;position:relative;background:#edf0f2;box-shadow:none}
.ppci-article-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .65s cubic-bezier(.2,.75,.2,1),filter .5s}
.ppci-article-card:hover .ppci-article-image img{transform:scale(1.055)}
.ppci-image-arrow{display:grid;place-items:center;position:absolute;bottom:14px;right:14px;width:41px;height:41px;background:#4a90e2;color:#fff;border-radius:50%;font-size:21px;opacity:0;transform:translateY(8px);transition:opacity .3s,transform .3s}
.ppci-article-card:hover .ppci-image-arrow,.ppci-article-image:focus-visible .ppci-image-arrow{opacity:1;transform:none}
.ppci-article-meta{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap;margin-top:20px;margin-bottom:12px;font-size:10px;color:#233359;text-transform:uppercase;line-height:1.45}
.ppci-article-category{background:#edf3f1;border-radius:16px;padding:5px 11px;font-size:10px;line-height:1.2;white-space:normal}
.ppci-meta-line{width:15px;height:1px;background:#7a8da6;flex:none}
.ppci-article-meta time{font-size:10px;letter-spacing:-.015em;font-weight:500;white-space:nowrap}
.ppci-article-card h3{font-family:'Mona Sans',sans-serif;color:#17264e!important;font-size:clamp(19px,1.65vw,23px)!important;font-weight:400!important;letter-spacing:-.037em!important;line-height:1.42!important;margin:0!important;padding:0!important}
.ppci-article-card h3 a{color:inherit;transition:color .2s}
.ppci-article-card h3 a:hover{color:#4a90e2}
.ppci-articles-bottom{display:flex;justify-content:center;margin-top:38px}
.ppci-articles-bottom a{display:inline-flex;align-items:center;gap:14px;color:#0f1e4c;font-size:13px;font-weight:700;border-bottom:1px solid #4a90e2;padding:7px 0}
.ppci-articles-bottom a:hover{color:#4a90e2}
.ppci-articles-empty{grid-column:1/-1;padding:40px;background:#f1f7f3;border-radius:14px}
@media (max-width:1000px){
 .ppci-review-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
 .ppci-article-grid{gap:17px}
 .ppci-insights,.ppci-testimonials{padding-block:76px!important}
 .ppci-article-image{aspect-ratio:1.08/1}
}
@media(max-width:690px){
 .ppci-section-heading{margin-bottom:28px}
 .ppci-section-heading h2,.ppci-insights-heading h2{font-size:clamp(32px,8.2vw,43px)!important;line-height:1.19!important}
 .ppci-section-heading h2 em{display:inline}
 .ppci-section-heading>p{font-size:12px;padding-inline:5px}
 .ppci-testimonials{padding:64px 0 58px!important}
 .ppci-reviews-wrap{margin:0 -18px;overflow:hidden}
 .ppci-reviews-wrap:before{left:0;width:20px}
 .ppci-reviews-wrap:after{right:0;width:32px}
 .ppci-review-cards{display:flex;gap:13px;padding:6px 18px 23px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scroll-snap-type:x mandatory;scroll-padding-left:18px;scrollbar-width:none}
 .ppci-review-cards::-webkit-scrollbar{display:none}
 .ppci-review-card{scroll-snap-align:start;flex:0 0 min(82vw,340px);min-height:266px;padding:21px 19px;border-radius:13px}
 .ppci-review-person{margin-bottom:17px}
 .ppci-review-card blockquote{font-size:13px;line-height:1.8}
 .ppci-review-foot{gap:7px}
 .ppci-review-actions{margin-top:4px;align-items:flex-start}
 .ppci-review-actions>span{max-width:65%;font-size:10px}
 .ppci-review-buttons{display:flex}
 .ppci-comments-disclosure{margin-top:22px}
 .ppci-comments-disclosure>summary{padding:14px;font-size:12px;gap:8px}
 .ppci-comments-count{font-size:10px}
 .ppci-comments-body{grid-template-columns:1fr;padding:13px}
 .ppci-insights{padding:70px 0 76px!important}
 .ppci-insights-heading{margin-bottom:31px}
 .ppci-article-grid{grid-template-columns:1fr;gap:28px}
 .ppci-article-image{aspect-ratio:1.34/1;border-radius:13px}
 .ppci-article-meta{margin-top:15px;margin-bottom:8px;font-size:10px}
 .ppci-article-card h3{font-size:21px!important}
 .ppci-articles-bottom{margin-top:30px}
 .ppci-image-arrow{opacity:1;transform:none;width:34px;height:34px;font-size:18px}
}
@media(max-width:360px){
 .ppci-article-meta{gap:7px}
 .ppci-article-meta time,.ppci-article-category{font-size:9px}
 .ppci-section-heading h2{font-size:31px!important}
 .ppci-review-card{flex-basis:87vw}
}
@media(prefers-reduced-motion:reduce){
 .ppci-review-card,.ppci-article-image img,.ppci-image-arrow,.ppci-review-cards{transition:none!important;scroll-behavior:auto!important}
 .ppci-review-card:hover,.ppci-article-card:hover img{transform:none!important}
}
