/* Court Dark: a blog post. Shared editorial pieces (crumbs, byline, prose, cards) are in editorial.css. */

.cd-post-head { padding-top: 64px; }
.cd-post-head__inner { max-width: 1090px; margin-inline: auto; display: flex; flex-direction: column; gap: 26px; padding-bottom: 32px; border-bottom: 1px solid var(--cd-hair); }
.cd-post-standfirst { max-width: 820px; font-size: 22px; line-height: 1.5; color: var(--cd-text); }
.cd-post-hero { margin-top: 8px; border-radius: var(--cd-radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--cd-raised); }
.cd-post-hero__img { width: 100%; height: 100%; object-fit: cover; }

.cd-post-body { max-width: 800px; margin-inline: auto; padding-top: 48px; }
.cd-post-body .cd-prose { max-width: none; }

/* An interactive piece in the body breaks out of the reading column. */
.cd .cd-post-body .bsdsw { width: min(1000px, calc(100vw - 2 * var(--cd-gutter))); max-width: none; margin: 48px 0; position: relative; left: 50%; transform: translateX(-50%); }

/* ------------------------------------------------------------ [bsd_switchups] restyled for the dark page */
.cd .bsdsw { --ink: var(--cd-text); --muted: var(--cd-muted); --line: var(--cd-border); --card: var(--cd-ground); --soft: var(--cd-raised); --ok: var(--cd-accent); --no: #FF8A73;
  font-family: var(--cd-body); color: var(--cd-text); background: var(--cd-raised); border: 1px solid var(--cd-border); border-radius: var(--cd-radius); padding: 28px; font-size: 16px; line-height: 1.5; }
.cd .bsdsw > * + * { margin-top: 0; }
.cd .bsdsw-head { align-items: center; margin-bottom: 12px; }
.cd .bsdsw .bsdsw-head h3 { font-family: var(--cd-display); font-weight: 400; text-transform: uppercase; font-size: 44px; line-height: 1; color: var(--cd-text); margin: 0; display: flex; align-items: center; gap: 12px; }
.cd .bsdsw .bsdsw-head h3::before { content: "Interactive"; font-family: var(--cd-body); font-size: 12px; font-weight: 700; letter-spacing: 2px; background: var(--cd-accent); color: var(--cd-on-accent); padding: 6px 10px; border-radius: 999px; line-height: 1.2; }
.cd .bsdsw-score { background: var(--cd-ground); border: 1px solid var(--cd-border); color: var(--cd-text); font-size: 15px; padding: 9px 16px; }
.cd .bsdsw-intro { font-size: 17px; color: var(--cd-text-2); margin: 0 0 16px; }
.cd .bsdsw-legend { color: var(--cd-text-2); font-size: 14px; gap: 8px 16px; margin-bottom: 18px; padding: 0; }
.cd .bsdsw-legend li + li { margin-top: 0; }
.cd .bsdsw-legend .bsdsw-t { width: 22px !important; height: 22px !important; border-radius: 5px; }
.cd .bsdsw-card { background: var(--cd-ground); border: 1px solid var(--cd-hair); border-radius: 16px; padding: 20px; margin: 0 0 12px; }
/* photos that fail to load show an empty disc, not their alt text */
.cd .bsdsw-top img { color: transparent; font-size: 0; overflow: hidden; }
.cd .bsdsw-t { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.cd .bsdsw-top img, .cd .bsdsw-av { background: var(--cd-chip); border: 1px solid var(--cd-border); }
.cd .bsdsw-av { color: var(--cd-text-2); font-size: 15px; }
.cd .bsdsw-name { font-size: 19px; }
.cd .bsdsw-name a { color: var(--cd-text); text-decoration: underline; text-decoration-color: var(--cd-border-strong); text-underline-offset: 4px; }
.cd .bsdsw-name a:hover { color: var(--cd-accent); text-decoration-color: currentColor; }
.cd .bsdsw-tally { color: var(--cd-muted); font-size: 14px; }
.cd .bsdsw-tiles { gap: 6px; }
.cd .bsdsw-t { width: 30px; height: 30px; border-radius: 5px; }
.cd .bsdsw-t.hid { background: transparent !important; border: 1px dashed var(--cd-border-strong); box-shadow: none; }
.cd .bsdsw-q { font-size: 16px; font-weight: 700; color: var(--cd-text); margin-bottom: 12px; }
.cd .bsdsw-opts { gap: 10px; }
.cd .bsdsw-opts button { min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 700; background: transparent; border: 1px solid var(--cd-border-strong); color: var(--cd-text); }
.cd .bsdsw-opts button:hover:not(:disabled) { border-color: var(--cd-text-2); }
.cd .bsdsw-opts button:focus-visible { outline: 2px solid var(--cd-accent); outline-offset: 3px; }
.cd .bsdsw-opts button:disabled { cursor: default; }
.cd .bsdsw-opts button:disabled[style*="--ok"] { background: var(--cd-accent); border-color: var(--cd-accent) !important; color: var(--cd-on-accent); opacity: 1 !important; }
.cd .bsdsw-res { font-size: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--cd-hair); }
.cd .bsdsw-res:empty { display: none; }
.cd .bsdsw-blurb { color: var(--cd-text); font-size: 16px; }
.cd .bsdsw-last { color: var(--cd-muted); }
.cd .bsdsw-done { color: var(--cd-accent); font-size: 18px; }
@media (max-width: 767px) {
  .cd .cd-post-body .bsdsw { width: calc(100vw - 2 * var(--cd-gutter) + 8px); }
  .cd .bsdsw { padding: 16px 14px; border-radius: 18px; }
  .cd .bsdsw-head { align-items: flex-start; flex-direction: column; }
  .cd .bsdsw .bsdsw-head h3 { font-size: 30px; }
  .cd .bsdsw .bsdsw-head h3::before { font-size: 12px; }
  .cd .bsdsw-intro { font-size: 15px; }
  .cd .bsdsw-card { padding: 14px; }
  .cd .bsdsw-t { width: 26px; height: 26px; font-size: 12px; }
  .cd .bsdsw-tiles { gap: 4px; }
}

/* ------------------------------------------------------------ players in this story */
.cd-post-players { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--cd-hair); display: flex; flex-direction: column; gap: 16px; }
.cd-post-players__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cd .cd-post-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--cd-border-strong); border-radius: 999px; color: var(--cd-text); font-size: 15px; font-weight: 500; }
.cd .cd-post-chip:hover { border-color: var(--cd-accent); color: var(--cd-accent); }
.cd-post-players .cd-showall { margin-top: 0; }

.cd-post-more.cd-section { padding-top: 96px; }

@media (max-width: 1099px) {
  .cd-post-head { padding-top: 48px; }
  .cd-post-standfirst { font-size: 20px; }
}
@media (max-width: 767px) {
  .cd-post-head { padding-top: 28px; }
  .cd-post-head__inner { gap: 18px; padding-bottom: 24px; }
  .cd-post-standfirst { font-size: 18px; }
  .cd-post-body { padding-top: 28px; }
  .cd-post-players { margin-top: 40px; }
  .cd-post-more.cd-section { padding-top: 64px; }
}
