/* ==========================================================================
   Uncanonical custom stylesheet for the Format theme (Priority Vision v3.1.4)

   This file replaces the stock `assets/custom.css`. Everything below is
   uncanonical-owned. When a fresh Format release is uploaded, this file
   needs to be ported wholesale (the designer's stock is just a comment
   stub). See UNCANONICAL_CHANGES.md at the theme root for the full diff
   log and a re-apply checklist.

   Loaded by `default.hbs`:
     <link rel="stylesheet" type="text/css" href="{{asset "custom.css"}}">

   The Site Header Code Injection in Ghost admin should be empty (or just
   contain a comment pointing here), since everything that used to live in
   it has been moved into this file.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Site-wide variables and font shim
   -------------------------------------------------------------------------- */

:root {
	--container--width: 550px; /* stock theme default is 440px */
	--color-secondary: #666; /* stock 3.1.4 uses #6e6e6e (3.1.1 used #808080); #666 is slightly darker */
}

/* Light-mode-only override of --color-foreground (body text). The theme
   uses #333 by default; we want pure black in light mode. In dark mode
   the theme's @media (prefers-color-scheme: dark) block sets
   --color-foreground: #C7CBD5 -- keep that, otherwise body text is
   invisible on the dark background. */
@media (prefers-color-scheme: light) {
	:root {
		--color-foreground: #000;
	}
}

@view-transition {
	navigation: none;
}

/* Pin the base font to Geist explicitly. Without this, the Ghost admin
   "Body font" setting (--gh-font-body / --font-family-body) leaks into
   every element that inherits from body -- including nav links, the logo,
   and post-meta. Hardcoding Geist here means the admin setting is ignored
   for all elements except those we re-declare below. */
body {
	font-family: "Geist", sans-serif;
}

/* --------------------------------------------------------------------------
   2. Header / navigation
   -------------------------------------------------------------------------- */

/* Logo and nav links use Inter, explicitly declared so they are not
   affected by either the Ghost admin font setting or the Source Serif 4
   rule on .post-content below. `text-transform: lowercase` is applied
   to both so the displayed strings always match the lowercase visual
   identity of the site, regardless of how the admin enters them.
   Logo size: v1.2.5 bumped 30px -> 32px for slightly more presence
   without crossing into masthead territory. */
a.logo {
	font-size: 32px;
	color: #3269ff;
	font-family: "Inter", sans-serif;
	text-transform: lowercase;
}

.nav-link {
	font-size: 17px;
	font-family: "Inter", sans-serif;
	text-transform: lowercase;
}

/* Account / Sign-in link in the mobile popup footer. Uses
   .button.button-link; needs an explicit declaration because the
   compiled theme sets font-family via --font-family-button which
   still references --gh-font-body (the Ghost admin body font setting)
   rather than our custom body pin above. */
.button-link {
	font-family: "Inter", sans-serif;
}

/* Logo / nav baseline alignment. The .header-container is a flex row
   defined in assets/css/layout/header.css with `align-items: center`,
   which centres each child's BOX vertically -- but the logo
   (font-size: 32px, line-height: 1.214 from logo.css) and the nav-links
   (font-size: 17px inside a min-height: 1.875rem button-sm box) have
   different box heights, so when their boxes are centre-aligned their
   text baselines sit at different vertical positions and the visible
   characters don't share a horizontal line. Switching to baseline
   alignment puts the logo text and the nav-link text on the same
   imaginary baseline, which is the visually-correct alignment for
   adjacent text of different sizes. Scoped to viewports where the
   nav is actually rendered (>= 540px / breakpoint-sm); below that
   the nav is `display: none` and only the burger toggle is shown
   alongside the logo, where baseline alignment of an icon-button
   would look off. */
@media (min-width: 540px) {
	.header-container {
		align-items: baseline;
	}
}

/* Header spacing -- three knobs that together determine the
   distance from viewport top to header, header internal padding
   above the logo, and the gap from header to first content.
   Tuned by the user via Site Header Code Injection experiments
   and then baked in here.

   Vertical accounting (v1.2.5):
     above logo  = body padding-top (55px, set below; overrides
                   the stock 30px from `body { padding: ... }`
                   in assets/css/base/main.css line 11)
                 + .header padding-top (0px, set below; was 10px
                   in v1.2.4 and 20px in v1.2.3)
                 + ~12px centring inside the 60px
                   --header--min-height (32px logo, line-height
                   1.214 -> ~38.8px text box, centred)
                 = ~67px from viewport top to logo baseline
     below logo  = ~12px centring
                 + .header margin-bottom (25px, set below;
                   overrides the stock 40px from
                   assets/css/layout/header.css; was 10px
                   in v1.2.4)
                 = ~37px from logo baseline to first content

   Above is ~30px taller than below -- a deliberate above-bias
   that lifts the logo away from the viewport edge while keeping
   the content snug beneath. v1.2.5 redistributed the same total
   "above" budget across body and header padding (more body, less
   header padding) and loosened the below-logo gap.

   History:
   - v1.2.2 set padding-top to var(--spacing-3) believing it was
     12px (actually 6px).
   - v1.2.3 corrected to var(--spacing-8) = 20px aiming for a
     small ~10px above-bias.
   - v1.2.4 retuned to padding-top 10px and margin-bottom 10px
     for a tight "snugged-up" look.
   - v1.2.5 moved more of the above-budget onto the body
     (padding-top 55px) and zeroed the header padding-top, then
     loosened the below-logo gap to 25px to relieve the tightness.

   The asymmetry on single-post pages (post.hbs) caused by the
   stock <article> element rules (~160px above the post-title) is
   addressed separately in section 3 below. */
body {
	padding-top: 55px;
}

.header {
	padding-top: 0;
	margin-bottom: 25px;
}

/* --------------------------------------------------------------------------
   3. Hero section -- shrink the heading and excerpt on the homepage and
      similar hero contexts so they read more like a small standfirst than
      a giant masthead.
   -------------------------------------------------------------------------- */

#content > section.section-hero.container h1 {
	font-size: 17px !important;
}

#content > section.section-hero.container p {
	font-size: 15px !important;
}

/* On /writings/ suppress the hero section entirely (writings.hbs
   always renders a default-titled hero even when the writings page
   itself has no title). The page-about / page-essentials selectors
   that lived here in v1.2.x are no longer needed: page.hbs already
   conditionally renders the hero only when the page admin sets
   "show_title_and_feature_image", so a page with hidden title shows
   no hero in the first place -- there's nothing to suppress. */
body.template-writings #content > section.section-hero.container {
	display: none;
}

/* Top-of-content margin on pages -- consistent across every page
   that uses page.hbs.

   Why generalised: the v1.2.x rule listed only `body.page-about`
   and `body.page-essentials`. Every other page (e.g. /work/) was
   inheriting the §4 default `.post-content-wrapper { margin-top:
   20px }`, which is why the same content rendered ~20px lower on
   pages other than about/essentials -- visible as differing first-
   line baselines between e.g. /about/ and /work/. Ghost adds the
   class `page-template` to the <body> of every page rendered
   through page.hbs (in addition to a slug-specific `page-{slug}`),
   so the body.page-template selector covers all of them and the
   rule no longer needs touching when new pages are added. */
body.page-template .post-content-wrapper {
	margin-top: 0;
}

/* Top-of-content margin on single posts (post.hbs).

   The compiled stock theme attaches three rules to the bare
   <article> element: margin-top: calc(--spacing-10 * 2) = 80px,
   padding-top: calc(--spacing-10 * 2) = 80px, and border-top:
   1px solid var(--color-border). In stock those rules separate
   stacked articles in archive grids; on a single post page they
   add ~160px of empty space + a thin horizontal rule between the
   site header and the post-title, which reads as a layout error.

   Reset all three. The homepage feed uses a different reset
   (`.uncanonical-home-feed > article`, custom.css §9) because the
   home feed has multiple articles and needs its own inter-post
   separator (§9a). Single posts have only one top-level article,
   so we remove the stock rules entirely and let the post-header
   sit just below the site header.

   v1.2.5 -- selector tightened from `body.post-template article`
   (which v1.2.3 introduced) to `body.post-template > main > article`.
   The old selector matched EVERY <article> descendant on a single
   post page, including the `<article class="card card-post">`
   elements that partials/component/card-post.hbs renders inside
   the Read next list at the foot of every post (post.hbs lines
   83--90). With `posts_list_style` defaulting to "List Card"
   (package.json line 79), each of those cards expects its own
   border + border-radius (see assets/css/section/cards.css §
   "Style list cards"); the over-broad reset stripped the top
   border of each card, leaving the side+bottom border drawn but
   the top edge missing -- a visible U-shape with rounded top
   corners on every card in the Read next list. The same reset
   also killed `.card { padding: var(--spacing-7) var(--spacing-8) }`
   on its top side because `body.post-template article` (0,1,2)
   beats `:where(.section-cards-list-cards) .card` (0,1,0).

   The narrowed selector `body.post-template > main > article`
   matches only direct-child articles of <main class="content">,
   which is the single top-level post article rendered by
   post.hbs. Card articles in Read next are nested four levels
   deeper (`<section> > <div.section-list> > <div.posts-list> >
   <article.card>`) so they're now unaffected and the stock
   List Card styling applies as designed. */
body.post-template > main > article {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

/* --------------------------------------------------------------------------
   4. Post content (single post pages, also rendered inside .uncanonical-home-feed)
   -------------------------------------------------------------------------- */

/* Body text: Source Serif 4. Applied only to .post-content, which covers
   the reading body of single posts and the full-content homepage cards.
   Post headings (h2, h3) have explicit var(--font-family-headings) rules
   in the compiled theme CSS and so are not affected.
   Post-meta (date / post-id) sits outside .post-content and uses Inter
   (see section 2a below).
   font-weight: 400 for upright text; italics inherit the standard 400-
   weight italic axis (no override). v0.9.1 originally used 425 upright
   and 450 italics, both valid values for Source Serif 4's variable
   weight axis, but the inter-axis math rendered inconsistently across
   browsers and the italics looked visibly heavier than upright body
   text; v1.1 reverted both to 400. */
.post-content {
	font-family: "Source Serif 4", Georgia, serif;
	font-weight: 400;
	font-size: 18px;
}

/* v1.1: removed the explicit italic weight override
   (`.post-content em, .post-content i { font-style: italic;
   font-weight: 450 }`). The variable-font weight axis was rendering
   inconsistently across browsers and producing italics that read
   heavier than the upright body text. With no rule, em/i inherit the
   stock 400-weight italic from Source Serif 4, which keeps italics
   visually consistent with body text and consistent across renderers. */

.post-content-wrapper {
	margin-top: 20px;
}

.post-content h2 {
	font-size: 19px !important;
}

/* h3 in v1.2.2: dropped to 18px (one px above body 18px? no -- equal),
   set color to var(--color-secondary) (= #666 in light mode, see
   custom.css §1) to de-emphasise vs h2, and bumped weight to 600
   (semibold). Geist is a variable font (font-weight: 100 900 declared
   in default.hbs's @font-face), so 600 renders natively without
   substitution. Net effect: h3 reads as a quieter, semibold rubric
   below h2's louder 20px, instead of competing with body text at
   the same size. */
.post-content h3 {
	font-size: 18px !important;
	color: var(--color-secondary);
	font-weight: 600;
}

/* Post title sizing. Applies in two places that share the
   `.post-title` class: post.hbs's `<h1 class="post-title">` on
   single post pages, and partials/component/card-post.hbs's
   `<h1 class="post-title">` in the "full" branch (which is what
   the homepage feed renders via .uncanonical-home-feed). The bare
   element renders at the theme's default heading-1 size (about
   18px); 21px (v1.2.4, down from 22px in v1.2.2 -> 23px in v1.2.1)
   gives the title a clear step above the 19px h2 and 18px body /
   h3 without overpowering the page. Both touchpoints use the same
   selector so a single rule covers both. */
.post-title {
	font-size: 21px;
}

.post-content blockquote {
	color: var(--color-secondary);
}

sup,
.footnote-ref {
	font-size: 0.8em;
}

/* Post-body hyperlinks -- understated underline. */
.post-content a {
	text-decoration-color: var(--color-border) !important;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

.post-content a u {
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. Hide stock theme chrome we don't want anywhere
   -------------------------------------------------------------------------- */

.post-excerpt,
.card-meta,
.card-footer,
.social-links,
section.container.post-author,
.button-share.navigation.navigation-share,
.navigation.navigation-post-tags {
	display: none !important;
}

/* --------------------------------------------------------------------------
   5a. Hide the primary-tag link in post-meta site-wide. The post-meta
       block on home.hbs and post.hbs renders {{#primary_tag}} ... an
       <a class="post-tag"> followed by a "--" separator span ... before
       the date. We don't want either, so the metadata reads simply:
       `D MMMM YYYY • #YY.DDDD` (date + post id).
   -------------------------------------------------------------------------- */

.post-meta > .post-tag,
.post-meta > .post-tag + span {
	display: none;
}

/* --------------------------------------------------------------------------
   5b. Post ID styling. The post-id span lives next to the post-date
       in post-meta and contains "&bull; #YY.DDDD" where YY.DDDD is
       e.g. "26.118". `tabular-nums` keeps digit widths consistent if
       these are ever stacked in a list or column. Otherwise it
       inherits surrounding metadata typography.
   -------------------------------------------------------------------------- */

.post-id {
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   2a. Post-meta font (date and post-id)
       .post-meta sits outside .post-content so it doesn't inherit Source
       Serif 4. Explicitly set Inter here to match the nav / logo stack.
   -------------------------------------------------------------------------- */

.post-meta {
	font-family: "Inter", sans-serif;
}

/* Post date sizing, weight & case. The compiled theme inherits
   .post-meta's font-size: var(--font-small) (= 14px) and font-weight:
   var(--font-weight-medium) (= 500). Targeted at .post-date
   specifically rather than the .post-meta wrapper so other potential
   children (e.g. a re-enabled post-id span -- see §5b) keep the
   wrapper's defaults.

   History:
   - v1.2.4 bumped the date to 15px / weight 400 for a slightly
     lighter, slightly larger metadata line.
   - v1.2.5 returned to 14px (the theme small-font default), set
     weight 450 (a touch above regular for Inter's variable axis),
     and added text-transform: uppercase. Net effect: the date
     reads as a small uppercase caption -- lower visual weight
     than the v1.2.4 lowercase treatment but more distinctive at
     a glance, matching the lowercase logo/nav by contrast. */
.post-date {
	font-size: 14px;
	font-weight: 450;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   2b. Sign-in / sign-up form chrome -- Inter

   The signin.hbs and signup.hbs templates wrap their form (label,
   input, button) inside a `<div class="post-content">` (signin.hbs
   line 42; signup.hbs line 41). They do this so the form picks up
   the standard post container width and side margins.

   The structural choice has a typographic side-effect:
   .post-content (§4 above) sets `font-family: 'Source Serif 4'`,
   and `assets/css/base/reboot.css` lines 43-48 reset
   `input, button, select, textarea { font: inherit }`. So every
   form element inherits Source Serif 4 -- making the "Your email"
   label, the typed email value, and the "Sign in" button text all
   render in the body-text serif. That reads as old-school book
   typography on what is structurally a UI form, the wrong
   register.

   Fix: explicit Inter declaration on form chrome inside the two
   sign-in/up templates, matching the Inter treatment already used
   for the subscribe form (.uc-sub, §7) and the rest of the site's
   form/UI chrome.

   Scope deliberately narrow: only the form elements themselves,
   not the surrounding paragraphs inside .post-content. The
   trailing "Don't have an account? Sign up" link paragraph
   (signin.hbs line 62) and the equivalent "Already a member?" on
   signup.hbs line 64 are left in Source Serif 4. They're inside
   .post-content alongside any page HTML the author writes in the
   signin/signup page admin editor; the helper paragraph has no
   distinguishing class, so a CSS selector that catches it would
   also catch admin-authored body paragraphs -- false-positive
   risk we don't want. Acceptable cost: the helper paragraph reads
   as body text rather than chrome, which is at worst a small
   register mismatch with the form above it.

   Specificity check:
     `body.template-signin .post-content form` = (0,2,2),
     beating `.post-content` (§4) = (0,1,0). No !important needed.

   The `<form class="container">` for already-signed-in members in
   `partials/layout/account.hbs` is outside .post-content and uses
   the `.button` class, so it's not affected by Source Serif 4
   inheritance and doesn't need a rule here. Same for pricing
   tables (page-membership.hbs) and error pages -- all outside
   .post-content, all already in Geist by inheritance.
   -------------------------------------------------------------------------- */

body.template-signin .post-content form,
body.template-signin .post-content label,
body.template-signin .post-content input,
body.template-signin .post-content button,
body.template-signup .post-content form,
body.template-signup .post-content label,
body.template-signup .post-content input,
body.template-signup .post-content button {
	font-family: "Inter", sans-serif;
}

/* --------------------------------------------------------------------------
   5c. Footnote text size
       .footnote-item wraps each footnote at the bottom of a post. The
       theme doesn't set an explicit font-size on it, so it inherits the
       body/post-content size. Reduce by 2px relative to the 17px body
       size to make footnotes clearly subordinate.
   -------------------------------------------------------------------------- */

.footnote-item {
	font-size: 15px;
}

/* --------------------------------------------------------------------------
   6. Footer
   -------------------------------------------------------------------------- */

body > footer > div {
	text-align: center;
}

/* v1.2.5: mute the copyright line. The stock theme inherits
   --color-foreground (#000 in light mode per §1) for the
   `.footer-copyright` div, which renders the line at full body-text
   contrast at the very bottom of every page -- visually heavier
   than warranted for a chrome element. #666 (= var(--color-secondary),
   inlined here for clarity) brings it down to the same de-emphasised
   grey we use for h3 (§4) and blockquote (§4). The selector matches
   `.footer-copyright` from partials/layout/footer-copyright.hbs (the
   only consumer of the class in the theme). */
.footer-copyright {
	color: #666;
}

/* --------------------------------------------------------------------------
   7. Subscription section (.uc-sub)
      Styles for the custom subscribe box rendered by
      partials/section/subscription.hbs. Extracted from the in-post
      HTML prototype the user designed, so inline <style> tags are not
      needed in the partial itself.
   -------------------------------------------------------------------------- */

.uc-sub {
	max-width: 440px;
	margin: 30px auto 40px auto;
}

.uc-sub__heading {
	font-family: "Inter", sans-serif;
	font-size: 22px;
	font-weight: 450;
	line-height: 1.3;
	text-align: center;
	margin: 0 0 15px 0;
	text-transform: lowercase;
}

.uc-sub form.form-subscribe {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 8px;
	margin: 0;
	text-transform: lowercase;
}

.uc-sub form.form-subscribe input {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	text-transform: lowercase;
	background-color: #fff;
	border: 1px solid var(--color-border);
	font-family: "Inter", sans-serif;
}

.uc-sub form.form-subscribe input::placeholder {
	text-transform: lowercase;
}

.uc-sub form.form-subscribe button {
	flex: 0 0 auto;
	width: auto;
	margin-top: 0;
	text-transform: lowercase;
	font-family: "Inter", sans-serif;
}

.uc-sub form.form-subscribe .form-alert {
	flex-basis: 100%;
	width: 100%;
	text-align: center;
}

/* --------------------------------------------------------------------------
   8. Comments button (re-labeled "Comments" with a small icon)

   v1.3.0: selector widened from
   `.post-buttons button[data-popup-toggle="#popup-comments"]` (single
   posts only) to `.post-buttons .post-comments-button`, the class on
   partials/post/button-comments.hbs. On the homepage feed the same
   button toggles `#popup-{{slug}}` instead (card-post.hbs), so the old
   attribute selector missed it once comments were re-enabled there.

   v1.3.1: Inter pinned on the button. Like `.button-link` (§2), the
   compiled `.button` rule takes its font from --font-family-button,
   which follows the Ghost admin body font (IBM Plex Serif on the live
   site), so the "Comments" label rendered in a serif. Set on the
   button itself so the ::before label and the comment-count span both
   inherit it. (0,2,0) beats the theme's `.button` (0,1,0).
   -------------------------------------------------------------------------- */

.post-buttons .post-comments-button {
	font-family: "Inter", sans-serif;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding-right: 7px;
	padding-left: 8px;
}

.post-buttons .post-comments-button::before {
	content: "Comments";
	font-size: 14px;
	line-height: 1;
}

.post-buttons .post-comments-button svg * {
	fill: #3269ff !important;
	stroke: #3269ff !important;
}

/* --------------------------------------------------------------------------
   9. Homepage feed -- the .uncanonical-home-feed wrapper rendered by
      home.hbs. Direct children are full-content articles (style="full").
   -------------------------------------------------------------------------- */

/* Flex column with no flex gap; the inter-post space is provided by
   `padding-top: 9rem` on every article-after-the-first (below). The
   padding-top approach gives us a positioning context for the horizontal
   rule pseudo-element that sits in the middle of that strip. */
.uncanonical-home-feed {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding-bottom: 0;
}

/* The compiled theme CSS applies `margin-top`, `padding-top`, and
   `border-top` to the bare `article` element (element selector). Reset
   all three inside our feed so only our `article + article` rule below
   controls the inter-post gap. Without this reset the compiled margin-top
   (5rem) stacks invisibly, inflating the gap after the last post. */
.uncanonical-home-feed > article {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

/* Post titles on the homepage: drop the link underline only. The
   font-size is left at the theme's heading-1 default (1.125rem = 18px).
   An earlier iteration bumped it to 20px; that was reverted. */
.uncanonical-home-feed .post-title a,
.uncanonical-home-feed .post-title a:hover {
	text-decoration: none;
}

/* Strip per-card chrome on the homepage: feature image / video and
   custom excerpt. The primary-tag link and its trailing "--" separator
   are hidden globally in section 5a, and the post-tags nav and share
   button are hidden globally in section 5, so they don't need to be
   repeated here.

   v1.3.0 (comments re-enabled): v1.2.x also hid `.post-footer` and
   `.popup-comments` here, which removed the Comments button and its
   popup from every post in the feed. Both rules are gone. The footer
   is now hidden only when it has no comments button in it (i.e. when
   Ghost's Commenting setting is off), so the feed's spacing is
   unchanged in that case. When Commenting is on, the footer shows
   just the Comments button (tags and share stay hidden by §5).
   To return to comments on single posts only, restore:
     .uncanonical-home-feed .post-footer { display: none; }
     .uncanonical-home-feed .popup-comments { display: none !important; } */

.uncanonical-home-feed .post-media,
.uncanonical-home-feed .post-excerpt {
	display: none;
}

.uncanonical-home-feed .post-footer:not(:has(.post-comments-button)) {
	display: none;
}

/* --------------------------------------------------------------------------
   9a. Inter-post horizontal-rule separator
       Each subsequent article gets a 9rem padding-top strip; an
       absolutely-positioned ::before draws a 1px horizontal line at
       the vertical center of that strip (top: 4.5rem). The line is
       width-constrained to `--container--width` so it matches the
       post-text width rather than spanning the full article box, and
       coloured with `var(--color-contrast)` so it adapts: #000 in
       light mode, #fff in dark mode. (Earlier iterations: pilcrow
       glyph U+00B6 in Verdana; monogram image at 100px / 25% opacity;
       thin line at `var(--color-border)`; brief stint at solid #000
       before the dark-mode pass.)
   -------------------------------------------------------------------------- */

.uncanonical-home-feed > article + article {
	padding-top: 9rem;
	position: relative;
}

.uncanonical-home-feed > article + article::before {
	content: "";
	position: absolute;
	top: 4.5rem;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: var(--container--width);
	height: 1px;
	background-color: var(--color-contrast);
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   10. (removed in v1.1) Archive link at the bottom of the homepage feed.
       The `<nav class="uncanonical-archive-link">` block was removed
       from home.hbs and the CSS rules that styled it (right-aligned
       Inter / 16px / blue underline-on-hover, plus a negative top
       margin to absorb the parent's 40px flex gap) were removed
       here. The /writings/ collection page is still reachable via
       the main nav. The section number is left visible so the
       remaining numbering stays aligned with prior changelog entries.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   11. In-post horizontal rules
       <hr> elements inserted into post bodies via the Ghost editor
       are restyled to render as three half-opacity bullets ("•  •  •")
       instead of a line. This visually distinguishes them from the
       inter-post separator (section 9a, a thin black line).

       Why each declaration matters:
       - `border: none; background: none; height: auto; overflow: visible`
         -- override the theme's reboot.css, which gives <hr> a
         `border-top: 1px solid var(--color-border)` and `opacity: 1`.
         Without these resets, the original line would still draw
         underneath the bullets.
       - `text-align: center` -- centers the inline pseudo-content.
       - `margin: 1.5rem auto` -- the `auto` is critical. The theme's
         pages/post.css applies `max-width: var(--container--width);
         margin-right: auto; margin-left: auto` to every direct child
         of .post-content. A `margin: 1.5rem 0` shorthand would erase
         the horizontal autos and slam the <hr> against the left edge.
       - `color: var(--color-contrast)` on the ::after -- explicitly
         overrides the theme's `color: var(--color-border)`, which is
         a near-transparent gray; without this, opacity: 0.5 leaves
         the bullets invisible. `--color-contrast` is #000 in light
         mode and #fff in dark mode, so the bullets adapt.
       - `opacity: 0.5` -- 50% of whatever color-contrast renders as.
   -------------------------------------------------------------------------- */

.post-content hr {
	border: none;
	background: none;
	height: auto;
	overflow: visible;
	text-align: center;
	margin: 1.5rem auto;
}

.post-content hr::after {
	content: "•  •  •";
	color: var(--color-contrast);
	opacity: 0.5;
}
