:root {
    --mm-accent: #155672; --mm-ink: #18232b; --mm-muted: #52616b;
    --mm-border: #dce3e7; --mm-paper: #fff; --mm-soft: #f2f5f6;
    --mm-radius: .3rem; --mm-width: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Cycle101: reserve the vertical scrollbar space from the first paint. On desktop the scrollbar used to appear during progressive
   rendering (and vanish while the consent message locks scrolling), moving the centred page sideways: CLS 0.07–0.28 in Lighthouse.
   Overlay scrollbars (phones) are not affected. */
html { scrollbar-gutter: stable; }
body { margin: 0; background: var(--mm-paper); color: var(--mm-ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: var(--mm-accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, input[type=submit] { cursor: pointer; }
.mm-privacy { padding: .35rem 0; border: 0; background: transparent; color: var(--mm-accent); text-decoration: underline; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid #b26a00; outline-offset: 4px; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.025em; }
.mm-container { width: min(100% - 32px, var(--mm-width)); margin-inline: auto; }
.mm-main { padding-block: 28px 48px; min-height: 50vh; }
.screen-reader-text, .mm-skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.mm-skip-link:focus { position: fixed; z-index: 10000; top: 12px; left: 12px; padding: 12px 18px; background: #fff; }
.mm-categories { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; font-weight: 700; }
.mm-categories a { text-decoration: none; }
.mm-ad { width: 100%; clear: both; margin-block: 24px; }
.mm-header-ad .mm-ad { margin-block: 12px 0; }
.mm-ad:empty { margin: 0; }
/* AdSense/CMP are never hidden, delayed, clamped or placed in scrolling boxes. */
.mm-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.mm-card-grid > .mm-card { min-width: 0; }
.mm-card h2 { font-size: 1.22rem; margin-block: 10px; }
.mm-card h2 a { color: inherit; text-decoration: none; }
.mm-card-image { display: block; aspect-ratio: 16 / 10; background: var(--mm-soft); margin-bottom: 14px; }
.mm-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mm-card time { color: var(--mm-muted); font-size: .8rem; }
.mm-page { max-width: 760px; margin-inline: auto; }
.mm-page-wide { max-width: none; }
.mm-card-grid > .mm-ad { grid-column: 1 / -1; }
.mm-home-featured { margin-bottom: 36px; }
.mm-archive-header { max-width: 860px; margin-bottom: 32px; }
.nav-links { display: flex; gap: 18px; justify-content: space-between; margin-block: 32px; }
.mm-listing-pagination { flex-wrap: wrap; }
.page-numbers { padding: 8px 12px; border: 1px solid var(--mm-border); }
@media (max-width: 760px) {
    .mm-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
    .mm-main { padding-top: 22px; }
}
@media (max-width: 380px) { .mm-card-grid { grid-template-columns: 1fr; } }
/* Cycle105 (T5): reserved logo box while the image loads (inc/settings.php, mm_logo_link). */
img[data-mm-logo-reserve] { contain: size; contain-intrinsic-size: var(--mm-logo-ci); }
@media (max-width: 767px) { picture > img[data-mm-logo-reserve] { contain-intrinsic-size: var(--mm-logo-ci-phone, var(--mm-logo-ci)); } }
