/*
Theme Name: LoruAI
Description: Custom publishing theme for LoruAI's curated AI news, tools, companies, workflows, and trackers.
Version: 1.8.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: loruai
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Self-hosted Inter variable Latin subsets; license is included in assets/fonts/. */
@font-face { font-family: "Loru Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-latin-variable.woff2") format("woff2"); }
@font-face { font-family: "Loru Inter"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-latin-variable-italic.woff2") format("woff2"); }
:root { --primary: #000000; --primary-dark: #000000; --ink: #292b31; --muted: #60646e; --copy: #3f4650; --text-size: 16px; --text-small: 15px; --accent: #ed6337; --accent-dark: #e35b30; --accent-ink: #b84623; --accent-light: #ffac8d; --line: #dfe1e5; --paper: #fefefe; --inverse: #ffffff; --canvas: #f1f2f3; --wash: #f6f7f8; --heading: "Loru Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --sans: "Loru Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* The desktop rail leaves the reading column clear; mobile uses a top masthead. */
:root { --site-header-height: 0px; --site-toolbar-offset: 0px; --navigation-width: 224px; }
body { --header-clearance: calc(var(--site-header-height) + var(--site-toolbar-offset) + 24px); }
body.admin-bar { --site-toolbar-offset: 32px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 400 15px/1.7 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
::selection { color: var(--inverse); background: var(--primary); }
a { color: var(--primary); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, summary { -webkit-tap-highlight-color: transparent; }
img, video { max-width: 100%; height: auto; }
svg { display: inline-block; }
[hidden] { display: none !important; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; vertical-align: middle; }
.site-shell { display: grid; grid-template-columns: var(--navigation-width) minmax(0, 1fr); max-width: 1520px; min-height: 100vh; margin-inline: auto; border-inline: 1px solid var(--line); }
.site-content { min-width: 0; }
.site-container { width: calc(100% - 48px); margin-inline: auto; }
.site-header { position: sticky; top: var(--site-toolbar-offset); z-index: 1000; align-self: start; height: calc(100vh - var(--site-toolbar-offset)); height: calc(100dvh - var(--site-toolbar-offset)); padding: 26px 16px 20px; border-right: 1px solid var(--line); background: var(--paper); }
.header-main { height: 100%; color: var(--primary); background: var(--paper); overflow-y: auto; scrollbar-width: thin; }
.masthead { display: flex; flex-direction: column; align-items: stretch; gap: 22px; width: 100%; min-height: 100%; }
.brand-lockup { display: flex; align-items: center; flex: 0 0 auto; min-width: 0; padding: 0 12px; }
.wordmark { display: inline-flex; align-items: center; max-width: 100%; padding-block: 4px; vertical-align: top; }
.brand-logo { display: block; flex: 0 0 auto; width: 144px; max-width: 100%; height: auto; object-fit: contain; }
.brand-logo-full { width: 176px; }
.wordmark:hover { color: var(--primary); }
.primary-navigation { flex: 0 0 auto; width: 100%; }
.primary-navigation ul { display: flex; flex-direction: column; gap: 6px; padding: 0; margin: 0; list-style: none; }
.primary-navigation a { display: flex; align-items: center; gap: 13px; position: relative; min-height: 49px; padding: 11px 14px; border-radius: 6px; color: var(--primary); font: 650 15px/1.4 var(--heading); }
.primary-navigation .navigation-icon { width: 21px; height: 21px; opacity: .75; }
.primary-navigation a:hover { color: var(--primary); background: var(--wash); }
.primary-navigation a[aria-current] { color: var(--accent-ink); background: var(--wash); font-weight: 800; }
.primary-navigation a[aria-current]::after { content: ""; position: absolute; inset: 13px auto 13px 0; width: 3px; border-radius: 2px; background: var(--accent); }
.primary-navigation a[aria-current] .navigation-icon { opacity: 1; }
.header-actions { display: none; }
.navigation-follow { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 961px) {
  .site-header .brand-lockup { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
}
.header-follow { display: flex; align-items: center; gap: 13px; min-height: 48px; padding: 8px 14px; color: var(--primary); font: 700 13px/1.5 var(--sans); }
.header-follow small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 400; }
.header-follow:hover { color: var(--accent-ink); }
.menu-toggle { display: none; align-items: center; gap: 7px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--primary); font: 700 13px/1.4 var(--heading); }
.search-form { display: flex; width: 100%; max-width: 520px; min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid #c9ccd2; border-radius: 6px; }
.search-form:focus-within { outline: 2px solid var(--accent-ink); outline-offset: -2px; }
.search-form input { flex: 1 1 0; min-width: 0; width: 0; min-height: 44px; padding: 11px 12px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 14px; appearance: none; }
.search-form input:focus-visible { outline: 0; }
.search-form input::placeholder { color: var(--muted); opacity: 1; }
.search-form button { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; min-height: 44px; padding: 0; border: 0; color: var(--inverse); background: var(--primary); }
.search-form button:focus-visible { outline: 2px solid var(--accent-light); outline-offset: -5px; }
.search-form button:hover { background: var(--primary-dark); }
.site-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; padding-block: 24px 36px; }
.site-main { min-width: 0; min-height: 52vh; }
.eyebrow { margin: 0 0 9px; color: var(--accent-ink); font: 700 10px/1.5 var(--sans); letter-spacing: .035em; text-transform: uppercase; }
.page-intro { padding: 0; margin-bottom: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.page-intro-body { padding: 18px 22px; }
.page-description { margin: 0; color: var(--copy); font-size: var(--text-size); font-weight: 450; line-height: 1.75; }
.page-description p { margin: 0; }
.page-intro .search-form { margin-top: 18px; }
.home-intro { margin-bottom: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.home-intro-body { padding: 18px; }
.home-intro-body > p { margin: 0; color: var(--copy); font-size: var(--text-size); font-weight: 450; line-height: 1.75; }
.home-intro-links { margin-top: 12px; }
.home-intro-links ul { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 0; list-style: none; }
.home-intro-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; font-size: 13px; font-weight: 750; }
.home-intro-links a:hover { text-decoration: underline; }
.home-intro-links .icon { width: 14px; height: 14px; }
.section-heading { --heading-inset: 17px; --heading-size: 21px; --heading-rule: var(--primary); --heading-divider: var(--line); --heading-ink: var(--primary); --heading-muted: var(--muted); position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; border-top: 3px solid var(--heading-rule); border-bottom: 1px solid var(--heading-divider); padding: 12px var(--heading-inset); }
.section-heading::before { content: ""; position: absolute; top: -3px; left: var(--heading-inset); height: 3px; width: 32px; background: var(--accent); }
.section-heading > h1, .section-heading > h2, .section-heading > h3 { min-width: 0; max-width: 100%; margin: 0; color: var(--heading-ink); font: 750 var(--heading-size)/1.3 var(--heading); overflow-wrap: anywhere; }
.section-caption { max-width: 100%; color: var(--heading-muted); font-size: 12px; }
.heading-page { --heading-inset: 22px; --heading-size: clamp(24px, 2.4vw, 30px); padding-block: 17px; }
.heading-widget { --heading-inset: 18px; --heading-size: 18px; border-top-width: 2px; padding-block: 11px; }
.heading-widget::before { top: -2px; height: 2px; width: 26px; }
.heading-dark { --heading-rule: #ffffff50; --heading-divider: #ffffff30; --heading-ink: var(--inverse); --heading-muted: var(--inverse); }
.featured-news, .latest-news { background: var(--paper); border: 1px solid var(--line); }
.featured-news { margin-bottom: 20px; }
.story-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; color: var(--muted); font-size: 12px; line-height: 1.65; }
.source-domain { color: var(--muted); font-weight: 500; overflow-wrap: anywhere; }
.meta-divider { color: #92969e; }
.latest-news .pagination { padding: 18px; margin: 0; border-top: 1px solid var(--line); }
.assigned-news { margin-top: 24px; }
.assigned-news-empty { padding: 18px; margin: 0; }
.tracker-profile, .tracker-updates { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); }
.tracker-header { display: flow-root; }
.tracker-header-body { padding: 17px 22px 18px; }
.tracker-intro.entry-content { margin: 12px 0 0; color: var(--copy); font-size: var(--text-size); font-weight: 450; line-height: 1.75; }
.tracker-intro.entry-content > :last-child { margin-bottom: 0; }
.tracker-note { margin: 0; }
.tracker-note summary.section-heading { --heading-size: 14px; cursor: pointer; list-style: none; }
.tracker-note summary::-webkit-details-marker { display: none; }
.tracker-note summary::after { content: '+'; color: var(--accent-ink); font-size: 20px; line-height: 1; }
.tracker-note[open] summary::after { content: '−'; }
.tracker-note summary:hover, .tracker-note[open] summary { background: var(--wash); }
.tracker-note summary:focus-visible { outline-offset: -4px; }
.tracker-note-content.entry-content { padding: 16px 22px 20px; font-size: var(--text-size); line-height: 1.75; }
.tracker-note-content.entry-content h2 { font-size: 21px; }
.tracker-note-content.entry-content h3 { font-size: 18px; }
.tracker-note-content > :last-child { margin-bottom: 0; }
.tracker-password { padding: 0 22px 20px; }
.tracker-updates { margin-top: 18px; }
.news-row { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.news-row:last-child, .latest-news > .news-row:last-of-type { border-bottom: 0; }
.news-row:hover { background: var(--wash); }
.news-row > time { padding-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.news-row h3 { margin: 0; color: var(--primary); font: 700 17px/1.5 var(--heading); overflow-wrap: anywhere; }
.news-row h3 a { color: inherit; }
.news-row h3 a:hover { color: var(--accent-ink); }
.news-row h3 .icon { width: 13px; height: 13px; opacity: .65; }
.news-row-description { margin: 5px 0 6px; color: var(--copy); font-size: var(--text-size); font-weight: 450; line-height: 1.65; overflow-wrap: anywhere; }
.news-row-source { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.source-domain { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; vertical-align: middle; }
.source-domain > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.source-logo-icon { display: inline-grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--muted); font: 600 11px/1 var(--sans); }
.source-logo-icon > * { grid-area: 1 / 1; }
.source-logo-icon img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; background: var(--paper); }
.source-logo-icon img[hidden] { display: none; }
.news-row-connections { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.news-row-connections a { display: inline-flex; align-items: baseline; gap: 6px; max-width: 100%; padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; color: var(--primary); background: var(--paper); font: 600 12px/1.5 var(--sans); overflow-wrap: anywhere; }
.news-connection-kind { color: var(--muted); font-size: 11px; font-weight: 400; }
.news-connection-title { min-width: 0; }
.news-row-connections a:hover { color: var(--accent-ink); border-color: var(--accent-ink); background: var(--wash); }
.tracker-update-total { padding: 12px 18px; margin: 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.tracker-update-empty { padding: 18px; margin: 0; color: var(--muted); font-size: 14px; }
.discovery-strip { margin-top: 20px; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.discovery-body { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; }
.discovery-body > p { margin: 0; color: var(--copy); font-size: var(--text-size); font-weight: 450;  line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 16px; height: 16px; }
.discovery-body > .text-link { flex: 0 0 auto; }
.site-sidebar { --sidebar-sticky-top: var(--header-clearance); display: flex; flex-direction: column; align-self: stretch; gap: 18px; min-width: 0; }
.site-sidebar > * { flex-shrink: 0; min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.site-sidebar .sidebar-explore { position: sticky; top: var(--sidebar-sticky-top); max-height: calc(100vh - var(--sidebar-sticky-top) - 24px); max-height: calc(100dvh - var(--sidebar-sticky-top) - 24px); overflow-y: auto; }
.sidebar-body { padding: 16px 18px 18px; }
.sidebar-body > .sidebar-section-link:first-child { padding-top: 0; }
.site-sidebar p { margin: 0 0 12px; color: var(--copy); font-size: var(--text-small); font-weight: 450; line-height: 1.7; }
.site-sidebar p:last-child { margin-bottom: 0; }
.sidebar-section-link { display: flex; align-items: center; gap: 9px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sidebar-section-link:last-child { border-bottom: 0; padding-bottom: 0; }
.sidebar-section-link strong, .sidebar-link-list strong { min-width: 0; overflow-wrap: anywhere; font: 700 17px/1.4 var(--heading); }
.sidebar-section-link > .icon { margin-left: auto; width: 14px; height: 14px; }
.sidebar-link-list { padding: 0; margin: 0; list-style: none; }
.sidebar-link-list li + li { border-top: 1px solid var(--line); }
.sidebar-link-list a { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.sidebar-link-list li:first-child a { padding-top: 0; }
.sidebar-tracker-list li:last-child a { padding-bottom: 0; }
.sidebar-link-list a .icon { width: 14px; height: 14px; margin-left: auto; }
.sidebar-link-list a[aria-current] { color: var(--accent-ink); }
.sidebar-insights-list strong { font-size: 15px; }
.sidebar-insights-all { display: flex; justify-content: space-between; min-height: 44px; margin-top: 4px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--wash); }
.sidebar-insights-all:hover { border-color: var(--accent-ink); }
.content-list { border: 1px solid var(--line); border-top: 3px solid var(--primary); background: var(--paper); }
.directory-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 210px); align-items: start; gap: 12px 18px; margin: 0 0 15px; }
.directory-search-form, .directory-sort-control { min-width: 0; }
.directory-toolbar label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.directory-search-controls { display: flex; gap: 8px; }
.directory-search { flex: 1 1 0; width: 0; min-width: 0; height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font: 500 14px/1.5 var(--sans); appearance: none; }
.directory-search-controls button { flex: 0 0 auto; height: 44px; min-height: 44px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 4px; box-shadow: none; appearance: none; font: 650 13px/1.5 var(--sans); }
.directory-search-controls .button-primary { justify-content: center; border-color: var(--primary); }
.directory-search-controls .button-primary:hover { border-color: var(--accent); }
.directory-clear { background: var(--wash); color: var(--primary); }
.directory-summary { grid-column: 1 / -1; }
.directory-order { display: block; width: 100%; min-width: 0; height: 44px; padding: 9px 32px 9px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--paper); font: 500 14px/1.5 var(--sans); }
.directory-order:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.directory-summary { margin: 0; color: var(--muted); font-size: 12px; }
.directory-feedback, .directory-order-note { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.directory-retry { margin: 0 0 16px; border: 0; }
.directory-results { scroll-margin-top: var(--header-clearance, 24px); }
.directory-results[aria-busy="true"] { opacity: .65; }
.directory-pagination button { cursor: pointer; }
.listing-entry { display: flow-root; padding: 20px; border-bottom: 1px solid var(--line); }
.listing-entry:last-child { border-bottom: 0; }
.listing-copy { flex: 1; min-width: 0; }
.listing-copy > .story-meta > span:first-child { color: var(--accent-ink); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.listing-title { margin: 6px 0 7px; color: var(--primary); font: 750 25px/1.3 var(--heading); overflow-wrap: anywhere; }
.listing-title a { color: inherit; }
.listing-title a:hover { color: var(--accent-ink); }
.listing-summary { margin: 10px 0 0; color: var(--copy); font-size: var(--text-size); line-height: 1.75; font-weight: 450; }
.listing-read { margin-top: 13px; }
.listing-image { display: block; float: left; width: clamp(170px, 28%, 220px); margin: 4px 18px 10px 0; }
.listing-image img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; background: var(--wash); }
.post-type-archive .content-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; border: 0; background: transparent; }
.post-type-archive .listing-entry { display: flex; flex-direction: column; gap: 0; padding: 0; border: 1px solid var(--line); background: var(--paper); }
.post-type-archive .listing-copy { padding: 18px; }
.post-type-archive .listing-image { float: none; width: 100%; margin: 0; }
.post-type-archive .listing-image img { width: 100%; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; color: var(--muted); font-size: 11px; }
.breadcrumbs a { color: #565b64; }
.breadcrumbs a:hover { color: var(--accent-ink); }
.single-entry { padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.article-header { margin: 0; padding: 0; }
.article-header-body { padding: 16px 24px 0; }
.article-header-body > :last-child { margin-bottom: 0; }
.profile-meta-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.profile-meta-row > .breadcrumbs { margin-bottom: 0; }
.profile-meta-row > .story-meta { font-size: 12px; white-space: nowrap; }
.profile-news-jump { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; margin-top: 8px; color: var(--accent-ink); font-size: 13px; font-weight: 750; text-decoration: underline; }
.profile-news-jump .icon { width: 15px; height: 15px; transform: rotate(90deg); }
#assigned-news-heading { scroll-margin-top: var(--header-clearance, 24px); }
.article-body { padding: 20px 24px 26px; }
.article-image { margin: 0 0 25px; }
.article-image img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.entry-content { font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content a { text-decoration: underline; }
.entry-content h2, .entry-content h3 { margin: 1.5em 0 .65em; color: var(--primary); font-family: var(--heading); font-weight: 700; line-height: 1.25; scroll-margin-top: var(--header-clearance, 24px); }
.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 23px; }
.entry-content h4 { font: 700 19px/1.4 var(--heading); color: var(--primary); margin-bottom: .65em; }
.entry-content ul, .entry-content ol { padding-left: 23px; margin-block: 0 1.5em; }
.entry-content li { margin-bottom: 7px; }
.entry-content li::marker { color: var(--primary); }
.entry-content blockquote { margin: 27px 0; padding: 17px 21px; border-left: 3px solid var(--accent); background: var(--wash); color: var(--primary); font: 500 21px/1.5 var(--heading); }
.entry-content blockquote p { margin: 0; }
.entry-content pre { max-width: 100%; overflow: auto; padding: 18px; background: var(--wash); font-size: 13px; line-height: 1.6; }
.entry-content code { padding: 2px 4px; background: var(--wash); font-size: .85em; }
.entry-content pre code { padding: 0; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; margin-bottom: 24px; }
.entry-content th, .entry-content td { padding: 11px 13px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--wash); color: var(--primary); font-weight: 700; }
.entry-content iframe { max-width: 100%; }
.entry-content figure { max-width: 100%; margin-inline: 0; }
.entry-content figcaption, .wp-caption-text { color: var(--muted); font-size: 11px; }
.entry-content .alignleft { float: left; margin: 7px 22px 15px 0; }
.entry-content .alignright { float: right; margin: 7px 0 15px 22px; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.entry-content::after { content: ""; display: block; clear: both; }
.loruai-content-section { padding: 0; margin-top: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.content-section-body { padding: 18px; }
.content-section-body > :first-child { margin-top: 0; }
.content-section-body > :last-child { margin-bottom: 0; }
.content-section-body > p, .content-section-body > ul { font-size: var(--text-size); overflow-wrap: anywhere; }
.content-section-body > ul { padding-left: 20px; }
.pagination { padding-top: 21px; margin-top: 23px; border-top: 1px solid var(--line); }
.pagination ul, .pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 0; margin: 0; list-style: none; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 34px; padding: 5px 9px; border: 1px solid var(--line); background: var(--paper); font-size: 11px; }
.page-numbers.current { color: var(--inverse); background: var(--primary); border-color: var(--primary); }
a.page-numbers:hover { color: var(--inverse); background: var(--primary); }
.page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; }
[data-ajax-pagination] { scroll-margin-top: var(--header-clearance, 24px); }
[data-ajax-pagination][aria-busy="true"] .ajax-pagination-links a { cursor: progress; }
.ajax-pagination-status { margin: 8px 0 0; color: var(--copy); font-size: 13px; }
.ajax-pagination-status a { text-decoration: underline; }
.empty-state { padding: 30px 24px 35px; background: var(--paper); }
.empty-rule { display: block; width: 30px; border-top: 3px solid var(--accent); margin-bottom: 17px; }
.empty-state h2, .empty-state h3 { margin: 0 0 10px; color: var(--primary); font: 700 28px/1.2 var(--heading); }
.empty-state p { max-width: 48ch; margin: 0 0 17px; color: var(--muted); font-size: 14px; }
.button-primary { display: inline-flex; align-items: center; gap: 18px; min-height: 43px; padding: 10px 17px; color: var(--inverse); background: var(--primary); font-size: 12px; font-weight: 700; }
.button-primary:hover { color: var(--inverse); background: var(--accent); }
.error-page .button-primary { margin-block: 22px; }
.error-page .search-form { margin-top: 7px; }
.post-password-form input { max-width: 100%; padding: 7px; border: 1px solid var(--line); }
.post-password-form input[type=submit] { color: var(--inverse); background: var(--primary); padding-inline: 14px; }
.site-footer { border-top: 4px solid var(--primary); background: var(--primary); color: var(--inverse); }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1fr; gap: 38px; padding-block: 36px; }
.footer-brand p, .footer-follow p:not(.eyebrow) { max-width: 270px; margin: 14px 0 0; color: var(--inverse); font-size: 14px; line-height: 1.8; }
.footer-main .section-heading { --heading-inset: 0px; --heading-size: 17px; margin-bottom: 14px; }
.footer-navigation ul { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.footer-navigation a { color: var(--inverse); font-size: 14px; }
.footer-navigation a:hover { color: var(--inverse); }
.footer-follow .footer-feed-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; margin-top: 17px; color: var(--inverse); background: var(--accent); font-size: 12px; font-weight: 700; }
.footer-feed-link:hover { background: var(--accent-dark); }
.footer-feed-link .icon { width: 15px; height: 15px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px; padding-block: 17px; border-top: 1px solid #fefefe1c; color: var(--inverse); font-size: 12px; }
.footer-bottom p { margin: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 100001; width: auto; height: auto; padding: 11px 16px; clip-path: none; background: var(--paper); color: var(--primary); border: 2px solid var(--accent); }
/* Refined surface treatment and readable focus on the dark masthead. */
.page-intro, .featured-news, .latest-news, .site-sidebar > *, .single-entry, .content-list, .discovery-strip { border-radius: 8px; }
.featured-news, .latest-news, .post-type-archive .listing-entry { overflow: hidden; }
.post-type-archive .listing-entry { border-radius: 7px; }
.header-follow, .button-primary, .footer-feed-link { border-radius: 4px; }
.search-form { border-radius: 6px; }
.header-main a:focus-visible, .header-main button:focus-visible, .header-main summary:focus-visible { outline-color: var(--accent-ink); outline-offset: -3px; }
@media (max-width: 1100px) {
  .footer-main { gap: 26px; }
}
@media (max-width: 960px) {
  :root { --site-header-height: 74px; }
  .site-shell { display: block; border: 0; }
  .site-header { position: static; height: auto; padding: 0; border: 0; border-bottom: 1px solid var(--line); }
  .nav-ready .site-header { position: sticky; }
  .header-main { height: auto; overflow: visible; }
  .masthead { position: relative; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 12px; width: calc(100% - 40px); min-height: 74px; padding-block: 12px; }
  .brand-lockup { flex: 1; padding: 0; }
  .header-actions { order: 2; width: auto; }
  .navigation-follow { display: none; }
  .menu-toggle { display: inline-flex; order: 3; }
  .primary-navigation { order: 4; flex: 0 0 100%; width: 100%; }
  .primary-navigation ul { gap: 3px; padding-block: 12px; }
  .primary-navigation a { min-height: 46px; }
  .nav-ready .primary-navigation { display: none; }
  .nav-ready .primary-navigation.is-open { position: absolute; top: 100%; right: 0; display: block; width: min(340px, calc(100vw - 28px)); max-height: calc(100vh - var(--site-header-height) - var(--site-toolbar-offset) - 12px); max-height: calc(100dvh - var(--site-header-height) - var(--site-toolbar-offset) - 12px); padding: 0 12px; border: 1px solid var(--line); border-radius: 0 0 8px 8px; background: var(--paper); box-shadow: 0 14px 28px #00000012; overflow-y: auto; overscroll-behavior: contain; }
}
@media screen and (max-width: 782px) {
  body.admin-bar { --site-toolbar-offset: 46px; }
}
@media screen and (max-width: 600px) {
  /* WordPress makes its mobile toolbar absolute, so it scrolls away naturally. */
  body.admin-bar { --site-toolbar-offset: 0px; }
}
@media (max-width: 1279px) {
  .site-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .site-sidebar { display: grid; align-self: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); align-items: start; }
  .site-sidebar .sidebar-explore { position: static; top: auto; max-height: none; overflow: hidden; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer-brand p { max-width: 100%; }
}
@media (max-width: 560px) {
  :root { --site-header-height: 74px; }
  .site-container { width: calc(100% - 28px); }
  .header-main .brand-logo { width: 132px; }
  .header-main .brand-logo-full { width: 164px; }
  .search-form input { font-size: 16px; }
  .masthead { gap: 0 15px; }
  .site-layout { padding-top: 18px; }
  .page-intro-body { padding: 16px; }
  .home-intro-body { padding: 14px; }
  .home-intro-links ul { column-gap: 20px; }
  .section-heading { --heading-inset: 14px; --heading-size: 19px; padding-block: 11px; }
  .heading-page { --heading-size: 25px; padding-block: 15px; }
  .heading-widget { --heading-size: 17px; }
  .section-caption { font-size: 11px; }
  .discovery-body { flex-direction: column; align-items: start; gap: 14px; padding: 16px; }
  .site-sidebar { grid-template-columns: minmax(0, 1fr); }
  .post-type-archive .content-list { grid-template-columns: minmax(0, 1fr); }
  .listing-entry { padding: 16px; }
  .listing-title { font-size: 21px; }
  .listing-image { float: none; width: 100%; margin: 0 0 14px; }
  .article-header-body { padding: 14px 16px 0; }
  .article-body { padding: 17px 16px 20px; }
  .tracker-header-body { padding: 15px 16px 17px; }
  .tracker-note-content.entry-content { padding: 14px 16px 17px; }
  .news-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 14px; }
  .entry-content { font-size: 16px; }
  .entry-content h2 { font-size: 26px; }
  .entry-content .alignleft, .entry-content .alignright { float: none; display: block; margin: 18px 0; }
  .footer-main { gap: 26px 20px; padding-block: 28px; }
  .footer-main .section-heading { --heading-inset: 0px; --heading-size: 16px; }
  .footer-bottom { font-size: 12px; }
}
@media (max-width: 380px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  body { background: var(--paper); color: var(--primary); }
  .site-shell { display: block; max-width: none; min-height: 0; border: 0; }
  .site-header, .site-sidebar, .site-footer, .pagination, .discovery-strip { display: none; }
  .site-container { width: 100%; }
  .site-layout { display: block; padding-top: 20px; }
  .news-row, .listing-entry, .loruai-content-section { break-inside: avoid; }
}

/* About LoruAI: editorial panels within the shared page/sidebar layout. */
.about-page { display: grid; gap: 20px; min-width: 0; }
.about-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.about-intro { padding: 24px 26px 28px; }
.about-intro .breadcrumbs { margin-bottom: 30px; }
.about-kicker { margin: 0 0 12px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; }
.about-statement { margin: 0 0 20px; color: var(--primary); font: 800 clamp(30px, 3.5vw, 44px)/1.17 var(--heading); letter-spacing: -.025em; overflow-wrap: anywhere; }
.about-statement span { display: block; margin-top: 5px; color: var(--accent-ink); }
.about-lead { margin: 0; color: var(--copy); font-size: 17px; font-weight: 450; line-height: 1.8; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 24px; }
.about-actions .button-primary, .about-closing .button-primary { font-size: 13px; min-height: 46px; }
.about-copy { padding: 22px 26px 25px; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.about-copy > p { margin: 0 0 16px; }
.about-copy > :last-child { margin-bottom: 0; }
.about-copy .about-purpose-note { margin-top: 22px; padding-left: 18px; border-left: 3px solid var(--accent); color: var(--primary); font-weight: 650; }
.about-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px 24px; column-gap: 28px; }
.about-destination { display: block; min-width: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.about-destination:nth-last-child(-n+2) { border-bottom: 0; }
.about-destination-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 650; }
.about-destination-top .icon { width: 16px; height: 16px; color: var(--accent-ink); }
.about-destination h3 { margin: 8px 0 6px; color: var(--primary); font: 750 20px/1.4 var(--heading); }
.about-destination p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.about-destination:hover h3 { color: var(--accent-ink); text-decoration: underline; }
.about-principles { display: grid; gap: 20px; margin: 0; }
.about-principles dt { margin-bottom: 4px; color: var(--primary); font-weight: 750; }
.about-principles dd { margin: 0; color: var(--muted); }
.about-copy .about-footnote { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.75; }
.about-closing { padding: 26px; border-radius: 8px; color: var(--inverse); background: var(--primary); }
.about-closing h2 { margin: 0 0 12px; color: var(--inverse); font: 750 27px/1.3 var(--heading); letter-spacing: -.5px; }
.about-closing p { margin: 0 0 21px; color: var(--inverse); font-size: 15px; line-height: 1.8; }
.about-closing .button-primary { color: var(--inverse); background: var(--accent); }
.about-closing .button-primary:hover { color: var(--inverse); background: var(--accent-dark); }
.about-closing a:focus-visible { outline-color: var(--inverse); }
.about-page [id] { scroll-margin-top: var(--header-clearance, 24px); }
@media (max-width: 560px) {
  .about-page { gap: 16px; }
  .about-intro, .about-copy, .about-closing { padding: 20px 16px; }
  .about-intro .breadcrumbs { margin-bottom: 22px; }
  .about-statement { font-size: 32px; letter-spacing: -.8px; }
  .about-lead { font-size: 16px; }
  .about-copy { font-size: 15px; }
  .about-directory { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
  .about-destination { padding-block: 18px; }
  .about-destination:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .about-destination h3 { font-size: 19px; }
  .about-closing h2 { font-size: 25px; }
}
@media print {
  .about-panel, .about-closing { break-inside: avoid; }
  .about-closing { border: 1px solid var(--line); background: var(--paper); color: var(--primary); }
  .about-closing h2, .about-closing p { color: var(--primary); }
}

/* Shared publication documents and the Fluent Forms contact embed. */
.site-document { display: grid; gap: 20px; min-width: 0; }
.site-document .breadcrumbs { margin-bottom: 18px; }
.site-document-date { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.site-document-index { padding: 18px 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.site-document-index > span { display: block; margin-bottom: 8px; color: var(--primary); font-size: 13px; font-weight: 750; }
.site-document-index ul { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 0; list-style: none; }
.site-document-index a { font-size: 13px; text-decoration: underline; }
.site-document-copy > p, .site-document-copy > ul { margin: 0 0 16px; }
.site-document-copy > :last-child { margin-bottom: 0; }
.site-document-copy a { text-decoration: underline; }
.site-document-copy .site-document-small { color: var(--muted); font-size: 13px; }
.site-document [id] { scroll-margin-top: var(--header-clearance, 24px); }
.site-contact-form { margin-top: 24px; }
.site-form-unavailable { padding: 18px; border-left: 3px solid var(--accent); background: var(--wash); color: var(--muted); }
.site-contact-form .fluentform { max-width: 100%; font-family: var(--sans); }
.site-contact-form .ff-el-form-control { max-width: 100%; font: inherit; }
/* Fluent Forms loads its own button palette after the theme, including per-form CSS. */
.site-main .fluentform .ff-btn-submit { color: var(--inverse) !important; background-color: var(--primary) !important; border-color: var(--primary) !important; border-radius: 4px; font-family: var(--heading); }
.site-main .fluentform .ff-btn-submit:not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible) { color: var(--inverse) !important; background-color: var(--accent-ink) !important; border-color: var(--accent-ink) !important; opacity: 1; }
.site-main .fluentform .ff-btn-submit:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.footer-policies-empty { margin: 0; color: var(--inverse); font-size: 14px; line-height: 1.8; }
@media (max-width: 560px) {
  .site-document { gap: 16px; }
  .site-document-index { padding: 16px; }
  .site-document-copy { font-size: 15px; }
}
@media print {
  .site-document-index, .site-contact-form { display: none; }
  .site-document > .about-panel { break-inside: auto; }
}

/* Native expandable coverage retains direct publisher links and click tracking. */
.news-coverage { margin-top:12px; font-size:14px; }
.news-coverage summary { cursor:pointer; font-weight:700; color:#292b31; padding:5px 0; }
.news-coverage summary:focus-visible { outline:2px solid #ed6337; outline-offset:4px; }
.news-coverage ul { margin:8px 0 0; padding:0 0 0 18px; }
.news-coverage li { padding:8px 0; border-top:1px solid #dfe1e5; }
.news-coverage li a { font-size:14px; line-height:1.55; font-weight:600; }
.news-coverage small { display:block; color:#60646e; margin-top:3px; }

@media (max-width: 640px) {
  .directory-toolbar { grid-template-columns: minmax(0, 1fr); }
  .directory-search, .directory-order { font-size: 16px; }
}
