/**
 * Site shell — Bold Modernist.
 *
 * Black bands bookend the page: a solid masthead at the top, a solid footer at
 * the bottom, white and structural in between. Buttons are rectangles, borders
 * are 2px, nothing is rounded.
 */

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

body {
    font-family: var(--font-sans);
    color: var(--fmr-ink-500);
    background: var(--fmr-surface);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.fmr-wrap {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4.5vw, 56px);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--fmr-brand-500);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.skip-to-content:focus {
    left: 0;
}

/* ---- Header: a solid black bar ---------------------------------------------- */

.fmr-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--fmr-surface-dark);
    color: var(--fmr-on-dark);
}

.fmr-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fmr-space-6);
    height: 64px;
}

.fmr-logo {
    /* The wordmark sits in a 64px bar but was only a 32px tap target. Filling
       the bar's height costs no layout, since the bar is already that tall. */
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--font-serif);
    font-size: var(--fmr-text-lg);
    font-weight: 900;
    letter-spacing: var(--fmr-track-head);
    text-transform: uppercase;
    color: var(--fmr-on-dark);
    text-decoration: none;
    white-space: nowrap;
}

.fmr-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.9vw, 26px);
}

.fmr-nav a {
    font-family: "Geist", var(--font-sans, sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--fmr-on-dark);
    text-decoration: none;
    padding-block: 6px;
    transition: color .2s ease;
}

.fmr-nav a:last-child {
    color: var(--fmr-brand-300);
}

.fmr-nav a:hover {
    color: var(--fmr-brand-300);
}

.fmr-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fmr-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* 44px is the touch floor. These are the only controls in the masthead, so
       on a phone they are the whole navigation: they have to be easy to hit. */
    width: 44px;
    height: 44px;
    border: 1px solid var(--fmr-border-dark);
    border-radius: 0;
    background: transparent;
    color: var(--fmr-on-dark);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.fmr-iconbtn:hover {
    background: var(--fmr-brand-500);
    border-color: var(--fmr-brand-500);
    color: #fff;
}

.fmr-iconbtn svg {
    width: 18px;
    height: 18px;
}

.fmr-headsearch,
.fmr-drawer {
    display: none;
    background: var(--fmr-surface-dark);
    border-top: 1px solid var(--fmr-border-dark);
    padding-block: var(--fmr-space-4);
}

.fmr-headsearch.is-open,
.fmr-drawer.is-open {
    display: block;
}

.fmr-drawer a {
    display: block;
    padding: 12px 0;
    font-family: "Geist", var(--font-sans, sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fmr-on-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--fmr-border-dark);
}

@media (max-width: 900px) {
    .fmr-nav {
        display: none;
    }
}

@media (min-width: 901px) {
    .fmr-burger {
        display: none;
    }
}

/* ---- Search + buttons -------------------------------------------------------- */

.fmr-search {
    display: flex;
    gap: 0;
    max-width: 32rem;
}

.fmr-search input[type="search"],
.fmr-search input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    font-size: var(--fmr-text-base);
    font-family: inherit;
    color: var(--fmr-ink-900);
    background: var(--fmr-surface);
    border: 2px solid var(--fmr-border-strong);
    border-right: 0;
    border-radius: 0;
}

.fmr-search input::placeholder {
    color: var(--fmr-ink-400);
}

.fmr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border: 2px solid var(--fmr-border-strong);
    border-radius: 0;
    background: var(--fmr-surface-dark);
    color: var(--fmr-on-dark);
    font-family: "Geist", var(--font-sans, sans-serif);
    font-size: var(--fmr-text-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.fmr-btn:hover {
    background: var(--fmr-brand-500);
    border-color: var(--fmr-brand-500);
    color: #fff;
}

.fmr-btn--ghost {
    background: transparent;
    color: var(--fmr-ink-900);
}

.fmr-btn--ghost:hover {
    background: var(--fmr-surface-dark);
    border-color: var(--fmr-border-strong);
    color: var(--fmr-on-dark);
}

/* ---- Page / listing head ------------------------------------------------------ */

.fmr-phead {
    padding-block: clamp(40px, 6vw, 76px);
    border-bottom: 2px solid var(--fmr-border-strong);
}

.fmr-phead__eyebrow {
    display: inline-block;
    background: var(--fmr-brand-500);
    color: #fff;
    font-family: "Geist", var(--font-sans, sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: var(--fmr-track-label);
    text-transform: uppercase;
    padding: 7px 13px;
    margin-bottom: 22px;
}

.fmr-phead h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(34px, 6vw, 72px);
    font-weight: 900;
    line-height: .92;
    letter-spacing: var(--fmr-track-display);
    text-transform: uppercase;
    color: var(--fmr-ink-900);
}

.fmr-phead p {
    margin: 18px 0 0;
    max-width: 42rem;
    font-size: var(--fmr-text-md);
    line-height: 1.6;
    color: var(--fmr-ink-500);
}

.fmr-phead__count {
    margin-top: 18px;
    font-family: "Geist", var(--font-sans, sans-serif);
    font-variant-numeric: tabular-nums;
    font-size: var(--fmr-text-xs);
    font-weight: 700;
    letter-spacing: var(--fmr-track-label);
    text-transform: uppercase;
    color: var(--fmr-ink-400);
}

.fmr-body {
    padding-block: clamp(40px, 6vw, 76px);
}

/* ---- Long-form content ---------------------------------------------------------- */

.fmr-content {
    max-width: 44rem;
}

.fmr-content h2 {
    font-family: var(--font-serif);
    font-size: var(--fmr-text-xl);
    font-weight: 700;
    letter-spacing: var(--fmr-track-head);
    color: var(--fmr-ink-900);
    margin: 40px 0 12px;
}

.fmr-content h3 {
    font-family: var(--font-serif);
    font-size: var(--fmr-text-lg);
    font-weight: 700;
    color: var(--fmr-ink-900);
    margin: 30px 0 10px;
}

.fmr-content p,
.fmr-content li {
    font-size: var(--fmr-text-md);
    line-height: 1.72;
    color: var(--fmr-ink-500);
}

.fmr-content p {
    margin: 0 0 18px;
}

.fmr-content ul,
.fmr-content ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.fmr-content li {
    margin-bottom: 8px;
}

.fmr-content a {
    color: var(--fmr-brand-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---- Empty state ------------------------------------------------------------------ */

.fmr-empty {
    border: 2px solid var(--fmr-border-strong);
    padding: clamp(32px, 5vw, 56px);
    text-align: center;
    color: var(--fmr-ink-500);
}

.fmr-empty h2 {
    margin: 0 0 8px;
    font-family: var(--font-serif);
    font-size: var(--fmr-text-xl);
    font-weight: 700;
    letter-spacing: var(--fmr-track-head);
    color: var(--fmr-ink-900);
}

/* ---- Pagination -------------------------------------------------------------------- */

.fmr-pager {
    margin-top: clamp(32px, 5vw, 56px);
    display: flex;
    justify-content: center;
}

.fmr-pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding-inline: 12px;
    margin: 0 4px;
    border: 2px solid var(--fmr-border-strong);
    border-radius: 0;
    font-family: "Geist", var(--font-sans, sans-serif);
    font-variant-numeric: tabular-nums;
    font-size: var(--fmr-text-sm);
    font-weight: 600;
    color: var(--fmr-ink-900);
    text-decoration: none;
}

.fmr-pager .page-numbers:hover {
    background: var(--fmr-brand-500);
    border-color: var(--fmr-brand-500);
    color: #fff;
}

.fmr-pager .page-numbers.current {
    background: var(--fmr-surface-dark);
    border-color: var(--fmr-surface-dark);
    color: #fff;
}

/* ---- Footer: the closing black band --------------------------------------------------- */

.fmr-footer {
    background: var(--fmr-surface-dark);
    color: var(--fmr-on-dark);
    padding-block: clamp(44px, 6vw, 76px) 28px;
    margin-top: clamp(48px, 7vw, 96px);
}

.fmr-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: clamp(24px, 4vw, 56px);
}

.fmr-footer h2 {
    margin: 0 0 16px;
    font-family: "Geist", var(--font-sans, sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: var(--fmr-track-label);
    text-transform: uppercase;
    color: var(--fmr-brand-300);
}

.fmr-footer__about h2 {
    font-family: var(--font-serif);
    font-size: var(--fmr-text-lg);
    font-weight: 900;
    letter-spacing: var(--fmr-track-head);
    color: var(--fmr-on-dark);
    text-transform: uppercase;
}

.fmr-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fmr-footer li {
    margin-bottom: 10px;
}

.fmr-footer a {
    font-size: var(--fmr-text-sm);
    color: #d4d4d8;
    text-decoration: none;
    transition: color .2s ease;
}

.fmr-footer a:hover {
    color: var(--fmr-brand-300);
}

.fmr-footer__about p {
    margin: 0 0 14px;
    font-size: var(--fmr-text-sm);
    line-height: 1.68;
    color: #a1a1aa;
    max-width: 30rem;
}

.fmr-footer__base {
    margin-top: clamp(32px, 5vw, 52px);
    padding-top: 22px;
    border-top: 1px solid var(--fmr-border-dark);
    display: flex;
    justify-content: space-between;
    gap: var(--fmr-space-4);
    flex-wrap: wrap;
    font-family: "Geist", var(--font-sans, sans-serif);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #71717a;
}

@media (max-width: 900px) {
    .fmr-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .fmr-footer__grid {
        grid-template-columns: 1fr;
    }
}


/* ---- Forms -----------------------------------------------------------------
   Contact, recipe submission and anything else with inputs. Square, 2px black,
   orange on focus. Controls are 48px tall so they clear the 44px touch floor. */

.fmr-content form,
.fmr-form {
    max-width: 40rem;
}

.fmr-content label,
.fmr-form label {
    display: block;
    margin-bottom: 7px;
    font-family: "Geist", var(--font-sans, sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: var(--fmr-track-label);
    text-transform: uppercase;
    color: var(--fmr-ink-900);
}

.fmr-content input[type="text"],
.fmr-content input[type="email"],
.fmr-content input[type="url"],
.fmr-content input[type="tel"],
.fmr-content input[type="number"],
.fmr-content input[type="search"],
.fmr-content select,
.fmr-content textarea,
.fmr-form input[type="text"],
.fmr-form input[type="email"],
.fmr-form input[type="url"],
.fmr-form input[type="tel"],
.fmr-form input[type="number"],
.fmr-form select,
.fmr-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 13px 14px;
    margin-bottom: 18px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: var(--fmr-text-base);
    color: var(--fmr-ink-900);
    background: var(--fmr-surface);
    border: 2px solid var(--fmr-border-strong);
    border-radius: 0;
    transition: border-color .2s ease;
}

.fmr-content textarea,
.fmr-form textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.fmr-content input:focus,
.fmr-content select:focus,
.fmr-content textarea:focus,
.fmr-form input:focus,
.fmr-form select:focus,
.fmr-form textarea:focus {
    border-color: var(--fmr-brand-500);
    outline: none;
}

.fmr-content input::placeholder,
.fmr-content textarea::placeholder,
.fmr-form input::placeholder,
.fmr-form textarea::placeholder {
    color: var(--fmr-ink-400);
}

.fmr-content button,
.fmr-content input[type="submit"],
.fmr-form button,
.fmr-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 32px;
    border: 2px solid var(--fmr-border-strong);
    border-radius: 0;
    background: var(--fmr-surface-dark);
    color: var(--fmr-on-dark);
    font-family: "Geist", var(--font-sans, sans-serif);
    font-size: var(--fmr-text-sm);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.fmr-content button:hover,
.fmr-content input[type="submit"]:hover,
.fmr-form button:hover,
.fmr-form input[type="submit"]:hover {
    background: var(--fmr-brand-500);
    border-color: var(--fmr-brand-500);
}

/* Checkbox and radio keep their native size but get a decent hit area. */
.fmr-content input[type="checkbox"],
.fmr-content input[type="radio"],
.fmr-form input[type="checkbox"],
.fmr-form input[type="radio"] {
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0 8px 0 0;
    accent-color: var(--fmr-brand-500);
}

/* A table of links, used by the recipe index page. */
.fmr-content table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid var(--fmr-border-strong);
    margin-bottom: 24px;
}

.fmr-content th,
.fmr-content td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--fmr-border);
    font-size: var(--fmr-text-sm);
}

.fmr-content th {
    background: var(--fmr-surface-dark);
    color: var(--fmr-on-dark);
    font-family: "Geist", var(--font-sans, sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: var(--fmr-track-label);
    text-transform: uppercase;
}

/* ---------------------------------------------------------------- A-Z index
   Styles for page-templates/page-all-recipes.php. The filter bar and the count
   line are hidden in the markup and revealed by script, so nothing here is
   visible to a reader whose JavaScript did not run. */

.fmr-azstats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
    gap: 2px;
    margin-block: clamp(24px, 4vw, 44px);
    background: var(--fmr-border-strong);
    border: 2px solid var(--fmr-border-strong);
}

.fmr-azstats>div {
    min-width: 0;
    padding: var(--fmr-space-4);
    background: var(--fmr-surface);
}

.fmr-azstat__n {
    display: block;
    font-family: var(--font-serif, Georgia, serif);
    font-size: var(--fmr-text-2xl);
    font-weight: 600;
    line-height: 1;
    letter-spacing: var(--fmr-track-display);
}

.fmr-azstat__l {
    display: block;
    margin-top: 6px;
    font-size: var(--fmr-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--fmr-track-label);
    color: var(--fmr-ink-500);
}

.fmr-azbar {
    display: grid;
    gap: var(--fmr-space-3);
    padding-bottom: var(--fmr-space-4);
    border-bottom: 2px solid var(--fmr-border-strong);
}

.fmr-azbar input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 2px solid var(--fmr-border-strong);
    border-radius: 0;
    background: var(--fmr-surface);
    font: inherit;
    color: inherit;
}

.fmr-azbar input[type="search"]:focus-visible {
    outline: 3px solid var(--fmr-brand-500);
    outline-offset: -1px;
}

.fmr-azletters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.fmr-azletters button {
    min-width: 40px;
    min-height: 40px;
    padding-inline: 8px;
    border: 2px solid var(--fmr-border);
    border-radius: 0;
    background: var(--fmr-surface);
    font: inherit;
    font-weight: 700;
    color: var(--fmr-ink-700);
    cursor: pointer;
    transition: background .12s ease, color .12s ease, border-color .12s ease;
}

.fmr-azletters button:hover {
    border-color: var(--fmr-border-strong);
}

.fmr-azletters button.is-on {
    background: var(--fmr-surface-dark);
    border-color: var(--fmr-surface-dark);
    color: var(--fmr-on-dark);
}

.fmr-azcount {
    margin: var(--fmr-space-3) 0 0;
    font-size: var(--fmr-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--fmr-track-label);
    color: var(--fmr-ink-500);
}

.fmr-azindex {
    padding-block: clamp(24px, 4vw, 48px);
}

.fmr-azgroup {
    margin-bottom: var(--fmr-space-8);
}

.fmr-azgroup__letter {
    margin: 0 0 var(--fmr-space-3);
    font-family: var(--font-serif, Georgia, serif);
    font-size: var(--fmr-text-2xl);
    line-height: 1;
    letter-spacing: var(--fmr-track-display);
    color: var(--fmr-brand-500);
}

.fmr-azlist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: 0 var(--fmr-space-6);
    border-top: 2px solid var(--fmr-border-strong);
}

.fmr-azlist li {
    min-width: 0;
    border-bottom: 1px solid var(--fmr-border);
}

.fmr-azlist a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--fmr-space-3);
    min-height: 48px;
    padding-block: 12px;
    text-decoration: none;
    color: inherit;
}

.fmr-azlist__name {
    min-width: 0;
    font-weight: 600;
    letter-spacing: var(--fmr-track-title);
}

.fmr-azlist a:hover .fmr-azlist__name {
    color: var(--fmr-brand-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fmr-azlist__n {
    flex: none;
    font-size: var(--fmr-text-xs);
    font-variant-numeric: tabular-nums;
    color: var(--fmr-ink-400);
}

.fmr-azempty {
    padding: var(--fmr-space-8);
    border: 2px dashed var(--fmr-border);
    text-align: center;
    color: var(--fmr-ink-500);
}

.fmr-azfaq {
    border-top: 2px solid var(--fmr-border-strong);
    padding-block: clamp(40px, 6vw, 72px);
}

@media (prefers-reduced-motion: reduce) {
    .fmr-azletters button {
        transition: none;
    }
}

/* --------------------------------------------------------------- HTML sitemap
   Reuses the link-set and A-Z stat styles; only the wide multi-column lists
   are specific to this page. */

.fmr-smap {
    padding-block: clamp(24px, 4vw, 48px);
}

.fmr-smap__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: var(--fmr-space-8);
    padding-bottom: clamp(32px, 5vw, 56px);
    border-bottom: 2px solid var(--fmr-border-strong);
}

.fmr-smap__block {
    padding-block: clamp(28px, 4vw, 48px);
    border-bottom: 2px solid var(--fmr-border-strong);
}

.fmr-smap__block:last-child {
    border-bottom: 0;
}

.fmr-smap__n {
    display: inline-block;
    margin-left: var(--fmr-space-2);
    padding: 2px 8px;
    background: var(--fmr-surface-dark);
    color: var(--fmr-on-dark);
    font-family: var(--font-sans, system-ui, sans-serif);
    font-size: var(--fmr-text-xs);
    font-weight: 700;
    letter-spacing: var(--fmr-track-label);
    vertical-align: middle;
}

.fmr-smap__letter {
    margin-top: var(--fmr-space-6);
}

.fmr-smap__letter h3 {
    margin: 0 0 var(--fmr-space-2);
    font-family: var(--font-serif, Georgia, serif);
    font-size: var(--fmr-text-xl);
    line-height: 1;
    color: var(--fmr-brand-500);
    letter-spacing: var(--fmr-track-display);
}

/* Columns rather than a grid: a long alphabetical list reads down, not
   across, and the browser balances the fill. */
.fmr-smap__list {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 3 260px;
    column-gap: var(--fmr-space-8);
    border-top: 1px solid var(--fmr-border);
}

.fmr-smap__list li {
    break-inside: avoid;
    border-bottom: 1px solid var(--fmr-border);
}

.fmr-smap__list a {
    display: block;
    min-height: 44px;
    padding-block: 11px;
    padding-right: var(--fmr-space-3);
    font-size: var(--fmr-text-sm);
    text-decoration: none;
    color: inherit;
}

.fmr-smap__list a:hover {
    color: var(--fmr-brand-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fmr-smap .fmr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fmr-smap .fmr-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding-inline: 12px;
    border: 2px solid var(--fmr-border);
    text-decoration: none;
    color: inherit;
    font-size: var(--fmr-text-sm);
    transition: border-color .12s ease, color .12s ease;
}

.fmr-smap .fmr-tag:hover {
    border-color: var(--fmr-border-strong);
    color: var(--fmr-brand-600);
}

.fmr-smap .fmr-tag span {
    font-size: var(--fmr-text-xs);
    font-variant-numeric: tabular-nums;
    color: var(--fmr-ink-400);
}

@media (prefers-reduced-motion: reduce) {
    .fmr-smap .fmr-tag {
        transition: none;
    }
}

.fmr-smap__note {
    margin: 0 0 var(--fmr-space-4);
    max-width: 62ch;
    font-size: var(--fmr-text-sm);
    color: var(--fmr-ink-500);
}

/* ------------------------------------------------------------ article list
   Shared by home.php and the Blog Index page template. */

.fmr-artlist {
    padding-block: clamp(28px, 4vw, 56px);
}

.fmr-card--article .fmr-card__title {
    font-size: var(--fmr-text-lg);
}

.fmr-card__excerpt {
    margin: var(--fmr-space-2) 0 0;
    font-size: var(--fmr-text-sm);
    line-height: 1.55;
    color: var(--fmr-ink-500);
}

.fmr-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-top: clamp(28px, 4vw, 48px);
    padding-top: var(--fmr-space-6);
    border-top: 2px solid var(--fmr-border-strong);
}

.fmr-pager .page-numbers {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding-inline: 12px;
    border: 2px solid var(--fmr-border);
    font-weight: 700;
    font-size: var(--fmr-text-sm);
    text-decoration: none;
    color: var(--fmr-ink-700);
    transition: border-color .12s ease, background .12s ease, color .12s ease;
}

.fmr-pager .page-numbers:hover {
    border-color: var(--fmr-border-strong);
}

.fmr-pager .page-numbers.current {
    background: var(--fmr-surface-dark);
    border-color: var(--fmr-surface-dark);
    color: var(--fmr-on-dark);
}

.fmr-pager .page-numbers.dots {
    border-color: transparent;
    min-width: 28px;
}

@media (prefers-reduced-motion: reduce) {
    .fmr-pager .page-numbers {
        transition: none;
    }
}
