/* ============================================================================
   1mFacts — "Countdown" (omf-theme 1.0.0, 2026-11-20)
   Loads after theme-variables.css and main.css. All site styling lives here.
   Stitch direction C + hero: centred wordmark over a black topic bar, black
   hero band, numeral tiles (mint/ink) beside or above every photo, a mint
   "Fact of the day" band, count rows, a black topics band, mint newsletter
   band, black footer. Bricolage Grotesque over Work Sans.
   Mint #03C998 is a FILL (ink text on it) or text on black — never text on white.
   ========================================================================= */

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

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

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

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

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

/* Kicker = the post's own topic. light: deep green on white; dark: mint on black. */
.omf-kicker { margin: 0; line-height: 1.2; min-width: 0; }
.omf-kicker a, .omf-kicker span { display: inline-flex; align-items: center; min-height: 28px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.omf-kicker-light a, .omf-kicker-light span { color: var(--mf-green); }
.omf-kicker-dark a, .omf-kicker-dark span { color: var(--mf-mint); }
.omf-kicker a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.omf-more { display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; font-size: 0.9375rem; font-weight: 700; color: var(--mf-green); text-decoration: none; }
.omf-more:hover { color: var(--mf-green-deep); text-decoration: underline; text-underline-offset: 0.25em; }

.omf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 52px; padding: 0 1.6rem; border-radius: var(--mf-radius-sm); font-family: var(--mf-display); font-size: 1.0625rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color 0.18s ease; }
.omf-btn-mint { background: var(--mf-mint); color: var(--mf-ink); }
.omf-btn-mint:hover { background: var(--mf-mint-deep); color: var(--mf-ink); }
.omf-btn-ink { background: var(--mf-ink); color: #FFFFFF; }
.omf-btn-ink:hover { background: var(--mf-ink-2); color: #FFFFFF; }

/* --- Numeral tiles ------------------------------------------------------------ */

.omf-tile { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: var(--mf-radius-sm); font-family: var(--mf-display); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: lining-nums tabular-nums; box-sizing: border-box; }
.omf-tile-mint { background: var(--mf-mint); color: var(--mf-ink); }
.omf-tile-ink { background: var(--mf-ink); color: var(--mf-mint); }
.omf-tile-sm { width: 56px; height: 56px; font-size: 1.5rem; }
.omf-tile-md { min-width: 64px; height: 64px; padding: 0 0.6rem; font-size: 2rem; }
.omf-tile-lg { min-width: 84px; height: 84px; padding: 0 0.7rem; font-size: 2.75rem; border-radius: var(--mf-radius); }
.omf-tile-xl { min-width: 136px; height: 136px; padding: 0 1rem; font-size: 5.25rem; border-radius: var(--mf-radius); }
.omf-tile-sm.is-3 { font-size: 1.15rem; }
.omf-tile.is-q { font-weight: 700; }

/* --- Masthead: white wordmark bar + black topic bar ----------------------------- */

.omf-masthead { position: relative; z-index: 100; background: var(--mf-sheet); }
.omf-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem; padding-top: 1.1rem; padding-bottom: 0.95rem; }
.omf-brand { grid-column: 2; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.omf-brand-h1 { margin: 0; line-height: 0; font-size: 0; }
.omf-wordmark { display: inline-flex; align-items: center; min-height: 48px; line-height: 0; text-decoration: none; }
.omf-logo { display: block; height: 50px; width: auto; max-width: none; background: none; }
.omf-tagline { margin: 0.45rem 0 0; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mf-meta); }
.omf-tools { grid-column: 3; justify-self: end; display: none; gap: 0.25rem; }

.omf-navbar { background: var(--mf-ink); }
.omf-navbar-inner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; }
.omf-masthead .main-navigation { display: flex; background: none; padding: 0; margin: 0; }
.omf-masthead .primary-menu, .omf-masthead .main-navigation ul.primary-menu { display: flex; align-items: center; flex-wrap: nowrap; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.omf-masthead .main-navigation a { display: inline-flex; align-items: center; min-height: 56px; padding: 0 1.05rem; position: relative; white-space: nowrap; font-family: var(--mf-text); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #FFFFFF; text-decoration: none; }
.omf-masthead .main-navigation a::after { content: ""; position: absolute; left: 1.05rem; right: 1.05rem; bottom: 10px; height: 3px; border-radius: 2px; background: var(--mf-mint); opacity: 0; }
.omf-masthead .main-navigation a:hover { color: var(--mf-mint); }
.omf-masthead .main-navigation a:hover::after { opacity: 0.5; }
.omf-masthead .main-navigation .current-cat > a { color: var(--mf-mint); }
.omf-masthead .main-navigation .current-cat > a::after { opacity: 1; }
.omf-masthead .main-navigation a:focus-visible { outline-color: var(--mf-mint); outline-offset: -3px; }
.omf-masthead .main-navigation .omf-drawer-label, .omf-masthead .omf-drawer-more { display: none; }

.omf-masthead .mobile-search-toggle { display: inline-flex; width: 44px; height: 44px; min-width: 44px; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.omf-search-bar { position: absolute; right: var(--mf-gutter); top: 50%; transform: translateY(-50%); color: #FFFFFF; }
.omf-search-bar:hover { background: var(--mf-ink-2); color: var(--mf-mint); }
.omf-search-bar:focus-visible { outline-color: var(--mf-mint); }
.omf-masthead .mobile-search-toggle svg { color: inherit; stroke: none; width: 22px; height: 22px; }
.omf-search-top { color: var(--mf-ink); }
.omf-search-top:hover { background: var(--mf-tint); }
.omf-masthead .mobile-menu-toggle { display: none; }
.omf-masthead .hamburger-line { background: var(--mf-ink); }

.omf-masthead .mobile-search-form { background: var(--mf-ink); }
.omf-masthead .mobile-search-form input[type="search"] { border: 0; border-radius: var(--mf-radius-sm); background: #FFFFFF; min-height: 48px; padding: 0 1.1rem; font-size: 1rem; color: var(--mf-ink); }
.omf-masthead .mobile-search-form button[type="submit"] { background: var(--mf-mint); color: var(--mf-ink); font-weight: 700; border-radius: var(--mf-radius-sm); min-height: 48px; padding: 0 1.4rem; }
.omf-masthead .mobile-search-close { width: 44px; height: 44px; color: #FFFFFF; }
.omf-masthead .mobile-search-form :focus-visible { outline-color: var(--mf-mint); }
@media (min-width: 1025px) {
    .omf-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, 15, 14, 0.25); z-index: 99; }
    .omf-masthead .mobile-search-form form { max-width: 44rem; }
}

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

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

.omf-title { margin: 0; font-size: var(--mf-h3); font-weight: 700; line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance; }
.omf-title a, .omf-lead-title a, .omf-hero-title a { color: var(--mf-ink); text-decoration: none; }
.omf-title a:hover, .omf-lead-title a:hover { color: var(--mf-green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
.omf-sum { margin: 0.55rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--mf-meta); }

/* Section head: Bricolage name, count, link right; "rule" adds a hairline under. */
.omf-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0 0 1.75rem; }
.omf-head-rule { padding-bottom: 1rem; border-bottom: 1px solid var(--mf-rule); }
.omf-head-name { margin: 0; font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.375rem); line-height: 1.05; letter-spacing: -0.025em; }
.omf-head-count { margin-right: auto; padding: 0.2rem 0.6rem; background: var(--mf-ink); border-radius: 6px; color: var(--mf-mint); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.omf-head-link { display: inline-flex; align-items: center; gap: 0.35em; min-height: 44px; font-size: 0.9375rem; font-weight: 700; color: var(--mf-green); text-decoration: none; }
.omf-head-link:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.omf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }

/* Count card: tile + kicker row, 4:3 photo, title, dek, link. */
.omf-ccard { display: flex; flex-direction: column; min-width: 0; }
.omf-ccard-top { display: flex; align-items: flex-end; gap: 0.85rem; margin-bottom: 0.75rem; min-width: 0; }
.omf-ccard-top .omf-kicker { padding-bottom: 0.2rem; }
.omf-ccard-body { padding-top: 1rem; }
.omf-ccard .omf-more { margin-top: 0.35rem; }
.omf-ccard:hover .omf-frame img, .omf-lead:hover .omf-frame img, .omf-crow:hover .omf-frame img, .omf-hero-story:hover .omf-frame img { transform: scale(1.03); }

/* Count row: tile, square photo, kicker + title. */
.omf-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.25rem; }
.omf-crow { display: grid; grid-template-columns: 56px 112px minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 1.35rem 0; border-top: 1px solid var(--mf-rule); min-width: 0; }
.omf-rows .omf-crow:nth-child(-n+2) { border-top: 0; padding-top: 0.25rem; }
.omf-crow .omf-frame { border-radius: var(--mf-radius-sm); }
.omf-crow-body { min-width: 0; }
.omf-crow-title { font-size: 1.125rem; line-height: 1.25; }

/* Lead card (archives). */
.omf-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: center; padding: clamp(1rem, 2vw, 1.75rem); border: 1px solid var(--mf-rule); border-radius: calc(var(--mf-radius) + 4px); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.omf-lead-body { min-width: 0; }
.omf-lead-top { display: flex; align-items: flex-end; gap: 1rem; margin-bottom: 1rem; }
.omf-lead-title { margin: 0; font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.omf-lead .omf-sum { font-size: 1.0625rem; margin-top: 0.85rem; }

/* --- Home: black hero band ---------------------------------------------------------- */

.omf-hero { background: var(--mf-ink); color: #FFFFFF; }
.omf-hero-story { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; padding-top: clamp(2rem, 4.5vw, 4rem); padding-bottom: clamp(2.25rem, 5vw, 4.25rem); }
.omf-hero-frame { background: var(--mf-ink-2); box-shadow: 0 0 0 1px #262E2C; }
.omf-hero-text { min-width: 0; }
.omf-hero-top { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.omf-hero-title { margin: 0; font-size: clamp(2rem, 1.35rem + 2.2vw, 3.25rem); line-height: 1.04; letter-spacing: -0.03em; color: #FFFFFF; text-wrap: balance; }
.omf-hero-title a { color: #FFFFFF; }
.omf-hero-title a:hover { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--mf-mint); text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.omf-hero-dek { margin: 1.1rem 0 1.75rem; max-width: 34rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; color: var(--mf-on-ink-muted); }
.omf-hero a:focus-visible { outline-color: var(--mf-mint); }

.omf-today { padding-top: clamp(2.75rem, 5.5vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }

/* Fact of the day: full-width solid mint band. */
.omf-fact { background: var(--mf-mint); color: var(--mf-ink); }
.omf-fact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.omf-fact-text { min-width: 0; }
.omf-fact-label { display: inline-flex; align-items: center; min-height: 30px; margin: 0 0 1.1rem; padding: 0 0.75rem; background: var(--mf-ink); border-radius: 6px; color: var(--mf-mint); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.omf-fact-quote { margin: 0; max-width: 40ch; font-family: var(--mf-display); font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.omf-fact-quote.is-long { font-size: clamp(1.4rem, 1.05rem + 1.25vw, 2.1rem); line-height: 1.16; max-width: 46ch; }
.omf-fact-src { margin: 1.1rem 0 0; font-size: 0.9375rem; font-weight: 500; }
.omf-fact-src a { color: var(--mf-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
.omf-fact-src a:hover { color: var(--mf-ink); text-decoration-thickness: 2px; }
.omf-fact a:focus-visible { outline-color: var(--mf-ink); }

.omf-home-more { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }

/* Topics band: black, mint chips. */
.omf-topics-band { background: var(--mf-ink); color: #FFFFFF; padding: clamp(3rem, 5.5vw, 4.5rem) 0; text-align: center; }
.omf-topics-band-title { margin: 0 0 1.75rem; color: #FFFFFF; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); letter-spacing: -0.025em; }
.omf-topics-band .omf-chips { justify-content: center; }

.omf-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.omf-chips a { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 48px; padding: 0 0.7rem 0 1.15rem; border-radius: var(--mf-radius-sm); font-size: 0.9375rem; font-weight: 700; text-decoration: none; transition: background-color 0.18s ease, color 0.18s ease; }
.omf-chip-n { display: inline-flex; align-items: center; justify-content: center; min-width: 2.1rem; height: 26px; padding: 0 0.45rem; border-radius: 6px; font-size: 0.8125rem; font-variant-numeric: tabular-nums; box-sizing: border-box; }
.omf-chips-mint a { background: var(--mf-mint); color: var(--mf-ink); }
.omf-chips-mint a:hover { background: #FFFFFF; color: var(--mf-ink); }
.omf-chips-mint .omf-chip-n { background: var(--mf-ink); color: var(--mf-mint); }
.omf-chips-mint a:focus-visible { outline-color: #FFFFFF; }
.omf-chips-ink a { background: var(--mf-ink); color: #FFFFFF; }
.omf-chips-ink a:hover { background: var(--mf-ink-2); color: var(--mf-mint); }
.omf-chips-ink .omf-chip-n { background: var(--mf-mint); color: var(--mf-ink); }
.omf-chips-outline a { background: #FFFFFF; color: var(--mf-ink); border: 2px solid var(--mf-ink); border-radius: 999px; min-height: 44px; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; box-sizing: border-box; }
.omf-chips-outline a:hover { background: var(--mf-tint); }
.omf-chips-outline a[aria-current="page"] { background: var(--mf-ink); color: #FFFFFF; }
.omf-chips-outline .omf-chip-n { min-width: 0; height: auto; padding: 0; color: var(--mf-meta); }
.omf-chips-outline a[aria-current="page"] .omf-chip-n { color: var(--mf-mint); }

/* --- Newsletter band (mint) -------------------------------------------------------- */

.omf-band-news { background: var(--mf-mint); color: var(--mf-ink); padding: clamp(3rem, 5.5vw, 4.5rem) 0; text-align: center; }
.omf-band-news-inner { display: flex; flex-direction: column; align-items: center; }
.omf-band-news .omf-eyebrow { display: inline-flex; align-items: center; min-height: 28px; padding: 0 0.7rem; margin-bottom: 1rem; background: var(--mf-ink); border-radius: 6px; color: var(--mf-mint); }
.omf-band-news-title { margin: 0 auto 0.75rem; max-width: 22ch; color: var(--mf-ink); font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.5rem); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.omf-band-news-text { margin: 0 auto 1.75rem; max-width: 38rem; font-size: 1.0625rem; line-height: 1.6; color: var(--mf-ink); }
.omf-band-news-form { width: 100%; max-width: 34rem; }
.omf-band-news .newsletter-form { display: flex; flex-direction: row; align-items: stretch; gap: 0.6rem; }
.omf-band-news input[type="email"] { flex: 1 1 auto; width: auto; min-width: 0; min-height: 56px; margin: 0; padding: 0 1.1rem; border: 0; border-radius: var(--mf-radius-sm); background: #FFFFFF; font-size: 1.0625rem; color: var(--mf-ink); }
.omf-band-news button { flex: none; min-height: 56px; padding: 0 1.8rem; border: 0; border-radius: var(--mf-radius-sm); background: var(--mf-ink); color: #FFFFFF; font-family: var(--mf-display); font-size: 1.0625rem; font-weight: 700; cursor: pointer; }
.omf-band-news button:hover { background: var(--mf-ink-2); }
.omf-band-news :focus-visible { outline-color: var(--mf-ink); }
.omf-band-news .newsletter-message { background: #FFFFFF; color: var(--mf-ink); text-align: left; }

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

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

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

.omf-side { display: flex; flex-direction: column; gap: 1.75rem; }
.omf-side-block { min-width: 0; }
.omf-side-title { margin: 0 0 0.5rem; padding-bottom: 0.7rem; border-bottom: 3px solid var(--mf-ink); font-size: 1.375rem; letter-spacing: -0.02em; }

.omf-numbered { list-style: none; margin: 0; padding: 0; }
.omf-numbered li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0.85rem; align-items: start; padding: 0.8rem 0; border-top: 1px solid var(--mf-rule); }
.omf-numbered li:first-child { border-top: 0; }
.omf-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: var(--mf-ink); color: var(--mf-mint); font-family: var(--mf-display); font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.omf-numbered a { font-family: var(--mf-display); font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--mf-ink); text-decoration: none; }
.omf-numbered a:hover { color: var(--mf-green); text-decoration: underline; text-underline-offset: 0.16em; }

.omf-topics { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.omf-topics a { display: flex; align-items: center; gap: 0.7rem; min-height: 46px; padding: 0 0.6rem 0 0.9rem; border: 1px solid var(--mf-rule); border-radius: var(--mf-radius-sm); color: var(--mf-ink); text-decoration: none; font-size: 0.9375rem; font-weight: 600; }
.omf-topics a:hover { border-color: var(--mf-ink); }
.omf-topic-name { flex: 1 1 auto; min-width: 0; }
.omf-topic-count { min-width: 2.25rem; padding: 0.15rem 0.45rem; background: var(--mf-ink); border-radius: 6px; font-size: 0.8125rem; font-weight: 700; color: var(--mf-mint); text-align: center; font-variant-numeric: tabular-nums; }

/* Newsletter card: solid black. */
.omf-news { padding: 1.5rem 1.4rem 1.35rem; background: var(--mf-ink); color: #FFFFFF; border-radius: var(--mf-radius); }
.omf-news .omf-eyebrow { color: var(--mf-mint); }
.omf-news-title { margin: 0.5rem 0; font-size: 1.75rem; line-height: 1.05; color: #FFFFFF; letter-spacing: -0.025em; }
.omf-news-text { margin: 0 0 1rem; font-size: 0.9375rem; line-height: 1.55; color: var(--mf-on-ink-muted); }
.omf-news .newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; }
.omf-news input[type="email"] { min-height: 48px; padding: 0 1rem; border: 0; border-radius: var(--mf-radius-sm); background: #FFFFFF; font-size: 1rem; color: var(--mf-ink); }
.omf-news button { min-height: 48px; border: 0; border-radius: var(--mf-radius-sm); background: var(--mf-mint); color: var(--mf-ink); font-family: var(--mf-display); font-size: 1rem; font-weight: 700; cursor: pointer; }
.omf-news button:hover { background: var(--mf-mint-deep); }
.omf-news :focus-visible { outline-color: var(--mf-mint); }
.omf-news-note { margin: 0.8rem 0 0; font-size: 0.8125rem; color: var(--mf-on-ink-muted); }
.newsletter-message { margin-top: 0.75rem; padding: 0.6rem 0.9rem; border-radius: 6px; font-size: 0.9375rem; }
.newsletter-message.success { background: #E3F6EE; color: #0B4D36; }
.newsletter-message.error { background: #FDE8E8; color: #8C1018; }

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

/* Ad frames the theme places: labelled, reserved; the <ins> gets a real width (a
   centred flex column would shrink an empty <ins> to 0px and AdSense never fills it). */
.omf-ad { display: block; padding: 0.6rem 0 0.9rem; border-top: 1px solid var(--mf-rule); border-bottom: 1px solid var(--mf-rule); text-align: center; }
.omf-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(--mf-meta); }
.omf-ad ins.adsbygoogle { display: block; width: 100%; }
.omf-ad-side { min-height: 290px; }
.omf-ad-wide { min-height: 120px; }
.omf-ad .code-block { margin: 0 !important; max-width: 100%; width: 100%; }
.omf-ad-placeholder { display: flex; align-items: center; justify-content: center; width: 300px; max-width: 100%; height: 250px; margin: 0 auto; border: 1px dashed var(--mf-rule); color: var(--mf-meta); font-size: 0.8125rem; text-align: center; padding: 1rem; box-sizing: border-box; }
.omf-ad-wide .omf-ad-placeholder { width: 728px; height: 90px; }
.omf-archive-body > .omf-ad-wide { margin: 2.5rem 0; }

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

.omf-single .omf-columns { padding-top: clamp(1.25rem, 3vw, 2.25rem); padding-bottom: clamp(3rem, 5vw, 4rem); }
.omf-article { min-width: 0; }
.omf-article-head { margin-bottom: 1.75rem; }
.omf-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.55rem; margin: 0 0 0.75rem; font-size: 0.9375rem; font-weight: 500; color: var(--mf-meta); }
.omf-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mf-meta); text-decoration: none; }
.omf-breadcrumb a:last-of-type:not(:first-child) { color: var(--mf-ink); font-weight: 700; }
.omf-breadcrumb a:hover { color: var(--mf-green); text-decoration: underline; text-underline-offset: 0.25em; }
.omf-breadcrumb .sep { color: var(--mf-meta); }
.omf-breadcrumb-dark { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mf-on-ink-muted); }
.omf-breadcrumb-dark a { color: var(--mf-on-ink-muted); }
.omf-breadcrumb-dark a:last-of-type:not(:first-child) { color: var(--mf-mint); }
.omf-breadcrumb-dark a:hover { color: #FFFFFF; }
.omf-breadcrumb-dark .sep { color: var(--mf-on-ink-muted); }

.omf-article-titlerow { display: flex; align-items: flex-start; gap: 1.25rem; }
.omf-article-titlerow .omf-tile { margin-top: 0.3rem; }
.omf-article-title { margin: 0; font-size: var(--mf-title); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.omf-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.6rem; margin: 1.1rem 0 0; padding-bottom: 1.25rem; border-bottom: 1px solid var(--mf-rule); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mf-meta); font-variant-numeric: tabular-nums; }
.omf-article-meta .sep { color: var(--mf-meta); }

.omf-article-cover { margin: 0 0 2rem; }
.omf-article-cover-frame { overflow: hidden; border-radius: var(--mf-radius); background: var(--mf-rule-soft); }
.omf-article-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.omf-article-cover figcaption { margin: 0; padding: 0.7rem 0.1rem 0; font-size: 0.9375rem; line-height: 1.5; color: var(--mf-meta); }

.omf-article .entry-content { font-size: var(--mf-size-body); line-height: var(--mf-lh-body); color: var(--mf-ink); }
.omf-article .entry-content > * { max-width: 100%; }
.omf-article .entry-content > p:first-child { margin-top: 0; }
.omf-article .entry-content p { text-wrap: pretty; }
.omf-article .entry-content h2 { margin: 3rem 0 1rem; padding: 0 0 0.6rem !important; border: 0; font-size: var(--mf-h2); line-height: 1.15; color: var(--mf-ink); scroll-margin-top: 1.5rem; text-wrap: balance; background: linear-gradient(var(--mf-mint), var(--mf-mint)) left bottom / 72px 5px no-repeat; }
.omf-article .entry-content h2::before, .omf-article .entry-content h2::after { display: none; }
.omf-article .entry-content h3 { margin: 2.25rem 0 0.75rem; font-size: var(--mf-h3); font-weight: 700; color: var(--mf-ink); scroll-margin-top: 1.5rem; }
.omf-article .entry-content h3.omf-h3-count { display: flex; align-items: flex-start; gap: 0.8rem; padding-top: 1.5rem; border-top: 1px solid var(--mf-rule); }
.omf-h3-n { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 36px; height: 36px; padding: 0 0.35rem; margin-top: -0.1rem; border-radius: 6px; background: var(--mf-ink); color: var(--mf-mint); font-size: 1.0625rem; font-weight: 800; font-variant-numeric: tabular-nums; box-sizing: border-box; }
.omf-article .entry-content h4, .omf-article .entry-content h5, .omf-article .entry-content h6 { font-family: var(--mf-text); font-weight: 700; color: var(--mf-ink); }
.omf-article .entry-content a { color: var(--mf-green); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.omf-article .entry-content a:hover { color: var(--mf-green-deep); text-decoration-thickness: 2px; }
.omf-article .entry-content strong { font-weight: 700; color: var(--mf-ink); }
.omf-article .entry-content figure { margin: 2.25rem 0; }
.omf-article .entry-content figure img, .omf-article .entry-content p > img { display: block; height: auto; border: 0; border-radius: var(--mf-radius); background: var(--mf-rule-soft); }
.omf-article .entry-content figcaption { font-style: normal; text-align: left; font-size: 0.9375rem; line-height: 1.5; color: var(--mf-meta); padding-top: 0.55rem; }
.omf-article .entry-content ol, .omf-article .entry-content ul { padding-left: 1.5rem; }
.omf-article .entry-content li { margin-bottom: 0.5rem; }
.omf-article .entry-content li::marker { color: var(--mf-green); font-weight: 700; }
.omf-article .entry-content blockquote { margin: 2rem 0; padding: 1.1rem 1.4rem; border: 0; border-left: 5px solid var(--mf-mint); background: var(--mf-tint); border-radius: 0 var(--mf-radius-sm) var(--mf-radius-sm) 0; font-family: var(--mf-display); font-weight: 700; font-size: 1.1875rem; font-style: normal; line-height: 1.45; color: var(--mf-ink); }
.omf-article .entry-content blockquote p { margin: 0; }
.omf-article .entry-content blockquote p + p { margin-top: 0.75rem; }
.omf-article .entry-content hr { border: 0; border-top: 1px solid var(--mf-rule); }
/* Easy TOC's in-heading anchor spans: no box, no gap. */
.omf-article .entry-content .ez-toc-section, .omf-article .entry-content .ez-toc-section-end { display: none; }

/* "In this article": collapsed <details>, built from the H2s. */
.omf-toc-box { margin: 0 0 2rem; background: var(--mf-tint); border-radius: var(--mf-radius-sm); }
.omf-toc-box-title { display: flex; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0 1.15rem; cursor: pointer; list-style: none; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mf-ink); }
.omf-toc-box-title::-webkit-details-marker { display: none; }
.omf-toc-box-title::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid var(--mf-ink); border-bottom: 2px solid var(--mf-ink); transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s ease; }
.omf-toc-box[open] .omf-toc-box-title::after { transform: rotate(-135deg) translate(-2px, -2px); }
.omf-toc-box-n { font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--mf-meta); font-size: 0.875rem; }
.omf-article .entry-content .omf-toc-box ol { margin: 0; padding: 0 1.15rem 1rem 2.6rem; }
.omf-article .entry-content .omf-toc-box li { margin: 0; padding: 0.35rem 0; font-size: 0.9875rem; line-height: 1.45; }
.omf-article .entry-content .omf-toc-box a { font-weight: 600; text-decoration: none; }
.omf-article .entry-content .omf-toc-box a:hover { text-decoration: underline; }

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

.page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 2rem 0; }
.page-links .omf-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: 2px solid var(--mf-ink); border-radius: var(--mf-radius-sm); background: #FFFFFF; color: var(--mf-ink); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; box-sizing: border-box; }
.page-links .post-page-numbers.current { background: var(--mf-ink); color: var(--mf-mint); }

/* In-content ad units (Ad Inserter blocks / Auto ads) get the same label once filled; unfilled units reserve nothing. */
.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(--mf-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(--mf-rule); border-bottom: 1px solid var(--mf-rule); }
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.omf-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }

.omf-related { padding-top: clamp(1rem, 2vw, 1.5rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.omf-related .omf-title { font-size: 1.125rem; }

/* --- Comments (carried from lop 1.0.4 / 1.0.17 / 1.0.18) ------------------------------- */

.comments-area { margin-top: 2.5rem; padding-top: 0; border-top: 0; }
.comments-area .comments-title, .comments-area .comment-reply-title { font-size: var(--mf-h3); color: var(--mf-ink); }
.comments-area .comment-list { list-style: none; padding: 0; margin: 0; }
.comments-area .comment-respond { margin: 0; padding: 1.1rem 1.25rem 1rem; background: var(--mf-sheet); border: 1px solid var(--mf-rule); border-top: 4px solid var(--mf-mint); border-radius: var(--mf-radius-sm); }
.comments-area label, .comments-area .comment-notes, .comments-area .logged-in-as { color: var(--mf-meta); }
.comments-area input:not([type="checkbox"]):not([type="submit"]), .comments-area textarea { border-radius: 6px; border: 1px solid var(--mf-meta); background: #FFFFFF; color: var(--mf-ink); }
.comments-area input:focus, .comments-area textarea:focus { border-color: var(--mf-green); outline: none; }
.comments-area .submit, .comments-area #submit { background: var(--mf-ink) !important; border: none; border-radius: 6px !important; color: #FFFFFF !important; font-weight: 700; cursor: pointer; }
.comments-area .submit:hover, .comments-area #submit:hover { background: var(--mf-ink-2) !important; }
.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(--mf-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; }
.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; display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.8125rem; }
.comments-area .comment-form-cookies-consent input { flex: 0 0 auto; margin: 0.2rem 0 0; }
.comments-area .comment-form-cookies-consent label { margin: 0; color: var(--mf-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: #6B7473; }
.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-reply-link, .comments-area .comment-reply-link:visited { display: inline-flex; align-items: center; min-height: 36px; padding: 0 0.95rem; border-radius: 6px; background: var(--mf-ink); color: #FFFFFF !important; font-size: 0.875rem; font-weight: 700; line-height: 1; text-decoration: none; }
.comments-area .comment-reply-link:hover, .comments-area .comment-reply-link:focus-visible { background: var(--mf-ink-2); color: var(--mf-mint) !important; }
.comments-area .comment { margin: 0 0 1rem; padding: 0; background: none; border: 0; border-radius: 0; }
.comments-area .comment-body { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.25rem 1.5rem 1.2rem; background: var(--mf-sheet); border: 1px solid var(--mf-rule); border-left: 3px solid var(--mf-mint); border-radius: var(--mf-radius-sm); }
.comments-area .comment-meta { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 0.85rem; align-items: center; }
.comments-area .comment-author { display: contents; }
.comments-area .comment-author .avatar { grid-column: 1; grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; border: 1px solid var(--mf-rule); border-radius: 50%; }
.comments-area .comment-author .fn { grid-column: 2; grid-row: 1; align-self: end; font-family: var(--mf-text); font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--mf-ink); overflow-wrap: anywhere; }
.comments-area .comment-author .fn a { color: inherit; text-decoration: none; }
.comments-area .comment-author .says { display: none; }
.comments-area .comment-metadata { grid-column: 2; grid-row: 2; align-self: start; margin: 0.1rem 0 0; font-size: 0.8125rem; line-height: 1.4; color: var(--mf-meta); }
.comments-area .comment-metadata a { color: var(--mf-meta); text-decoration: none; }
.comments-area .comment-metadata a:hover { color: var(--mf-green); text-decoration: underline; }
.comments-area .comment-awaiting-moderation { grid-column: 1 / -1; margin: 0.6rem 0 0; font-size: 0.8125rem; color: var(--mf-meta); }
.comments-area .comment-content { padding-left: calc(44px + 0.85rem); font-size: 1rem; line-height: 1.65; color: var(--mf-ink); overflow-wrap: anywhere; }
.comments-area .comment-content p { margin: 0 0 0.75rem; }
.comments-area .comment-content p:last-child { margin-bottom: 0; }
.comments-area .reply { margin: 0.1rem 0 0; padding-left: calc(44px + 0.85rem); }
.comments-area .children { list-style: none; margin: 1rem 0 0 1.25rem; padding: 0 0 0 1rem; border-left: 2px solid var(--mf-rule); }
.comments-area .children .comment:last-child { margin-bottom: 0; }
.comments-area .children .comment-body { border-left-color: var(--mf-rule); border-left-width: 1px; }

/* --- Archive: black head band + mint count tile ----------------------------------------------- */

.omf-archive-head { background: var(--mf-ink); color: #FFFFFF; }
.omf-archive-head-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: center; padding-top: clamp(1.5rem, 3.5vw, 2.75rem); padding-bottom: clamp(2rem, 4.5vw, 3.5rem); }
.omf-archive-head-inner.is-solo { grid-template-columns: minmax(0, 1fr); }
.omf-archive-head-text { min-width: 0; }
.omf-archive-head a:focus-visible, .omf-archive-head :focus-visible { outline-color: var(--mf-mint); }
.omf-archive-title { margin: 0.25rem 0 0; color: #FFFFFF; font-size: clamp(2.4rem, 1.6rem + 3vw, 4.25rem); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.omf-archive-desc { margin: 1rem 0 0; max-width: 46ch; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--mf-on-ink-muted); }
.omf-archive-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 168px; min-height: 168px; margin: 0; padding: 1rem 1.25rem; background: var(--mf-mint); border-radius: var(--mf-radius); color: var(--mf-ink); box-sizing: border-box; }
.omf-archive-n { font-family: var(--mf-display); font-size: clamp(3.5rem, 2.6rem + 3vw, 5.25rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: lining-nums tabular-nums; }
.omf-archive-unit { margin-top: 0.4rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.omf-archive-search .search-field { border-color: #FFFFFF; }

.omf-subtopics { padding-top: 1.5rem; }
.omf-archive-grid + .omf-archive-grid { margin-top: 2.5rem; }
.omf-archive-body { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(3rem, 5.5vw, 4.5rem); }
.omf-empty { color: var(--mf-meta); }

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

.omf-more-topics { margin-top: clamp(3rem, 5.5vw, 4.25rem); padding-top: 2rem; border-top: 1px solid var(--mf-rule); }
.omf-more-topics-title { margin: 0 0 1.25rem; font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem); letter-spacing: -0.02em; }

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

.omf-page-band { background: var(--mf-ink); color: #FFFFFF; }
.omf-page-band-inner { max-width: 960px; padding-top: clamp(1.25rem, 3vw, 2rem); padding-bottom: clamp(2rem, 4vw, 2.75rem); }
.omf-page-title { margin: 0.25rem 0 0; color: #FFFFFF; font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.25rem); line-height: 1.05; letter-spacing: -0.03em; }
.omf-page-meta { margin: 0.9rem 0 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mf-on-ink-muted); }
.omf-page { max-width: 860px; padding-top: clamp(2rem, 4vw, 3rem); }
.omf-page .entry-content { font-size: var(--mf-size-body); line-height: var(--mf-lh-body); }
.omf-page .entry-content h2 { margin: 2.5rem 0 0.9rem; font-size: var(--mf-h2); }
.omf-page .entry-content h3 { margin: 2rem 0 0.75rem; font-size: var(--mf-h3); }
.omf-page .entry-content a { text-decoration: underline; text-underline-offset: 0.18em; }
.omf-page .entry-content .elementor-section.elementor-section-boxed > .elementor-container { max-width: 100%; }
.omf-page .entry-content .elementor-heading-title { font-family: var(--mf-display); color: var(--mf-ink); }
.omf-404-head { padding-top: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 3rem; max-width: 52rem; }
.omf-404-title { margin: 0.5rem 0 0; font-size: var(--mf-title); letter-spacing: -0.03em; }
.omf-404-head .omf-chips { margin-top: 1.5rem; }
.omf-404 .omf-latest { padding-bottom: 3rem; }

/* --- Footer: solid black -------------------------------------------------------------------- */

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

/* --- Chat widget (Inedit JS Manager): shrinks to a round button above Google's anchor ad --- */
#inchat-root.omf-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.omf-chat-mini .chatbot-bar-input,
#inchat-root.omf-chat-mini .chatbot-bar-close { display: none !important; }
#inchat-root.omf-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.omf-chat-mini .chatbot-bar-logo { width: 34px !important; height: 34px !important; pointer-events: none !important; }
#inchat-root.omf-chat-mini .chatbot-spacer { display: none !important; }

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

@media (max-width: 1240px) {
    .omf-masthead .main-navigation a { padding: 0 0.75rem; }
    .omf-masthead .main-navigation a::after { left: 0.75rem; right: 0.75rem; }
    .omf-rows { grid-template-columns: minmax(0, 1fr); }
    .omf-rows .omf-crow:nth-child(2) { border-top: 1px solid var(--mf-rule); padding-top: 1.35rem; }
}

@media (max-width: 1024px) {
    /* Masthead: wordmark left, search + menu right; topics move into the drawer (main.css drives it). */
    .omf-top { display: flex; justify-content: space-between; padding-top: 0.65rem; padding-bottom: 0.65rem; border-bottom: 4px solid var(--mf-ink); }
    .omf-brand { align-items: flex-start; text-align: left; }
    .omf-logo { height: 38px; }
    .omf-tagline { display: none; }
    .omf-masthead .omf-tools { display: flex; flex-direction: row; align-items: center; }
    .omf-masthead .mobile-menu-toggle { display: inline-flex; width: 44px; height: 44px; min-width: 44px; }
    .omf-navbar { background: none; }
    .omf-navbar-inner { min-height: 0; padding: 0; }
    .omf-search-bar { display: none !important; }
    .omf-drawer-clip { display: block; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 1000; }
    .omf-drawer-clip .main-navigation { position: absolute; display: block; pointer-events: auto; background: #FFFFFF; overflow-y: auto; padding: 0; max-width: none; }
    .omf-masthead .primary-menu, .omf-masthead .main-navigation ul.primary-menu { display: block; text-align: left; margin: 0; }
    .omf-masthead .main-navigation li { border-bottom: 1px solid var(--mf-rule); }
    .omf-masthead .main-navigation a { display: flex; min-height: 54px; margin: 0; padding: 0 1.5rem; font-size: 0.9375rem; color: var(--mf-ink); }
    .omf-masthead .main-navigation a:hover, .omf-masthead .main-navigation .current-cat > a { background: var(--mf-tint); color: var(--mf-ink); box-shadow: inset 5px 0 0 var(--mf-mint); }
    .omf-masthead .main-navigation a::after { display: none; }
    .omf-masthead .main-navigation a:focus-visible { outline-color: var(--mf-green); }
    .omf-masthead .main-navigation .omf-drawer-label { display: block; margin: 1.25rem 1.5rem 0.5rem; padding-bottom: 0.5rem; border-bottom: 3px solid var(--mf-ink); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mf-ink); }
    .omf-masthead .omf-drawer-more { display: block; list-style: none; margin: 0 0 2rem; padding: 0; }
    .omf-masthead .omf-drawer-more a { min-height: 48px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; }
    .omf-drawer-count { margin-left: auto; min-width: 2rem; padding: 0.1rem 0.4rem; background: var(--mf-ink); border-radius: 6px; color: var(--mf-mint); font-size: 0.75rem; text-align: center; letter-spacing: 0; }
    .omf-masthead .mobile-menu-toggle.active { position: fixed; top: 0.6rem; right: 0.75rem; z-index: 1002; }

    .omf-hero-story { grid-template-columns: minmax(0, 1fr); }
    .omf-hero-text { max-width: 44rem; }
    .omf-columns { grid-template-columns: minmax(0, 1fr); }
    .omf-aside { margin-top: 3rem; }
    .omf-aside .omf-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; align-items: start; }
    .omf-aside .omf-ad { grid-column: 1 / -1; }
    .omf-footer-top { grid-template-columns: minmax(0, 1fr); }
    .omf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
    .omf-lead { grid-template-columns: minmax(0, 1fr); }
    .omf-fact-inner { grid-template-columns: minmax(0, 1fr); }
    .omf-fact-inner .omf-btn { justify-self: start; }
}

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

@media (max-width: 760px) {
    .omf-archive-head-inner { grid-template-columns: minmax(0, 1fr); }
    .omf-archive-tile { flex-direction: row; align-items: baseline; justify-self: start; gap: 0.6rem; min-width: 0; min-height: 0; padding: 0.6rem 1rem; border-radius: var(--mf-radius-sm); }
    .omf-archive-n { font-size: 2.25rem; }
    .omf-archive-unit { margin: 0; }
    .omf-tile-xl { min-width: 96px; height: 96px; font-size: 3.5rem; }
    .omf-hero-top { margin-bottom: 1.1rem; }
    .omf-crow { grid-template-columns: 48px 88px minmax(0, 1fr); gap: 0.85rem; }
    .omf-crow .omf-tile-sm { width: 48px; height: 48px; font-size: 1.3rem; }
    .omf-crow-title { font-size: 1.0625rem; }
    .omf-tile-lg { min-width: 64px; height: 64px; font-size: 2.1rem; }
}

@media (max-width: 640px) {
    .omf-grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
    .omf-aside .omf-side { grid-template-columns: minmax(0, 1fr); }
    .omf-band-news .newsletter-form { flex-direction: column; }
    .omf-article-titlerow { gap: 0.85rem; }
    .omf-article-titlerow .omf-tile-lg { min-width: 52px; height: 52px; font-size: 1.65rem; border-radius: var(--mf-radius-sm); margin-top: 0.15rem; }
    .omf-chips { gap: 0.5rem; }
    .omf-subtopics .omf-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.5rem; margin-right: calc(-1 * var(--mf-gutter)); padding-right: var(--mf-gutter); scrollbar-width: none; }
    .omf-subtopics .omf-chips::-webkit-scrollbar { display: none; }
    .omf-subtopics .omf-chips li { flex: none; }
    .omf-subtopics .omf-chips a { white-space: nowrap; }
    .omf-chips a { min-height: 44px; font-size: 0.875rem; }
    .omf-btn { width: 100%; }
    .omf-fact-inner .omf-btn { justify-self: stretch; }
    .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%; }
    .comments-area .comment-body { padding: 1rem 1rem 1rem 1.1rem; }
    .comments-area .comment-content, .comments-area .reply { padding-left: 0; }
    .comments-area .children { margin-left: 0.5rem; padding-left: 0.75rem; }
}

@media (max-width: 400px) {
    .omf-logo { height: 34px; }
    .omf-tools { gap: 0; }
    .omf-footer-grid { grid-template-columns: minmax(0, 1fr); }
    .omf-crow { grid-template-columns: 44px 72px minmax(0, 1fr); gap: 0.7rem; }
    .omf-crow .omf-tile-sm { width: 44px; height: 44px; font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
    .omf-ccard:hover .omf-frame img, .omf-lead:hover .omf-frame img, .omf-crow:hover .omf-frame img, .omf-hero-story:hover .omf-frame img { transform: none; }
}

/* --- 1.0.1 (2026-11-20): Ad Inserter blocks keyed to SmartMag selectors -------------------------
   Block 1 (AdSense top, slot 9972698796) is inserted after h1.is-title.post-title, i.e. inside the
   title row: wrap it onto its own full-width line under the headline. Block 3 (Decide Below
   Content 1) lands after .post-pagination (the wp_link_pages wrapper). */
.omf-article-titlerow { flex-wrap: wrap; }
.omf-article-titlerow > .code-block { flex: 0 0 100%; min-width: 0; margin: 1rem 0 0 !important; text-align: center; }
.omf-article .page-links + .code-block, .omf-article .post-pagination + .code-block { margin: 1.5rem 0 !important; }

/* --- 1.0.3 (2026-11-20, visual QA) ----------------------------------------------------------- */
/* Block 1 (ad after the H1) wraps the title row: the H1 must take the space beside the tile. */
.omf-article-titlerow .omf-article-title { flex: 1 1 0; min-width: 0; }
/* Two-column grids (tablet): an odd last card becomes a horizontal card across both columns
   instead of a full-width 4:3 photo. */
@media (max-width: 1024px) and (min-width: 641px) {
    .omf-grid > .omf-ccard:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 1.5rem; }
    .omf-grid > .omf-ccard:last-child:nth-child(odd) .omf-frame { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
    .omf-grid > .omf-ccard:last-child:nth-child(odd) .omf-ccard-top { grid-column: 2; grid-row: 1; }
    .omf-grid > .omf-ccard:last-child:nth-child(odd) .omf-ccard-body { grid-column: 2; grid-row: 2; padding-top: 0.5rem; }
    /* Home rail stacked under the rows: Most read takes the full width, not half. */
    .omf-home-more .omf-aside .omf-side-block { grid-column: 1 / -1; }
}
