/* Blue November: the national ICOMM campaign, in the look of its Canva posts. */
.bn {
  --bn-blue: #0b78ee;      /* the page */
  --bn-sky: #2a8cf4;       /* painted men, numbers */
  --bn-bar: #4f7ff0;       /* ranking bars */
  --bn-navy: #0e1b33;      /* type, unpainted men */
  --bn-paper: #f4f8f3;     /* the cards */
  --bn-line: rgba(11, 120, 238, .55);
  --bn-muted: #4c5a72;
  --bn-display: "Archivo", "Oswald", sans-serif;
  background: var(--bn-blue);
  color: var(--bn-navy);
}
.bn .ic-main { padding-top: 28px; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-content: start; }

.bn-card { position: relative; padding: clamp(18px, 4vw, 40px); background: var(--bn-paper); border-radius: 28px; }
.bn-card::after { content: ""; position: absolute; inset: 12px; border: 1px solid var(--bn-line); border-radius: 18px; pointer-events: none; }

.bn-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; }
.bn-title { margin: 0; font-family: var(--bn-display); font-weight: 900; text-transform: uppercase; line-height: .82; letter-spacing: -.035em; font-size: clamp(3.2rem, 11vw, 7.6rem); color: var(--bn-navy); }
.bn-title span { display: block; }
.bn-title-sm { font-size: clamp(2.2rem, 7vw, 4.2rem); }
.bn-count { margin: 0; font-family: var(--bn-display); font-weight: 800; font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: 1; color: var(--bn-navy); font-variant-numeric: tabular-nums; }
.bn-count b { color: var(--bn-sky); font-weight: 800; }
.bn-count i { font-style: normal; font-weight: 400; margin: 0 .04em; }
.bn-sub { margin: 0; font-family: var(--bn-display); font-weight: 800; font-size: clamp(1.6rem, 4.5vw, 2.8rem); color: var(--bn-sky); line-height: 1; }
.bn-tagline { margin: 14px 0 0; font-family: var(--bn-display); font-weight: 800; font-size: clamp(1.1rem, 3vw, 1.5rem); color: var(--bn-sky); text-transform: uppercase; letter-spacing: .02em; }
.bn-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--bn-muted); font-size: 14px; }
.bn-status b { color: var(--bn-navy); }
.bn-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--bn-sky); color: #fff; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.bn-pill i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: bn-pulse 1.6s infinite; }
@keyframes bn-pulse { 50% { opacity: .35; } }
.bn-wait { margin: 12px 0 0; padding: 8px 12px; background: #fff3c4; color: #5c4500; font-size: 13px; border-radius: 8px; }

/* 760 men: navy until an approval paints one blue */
.bn-men { display: grid; grid-template-columns: repeat(auto-fill, minmax(11px, 1fr)); gap: 5px 3px; margin: 26px 0 0; }
.bn-man { aspect-ratio: 9 / 20; background: var(--bn-navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 20'%3E%3Ccircle cx='4.5' cy='2.2' r='2.2'/%3E%3Cpath d='M1.6 5h5.8c.9 0 1.6.7 1.6 1.6V12H7.4v8H5.2v-6H3.8v6H1.6v-8H0V6.6C0 5.7.7 5 1.6 5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 20'%3E%3Ccircle cx='4.5' cy='2.2' r='2.2'/%3E%3Cpath d='M1.6 5h5.8c.9 0 1.6.7 1.6 1.6V12H7.4v8H5.2v-6H3.8v6H1.6v-8H0V6.6C0 5.7.7 5 1.6 5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.bn-man.is-blue { background: var(--bn-sky); }
.bn-note { margin: 14px 0 0; font-size: 13px; color: var(--bn-muted); }

/* main contributors */
.bn-today { display: grid; gap: 4px; margin: 22px 0 0; padding: 22px 24px; background: var(--bn-blue); color: #fff; border-radius: 18px; }
.bn-today-day { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.bn-today-lc { font-family: var(--bn-display); font-weight: 900; font-size: clamp(2rem, 7vw, 3.6rem); line-height: .95; text-transform: uppercase; }
.bn-today-n { font-size: 14px; opacity: .9; }
.bn-days { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.bn-days li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 10px 12px; background: #fff; border: 1px solid rgba(14,27,51,.08); border-radius: 12px; font-size: 14px; }
.bn-days span { color: var(--bn-muted); font-size: 12px; }
.bn-days b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-days em { font-style: normal; color: var(--bn-sky); font-weight: 700; font-variant-numeric: tabular-nums; }
.bn-empty { margin: 18px 0 0; color: var(--bn-muted); }

/* rankings */
.bn-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; margin: 24px 0 0; }
.bn-chart { margin: 0; }
.bn-chart figcaption { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.bn-chart figcaption b { font-family: var(--bn-display); font-weight: 900; font-size: 2rem; line-height: 1; }
.bn-chart figcaption span { font-size: 13px; color: var(--bn-muted); }
.bn-chart ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.bn-chart li { display: grid; grid-template-columns: minmax(70px, 110px) 1fr 34px; gap: 8px; align-items: center; font-size: 13px; }
.bn-lc { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-bar { height: 22px; background: rgba(14,27,51,.05); }
.bn-bar span { display: block; height: 100%; background: var(--bn-bar); border-radius: 0 4px 4px 0; }
.bn-n { font-variant-numeric: tabular-nums; font-weight: 600; }

/* how it's counted */
.bn-how { padding: 6px 4px 12px; color: #eaf3ff; }
.bn-how h2 { margin: 0 0 8px; font-family: var(--bn-display); font-weight: 900; text-transform: uppercase; font-size: 1.4rem; color: #fff; }
.bn-how ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; max-width: 58rem; font-size: 14px; }
.bn-how b { color: #fff; }
.bn-updated { margin: 12px 0 0; font-size: 13px; }
.bn-updated a { color: #fff; }

.bn .ic-nav { background: var(--bn-navy); }
.bn .credit, .bn footer { color: #eaf3ff; }

@media (prefers-reduced-motion: reduce) { .bn-pill i { animation: none; } }
