/* The Kovaze Rewind card on a blog post (include/rewind_card.php): the Rewind's share card. */
.rwc { box-sizing: border-box; display: grid; gap: 18px; width: 100%; max-width: 420px; margin: 18px 0; padding: 24px;
       border-radius: 20px; background: #f6f6f6; color: #16121f; box-shadow: 0 10px 0 #ff4fb0; transform: rotate(-1deg);
       font: 500 15px/1.3 "DM Sans", system-ui, sans-serif; text-align: left; }
.rwc * { box-sizing: border-box; }
.rwc small { display: block; font: 700 11px/1 "DM Sans", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #7a6c80; }
.rwc p { margin: 6px 0 0; font: 800 18px/1.15 "Bricolage Grotesque", "Arial Black", sans-serif; overflow-wrap: anywhere; }

.rwc-head { display: flex; align-items: center; gap: 16px; }
.rwc-head > div { display: grid; gap: 4px; min-width: 0; }
.rwc-head b { font: 800 32px/1 "Bricolage Grotesque", "Arial Black", sans-serif; letter-spacing: -.03em; overflow-wrap: anywhere; }
.rwc-face { flex: none; width: 76px; height: 76px; border-radius: 50%; background-color: #ffd0ea; background-size: 118% auto; background-position: center 12%; background-repeat: no-repeat; }
.rwc-signs { display: block; height: 14px; width: auto; margin-top: 2px; color: #7a6c80; }

.rwc-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.rwc-cols > div { min-width: 0; }
.rwc-cols small + p, .rwc-cols p + small { margin-top: 6px; }
.rwc-cols p + small { margin-top: 12px; }
.rwc-cols i { font-style: normal; color: #3b4bff; margin-right: 8px; }

.rwc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rwc-stats > div { display: grid; align-content: end; } /* a label on two lines keeps the numbers level */
.rwc-stats b { display: block; margin-top: 6px; font: 800 30px/1 "Bricolage Grotesque", "Arial Black", sans-serif; letter-spacing: -.03em; }

.rwc-persona { padding: 16px 18px; border-radius: 14px; background: #3b4bff; color: #fff; }
.rwc-persona small { color: #c6ff3d; }
.rwc-persona b { display: block; margin-top: 6px; font: 800 26px/1.05 "Bricolage Grotesque", "Arial Black", sans-serif; letter-spacing: -.02em; }

.rwc-words { font: 800 19px/1.2 "Bricolage Grotesque", "Arial Black", sans-serif; text-align: center; }

.rwc-cta { justify-self: center; padding: 11px 22px; border-radius: 999px; background: #16121f; color: #fff !important;
           font: 700 15px/1 "DM Sans", system-ui, sans-serif; text-decoration: none !important; transition: transform .15s; }
.rwc-cta:hover { transform: scale(1.04); }
