/*
 * A4P Trust Block
 * Ported unchanged from a4pets-trust-block-PASTE.html (23 Oct 2026), with the
 * compact variant added at the end.
 *
 * Colours come from the site's own Astra palette variables, with literal
 * fallbacks, so the block follows the brand if the palette is ever changed.
 *   --ast-global-color-0  #e957a4  brand pink
 *   --ast-global-color-1  #34a7ce  brand blue
 *   --ast-global-color-7  #242a56  navy
 */

.a4p-trust{--a4p-pink:var(--ast-global-color-0,#e957a4);--a4p-blue:var(--ast-global-color-1,#34a7ce);--a4p-navy:var(--ast-global-color-7,#242a56);--a4p-line:#e7e9ee;--a4p-mut:#5c6370;font-family:inherit;color:#1d2230;margin:0;padding:0}
.a4p-trust *{box-sizing:border-box}
.a4p-trust__head{text-align:center;max-width:640px;margin:0 auto 26px}
.a4p-trust__eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--a4p-pink);background:#fdeef6;border-radius:999px;padding:6px 14px;margin:0 0 12px}
.a4p-trust__eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--a4p-pink)}
.a4p-trust__title{font-size:clamp(23px,2.6vw,31px);line-height:1.22;font-weight:700;letter-spacing:-.4px;margin:0 0 9px;color:var(--a4p-navy)}
.a4p-trust__intro{font-size:15.5px;line-height:1.6;color:var(--a4p-mut);margin:0}
.a4p-trust__regs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 16px}
.a4p-trust__reg{display:flex;align-items:flex-start;gap:13px;background:#fff;border:1px solid var(--a4p-line);border-radius:13px;padding:17px 18px;text-decoration:none;color:inherit;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.a4p-trust__reg:hover,.a4p-trust__reg:focus-visible{border-color:var(--a4p-blue);box-shadow:0 5px 18px rgba(36,42,86,.09);transform:translateY(-1px)}
.a4p-trust__badge{flex:0 0 auto;display:grid;place-items:center;width:52px;height:38px;border-radius:9px;background:var(--a4p-navy);color:#fff;font-size:12.5px;font-weight:800;letter-spacing:.03em}
.a4p-trust__regbody{min-width:0}
.a4p-trust__regname{display:block;font-size:14.6px;font-weight:700;line-height:1.35;margin:0 0 3px;color:var(--a4p-navy)}
.a4p-trust__regnum{display:block;font-size:13.4px;line-height:1.45;color:var(--a4p-mut)}
.a4p-trust__verify{display:inline-block;margin-top:5px;font-size:12.6px;font-weight:600;color:var(--a4p-blue)}
.a4p-trust__verify::after{content:" \2197"}
.a4p-trust__split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.a4p-trust__panel{background:#fff;border:1px solid var(--a4p-line);border-radius:13px;padding:19px 20px}
.a4p-trust__panel--reviews{background:linear-gradient(180deg,#fbfdff 0%,#fff 62%)}
.a4p-trust__plabel{font-size:11.6px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--a4p-mut);margin:0 0 11px}
.a4p-trust__score{display:flex;align-items:center;gap:13px;margin:0 0 10px}
.a4p-trust__num{font-size:35px;font-weight:800;line-height:1;letter-spacing:-1px;color:var(--a4p-navy)}
.a4p-trust__outof{font-size:13px;color:var(--a4p-mut);margin-top:5px}
.a4p-trust__stars{display:flex;gap:3px}
.a4p-trust__stars svg{width:19px;height:19px;display:block}
.a4p-trust__note{font-size:14.4px;line-height:1.55;color:#39404f;margin:0 0 12px}
.a4p-trust__link{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:var(--a4p-pink);text-decoration:none;border-bottom:2px solid transparent;transition:border-color .16s ease}
.a4p-trust__link:hover,.a4p-trust__link:focus-visible{border-bottom-color:var(--a4p-pink)}
.a4p-trust__link::after{content:"\2197";font-weight:600}
.a4p-trust__vet{display:flex;gap:15px;align-items:flex-start}
.a4p-trust__photo{flex:0 0 auto;width:74px;height:74px;border-radius:50%;object-fit:cover;object-position:center top;border:3px solid #fff;box-shadow:0 0 0 2px var(--a4p-line)}
.a4p-trust__vetbody{min-width:0}
.a4p-trust__vetname{font-size:16.5px;font-weight:700;line-height:1.3;margin:0 0 2px;color:var(--a4p-navy)}
.a4p-trust__vetrole{font-size:13.4px;color:var(--a4p-pink);font-weight:600;margin:0 0 7px}
.a4p-trust__letters{font-size:12.6px;line-height:1.5;color:var(--a4p-mut);margin:0 0 6px;word-break:break-word}
.a4p-trust__reg7{font-size:13px;color:#39404f;margin:0 0 9px}
.a4p-trust__foot{margin:18px 0 0;font-size:12.8px;line-height:1.55;color:var(--a4p-mut);text-align:center}

@media (max-width:900px){
  .a4p-trust__regs{grid-template-columns:1fr}
  .a4p-trust__split{grid-template-columns:1fr}
}
@media (max-width:480px){
  .a4p-trust__reg{padding:15px 15px}
  .a4p-trust__panel{padding:17px 16px}
  .a4p-trust__num{font-size:31px}
  .a4p-trust__vet{gap:13px}
  .a4p-trust__photo{width:62px;height:62px}
}

/* ------------------------------------------------------------ compact ---- */
/* One strip. For pages where the full block is too tall to earn its space. */

.a4p-trust--compact{border-top:1px solid var(--a4p-line);border-bottom:1px solid var(--a4p-line);padding:13px 0}
.a4p-trust__strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 26px;list-style:none;margin:0;padding:0}
.a4p-trust__stripitem{margin:0}
.a4p-trust__stripitem a{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:inherit}
.a4p-trust__stripitem a:hover .a4p-trust__striptext,
.a4p-trust__stripitem a:focus-visible .a4p-trust__striptext{color:var(--a4p-blue)}
.a4p-trust--compact .a4p-trust__badge{width:44px;height:30px;font-size:11px;border-radius:7px}
.a4p-trust__striptext{font-size:13.4px;font-weight:600;line-height:1.3;color:var(--a4p-navy);transition:color .16s ease}
.a4p-trust--compact .a4p-trust__stars svg{width:15px;height:15px}

@media (max-width:600px){
  .a4p-trust__strip{gap:9px 16px}
  .a4p-trust__striptext{font-size:12.4px}
  .a4p-trust--compact .a4p-trust__badge{width:38px;height:26px;font-size:10px}
}

/* ---------------------------------------------- client Trustpilot badges ---
   The client's own design, supplied as trustbadgeoptions.html on Trello card
   14 (5 Oct 2026). Colours, sizes and spacing are copied from that file
   unchanged. Only the class prefix differs: their file used .a4p-trust, which
   is already the root class of the credentials block above, so these are
   namespaced a4p-tp- to keep the two apart.
   Trustpilot green #00B67A, brand pink #DD2772, text #353030 — all theirs. */

.a4p-tp-stars{display:inline-flex;gap:2px}
.a4p-tp-stars span{width:20px;height:20px;background:#00B67A;display:inline-flex;
  align-items:center;justify-content:center;color:#fff;font-size:13px;border-radius:2px;line-height:1}

/* Option 1 — inline strip.
   The <a> itself is exactly as drawn. The row around it is placement only:
   their file says "under the header USP row", which is a full-width slot, and
   an inline-flex link left-aligns in it. */
.a4p-tp-striprow{display:flex;justify-content:center;width:100%}
.a4p-tp-strip{display:inline-flex;align-items:center;gap:10px;font-family:inherit;
  text-decoration:none;color:#353030}
.a4p-tp-text{font-size:14px;line-height:1.35}
.a4p-tp-text b{color:#353030;font-weight:700}
.a4p-tp-brand{color:#00B67A;font-weight:700}

/* Option 2 — card */
.a4p-tp-card{display:block;max-width:340px;text-decoration:none;font-family:inherit;
  background:#fff;border:1px solid #f0d3e2;border-radius:12px;padding:16px 18px;
  color:#353030;box-shadow:0 2px 8px rgba(221,39,114,.06)}
.a4p-tp-card__top{display:block;font-size:12px;letter-spacing:.04em;text-transform:uppercase;
  color:#DD2772;font-weight:700;margin-bottom:6px}
.a4p-tp-card__mid{display:flex;align-items:center;gap:8px}
.a4p-tp-card .a4p-tp-stars span{width:18px;height:18px;font-size:12px}
.a4p-tp-card__score{font-weight:700;font-size:15px}
.a4p-tp-card__sub{display:block;font-size:12.5px;color:#82838e;margin-top:6px}

/* Option 2 on one line — same box, same border, same pink, rows laid along a
   single line. Added 22 Nov for the product column, which is 608px wide. */
.a4p-tp-card--row{display:flex;align-items:center;gap:10px;max-width:none;padding:11px 14px}
.a4p-tp-card--row .a4p-tp-stars{flex:0 0 auto}
.a4p-tp-card--row .a4p-tp-card__score{flex:0 0 auto;margin:0}
.a4p-tp-card--row .a4p-tp-card__sub{display:block;margin-top:0;font-size:12px;line-height:1.3}
.a4p-tp-card--row .a4p-tp-card__sub b{color:#DD2772;font-weight:700}

/* Option 2 at badge scale — their card's own box, border, pink, stars and
   wording, sized for a 184px grid column beside the VMD / GPhC / RCVS
   registrations. Added 22 Nov. */
.a4p-tp-badge{display:block;text-decoration:none;font-family:inherit;color:#353030;
  background:#fff;border:1px solid #f0d3e2;border-radius:12px;padding:10px 12px;
  box-shadow:0 2px 8px rgba(221,39,114,.06)}
.a4p-tp-badge__top{display:block;font-size:10px;letter-spacing:.03em;text-transform:uppercase;
  color:#DD2772;font-weight:700;line-height:1.25;margin-bottom:6px}
.a4p-tp-badge__mid{display:flex;align-items:center;gap:7px;margin-bottom:5px;white-space:nowrap}
.a4p-tp-badge .a4p-tp-stars span{width:15px;height:15px;font-size:10px}
.a4p-tp-badge__score{font-weight:700;font-size:13.5px}
.a4p-tp-badge__sub{display:block;font-size:11.5px;color:#82838e;line-height:1.3}

/* On mobile the registration row collapses to one column and the three
   registration widgets centre themselves, so the badge follows them. */
@media (max-width:767px){
  .a4p-tp-badge{text-align:center;max-width:340px;margin-left:auto;margin-right:auto}
  .a4p-tp-badge__mid{justify-content:center}
}

/* Option 3 — slim announcement bar */
.a4p-tp-bar{display:flex;align-items:center;justify-content:center;gap:10px;
  background:#353030;color:#fff;padding:9px 14px;font-size:13.5px;
  text-decoration:none;font-family:inherit}
.a4p-tp-bar b{color:#fff;font-weight:700}
.a4p-tp-bar__star{color:#00B67A;font-size:15px}
.a4p-tp-bar__link{color:#ffd2f4;text-decoration:underline}

@media (max-width:600px){
  .a4p-tp-card--row{flex-wrap:wrap;gap:6px 10px}
  .a4p-tp-card--row .a4p-tp-card__sub{flex:1 0 100%}
  .a4p-tp-striprow{padding:0 14px}
  .a4p-tp-strip{align-items:flex-start}
  .a4p-tp-text{font-size:13px}
  .a4p-tp-bar{font-size:12.5px;padding:9px 12px;text-align:center}
}
