/* Blog Publisher: looks that are given, never released.
 *
 * Official is for the site's own channels; Union is for union locals and labour organisations;
 * PSO Boston is the board of one Local.
 * Neither is offered to writers: an admin gives each to the blogs it is meant for (Admin, Pages and
 * content, Premium looks). Built like the other sets: what the two share first, then each look.
 */

/* ------------------------------------------------------------------ shared */
body[class*="theme-"].blog { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (prefers-reduced-motion: reduce) {
  body.blog, body.blog *, body.blog::before, body.blog::after, body.blog *::before, body.blog *::after { animation: none !important; transition: none !important; }
}
body:where(.theme-official, .theme-union, .theme-psoboston) {
  --navy: var(--ac); --navy-soft: color-mix(in srgb, var(--ac) 13%, transparent); --navy-mid: color-mix(in srgb, var(--ac) 30%, transparent);
  --harbor: var(--ac); --harbor-soft: var(--navy-soft);
  --rad: 16px; --measure: 41rem;
  --sys: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  --book: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --code: ui-monospace, "SF Mono", SFMono-Regular, Menlo, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  color: var(--ink);
}
body:is(.theme-official, .theme-union, .theme-psoboston) h1, body:is(.theme-official, .theme-union, .theme-psoboston) h2, body:is(.theme-official, .theme-union, .theme-psoboston) h3, body:is(.theme-official, .theme-union, .theme-psoboston) h4 { font-family: var(--display); color: var(--hi); }
body:is(.theme-official, .theme-union, .theme-psoboston) a { color: var(--ac); }
body:is(.theme-official, .theme-union, .theme-psoboston) ::selection { background: color-mix(in srgb, var(--ac) 45%, transparent); color: var(--hi); }
body:is(.theme-official, .theme-union, .theme-psoboston) .topbar { max-width: 50rem; margin: 0 auto; position: relative; z-index: 2; }
body:is(.theme-official, .theme-union, .theme-psoboston) .topbar .brand { color: var(--hi); font-family: var(--display); }
body:is(.theme-official, .theme-union, .theme-psoboston) .topnav a { color: var(--muted); }
body:is(.theme-official, .theme-union, .theme-psoboston) .topnav .nav-cta { background: var(--navy-soft); color: var(--ac); border: 1px solid var(--rule); }
body:is(.theme-official, .theme-union, .theme-psoboston) .page { max-width: 50rem; position: relative; z-index: 1; }
body:is(.theme-official, .theme-union, .theme-psoboston) .blog-head { position: relative; }
body:is(.theme-official, .theme-union, .theme-psoboston) .blog-title { color: var(--hi); }
body:is(.theme-official, .theme-union, .theme-psoboston) .blog-handle { color: var(--muted); }
body:is(.theme-official, .theme-union, .theme-psoboston) .blog-bio { color: var(--ink); }
body:is(.theme-official, .theme-union, .theme-psoboston) .avatar { background: var(--navy-soft); box-shadow: 0 0 0 1px var(--rule); }
body:is(.theme-official, .theme-union, .theme-psoboston) .avatar-initial { color: var(--hi); font-family: var(--display); }
body:is(.theme-official, .theme-union, .theme-psoboston) .profile-links a { border: 1px solid var(--rule); background: var(--card); color: var(--ink); }
body:is(.theme-official, .theme-union, .theme-psoboston) .blog-head-foot, body:is(.theme-official, .theme-union, .theme-psoboston) .blog-head.compact { border-color: var(--rule); }
body:is(.theme-official, .theme-union, .theme-psoboston) .blog-nav a { color: var(--muted); }
body:is(.theme-official, .theme-union, .theme-psoboston) .blog-nav a:first-child, body:is(.theme-official, .theme-union, .theme-psoboston) .blog-nav a:hover { color: var(--hi); background: var(--navy-soft); text-decoration: none; }
body:is(.theme-official, .theme-union, .theme-psoboston) .blog-search input { border: 1px solid var(--rule); background: var(--field); color: var(--hi); }
body:is(.theme-official, .theme-union, .theme-psoboston) .blog-name { color: var(--hi); font-family: var(--display); }
body:is(.theme-official, .theme-union, .theme-psoboston) .word-count, body:is(.theme-official, .theme-union, .theme-psoboston) .reading-label { color: var(--muted); }
body:is(.theme-official, .theme-union, .theme-psoboston) .post-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
body:is(.theme-official, .theme-union, .theme-psoboston) .post-preview { position: relative; margin: 0; padding: 1.25rem 1.35rem 1.15rem; border: 1px solid var(--rule); border-radius: var(--rad); background: var(--card); }
body:is(.theme-official, .theme-union, .theme-psoboston) .preview-title { font-size: 1.28rem; line-height: 1.22; margin: 0; }
body:is(.theme-official, .theme-union, .theme-psoboston) .preview-title a { color: var(--hi); text-decoration: none; }
body:is(.theme-official, .theme-union, .theme-psoboston) .preview-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* the whole card opens the post */
body:is(.theme-official, .theme-union, .theme-psoboston) .post-meta { color: var(--muted); font-size: .8rem; }
body:is(.theme-official, .theme-union, .theme-psoboston) .preview-body { margin-top: .55rem; font-size: .96rem; line-height: 1.55; color: var(--ink); opacity: .86; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body:is(.theme-official, .theme-union, .theme-psoboston) .read-more { display: none; }
body:is(.theme-official, .theme-union, .theme-psoboston) .pin-label { color: var(--ac); }
body:is(.theme-official, .theme-union, .theme-psoboston) .pager a { padding: .4rem .95rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); }
body:is(.theme-official, .theme-union, .theme-psoboston) .post { margin: 2.2rem auto 0; }
body:is(.theme-official, .theme-union, .theme-psoboston) .post-head h1 { font-size: clamp(2rem, 6.4vw, 3rem); line-height: 1.08; }
body:is(.theme-official, .theme-union, .theme-psoboston) .prose { color: var(--ink); font-size: 1.1rem; line-height: 1.78; }
body:is(.theme-official, .theme-union, .theme-psoboston) .prose strong { color: var(--hi); }
body:is(.theme-official, .theme-union, .theme-psoboston) .prose a { color: var(--ac); text-decoration: underline; text-decoration-color: var(--navy-mid); text-underline-offset: .18em; }
body:is(.theme-official, .theme-union, .theme-psoboston) .prose a:hover { text-decoration-color: var(--ac); }
body:is(.theme-official, .theme-union, .theme-psoboston) .prose blockquote { margin-left: 0; margin-right: 0; padding: .95rem 1.25rem; border: 0; border-left: 3px solid var(--ac); border-radius: 0 var(--rad) var(--rad) 0; background: var(--card); color: var(--hi); }
body:is(.theme-official, .theme-union, .theme-psoboston) .prose code { background: var(--code-bg); border-radius: 5px; }
body:is(.theme-official, .theme-union, .theme-psoboston) .prose pre, body:is(.theme-official, .theme-union, .theme-psoboston) .prose pre.code { border: 1px solid var(--rule); border-radius: var(--rad); background: var(--block-bg); }
body:is(.theme-official, .theme-union, .theme-psoboston) .prose pre code { background: none; }
body:is(.theme-official, .theme-union, .theme-psoboston) .prose hr { border: 0; height: 1px; background: linear-gradient(to right, transparent, var(--navy-mid), transparent); }
body:is(.theme-official, .theme-union, .theme-psoboston) .prose img, body:is(.theme-official, .theme-union, .theme-psoboston) .prose video { display: block; border-radius: var(--rad); }
body:is(.theme-official, .theme-union, .theme-psoboston) .prose mark { background: color-mix(in srgb, var(--ac) 32%, transparent); color: var(--hi); border-radius: 3px; padding: 0 .15em; }
body:is(.theme-official, .theme-union, .theme-psoboston) .post-tags a { border: 1px solid var(--rule); background: var(--card); color: var(--ac); }
body:is(.theme-official, .theme-union, .theme-psoboston) .subscribe, body:is(.theme-official, .theme-union, .theme-psoboston) .series, body:is(.theme-official, .theme-union, .theme-psoboston) .post-nav a, body:is(.theme-official, .theme-union, .theme-psoboston) .notice { border: 1px solid var(--rule); border-radius: var(--rad); background: var(--card); }
body:is(.theme-official, .theme-union, .theme-psoboston) .subscribe label { color: var(--hi); }
body:is(.theme-official, .theme-union, .theme-psoboston) .help { color: var(--muted); }
body:is(.theme-official, .theme-union, .theme-psoboston) input:not([type="checkbox"]):not([type="radio"]), body:is(.theme-official, .theme-union, .theme-psoboston) textarea, body:is(.theme-official, .theme-union, .theme-psoboston) .subscribe-row input { border: 1px solid var(--rule); background: var(--field); color: var(--hi); }
body:is(.theme-official, .theme-union, .theme-psoboston) input:focus, body:is(.theme-official, .theme-union, .theme-psoboston) textarea:focus { outline: 0; border-color: var(--ac); box-shadow: 0 0 0 3px var(--navy-soft); }
body:is(.theme-official, .theme-union, .theme-psoboston) button, body:is(.theme-official, .theme-union, .theme-psoboston) .button { border: 0; background: var(--ac); color: var(--on-ac); font-weight: 650; }
body:is(.theme-official, .theme-union, .theme-psoboston) .reactions button { border: 1px solid var(--rule); background: var(--card); color: var(--ink); font-weight: 400; box-shadow: none; }
body:is(.theme-official, .theme-union, .theme-psoboston) .post-nav a { color: var(--hi); }
body:is(.theme-official, .theme-union, .theme-psoboston) .post-nav small { color: var(--ac); }
body:is(.theme-official, .theme-union, .theme-psoboston) .comments, body:is(.theme-official, .theme-union, .theme-psoboston) .post-foot, body:is(.theme-official, .theme-union, .theme-psoboston) .colophon { border-top-color: var(--rule); }
body:is(.theme-official, .theme-union, .theme-psoboston) .colophon a, body:is(.theme-official, .theme-union, .theme-psoboston) .post-foot a { color: var(--muted); }
body:is(.theme-official, .theme-union, .theme-psoboston) .compose { background: var(--ac); color: var(--on-ac); }
@media (max-width: 40rem) {
  body:is(.theme-official, .theme-union, .theme-psoboston) .post-preview { padding: 1.05rem 1.1rem 1rem; }
  body:is(.theme-official, .theme-union, .theme-psoboston) .prose { font-size: 1.05rem; }
  body:is(.theme-official, .theme-union, .theme-psoboston) .avatar { width: 4.2rem; height: 4.2rem; }
  body:is(.theme-official, .theme-union, .theme-psoboston) .blog-identity { gap: 1rem; }
}
@keyframes lv-rise { from { opacity: 0; transform: translateY(.6rem); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   1. OFFICIAL  the site's own channels, in the site's own navy
   ========================================================================== */
body.theme-official {
  --ac: var(--t-accent-ink, #00208f); --ac2: color-mix(in srgb, var(--ac) 62%, #2f6bff);
  --paper: #f8f9fc; --card: #fff; --ink: #2a2e3d; --muted: #6b7191; --rule: #e1e4f0; --soft: #eef0f8;
  --field: #fff; --code-bg: #eceff8; --block-bg: #eef0f8; --hi: #14172a; --on-ac: #fff;
  --serif: "Merriweather", var(--book); --sans: var(--sys); --display: "Merriweather", var(--book); --rad: 14px;
  background: #f8f9fc; font: 400 1.04rem/1.72 var(--sys);
}
@keyframes of-sheen { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes of-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ac) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 .8rem transparent; } }
/* The band: the name on navy, an Official mark above it, and a slow sheen that crosses now and then. */
body.theme-official .blog-head:not(.compact) { margin: .8rem 0 1.8rem; padding: 1.5rem 1.5rem 1.1rem; border-radius: 20px; background: linear-gradient(135deg, var(--ac), var(--ac2)); color: #fff; overflow: hidden; box-shadow: 0 1rem 2.4rem color-mix(in srgb, var(--ac) 22%, transparent); }
body.theme-official .blog-head:not(.compact)::before, body.theme-official .post-head::before, body.theme-official .blog-head.compact .blog-home::after {
  content: "✓  Official"; display: inline-block; padding: .16rem .7rem .16rem .55rem; border-radius: 999px; background: #fff; color: var(--ac); font: 700 .7rem/1.6 var(--sys); letter-spacing: .08em; text-transform: uppercase; white-space: pre; }
body.theme-official .blog-head:not(.compact)::before { margin-bottom: 1rem; position: relative; z-index: 1; }
body.theme-official .blog-head:not(.compact)::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .2) 50%, transparent 65%); transform: translateX(-100%); animation: of-sheen 7s ease-in-out infinite; }
body.theme-official .blog-head:not(.compact) > * { position: relative; z-index: 1; }
body.theme-official .blog-head:not(.compact) :is(.blog-title, .blog-handle, .blog-bio, .word-count) { color: #fff; }
body.theme-official .blog-title { font: 700 clamp(1.9rem, 6vw, 2.8rem)/1.1 var(--display); letter-spacing: -.01em; }
body.theme-official .blog-head:not(.compact) .blog-handle { opacity: .8; }
body.theme-official .blog-head:not(.compact) .avatar { box-shadow: 0 0 0 3px rgb(255 255 255 / .85); background: rgb(255 255 255 / .2); }
body.theme-official .blog-head:not(.compact) .avatar-initial { color: #fff; }
body.theme-official .blog-head:not(.compact) .blog-head-foot { border-top-color: rgb(255 255 255 / .28); }
body.theme-official .blog-head:not(.compact) .blog-nav a { color: rgb(255 255 255 / .85); }
body.theme-official .blog-head:not(.compact) .blog-nav a:first-child, body.theme-official .blog-head:not(.compact) .blog-nav a:hover { color: #fff; background: rgb(255 255 255 / .2); }
body.theme-official .blog-head:not(.compact) .blog-search input { border-color: rgb(255 255 255 / .4); background: rgb(255 255 255 / .16); color: #fff; }
body.theme-official .blog-head:not(.compact) .blog-search input::placeholder { color: rgb(255 255 255 / .8); }
body.theme-official .blog-head:not(.compact) .profile-links a { background: rgb(255 255 255 / .16); border-color: rgb(255 255 255 / .35); color: #fff; }
body.theme-official .blog-head.compact { border-bottom: 3px solid var(--ac); }
body.theme-official .blog-head.compact .blog-home::after { margin-left: .6rem; background: var(--navy-soft); font-size: .6rem; vertical-align: middle; }
/* A timeline: dates down the left, a marker on the line for each post, the newest one pulsing. */
body.theme-official .post-list { position: relative; padding-left: 6.4rem; gap: .9rem; }
body.theme-official .post-list::before { content: ""; position: absolute; left: 5.05rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--rule); }
body.theme-official .post-preview { box-shadow: 0 .4rem 1.2rem color-mix(in srgb, var(--ac) 6%, transparent); transition: transform .2s, box-shadow .2s, border-color .2s; }
body.theme-official .post-preview:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ac) 35%, var(--rule)); box-shadow: 0 .8rem 1.8rem color-mix(in srgb, var(--ac) 12%, transparent); }
body.theme-official .post-preview::before { content: ""; position: absolute; left: -1.7rem; top: 1.25rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--paper); border: 3px solid var(--ac); box-sizing: content-box; margin-left: -.4rem; }
body.theme-official .post-preview:first-child::before { animation: of-ping 2.6s ease-out infinite; }
body.theme-official .post-preview .post-meta { position: absolute; left: -6.4rem; top: 1.05rem; width: 4.1rem; margin: 0; text-align: right; font-size: 0; line-height: 1.25; }
body.theme-official .post-preview .post-meta time { font: 700 .66rem/1.3 var(--sys); letter-spacing: .06em; text-transform: uppercase; color: var(--ac); }
body.theme-official .preview-title { font: 700 1.2rem/1.28 var(--display); }
body.theme-official .pin-label { display: inline-block; margin-bottom: .35rem; padding: .05rem .5rem; border-radius: 6px; background: var(--navy-soft); font: 700 .64rem/1.7 var(--sys); letter-spacing: .1em; text-transform: uppercase; }
/* A post reads as an announcement. */
body.theme-official .post-head::before { content: "✓  Official announcement"; margin-bottom: .9rem; background: var(--navy-soft); }
body.theme-official .post-head h1 { font: 700 clamp(1.9rem, 6vw, 2.8rem)/1.15 var(--display); letter-spacing: -.01em; }
body.theme-official .prose { font: 400 1.1rem/1.8 var(--serif); }
body.theme-official .prose h2, body.theme-official .prose h3 { font-family: var(--display); }
body.theme-official .prose blockquote { border-left: 4px solid var(--ac); border-radius: 12px; background: var(--navy-soft); font: 500 1.02rem/1.6 var(--sys); font-style: normal; }
body.theme-official button, body.theme-official .button { border-radius: 999px; }
@media (max-width: 40rem) {
  body.theme-official .blog-head:not(.compact) { padding: 1.2rem 1.1rem .9rem; border-radius: 18px; }
  body.theme-official .post-list { padding-left: 1.5rem; }
  body.theme-official .post-list::before { left: .35rem; }
  body.theme-official .post-preview::before { left: -1.15rem; margin-left: -.42rem; top: 1.2rem; width: .6rem; height: .6rem; }
  body.theme-official .post-preview .post-meta { position: static; width: auto; text-align: left; margin: .15rem 0 0; }
  body.theme-official .post-preview:hover { transform: none; }
}
/* Official at night. */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-mode="light"])) body.theme-official { --ac: color-mix(in srgb, var(--t-accent, #2f55d4) 78%, #0a1238); --ac2: color-mix(in srgb, var(--ac) 60%, #6f93ff); --paper: #0f1117; --card: #171a23; --ink: #c9cde0; --muted: #8a90ab; --rule: #262a38; --soft: #171a23; --field: #171a23; --code-bg: #202432; --block-bg: #0b0d12; --hi: #f2f4fb; --on-ac: #fff; --navy: #8aa4ff; --navy-soft: rgb(138 164 255 / .14); --navy-mid: rgb(138 164 255 / .32); background: #0f1117; color-scheme: dark; }
  :where(:root:not([data-mode="light"])) body.theme-official :is(.post-preview .post-meta time, .pin-label, .prose a, .post-nav small) { color: #8aa4ff; }
  :where(:root:not([data-mode="light"])) body.theme-official .post-preview::before { border-color: #8aa4ff; }
  :where(:root:not([data-mode="light"])) body.theme-official :is(.post-head::before, .blog-head.compact .blog-home::after) { color: #c6d2ff; }
}
:where(:root[data-mode="dark"]) body.theme-official { --ac: color-mix(in srgb, var(--t-accent, #2f55d4) 78%, #0a1238); --ac2: color-mix(in srgb, var(--ac) 60%, #6f93ff); --paper: #0f1117; --card: #171a23; --ink: #c9cde0; --muted: #8a90ab; --rule: #262a38; --soft: #171a23; --field: #171a23; --code-bg: #202432; --block-bg: #0b0d12; --hi: #f2f4fb; --on-ac: #fff; --navy: #8aa4ff; --navy-soft: rgb(138 164 255 / .14); --navy-mid: rgb(138 164 255 / .32); background: #0f1117; color-scheme: dark; }
:where(:root[data-mode="dark"]) body.theme-official :is(.post-preview .post-meta time, .pin-label, .prose a, .post-nav small) { color: #8aa4ff; }
:where(:root[data-mode="dark"]) body.theme-official .post-preview::before { border-color: #8aa4ff; }
:where(:root[data-mode="dark"]) body.theme-official :is(.post-head::before, .blog-head.compact .blog-home::after) { color: #c6d2ff; }

/* ==========================================================================
   2. UNION  a members' bulletin board
   ========================================================================== */
body.theme-union {
  --deep: var(--t-accent-ink, #0e2240); --red: #c8102e; --gold: #f2b632; --ac: var(--red);
  --paper: #fbf8f1; --card: #fff; --ink: #2a3040; --muted: #677086; --rule: #e2dccb; --soft: #f3eee1;
  --field: #fff; --code-bg: #efe9d9; --block-bg: #f3eee1; --hi: var(--deep); --on-ac: #fff;
  --cond: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", "DIN Condensed", var(--sys);
  --serif: var(--sys); --sans: var(--sys); --display: var(--cond); --rad: 0px;
  background: #fbf8f1; font: 400 1.05rem/1.7 var(--sys);
}
@keyframes un-unfurl { from { clip-path: polygon(50% 0, 50% 0, 50% 50%, 50% 100%, 50% 100%, 50% 50%); } to { clip-path: polygon(0 0, 100% 0, calc(100% - .7rem) 50%, 100% 100%, 0 100%, .7rem 50%); } }
@keyframes un-shine { 0%, 100% { opacity: 1; letter-spacing: .5em; } 50% { opacity: .55; letter-spacing: .56em; } }
/* The banner: stars, the name in capitals, and a red ribbon that unfurls beneath it. */
body.theme-union .blog-head:not(.compact) { margin: .8rem 0 2.9rem; padding: 1.5rem 1.3rem 2.1rem; text-align: center; color: #fff; background: var(--deep) repeating-linear-gradient(135deg, rgb(255 255 255 / .035) 0 .7rem, transparent .7rem 1.4rem); }
body.theme-union .blog-head:not(.compact)::before { content: "★★★★★"; display: block; margin-bottom: .8rem; padding-left: .5em; color: var(--gold); font-size: .9rem; letter-spacing: .5em; animation: un-shine 3.4s ease-in-out infinite; }
body.theme-union .blog-head:not(.compact)::after { content: "Members’ Bulletin"; position: absolute; left: 50%; bottom: -1rem; transform: translateX(-50%); padding: .42rem 2rem; background: var(--red); color: #fff; font: 800 .8rem/1.4 var(--cond); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; clip-path: polygon(0 0, 100% 0, calc(100% - .7rem) 50%, 100% 100%, 0 100%, .7rem 50%); animation: un-unfurl .7s .25s cubic-bezier(.2, .8, .2, 1) both; }
body.theme-union .blog-head:not(.compact) .blog-identity { flex-direction: column; align-items: center; gap: .8rem; }
body.theme-union .blog-head:not(.compact) .blog-identity > div { text-align: center; }
body.theme-union .blog-head:not(.compact) :is(.blog-title, .blog-handle, .blog-bio, .word-count) { color: #fff; }
body.theme-union .blog-title { display: block; font: 800 clamp(2rem, 7.4vw, 3.4rem)/1 var(--cond); text-transform: uppercase; letter-spacing: .03em; }
body.theme-union .blog-head:not(.compact) .blog-handle { opacity: .75; }
body.theme-union .avatar { border-radius: 50%; box-shadow: 0 0 0 3px var(--gold); }
body.theme-union .blog-head:not(.compact) .avatar-initial { color: #fff; background: rgb(255 255 255 / .12); }
body.theme-union .blog-head:not(.compact) .blog-head-foot { justify-content: center; border-top-color: rgb(255 255 255 / .22); }
body.theme-union .profile-links { justify-content: center; }
body.theme-union .blog-head:not(.compact) .profile-links a { background: none; border-color: rgb(255 255 255 / .4); color: #fff; border-radius: 0; }
body.theme-union .blog-nav a { border-radius: 0; font: 800 .8rem var(--cond); letter-spacing: .14em; text-transform: uppercase; }
body.theme-union .blog-head:not(.compact) .blog-nav a { color: rgb(255 255 255 / .8); }
body.theme-union .blog-head:not(.compact) .blog-nav a:first-child, body.theme-union .blog-head:not(.compact) .blog-nav a:hover { color: var(--deep); background: var(--gold); }
body.theme-union .blog-head:not(.compact) .blog-search input { border-radius: 0; border-color: rgb(255 255 255 / .4); background: rgb(255 255 255 / .1); color: #fff; }
body.theme-union .blog-head:not(.compact) .blog-search input::placeholder { color: rgb(255 255 255 / .75); }
body.theme-union .blog-head.compact { padding: .7rem .9rem; background: var(--deep); border-bottom: 4px solid var(--red); }
body.theme-union .blog-head.compact .avatar-initial { color: #fff; background: rgb(255 255 255 / .14); }
body.theme-union .blog-head.compact .blog-name { color: #fff; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
body.theme-union .blog-head.compact .blog-nav a { color: rgb(255 255 255 / .8); }
body.theme-union .blog-head.compact .blog-nav a:first-child, body.theme-union .blog-head.compact .blog-nav a:hover { color: var(--gold); background: none; }
/* A notice: pinned to the board, the date first, the newest one flagged. */
body.theme-union .post-list { gap: 1.3rem; }
body.theme-union .post-preview { display: flex; flex-direction: column; padding: 1.15rem 1.2rem 1.05rem; border: 1px solid var(--rule); border-top: 4px solid var(--deep); box-shadow: 0 3px 0 rgb(14 34 64 / .08); transition: transform .15s, box-shadow .15s; }
body.theme-union .post-preview::before { content: ""; position: absolute; left: 50%; top: -.72rem; width: .9rem; height: .9rem; margin-left: -.45rem; border-radius: 50%; background: var(--red); box-shadow: 0 2px 3px rgb(0 0 0 / .3), inset -2px -2px 0 rgb(0 0 0 / .18); }
body.theme-union .post-preview:first-child { border-top-color: var(--red); }
body.theme-union .post-preview:first-child::after { content: "Latest"; position: absolute; right: .9rem; top: -4px; padding: .2rem .6rem; background: var(--gold); color: var(--deep); font: 800 .66rem/1.5 var(--cond); letter-spacing: .18em; text-transform: uppercase; }
body.theme-union .post-preview:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgb(14 34 64 / .1); }
body.theme-union .post-preview .post-meta { order: -1; margin: 0 0 .2rem; color: var(--red); font: 800 .72rem/1.4 var(--cond); letter-spacing: .16em; text-transform: uppercase; }
body.theme-union .preview-title { font: 800 1.45rem/1.08 var(--cond); text-transform: uppercase; letter-spacing: .02em; }
body.theme-union .preview-title a { color: var(--deep); }
body.theme-union .pin-label { color: var(--red); font: 800 .68rem var(--cond); letter-spacing: .16em; text-transform: uppercase; }
/* A post */
body.theme-union .post-head { display: flex; flex-direction: column; }
body.theme-union .post-head .post-meta { order: -1; margin: 0 0 .35rem; color: var(--red); font: 800 .74rem/1.4 var(--cond); letter-spacing: .16em; text-transform: uppercase; }
body.theme-union .post-head h1 { font: 800 clamp(2rem, 7.6vw, 3.2rem)/1 var(--cond); text-transform: uppercase; letter-spacing: .02em; padding-bottom: .8rem; border-bottom: 4px solid var(--red); }
body.theme-union .prose h2, body.theme-union .prose h3 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
body.theme-union .prose h2 { font-size: 1.3rem; }
body.theme-union .prose h2::before { content: "★ "; color: var(--red); }
body.theme-union .prose ul { list-style: square; } body.theme-union .prose ul li::marker { color: var(--red); }
body.theme-union .prose a { color: var(--red); }
body.theme-union .prose blockquote { border: 2px solid var(--deep); border-left: .55rem solid var(--gold); background: var(--card); color: var(--deep); font: 700 1.15rem/1.35 var(--cond); text-transform: uppercase; letter-spacing: .03em; font-style: normal; }
body.theme-union .prose img, body.theme-union .prose video { border: 3px solid var(--deep); }
body.theme-union .subscribe, body.theme-union .series, body.theme-union .post-nav a { border: 2px solid var(--deep); }
body.theme-union .subscribe label { font: 800 1.05rem var(--cond); text-transform: uppercase; letter-spacing: .08em; color: var(--deep); }
body.theme-union button, body.theme-union .button { background: var(--red); color: #fff; border-radius: 0; font: 800 .82rem var(--cond); letter-spacing: .16em; text-transform: uppercase; box-shadow: 3px 3px 0 var(--deep); }
body.theme-union .reactions button { background: var(--card); color: var(--ink); box-shadow: none; }
body.theme-union input:not([type="checkbox"]):not([type="radio"]), body.theme-union textarea { border-radius: 0; }
body.theme-union .post-tags a { border-radius: 0; color: var(--deep); font: 800 .72rem var(--cond); letter-spacing: .12em; text-transform: uppercase; }
body.theme-union .post-nav small { color: var(--red); }
body.theme-union .pager a { border-radius: 0; }
body.theme-union .mode-switch { border-radius: 0; } body.theme-union .mode-switch a { border-radius: 0; } body.theme-union .mode-switch a.current { background: var(--deep); color: #fff; }
@media (max-width: 40rem) {
  body.theme-union .blog-head:not(.compact) { padding: 1.2rem 1rem 1.9rem; }
  body.theme-union .blog-head:not(.compact)::after { font-size: .72rem; padding: .4rem 1.6rem; }
  body.theme-union .preview-title { font-size: 1.28rem; }
  body.theme-union .post-preview:hover { transform: none; }
}
/* The board at night. */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-mode="light"])) body.theme-union { --deep: color-mix(in srgb, var(--t-accent, #2c4f8a) 55%, #0a1426); --red: #e2364f; --paper: #10141c; --card: #171c27; --ink: #c7cddb; --muted: #8791a6; --rule: #2a3142; --soft: #171c27; --field: #171c27; --code-bg: #212838; --block-bg: #0b0e14; --hi: #f1f4fa; background: #10141c; color-scheme: dark; }
  :where(:root:not([data-mode="light"])) body.theme-union :is(.preview-title a, .prose blockquote, .subscribe label, .post-tags a) { color: #f1f4fa; }
  :where(:root:not([data-mode="light"])) body.theme-union :is(.post-preview, .prose blockquote, .subscribe, .series, .post-nav a) { border-color: #3a4560; }
  :where(:root:not([data-mode="light"])) body.theme-union .post-preview { border-top-color: #5a6f9c; } :where(:root:not([data-mode="light"])) body.theme-union .post-preview:first-child { border-top-color: var(--red); }
  :where(:root:not([data-mode="light"])) body.theme-union .prose blockquote { border-left-color: var(--gold); }
  :where(:root:not([data-mode="light"])) body.theme-union :is(button, .button) { box-shadow: 3px 3px 0 #000; }
}
:where(:root[data-mode="dark"]) body.theme-union { --deep: color-mix(in srgb, var(--t-accent, #2c4f8a) 55%, #0a1426); --red: #e2364f; --paper: #10141c; --card: #171c27; --ink: #c7cddb; --muted: #8791a6; --rule: #2a3142; --soft: #171c27; --field: #171c27; --code-bg: #212838; --block-bg: #0b0e14; --hi: #f1f4fa; background: #10141c; color-scheme: dark; }
:where(:root[data-mode="dark"]) body.theme-union :is(.preview-title a, .prose blockquote, .subscribe label, .post-tags a) { color: #f1f4fa; }
:where(:root[data-mode="dark"]) body.theme-union :is(.post-preview, .prose blockquote, .subscribe, .series, .post-nav a) { border-color: #3a4560; }
:where(:root[data-mode="dark"]) body.theme-union .post-preview { border-top-color: #5a6f9c; } :where(:root[data-mode="dark"]) body.theme-union .post-preview:first-child { border-top-color: var(--red); }
:where(:root[data-mode="dark"]) body.theme-union .prose blockquote { border-left-color: var(--gold); }
:where(:root[data-mode="dark"]) body.theme-union :is(button, .button) { box-shadow: 3px 3px 0 #000; }

/* ==========================================================================
   3. PSO BOSTON  the Local's own board: navy, gold and a shield
   ========================================================================== */
body.theme-psoboston {
  --deep: var(--t-accent-ink, #0b1f3a); --gold: #c9a227; --gold2: #f0d27a; --ac: color-mix(in srgb, var(--deep) 70%, #2f5fb0);
  --paper: #f5f6f8; --card: #fff; --ink: #2a3140; --muted: #667085; --rule: #dde1e8; --soft: #eceff4;
  --field: #fff; --code-bg: #e8ecf2; --block-bg: #eceff4; --hi: var(--deep); --on-ac: #fff;
  --cond: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", "DIN Condensed", var(--sys);
  --serif: var(--sys); --sans: var(--sys); --display: var(--cond); --rad: 6px;
  background: #f5f6f8; font: 400 1.05rem/1.7 var(--sys);
}
@keyframes pb-shine { 0%, 60% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
@keyframes pb-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pb-rise { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
/* The masthead: a gold shield, the Local's name, and a gold rule that draws itself across the foot. */
body.theme-psoboston .blog-head:not(.compact) { margin: .8rem 0 1.9rem; padding: 1.7rem 1.4rem 1.3rem; text-align: center; color: #fff; border-radius: 10px 10px 0 0; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 88%, #3a6cc4), var(--deep)); box-shadow: 0 1rem 2.2rem color-mix(in srgb, var(--deep) 22%, transparent); }
body.theme-psoboston .blog-head:not(.compact)::before { content: "★"; display: grid; place-items: center; width: 3.5rem; height: 4rem; margin: 0 auto .9rem; padding-bottom: .5rem; color: var(--deep); font-size: 1.35rem;
  clip-path: polygon(50% 0, 100% 12%, 100% 56%, 50% 100%, 0 56%, 0 12%);
  background: linear-gradient(110deg, var(--gold) 30%, var(--gold2) 48%, #fff7da 52%, var(--gold) 70%) 130% 0 / 260% 100% no-repeat, var(--gold); animation: pb-shine 6s ease-in-out infinite; }
body.theme-psoboston .blog-head:not(.compact)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold)); transform-origin: 0 50%; animation: pb-draw .9s .2s cubic-bezier(.6, 0, .2, 1) both; }
body.theme-psoboston .blog-head:not(.compact) .blog-identity { flex-direction: column; align-items: center; gap: .7rem; }
body.theme-psoboston .blog-head:not(.compact) .blog-identity > div { text-align: center; }
body.theme-psoboston .blog-head:not(.compact) .avatar { display: none; }   /* the shield stands in for the picture here */
body.theme-psoboston .blog-head:not(.compact) :is(.blog-title, .blog-bio, .word-count) { color: #fff; }
body.theme-psoboston .blog-title { display: block; font: 800 clamp(2.1rem, 7.6vw, 3.5rem)/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; }
body.theme-psoboston .blog-head:not(.compact) .blog-handle { color: var(--gold2); font: 700 .74rem var(--cond); letter-spacing: .2em; text-transform: uppercase; }
body.theme-psoboston .blog-head:not(.compact) .blog-handle::before { content: "Protective Security Officers  ·  "; white-space: pre; }
body.theme-psoboston .blog-head:not(.compact) .blog-head-foot { justify-content: center; border-top-color: rgb(255 255 255 / .2); }
body.theme-psoboston .profile-links { justify-content: center; }
body.theme-psoboston .blog-head:not(.compact) .profile-links a { background: none; border-color: color-mix(in srgb, var(--gold) 60%, transparent); color: #fff; border-radius: 4px; }
body.theme-psoboston .blog-nav a { border-radius: 4px; font: 700 .8rem var(--cond); letter-spacing: .14em; text-transform: uppercase; }
body.theme-psoboston .blog-head:not(.compact) .blog-nav a { color: rgb(255 255 255 / .8); }
body.theme-psoboston .blog-head:not(.compact) .blog-nav a:first-child, body.theme-psoboston .blog-head:not(.compact) .blog-nav a:hover { color: var(--deep); background: var(--gold); }
body.theme-psoboston .blog-head:not(.compact) .blog-search input { border-radius: 4px; border-color: rgb(255 255 255 / .35); background: rgb(255 255 255 / .1); color: #fff; }
body.theme-psoboston .blog-head:not(.compact) .blog-search input::placeholder { color: rgb(255 255 255 / .75); }
body.theme-psoboston .blog-head.compact { padding: .7rem .9rem; background: var(--deep); border-bottom: 4px solid var(--gold); border-radius: 8px 8px 0 0; }
body.theme-psoboston .blog-head.compact .blog-name { color: #fff; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
body.theme-psoboston .blog-head.compact .avatar { box-shadow: 0 0 0 2px var(--gold); }
body.theme-psoboston .blog-head.compact .avatar-initial { color: #fff; background: rgb(255 255 255 / .14); }
body.theme-psoboston .blog-head.compact .blog-nav a { color: rgb(255 255 255 / .8); }
body.theme-psoboston .blog-head.compact .blog-nav a:first-child, body.theme-psoboston .blog-head.compact .blog-nav a:hover { color: var(--gold2); background: none; }
/* Updates: a gold bar down the side, the date first, the newest one marked. */
body.theme-psoboston #posts::before { content: "Local updates"; display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; color: var(--deep); font: 800 .82rem var(--cond); letter-spacing: .22em; text-transform: uppercase; }
body.theme-psoboston .post-list { gap: .9rem; }
body.theme-psoboston .post-preview { display: flex; flex-direction: column; padding: 1.1rem 1.2rem 1rem 1.4rem; border: 1px solid var(--rule); border-left: 5px solid var(--gold); box-shadow: 0 .3rem .9rem rgb(11 31 58 / .05); transition: transform .15s, box-shadow .15s, border-color .15s; animation: pb-rise .4s both; }
body.theme-psoboston .post-preview:nth-child(2) { animation-delay: .06s; } body.theme-psoboston .post-preview:nth-child(3) { animation-delay: .12s; } body.theme-psoboston .post-preview:nth-child(n+4) { animation-delay: .18s; }
body.theme-psoboston .post-preview:first-child { border-left-color: var(--deep); background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 9%, var(--card)), var(--card) 45%); }
body.theme-psoboston .post-preview:first-child::after { content: "Latest"; position: absolute; right: 1rem; top: 1.05rem; padding: .12rem .6rem; border-radius: 3px; background: var(--deep); color: var(--gold2); font: 800 .64rem/1.6 var(--cond); letter-spacing: .18em; text-transform: uppercase; }
body.theme-psoboston .post-preview:hover { transform: translateX(3px); box-shadow: 0 .6rem 1.4rem rgb(11 31 58 / .1); }
body.theme-psoboston .post-preview .post-meta { order: -1; margin: 0 0 .25rem; color: color-mix(in srgb, var(--gold) 72%, #3b2c00); font: 800 .72rem/1.4 var(--cond); letter-spacing: .16em; text-transform: uppercase; }
body.theme-psoboston .post-preview:first-child .post-meta { padding-right: 5rem; }
body.theme-psoboston .preview-title { font: 800 1.42rem/1.1 var(--cond); text-transform: uppercase; letter-spacing: .02em; }
body.theme-psoboston .preview-title a { color: var(--deep); }
body.theme-psoboston .pin-label { color: var(--deep); font: 800 .68rem var(--cond); letter-spacing: .16em; text-transform: uppercase; }
/* A post: a notice to members. */
body.theme-psoboston .post-head { display: flex; flex-direction: column; }
body.theme-psoboston .post-head::before { content: "Notice to members"; align-self: flex-start; order: -2; margin-bottom: .7rem; padding: .16rem .7rem; border-radius: 3px; background: var(--deep); color: var(--gold2); font: 800 .68rem/1.6 var(--cond); letter-spacing: .2em; text-transform: uppercase; }
body.theme-psoboston .post-head .post-meta { order: -1; margin: 0 0 .35rem; color: color-mix(in srgb, var(--gold) 72%, #3b2c00); font: 800 .74rem/1.4 var(--cond); letter-spacing: .16em; text-transform: uppercase; }
body.theme-psoboston .post-head h1 { font: 800 clamp(2rem, 7.4vw, 3.1rem)/1.02 var(--cond); text-transform: uppercase; letter-spacing: .02em; padding-bottom: .8rem; border-bottom: 4px solid var(--gold); }
body.theme-psoboston .prose h2, body.theme-psoboston .prose h3 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
body.theme-psoboston .prose h2 { font-size: 1.3rem; padding-left: .8rem; border-left: 4px solid var(--gold); }
body.theme-psoboston .prose a { color: var(--ac); }
body.theme-psoboston .prose blockquote { border: 1px solid var(--rule); border-left: 5px solid var(--deep); border-radius: 0 6px 6px 0; background: color-mix(in srgb, var(--gold) 9%, var(--card)); color: var(--deep); font-weight: 600; font-style: normal; }
body.theme-psoboston .prose ul li::marker { color: var(--gold); }
body.theme-psoboston .prose img, body.theme-psoboston .prose video { border: 1px solid var(--rule); }
body.theme-psoboston .subscribe { border: 1px solid var(--rule); border-top: 4px solid var(--deep); }
body.theme-psoboston .subscribe label { font: 800 1.05rem var(--cond); text-transform: uppercase; letter-spacing: .08em; color: var(--deep); }
body.theme-psoboston button, body.theme-psoboston .button { background: var(--deep); color: #fff; border-radius: 4px; font: 800 .82rem var(--cond); letter-spacing: .16em; text-transform: uppercase; box-shadow: inset 0 -3px 0 var(--gold); }
body.theme-psoboston .reactions button { background: var(--card); color: var(--ink); box-shadow: none; }
body.theme-psoboston .post-tags a { border-radius: 3px; color: var(--deep); font: 800 .72rem var(--cond); letter-spacing: .12em; text-transform: uppercase; }
body.theme-psoboston .post-nav small { color: color-mix(in srgb, var(--gold) 72%, #3b2c00); }
body.theme-psoboston .colophon { border-top: 3px solid var(--deep); }
@media (max-width: 40rem) {
  body.theme-psoboston .blog-head:not(.compact) { padding: 1.3rem 1rem 1.1rem; }
  body.theme-psoboston .blog-head:not(.compact) .blog-handle::before { content: "Protective Security Officers\A"; }
  body.theme-psoboston .preview-title { font-size: 1.26rem; }
  body.theme-psoboston .post-preview:hover { transform: none; }
}
/* The board at night. */
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-mode="light"])) body.theme-psoboston { --deep: color-mix(in srgb, var(--t-accent, #1c3d70) 60%, #081326); --ac: #8fb1ee; --paper: #0d1118; --card: #151b25; --ink: #c5ccd8; --muted: #8590a4; --rule: #263042; --soft: #151b25; --field: #151b25; --code-bg: #1f2735; --block-bg: #090c11; --hi: #f2f5fa; background: #0d1118; color-scheme: dark; }
  :where(:root:not([data-mode="light"])) body.theme-psoboston :is(.preview-title a, .prose blockquote, .subscribe label, .post-tags a, #posts::before, .pin-label) { color: #f2f5fa; }
  :where(:root:not([data-mode="light"])) body.theme-psoboston :is(.post-preview .post-meta, .post-head .post-meta, .post-nav small) { color: var(--gold2); }
  :where(:root:not([data-mode="light"])) body.theme-psoboston .post-preview:first-child { border-left-color: var(--gold2); }
}
:where(:root[data-mode="dark"]) body.theme-psoboston { --deep: color-mix(in srgb, var(--t-accent, #1c3d70) 60%, #081326); --ac: #8fb1ee; --paper: #0d1118; --card: #151b25; --ink: #c5ccd8; --muted: #8590a4; --rule: #263042; --soft: #151b25; --field: #151b25; --code-bg: #1f2735; --block-bg: #090c11; --hi: #f2f5fa; background: #0d1118; color-scheme: dark; }
:where(:root[data-mode="dark"]) body.theme-psoboston :is(.preview-title a, .prose blockquote, .subscribe label, .post-tags a, #posts::before, .pin-label) { color: #f2f5fa; }
:where(:root[data-mode="dark"]) body.theme-psoboston :is(.post-preview .post-meta, .post-head .post-meta, .post-nav small) { color: var(--gold2); }
:where(:root[data-mode="dark"]) body.theme-psoboston .post-preview:first-child { border-left-color: var(--gold2); }
