/* v3.1.35: compact, responsive ratings panel. Public markup never reveals rating origin. */
.mpm-community-rating,.mpm-community-related{margin:32px 0 10px;padding:clamp(18px,2.5vw,26px);background:#fff;border:1px solid #e1e8f2;border-radius:18px;box-shadow:0 12px 35px rgba(18,40,75,.045)}
.mpm-community-rating{--mpm-rating-blue:#155eef;--mpm-rating-navy:#14263d;--mpm-rating-amber:#f2a91b;max-width:100%;}
.mpm-rating-head,.mpm-community-related-title{display:flex;align-items:center;justify-content:space-between;gap:16px}
.mpm-community-rating h2,.mpm-community-related h2{font-size:clamp(21px,2.5vw,26px);line-height:1.2;letter-spacing:-.035em;margin:0!important;color:var(--mpm-rating-navy,#14263d)}
.mpm-community-rating h3{font-size:16px;line-height:1.35;letter-spacing:-.01em;color:#14263d;font-weight:750;margin:0 0 8px!important}
.mpm-community-rating p,.mpm-community-related p{font-size:13px;color:#65738a;margin:0;line-height:1.6}
.mpm-rating-count{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;background:#f2f6fd;color:#38557c;font-size:12px;font-weight:700;border:1px solid #e1e8f2;border-radius:999px;padding:7px 12px}
.mpm-rating-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(15px,2.6vw,32px);margin-top:19px;align-items:stretch}
.mpm-rating-overview{display:flex;align-items:stretch;gap:16px;min-width:0}
.mpm-rating-score-card{border:1px solid #e3ebfa;background:#f5f8ff;border-radius:14px;display:flex;flex:1;min-width:0;min-height:166px;padding:20px 14px;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.mpm-rating-number{font-size:clamp(39px,4.8vw,52px);font-weight:820;line-height:1.05;letter-spacing:-.045em;color:#1852b1;font-variant-numeric:tabular-nums}
.mpm-rating-number span{font-size:16px;color:#6b7a92;font-weight:700;letter-spacing:0;margin-left:3px}
.mpm-rating-display-stars{position:relative;display:inline-block;white-space:nowrap;font-size:clamp(24px,2.7vw,29px);letter-spacing:2px;line-height:1.05;margin:9px auto 5px;max-width:100%}
.mpm-rating-stars-base{color:#cfdaeb}
.mpm-rating-stars-fill{position:absolute;inset:0 auto 0 0;overflow:hidden;white-space:nowrap;color:var(--mpm-rating-amber)}
.mpm-rating-score-caption{font-size:12px!important;color:#5c6c83!important;text-align:center}
.mpm-rating-breakdown{flex:1;min-width:155px;padding:6px 0;align-self:center}
.mpm-rating-breakdown h3{font-size:13px!important;margin:0 0 10px!important}
.mpm-rating-breakdown-row{display:grid;grid-template-columns:34px minmax(45px,1fr) 22px;align-items:center;gap:8px;margin:7px 0;color:#5b6a81;font-size:12px}
.mpm-rating-breakdown-label{white-space:nowrap;font-weight:700}
.mpm-rating-breakdown-label span{color:#e6a225}
.mpm-rating-bar{height:8px;border-radius:999px;background:#edf2fa;overflow:hidden}
.mpm-rating-bar-fill{display:block;height:100%;background:#f3b337;border-radius:999px}
.mpm-rating-breakdown-value{text-align:right;font-variant-numeric:tabular-nums}
.mpm-rating-panel{display:flex;flex-direction:column;justify-content:center;border-left:1px solid #e6edf5;padding:5px 2px 5px clamp(18px,2.6vw,32px);min-width:0}
.mpm-rating-form-hint{font-size:12px!important;margin-bottom:8px!important}
.mpm-community-rating-form{display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:0;margin:0;width:100%}
.mpm-community-rating-form fieldset{padding:0!important;border:0!important;min-width:0;margin:0!important}
.mpm-community-rating-form legend.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.mpm-rating-choice{display:flex;align-items:center;justify-content:flex-start;gap:3px;max-width:100%}
.mpm-rating-choice label{cursor:pointer;position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin:0!important;border-radius:8px;line-height:1;user-select:none;-webkit-tap-highlight-color:transparent}
.mpm-rating-choice input{position:absolute;opacity:0;width:1px;height:1px;left:50%;top:50%;pointer-events:none}
.mpm-rating-choice label span[aria-hidden]{font-size:35px;line-height:1;color:#cbd7e9;transition:color .12s,transform .12s}
.mpm-rating-choice label.is-lit span[aria-hidden],.mpm-rating-choice label:has(input:checked) span[aria-hidden]{color:var(--mpm-rating-amber)}
.mpm-rating-choice label:hover span[aria-hidden]{transform:scale(1.08)}
.mpm-rating-choice label:has(input:focus-visible){outline:2px solid var(--mpm-rating-blue);outline-offset:1px}
.mpm-rating-selection{min-height:18px;font-size:12px!important;color:#526783!important}
.mpm-rating-submit{background:var(--mpm-rating-blue)!important;color:#fff!important;border:0!important;border-radius:10px!important;min-height:44px;padding:12px 23px!important;font-size:13px!important;font-weight:750!important;cursor:pointer;line-height:1.2;box-shadow:0 4px 12px rgba(21,94,239,.12)}
.mpm-rating-submit:hover:not(:disabled){background:#124cc1!important}
.mpm-rating-submit:focus-visible{outline:3px solid #8cb5ff;outline-offset:2px}
.mpm-rating-submit:disabled{opacity:.58;cursor:not-allowed;box-shadow:none}
.mpm-rating-honeypot{position:absolute!important;left:-10000px!important;opacity:0!important;height:1px!important;width:1px!important}
.mpm-rating-response{min-height:0;font-size:12px!important;color:#256044!important}
.mpm-rating-response:not(:empty){padding-top:2px}
.mpm-rating-response.is-error{color:#a12a31!important}
@media(max-width:920px){.mpm-rating-layout{gap:16px}.mpm-rating-overview{flex-direction:column}.mpm-rating-breakdown{width:100%;align-self:stretch}.mpm-rating-panel{padding-left:20px}}
@media(max-width:720px){.mpm-rating-layout{grid-template-columns:1fr;gap:19px}.mpm-rating-overview{flex-direction:row}.mpm-rating-panel{border-left:0;border-top:1px solid #e6edf5;padding:19px 0 0}.mpm-rating-score-card{min-height:152px}.mpm-community-rating{margin:24px 0 10px}}
@media(max-width:480px){.mpm-rating-head{align-items:flex-start;gap:10px;flex-wrap:wrap}.mpm-rating-count{font-size:11px;padding:6px 10px}.mpm-rating-number{font-size:43px}.mpm-rating-overview{flex-direction:column}.mpm-rating-choice{justify-content:space-between;width:min(100%,290px)}.mpm-rating-choice label{width:46px;height:46px}.mpm-rating-submit{width:100%}}
@media(prefers-reduced-motion:reduce){.mpm-rating-choice label span[aria-hidden]{transition:none}}
.mpm-community-related-title{margin:0 0 20px}.mpm-community-related-title a{font-size:12px;font-weight:800;color:#155eef;text-decoration:none;white-space:nowrap}
.mpm-related-grid{margin-top:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.mpm-related-grid .mpm-card{min-width:0}
@media(max-width:1050px){.mpm-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){.mpm-community-related-title{flex-wrap:wrap;gap:6px}.mpm-related-grid{gap:10px}}
@media(max-width:390px){.mpm-related-grid{grid-template-columns:1fr}}

/* v3.1.5: Mobile posts do not display categories or theme-generated post-to-post links.
   The plugin's accessible, styled Related Phones card grid remains visible. */
body.mpm-mobile-single .site-main .cat-links,
body.mpm-mobile-single .site-main .footer-meta .cat-links,
body.mpm-mobile-single .site-main .entry-meta .cat-links,
body.mpm-mobile-single .site-main .mpm-post-categories,
body.mpm-mobile-single .site-main nav.post-navigation,
body.mpm-mobile-single .site-main .navigation.post-navigation,
body.mpm-mobile-single .site-main .wp-block-post-navigation-link,
body.mpm-mobile-single .site-main .post-nav-links {display:none!important}
html body .site-main .entry-content > .mpm-community-related {
  margin:clamp(26px,4vw,42px) 0 34px;
  background:var(--wmz-surface,#fff);
  border-color:var(--wmz-border,#dfe6f0);
  border-radius:18px;
}
html body .mpm-community-related h2 {
  color:var(--wmz-heading,#142440)!important;
  font-family:var(--wmz-font,Inter,Arial,sans-serif)!important;
}
html body .mpm-community-related-title > a {color:var(--wmz-primary,#155eef)!important}
html body .mpm-community-related-title > a:hover {color:var(--wmz-primary-hover,#1048b8)!important;text-decoration:underline}



/* v3.2.1 — image / linked model / bare price in Related Phones only. */
html body .mpm-community-related .mpm-related-grid {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(10px,1.5vw,16px);
}
html body .mpm-community-related .mpm-related-phone {
  box-sizing:border-box;display:flex;flex-direction:column;align-items:center;
  min-width:0;margin:0;padding:13px 11px 16px;
  border:1px solid var(--wmz-border,#e0e7f1);border-radius:13px;
  background:#fff;text-align:center;
}
html body .mpm-community-related .mpm-related-phone-image {
  width:100%;display:flex;align-items:center;justify-content:center;
  aspect-ratio:1 / 1;max-height:210px;min-height:0;
  padding:6px;background:#fff;text-decoration:none;
}
html body .mpm-community-related .mpm-related-phone-image img {
  display:block;max-width:100%;width:100%;height:100%;max-height:195px;
  margin:auto;object-fit:contain;object-position:center;
}
html body .mpm-community-related .mpm-related-phone-image .mpm-image-fallback {
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  width:100%;height:100%;min-height:90px;
}
html body .mpm-community-related .mpm-related-phone-title {
  font-size:clamp(12px,1.3vw,15px)!important;font-weight:750;
  line-height:1.4;margin:10px 0 5px!important;letter-spacing:0;
  overflow-wrap:anywhere;color:var(--wmz-heading,#182943);
}
html body .mpm-community-related .mpm-related-phone-title a {
  color:inherit;text-decoration:none;
}
html body .mpm-community-related .mpm-related-phone-title a:hover,
html body .mpm-community-related .mpm-related-phone-title a:focus-visible {
  color:var(--wmz-primary,#155eef);text-decoration:underline;
}
html body .mpm-community-related .mpm-related-phone-price {
  margin-top:auto;padding-top:4px;font-size:14px;font-weight:800;
  line-height:1.4;color:var(--wmz-primary,#155eef);font-variant-numeric:tabular-nums;
}
@media(max-width:1050px){html body .mpm-community-related .mpm-related-grid {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:720px){html body .mpm-community-related .mpm-related-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:420px){
  html body .mpm-community-related .mpm-related-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  html body .mpm-community-related .mpm-related-phone {padding:9px 7px 12px}
  html body .mpm-community-related .mpm-related-phone-price {font-size:12px}
}
@media(max-width:320px){html body .mpm-community-related .mpm-related-grid {grid-template-columns:1fr;}}
