/* Additions to the promo pages that the design files did not have. Hand written;
   nsp-promos.css is generated from the design and must not be edited. */
.nsp .transcript .promo-body { margin-top: 18px; }
.nsp .transcript .promo-body a { color: var(--pink); }
.nsp .transcript .promo-body img { max-width: 100%; height: auto; }
.nsp .transcript .promo-body blockquote { margin: 0 0 27px; padding-left: 22px; border-left: 2px solid var(--pink); color: #c69eaf; font-style: italic; }
.nsp .reaction-list .ns-react { display: inline-block; margin: 0; }
.nsp .reaction-list button { display: inline-block; padding: 12px 17px; background: #1b111b; border: 1px solid #3a2634; color: #f8eaf3; font-size: 18px; cursor: pointer; }
.nsp .reaction-list button:hover { border-color: var(--pink); }
.nsp .reaction-list button.is-mine { border-color: var(--pink); background: #2a1226; }
.nsp .ns-vote { margin-top: 28px; padding-top: 22px; border-top: 1px solid #3a2634; color: #d8cbd4; }
.nsp .ns-vote form { margin: 0; }
.nsp .ns-vote button.action { cursor: pointer; }
.nsp .detail-copy h1.ns-long { font-size: clamp(54px, 9vw, 150px); }
.nsp .detail-copy h1.ns-xlong { font-size: clamp(42px, 7vw, 120px); letter-spacing: -2px; }
.nsp .detail-copy h1 { overflow-wrap: anywhere; }

/* Promo text: descriptions have a gold bar, actions a pink one, dialogue puts the speaker above the line. */
.nsp .transcript p.ns-desc { font-style: italic; color: #c69eaf; background: linear-gradient(125deg, #241329, #100b12); padding: 18px 22px; border: 0; margin-bottom: 27px; }
.nsp .transcript p.dialogue strong { display: block; font-weight: 700; color: #fff; margin-bottom: 2px; }
.nsp .transcript p.dialogue .ns-said { display: block; }
/* Inline emphasis in a promo is plain italics (the design's em is a pink, upright heading accent). */
.nsp .transcript .promo-body em { font-style: italic; color: inherit; }
/* Dialogue: the speaker and their words share one pink bar. */
.nsp .transcript p.dialogue { border-left: 2px solid var(--pink); padding-left: 22px; }
/* A continuation (>> words): the same speaker, same bar, no name. */
.nsp .transcript p.dialogue-cont { margin-top: -6px; }

/* The old site stylesheet (design2.css) also has a ".promo-card" (a rounded two-column row). The new
   card is the design's own: one block, square, with the picture across the top. These undo what leaks. */
.nsp .promo-card { display: block; grid-template-columns: none; border-radius: 0; line-height: normal; }
.nsp .promo-card h3 { letter-spacing: normal; }
.nsp .promo-card .card-visual img { max-width: none; }

/* The featured promo: the character's picture is large, and the promo's title is white. */
/* The picture column is only as wide as the picture (40%), so the text runs right up to it with no empty gap between. */
.nsp .feature-body { min-height: 560px; grid-template-columns: minmax(0, 1fr) 40%; }
.nsp .feature-image { min-height: 520px; }
.nsp .feature-image img { height: 114%; max-height: 780px; max-width: 100%; right: 1%; bottom: -14%; }
/* A long title is set smaller so it does not run to six lines and stretch the panel (and the picture with it). */
.nsp .feature-body.title-long .feature-info h2 { font-size: clamp(40px, 4.6vw, 68px); }
.nsp .feature-body.title-xlong .feature-info h2 { font-size: clamp(34px, 3.6vw, 54px); }
.nsp .feature-info h2 em { color: #fff; }
@media (max-width: 900px) {
  .nsp .feature-body.title-long .feature-info h2 { font-size: 52px; }
  .nsp .feature-body.title-xlong .feature-info h2 { font-size: 42px; }
  .nsp .feature-body { grid-template-columns: 1fr; min-height: 0; }
  .nsp .feature-image { min-height: 440px; }
  .nsp .feature-image img { height: 100%; max-height: 440px; bottom: 0; }
}

/* Promos for a title match, and for the 24/7 Broadcast, are outlined in their own colour (--outline).
   The colour of a title is chosen on the Titles page in the Management Office. */
.nsp .promo-card.has-outline { border: 2px solid var(--outline); box-shadow: 0 0 26px -8px var(--outline); }
.nsp .promo-card.has-outline:hover { box-shadow: 0 0 34px -4px var(--outline); }
.nsp .feature-body.has-outline { border: 2px solid var(--outline); box-shadow: 0 0 34px -10px var(--outline); }
.nsp .transcript.has-outline { border: 2px solid var(--outline); box-shadow: 0 0 34px -12px var(--outline); padding-left: 28px; padding-right: 28px; }


/* Promo of the Week (promo.php): the vote note, the fine print under the button, and the winner mark. Under .nsp so nothing else is touched. */
.nsp .ns-vote-note { margin: 18px 0 0; padding: 10px 14px; border-left: 3px solid #e4b84a; background: rgba(228, 184, 74, .08); color: #f3e7bd; font-size: 14px; line-height: 1.5; }
.nsp .ns-vote-note.is-bad { border-left-color: #ff2faf; background: rgba(255, 47, 175, .08); color: #ffc2de; }
.nsp .ns-vote-fine { margin: 10px 0 0; color: #a99fb0; font-size: 13px; line-height: 1.5; }
.nsp .ns-vote.is-winner p { margin: 0; padding: 12px 16px; border: 1px solid #e4b84a; background: rgba(228, 184, 74, .1); color: #e4b84a; font: 600 13px/1.2 'Oswald', 'Arial Narrow', sans-serif; letter-spacing: 3px; }
.nsp .potw-link { display: inline-block; margin-top: 4px; padding: 12px 20px; border: 1px solid #e4b84a; color: #e4b84a; font: 600 13px/1 'Oswald', 'Arial Narrow', sans-serif; letter-spacing: 2.6px; text-decoration: none; transition: background .2s, color .2s; }
.nsp .potw-link:hover { background: #e4b84a; color: #1b1304; }
.nsp .potw-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* PROMO OF THE WEEK on the promo itself: a gold plaque in the hero, and an award line in the details card. */
.nsp .potw-plaque { display: inline-flex; align-items: center; gap: 14px; margin: 22px 0 0; padding: 12px 22px 12px 16px; border: 1px solid #e4b84a; border-left-width: 4px; background: linear-gradient(120deg, rgba(228, 184, 74, .2), rgba(255, 47, 175, .12)); box-shadow: 0 0 34px rgba(228, 184, 74, .22), inset 0 0 0 1px rgba(255, 255, 255, .04); position: relative; overflow: hidden; }
.nsp .potw-plaque::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent); transform: skewX(-18deg); animation: potw-sheen 5.5s ease-in-out 1.2s infinite; pointer-events: none; }
@keyframes potw-sheen { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.nsp .potw-plaque .potw-trophy { flex: 0 0 auto; color: #e4b84a; filter: drop-shadow(0 0 10px rgba(228, 184, 74, .55)); }
.nsp .potw-plaque-text { display: flex; flex-direction: column; gap: 3px; position: relative; z-index: 1; }
.nsp .potw-plaque-text small { font: 500 10px/1.2 'Oswald', 'Arial Narrow', sans-serif; letter-spacing: 3px; color: #d8c58a; }
.nsp .potw-plaque-text b { font: 600 clamp(20px, 2.4vw, 28px)/1.05 'Oswald', 'Arial Narrow', sans-serif; letter-spacing: 3px; color: #ffe9a8; }
.nsp .potw-plaque-text em { font: 500 11px/1.2 'Oswald', 'Arial Narrow', sans-serif; letter-spacing: 2.4px; font-style: normal; color: #ff2faf; }
.nsp .potw-award { color: #e4b84a; }
@media (max-width: 600px) { .nsp .potw-plaque { display: flex; padding: 10px 14px 10px 12px; gap: 10px; } .nsp .potw-plaque .potw-trophy { width: 30px; height: 30px; } }
@media (prefers-reduced-motion: reduce) { .nsp .potw-plaque::after { animation: none; display: none; } }

/* PROMO OF THE WEEK on The Mic archive: a gold band across the foot of the picture and a gold edge on the card. */
.nsp .promo-card.is-potw { border-color: #8a6a24; box-shadow: 0 0 30px rgba(228, 184, 74, .14); }
.nsp .promo-card.is-potw:hover { border-color: #e4b84a; }
.nsp .card-potw { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 10px; background: linear-gradient(100deg, #e4b84a, #f0cf7b 55%, #e4b84a); color: #1b1304; font: 700 11px/1.2 'Oswald', 'Arial Narrow', sans-serif; letter-spacing: 2.4px; text-transform: uppercase; }
.nsp .card-potw svg { flex: 0 0 auto; }

/* PRIVATE COMMENT box on a promo (promo.php): a note to the handler, never shown on the promo. */
.nsp .ns-note { margin-top: 34px; padding-top: 26px; border-top: 1px solid #3a2634; }
.nsp .ns-note h3 { margin: 8px 0 0; }
.nsp .ns-note h3 em { font-style: normal; color: #ff2faf; }
.nsp .ns-note-form { margin: 16px 0 0; }
.nsp .ns-note-form textarea { display: block; width: 100%; min-height: 110px; padding: 12px 14px; background: #0d060f; color: #f5f4f7; border: 1px solid #5a2f52; border-radius: 0; font: 400 16px/1.5 'DM Sans', Arial, sans-serif; resize: vertical; box-sizing: border-box; }
.nsp .ns-note-form textarea:focus { outline: 2px solid #ff2faf; outline-offset: 1px; border-color: #ff2faf; }
.nsp .ns-note-form button { margin-top: 12px; cursor: pointer; }

/* Empty paragraphs in a promo (<p><br></p>: Enter pressed on an empty line, or blank lines pasted in). Each paragraph already has the
   paragraph gap below it, so an empty one used to add a whole extra line AND a second gap. The FIRST empty paragraph in a row now adds
   nothing (the gap above it is the blank line the writer sees); each further one in the row adds one more gap. */
.nsp .transcript p:has(> br:only-child) { margin: 0; height: 0; line-height: 0; overflow: hidden; }
.nsp .transcript p:has(> br:only-child) + p:has(> br:only-child) { height: 27px; }

/* A description left empty (*** ***) draws nothing instead of an empty box. */
.nsp .transcript p.ns-desc:empty { display: none; }
