/* ============================================================================
   Light on Politics — "Spotlight" (lop-theme 1.0.0, 2026-11-16)
   Loads after theme-variables.css and main.css. All site styling lives here.
   Stitch direction C: a red date strip, a white logo bar, a solid navy cover
   band (one story lit up beside a white "Under the light" list), one rail per
   desk (navy / red / ink heads), navy newsletter band and footer. Bitter over
   Hanken Grotesk. Text never sits on a photo. Navy is the one link hue.
   Desk colours: .lop-d-ap navy · .lop-d-fc red · .lop-d-pf ink.
   ========================================================================= */

/* --- Base ------------------------------------------------------------------- */

html { overflow-x: clip; background: var(--lp-ground); }
body {
    background: var(--lp-ground);
    color: var(--lp-ink);
    font-family: var(--lp-text);
    font-size: var(--lp-size-body);
    line-height: var(--lp-lh-body);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--lp-display); font-weight: 800; color: var(--lp-ink); line-height: var(--lp-lh-head); letter-spacing: -0.01em; }
a { color: var(--lp-navy); }
a:hover { color: var(--lp-navy-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--lp-navy); outline-offset: 2px; }
button, input, select, textarea { font-family: var(--lp-text); }
::selection { background: #FFD9DA; color: var(--lp-ink); }

.site-container { max-width: none; margin: 0; padding: 0; }
.lop-wrap { max-width: var(--lp-page-max); margin-left: auto; margin-right: auto; padding-left: var(--lp-gutter); padding-right: var(--lp-gutter); box-sizing: border-box; }
.site-main { padding-top: 0; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.lop-home.site-main, .lop-single.site-main, .lop-archive.site-main { padding-bottom: 0; }

.lop-skip-link { position: absolute; left: -9999px; top: 0; background: var(--lp-navy); color: #FFFFFF; padding: 0.75rem 1rem; z-index: 2000; font-weight: 700; }
.lop-skip-link:focus { left: 1rem; top: 1rem; }

.lop-label, .lop-eyebrow { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-meta); }

/* Desk colour variable: set once per desk, used by heads, bars, chips. */
.lop-d-ap { --desk: var(--lp-navy); --desk-text: var(--lp-navy); }
.lop-d-fc { --desk: var(--lp-red); --desk-text: var(--lp-red-text); }
.lop-d-pf { --desk: var(--lp-ink); --desk-text: var(--lp-ink); }

/* Desk label. text = small caps in the desk colour; chip = white chip (navy grounds). */
.lop-kicker { margin: 0 0 0.55rem; line-height: 1.2; }
.lop-kicker a, .lop-kicker span { display: inline-flex; align-items: center; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.lop-kicker-text a, .lop-kicker-text span { min-height: 28px; color: var(--desk-text, var(--lp-red-text)); }
.lop-kicker-text a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.lop-kicker-chip a, .lop-kicker-chip span { min-height: 28px; padding: 0 0.6rem; background: #FFFFFF; border-radius: var(--lp-radius-sm); color: var(--desk-text, var(--lp-red-text)); }
.lop-kicker-chip a::before, .lop-kicker-chip span::before { content: ""; width: 7px; height: 7px; margin-right: 0.45rem; border-radius: 50%; background: var(--desk, var(--lp-red)); }
.lop-kicker-chip a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.lop-more { display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lp-navy); text-decoration: none; }
.lop-more:hover { color: var(--lp-navy-deep); text-decoration: underline; text-underline-offset: 0.25em; }

/* --- Masthead: red strip + white bar -------------------------------------------- */

.lop-masthead { position: relative; z-index: 100; background: var(--lp-sheet); border-bottom: 1px solid var(--lp-rule); }
.lop-strip { background: var(--lp-red); color: #FFFFFF; }
.lop-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.lop-strip-line { display: flex; align-items: center; gap: 0.55rem; margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #FFFFFF; white-space: nowrap; overflow: hidden; }
.lop-strip-dot { width: 7px; height: 7px; border-radius: 50%; background: #FFFFFF; flex: none; }
.lop-strip-tag { font-weight: 500; letter-spacing: 0.08em; }
.lop-strip-sub { display: inline-flex; align-items: center; min-height: 32px; padding: 0 0.85rem; background: #FFFFFF; border-radius: var(--lp-radius-sm); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lp-red-text); text-decoration: none; flex: none; }
.lop-strip-sub:hover { color: var(--lp-navy); }
.lop-strip a:focus-visible { outline-color: #FFFFFF; }

.lop-nameplate { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.lop-brand { display: flex; align-items: center; min-width: 0; flex: 0 1 auto; }
.lop-brand-h1 { margin: 0; line-height: 0; font-size: 0; }
.lop-wordmark { display: inline-flex; align-items: center; min-height: 48px; line-height: 0; text-decoration: none; }
.lop-logo { display: block; height: 66px; width: auto; max-width: none; background: none; }

.lop-nav-wrap { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.lop-masthead .main-navigation { display: flex; background: none; padding: 0; margin: 0; }
.lop-masthead .primary-menu, .lop-masthead .main-navigation ul.primary-menu { display: flex; align-items: center; flex-wrap: nowrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.lop-masthead .main-navigation a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.95rem; position: relative; white-space: nowrap; font-family: var(--lp-text); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lp-ink); text-decoration: none; }
.lop-masthead .main-navigation a::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 6px; height: 3px; background: var(--desk, var(--lp-navy)); opacity: 0; }
.lop-masthead .main-navigation a:hover { color: var(--lp-navy); }
.lop-masthead .main-navigation a:hover::after { opacity: 0.45; }
.lop-masthead .main-navigation .current-cat > a { color: var(--lp-navy); }
.lop-masthead .main-navigation .current-cat > a::after { opacity: 1; }
.lop-masthead .main-navigation .lop-drawer-label { display: none; }
.lop-masthead .lop-nav-news a { color: var(--lp-red-text); }

.lop-tools { gap: 0.25rem; padding-left: 0.75rem; border-left: 1px solid var(--lp-rule); }
.lop-masthead .mobile-search-toggle { display: inline-flex; width: 44px; height: 44px; min-width: 44px; align-items: center; justify-content: center; color: var(--lp-ink); background: transparent; border-radius: 50%; }
.lop-masthead .mobile-search-toggle svg { color: var(--lp-ink); }
.lop-masthead .mobile-search-toggle:hover { background: var(--lp-tint); }
.lop-masthead .mobile-menu-toggle { display: none; }
.lop-masthead .hamburger-line { background: var(--lp-ink); }

.lop-masthead .mobile-search-form { background: var(--lp-navy); }
.lop-masthead .mobile-search-form input[type="search"] { border: 0; border-radius: var(--lp-radius-sm); background: #FFFFFF; min-height: 48px; padding: 0 1.1rem; font-size: 1rem; color: var(--lp-ink); }
.lop-masthead .mobile-search-form button[type="submit"] { background: var(--lp-red); color: #FFFFFF; font-weight: 700; border-radius: var(--lp-radius-sm); min-height: 48px; padding: 0 1.4rem; }
.lop-masthead .mobile-search-close { width: 44px; height: 44px; color: #FFFFFF; }
.lop-masthead .mobile-search-form :focus-visible { outline-color: #FFFFFF; }
@media (min-width: 1101px) {
    .lop-masthead .mobile-search-form { position: absolute; top: 100%; left: 0; right: 0; padding: 0.9rem 0; transform: none; transition: none; box-shadow: 0 10px 24px rgba(11, 58, 114, 0.22); z-index: 99; }
    .lop-masthead .mobile-search-form form { max-width: 44rem; }
}

/* --- Story parts ------------------------------------------------------------------ */

.lop-frame { display: block; overflow: hidden; background: var(--lp-rule-soft); border-radius: var(--lp-radius); }
.lop-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.lop-r-16x9 { aspect-ratio: 16 / 9; }
.lop-r-16x10 { aspect-ratio: 16 / 10; }
.lop-r-1x1 { aspect-ratio: 1 / 1; }
.lop-frame-empty { display: block; width: 100%; height: 100%; min-height: 100%; background: var(--lp-tint); }

.lop-title { margin: 0; font-size: var(--lp-h3); font-weight: 800; line-height: 1.22; text-wrap: balance; }
.lop-title a, .lop-wide-title a { color: var(--lp-ink); text-decoration: none; }
.lop-title a:hover, .lop-wide-title a:hover { color: var(--lp-navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
.lop-sum { margin: 0.55rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--lp-meta); }

/* Section head: 8px desk bar, Bitter name + count, link right. */
.lop-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0 0 1.5rem; padding-top: 1rem; border-top: 8px solid var(--desk, var(--lp-navy)); }
.lop-head-name { margin: 0; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.125rem); line-height: 1.1; color: var(--desk-text, var(--lp-navy)); text-transform: uppercase; letter-spacing: 0; }
.lop-head-count { font-family: var(--lp-text); font-size: 0.55em; font-weight: 600; color: var(--lp-meta); letter-spacing: 0; font-variant-numeric: tabular-nums; vertical-align: 0.15em; }
.lop-head-link { display: inline-flex; align-items: center; gap: 0.35em; min-height: 44px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--desk-text, var(--lp-navy)); text-decoration: none; }
.lop-head-link:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* Image-top card. Boxed = white sheet, hairline edge, 8px corners. */
.lop-card { display: flex; flex-direction: column; min-width: 0; }
.lop-card-body { padding: 0.95rem 0 0; }
.lop-card:hover .lop-frame img, .lop-wide:hover .lop-frame img { transform: scale(1.03); }
.lop-card-boxed { background: var(--lp-sheet); border: 1px solid var(--lp-rule); border-radius: var(--lp-radius); overflow: hidden; transition: box-shadow 0.18s ease; }
.lop-card-boxed:hover { box-shadow: var(--lp-shadow-hover); }
.lop-card-boxed .lop-frame { border-radius: 0; }
.lop-card-boxed .lop-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.lop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }

/* Wide card: photo left (half), text right. */
.lop-wide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; padding: 1rem; background: var(--lp-sheet); border: 1px solid var(--lp-rule); border-radius: var(--lp-radius); box-shadow: var(--lp-shadow); min-width: 0; }
.lop-wide .lop-frame { aspect-ratio: 4 / 3; }
.lop-wide-body { min-width: 0; padding: 0.25rem 0.25rem 0 0; }
.lop-wide-title { margin: 0; font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem); line-height: 1.18; text-wrap: balance; }
.lop-wide .lop-sum { margin: 0.75rem 0 0.35rem; }

/* --- Front: navy cover band ------------------------------------------------------- */

.lop-cover { background: var(--lp-navy); color: #FFFFFF; border-bottom: 4px solid var(--lp-logo-red); }
.lop-cover-inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; padding-top: clamp(1.75rem, 3.5vw, 2.75rem); padding-bottom: clamp(2rem, 4vw, 3.25rem); }
.lop-cover a:focus-visible { outline-color: #FFFFFF; }
.lop-cover-lead { min-width: 0; }
.lop-cover-lead .lop-frame { background: var(--lp-navy-deep); box-shadow: 0 0 0 1px var(--lp-navy-line), 0 18px 40px rgba(0, 0, 0, 0.28); }
.lop-cover-lead-text { padding-top: 1.35rem; }
.lop-cover-title { margin: 0; font-size: clamp(1.85rem, 1.3rem + 2vw, 2.75rem); line-height: 1.1; color: #FFFFFF; text-wrap: balance; }
.lop-cover-title a { color: #FFFFFF; text-decoration: none; }
.lop-cover-title a:hover { color: #FFFFFF; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.lop-cover-sum { margin: 0.85rem 0 0; max-width: 46rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; color: var(--lp-on-navy-muted); }

/* "Under the light": white card, red numerals. */
.lop-toc { background: #FFFFFF; color: var(--lp-ink); border-radius: var(--lp-radius); padding: 1.35rem 1.5rem 0.5rem; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22); min-width: 0; }
.lop-toc-title { display: flex; align-items: center; gap: 0.6rem; margin: 0; padding-bottom: 0.85rem; border-bottom: 3px solid var(--lp-navy); font-size: 1.375rem; line-height: 1.1; color: var(--lp-navy); text-transform: uppercase; letter-spacing: 0; }
.lop-toc-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lp-red); flex: none; }
.lop-toc-list { list-style: none; margin: 0; padding: 0; }
.lop-toc-list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.6rem; padding: 0.95rem 0; border-top: 1px solid var(--lp-rule); }
.lop-toc-list li:first-child { border-top: 0; }
.lop-toc-num { font-family: var(--lp-display); font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--lp-red-text); font-variant-numeric: lining-nums tabular-nums; }
.lop-toc-body { min-width: 0; }
.lop-toc-link { display: block; font-family: var(--lp-display); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--lp-ink); text-decoration: none; text-wrap: balance; }
.lop-toc-link:hover { color: var(--lp-navy); text-decoration: underline; text-underline-offset: 0.16em; }
.lop-toc-desk { display: block; margin-top: 0.3rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--desk-text, var(--lp-meta)); }
.lop-toc a:focus-visible { outline-color: var(--lp-navy); }

/* Desk rails. */
.lop-rails { display: flex; flex-direction: column; gap: clamp(2.75rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 3.75rem); padding-bottom: clamp(3rem, 5.5vw, 4.5rem); }
.lop-rail-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.lop-rail-small { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.lop-rail-small .lop-title { font-size: 1.0625rem; line-height: 1.28; }
.lop-rail-small .lop-card-body { padding-top: 0.75rem; }

/* --- Newsletter band (navy) -------------------------------------------------------------- */

.lop-band-news { background: var(--lp-navy); color: #FFFFFF; padding: clamp(3rem, 5.5vw, 4.5rem) 0; text-align: center; border-top: 4px solid var(--lp-logo-red); }
.lop-band-news-inner { display: flex; flex-direction: column; align-items: center; }
.lop-band-news .lop-eyebrow { display: inline-flex; align-items: center; min-height: 26px; padding: 0 0.6rem; margin-bottom: 1rem; background: var(--lp-red); border-radius: var(--lp-radius-sm); color: #FFFFFF; }
.lop-band-news-title { margin: 0 auto 0.75rem; max-width: 24ch; color: #FFFFFF; font-size: clamp(1.9rem, 1.35rem + 2vw, 3rem); line-height: 1.08; text-wrap: balance; }
.lop-band-news-text { margin: 0 auto 1.75rem; max-width: 40rem; font-size: 1.0625rem; line-height: 1.6; color: var(--lp-on-navy-muted); }
.lop-band-news-form { width: 100%; max-width: 34rem; }
.lop-band-news .newsletter-form { display: flex; flex-direction: row; align-items: stretch; gap: 0.6rem; }
.lop-band-news input[type="email"] { flex: 1 1 auto; width: auto; min-width: 0; min-height: 54px; margin: 0; padding: 0 1.1rem; border: 0; border-radius: var(--lp-radius); background: #FFFFFF; font-size: 1.0625rem; color: var(--lp-ink); }
.lop-band-news button { flex: none; min-height: 54px; padding: 0 1.75rem; border: 0; border-radius: var(--lp-radius); background: #FFFFFF; color: var(--lp-navy); font-size: 0.9375rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.lop-band-news button:hover { background: #E6ECF5; }
.lop-band-news :focus-visible { outline-color: #FFFFFF; }
.lop-band-news .newsletter-message { background: #FFFFFF; color: var(--lp-ink); text-align: left; }

/* --- Two columns: main + sidebar ------------------------------------------------------------- */

.lop-columns { display: grid; grid-template-columns: minmax(0, 1fr) var(--lp-sidebar); gap: 0 var(--lp-side-gap); align-items: start; }
.lop-aside { min-width: 0; }

/* --- Sidebar ------------------------------------------------------------------------------------ */

.lop-side { display: flex; flex-direction: column; gap: 1.5rem; }
.lop-side-block { padding: 1.25rem 1.35rem 0.5rem; background: var(--lp-sheet); border: 1px solid var(--lp-rule); border-radius: var(--lp-radius); }
.lop-side-title { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.25rem; padding-bottom: 0.7rem; border-bottom: 3px solid var(--lp-navy); font-family: var(--lp-text); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-navy); }
.lop-side-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lp-red); }

.lop-numbered { list-style: none; margin: 0; padding: 0; }
.lop-numbered li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.5rem; align-items: start; padding: 0.85rem 0; border-top: 1px solid var(--lp-rule); }
.lop-numbered li:first-child { border-top: 0; }
.lop-num { font-family: var(--lp-display); font-size: 1.625rem; font-weight: 800; line-height: 1; color: var(--lp-red-text); font-variant-numeric: lining-nums tabular-nums; }
.lop-numbered a { font-family: var(--lp-display); font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--lp-ink); text-decoration: none; }
.lop-numbered a:hover { color: var(--lp-navy); text-decoration: underline; text-underline-offset: 0.16em; }

.lop-topics { list-style: none; margin: 0; padding: 0; }
.lop-topics li { border-bottom: 1px solid var(--lp-rule); }
.lop-topics li:last-child { border-bottom: 0; }
.lop-topics a { display: flex; align-items: center; gap: 0.7rem; min-height: 50px; color: var(--lp-ink); text-decoration: none; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.lop-topics a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--desk, var(--lp-navy)); flex: none; }
.lop-topics a:hover .lop-topic-name { color: var(--lp-navy); text-decoration: underline; text-underline-offset: 0.2em; }
.lop-topic-name { flex: 1 1 auto; }
.lop-topic-count { min-width: 2.5rem; padding: 0.15rem 0.5rem; background: var(--lp-tint); border-radius: var(--lp-radius-sm); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0; color: var(--lp-ink); text-align: center; font-variant-numeric: tabular-nums; }

/* Newsletter card: solid navy. */
.lop-news { padding: 1.4rem 1.35rem 1.3rem; background: var(--lp-navy); color: #FFFFFF; border-radius: var(--lp-radius); border-top: 4px solid var(--lp-logo-red); }
.lop-news .lop-eyebrow { color: var(--lp-on-navy-muted); }
.lop-news-title { margin: 0.5rem 0 0.5rem; font-size: 1.5rem; line-height: 1.15; color: #FFFFFF; }
.lop-news-text { margin: 0 0 1rem; font-size: 0.9375rem; line-height: 1.55; color: var(--lp-on-navy-muted); }
.lop-news .newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.lop-news input[type="email"] { min-height: 48px; padding: 0 1rem; border: 0; border-radius: var(--lp-radius-sm); background: #FFFFFF; font-size: 1rem; color: var(--lp-ink); }
.lop-news button { min-height: 48px; border: 0; border-radius: var(--lp-radius-sm); background: var(--lp-red); color: #FFFFFF; font-size: 0.875rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.lop-news button:hover { background: #B51920; }
.lop-news :focus-visible { outline-color: #FFFFFF; }
.lop-news-note { margin: 0.8rem 0 0; font-size: 0.8125rem; color: var(--lp-on-navy-muted); }
.newsletter-message { margin-top: 0.75rem; padding: 0.6rem 0.9rem; border-radius: var(--lp-radius-sm); font-size: 0.9375rem; }
.newsletter-message.success { background: #E3F1E6; color: #14532D; }
.newsletter-message.error { background: #FDE8E8; color: #8C1018; }

.lop-side-search .search-form, .lop-archive-search .search-form { display: flex; gap: 0.5rem; }
.lop-side-search .search-field, .lop-archive-search .search-field { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 1rem; border: 1px solid var(--lp-meta); border-radius: var(--lp-radius-sm); background: #FFFFFF; font-size: 1rem; color: var(--lp-ink); }
.lop-side-search .search-submit, .lop-archive-search .search-submit { min-height: 48px; padding: 0 1.1rem; border: 0; border-radius: var(--lp-radius-sm); background: var(--lp-navy); color: #FFFFFF; font-weight: 700; cursor: pointer; }
.lop-side-search .search-submit:hover { background: var(--lp-navy-deep); }
.lop-archive-search .search-form { max-width: 34rem; margin-top: 1rem; }
.lop-archive-search .search-field { border-color: #FFFFFF; }
.lop-archive-search .search-submit { background: var(--lp-red); }

/* Ad frames the theme places: labelled, reserved; nothing renders while the block is empty. */
.lop-ad { display: flex; flex-direction: column; align-items: center; padding: 0.6rem 0 0.9rem; border-top: 1px solid var(--lp-rule); border-bottom: 1px solid var(--lp-rule); }
.lop-ad::before { content: "Advertisement"; display: block; margin-bottom: 0.5rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lp-meta); }
.lop-ad-side { min-height: 290px; }
.lop-ad-wide { min-height: 120px; }
.lop-ad .code-block { margin: 0 !important; max-width: 100%; width: 100%; }
.lop-ad-placeholder { display: flex; align-items: center; justify-content: center; width: 300px; max-width: 100%; height: 250px; border: 1px dashed var(--lp-rule); color: var(--lp-meta); font-size: 0.8125rem; text-align: center; padding: 1rem; box-sizing: border-box; }
.lop-ad-wide .lop-ad-placeholder { width: 728px; height: 90px; }
.lop-archive-body > .lop-ad-wide { margin: 1.75rem 0; }

/* --- Single: navy head band, cover overlaps its bottom edge ------------------------------- */

.lop-article-head { background: var(--lp-navy); color: #FFFFFF; }
.lop-article-head-inner { max-width: 1000px; padding-top: clamp(1rem, 2.5vw, 1.75rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.lop-article-head.has-cover .lop-article-head-inner { padding-bottom: clamp(6rem, 12vw, 9rem); }
.lop-article-head a:focus-visible { outline-color: #FFFFFF; }
.lop-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.6rem; margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lp-on-navy-muted); }
.lop-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lp-on-navy-muted); text-decoration: none; }
.lop-breadcrumb a:last-of-type:not(:first-child) { color: #FFFFFF; }
.lop-breadcrumb a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 0.25em; }
.lop-breadcrumb .sep { opacity: 0.6; }
.lop-article-head .lop-kicker { margin-bottom: 0.9rem; }
.lop-article-title { margin: 0; max-width: 26ch; color: #FFFFFF; font-size: var(--lp-title); line-height: 1.1; text-wrap: balance; }
.lop-article-dek { margin: 1rem 0 0; max-width: 46rem; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); line-height: 1.55; color: var(--lp-on-navy-muted); }
.lop-article-meta { margin: 1.1rem 0 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lp-on-navy-muted); font-variant-numeric: tabular-nums; }

.lop-article-cover-wrap { max-width: 1000px; margin-top: clamp(-8rem, -11vw, -5rem); position: relative; }
.lop-article-cover { margin: 0; }
.lop-article-cover-frame { padding: 8px; background: #FFFFFF; border-radius: var(--lp-radius); box-shadow: 0 18px 44px rgba(11, 58, 114, 0.22); }
.lop-article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.lop-article-cover figcaption { margin: 0; padding: 0.7rem 0.25rem 0; font-size: 0.9375rem; line-height: 1.5; color: var(--lp-meta); }

.lop-single .lop-columns { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(3rem, 5vw, 4rem); }
.lop-article { min-width: 0; }

.lop-article .entry-content { font-size: var(--lp-size-body); line-height: var(--lp-lh-body); color: var(--lp-ink); }
.lop-article .entry-content > * { max-width: 100%; }
.lop-article .entry-content > p:first-child { margin-top: 0; }
.lop-article .entry-content p { text-wrap: pretty; }
.lop-article .entry-content h2 { position: relative; margin: 3rem 0 1rem; padding: 0 0 0 1.05rem !important; border: 0; font-size: var(--lp-h2); line-height: 1.18; color: var(--lp-navy); scroll-margin-top: 1.5rem; text-wrap: balance; }
.lop-article .entry-content h2::before { content: ""; position: absolute; left: 0; top: 0.15em; bottom: 0.15em; width: 5px; border-radius: 2px; background: var(--lp-red); }
.lop-article .entry-content h2::after { display: none; }
.lop-article .entry-content h3 { margin: 2rem 0 0.75rem; font-size: var(--lp-h3); color: var(--lp-ink); scroll-margin-top: 1.5rem; }
.lop-article .entry-content h4, .lop-article .entry-content h5, .lop-article .entry-content h6 { font-family: var(--lp-text); font-weight: 700; color: var(--lp-ink); }
.lop-article .entry-content a { color: var(--lp-navy); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.lop-article .entry-content a:hover { color: var(--lp-navy-deep); text-decoration-thickness: 2px; }
.lop-article .entry-content strong { font-weight: 700; color: var(--lp-ink); }
.lop-article .entry-content figure { margin: 2.25rem 0; }
.lop-article .entry-content figure img, .lop-article .entry-content p > img { display: block; height: auto; border: 0; border-radius: var(--lp-radius); background: var(--lp-rule-soft); }
.lop-article .entry-content figcaption { font-style: normal; text-align: left; font-size: 0.9375rem; line-height: 1.5; color: var(--lp-meta); padding-top: 0.55rem; }
.lop-article .entry-content ol, .lop-article .entry-content ul { padding-left: 1.5rem; }
.lop-article .entry-content li { margin-bottom: 0.5rem; }
.lop-article .entry-content li::marker { color: var(--lp-red-text); font-weight: 700; }
.lop-article .entry-content blockquote { margin: 2rem 0; padding: 1.1rem 1.4rem; border: 0; border-left: 4px solid var(--lp-navy); background: var(--lp-tint); border-radius: 0 var(--lp-radius) var(--lp-radius) 0; font-family: var(--lp-display); font-weight: 700; font-size: 1.1875rem; font-style: normal; line-height: 1.45; color: var(--lp-navy); }
.lop-article .entry-content blockquote p { margin: 0; }
.lop-article .entry-content blockquote p + p { margin-top: 0.75rem; }
.lop-article .entry-content hr { border: 0; border-top: 1px solid var(--lp-rule); }

/* "In this article" (theme-built from H2s). */
.lop-toc-box { margin: 0 0 2rem; padding: 1.15rem 1.4rem 0.9rem; background: #FFFFFF; border: 1px solid var(--lp-rule); border-top: 4px solid var(--lp-red); border-radius: var(--lp-radius); }
.lop-article .entry-content .lop-toc-box-title, .lop-toc-box-title { margin: 0 0 0.35rem; font-family: var(--lp-display); font-size: 1.125rem; font-weight: 800; color: var(--lp-navy); }
.lop-article .entry-content .lop-toc-box ol { margin: 0 0 0.25rem; padding-left: 1.5rem; }
.lop-article .entry-content .lop-toc-box li { display: list-item; margin: 0; padding: 0.4rem 0 0.4rem 0.2rem; font-size: 0.9875rem; line-height: 1.45; }
.lop-article .entry-content .lop-toc-box li::marker { color: var(--lp-red-text); font-weight: 800; }
.lop-article .entry-content .lop-toc-box a { display: inline; font-weight: 600; text-decoration: none; }
.lop-article .entry-content .lop-toc-box a:hover { text-decoration: underline; }

/* Tables: navy head row, horizontal scroll on phones. */
.table-scroll { overflow-x: auto; margin: 1.75rem 0; -webkit-overflow-scrolling: touch; border: 1px solid var(--lp-rule); border-radius: var(--lp-radius); background: #FFFFFF; }
.table-scroll table { min-width: 560px; margin: 0; }
.lop-article .entry-content table { border-collapse: collapse; width: 100%; font-size: 0.95em; font-variant-numeric: tabular-nums; }
.lop-article .entry-content th { background: var(--lp-navy); color: #FFFFFF; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-align: left; }
.lop-article .entry-content td, .lop-article .entry-content th { border-bottom: 1px solid var(--lp-rule); padding: 0.75rem 0.95rem; vertical-align: top; min-width: 9rem; }
.lop-article .entry-content tr:nth-child(even) td { background: var(--lp-tint); }
.lop-article .entry-content td:first-child, .lop-article .entry-content th:first-child { position: sticky; left: 0; z-index: 1; }
.lop-article .entry-content td:first-child { background: #FFFFFF; font-weight: 700; }
.lop-article .entry-content tr:nth-child(even) td:first-child { background: var(--lp-tint); }
.lop-article .entry-content th:first-child { background: var(--lp-navy); }

.page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 2rem 0; }
.page-links .lop-label { margin-right: 0.5rem; }
.page-links a, .page-links .post-page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 0.6rem; border: 1px solid var(--lp-navy); border-radius: var(--lp-radius-sm); background: #FFFFFF; color: var(--lp-navy); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.page-links .post-page-numbers.current { background: var(--lp-navy); color: #FFFFFF; }

.lop-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; margin: 2.5rem 0 0; padding: 1.1rem 0; border-top: 1px solid var(--lp-rule); border-bottom: 1px solid var(--lp-rule); }
.lop-share .lop-label { margin-right: 0.5rem; color: var(--lp-ink); }
.lop-share a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--lp-navy); border-radius: var(--lp-radius-sm); font-weight: 600; font-size: 0.9375rem; color: var(--lp-navy); text-decoration: none; }
.lop-share a:hover { background: var(--lp-navy); color: #FFFFFF; }
.lop-related { padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.lop-related .lop-title { font-size: 1.125rem; }

.comments-area { margin-top: 2rem; padding-top: 0; border-top: 0; }
.comments-area .comments-title, .comments-area .comment-reply-title { font-size: var(--lp-h3); color: var(--lp-navy); }
.comments-area .comment-list { list-style: none; padding: 0; }
.comments-area .comment-respond { margin: 0; padding: 1.25rem; background: var(--lp-sheet); border: 1px solid var(--lp-rule); border-radius: var(--lp-radius); }
.comments-area label, .comments-area .comment-notes, .comments-area .logged-in-as { color: var(--lp-meta); }
.comments-area input:not([type="checkbox"]):not([type="submit"]), .comments-area textarea { border-radius: var(--lp-radius-sm); border: 1px solid var(--lp-meta); background: #FFFFFF; color: var(--lp-ink); }
.comments-area input:focus, .comments-area textarea:focus { border-color: var(--lp-navy); outline: none; }
.comments-area .submit, .comments-area #submit { background: var(--lp-navy) !important; border: none; border-radius: var(--lp-radius-sm) !important; color: #FFFFFF !important; font-weight: 700; min-height: 48px; padding: 0 1.6rem; cursor: pointer; }
.comments-area .submit:hover, .comments-area #submit:hover { background: var(--lp-navy-deep) !important; }
.comments-area .comment-body { background: #FFFFFF; border: 1px solid var(--lp-rule); border-radius: var(--lp-radius); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 0.5rem; }
.comment-form-cookies-consent input { flex: 0 0 auto; margin: 0.3rem 0 0; }
.comment-form-cookies-consent label { margin: 0; }

/* --- Archive: navy head band with the page's first story as a white card ------------------ */

.lop-archive-head { background: var(--lp-navy); color: #FFFFFF; border-bottom: 4px solid var(--lp-logo-red); }
.lop-archive-head-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: start; padding-top: clamp(1rem, 2.5vw, 1.75rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.lop-archive-head-inner.is-solo { grid-template-columns: minmax(0, 1fr); }
.lop-archive-head-text { min-width: 0; align-self: center; }
.lop-archive-head a:focus-visible, .lop-archive-head :focus-visible { outline-color: #FFFFFF; }
.lop-archive-title { position: relative; margin: 0.25rem 0 0; padding-left: 1.1rem; color: #FFFFFF; font-size: clamp(2.4rem, 1.7rem + 2.8vw, 4rem); line-height: 1.02; }
.lop-archive-title::before { content: ""; position: absolute; left: 0; top: 0.1em; bottom: 0.1em; width: 6px; border-radius: 3px; background: var(--lp-logo-red); }
.lop-archive-desc { margin: 1.1rem 0 0; max-width: 44ch; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--lp-on-navy-muted); }
.lop-archive-count { display: inline-flex; align-items: center; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0.45rem 0.85rem; background: #FFFFFF; border-radius: 999px; color: var(--lp-navy); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lop-archive-count::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--desk, var(--lp-red)); }
.lop-archive.lop-d-ap .lop-archive-count::before { background: var(--lp-red); }
.lop-archive-feature { min-width: 0; }
.lop-card-feature { background: #FFFFFF; border-radius: var(--lp-radius); overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); }
.lop-card-feature .lop-frame { border-radius: 0; }
.lop-card-feature .lop-card-body { padding: 1.1rem 1.3rem 1.35rem; }
.lop-card-feature .lop-title { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
.lop-card-feature a:focus-visible { outline-color: var(--lp-navy); }

.lop-archive-body { padding-top: clamp(2.25rem, 4.5vw, 3.25rem); padding-bottom: clamp(3rem, 5.5vw, 4.5rem); }
.lop-empty { color: var(--lp-meta); }

.lop-pager { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.75rem; margin: 2.75rem 0 0; }
.lop-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.lop-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 0.6rem; border: 1px solid var(--lp-rule); border-radius: var(--lp-radius-sm); background: #FFFFFF; color: var(--lp-navy); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; box-sizing: border-box; }
.lop-pager a.page-numbers:hover { border-color: var(--lp-navy); background: var(--lp-tint); }
.lop-pager .page-numbers.current { background: var(--lp-navy); border-color: var(--lp-navy); color: #FFFFFF; }
.lop-pager .page-numbers.dots { border: 0; background: transparent; min-width: 24px; color: var(--lp-meta); }
.lop-pager-count { margin: 0; font-size: 0.875rem; color: var(--lp-meta); }

/* Explore other desks: solid desk-colour panels. */
.lop-desks { margin-top: clamp(3rem, 5.5vw, 4.25rem); }
.lop-desks-title { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; font-family: var(--lp-text); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-navy); }
.lop-desks-title::before { content: ""; width: 4px; height: 1.1em; background: var(--lp-red); border-radius: 2px; }
.lop-desks-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.lop-desk { position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem 3.75rem 1.6rem 1.6rem; background: var(--desk); border-radius: var(--lp-radius); color: #FFFFFF; text-decoration: none; transition: box-shadow 0.18s ease, transform 0.18s ease; }
.lop-desk:hover { color: #FFFFFF; box-shadow: var(--lp-shadow-hover); transform: translateY(-2px); }
.lop-desk:focus-visible { outline-color: var(--lp-navy); }
.lop-desk-name { font-family: var(--lp-display); font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem); font-weight: 800; line-height: 1.1; }
.lop-desk-count { font-family: var(--lp-text); font-size: 0.55em; font-weight: 600; opacity: 0.9; }
.lop-desk-line { font-size: 0.9875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.92); }
.lop-desk-arrow { position: absolute; top: 1.4rem; right: 1.5rem; font-size: 1.5rem; line-height: 1; }

/* --- Static pages, 404 ------------------------------------------------------------------------------ */

.lop-page-head.lop-article-head .lop-article-head-inner { padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.lop-page { max-width: 860px; padding-top: clamp(2rem, 4vw, 3rem); }
.lop-page .entry-content { font-size: var(--lp-size-body); line-height: var(--lp-lh-body); }
.lop-page .entry-content h2 { margin: 2.5rem 0 0.9rem; font-size: var(--lp-h2); color: var(--lp-navy); }
.lop-page .entry-content h3 { margin: 2rem 0 0.75rem; font-size: var(--lp-h3); }
.lop-page .entry-content a { text-decoration: underline; text-underline-offset: 0.18em; }
/* Elementor-built page content inside the reading column (while Elementor is still active). */
.lop-page .entry-content .elementor-section.elementor-section-boxed > .elementor-container { max-width: 100%; }
.lop-page .entry-content .elementor-heading-title { font-family: var(--lp-display); color: var(--lp-ink); }
.lop-404 .lop-page-head { padding-top: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 2rem; max-width: 44rem; }
.lop-404 .lop-article-title { color: var(--lp-navy); }
.lop-404 .lop-topics { margin-top: 1.25rem; max-width: 30rem; }
.lop-404 .lop-archive-search .search-field { border-color: var(--lp-meta); }
.lop-404 .lop-latest { padding-top: 1rem; padding-bottom: 2rem; }

/* --- Footer: solid navy -------------------------------------------------------------------- */

.lop-footer { margin-top: 0; padding: 3rem 0 1.5rem; background: var(--lp-navy-deep); color: #FFFFFF; }
.lop-footer a { color: #FFFFFF; text-decoration: none; }
.lop-footer a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 0.2em; }
.lop-footer a:focus-visible { outline-color: #FFFFFF; }
.lop-footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 2rem 3rem; padding-bottom: 2rem; }
.lop-footer-id { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.lop-footer-word { display: inline-flex; line-height: 0; }
.lop-logo-footer { height: 64px; width: auto; }
.lop-footer-owner { margin: 0; max-width: 30rem; font-size: 0.9375rem; line-height: 1.6; color: var(--lp-on-navy-muted); }
.lop-footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.lop-fhead { margin: 0 0 0.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--lp-logo-red); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #FFFFFF; display: inline-block; }
.lop-flist { list-style: none; margin: 0; padding: 0; }
.lop-flist li { margin: 0; }
.lop-flist a { display: inline-flex; align-items: center; min-height: 40px; font-size: 0.9375rem; color: var(--lp-on-navy-muted); }
.lop-flist a:hover { color: #FFFFFF; }
.lop-fcount { margin-left: 0.3em; opacity: 0.8; }
.lop-colophon { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--lp-navy-line); font-size: 0.875rem; color: var(--lp-on-navy-muted); }
.lop-footer-note { color: var(--lp-on-navy-muted); }

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

@media (max-width: 1240px) {
    .lop-masthead .main-navigation a { padding: 0 0.65rem; }
    .lop-masthead .main-navigation a::after { left: 0.65rem; right: 0.65rem; }
    .lop-rail-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1100px) {
    /* Masthead: logo left, search + menu right; desks move into the drawer. */
    .lop-nameplate { min-height: 0; padding-top: 0.6rem; padding-bottom: 0.6rem; }
    .lop-logo { height: 54px; }
    .lop-tools { border-left: 0; padding-left: 0; }
    .lop-masthead .mobile-menu-toggle { display: inline-flex; width: 44px; height: 44px; min-width: 44px; }
    .lop-drawer-clip { display: block; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 1000; }
    .lop-drawer-clip .main-navigation { position: absolute; display: block; pointer-events: auto; background: #FFFFFF; overflow-y: auto; padding: 0; max-width: none; }
    .lop-masthead .primary-menu, .lop-masthead .main-navigation ul.primary-menu { display: block; text-align: left; margin: 0; }
    .lop-masthead .main-navigation .primary-menu li { border-bottom: 1px solid var(--lp-rule); }
    .lop-masthead .main-navigation a { display: flex; min-height: 56px; margin: 0; padding: 0 1.5rem; font-size: 0.9375rem; color: var(--lp-ink); }
    .lop-masthead .main-navigation a:hover, .lop-masthead .main-navigation .current-cat > a { background: var(--lp-tint); color: var(--lp-navy); box-shadow: inset 5px 0 0 var(--desk, var(--lp-navy)); }
    .lop-masthead .main-navigation a::after { display: none; }
    .lop-masthead .main-navigation .lop-drawer-label { display: block; margin: 1.25rem 1.5rem 0.5rem; padding-bottom: 0.5rem; border-bottom: 3px solid var(--lp-navy); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-navy); }
    .lop-masthead .main-navigation .lop-nav-news a { color: var(--lp-red-text); }
    .lop-masthead .mobile-menu-toggle.active { position: fixed; top: 0.7rem; right: 0.75rem; z-index: 1002; }

    .lop-cover-inner { grid-template-columns: minmax(0, 1fr); }
    .lop-columns { grid-template-columns: minmax(0, 1fr); }
    .lop-aside { margin-top: 3rem; }
    .lop-aside .lop-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
    .lop-aside .lop-side-search, .lop-aside .lop-ad { grid-column: 1 / -1; }
    .lop-footer-top { grid-template-columns: minmax(0, 1fr); }
    .lop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

@media (max-width: 900px) {
    .lop-archive-head-inner { grid-template-columns: minmax(0, 1fr); }
    .lop-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .lop-strip-tag { display: none; }
    .lop-rail-small { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .lop-rail-small .lop-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0.9rem; align-items: start; padding: 0.9rem 0; border-top: 1px solid var(--lp-rule); }
    .lop-rail-small .lop-card-body { padding-top: 0; }
    .lop-wide { grid-template-columns: minmax(0, 1fr); padding: 0.75rem; }
    .lop-wide .lop-frame { aspect-ratio: 16 / 9; }
    .lop-wide-body { padding: 0 0.35rem 0.25rem; }
    .lop-desks-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
    .lop-strip-line { font-size: 0.6875rem; letter-spacing: 0.08em; }
    .lop-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
    .lop-aside .lop-side { grid-template-columns: minmax(0, 1fr); }
    .lop-band-news .newsletter-form { flex-direction: column; }
    .lop-article-cover-frame { padding: 4px; }
    .lop-article-cover-wrap { padding-left: 0.5rem; padding-right: 0.5rem; }
    .lop-share .lop-label { flex-basis: 100%; }
    .lop-toc { padding: 1.1rem 1.1rem 0.35rem; }
}

@media (max-width: 400px) {
    .lop-logo { height: 48px; }
    .lop-tools { gap: 0; }
    .lop-strip-dot { display: none; }
    .lop-footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
    .lop-card:hover .lop-frame img, .lop-wide:hover .lop-frame img { transform: none; }
}

/* Wide tables: fade the right edge while more columns are hidden. */
.entry-content .table-scroll.is-overflow:not(.at-end) {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
}

/* --- 1.0.2 (2026-11-16): desk sections replace the rails (user: "the following sections are weak") --- */
.lop-r-4x5 { aspect-ratio: 4 / 5; }
.lop-home-ad:empty { display: none; }
.lop-home-ad { padding-bottom: clamp(2rem, 4vw, 3rem); }

.lop-dsec { padding: clamp(3rem, 6vw, 5rem) 0; }
.lop-dsec-band { color: #FFFFFF; }
.lop-dsec-fc { background: var(--lp-red); }
.lop-dsec-pf { background: var(--lp-ink); }
.lop-dsec-band a:focus-visible { outline-color: #FFFFFF; }

/* Desk head: eyebrow, big Bitter name, "All N …" button right. */
.lop-dhead { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); }
.lop-dhead-eyebrow { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.lop-dhead-eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 2px; }
.lop-dhead-name { margin: 0; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); line-height: 1; letter-spacing: -0.02em; }
.lop-dhead-btn { display: inline-flex; align-items: center; gap: 0.4em; min-height: 48px; padding: 0 1.25rem; border-radius: var(--lp-radius); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: background 0.15s ease; }
.lop-dhead-light .lop-dhead-eyebrow { color: var(--lp-red-text); }
.lop-dhead-light .lop-dhead-eyebrow::before { background: var(--lp-red); }
.lop-dhead-light .lop-dhead-name { color: var(--lp-navy); }
.lop-dhead-light .lop-dhead-btn { background: var(--lp-navy); color: #FFFFFF; }
.lop-dhead-light .lop-dhead-btn:hover { background: var(--lp-navy-deep); color: #FFFFFF; }
.lop-dhead-dark .lop-dhead-eyebrow { color: #FFFFFF; }
.lop-dhead-dark .lop-dhead-eyebrow::before { background: #FFFFFF; }
.lop-dhead-dark .lop-dhead-name { color: #FFFFFF; }
.lop-dhead-dark .lop-dhead-btn { background: #FFFFFF; color: var(--lp-ink); }
.lop-dsec-fc .lop-dhead-dark .lop-dhead-btn { color: var(--lp-red-text); }
.lop-dhead-dark .lop-dhead-btn:hover { background: #EEF2F8; }
.lop-dsec-pf .lop-dhead-eyebrow::before { background: var(--lp-logo-red); }

/* American Politics: big lead left, 2×2 photo grid right. */
.lop-ap-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.lop-lead { display: flex; flex-direction: column; min-width: 0; }
.lop-lead-body { padding-top: 1.25rem; border-top: 0; }
.lop-lead-title { margin: 0; font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); line-height: 1.12; text-wrap: balance; }
.lop-lead-title a { color: var(--lp-ink); text-decoration: none; }
.lop-lead-title a:hover { color: var(--lp-navy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.14em; }
.lop-lead .lop-sum { margin: 0.8rem 0 0.4rem; font-size: 1.0625rem; max-width: 40rem; }
.lop-lead:hover .lop-frame img { transform: scale(1.03); }
.lop-ap-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
.lop-ap-side .lop-title { font-size: 1.125rem; line-height: 1.25; }
.lop-ap-side .lop-card-body { padding-top: 0.8rem; border-top: 3px solid var(--lp-navy); margin-top: 0.8rem; }
.lop-ap-side .lop-card-body { padding-top: 0.7rem; margin-top: 0.7rem; }

/* Band grids (Fact Check, Political Figures): four across. */
.lop-band-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.lop-dsec-fc .lop-card-boxed { border: 0; box-shadow: 0 14px 30px rgba(80, 6, 10, 0.28); }
.lop-dsec-fc .lop-card-boxed:hover { box-shadow: 0 18px 40px rgba(80, 6, 10, 0.38); }
.lop-dsec-fc .lop-card-boxed .lop-title { font-size: 1.1875rem; }
.lop-dsec-fc .lop-card-boxed .lop-card-body { border-top: 4px solid var(--lp-red); }

.lop-portrait { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.lop-portrait .lop-frame { background: #1F2937; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.lop-portrait:hover .lop-frame img { transform: scale(1.03); }
.lop-portrait-title { margin: 0; padding-top: 0.85rem; border-top: 3px solid var(--lp-logo-red); font-size: 1.1875rem; line-height: 1.25; text-wrap: balance; }
.lop-portrait-title a { color: #FFFFFF; text-decoration: none; }
.lop-portrait-title a:hover { color: #FFFFFF; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.16em; }

@media (max-width: 1100px) {
    .lop-band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lop-ap-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .lop-ap-side { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .lop-ap-side .lop-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0.9rem; align-items: start; padding: 0.9rem 0; border-top: 1px solid var(--lp-rule); }
    .lop-ap-side .lop-card-body { border-top: 0; margin-top: 0; padding-top: 0; }
    .lop-dsec-fc .lop-band-grid { grid-template-columns: minmax(0, 1fr); }
    .lop-dsec-pf .lop-band-grid { gap: 1.5rem 1rem; }
    .lop-portrait-title { font-size: 1rem; }
    .lop-dhead-btn { min-height: 44px; padding: 0 1rem; }
}
@media (max-width: 640px) {
    .lop-dsec-fc .lop-band-grid { gap: 0.75rem; }
    .lop-dsec-fc .lop-card-boxed { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: stretch; }
    .lop-dsec-fc .lop-card-boxed .lop-frame { aspect-ratio: auto; height: 100%; min-height: 96px; }
    .lop-dsec-fc .lop-card-boxed .lop-card-body { padding: 0.8rem 0.9rem; border-top: 0; border-left: 4px solid var(--lp-red); }
    .lop-dsec-fc .lop-card-boxed .lop-title { font-size: 1rem; }
    .lop-dsec-fc .lop-card-boxed .lop-sum { display: none; }
}

/* --- 1.0.4 (2026-11-16): compact comment form (user: "it's big af") --- */
.comments-area .comment-respond { padding: 1.1rem 1.25rem 1rem; border-top: 4px solid var(--lp-navy); }
.comments-area .comment-reply-title { margin: 0 0 0.2rem; font-size: 1.25rem; }
.comments-area .comment-reply-title small { margin-left: 0.75rem; font-family: var(--lp-text); font-size: 0.8125rem; font-weight: 600; }
.comments-area .comment-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; margin: 0; }
.comments-area .comment-form > p { margin: 0; }
.comments-area .comment-form > * { grid-column: 1 / -1; }
.comments-area .comment-notes { margin: 0 0 0.25rem !important; font-size: 0.875rem; color: var(--lp-meta); }
.comments-area .comment-form-author { grid-column: 1; }
.comments-area .comment-form-email { grid-column: 2; }
.comments-area .form-submit { grid-column: 3; order: 5; }
.comments-area .comment-form-cookies-consent { order: 6; font-size: 0.8125rem; }
.comments-area .comment-form-cookies-consent label { color: var(--lp-meta); font-size: 0.8125rem; font-weight: 500; }
.comments-area .logged-in-as { margin: 0 !important; font-size: 0.875rem; }
.comments-area .comment-form textarea { display: block; width: 100%; min-height: 104px; height: 104px; padding: 0.7rem 0.85rem; font-size: 1rem; line-height: 1.5; resize: vertical; box-sizing: border-box; }
.comments-area .comment-form input[type="text"], .comments-area .comment-form input[type="email"] { display: block; width: 100%; height: 44px; min-height: 44px; padding: 0 0.85rem; font-size: 0.9375rem; box-sizing: border-box; }
.comments-area .comment-form ::placeholder { color: #6B7280; }
.comments-area .form-submit .submit, .comments-area #submit { min-height: 44px !important; height: 44px; padding: 0 1.25rem !important; font-size: 0.9375rem; white-space: nowrap; }
.comments-area .comment-form-cookies-consent input { margin-top: 0.2rem; }
@media (max-width: 640px) {
    .comments-area .comment-form { grid-template-columns: minmax(0, 1fr); }
    .comments-area .comment-form-author, .comments-area .comment-form-email, .comments-area .form-submit { grid-column: 1; }
    .comments-area .form-submit .submit, .comments-area #submit { width: 100%; }
}

/* --- 1.0.5 (2026-11-16): faint civic line art behind the newsletter (white lines, alpha ~20% baked in).
   Band: Capitol + flag at the left edge, ballot box / magnifier / newspaper at the right, both sized to the band height. */
.lop-band-news {
    background-color: var(--lp-navy);
    background-image: url("../images/newsletter-band-left.webp?v=1.0.5"), url("../images/newsletter-band-right.webp?v=1.0.5");
    background-position: left max(0px, calc(50% - 700px)) bottom, right max(0px, calc(50% - 700px)) bottom;
    background-size: auto 96%, auto 88%;
    background-repeat: no-repeat;
}
.lop-news { background: var(--lp-navy) url("../images/newsletter-card.webp?v=1.0.5") right 10px top 12px / 34% auto no-repeat; }
@media (max-width: 900px) {
    .lop-band-news { background-size: auto 46%, auto 40%; background-position: left -20px bottom, right -20px bottom; }
}

/* --- 1.0.7 (2026-11-16): one-line logo (aspect 6.6:1) + no breadcrumb on single --- */
.lop-logo { height: 44px; }
.lop-logo-footer { height: 40px; }
.lop-single .lop-article-head-inner { padding-top: clamp(1.5rem, 3vw, 2.25rem); }
@media (max-width: 1100px) { .lop-logo { height: 38px; } }
@media (max-width: 400px) { .lop-logo { height: 30px; } }

/* --- 1.0.8 (2026-11-16): visual-QA fixes --- */
/* Archive: the grid is split after card 6 for an ad frame; keep the gap when the frame is empty. */
.lop-archive-body .lop-grid + .lop-grid { margin-top: 1.75rem; }
/* Archive at 2 columns: an odd last card spans both columns as a wide image-left card (no orphan). */
@media (min-width: 641px) and (max-width: 1100px) {
    .lop-archive-body .lop-grid-3 > .lop-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
    .lop-archive-body .lop-grid-3 > .lop-card:last-child:nth-child(odd) .lop-frame { aspect-ratio: auto; height: 100%; min-height: 220px; }
}
/* In-content ad units (Ad Inserter blocks) get the same "Advertisement" label as the theme frames,
   but only once something actually filled; unfilled AdSense units reserve no space. */
.entry-content .code-block:has(ins.adsbygoogle[data-ad-status="filled"])::before,
.entry-content .code-block:has(iframe)::before,
.entry-content .google-auto-placed:has(ins.adsbygoogle[data-ad-status="filled"])::before { content: "Advertisement"; display: block; margin: 0 0 0.4rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lp-meta); text-align: center; }
.entry-content .code-block:has(ins.adsbygoogle[data-ad-status="filled"]),
.entry-content .code-block:has(iframe) { padding: 0.6rem 0 0.9rem; border-top: 1px solid var(--lp-rule); border-bottom: 1px solid var(--lp-rule); }
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

/* --- 1.0.13 (2026-11-16): chat widget floats again; while Google's anchor ad shows it shrinks to a round button above the ad --- */
#inchat-root.lop-chat-mini .chatbot-bar { left: auto !important; right: 12px !important; bottom: calc(var(--inchat-anchor, 0px) + 10px) !important; width: 52px !important; height: 52px !important; padding: 0 !important; gap: 0 !important; justify-content: center !important; border-radius: 50% !important; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important; }
#inchat-root.lop-chat-mini .chatbot-bar-input,
#inchat-root.lop-chat-mini .chatbot-bar-close { display: none !important; }
/* the widget opens on the ▲ toggle (and the input), not the logo: stretch the toggle invisibly over the whole circle */
#inchat-root.lop-chat-mini .chatbot-bar-toggle { display: block !important; position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; opacity: 0 !important; border-radius: 50% !important; cursor: pointer !important; z-index: 2 !important; }
#inchat-root.lop-chat-mini .chatbot-bar-logo { width: 34px !important; height: 34px !important; pointer-events: none !important; }
#inchat-root.lop-chat-mini .chatbot-spacer { display: none !important; }

/* --- 1.0.11 (2026-11-16): logo 2a = roundel + condensed caps (aspect 4.2:1) --- */
.lop-logo { height: 50px; }
.lop-logo-footer { height: 48px; }
@media (max-width: 1100px) { .lop-logo { height: 44px; } }
@media (max-width: 400px) { .lop-logo { height: 38px; } }

/* --- 1.0.15 (2026-11-16): faint desk line art behind the category masthead (white lines, alpha ~14% baked in) --- */
.category .lop-archive .lop-archive-head { background-repeat: no-repeat; background-position: left max(0px, calc(50% - 720px)) bottom; background-size: auto 92%; }
.category .lop-archive.lop-d-ap .lop-archive-head { background-image: url("../images/categories/american-politics.webp?v=1.0.15"); }
.category .lop-archive.lop-d-fc .lop-archive-head { background-image: url("../images/categories/factcheck.webp?v=1.0.15"); }
.category .lop-archive.lop-d-pf .lop-archive-head { background-image: url("../images/categories/politicalprofiles.webp?v=1.0.15"); }
@media (max-width: 900px) {
    .category .lop-archive .lop-archive-head { background-position: right -20px top 12px; background-size: auto 210px; }
}
