/* Sponsor rails beside the Uncanny Candor player (/magazine/listen/).
   The open slots copy the "Your logo here" tiles from Around the Network
   on QuantumRecall.tv, at the same size (about 210 x 150), so the two sites match. Four spots on each side. */

.mag .wrap.qcp-wrap{max-width:1560px}
.qcp-ads{display:grid;grid-template-columns:minmax(150px,210px) minmax(720px,980px) minmax(150px,210px);gap:24px;justify-content:center;align-items:start}
.qcp-ads>.qcp{max-width:none;margin:0;min-width:0}
.qcp-rail{display:flex;flex-direction:column;gap:14px;position:sticky;top:92px}
.qcp-rail__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

a.qcp-sp-t{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;aspect-ratio:1.4/1;border-radius:14px;border:2px dashed rgba(255,210,122,.35);background:repeating-linear-gradient(45deg,rgba(255,255,255,.02) 0,rgba(255,255,255,.02) 8px,transparent 8px,transparent 16px),#0e0f13;text-align:center;overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s;color:#c9c9d2;text-decoration:none;box-sizing:border-box}
a.qcp-sp-t b{font:400 1.2rem/1 "Bebas Neue",sans-serif;letter-spacing:.08em;color:#ffd27a;text-transform:uppercase}
a.qcp-sp-t small{font-family:"DM Sans",var(--body),sans-serif;font-size:.72rem;color:#8b8d97}
a.qcp-sp-t:hover,a.qcp-sp-t:focus-visible{border-color:#ffd27a;box-shadow:0 0 16px rgba(255,210,122,.35);transform:translateY(-2px);outline:none}

/* Narrower screens: no room beside the player, so the six slots sit
   in a grid under it, like Around the Network. */
@media (max-width:1180px){
  .qcp-ads{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .qcp-ads>.qcp{grid-column:1/-1;order:-1;max-width:980px;width:100%;margin:0 auto 10px}
  .qcp-rail{display:contents}
}
@media (max-width:600px){
  .qcp-ads{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media (prefers-reduced-motion:reduce){a.qcp-sp-t{transition:none}a.qcp-sp-t:hover,a.qcp-sp-t:focus-visible{transform:none}}

/* Filled spots: same artwork and label treatment as the filled tiles on QuantumRecall.tv */
a.qcp-sp-t.art{border:1px solid rgba(255,40,40,.5);background:#0b0b0e;justify-content:flex-end}
a.qcp-sp-t.art:hover,a.qcp-sp-t.art:focus-visible{border-color:#ff2828;box-shadow:0 0 18px rgba(255,40,40,.4)}
a.qcp-sp-t.art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;border-radius:0;transition:transform .35s}
a.qcp-sp-t.art.top img{object-position:50% 22%}
a.qcp-sp-t.art.fit img{object-fit:contain;padding:10px 14px 34px}
a.qcp-sp-t.art:hover img{transform:scale(1.05)}
a.qcp-sp-t.art .lb{position:relative;z-index:1;width:100%;padding:18px 10px 8px;background:linear-gradient(0deg,rgba(6,4,10,.92),rgba(6,4,10,.6) 60%,transparent);display:flex;flex-direction:column;gap:2px}
a.qcp-sp-t.art .lb b{color:#fff;font-size:1.15rem}
a.qcp-sp-t.art .lb small{color:#ff8a7a;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase}
a.qcp-sp-t.art.bare .lb{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:reduce){a.qcp-sp-t.art:hover img{transform:none}}
