/*
Theme Name: Edinburgh Chronicle
Theme URI: https://edinburghchronicle.co.uk
Author: Presswick Media
Description: Edinburgh Chronicle — a classic British broadsheet meets a modern digital edition. White pages, deep ink, one signature colour (Scottish thistle purple) and a thin ribbon in shades of thistle. UnifrakturMaguntia blackletter nameplate, Old Standard TT headlines, Gelasio body text, Libre Franklin labels. Dateline bar, nameplate with newspaper “ears”, a three-column front page with column rules (In brief / lead story / Also today), “The Chronicle Index” box with dotted leaders and page references, section fronts lettered A, B, C…, a folded-broadsheet contents menu from the left and a newspaper-cutting share box. Headlines get a thick thistle underline on hover. Partner content is labelled automatically; no author shown.
Version: 1.0.1
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edinburghchronicle
*/

/* Shared structure lives in assets/css/base.css; this file holds the Edinburgh Chronicle look only. */

:root {
	--al-ink: #18161A;
	--al-text: #2C2A30;
	--al-muted: #6C6873;
	--al-line: #DCD8DE;
	--al-soft: #F2F0F3;
	--al-paper: #FFFFFF;
	--al-bg: #FFFFFF;
	--ech-thistle: #5B2C6F;
	--ech-thistle-deep: #42204F;
	--ech-tint: #F5F0F7;
	--ech-green: #1F5130;
	--ech-red: #A4262C;
	--al-accent: var(--ech-thistle);
	--al-footer-bg: #18161A;
	--al-footer-text: rgba(255, 255, 255, .66);
	--al-header-bg: rgba(255, 255, 255, .98);
	--al-radius: 0;
	--ech-black: 'UnifrakturMaguntia', 'Old English Text MT', serif;
	--al-display: 'Old Standard TT', 'Times New Roman', serif;
	--al-serif: 'Gelasio Variable', 'Gelasio', Georgia, serif;
	--al-sans: 'Libre Franklin Variable', 'Libre Franklin', 'Franklin Gothic', Arial, sans-serif;
	--ech-lilac: #B89BC6;
	--ech-tartan: repeating-linear-gradient(90deg, var(--ech-thistle) 0 22px, var(--ech-lilac) 22px 28px, var(--ech-thistle) 28px 50px, var(--ech-thistle-deep) 50px 58px);
}

body { font-family: var(--al-serif); font-size: 18px; background: var(--al-bg); color: var(--al-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--al-display); font-weight: 700; letter-spacing: -.005em; line-height: 1.12; color: var(--al-ink); }
::selection { background: var(--ech-thistle); color: #fff; }

/* Thistle underline */
.ech-u { color: inherit; text-decoration: none; background-image: linear-gradient(var(--ech-thistle), var(--ech-thistle)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .35s ease; }
.ech-u:hover, .ech-u:focus-visible, .ech-card:hover .ech-u, a:hover > .ech-u { background-size: 100% 3px; color: inherit; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .ech-u { transition: none; } }

.al-meta { font-family: var(--al-sans); font-size: 12px; color: var(--al-muted); }
.al-meta span + span::before { content: "·"; margin: 0 7px; color: var(--ech-thistle); }
.al-kicker { padding: 0; background: none; color: var(--ech-thistle); font-family: var(--al-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ech-cat { align-self: flex-start; color: var(--ech-thistle); font-family: var(--al-sans); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ech-cat:hover { color: var(--al-ink); text-decoration: none; }
.ech-partner { display: inline-block; align-self: center; margin-bottom: 4px; padding: 3px 10px; border: 1px solid var(--ech-thistle); color: var(--ech-thistle); font-family: var(--al-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ech-lead .ech-partner { align-self: flex-start; margin: 0 0 10px; }

/* Header */
.ech-header { background: var(--al-header-bg); border-bottom: 0; }
.ech-dateline { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0 7px; border-bottom: 1px solid var(--al-ink); font-family: var(--al-sans); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--al-ink); }
.ech-dateline__mid { color: var(--ech-thistle); font-weight: 600; }
.ech-mast { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 14px 0 10px; }
.ech-ear { min-height: 58px; display: flex; align-items: center; }
.ech-ear--l { max-width: 240px; padding: 8px 12px; border: 1px solid var(--al-line); }
.ech-ear--l .al-tagline { font-family: var(--al-serif); font-size: 13.5px; font-style: italic; letter-spacing: 0; text-transform: none; line-height: 1.35; color: var(--al-text); }
.ech-ear--r { justify-self: end; gap: 8px; }
.ech-wordmark { color: var(--al-ink); font-family: var(--ech-black); font-size: clamp(54px, 5.8vw, 92px); font-weight: 400; line-height: 1; letter-spacing: 0; white-space: nowrap; transition: font-size .25s; }
.ech-wordmark:hover { color: var(--ech-thistle); text-decoration: none; }
.ech-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 42px; padding: 0 16px; border: 1px solid var(--al-ink); background: #fff; color: var(--al-ink); font-family: var(--al-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.ech-btn:hover { background: var(--al-ink); color: #fff; }
.ech-btn--icon { width: 42px; padding: 0; }
.ech-menubtn { background: var(--ech-thistle); border-color: var(--ech-thistle); color: #fff; }
.ech-menubtn:hover { background: var(--ech-thistle-deep); border-color: var(--ech-thistle-deep); }
.ech-rules { height: 9px; border-top: 4px solid var(--al-ink); border-bottom: 1px solid var(--al-ink); max-width: calc(var(--al-wrap, 1240px) - 2 * var(--al-gutter, 24px)); margin: 0 auto; }
.ech-navrow { border-bottom: 1px solid var(--al-line); }
.ech-navrow::after { content: ""; display: block; height: 4px; background: var(--ech-tartan); opacity: .92; }
.ech-nav { border: 0; }
.ech-nav ul { display: flex; flex-wrap: nowrap; justify-content: center; gap: 0; padding: 0; border: 0; }
.ech-nav li { display: flex; align-items: center; }
.ech-nav li + li::before { content: "·"; margin: 0 clamp(8px, 1vw, 16px); color: var(--ech-thistle); font-size: 20px; }
.ech-nav a { padding: 11px 0 10px; color: var(--al-ink); font-family: var(--al-display); font-size: clamp(14px, 1.1vw, 17px); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ech-nav a::after { bottom: 5px; height: 2px; background: var(--ech-thistle); }
.ech-nav a:hover { color: var(--ech-thistle); text-decoration: none; }
/* 11+ sections: a little smaller so they stay on one line. */
.ech-nav ul:has(> li:nth-child(11)) a { font-size: clamp(11px, .76vw, 12.6px); letter-spacing: .03em; }
.ech-nav ul:has(> li:nth-child(11)) li + li::before { margin: 0 clamp(4px, .45vw, 8px); }

.al-header.is-compact .ech-dateline { display: none; }
.al-header.is-compact .ech-mast { padding: 6px 0 4px; }
.al-header.is-compact .ech-ear--l { visibility: hidden; }
.al-header.is-compact .ech-ear { min-height: 0; }
.al-header.is-compact .ech-wordmark { font-size: 42px; }
.al-header.is-compact .ech-rules { height: 6px; border-top-width: 3px; }
.al-header.is-compact .ech-nav a { padding: 7px 0 6px; }
.al-progress span { background: var(--ech-thistle); height: 3px; }

/* Menu: folded broadsheet from the left */
.ech-drawer { background: rgba(24, 22, 26, .4); color: var(--al-ink); overflow: hidden; animation: al-fade .2s ease; }
.ech-drawer__shade { position: absolute; inset: 0; }
.ech-drawer .al-drawer__in { position: absolute; z-index: 1; top: 0; left: 0; bottom: 0; display: block; width: min(400px, 90vw); max-width: none; min-height: 0; margin: 0; padding: 18px 26px 28px; overflow-y: auto; background: #fff; border-right: 4px double var(--al-ink); box-shadow: 20px 0 50px -20px rgba(0, 0, 0, .35); animation: ech-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes ech-in { from { transform: translateX(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ech-drawer .al-drawer__in { animation: none; } }
.ech-drawer .al-drawer__top { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--al-ink); }
.ech-drawer__label { font-family: var(--al-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ech-thistle); }
.ech-drawer__close { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--al-ink); background: #fff; color: var(--al-ink); cursor: pointer; }
.ech-drawer__close:hover { background: var(--al-ink); color: #fff; }
.ech-drawer .ech-wordmark { display: block; margin: 8px 0 12px; font-size: 38px; }
.ech-toc ul { counter-reset: echs; border-top: 4px solid var(--al-ink); padding-top: 4px; }
.ech-drawer .ech-toc li { counter-increment: echs; display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--al-line); }
.ech-drawer .ech-toc li::before { content: counter(echs, upper-alpha); flex: none; width: 22px; color: var(--ech-thistle); font-family: var(--al-display); font-size: 15px; font-weight: 700; }
.ech-drawer .ech-toc a { flex: 1; padding: 9px 0; color: var(--al-ink); font-family: var(--al-display); font-size: 16px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.ech-drawer .ech-toc a::after { content: "→"; color: var(--ech-thistle); font-family: var(--al-sans); font-size: 14px; opacity: .6; }
.ech-drawer .ech-toc a:hover { color: var(--ech-thistle); text-decoration: none; }
.ech-drawer .al-drawer__search { margin: 22px 0 0; padding: 0 2px; border: 0; border-bottom: 1px solid var(--al-ink); }
.ech-drawer .al-drawer__search input { height: 44px; color: var(--al-ink); font-family: var(--al-serif); font-size: 16px; font-style: italic; }
.ech-drawer .al-drawer__search input::placeholder { color: var(--al-muted); }
.ech-drawer .al-drawer__search button { color: var(--ech-thistle); }
.ech-social { display: flex; gap: 6px; }
.ech-drawer .ech-social { margin-top: 20px; }
.ech-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--al-line); color: var(--al-ink); }
.ech-social a:hover { background: var(--ech-thistle); border-color: var(--ech-thistle); color: #fff; }

/* Section head */
.ech-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 20px; margin-bottom: 28px; padding-bottom: 10px; border-bottom: 1px solid var(--al-ink); box-shadow: 0 3px 0 #fff, 0 6px 0 var(--al-ink); }
.ech-head__kicker { grid-column: 1 / -1; color: var(--ech-thistle); font-family: var(--al-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ech-head h2 { margin: 0; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.04; }
.ech-more { margin-bottom: 6px; color: var(--al-ink); font-family: var(--al-sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ech-more:hover { color: var(--ech-thistle); text-decoration: none; }

/* Images and cards */
.al-img { border-radius: 0; background: var(--al-soft); }
.al-r-card { aspect-ratio: 3 / 2; }
.al-img img { transition: transform .7s ease; }
.ech-card:hover .al-img img { transform: scale(1.03); }
.ech-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ech-card__body { display: flex; flex-direction: column; gap: 8px; }
.ech-card__title { margin: 0; font-size: 22px; line-height: 1.18; }
.ech-card__ex { margin: 0; font-size: 16px; line-height: 1.55; }
.ech-cards { gap: 40px 28px; }

/* Front page */
.ech-front { padding: 30px 0 64px; }
.ech-front__in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 0; }
.ech-front__col { padding: 0 24px; border-left: 1px solid var(--al-line); }
.ech-front__col:first-child { padding-left: 0; border-left: 0; }
.ech-front__col:last-child { padding-right: 0; }
.ech-colhead { display: block; margin-bottom: 14px; padding-bottom: 6px; border-bottom: 2px solid var(--al-ink); font-family: var(--al-sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--al-ink); }
.ech-brief { display: flex; flex-direction: column; gap: 7px; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--al-line); }
.ech-brief:last-child { border-bottom: 0; margin-bottom: 0; }
.ech-brief h3 { margin: 0; font-size: 21px; line-height: 1.18; }
.ech-brief p { margin: 0; font-size: 15px; line-height: 1.5; }
.ech-lead { display: flex; flex-direction: column; gap: 12px; }
.ech-lead .al-img { aspect-ratio: 3 / 2; }
.ech-lead__title { margin: 4px 0 0; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.04; letter-spacing: -.015em; }
.ech-lead__ex { margin: 0; font-size: 19px; font-style: italic; line-height: 1.5; }
.ech-lead__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 18px; border-top: 2px solid var(--al-ink); }
.ech-lead__more .ech-card { padding: 16px 20px 0 0; }
.ech-lead__more .ech-card + .ech-card { padding: 16px 0 0 20px; border-left: 1px solid var(--al-line); }
.ech-lead__more .ech-card__title { font-size: 21px; }
.ech-front__side .ech-card { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--al-line); }
.ech-front__side .ech-card:last-child { border-bottom: 0; margin-bottom: 0; }
.ech-card--side .ech-card__title { font-size: 18px; }

/* Signature: The Chronicle Index */
.ech-index { padding: 0 0 20px; }
.ech-index__box { position: relative; padding: 26px 30px 24px; border: 1px solid var(--al-ink); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--al-ink); }
.ech-index__box::before { content: ""; position: absolute; left: 5px; right: 5px; top: 5px; height: 5px; background: var(--ech-tartan); }
.ech-index__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 6px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--al-ink); }
.ech-index__head h2 { margin: 0; font-family: var(--ech-black); font-size: clamp(34px, 3.4vw, 48px); font-weight: 400; line-height: 1; }
.ech-index__est { font-family: var(--al-sans); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ech-thistle); }
.ech-index__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; column-rule: 1px solid var(--al-line); }
.ech-index__list li { break-inside: avoid; display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dotted var(--al-muted); }
.ech-index__sec { font-family: var(--al-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ech-thistle); }
.ech-index__list a { color: var(--al-ink); font-family: var(--al-display); font-size: 18px; line-height: 1.24; }
.ech-index__list a:hover { text-decoration: none; }
.ech-index__page { font-family: var(--al-display); font-size: 16px; font-style: italic; color: var(--al-muted); }

/* Sections */
.ech-part { padding-top: 72px; }
.ech-part--tint { margin-top: 72px; padding: 60px 0 66px; background: var(--ech-tint); }
.ech-part--tint + .al-sec { padding-top: 72px; }
.ech-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; }
.ech-split > .ech-card { padding-right: 28px; }
.ech-split__list { padding-left: 28px; border-left: 1px solid var(--al-line); }
.ech-card--big .ech-card__title { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.06; }
.ech-card--row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--al-line); }
.ech-card--row:last-child { border-bottom: 0; margin-bottom: 0; }
.ech-card--row .ech-card__title { font-size: 19px; }
.ech-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ech-columns .ech-card { padding: 0 22px; border-left: 1px solid rgba(91, 44, 111, .25); }
.ech-columns .ech-card:first-child { padding-left: 0; border-left: 0; }
.ech-columns .ech-card__title { font-size: 21px; }
.ech-archive { padding-top: 72px; }

/* Archive / search cards */
.al-card__title { font-family: var(--al-display); font-size: 22px; font-weight: 700; line-height: 1.18; }
.al-card__title a { background-image: linear-gradient(var(--ech-thistle), var(--ech-thistle)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 3px; transition: background-size .35s; }
.al-card__title a:hover, .al-card:hover .al-card__title a { background-size: 100% 3px; color: inherit; text-decoration: none; }
.al-card__excerpt { font-size: 16px; line-height: 1.55; color: var(--al-text); }

/* Article */
.al-article { padding-top: 48px; }
.al-article__head { max-width: 900px; gap: 16px; }
.al-article__title { font-family: var(--al-display); font-size: clamp(40px, 4.6vw, 68px); font-weight: 700; line-height: 1.06; letter-spacing: -.015em; }
.ech-postmeta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; }
.ech-updated { font-family: var(--al-sans); font-size: 12px; color: var(--al-muted); }
.al-article__head::after { content: ""; width: 180px; height: 9px; border-top: 3px solid var(--al-ink); border-bottom: 1px solid var(--al-ink); }
.ech-featured { display: none; }
.al-prose { max-width: 700px; font-family: var(--al-serif); font-size: 19px; line-height: 1.72; color: var(--al-text); }
.al-prose > p:first-of-type { font-size: inherit; line-height: inherit; color: inherit; }
.al-prose > p:first-of-type::first-letter { float: left; margin: .06em .1em 0 0; font-family: var(--al-display); font-size: 3.6em; font-weight: 700; line-height: .82; color: var(--ech-thistle); }
.al-prose h2 { font-family: var(--al-display); font-size: 32px; line-height: 1.16; }
.al-prose h3 { font-family: var(--al-sans); font-size: 21px; font-weight: 700; line-height: 1.3; }
.al-prose a { color: var(--ech-thistle); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.al-prose a:hover { text-decoration-thickness: 3px; }
.al-prose blockquote, .al-prose .wp-block-quote { margin: 2em 0; padding: 20px 0 18px; border: 0; border-top: 3px solid var(--al-ink); border-bottom: 1px solid var(--al-ink); background: none; font-family: var(--al-display); font-style: italic; font-weight: 400; font-size: 27px; line-height: 1.32; text-align: center; color: var(--al-ink); }
.al-prose blockquote::before { display: none; }
.al-prose blockquote cite { display: block; margin-top: 10px; font-family: var(--al-sans); font-style: normal; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ech-thistle); }
.al-article__end { max-width: 700px; }
.al-endmark { color: var(--ech-thistle); }
.al-tags a { font-family: var(--al-sans); font-size: 12px; }
.al-shead__title { font-family: var(--al-display); text-transform: none; }

/* Share: newspaper cutting */
.ech-cutting { position: relative; padding: 6px; border: 2px dashed var(--al-muted); }
.ech-cutting__scissors { position: absolute; top: -15px; left: 22px; padding: 0 6px; background: #fff; color: var(--al-ink); font-size: 22px; line-height: 1; transform: rotate(-8deg); }
.ech-cutting__in { position: relative; padding: 22px 24px 20px; background: var(--ech-tint); }
.ech-cutting__stamp { position: absolute; top: 18px; right: 20px; padding: 5px 10px; border: 2px solid var(--ech-thistle); color: var(--ech-thistle); font-family: var(--al-sans); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; transform: rotate(6deg); }
.ech-cutting__text { margin: 0 0 4px; padding-right: 120px; font-family: var(--al-display); font-size: 26px; font-style: italic; line-height: 1.2; color: var(--al-ink); }
.ech-cutting__title { margin: 0 0 14px; font-family: var(--al-sans); font-size: 13px; color: var(--al-muted); }
.ech-cutting__links { display: flex; flex-wrap: wrap; gap: 6px; }
.ech-cutting__links a, .ech-cutting__links button { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border: 1px solid var(--al-ink); background: #fff; color: var(--al-ink); font-family: var(--al-sans); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.ech-cutting__links button { background: var(--ech-thistle); border-color: var(--ech-thistle); color: #fff; }
.ech-cutting__links a:hover, .ech-cutting__links button:hover { background: var(--al-ink); border-color: var(--al-ink); color: #fff; text-decoration: none; }
.ech-related { gap: 40px 28px; }

/* Category page */
.al-archive__head { margin: 0 0 44px; padding: 48px 0 22px; border: 0; border-bottom: 1px solid var(--al-ink); box-shadow: 0 3px 0 #fff, 0 6px 0 var(--al-ink); background: none; text-align: center; }
.al-archive__head .al-kicker { color: var(--ech-thistle); }
.al-archive__title { font-family: var(--al-display); font-size: clamp(52px, 6.5vw, 100px); font-weight: 700; line-height: 1.02; }
.al-archive__desc { font-style: italic; color: var(--al-text); }
.al-archive__lead .al-card__title { font-size: clamp(30px, 3vw, 44px); line-height: 1.06; }
.al-pagination .page-numbers { font-family: var(--al-sans); }
.al-pagination .page-numbers.current { background: var(--ech-thistle); border-color: var(--ech-thistle); color: #fff; }

/* Footer */
.al-footer { border-top: 0; text-align: center; }
.al-footer::before { content: ""; display: block; height: 2px; margin-bottom: 46px; background: linear-gradient(90deg, transparent, var(--ech-lilac) 18%, var(--ech-lilac) 82%, transparent); opacity: .7; }
.al-footer .ech-wordmark { display: inline-block; color: #fff; font-size: clamp(52px, 7vw, 100px); }
.al-footer .ech-wordmark:hover { color: #E4CDEB; }
.al-footer__text { max-width: 640px; margin-left: auto; margin-right: auto; font-style: italic; font-size: 17px; }
.al-footer__copy { font-family: var(--al-sans); font-size: 11.5px; letter-spacing: .04em; }
.ech-social--footer { justify-content: center; margin-top: 18px; }
.al-footer .ech-social a { border-color: rgba(255, 255, 255, .3); color: #fff; }

/* Person card */
.bdk-card, .bdk-news { --bdk-accent: var(--ech-thistle); --bdk-head: var(--al-display); --bdk-ui: var(--al-sans); --bdk-bg: #fff; --bdk-line: var(--al-line); --bdk-radius: 0; }

.al-totop { border-radius: 0; background: var(--ech-thistle); color: #fff; }
.home .al-main { padding-bottom: 76px; }

@media (max-width: 1180px) {
	.ech-ear--l { visibility: hidden; }
	.ech-front__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ech-lead { grid-column: 1 / -1; order: -1; padding: 0 0 30px; margin-bottom: 30px; border-left: 0; border-bottom: 1px solid var(--al-line); }
	.ech-front__briefs { padding-left: 0; border-left: 0; }
	.ech-index__list { columns: 1; }
	.ech-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
	.ech-columns .ech-card:nth-child(3) { padding-left: 0; border-left: 0; }
	.ech-split { grid-template-columns: minmax(0, 1fr); }
	.ech-split > .ech-card { padding-right: 0; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--al-line); }
	.ech-split__list { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
	body { font-size: 17px; }
	.ech-dateline { font-size: 10.5px; padding: 6px 0 5px; }
	.ech-dateline__mid { display: none; }
	.ech-mast { grid-template-columns: auto minmax(0, 1fr); padding: 10px 0 8px; gap: 10px; }
	.ech-ear--l { display: none; }
	.ech-ear { min-height: 0; }
	.ech-wordmark, .al-header.is-compact .ech-wordmark { font-size: 34px; }
	.ech-btn__t { display: none; }
	.ech-menubtn { width: 42px; padding: 0; }
	.ech-navrow { display: none; }
	.ech-header::after { content: ""; display: block; height: 4px; background: var(--ech-tartan); }
	.ech-front { padding: 18px 0 44px; }
	.ech-front__in { grid-template-columns: minmax(0, 1fr); }
	.ech-front__col { padding: 0; border-left: 0; }
	.ech-front__briefs { padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--al-line); }
	.ech-lead { padding-bottom: 24px; margin-bottom: 24px; }
	.ech-lead__title { font-size: 34px; }
	.ech-lead__ex { font-size: 17.5px; }
	.ech-lead__more { grid-template-columns: minmax(0, 1fr); }
	.ech-lead__more .ech-card, .ech-lead__more .ech-card + .ech-card { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--al-line); }
	.ech-index__box { padding: 22px 16px 16px; }
	.ech-index__head { flex-direction: column; align-items: flex-start; gap: 4px; }
	.ech-index__list li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
	.ech-index__sec { grid-column: 1 / -1; }
	.ech-head h2 { font-size: 32px; }
	.ech-head { grid-template-columns: minmax(0, 1fr); }
	.ech-more { margin: 0; }
	.ech-part, .ech-archive { padding-top: 52px; }
	.ech-part--tint { margin-top: 52px; padding: 42px 0 46px; }
	.ech-part--tint + .al-sec { padding-top: 52px; }
	.ech-columns { grid-template-columns: minmax(0, 1fr); }
	.ech-columns .ech-card { padding: 0 0 20px; border-left: 0; border-bottom: 1px solid rgba(91, 44, 111, .25); }
	.ech-card--big .ech-card__title { font-size: 28px; }
	.ech-cards.al-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.al-article { padding-top: 28px; }
	.al-article__title { font-size: 36px; }
	.ech-featured { display: block; margin: 20px 0 4px; }
	.ech-featured .al-img { aspect-ratio: 4 / 3; }
	.al-prose { font-size: 17.5px; }
	.al-prose h2 { font-size: 27px; }
	.al-prose blockquote, .al-prose .wp-block-quote { font-size: 22px; }
	.ech-cutting__stamp { position: static; display: inline-block; margin-bottom: 10px; }
	.ech-cutting__text { padding-right: 0; font-size: 22px; }
	.al-archive__head { padding-top: 28px; }
	.al-archive__title { font-size: 48px; }
	.al-footer .ech-wordmark { font-size: 44px; }
}
@media (max-width: 440px) {
	.ech-wordmark, .al-header.is-compact .ech-wordmark { font-size: 29px; }
	.ech-btn--icon, .ech-menubtn { width: 38px; height: 38px; }
	.ech-ear--r { gap: 6px; }
	.al-footer .ech-wordmark { font-size: 34px; }
}
@media (max-width: 370px) {
	.ech-wordmark, .al-header.is-compact .ech-wordmark { font-size: 25px; }
	.al-footer .ech-wordmark { font-size: 30px; }
}
