/* Theme mtgfr: Manticore's bands, MTG Collector's colours and fonts (warm zinc, sand gold). */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/inter-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant SC"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/cormorant-sc-latin-600-normal.woff2") format("woff2"); }

/* Bands stay dark in both modes; the reader picks the column (dark by default, light on request). */
:root {
  --band: #0e0e10;
  --on-band: #f7f6f4;
  --on-band-soft: #bab6af;
  --on-band-muted: #a8a49d;
  --band-line: #26262b;
  --band-raise: #202024;
  --paper: #18181b;
  --ink: #e9e7e3;
  --ink-strong: #f7f6f4;
  --ink-soft: #bab6af;
  --muted: #a8a49d;
  --line: #323238;
  --wash: #202024;
  --code-bg: #0e0e10;
  --accent: #c8a45c;
  --accent-hover: #dec287;
  --on-accent: #18181b;
  --link: #dec287;
  --focus: #dec287;
  --c0: var(--accent);
  --c1: #e9e4c8;
  --c2: #4f8df0;
  --c3: #6b6478;
  --c4: #e0483f;
  --c5: #3aa45b;
  --head: "Cormorant SC", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --masthead: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
  scrollbar-color: #45454c var(--paper);
}
:root[data-theme="light"] {
  --paper: #f7f6f4;
  --ink: #18181b;
  --ink-strong: #000;
  --ink-soft: #45454c;
  --muted: #5e5b56;
  --line: #e1ddd5;
  --wash: #efebe3;
  --link: #7a5d2c;
  --focus: #8c6c36;
  color-scheme: light;
  scrollbar-color: #bab6af var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--band); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--accent);
  overflow-wrap: break-word;
}
::selection { background: #8c6c36; color: #f7f6f4; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink-strong); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.masthead :focus-visible, .band :focus-visible, .une :focus-visible, .side :focus-visible, .footer :focus-visible { outline-color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.1; letter-spacing: .01em; text-wrap: balance; margin: 0; }
.icon { display: inline-block; flex: none; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 10; background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; font-weight: 500; }
.skip:focus { top: .75rem; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* Masthead */
.masthead { position: relative; z-index: 5; background: var(--band); color: var(--on-band); }
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--masthead); }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; color: var(--on-band); text-decoration: none; font: 600 1.5rem/1 var(--head); letter-spacing: .02em; }
.wordmark::before { content: ""; width: 1.75em; height: 1.75em; margin: -.35em 0; background: url("../images/logo.png") center / contain no-repeat; flex: none; }
.wordmark:hover { color: var(--on-band); }
.masthead nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.75rem; }
.masthead nav ul a { color: var(--on-band); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem 0; border-bottom: 3px solid transparent; transition: border-color .2s; }
.masthead nav ul a:hover, .masthead nav ul a[aria-current] { border-bottom-color: var(--accent); }
.masthead nav { display: flex; align-items: center; gap: 2rem; }
.socials { display: flex; gap: .25rem; margin: 0; }
.social { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; color: inherit; }
.social:hover { color: var(--accent); }
.masthead .social { color: var(--on-band-soft); }
.masthead .social:hover { color: var(--on-band); }
.nav-narrow { display: none; }
.nav-narrow summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -.5rem; }
.nav-narrow summary::-webkit-details-marker { display: none; }
.nav-narrow .icon { width: 26px; height: 26px; }
.nav-narrow[open] summary .icon:first-child, .nav-narrow:not([open]) summary .icon:last-child { display: none; }
@media (max-width: 859px) {
  .nav-wide { display: none !important; }
  .nav-narrow { display: block; }
  .nav-narrow nav { position: absolute; left: 0; right: 0; top: var(--masthead); background: var(--band); padding: .5rem var(--gutter) 1.75rem; flex-direction: column; align-items: stretch; gap: 1rem; border-top: 1px solid var(--band-line); }
  .nav-narrow nav ul { flex-direction: column; gap: 0; }
  .nav-narrow nav ul a { display: block; font: 600 1.6rem/1.2 var(--head); padding: .8rem 0; border-bottom: 1px solid var(--band-line); }
  .nav-narrow nav ul a[aria-current] { color: var(--accent); border-bottom-color: var(--band-line); }
  .nav-narrow .socials { margin-left: -.6rem; }
}

/* Sub-menus: child pages of a menu entry. Wide screens: drop-down on hover or keyboard focus, no JS. */
.masthead nav li { position: relative; }
.nav-wide > ul > li > a { display: inline-flex; align-items: center; gap: .35rem; }
.nav-wide .has-sub > a::after { content: ""; width: .4em; height: .4em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.15em) rotate(45deg); opacity: .7; }
.nav-wide li ul { display: flex; visibility: hidden; opacity: 0; transition: opacity .15s, visibility 0s .15s; position: absolute; top: 100%; left: -1rem; z-index: 6; min-width: 13rem; flex-direction: column; gap: 0; padding: .5rem 0; background: var(--band-raise); border-top: 3px solid var(--accent); box-shadow: 0 12px 28px rgba(0, 0, 0, .45); }
.nav-wide li:hover > ul, .nav-wide li:focus-within > ul { visibility: visible; opacity: 1; transition: opacity .15s; }
.nav-wide li.shut > ul { visibility: hidden; opacity: 0; }
.nav-wide li ul a { display: block; padding: .55rem 1rem; border-bottom: 0; white-space: nowrap; }
.nav-wide li ul a:hover, .nav-wide li ul a[aria-current] { color: var(--accent-hover); background: rgba(255, 255, 255, .04); }
.nav-narrow li ul { padding: 0 0 .5rem 1rem; }
.nav-narrow li ul a { font: 500 1.05rem/1.3 var(--body); padding: .65rem 0; }

/* Reader's light/dark switch (needs JS; hidden without it) */
.mode { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; background: none; color: var(--on-band-soft); cursor: pointer; }
.mode:hover { color: var(--on-band); }
.mode[hidden] { display: none; }
:root:not([data-theme="light"]) .mode svg:last-of-type, :root[data-theme="light"] .mode svg:first-of-type { display: none; }

/* Category chips: the five mana colours */
.chips { display: flex; flex-wrap: wrap; gap: .375rem; margin: 0 0 .9rem; }
.chip { display: inline-block; padding: .3rem .55rem .25rem; background: var(--c0); color: #000; font: 600 .6875rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.chip:hover { color: #000; text-decoration: underline; text-decoration-thickness: 1px; }
.chip.c3, .chip.c3:hover { color: #fff; }
.chip.c1 { background: var(--c1); } .chip.c2 { background: var(--c2); } .chip.c3 { background: var(--c3); } .chip.c4 { background: var(--c4); } .chip.c5 { background: var(--c5); }
.chip.all { background: var(--on-band); color: #000; }
.chip[aria-current] { outline: 2px solid var(--accent-hover); outline-offset: 2px; }
.c1 { --cat: var(--c1); } .c2 { --cat: var(--c2); } .c3 { --cat: var(--c3); } .c4 { --cat: var(--c4); } .c5 { --cat: var(--c5); }

/* Mana symbols: pastel discs and dark glyphs, as printed on cards */
.manas { display: inline-flex; align-items: center; gap: .3rem; margin-left: .2rem; }
.mana-link { display: inline-flex; border-radius: 50%; }
.mana { width: 1.5rem; height: 1.5rem; display: block; transition: transform .2s var(--ease); }
.mana-c { fill: #bfa891; stroke: #bfa891; }
.mana-c path { stroke: none; }
.mana-link:hover .mana { transform: scale(1.12); }
.mana-link[aria-current] { outline: 2px solid var(--accent-hover); outline-offset: 2px; }
.filters .manas { margin-left: .5rem; }
.filters .mana { width: 1.85rem; height: 1.85rem; }

.meta { margin: 0; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; text-decoration: none; }
.more .icon { transition: transform .3s var(--ease); }
.more:hover .icon { transform: translateX(4px); }

/* Black bands: page openers */
.band { background: var(--band); color: var(--on-band); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band h1 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); max-width: 22ch; }
.band h1::after, .section-title::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--accent); margin-top: .9rem; }
.band .lead { color: var(--on-band-soft); font-size: 1.125rem; margin: 1rem 0 0; max-width: 60ch; }
.band .meta { color: var(--on-band-muted); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.75rem; }

/* List pages: compact head (title and filters on one line on wide screens) */
.list-head { padding-block: clamp(1.75rem, 3.5vw, 2.5rem); }
.list-head .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2.5rem; }
.list-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.list-head h1::after { margin-top: .7rem; }
.list-head .filters { margin-top: 0; }
.subpages { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.subpages a { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-band); font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: .15rem; }
.subpages a:hover { color: var(--accent-hover); }

/* List pages: carousel of the newest articles, each slide laid out like the home page's lead */
.carousel { display: flex; flex-direction: column; background: var(--band); }
.carousel-ctl { order: 2; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-color: #45454c var(--band); }
.carousel.js .slides { scrollbar-width: none; }
.carousel.js .slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel .une-in { min-height: clamp(360px, 50vh, 500px); }
.carousel .une-text { padding-block: 3rem; }
.carousel .une h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.carousel-ctl { display: flex; align-items: center; gap: .5rem; padding-block: .25rem 1.5rem; color: var(--on-band-soft); }
.carousel-ctl[hidden] { display: none; }
.carousel-ctl button { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.carousel-ctl button:hover { color: var(--on-band); }
.carousel-ctl :focus-visible { outline-color: var(--accent-hover); }
.ctl-pause[aria-pressed="false"] svg:last-of-type, .ctl-pause[aria-pressed="true"] svg:first-of-type { display: none; }
.dots { display: flex; }
.carousel-ctl .dot { min-width: 2rem; }
.dot::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; border: 2px solid currentColor; transition: background-color .2s, transform .2s var(--ease); }
.dot[aria-current]::before { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }

/* Home: à la une */
.une { position: relative; background: var(--band); color: var(--on-band); overflow: hidden; border-top: 6px solid var(--cat, var(--accent)); }
.une-img { position: absolute; inset: 0 0 0 auto; width: 60%; }
.une-img img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.6s var(--ease) both; }
.une-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0e0e10 0%, rgba(14, 14, 16, .82) 22%, rgba(14, 14, 16, .25) 60%, rgba(14, 14, 16, 0) 100%); }
.une-in { position: relative; display: flex; align-items: center; min-height: clamp(440px, 64vh, 640px); }
.une-text { max-width: 34rem; padding-block: 4rem; }
.une :is(h1, h2) { font-size: clamp(2.5rem, 4.8vw, 3.75rem); line-height: 1.02; }
.une :is(h1, h2) a { color: var(--on-band); text-decoration: none; }
.une :is(h1, h2) a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: .12em; }
.une :is(h1, h2)::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--accent); margin-top: 1rem; }
.une-sum { color: var(--on-band-soft); font-size: 1.125rem; margin: 1.1rem 0 .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.une .meta { color: var(--on-band-muted); }
.une .more { margin-top: 1.5rem; color: var(--on-accent); background: var(--accent); padding: .8rem 1.15rem; }
.une .more:hover { background: var(--accent-hover); color: var(--on-accent); }
@keyframes settle { from { transform: scale(1.04); } to { transform: none; } }

.side { background: var(--band); color: var(--on-band); border-top: 1px solid var(--band-line); }
.side-in { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-block: 1.75rem 2.75rem; }
.side-item { display: grid; grid-template-columns: 10rem 1fr; gap: 1.25rem; align-items: start; }
.side-img { display: block; aspect-ratio: 16 / 9; background: var(--band-raise); overflow: hidden; border-top: 4px solid var(--cat, var(--accent)); }
.side-img img { width: 100%; height: 100%; object-fit: cover; }
.side .chips { margin-bottom: .5rem; }
.side h2 { font-size: 1.4rem; line-height: 1.2; margin-bottom: .35rem; }
.side h2 a { color: var(--on-band); text-decoration: none; }
.side h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.side .meta { color: var(--on-band-muted); }

/* Article lists */
.list { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-title { font-size: clamp(1.75rem, 3vw, 2.125rem); margin-bottom: 2.25rem; }
/* Twitch channels (plugin twitch-live): its colours and fonts taken from the theme */
.twitch { --tw-band: var(--band); --tw-band-line: var(--band-line); --tw-on-band: var(--on-band); --tw-on-band-soft: var(--on-band-soft); --tw-on-band-muted: var(--on-band-muted); --tw-accent: var(--accent); --tw-accent-hover: var(--accent-hover); --tw-on-accent: var(--on-accent); --tw-line: var(--line); --tw-ease: var(--ease); --tw-focus: var(--focus); --tw-head-font: var(--head); --tw-ink: var(--ink); --tw-ink-strong: var(--ink-strong); --tw-link: var(--link); --tw-muted: var(--muted); --tw-paper: var(--paper); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 2.75rem 2rem; }
.tile-img { display: block; text-decoration: none; aspect-ratio: 16 / 9; background: var(--wash); border-top: 6px solid var(--cat, var(--accent)); overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile-ph { display: flex; height: 100%; align-items: flex-end; padding: 1.25rem; background: var(--band); color: var(--on-band-soft); text-decoration: none; font: 600 1.15rem/1.1 var(--head); letter-spacing: .02em; }
.tile-ph::before { content: ""; width: 1.6em; height: 1.6em; background: url("../images/logo.png") center / contain no-repeat; margin: 0 .6rem -.2rem 0; flex: none; }
.tile:hover .tile-img img { transform: scale(1.035); }
.tile-body { padding-top: 1.1rem; }
.tile .chips { margin-bottom: .6rem; }
.tile h3 { font-size: 1.5rem; line-height: 1.2; margin-bottom: .45rem; }
.tile h3 a { color: var(--ink-strong); text-decoration: none; }
.tile h3 a:hover { color: var(--link); text-decoration: underline; }
.see-all { margin: 2.75rem 0 0; }
.empty { color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pager a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; text-decoration: none; }
.pager a[rel="next"] { justify-self: end; }
.pager-n { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }

/* Article head */
.article-head { position: relative; overflow: hidden; border-top: 6px solid var(--cat, var(--accent)); }
.article-head .wrap { position: relative; }
.article-title { max-width: 40rem; }
.article-head h1 { margin-bottom: 1.1rem; }
.article-img { display: none; }
.article-head.has-img { padding-block: 0; }
.article-head.has-img .article-img { display: block; position: absolute; inset: 0 0 0 auto; width: 54%; }
.article-head.has-img .article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-head.has-img .article-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0e0e10 0%, rgba(14, 14, 16, .7) 25%, rgba(14, 14, 16, 0) 75%); }
.article-head.has-img .wrap { display: flex; align-items: center; min-height: clamp(360px, 46vh, 480px); }
.article-head.has-img .article-title { max-width: 32rem; padding-block: 3.5rem; }

/* Reading column */
.column { max-width: calc(68ch + 2 * var(--gutter)); }
.prose { padding-block: clamp(2.5rem, 5vw, 3.75rem) clamp(3rem, 6vw, 4.5rem); color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose table, .prose pre, .prose figure { margin: 0 0 1.35em; }
.prose h2 { font-size: 2rem; margin: 2.4em 0 .7em; }
.prose h3 { font-size: 1.55rem; margin: 2em 0 .6em; }
.prose h4 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 600; color: var(--ink-strong); }
.prose blockquote { margin-inline: 0; padding: 1.1rem 1.35rem; background: var(--wash); color: var(--ink-soft); font-style: italic; }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose hr { border: 0; height: 4px; width: 3rem; background: var(--accent); margin: 2.75rem 0; }
.prose img { margin-inline: auto; }
.prose figcaption { color: var(--muted); font-size: .875rem; margin-top: .6rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; border-bottom: 2px solid var(--ink-soft); white-space: nowrap; }
.prose code { font: .88em/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--wash); padding: .1em .35em; }
.prose pre { background: var(--code-bg); color: #e9e7e3; border: 1px solid var(--line); padding: 1.1rem 1.25rem; overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }

.next-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-block: 2rem 4rem; border-top: 1px solid var(--line); }
.next-prev a { display: flex; align-items: center; gap: .6rem; color: var(--ink-strong); text-decoration: none; font: 600 1.3rem/1.2 var(--head); }
.next-prev a .icon { color: var(--link); }
.next-prev a.to-right { justify-content: flex-end; text-align: right; grid-column: 2; }
.next-prev a:hover { color: var(--link); }

/* Footer */
.footer { background: var(--band); color: var(--on-band-muted); padding-block: 3rem; }
.footer-in { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; }
.footer .wordmark { font-size: 1.3rem; }
.footer-brand { margin: 0; }
.footer .socials { color: var(--on-band-soft); margin-right: -.5rem; }
.footer .social:hover { color: var(--on-band); }
.legal { grid-column: 1 / -1; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--band-line); font-size: .8125rem; line-height: 1.6; max-width: 80ch; }

/* Narrow screens */
@media (max-width: 760px) {
  .une-img { position: relative; width: 100%; aspect-ratio: 16 / 9; }
  .une-img::after { background: linear-gradient(0deg, #0e0e10 0%, rgba(14, 14, 16, 0) 45%); }
  .une-in { min-height: 0; }
  .une-text { padding-block: .5rem 2.5rem; }
  .carousel .une-in { min-height: 0; }
  .carousel .une-text { padding-block: .5rem 1.5rem; }
  .une-img:empty { display: none; }
  .list-head .wrap { align-items: flex-start; flex-direction: column; }
  .side-in { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 1.5rem 2.25rem; }
  .side-item { grid-template-columns: 7.5rem 1fr; gap: 1rem; }
  .side h2 { font-size: 1.1rem; }
  .article-head.has-img .article-img { position: relative; width: 100%; aspect-ratio: 16 / 9; }
  .article-head.has-img .article-img::after { background: linear-gradient(0deg, #0e0e10 0%, rgba(14, 14, 16, 0) 45%); }
  .article-head.has-img .wrap { min-height: 0; }
  .article-head.has-img .article-title { padding-block: .5rem 2.5rem; }
  .next-prev { grid-template-columns: 1fr; }
  .next-prev a.to-right { grid-column: 1; }
  .footer-in { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager a { white-space: nowrap; }
  .pager-n { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .footer .socials { margin-left: -.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
