/*
Theme Name: NISA
Theme URI: https://nisa-intelligence.nl
Author: Converzo
Author URI: https://converzo.nl
Description: Modern maatwerkthema voor de Netherlands Intelligence Studies Association.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: nisa
*/

/* ---------- fonts ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
	src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
	src: url("assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900;
	src: url("assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-display: swap; font-weight: 200 900;
	src: url("assets/fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-display: swap; font-weight: 200 900;
	src: url("assets/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
	--navy-900: #0a1730;
	--navy-800: #0f2244;
	--navy-700: #17305c;
	--blue-600: #2f5ea8;
	--blue-500: #3a6fc2;
	--blue-50:  #eef3fb;
	--accent:   #f28c28;
	--accent-600: #d9731a;
	--ink:      #1b2433;
	--ink-soft: #4a5568;
	--muted:    #6b7685;
	--line:     #e3e7ee;
	--bg:       #ffffff;
	--bg-tint:  #f5f7fa;
	--radius:   14px;
	--radius-sm: 8px;
	--shadow-sm: 0 1px 2px rgba(10, 23, 48, .06), 0 1px 3px rgba(10, 23, 48, .05);
	--shadow:    0 10px 30px -12px rgba(10, 23, 48, .22), 0 2px 6px rgba(10, 23, 48, .05);
	--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--container: 1200px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--header-h: 84px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--navy-800); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; color: var(--navy-900); letter-spacing: -.01em; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy-900); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
	font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--accent-600); margin: 0 0 .9rem;
}

.btn {
	display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.35rem; border-radius: 999px;
	font-weight: 600; font-size: .98rem; text-decoration: none; transition: background .2s, color .2s, transform .2s, border-color .2s;
	border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--navy-900); }
.btn--accent:hover { background: #ffa04a; color: var(--navy-900); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.link-arrow { font-weight: 600; text-decoration: none; color: var(--blue-600); white-space: nowrap; }
.link-arrow:hover { color: var(--navy-900); text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
	backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(10,23,48,.4); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.site-logo { flex: none; display: block; }
.site-logo__img { width: 230px; height: auto; }
.site-logo__text { font-family: var(--font-serif); font-weight: 700; font-size: 1.6rem; color: var(--navy-900); }

.site-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav a {
	display: block; padding: .55rem .75rem; border-radius: var(--radius-sm); text-decoration: none;
	color: var(--ink); font-weight: 500; font-size: .95rem; white-space: nowrap;
}
.primary-nav a:hover { background: var(--bg-tint); color: var(--navy-900); }
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current-menu-parent > a { color: var(--blue-600); }
.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-ancestor > a::after { content: ""; display: block; height: 2px; margin-top: 2px; background: var(--accent); border-radius: 2px; }
.submenu-toggle { background: none; border: 0; padding: .35rem; margin-left: -.5rem; color: var(--muted); cursor: pointer; border-radius: 6px; display: inline-flex; }
.submenu-toggle:hover { color: var(--navy-900); }
.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + .35rem); left: 0; min-width: 220px;
	background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.primary-nav .sub-menu a { padding: .55rem .75rem; }
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav li.is-open > .submenu-toggle svg { transform: rotate(180deg); }

.site-tools { display: flex; align-items: center; gap: .5rem; padding-left: 1rem; border-left: 1px solid var(--line); }
.search-toggle { background: none; border: 0; color: var(--ink); padding: .5rem; border-radius: var(--radius-sm); cursor: pointer; display: inline-flex; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { background: var(--bg-tint); color: var(--navy-900); }
.lang-switch { list-style: none; display: flex; gap: 2px; margin: 0; padding: 3px; background: var(--bg-tint); border-radius: 999px; }
.lang-switch a { display: block; padding: .25rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; color: var(--muted); }
.lang-switch a:hover { color: var(--navy-900); }
.lang-switch a.is-current { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }

.site-search { border-top: 1px solid var(--line); background: #fff; padding: 1rem 0 1.25rem; }
.search-form { display: flex; gap: .5rem; max-width: 720px; }
.search-form input[type=search] {
	flex: 1; min-width: 0; font: inherit; padding: .8rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
.search-form input[type=search]:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px var(--blue-50); }
.search-form button { font: inherit; font-weight: 600; padding: .8rem 1.3rem; border-radius: 999px; border: 0; background: var(--navy-800); color: #fff; cursor: pointer; }
.search-form button:hover { background: var(--blue-600); }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
	:root { --header-h: 70px; }
	.site-logo__img { width: 180px; }
	.nav-toggle {
		display: inline-flex; align-items: center; gap: .55rem; margin-left: auto; background: var(--bg-tint); border: 0;
		padding: .6rem .9rem; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--navy-900); cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav {
		display: none; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 40;
		flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 2rem; overflow-y: auto; margin: 0;
	}
	.admin-bar .site-nav { inset-block-start: calc(var(--header-h) + 46px); }
	.site-nav.is-open { display: flex; }
	.nav-open { overflow: hidden; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a { flex: 1; padding: 1rem .25rem; font-size: 1.1rem; }
	.primary-nav .current-menu-item > a::after, .primary-nav .current-menu-ancestor > a::after { display: none; }
	.submenu-toggle { padding: .9rem; margin: 0; }
	.primary-nav .sub-menu { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 .75rem .75rem; display: none; opacity: 1; visibility: visible; transform: none; min-width: 0; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: none; }
	.primary-nav li.is-open > .sub-menu { display: block; }
	.site-tools { border-left: 0; padding: 1.25rem 0 0; justify-content: space-between; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, #24467f 0%, transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-900) 70%); }
.hero__pattern {
	position: absolute; inset: 0; opacity: .18; pointer-events: none;
	background-image: repeating-linear-gradient(100deg, rgba(255,255,255,.55) 0 1px, transparent 1px 18px);
	-webkit-mask-image: radial-gradient(ellipse 60% 90% at 80% 40%, #000 0%, transparent 70%);
	mask-image: radial-gradient(ellipse 60% 90% at 80% 40%, #000 0%, transparent 70%);
}
.hero__inner { position: relative; padding-block: clamp(4rem, 10vw, 7.5rem) clamp(4rem, 9vw, 6.5rem); }
.hero .eyebrow { color: var(--accent); }
.hero__title { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.06; max-width: 15ch; margin-bottom: 1.25rem; font-weight: 600; }
.hero__lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: rgba(255,255,255,.78); max-width: 46ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tint { background: var(--bg-tint); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section__title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }

.intro { max-width: 820px; margin-inline: auto; }
.intro > p:first-child strong:only-child,
.intro > p:first-child > strong { font-family: var(--font-serif); }

/* ---------- page head ---------- */
.page-head { background: linear-gradient(180deg, var(--bg-tint), #fff); border-bottom: 1px solid var(--line); padding-block: clamp(2.75rem, 6vw, 4.25rem) clamp(2rem, 4vw, 3rem); }
.page-head__title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 0; max-width: 24ch; }
.page-head__intro { margin-top: 1rem; color: var(--ink-soft); max-width: 65ch; }
.page-head__search { margin-top: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip {
	display: inline-flex; align-items: center; padding: .35rem .85rem; border-radius: 999px; font-size: .88rem; font-weight: 500;
	text-decoration: none; background: #fff; color: var(--ink); border: 1px solid var(--line); transition: all .15s;
}
.chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.chip.is-current { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip--quiet { background: var(--bg-tint); border-color: transparent; }

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card {
	position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--bg-tint); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__media--cover { background: linear-gradient(140deg, #e8edf5, #f6f8fb); padding: 1.1rem 0; }
.card__media--cover img { object-fit: contain; filter: drop-shadow(0 10px 16px rgba(10,23,48,.25)); }
.card:hover .card__media--cover img { transform: scale(1.04) rotate(-.5deg); }
.card--no-media .card__body { border-top: 4px solid var(--accent); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.5rem; }
.card__title { font-size: 1.28rem; margin: .65rem 0 .55rem; line-height: 1.28; }
.card__title a { color: var(--navy-900); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:hover { color: var(--blue-600); }
.card__excerpt { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.1rem; }
.card__more { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--blue-600); }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; font-size: .85rem; color: var(--muted); }
.badge {
	position: relative; z-index: 1; display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600;
	letter-spacing: .02em; text-decoration: none; background: var(--blue-50); color: var(--blue-600);
}
.badge:hover { background: var(--blue-600); color: #fff; }

.pagination { margin-top: 3rem; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination a, .pagination span { display: inline-flex; min-width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; padding: 0 .9rem; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--ink); border: 1px solid var(--line); background: #fff; }
.pagination a:hover { border-color: var(--blue-500); color: var(--blue-600); }
.pagination .current { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.pagination .dots { border: 0; background: none; }
.empty { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- books ---------- */
.books { background: var(--navy-900); color: rgba(255,255,255,.8); overflow: hidden; }
.books .section__title { color: #fff; margin-bottom: .75rem; }
.books .link-arrow { color: var(--accent); }
.books .link-arrow:hover { color: #fff; }
.books__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 3rem; align-items: center; }
.books__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 3vw, 2.25rem); justify-content: flex-end; }
.book { flex: 0 1 180px; }
.book img { width: 100%; border-radius: 4px 8px 8px 4px; box-shadow: 0 25px 40px -18px rgba(0,0,0,.7), inset 3px 0 0 rgba(255,255,255,.15); transition: transform .3s; }
.book a:hover img { transform: translateY(-6px) rotate(-1deg); }
.book:nth-child(2) { transform: translateY(-14px); }
@media (max-width: 860px) {
	.books__inner { grid-template-columns: 1fr; gap: 2rem; }
	.books__list { justify-content: flex-start; }
	.book:nth-child(2) { transform: none; }
}

/* ---------- article ---------- */
.entry-head { background: linear-gradient(180deg, var(--bg-tint), #fff); padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.25rem); }
.container--narrow-head { max-width: calc(860px + 2 * var(--gutter)); margin-inline: auto; }
.entry-title { font-size: clamp(2rem, 4.2vw, 3rem); margin: .9rem 0 0; line-height: 1.12; }
.entry-layout { max-width: calc(860px + 2 * var(--gutter)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.entry-layout.has-aside { max-width: var(--container); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.entry-layout.has-aside .entry-main { grid-column: 1; grid-row: 1; }
.entry-layout.has-aside .entry-aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 1.5rem); }
body.single .entry:has(.has-aside) .container--narrow-head { max-width: var(--container); }
.entry-hero { margin: 0 0 2.5rem; border-radius: var(--radius); overflow: hidden; background: var(--bg-tint); }
.entry-hero img { width: 100%; max-height: 560px; object-fit: cover; }
.cover { margin: 0; padding: 1.75rem; background: linear-gradient(140deg, #e8edf5, #f6f8fb); border-radius: var(--radius); }
.cover img { margin-inline: auto; border-radius: 3px 6px 6px 3px; box-shadow: 0 25px 40px -20px rgba(10,23,48,.55); }
@media (max-width: 900px) {
	.entry-layout.has-aside { grid-template-columns: 1fr; }
	.entry-layout.has-aside .entry-aside { grid-row: 1; grid-column: 1; position: static; }
	.entry-layout.has-aside .entry-main { grid-row: 2; }
	.cover { max-width: 300px; }
}

.entry-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.entry-section__title { font-size: 1.35rem; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.doc-list a { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.doc-list a:hover { border-color: var(--blue-500); background: var(--blue-50); }
.doc-list__icon { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 8px; background: var(--navy-800); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.doc-list__name { flex: 1; font-weight: 500; }
.doc-list__size { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.entry-terms { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; }
.entry-terms > div { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.entry-terms__label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: .4rem; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: clamp(3rem, 6vw, 5rem); max-width: calc(860px + 2 * var(--gutter)); }
.post-nav__link { display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.post-nav__link:hover { border-color: transparent; box-shadow: var(--shadow); }
.post-nav__link span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.post-nav__link strong { font-family: var(--font-serif); font-weight: 600; color: var(--navy-900); line-height: 1.3; }
.post-nav__link--next { text-align: right; grid-column: 2; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: 1; } }

/* ---------- prose (migrated content) ---------- */
.prose { font-size: 1.075rem; line-height: 1.75; color: var(--ink); overflow-wrap: break-word; }
.prose--page { max-width: 820px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.7rem; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.35rem; margin: 2em 0 .5em; }
.prose h4, .prose h5, .prose h6 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; margin: 1.8em 0 .5em; }
.prose p strong:only-child { color: var(--navy-900); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent-600); }
.prose blockquote { margin: 2em 0; padding: .4em 0 .4em 1.5em; border-left: 3px solid var(--accent); font-family: var(--font-serif); font-size: 1.15em; color: var(--navy-800); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose img { border-radius: 10px; margin-block: 1.5em; }
.prose img.aligncenter { margin-inline: auto; }
.prose img.alignleft { float: left; margin: .4em 1.75em 1em 0; max-width: 45%; }
.prose img.alignright { float: right; margin: .4em 0 1em 1.75em; max-width: 45%; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: .6em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95em; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6em .5em; text-align: left; vertical-align: top; }
.prose a { word-break: break-word; }
.prose::after { content: ""; display: table; clear: both; }
.prose sub, .prose sup { line-height: 0; }

.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin: 1.5em 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed .embed { margin: 0; border-radius: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.site-footer__mark { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 6px; margin-bottom: 1.1rem; }
.site-footer__name { font-family: var(--font-serif); font-size: 1.2rem; color: #fff; font-weight: 600; margin-bottom: .5rem; }
.site-footer__about p:last-child { max-width: 42ch; }
.site-footer__heading { font-family: var(--font-sans); color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-menu { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .45rem; }
.social { display: inline-flex; align-items: center; gap: .5rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem 2rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.site-footer__bottom p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* hero layout with conference card */
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-card {
	display: flex; flex-direction: column; gap: .9rem; padding: 2rem; border-radius: 20px; text-decoration: none; color: #fff;
	background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
	border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
	backdrop-filter: blur(6px); transition: transform .25s, border-color .25s;
}
.hero-card:hover { color: #fff; transform: translateY(-4px); border-color: rgba(242,140,40,.7); }
.hero-card__label { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900); background: var(--accent); padding: .3rem .7rem; border-radius: 999px; }
.hero-card__title { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; }
.hero-card__text { color: rgba(255,255,255,.7); }
.hero-card__more { font-weight: 600; color: var(--accent); }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
	.books__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
	.book { flex: none; }
}
