/* Ledger layout: the Business of titles. Loaded only for presets with 'layout' => 'ledger'. */
.lg-w { max-width: 1360px; margin: 0 auto; padding: 0 clamp(16px, 2.4vw, 32px); }
.lg-d { font-family: 'Bricolage Grotesque', 'Arial Narrow', sans-serif; font-stretch: 75%; font-weight: 800; letter-spacing: -0.012em; line-height: 0.95; }
.lg-s { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }
.lg-l, .apg-ledger .cat { font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.apg-ledger .cat { color: #5a5a5a; }
.lg-header a:hover, .lg-foot a:hover { text-decoration: none; }
.lg-mark { flex: none; display: block; }

/* Headline strip */
.lg-util { background: #0e0e0e; color: #fff; font-size: 13px; }
.lg-util .lg-w { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.lg-util time { flex: none; }
.lg-tick { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #cfcfcf; }
.lg-tick b { color: var(--c); font-weight: 700; text-transform: uppercase; }
.lg-tick i { font-style: normal; color: var(--c); margin: 0 10px; font-size: 10px; }
.lg-tick a:hover { color: #fff; }
.lg-sub { flex: none; margin-left: auto; background: var(--c); color: var(--oc); font-weight: 700; padding: 6px 14px; }

/* Wordmark */
.lg-mast .lg-w { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 26px; padding-bottom: 18px; }
.lg-logo { margin: 0; font-size: inherit; font-weight: inherit; min-width: 0; }
.lg-logo a { display: block; }
.lg-logo .custom-logo { max-height: 110px; width: auto; }
.lg-lock { display: flex; align-items: stretch; gap: 14px; }
.lg-lock__side { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; white-space: nowrap; border-left: 2px solid #0e0e0e; padding-left: 7px; }
.lg-lock__main { font-size: clamp(56px, var(--word, 10.4vw), 150px); line-height: 0.8; padding-bottom: 0.04em; white-space: nowrap; }
.lg-lock__main em, .lg-foot__word em { font-style: normal; color: var(--c); }
.lg-mast__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; padding-bottom: 6px; }
.lg-mast__side .lg-s { font-size: 26px; line-height: 1.05; max-width: 320px; }

/* Section bar */
.lg-nav { border-top: 2px solid #0e0e0e; border-bottom: 1px solid #0e0e0e; }
.lg-nav .lg-w { display: flex; align-items: center; gap: 24px; min-height: 52px; }
.lg-nav__menu { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.lg-nav__menu::-webkit-scrollbar { display: none; }
.lg-nav__menu ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; white-space: nowrap; font-weight: 600; font-size: 15px; }
.lg-nav__menu a { display: block; padding: 5px 0; }
.lg-nav__menu a:hover { box-shadow: 0 2px 0 var(--c); }
.lg-nav__menu .current-menu-item > a, .lg-nav__menu .current-menu-ancestor > a, .lg-nav__menu .current-post-ancestor > a { background: var(--c); color: var(--oc); padding: 5px 11px; box-shadow: none; }
.lg-search { flex: none; display: flex; align-items: center; }
.lg-search input { width: 110px; height: 34px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: inherit; font: inherit; font-size: 15px; font-weight: 600; text-align: right; padding: 0 6px; }
.lg-search input:focus { outline: 0; border-bottom-color: var(--c); width: 180px; }
.lg-search input::placeholder { color: inherit; opacity: 1; }
.lg-search button { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; background: transparent; color: inherit; cursor: pointer; }

/* Cover story and The Brief */
.lg-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-bottom: 1px solid #0e0e0e; }
.lg-lead { padding: 28px 32px 32px 0; border-right: 1px solid #0e0e0e; }
.lg-lead__im { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--band); }
.lg-lead__im .thumb, .lg-sec__im .thumb, .lg-feat__im .thumb { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.lg-lead__mk { position: absolute; right: 18px; bottom: 18px; }
.lg-lead__t { font-size: clamp(38px, 5.4vw, 78px); margin: 22px 0 14px; overflow-wrap: anywhere; }
.lg-lead__t a:hover, .lg-brief h3 a:hover, .lg-sec h3 a:hover, .lg-sec p a:hover, .lg-feat h3 a:hover { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.lg-lead__dek { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.2; max-width: 660px; margin: 0 0 16px; }
.lg-by { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; color: #5a5a5a; }
.lg-by b { color: #0e0e0e; }
.lg-chip { display: inline-block; background: var(--c); color: var(--oc); padding: 5px 10px; }
.lg-brief { display: flex; flex-direction: column; }
.lg-brief__h { background: var(--c); color: var(--oc); padding: 22px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px; }
.lg-brief__h h2 { font-size: 46px; margin: 0; }
.lg-brief ol { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; }
.lg-brief li { flex: 1; display: flex; gap: 20px; align-items: center; padding: 16px 28px; border-top: 1px solid #0e0e0e; }
.lg-brief li:first-child { border-top: 0; }
.lg-brief__n { font-size: 58px; width: 70px; flex: none; color: transparent; -webkit-text-stroke: 1.5px #0e0e0e; }
.lg-brief h3 { margin: 4px 0 0; font-size: 21px; line-height: 1.14; font-weight: 700; letter-spacing: -0.02em; }

/* Section columns */
.lg-sec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #0e0e0e; }
.lg-sec--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lg-sec--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg-sec > div { padding: 26px 24px 30px; border-left: 1px solid #0e0e0e; min-width: 0; }
.lg-sec > div:first-child { border-left: 0; padding-left: 0; }
.lg-sec > div:last-child { padding-right: 0; }
.lg-sec__h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; }
.lg-sec__h h2 { font-size: 34px; margin: 0; overflow-wrap: anywhere; }
.lg-more { font-size: 13px; font-weight: 600; border-bottom: 2px solid var(--c); white-space: nowrap; }
.lg-sec__im { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 12px; background: var(--band); }
.lg-sec h3 { margin: 0 0 12px; font-size: 19px; line-height: 1.16; font-weight: 700; letter-spacing: -0.02em; }
.lg-sec p { margin: 0; padding: 10px 0; border-top: 1px solid #d9d9d9; font-size: 15px; font-weight: 500; line-height: 1.25; }

/* Dark feature row */
.lg-feat { background: #0e0e0e; color: #fff; }
.lg-feat .lg-w { padding-top: 44px; padding-bottom: 52px; }
.lg-feat__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 26px; }
.lg-feat__h h2 { font-size: clamp(44px, 5vw, 64px); margin: 0; }
.lg-feat__h .lg-s { font-size: 28px; color: var(--c); }
.lg-feat__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.lg-feat__cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg-feat__im { display: block; aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 14px; background: #1c1c1c; }
.lg-feat__cards--3 .lg-feat__im { aspect-ratio: 4 / 5; }
.lg-feat h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.14; font-weight: 700; letter-spacing: -0.02em; }
.lg-feat small { color: #a9a9a9; font-size: 13.5px; }

/* Newsletter band and footer */
.lg-news { background: var(--c); color: var(--oc); margin-top: clamp(48px, 6vw, 88px); }
.lg-news .lg-w { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 34px; padding-bottom: 34px; }
.lg-news__t { font-size: clamp(36px, 4vw, 52px); margin: 0; }
.lg-news p { font-weight: 600; margin: 8px 0 0; }
.lg-news form { display: flex; max-width: 100%; }
.lg-news input { height: 52px; width: 320px; max-width: 60vw; border: 2px solid var(--oc); border-radius: 0; background: transparent; padding: 0 16px; font: inherit; color: inherit; }
.lg-news input::placeholder { color: inherit; opacity: 0.7; }
.lg-news button { height: 52px; padding: 0 22px; border: 0; background: var(--oc); color: var(--c); font: inherit; font-weight: 700; cursor: pointer; }
.lg-foot { margin-top: clamp(48px, 6vw, 88px); border-top: 2px solid #0e0e0e; }
.lg-news + .lg-foot { margin-top: 0; border-top: 0; }
.lg-foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; padding-top: 34px; padding-bottom: 22px; }
.lg-foot__word { font-size: clamp(60px, 13vw, 190px); line-height: 0.8; white-space: nowrap; }
.lg-foot__top .lg-s { font-size: 24px; line-height: 1.1; max-width: 340px; margin: 0 0 6px; text-align: right; }
.lg-foot__cols { display: flex; flex-wrap: wrap; gap: 10px 40px; padding-top: 16px; padding-bottom: 16px; border-top: 1px solid #0e0e0e; font-weight: 600; font-size: 15px; }
.lg-foot__cols nav, .lg-foot__cols ul { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; }
.lg-foot__cols a:hover { box-shadow: 0 2px 0 var(--c); }
.lg-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 14px; padding-bottom: 22px; border-top: 1px solid #d9d9d9; font-size: 13px; color: #5a5a5a; }

/* The shared templates (articles, section pages, Latest), tuned to match */
.apg-ledger .t-label { font-weight: 700; }
.apg-ledger .entry__title { font-family: 'Bricolage Grotesque', 'Arial Narrow', sans-serif; font-stretch: 75%; font-weight: 800; letter-spacing: -0.012em; line-height: 0.95; font-size: clamp(38px, 5vw, 72px); }
.apg-ledger .wrap { max-width: 1360px; }
.apg-ledger .thumb--empty { background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--c); font-family: 'Bricolage Grotesque', 'Arial Narrow', sans-serif; font-stretch: 75%; font-weight: 800; }
.apg-ledger .lg-feat .thumb--empty { background: #1c1c1c; color: var(--c); }
.apg-ledger .row-l { border-top-color: #0e0e0e; }
.apg-ledger .row-l__title a:hover, .apg-ledger .entry-related a:hover { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.apg-ledger .pagination .page-numbers { border-color: #0e0e0e; }
.apg-ledger .sidebar .widget h2, .apg-ledger .sidebar .widget h3, .apg-ledger .sidebar .widget .wp-block-heading { border-bottom: 2px solid #0e0e0e; }
.apg-ledger .block-head { border-bottom: 2px solid #0e0e0e; }
.apg-ledger .badge { border-radius: 0; }
.apg-ledger .band { background: #fff; border-bottom: 1px solid #0e0e0e; }
.apg-ledger .newsletter { background: var(--c); color: var(--oc); }
.apg-ledger .newsletter__kicker, .apg-ledger .newsletter__text { color: inherit; }
.apg-ledger .newsletter__form input { border-color: var(--oc); }
.apg-ledger .newsletter__form button { background: var(--oc); color: var(--c); }
.apg-ledger .entry-content blockquote p, .apg-ledger .entry-content .wp-block-pullquote p { line-height: 1.12; }
.apg-ledger .entry__dek { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; color: #0e0e0e; }

@media (max-width: 899px) {
	.lg-tick { display: none; }
	.lg-mast__side { display: none; }
	.lg-mast .lg-w { padding-top: 18px; padding-bottom: 12px; }
	.lg-lock { gap: 10px; }
	.lg-lock__side { font-size: 9px; padding-left: 5px; }
	.lg-lock__main { font-size: min(var(--word-s, 19vw), 96px); }
	.lg-nav__menu ul { gap: 22px; }
	.lg-search input { display: none; }
	.lg-hero { grid-template-columns: minmax(0, 1fr); }
	.lg-lead { padding: 16px 0 22px; border-right: 0; }
	.lg-brief__h { margin: 0 calc(-1 * clamp(16px, 2.4vw, 32px)); padding: 16px clamp(16px, 2.4vw, 32px); }
	.lg-brief__h h2 { font-size: 38px; }
	.lg-brief li { padding: 14px 0; flex: none; }
	.lg-brief__n { font-size: 44px; width: 52px; }
	.lg-sec, .lg-sec--2, .lg-sec--3 { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
	.lg-sec > div, .lg-sec > div:first-child { border-left: 0; border-bottom: 1px solid #0e0e0e; padding: 22px 0; }
	.lg-feat__cards, .lg-feat__cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lg-foot__top .lg-s { text-align: left; }
}
@media print { .lg-util, .lg-nav, .lg-news, .lg-foot { display: none; } }
