/*
Theme Name: MotorGuia 2026
Theme URI: https://motorguia.net/
Author: MotorGuia
Description: Lightweight, mobile-first editorial theme for MotorGuia.
Version: 1.8.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: motorguia
*/

:root {
  color-scheme: light;
  --mg-ink: #111317;
  --mg-muted: #5b616b;
  --mg-line: #d9dde2;
  --mg-paper: #ffffff;
  --mg-wash: #f2f5f6;
  --mg-red: #d31f35;
  --mg-blue: #087e8b;
  --mg-max: 1280px;
  --mg-reading: 760px;
  --mg-radius: 6px;
  --mg-shadow: 0 8px 28px rgb(17 19 23 / 10%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mg-paper);
  color: var(--mg-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid #0b78d0; outline-offset: 3px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus { position: fixed; z-index: 10000; top: 1rem; left: 1rem; width: auto; height: auto; padding: .75rem 1rem; clip: auto; background: #fff; color: #000; }
.mg-shell { width: min(100% - 2rem, var(--mg-max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 100; background: #0c0d0f; color: #fff; border-bottom: 3px solid var(--mg-red); }
.admin-bar .site-header { top: 32px; }
.header-main { min-height: 4.5rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; }
.site-brand { display: inline-flex; align-items: center; width: 13.5rem; text-decoration: none; }
.site-brand img { width: 100%; height: auto; }
.desktop-nav { justify-self: center; min-width: 0; }
.desktop-nav ul { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.desktop-nav li { position: relative; }
.desktop-nav a { display: block; padding: .8rem .7rem; color: #f1f3f5; font-size: .9rem; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover { color: #fff; background: #292c31; }
.desktop-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 14rem; padding: .35rem; background: #16181c; box-shadow: var(--mg-shadow); }
.desktop-nav li:hover > .sub-menu, .desktop-nav li:focus-within > .sub-menu { display: block; }
.desktop-nav .sub-menu a { white-space: normal; }
.header-actions { display: flex; gap: .25rem; }
.icon-button { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.icon-button:hover { background: #292c31; }
.icon-button svg { display: block; width: 1.35rem; height: 1.35rem; fill: none; stroke: #fff; stroke-width: 2; }
.menu-toggle { display: none; }
.search-panel, .mobile-panel { display: none; background: #16181c; border-top: 1px solid #33363c; }
.search-panel.is-open, .mobile-panel.is-open { display: block; }
.search-panel form { display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding-block: 1rem; }
.search-panel input { min-width: 0; padding: .8rem 1rem; border: 1px solid #6c717a; border-radius: var(--mg-radius); background: #fff; color: #111; }
.mg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .7rem 1.15rem; border: 1px solid var(--mg-ink); border-radius: var(--mg-radius); background: var(--mg-ink); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; }
.mg-button:hover { background: #343840; }
.search-panel .mg-button { border-color: #fff; background: #fff; color: #111; }
.mobile-panel ul { margin: 0; padding: .5rem 0 1rem; list-style: none; }
.mobile-panel li { border-bottom: 1px solid #30333a; }
.mobile-panel a { display: block; min-width: 0; padding: .75rem 0; text-decoration: none; }
.mobile-panel .menu-item-has-children { display: grid; grid-template-columns: minmax(0, 1fr) 2.75rem; align-items: center; }
.mobile-panel .sub-menu { grid-column: 1 / -1; width: 100%; padding: 0 0 .4rem 1rem; }
.mobile-panel .sub-menu li { border-bottom: 0; }
.mobile-panel .sub-menu a { padding-block: .55rem; color: #d2d5da; font-size: .88rem; }
.submenu-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.submenu-toggle::before { content: "+"; font-size: 1.35rem; line-height: 1; }
.submenu-toggle[aria-expanded="true"]::before { content: "−"; }
.submenu-toggle:hover { background: #292c31; }

.breaking-bar { border-bottom: 1px solid var(--mg-line); background: var(--mg-wash); }
.breaking-inner { display: flex; align-items: center; gap: 1rem; min-height: 2.75rem; overflow: hidden; }
.breaking-label { flex: none; color: var(--mg-red); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.breaking-link { overflow: hidden; font-size: .875rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }

.mg-ad { display: grid; place-items: center; width: 100%; margin: 0; overflow: hidden; background: var(--mg-wash); color: var(--mg-muted); }
.mg-ad-label { align-self: end; margin-bottom: .35rem; font-size: .62rem; line-height: 1; text-transform: uppercase; }
.mg-ad-slot { display: grid; place-items: center; max-width: 100%; }
.mg-ad--masthead { min-height: 282px; padding-block: 1rem; border-bottom: 1px solid var(--mg-line); }
.mg-ad--masthead .mg-ad-slot { min-width: 970px; min-height: 250px; }
.mg-ad--leaderboard { min-height: 122px; padding-block: 1rem; }
.mg-ad--leaderboard .mg-ad-slot { min-width: 728px; min-height: 90px; }
.mg-ad--mrec { min-height: 282px; padding-block: 1rem; }
.mg-ad--mrec .mg-ad-slot { min-width: 300px; min-height: 250px; }
.mg-ad--skyscraper { min-height: 632px; margin-top: 2rem; padding-block: 1rem; }
.mg-ad--skyscraper .mg-ad-slot { min-width: 300px; min-height: 600px; }
.home-ad-break { margin-top: 2rem; }
.home-ad-break .mg-ad--mrec { display: none; }

.home-main { padding-block: 2rem 4rem; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(19rem, .8fr); gap: 2rem; align-items: start; }
.lead-story { position: relative; min-width: 0; }
.lead-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe3e6; }
.lead-media img { width: 100%; height: 100%; object-fit: cover; }
.lead-copy { padding-top: 1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .55rem; color: var(--mg-red); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.25rem; height: 3px; background: currentColor; }
.lead-title { max-width: 22ch; margin: 0; font-size: clamp(2rem, 4.2vw, 4.5rem); line-height: .98; font-weight: 760; letter-spacing: 0; text-wrap: balance; }
.lead-title a { text-decoration: none; }
.lead-title a:hover { text-decoration: underline; }
.lead-dek { max-width: 70ch; margin: .9rem 0 0; color: var(--mg-muted); font-size: 1.075rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: .35rem .75rem; margin-top: .85rem; color: var(--mg-muted); font-size: .78rem; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0; padding: .85rem 0; font-size: 1.2rem; line-height: 1.2; }
.section-link { color: var(--mg-muted); font-size: .78rem; font-weight: 700; text-decoration: none; }
.section-kicker { margin: 0; padding: .75rem 0; border-top: 4px solid var(--mg-ink); font-size: .78rem; line-height: 1; text-transform: uppercase; }
.secondary-stack { display: grid; gap: 1rem; }
.secondary-story { display: grid; grid-template-columns: minmax(8.5rem, .9fr) minmax(0, 1fr); gap: .85rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px solid var(--mg-line); }
.secondary-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mg-wash); }
.secondary-media img { width: 100%; height: 100%; object-fit: cover; }
.secondary-copy { min-width: 0; }
.secondary-copy .eyebrow { margin-bottom: .35rem; font-size: .65rem; }
.secondary-copy h3 { margin: 0; font-size: 1.12rem; line-height: 1.16; text-wrap: balance; }
.secondary-copy h3 a { text-decoration: none; }
.secondary-copy time { display: block; margin-top: .55rem; color: var(--mg-muted); font-size: .72rem; }
.accelerating { margin-top: .35rem; }
.accelerating-list { margin: 0; padding: 0; list-style: none; }
.accelerating-list li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .65rem; padding-block: .72rem; border-bottom: 1px solid var(--mg-line); }
.accelerating-rank { color: var(--mg-red); font-size: 1.35rem; font-weight: 750; line-height: 1; }
.accelerating-category { display: block; margin-bottom: .2rem; color: var(--mg-red); font-size: .62rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.accelerating-list h3 { margin: 0; font-size: .94rem; line-height: 1.17; text-wrap: balance; }
.accelerating-list h3 a { text-decoration: none; }

.featured-band { margin-top: 3.5rem; padding-block: 2.5rem 3rem; background: #111317; color: #fff; }
.band-header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 1.15rem; border-bottom: 1px solid #3d4148; }
.band-header h2 { margin: 0; padding-bottom: .8rem; font-size: 2rem; line-height: 1; }
.band-kicker { margin: 0 0 .35rem; color: #5dc5cf; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.featured-story { min-width: 0; }
.featured-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #25282d; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.featured-media:hover img { transform: scale(1.025); }
.featured-copy { padding-top: .8rem; }
.band-category { color: #5dc5cf; font-size: .68rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.featured-copy h3 { margin: .3rem 0 0; font-size: 1.2rem; line-height: 1.15; text-wrap: balance; }
.featured-story--primary .featured-copy h3 { font-size: 1.65rem; }
.featured-copy h3 a { text-decoration: none; }
.featured-copy p { margin: .6rem 0 0; color: #b9bec6; font-size: .9rem; }
.feed-section { padding-top: 3rem; }
.feed-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; border-bottom: 4px solid var(--mg-ink); }
.feed-header h2 { margin: 0; padding-bottom: .7rem; font-size: 1.65rem; }
.maintenance-section .feed-header { border-bottom-color: var(--mg-blue); }
.used-reviews-section .feed-header { border-bottom-color: var(--mg-red); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.25rem; }
.story-card { min-width: 0; }
.story-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mg-wash); }
.story-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.story-card-media:hover img { transform: scale(1.025); }
.story-card-body { padding-top: .75rem; }
.story-card h2, .story-card h3 { margin: .25rem 0 0; font-size: 1.2rem; line-height: 1.18; text-wrap: balance; }
.story-card h2 a, .story-card h3 a { text-decoration: none; }
.story-card .excerpt { margin: .55rem 0 0; color: var(--mg-muted); font-size: .9rem; }

.page-main { padding-block: 2.25rem 4rem; }
.archive-header { max-width: 52rem; margin-bottom: 2rem; }
.archive-header h1, .page-title { margin: 0; overflow-wrap: anywhere; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: 0; }
.archive-description { color: var(--mg-muted); }
.pagination { margin-top: 3rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .35rem; }
.page-numbers { display: grid; place-items: center; min-width: 2.7rem; min-height: 2.7rem; padding: .4rem .7rem; border: 1px solid var(--mg-line); border-radius: var(--mg-radius); text-decoration: none; }
.page-numbers.current { border-color: var(--mg-ink); background: var(--mg-ink); color: #fff; }
.page-numbers.dots { border-color: transparent; }
.page-numbers.prev, .page-numbers.next { width: auto; padding-inline: .9rem; }

.article-header { max-width: 60rem; margin: 0 auto 1.75rem; }
.article-title { margin: .5rem 0 0; font-size: clamp(2.25rem, 5vw, 4.75rem); line-height: .98; font-weight: 760; letter-spacing: 0; text-wrap: balance; }
.article-dek { max-width: 48rem; margin: 1rem 0 0; color: var(--mg-muted); font-size: 1.2rem; }
.article-hero { width: min(100%, 1120px); margin: 0 auto 2rem; }
.article-hero img { width: 100%; max-height: 72vh; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, var(--mg-reading)) 18.75rem; justify-content: center; gap: 3.5rem; align-items: start; }
.article-content { min-width: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.125rem; line-height: 1.75; }
.article-content > * { max-width: 100%; }
.article-content h2, .article-content h3 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.15; }
.article-content a { color: #00677a; }
.article-content blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 4px solid var(--mg-red); font-size: 1.35rem; line-height: 1.45; }
.article-content iframe { max-width: 100%; }
.article-aside { position: sticky; top: 6.5rem; border-top: 3px solid var(--mg-ink); padding-top: .85rem; color: var(--mg-muted); font-size: .82rem; }
.article-aside strong { color: var(--mg-ink); }
.post-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; }
.post-tags a { padding: .35rem .6rem; border: 1px solid var(--mg-line); border-radius: 999px; color: var(--mg-ink); font: 700 .75rem Inter, sans-serif; text-decoration: none; }
.article-content .mg-ad { font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.product-review { margin-block: 3rem 2rem; border-block: 4px solid var(--mg-ink); padding-block: 1.25rem 1.5rem; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.product-review-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.product-review-header h2 { margin: 0; font-size: 1.8rem; }
.review-label { margin: 0 0 .3rem; color: var(--mg-red); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.review-rating { display: flex; align-items: baseline; flex: 0 0 auto; color: var(--mg-red); }
.review-rating strong { font-size: 3rem; line-height: 1; }
.review-rating span { font-size: 1rem; font-weight: 700; }
.review-criteria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 1.25rem 0 0; border-top: 1px solid var(--mg-line); }
.review-criteria div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; border-bottom: 1px solid var(--mg-line); }
.review-criteria dt { color: var(--mg-muted); font-size: .82rem; }
.review-criteria dd { margin: 0; font-size: .85rem; font-weight: 800; }
.review-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.review-notes > div { border-left: 4px solid #188364; padding-left: 1rem; }
.review-notes > div:last-child { border-left-color: var(--mg-red); }
.review-notes h3 { margin: 0 0 .5rem; font-size: 1rem; }
.review-notes ul { margin: 0; padding-left: 1.1rem; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.article-after { padding-top: 3.5rem; }
.author-profile { display: grid; grid-template-columns: 8rem minmax(0, 42rem); gap: 2rem; padding-block: 1.5rem 2rem; border-block: 4px solid var(--mg-ink); }
.author-label { margin: .2rem 0 0; color: var(--mg-red); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.author-profile h2 { margin: 0; font-size: 1.7rem; line-height: 1.1; }
.author-profile p:not(.author-label) { margin: .55rem 0 0; color: var(--mg-muted); }
.author-link { display: inline-block; margin-top: .75rem; color: var(--mg-blue); font-size: .82rem; font-weight: 750; }
.related-section { padding-top: 3rem; }
.adjacent-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3rem; border-block: 1px solid var(--mg-line); }
.adjacent-posts a { display: grid; gap: .25rem; min-width: 0; padding: 1.25rem 1rem 1.25rem 0; text-decoration: none; }
.adjacent-posts a + a { padding-inline: 1rem 0; border-left: 1px solid var(--mg-line); }
.adjacent-posts span { color: var(--mg-muted); font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.adjacent-posts strong { font-size: 1rem; line-height: 1.25; }
.adjacent-next { text-align: right; }

.site-footer { padding-block: 2.5rem; background: #111317; color: #e7e9ec; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 2rem; align-items: start; }
.footer-brand { max-width: 12rem; }
.footer-copy { margin: .75rem 0 0; color: #aeb4bd; font-size: .82rem; }
.footer-menu ul { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.footer-menu a { font-size: .85rem; text-decoration: none; }
.footer-meta { color: #aeb4bd; font-size: .75rem; text-align: right; }
.footer-meta p { margin: 0 0 .45rem; }
.footer-meta a { color: #fff; }

.mg-contact { max-width: 48rem; }
.mg-contact > h2 { margin: 2rem 0 .35rem; font-size: 1.65rem; }
.mg-contact > p { margin-top: 0; color: var(--mg-muted); }
.mg-contact-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; min-width: 0; margin-top: 1.5rem; }
.mg-contact-form p { margin: 0; }
.mg-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mg-contact-form label:not(.mg-form-consent label) { display: block; margin-bottom: .3rem; font-size: .82rem; font-weight: 750; }
.mg-contact-form input:not([type="checkbox"]), .mg-contact-form select, .mg-contact-form textarea { width: 100%; min-width: 0; min-height: 2.9rem; padding: .7rem .8rem; border: 1px solid #9ca2aa; border-radius: var(--mg-radius); background: #fff; color: var(--mg-ink); font: inherit; }
.mg-contact-form textarea { min-height: 10rem; resize: vertical; }
.mg-contact-form .mg-form-captcha input[type="number"] { width: 7rem; }
.mg-contact-form input:focus, .mg-contact-form select:focus, .mg-contact-form textarea:focus { border-color: var(--mg-ink); outline: 3px solid rgb(11 120 208 / 25%); outline-offset: 1px; }
.mg-form-consent label { display: flex; align-items: flex-start; gap: .6rem; }
.mg-form-consent input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .2rem; }
.mg-contact-form .mg-button { justify-self: start; }
.mg-contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mg-form-notice { margin-block: 1rem; padding: .85rem 1rem; border-left: 4px solid var(--mg-blue); background: var(--mg-wash); }
.mg-form-notice--error { border-left-color: var(--mg-red); }

.not-found { max-width: 42rem; min-height: 48vh; padding-block: 4rem; }
.not-found p { color: var(--mg-muted); }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .header-main { grid-template-columns: 1fr auto; position: relative; }
  .header-actions { position: absolute; z-index: 2; right: 0; top: 50%; transform: translateY(-50%); }
  .menu-toggle { display: inline-grid; }
  .home-grid { grid-template-columns: minmax(0, 1fr) 18rem; gap: 1.25rem; }
  .secondary-story { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-ad--masthead, .mg-ad--skyscraper { display: none; }
  .article-layout { grid-template-columns: minmax(0, var(--mg-reading)); }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 720px) {
  .mg-shell { width: min(100% - 1.25rem, var(--mg-max)); }
  .site-brand { width: 10.5rem; }
  .header-main { min-height: 3.9rem; gap: .5rem; }
  .home-main { padding-top: 1rem; }
  .home-grid { grid-template-columns: 1fr; }
  .lead-title { font-size: 2.35rem; }
  .secondary-stack { margin-top: .75rem; }
  .secondary-story { grid-template-columns: 8.5rem minmax(0, 1fr); }
  .featured-band { margin-top: 2.5rem; padding-block: 2rem; }
  .featured-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .featured-story--primary .featured-copy h3 { font-size: 1.4rem; }
  .story-grid { grid-template-columns: 1fr; gap: 1.65rem; }
  .home-ad-break .mg-ad--leaderboard { display: none; }
  .home-ad-break .mg-ad--mrec { display: grid; }
  .story-card { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .75rem; }
  .story-card-media { aspect-ratio: 4 / 3; }
  .story-card-body { padding-top: 0; }
  .story-card h2, .story-card h3 { font-size: 1.02rem; }
  .story-card .excerpt { display: none; }
  .product-review-header { align-items: flex-start; gap: 1rem; }
  .product-review-header h2 { font-size: 1.45rem; }
  .review-rating strong { font-size: 2.4rem; }
  .review-criteria, .review-notes { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .article-header { padding-inline: .625rem; }
  .article-aside { position: static; order: -1; }
  .article-title { font-size: 2.25rem; }
  .article-content { font-size: 1.05rem; }
  .article-after { padding-top: 2.5rem; }
  .author-profile { grid-template-columns: 1fr; gap: .5rem; }
  .adjacent-posts { grid-template-columns: 1fr; }
  .adjacent-posts a + a { padding-inline: 0; border-top: 1px solid var(--mg-line); border-left: 0; }
  .adjacent-next { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
  .mg-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .site-brand { width: 9.25rem; }
  .icon-button { width: 2.55rem; height: 2.55rem; }
  .lead-title { font-size: 2rem; }
  .secondary-story { grid-template-columns: 7rem minmax(0, 1fr); }
  .story-card { grid-template-columns: 7rem minmax(0, 1fr); }
  .nav-links { gap: .25rem; }
  .page-numbers { min-width: 2.5rem; min-height: 2.5rem; padding-inline: .55rem; }
  .page-numbers.prev, .page-numbers.next { flex-basis: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .breaking-bar, .site-footer, .article-aside { display: none; }
  .article-layout { display: block; }
}
