/* Brand presence in social media (widgets/social/social.js) */
.so { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 14px; background: var(--tile-bg); }
.so__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.so__eyebrow { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.so__read { font-size: 13px; color: var(--ink-2); }
.so__read b { color: var(--ink); margin-right: 4px; }
.so__plot { position: relative; flex: 1; min-height: 0; margin-left: 22px; }
.so__grid { position: absolute; inset: 0 0 26px; display: flex; flex-direction: column; justify-content: space-between; }
.so__grid span { position: relative; border-top: 1px solid var(--line); height: 0; }
.so__grid i { position: absolute; right: calc(100% + 6px); top: -.6em; font-style: normal; font-size: 10.5px; color: var(--muted); }
.so__groups { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4%; padding: 0 1%; }
.so__group { display: grid; grid-template-rows: 1fr 26px; min-width: 0; }
.so__bars { display: flex; align-items: flex-end; gap: 3px; }
.so__bar { position: relative; flex: 1; height: 0; border-radius: 3px 3px 0 0; background: var(--c); transition: height .8s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 40ms), opacity .25s ease; }
.so.is-grown .so__bar { height: var(--h); }
.so__bar em { position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(-50%); font-style: normal; font-size: 10.5px; color: var(--ink); opacity: 0; transition: opacity .2s ease; }
.so.is-focus .so__bar { opacity: .25; }
.so.is-focus .so__bar.is-on { opacity: 1; }
.so__bar.is-on em { opacity: 1; }
.so__ch { align-self: end; text-align: center; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.so__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.so__legend button { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 0; border-radius: 100px; background: none; color: var(--ink-2); font: inherit; font-size: 12px; cursor: pointer; }
.so__legend button::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.so__legend button.is-on { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.so__legend button:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--ink); }
@media (prefers-reduced-motion: reduce) { .so__bar { transition: none; } }
/* Stacked page: the chart keeps a shape of its own; the frame grows around it. */
.is-vertical .so__plot { flex: none; height: 200px; }
