/* One profile, one action; colour, typography and button behaviour stay global. */
.rio-social-profile-cta {
  --rio-info-background:var(--rio-ink,#20344b);
  --rio-info-color:var(--rio-on-dark,#fff);
  --rio-focus:var(--rio-accent,#00fe01);
  container-type:inline-size;
  width:100%; min-width:0; max-width:100%; box-sizing:border-box;
}
.rio-social-profile-cta>.rio-content-infobox { grid-template-columns:96px minmax(0,1fr) auto; align-items:center; gap:24px; }
.rio-social-profile-emblem { display:grid; place-items:center; width:96px; height:96px; box-sizing:border-box; background:var(--rio-accent,#00fe01); color:var(--rio-on-accent,var(--rio-ink,#20344b)); }
.rio-social-profile-emblem>.rio-icon { display:block; width:56px; height:56px; }
.rio-social-profile-copy { overflow-wrap:anywhere; }
.rio-social-profile-cta .rio-infobox-label { margin:0 0 8px; color:var(--rio-accent,#00fe01); }
.rio-social-profile-cta .rio-infobox-heading { margin:0; color:inherit; }
.rio-social-profile-cta p.rio-social-profile-username { margin:8px 0 0; font:400 calc(16px * var(--rio-reading-scale,1))/1.6 var(--rio-font,system-ui,sans-serif); color:inherit; text-transform:none; }
.rio-social-profile-action { min-width:0; max-width:240px; justify-self:end; }
.rio-social-profile-action>.rio-button { --rio-btn-hover-border:var(--rio-accent,#00fe01); max-width:100%; white-space:normal; overflow-wrap:anywhere; }
@container(max-width:639px) {
  .rio-social-profile-cta>.rio-content-infobox { grid-template-columns:72px minmax(0,1fr); gap:20px; }
  .rio-social-profile-emblem { width:72px; height:72px; }
  .rio-social-profile-emblem>.rio-icon { width:44px; height:44px; }
  .rio-social-profile-action { grid-column:1/-1; width:100%; max-width:none; justify-self:stretch; }
  .rio-social-profile-action>.rio-button { width:100%; }
}
@media(max-width:639px) {
  .rio-social-profile-cta>.rio-content-infobox { grid-template-columns:72px minmax(0,1fr); gap:20px; }
  .rio-social-profile-emblem { width:72px; height:72px; }
  .rio-social-profile-emblem>.rio-icon { width:44px; height:44px; }
  .rio-social-profile-action { grid-column:1/-1; width:100%; max-width:none; justify-self:stretch; }
  .rio-social-profile-action>.rio-button { width:100%; }
}
@media(forced-colors:active) {
  .rio-social-profile-cta { --rio-info-background:Canvas; --rio-info-color:CanvasText; --rio-focus:Highlight; }
  .rio-social-profile-emblem { border:1px solid CanvasText; background:Canvas; color:CanvasText; }
  .rio-social-profile-cta .rio-infobox-label { color:inherit; }
}
@media print {
  .rio-social-profile-cta { --rio-info-background:#fff; --rio-info-color:#000; break-inside:avoid; }
  .rio-social-profile-emblem { border:1px solid #777; background:#fff; color:#000; }
  .rio-social-profile-cta .rio-infobox-label { color:inherit; }
}
