/* =============================================================
   The Long Game: "paper dossier" style for Twenty Twenty-Five
   Paste into: Appearance > Editor > Styles > (⋮) Additional CSS
   Fonts: loaded by the @import line at the top (keep it first). The fallbacks below
   keep the look close if they are missing.
   ============================================================= */
:root {
/* Map onto Twenty Twenty-Five's palette */
}

/* ---------- Page and text ---------- */
body {
	background: var(--lg-paper);
	color: var(--lg-ink);
	font-family: var(--lg-serif);
	line-height: 1.65;
}

a {
	color: var(--lg-red);
	text-underline-offset: .15em;
}

a:hover {
	color: var(--lg-red-dark);
}

/* ---------- Headings: typewriter file style ---------- */
h1, .wp-block-post-title, .wp-block-site-title {
	font-family: var(--lg-type);
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--lg-ink);
}

.wp-block-site-title a {
	color: var(--lg-ink);
	text-decoration: none;
}

.wp-block-site-tagline {
	font-family: var(--lg-mono);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--lg-ink-muted);
}

/* Rule under a single post's title, like a file cover */
.single .wp-block-post-title,
.page .wp-block-post-title {
	border-bottom: 2px solid var(--lg-ink);
	padding-bottom: .3em;
}

h2 {
	font-family: var(--lg-mono);
	font-weight: 600;
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--lg-ink-muted);
	border-bottom: 1px solid var(--lg-rule);
	padding-bottom: .25em;
	margin-top: 2.2em;
}

h3 {
	font-family: var(--lg-mono);
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: .04em;
}

/* Post titles in lists stay in the typewriter face, not the h2 style */
.wp-block-post-template h2.wp-block-post-title,
.wp-block-post-template .wp-block-post-title {
	font-family: var(--lg-type);
	text-transform: none;
	letter-spacing: .01em;
	font-size: 1.5rem;
	color: var(--lg-ink);
	border-bottom: none;
	margin-top: .2em;
}

.wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.wp-block-post-title a:hover {
	color: var(--lg-red);
}

/* ---------- Header and menu ---------- */
header.wp-block-template-part {
	border-bottom: 3px double var(--lg-ink);
}

.wp-block-navigation {
	font-family: var(--lg-mono);
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.wp-block-navigation a:hover {
	color: var(--lg-red);
}

/* ---------- Categories as rubber stamps ---------- */
.wp-block-post-terms.taxonomy-category a {
	display: inline-block;
	padding: .05em .5em;
	border: 1.5px solid var(--lg-red);
	border-radius: 3px;
	color: var(--lg-red);
	font-family: var(--lg-mono);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	transform: rotate(-2deg);
	margin: 0 .3em .3em 0;
}

.wp-block-post-terms.taxonomy-category .wp-block-post-terms__separator {
	display: none;
}

/* Tags: strands get their own colours, others stay plain */
.wp-block-post-terms.taxonomy-post_tag a {
	font-family: var(--lg-mono);
	font-size: .75rem;
	color: var(--lg-ink-muted);
	text-decoration: none;
}

.wp-block-post-terms a[href*="/tag/empire/"] {
	color: #fff;
	background: var(--lg-empire);
	padding: 0 .4em;
	border-radius: 2px;
}

.wp-block-post-terms a[href*="/tag/ideology/"] {
	color: #fff;
	background: var(--lg-ideology);
	padding: 0 .4em;
	border-radius: 2px;
}

.wp-block-post-terms a[href*="/tag/intelligence/"] {
	color: #fff;
	background: var(--lg-intelligence);
	padding: 0 .4em;
	border-radius: 2px;
}

.wp-block-post-terms a[href*="/tag/literature/"] {
	color: #fff;
	background: var(--lg-literature);
	padding: 0 .4em;
	border-radius: 2px;
}

.wp-block-post-terms a[href*="/tag/concrete/"] {
	color: #fff;
	background: var(--lg-concrete);
	padding: 0 .4em;
	border-radius: 2px;
}

/* ---------- Dates, authors and other metadata ---------- */
.wp-block-post-date,
.wp-block-post-author-name,
.wp-block-post-comments-link {
	font-family: var(--lg-mono);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--lg-ink-muted);
}

/* ---------- Quotes, tables, images ---------- */
.wp-block-quote, blockquote {
	border-left: 3px solid var(--lg-rule);
	font-style: italic;
	color: var(--lg-ink-muted);
}

.wp-block-pullquote {
	border-top: 2px solid var(--lg-ink);
	border-bottom: 2px solid var(--lg-ink);
	font-family: var(--lg-type);
}

.wp-block-table th {
	font-family: var(--lg-mono);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	background: var(--lg-paper-deep);
}

.wp-block-table td, .wp-block-table th {
	border-color: var(--lg-rule);
}

.wp-block-image figcaption, figcaption {
	font-family: var(--lg-mono);
	font-size: .75rem;
	color: var(--lg-ink-muted);
}

/* ---------- Boxes: add the class in Block > Advanced > Additional CSS class ---------- */
/* "dossier"  : a file-card box, e.g. a profile at the top of a briefing      */
/* "source"   : a source-assessment box                                        */
/* "brief"    : a guiding-question box                                         */
.dossier, .source, .brief {
	background: var(--lg-paper-deep);
	border: 1px solid var(--lg-rule);
	border-left: 3px solid var(--lg-empire);
	border-radius: 2px;
	padding: 1em 1.2em;
}

.source {
	border-left-color: var(--lg-red);
}

.brief {
	border-left-color: var(--lg-ideology);
}

.dossier > :first-child, .source > :first-child, .brief > :first-child {
	margin-top: 0;
}

/* "tiles": add to a Columns or Group block of linked paragraphs (home page periods) */
.tiles > * {
	background: var(--lg-paper-deep);
	border: 1px solid var(--lg-rule);
	border-top: 3px solid var(--lg-red);
	border-radius: 2px;
	padding: .7em .9em;
	font-family: var(--lg-mono);
	font-size: .85rem;
}

.tiles a {
	font-weight: 600;
	text-decoration: none;
}

/* ---------- Buttons and footer ---------- */
.wp-element-button, .wp-block-button__link {
	background: var(--lg-red);
	color: var(--lg-paper);
	font-family: var(--lg-mono);
	text-transform: uppercase;
	letter-spacing: .08em;
	border-radius: 2px;
}

.wp-element-button:hover, .wp-block-button__link:hover {
	background: var(--lg-red-dark);
}

footer.wp-block-template-part {
	border-top: 3px double var(--lg-ink);
	font-family: var(--lg-mono);
	font-size: .8rem;
}

/* Force the dossier fonts over whatever typeset is selected */
body, p, li, .wp-block-post-content {
	font-family: var(--lg-serif);
}

h4, h5, h6 {
	font-family: var(--lg-mono);
}