/* EW Journal - self-contained stylesheet. Fonts are bundled locally; no external requests. */

/* Body text: EB Garamond. Headings/display: Cormorant Garamond.
   Each family ships in latin + latin-ext subsets (Polish diacritics live in latin-ext). */
@font-face {
	font-family: "EWJ Text";
	src: url("fonts/ebgaramond-400-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "EWJ Text";
	src: url("fonts/ebgaramond-400-latin-ext.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "EWJ Text";
	src: url("fonts/ebgaramond-400i-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "EWJ Text";
	src: url("fonts/ebgaramond-400i-latin-ext.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "EWJ Text";
	src: url("fonts/ebgaramond-500-latin.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "EWJ Text";
	src: url("fonts/ebgaramond-500-latin-ext.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "EWJ Text";
	src: url("fonts/ebgaramond-700-latin.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "EWJ Text";
	src: url("fonts/ebgaramond-700-latin-ext.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "EWJ Display";
	src: url("fonts/cormorantgaramond-500-latin.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "EWJ Display";
	src: url("fonts/cormorantgaramond-500-latin-ext.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "EWJ Display";
	src: url("fonts/cormorantgaramond-500i-latin.woff2") format("woff2");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "EWJ Display";
	src: url("fonts/cormorantgaramond-500i-latin-ext.woff2") format("woff2");
	font-weight: 500;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "EWJ Display";
	src: url("fonts/cormorantgaramond-600-latin.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "EWJ Display";
	src: url("fonts/cormorantgaramond-600-latin-ext.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "EWJ Display";
	src: url("fonts/cormorantgaramond-700-latin.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "EWJ Display";
	src: url("fonts/cormorantgaramond-700-latin-ext.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--paper: #ffffff;
	--paper-2: #ffffff;
	/* Sampled from the EW monogram artwork. */
	--navy: #1b3a8f;
	--navy-deep: #0d1f5c;
	--navy-soft: #4a63a8;
	--royal: #14286e;
	--royal-light: #3f63c4;
	--rule: rgba(27, 58, 143, 0.35);
	--rule-soft: rgba(27, 58, 143, 0.18);
	--serif: "EWJ Text", Georgia, "Garamond", "Palatino Linotype", "Times New Roman", serif;
	--display: "EWJ Display", "EWJ Text", Georgia, "Times New Roman", serif;
	--frame-pad: clamp(18px, 4vw, 56px);
	--measure: 72ch;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--navy-deep);
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover, a:focus { color: var(--navy-deep); text-decoration: underline; }

.skip-link {
	position: absolute;
	left: -9999px;
}
.skip-link:focus {
	left: 12px;
	top: 12px;
	background: var(--paper);
	border: 1px solid var(--navy);
	padding: 8px 14px;
	z-index: 50;
}

.eyebrow {
	font-size: 0.68rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--navy);
}

/* ---------- Ornamental frame ---------- */

.ewj-page { padding: clamp(16px, 2.2vw, 30px); }

.ewj-frame {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	border: 3px solid var(--navy);
	padding: 5px;
	background: var(--paper);
}

.ewj-frame__inner {
	position: relative;
	border: 2px solid var(--navy);
	padding: clamp(30px, 4.5vw, 62px) var(--frame-pad) clamp(48px, 7vw, 104px);
}

.ewj-corner {
	position: absolute;
	width: clamp(56px, 8vw, 112px);
	height: auto;
	pointer-events: none;
	z-index: 2;
}
.ewj-corner--tl { top: 8px; left: 8px; }
.ewj-corner--tr { top: 8px; right: 8px; transform: scaleX(-1); }
.ewj-corner--bl { bottom: 8px; left: 8px; transform: scaleY(-1); }
.ewj-corner--br { bottom: 8px; right: 8px; transform: scale(-1); }


.ewj-frame__cap {
	position: absolute;
	left: 50%;
	width: clamp(48px, 6vw, 86px);
	transform: translate(-50%, -50%);
	background: var(--paper);
	padding: 0 8px;
	z-index: 3;
}
.ewj-frame__cap--top { top: -6.5px; }
.ewj-frame__cap--bottom { bottom: -6.5px; transform: translate(-50%, 50%); }

.flourish {
	width: clamp(34px, 4vw, 54px);
	margin: 0 auto;
	opacity: 0.9;
}

/* ---------- Masthead ---------- */

.masthead { text-align: center; }
.masthead a { text-decoration: none; display: block; }
.masthead__mark { width: clamp(64px, 7.4vw, 104px); margin: 0 auto 14px; }
.masthead__title {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(1.85rem, 4.3vw, 3.35rem);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-indent: 0.2em;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--royal);
	background: linear-gradient(180deg, var(--royal-light) 0%, var(--royal) 55%, var(--navy-deep) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
@supports not (background-clip: text) {
	.masthead__title { color: var(--royal); -webkit-text-fill-color: currentColor; }
}
.masthead__tagline { margin: 10px 0 0; }
.masthead__flourish { margin: 14px 0 0; }

.nav {
	margin-top: 22px;
	border-top: 1px solid var(--rule-soft);
	border-bottom: 1px solid var(--rule-soft);
	padding: 14px 0;
}
.nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(14px, 3vw, 40px);
	margin: 0;
	padding: 0;
}
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	margin-top: clamp(24px, 4vw, 44px);
	background: var(--paper);
	padding: 0;
	border: 0;
}

.hero__frame {
	position: relative;
	background: var(--paper);
	/* Split layout: engraving left, text right; ornaments on the outer corners. */
	padding: clamp(44px, 5vw, 68px);
	border: 1px solid var(--rule);
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(26px, 3.6vw, 52px);
}
.hero__frame::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px solid var(--rule);
	pointer-events: none;
	z-index: 1;
}

.hero__media {
	margin: 0;
	position: relative;
	z-index: 2;
}
.hero__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
}

.hero__body {
	position: relative;
	z-index: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 1.8vw, 22px);
	padding: clamp(8px, 1.4vw, 20px);
}
.hero__title {
	margin: 0;
	font-family: var(--display);
	letter-spacing: 0.03em;
	font-weight: 600;
	font-size: clamp(1.9rem, 3.6vw, 3rem);
	line-height: 1.16;
	color: var(--royal);
}
.hero__title a { color: inherit; text-decoration: none; }
.hero__byline { font-style: italic; margin: 0; color: var(--navy-soft); font-size: 1.05em; }

.btn {
	display: inline-block;
	border: 1px solid var(--navy);
	padding: 12px 26px;
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--navy);
	text-decoration: none;
	margin: 6px auto 0;
}
.btn:hover, .btn:focus { background: var(--navy); color: var(--paper); text-decoration: none; }

/* ---------- Section heading ---------- */

.section-head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: clamp(30px, 5vw, 54px) 0 clamp(14px, 2vw, 24px);
}
.section-head::before, .section-head::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--rule-soft);
}
.section-head__text {
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--navy);
	white-space: nowrap;
}
.section-head img { width: 34px; }

/* ---------- Article list ---------- */

.article-list { list-style: none; margin: 0; padding: 0; }
.article-list > li + li { margin-top: 0; }

.article-row {
	display: grid;
	grid-template-columns: clamp(140px, 20vw, 230px) minmax(0, 1fr) auto auto;
	gap: clamp(16px, 3vw, 34px);
	align-items: center;
	padding: clamp(16px, 2.4vw, 26px) 0;
}
.article-row__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.article-row__title {
	margin: 6px 0 4px;
	font-family: var(--display);
	letter-spacing: 0.02em;
	font-weight: 500;
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	color: var(--navy-deep);
}
.article-row__title a { color: inherit; }
.article-row__sub { margin: 0; font-style: italic; color: var(--navy-soft); font-size: 0.95rem; }
.article-row__meta {
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--navy-soft);
	border-left: 1px solid var(--rule-soft);
	padding-left: clamp(12px, 2vw, 28px);
	white-space: nowrap;
}
.article-row__arrow { color: var(--navy); font-size: 1.1rem; }

.row-divider {
	display: flex;
	align-items: center;
	gap: 16px;
}
.row-divider::before, .row-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--rule-soft);
}
.row-divider img { width: 28px; }

/* ---------- Single / page ---------- */

.entry { margin: clamp(20px, 3vw, 34px) 0; }
.entry__head { text-align: center; }
.entry__flourish { margin-bottom: 14px; }
.entry__title {
	margin: 8px 0 12px;
	font-family: var(--display);
	letter-spacing: 0.03em;
	font-weight: 600;
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1.2;
	color: var(--navy);
}
.entry__byline { font-style: italic; margin: 0; color: var(--navy-soft); }
.entry__meta {
	margin: 10px 0 0;
	font-size: 0.68rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--navy-soft);
	display: flex;
	justify-content: center;
	gap: 26px;
	flex-wrap: wrap;
}
.entry__media { margin: clamp(20px, 3vw, 34px) 0; }
.entry__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.entry__content {
	max-width: var(--measure);
	margin: 0 auto;
}
.entry__content h2, .entry__content h3 {
	font-weight: 400;
	color: var(--navy);
	margin-top: 1.8em;
}
.entry__content blockquote {
	margin: 1.6em 0;
	padding-left: 20px;
	border-left: 2px solid var(--rule);
	font-style: italic;
	color: var(--navy);
}
.entry__content img { margin: 1.4em auto; }
.entry__content a { text-decoration: underline; }

/* Aristocratic article styling */
.entry__content p {
	font-size: 1.06rem;
	line-height: 1.85;
	margin: 1.3em 0;
	text-align: justify;
	hyphens: auto;
}
.entry__content > p:first-of-type {
	font-size: 1.1rem;
	margin-top: 0.4em;
}
.entry__content > p:first-of-type::first-letter {
	font-family: var(--display);
	font-weight: 600;
	font-size: 4.4em;
	line-height: 0.8;
	float: left;
	padding: 0.06em 0.12em 0 0;
	color: var(--navy);
}
.entry__content > p:first-of-type::first-line { letter-spacing: 0.01em; }
.entry__head::after {
	content: "";
	display: block;
	width: 120px;
	margin: 20px auto 0;
	border-top: 1px solid var(--rule);
}
.entry__content h2, .entry__content h3 {
	font-family: var(--display);
	letter-spacing: 0.04em;
}
.entry__content blockquote {
	margin: 2em auto;
	padding: 0 2em;
	border-left: none;
	text-align: center;
	font-size: 1.18rem;
	line-height: 1.7;
}
.entry__content blockquote::before {
	content: "\201C";
	display: block;
	font-family: var(--display);
	font-size: 2.6em;
	line-height: 0.6;
	color: var(--rule);
}


.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: clamp(20px, 3vw, 36px);
	padding-top: clamp(16px, 2vw, 24px);
}
.post-nav__item { max-width: 46%; }
.post-nav__item--next { text-align: right; margin-left: auto; }
.post-nav__label {
	display: block;
	font-size: 0.66rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--navy-soft);
	margin-bottom: 6px;
}

.archive-head { text-align: center; margin-bottom: clamp(10px, 2vw, 20px); }
.archive-head__title {
	font-family: var(--serif);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 1.125rem;
	margin: 10px 0 6px;
	color: var(--navy);
}

.pagination {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: clamp(20px, 3vw, 34px);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.pagination a { color: var(--navy); }
.pagination--buttons {
	align-items: center;
	border-top: 1px solid var(--rule-soft);
	padding-top: clamp(16px, 2.4vw, 26px);
}
.pagination--buttons a {
	display: inline-block;
	border: 1px solid var(--navy);
	padding: 11px 22px;
}
.pagination--buttons a:hover { background: var(--navy); color: var(--paper); text-decoration: none; }
.pagination__count { flex: 0 0 auto; text-align: center; color: var(--navy-soft); }
.pagination > * { flex: 1; }
.pagination > *:last-child { text-align: right; }

/* ---------- Forms, comments ---------- */

.search-form { display: flex; gap: 10px; justify-content: center; margin: 20px auto; max-width: 460px; }
.search-form label { flex: 1; }
input[type="search"], input[type="text"], input[type="email"], input[type="url"], textarea {
	width: 100%;
	font-family: var(--serif);
	font-size: 1rem;
	padding: 10px 12px;
	background: var(--paper-2);
	border: 1px solid var(--rule);
	color: var(--navy-deep);
}
input[type="submit"], button[type="submit"] {
	font-family: var(--serif);
	background: transparent;
	border: 1px solid var(--navy);
	color: var(--navy);
	padding: 10px 22px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-size: 0.7rem;
	cursor: pointer;
}
input[type="submit"]:hover, button[type="submit"]:hover { background: var(--navy); color: var(--paper); }

.comments { max-width: var(--measure); margin: clamp(26px, 4vw, 44px) auto 0; }
.comments__title { font-weight: 400; font-size: 1.4rem; color: var(--navy); text-align: center; }
.comment-list { list-style: none; padding: 0; }
.comment-list ol.children { list-style: none; padding-left: 24px; }
.comment-body { border-bottom: 1px solid var(--rule-soft); padding: 16px 0; }

/* ---------- Footer ---------- */

.site-footer {
	position: relative;
	padding: clamp(10px, 2vw, 18px) clamp(6px, 2vw, 30px) 0;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: clamp(18px, 3vw, 40px);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__legal ul { text-align: left; }
.site-footer__social { text-align: right; }
.site-footer__social ul { display: inline-block; text-align: center; }
.site-footer__brand { text-align: center; }
.site-footer__mark { width: clamp(40px, 4.6vw, 62px); margin: 0 auto 10px; }
.site-footer__wordmark {
	font-family: var(--display);
	letter-spacing: 0.32em;
	text-indent: 0.32em;
	font-size: 1.25rem;
	font-size: 1.05rem;
	color: var(--navy-deep);
	margin: 0 0 8px;
	text-transform: uppercase;
}
.site-footer__est {
	border-top: 1px solid var(--rule-soft);
	padding-top: 8px;
	display: inline-block;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.hero__frame { grid-template-columns: 1fr; gap: clamp(22px, 6vw, 34px); padding: clamp(72px, 18vw, 92px) clamp(30px, 8vw, 48px); }
	.hero__media img { aspect-ratio: 4 / 3; }
	.hero__body { padding: 0 clamp(4px, 2vw, 12px); }
	.article-row {
		grid-template-columns: clamp(110px, 30vw, 170px) minmax(0, 1fr);
		grid-template-areas: "media body" "meta meta";
	}
	.article-row__media { grid-area: media; }
	.article-row__body { grid-area: body; }
	.article-row__meta {
		grid-area: meta;
		border-left: 0;
		padding-left: 0;
	}
	.article-row__arrow { display: none; }
	.site-footer { grid-template-columns: 1fr; text-align: center; }
	.site-footer__social ul, .site-footer__legal ul { text-align: center; }
	.site-footer__brand { order: -1; }
	.hero-corner { width: 100%; height: 100%; }
	.hero-corner-wrap { width: clamp(36px, 10vw, 48px); height: clamp(36px, 10vw, 48px); }
}

@media (max-width: 620px) {
	body { font-size: 16.5px; }
	.nav ul { gap: 12px 18px; }
	.ewj-corner { width: 54px; }
	.post-nav { flex-direction: column; }
	.post-nav__item, .post-nav__item--next { max-width: 100%; text-align: left; margin-left: 0; }
}

/* ---------- Featured (latest) article ornament frame ---------- */

.hero-corner-wrap {
	position: absolute;
	width: clamp(54px, 5.8vw, 76px);
	height: clamp(54px, 5.8vw, 76px);
	pointer-events: none;
	user-select: none;
	z-index: 3;
	background: transparent;
	overflow: visible;
}
.hero-corner {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.hero-corner--tr { transform: scaleX(-1); }
.hero-corner--bl { transform: scaleY(-1); }
.hero-corner--br { transform: scale(-1); }
.hero-corner-wrap--tl { top: 12px; left: 12px; }
.hero-corner-wrap--tr { top: 12px; right: 12px; }
.hero-corner-wrap--bl { bottom: 12px; left: 12px; }
.hero-corner-wrap--br { bottom: 12px; right: 12px; }


/* ---------- Ornamental rule: line + centred flourish ---------- */

.ewj-divider {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 22px);
	width: 100%;
}
.ewj-divider::before, .ewj-divider::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: linear-gradient(90deg, rgba(27, 58, 143, 0) 0%, var(--rule) 22%, var(--rule) 78%, rgba(27, 58, 143, 0) 100%);
}
.ewj-divider img {
	flex: 0 0 auto;
	width: clamp(38px, 5vw, 62px);
	height: auto;
	opacity: 0.95;
}
.ewj-divider--footer { margin: clamp(30px, 5vw, 56px) 0 clamp(18px, 3vw, 30px); }

/* ---------- Consent banner ---------- */

.consent {
	position: fixed;
	left: 50%;
	bottom: clamp(12px, 2.5vw, 26px);
	transform: translateX(-50%);
	width: min(960px, calc(100% - 28px));
	background: var(--paper);
	border: 1px solid var(--navy);
	box-shadow: 0 10px 40px rgba(20, 40, 95, 0.18);
	z-index: 60;
}
.consent[hidden] { display: none; }
.consent__inner {
	border: 1px solid var(--rule-soft);
	margin: 5px;
	padding: clamp(16px, 2.4vw, 26px);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(14px, 2.4vw, 28px);
}
.consent__mark { width: clamp(30px, 3.4vw, 46px); }
.consent__text { margin: 6px 0 10px; font-size: 0.95rem; }
.consent__text a { text-decoration: underline; }
.consent__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.88rem;
	cursor: pointer;
}
.consent__check input { margin-top: 4px; accent-color: var(--navy); }
.consent__actions { display: grid; gap: 10px; }
.consent__actions .btn { margin: 0; text-align: center; white-space: nowrap; }
.btn--solid { background: var(--navy); color: var(--paper); }
.btn--solid:hover { background: var(--navy-deep); color: var(--paper); }
.btn--solid[disabled] { opacity: 0.4; cursor: not-allowed; }
.btn--quiet { border-color: var(--rule); color: var(--navy-soft); }
button.btn { font-family: var(--serif); cursor: pointer; }

@media (max-width: 780px) {
	.consent__inner { grid-template-columns: 1fr; text-align: left; }
	.consent__mark { display: none; }
	.consent__actions { grid-template-columns: 1fr 1fr; }
}

body.has-consent-banner .ewj-page { padding-bottom: clamp(150px, 22vh, 240px); }

/* Accessible, visually hidden text (search labels, skip links). */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Reading time at top, right aligned */
.entry__meta--top {
	justify-content: flex-end;
	max-width: var(--measure);
	margin-left: auto;
	margin-right: auto;
}

/* Chapter breaks — ornamental flourish between sections */
.chapter-break,
.entry__content hr,
.entry__content .wp-block-separator {
	margin: 2.2em auto;
	text-align: center;
	border: none;
	background: none;
	color: var(--navy);
}
.chapter-break img { width: 54px; height: auto; opacity: 0.9; }
.entry__content hr::before,
.entry__content .wp-block-separator::before {
	content: "\2766";
	font-size: 1.3rem;
	color: var(--navy);
}

/* Article colophon — quiet, uniform dateline + author */
.entry__colophon {
	margin: clamp(30px, 4.5vw, 48px) auto 0;
	max-width: var(--measure);
	text-align: left;
}
.entry__dateline,
.entry__signature {
	font-family: var(--serif);
	font-size: 0.9rem;
	font-style: normal;
	font-weight: 400;
	color: var(--navy-soft);
	margin: 0 0 6px;
}
.entry__signature { margin: 0; }

/* --- News notice ------------------------------------------------------- */
.news-notice {
	max-width: var(--measure);
	margin: 0 auto 2.4rem;
	padding: 1.1rem 1.4rem 1.2rem;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	text-align: center;
}
.news-notice__label {
	display: block;
	font-size: 0.68rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--navy-soft);
	margin-bottom: 0.45rem;
}
.news-notice__title {
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--navy);
	margin: 0 0 0.35rem;
}
.news-notice__body {
	font-size: 0.95rem;
	color: var(--navy-soft);
}
.news-notice__body p { margin: 0 0 0.4rem; }
.news-notice__body p:last-child { margin-bottom: 0; }
