:root {
    --ink: #2d3434;
    --muted: #3a5b64;
    --line: #d9e2ec;
    --paper: #ffffff;
    --soft: #f4f7f9;
    --brand: #28536b;
    --brand-dark: #17384b;
    --donate: #8a3b12;
    --success: #276749;
    --error: #a61b1b;
    --mark: #fff2a8;
    --cta: #dd4846;
    --cta-dark: #ac3939;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

a {
    color: var(--brand);
}

.site-header,
.site-footer,
.page-shell {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
}

.button,
button {
    border: 0;
    border-radius: 6px;
    background: var(--brand);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font: inherit;
    font-weight: 700;
    padding: 11px 16px;
    text-decoration: none;
}

.button:hover,
button:hover {
    background: var(--brand-dark);
}

.button-highlight {
    background: var(--cta);
}

.button-highlight:hover {
    background: var(--cta-dark);
}

.button-secondary {
    background: #52606d;
}

.page-shell {
    padding: 18px 0 40px;
}

.search-panel,
.admin-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px;
}

.eyebrow {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1, h2, h3, h4 {
    font-family: "Montagu Slab", serif;
    color: var(--muted);
}

.search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 18px;
}

.browse-filter {
    align-items: end;
    display: grid;
    grid-template-columns: minmax(130px, 180px) minmax(130px, 180px) auto auto;
    gap: 12px;
    margin-top: 18px;
}

.browse-filter label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.clear-link {
    font-weight: 700;
    padding: 11px 0;
}

input[type="search"],
input[type="text"],
input[type="password"],
input[type="number"],
input[type="file"] {
    border: 1px solid #bcccdc;
    border-radius: 6px;
    font: inherit;
    padding: 11px 12px;
    width: 100%;
}

.search-help,
.muted {
    color: var(--muted);
    margin-bottom: 0;
}


.results-header h2 {
    font-size: 20px;
    margin: 24px 0 12px;
}

.browse-summary {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.browse-summary h2 {
    margin-bottom: 12px;
}

.table-wrap {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow-x: auto;
}

.archive-table {
    border-collapse: collapse;
    width: 100%;
}

.archive-table th,
.archive-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

.archive-table th {
    background: #edf2f7;
    font-size: 14px;
}

.archive-table tr:last-child td {
    border-bottom: 0;
}

.archive-table a {
    font-weight: 700;
}

.pagination {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: center;
    margin: 22px 0 0;
}

.pagination a {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 700;
    padding: 9px 13px;
    text-decoration: none;
}

.result {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 20px;
}

.result h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.article-title {
    color: var(--muted);
    font-style: italic;
}

.snippet {
    margin-bottom: 14px;
}

mark {
    background: var(--mark);
    border-radius: 3px;
    padding: 0 2px;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
}

.viewer-header {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.viewer-header h1 {
    font-size: 22px;
    margin-bottom: 4px;
}

.viewer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-weight: 700;
}

.viewer-page {
    margin-left: calc(50% - 50vw + 16px);
    width: calc(100vw - 32px);
}

.pdf-frame {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: block;
    height: calc(100vh - 170px);
    min-height: 720px;
    width: 100%;
}

.notice {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 18px 0;
    padding: 14px 16px;
}

.notice-success {
    border-color: #9ae6b4;
    color: var(--success);
}

.notice-error {
    border-color: #feb2b2;
    color: var(--error);
}

.notice-warning {
    border-color: #f6c56f;
    color: #6f4d00;
}

.stacked-form {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.stacked-form label {
    font-weight: 700;
    margin-top: 8px;
}

.stacked-form button {
    justify-self: start;
    margin-top: 12px;
}

.admin-heading {
    align-items: start;
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.admin-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-weight: 700;
}

.check-row {
    align-items: start;
    display: flex;
    gap: 10px;
    line-height: 1.4;
}

.check-row input {
    margin-top: 4px;
    width: auto;
}

.admin-log {
    margin-top: 28px;
}

.admin-log h2 {
    font-size: 20px;
}

.health-groups {
    display: grid;
    gap: 22px;
    margin-top: 22px;
}

.health-group h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.health-table th:first-child,
.health-table td:first-child {
    width: 150px;
}

.health-status {
    border-radius: 999px;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 9px;
}

.health-ok {
    background: #e3fcec;
    color: #276749;
}

.health-warning {
    background: #fff4d6;
    color: #6f4d00;
}

.health-error {
    background: #ffe3e3;
    color: #a61b1b;
}

.modal-backdrop {
    align-items: center;
    background: rgba(18, 32, 44, .72);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 10;
}

.agreement-modal {
    background: var(--paper);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
    max-width: 560px;
    padding: 28px;
}

.agreement-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.site-footer {
    color: var(--muted);
    font-size: 14px;
    padding: 0 0 30px;
}

.sr-only {
    clip: rect(0, 0, 0, 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media (max-width: 680px) {
    .site-header,
    .admin-heading,
    .admin-links,
    .search-form,
    .browse-filter,
    .browse-summary,
    .viewer-header {
        display: block;
    }

    .site-nav {
        display: flex;
        margin-top: 14px;
    }

    .admin-links {
        margin-top: 14px;
    }

    .search-form button,
    .browse-filter button {
        margin-top: 10px;
        width: 100%;
    }

    .clear-link {
        display: inline-block;
        padding-bottom: 0;
    }

    .search-panel,
    .admin-panel {
        padding: 20px;
    }

    .viewer-page {
        margin-left: calc(50% - 50vw + 10px);
        width: calc(100vw - 20px);
    }

    .pdf-frame {
        height: calc(100vh - 155px);
        min-height: 520px;
    }
}

/* =========================================================
   >> JCHS MAGAZINE ARCHIVE HEADER
   ========================================================= */

.site-header {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 26px 0 30px;
}

.site-header .header-brand {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}


/* ---------------------------------------------------------
   LOGO
   --------------------------------------------------------- */

.site-header .logo-wrapper {
    flex: 0 0 auto;
}

.site-header .logo-wrapper a {
    display: block;
}

.site-header .logo-wrapper img {
    display: block;
    width: 104px;
    height: 104px;
    object-fit: contain;
    filter:
        drop-shadow(0 2px 2px rgba(23, 56, 75, 0.08))
        drop-shadow(0 5px 12px rgba(23, 56, 75, 0.05));
    transition: transform 180ms ease, filter 180ms ease;
}

.site-header .logo-wrapper a:hover img {
    transform: translateY(-2px);
    filter:
        drop-shadow(0 3px 3px rgba(23, 56, 75, 0.10))
        drop-shadow(0 7px 14px rgba(23, 56, 75, 0.07));
}


/* ---------------------------------------------------------
   TITLE AREA
   --------------------------------------------------------- */
.site-header .title-wrapper {
    min-width: 0;
}

.site-header .site-kicker {
    margin-bottom: 5px;
    color: #6a7f84;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.site-header .site-title {
    display: inline-block;
    color: var(--brand);
    font-family: "Montagu Slab", serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    transition: color 150ms ease;
}

.site-header .site-title:hover {
    color: var(--brand);
}

.site-header .site-byline {
    margin-top: 3px;
    color: #4e5c60;
    font-size: 13px;
    line-height: 1.35;
}


/* =========================================================
   ARCHIVE NAVIGATION
   ========================================================= */

.site-header .site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.site-header .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    color: #36505a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: color 150ms ease, opacity 150ms ease;
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1px;
    background: #d74a46;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.site-header .nav-link:hover {
    color: #17384b;
}

.site-header .nav-link:hover::after {
    transform: scaleX(1);
}


/* ---------------------------------------------------------
   RETURN TO MAIN JCHS SITE
   --------------------------------------------------------- */

.site-header .nav-return {
    color: #65777c;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* ---------------------------------------------------------
   DIVIDER
   --------------------------------------------------------- */
.site-header .nav-divider {
    width: 1px;
    height: 24px;
    margin: 0 2px;
    background: rgba(58, 91, 100, 0.18);
}


/* =========================================================
   JOIN BUTTON
   ========================================================= */

.site-header #nav-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    background: var(--cta);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.06),
        0 4px 10px rgba(143, 47, 42, 0.07);

    transition:
        transform 150ms ease,
        background-color 150ms ease,
        box-shadow 150ms ease;
}

.site-header #nav-join:hover {
    background: var(--cta-dark);
    transform: translateY(-1px);
    box-shadow:
        0 2px 3px rgba(0, 0, 0, 0.07),
        0 6px 15px rgba(143, 47, 42, 0.10);
}


/* =========================================================
   BOTTOM RULE
   ========================================================= */

.site-header {
    position: relative;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 126px;
    right: 0;
    bottom: 0;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            rgba(58, 91, 100, 0.16),
            rgba(58, 91, 100, 0)
        );
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .site-header {
        gap: 24px;
    }

    .site-header .logo-wrapper img {
        width: 88px;
        height: 88px;
    }

    .site-header .site-title {
        font-size: 25px;
    }

    .site-header .site-nav {
        gap: 14px;
    }

    .site-header .nav-return,
    .site-header .nav-divider {
        display: none;
    }
}


@media (max-width: 680px) {

    .site-header {
        flex-direction: column;
        align-items: stretch;

        gap: 22px;

        padding-top: 20px;
        padding-bottom: 22px;
    }

    .site-header .header-brand {
        justify-content: flex-start;
    }

    .site-header .logo-wrapper img {
        width: 76px;
        height: 76px;
    }

    .site-header .site-title {
        font-size: 23px;
    }

    .site-header .site-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .site-header #nav-join {
        margin-left: auto;
    }

    .site-header::after {
        left: 0;
    }
}


/* =========================================================
   >> ARCHIVE SUPPORT STRIP
   ========================================================= */

.support-strip {
    --support-ink: #183f49;
    --support-muted: #4e5654;
    --support-gold: #d9b96f;
    --support-red: #dd4846;
    --support-red-dark: #ac3939;

    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-height: 78px;
    margin: 22px 0;
    padding: 12px 24px 12px 18px;
    box-sizing: border-box;
    background: radial-gradient(circle at 14% 25%, rgb(255 255 255 / 11%), transparent 30%), linear-gradient(90deg, #fbf0da 0%, #fbf0d9 48%, #fbf0d9 100%);
    border: 1px solid rgba(207, 164, 76, 0.55);
    border-radius: 7px;
    box-shadow: 0 1px 1px rgba(77, 58, 24, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    overflow: hidden;
}

.support-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 78% 20%,
            rgba(184, 142, 68, 0.045),
            transparent 24%
        ),
        radial-gradient(
            circle at 35% 85%,
            rgba(184, 142, 68, 0.04),
            transparent 28%
        );

    opacity: 0.9;
}

.support-strip > * {
    position: relative;
    z-index: 1;
}


/* =========================================================
   ICON
   ========================================================= */
.support-strip .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
}

.support-strip .icon-wrapper img {
    display: block;
    width: 45px;
    height: 45px;
    object-fit: contain;
    opacity: 0.88;
}


/* =========================================================
   TEXT
   ========================================================= */

.support-strip .desc-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
}

.support-strip .desc-wrapper strong {
    display: block;
    margin: 0 0 2px;
    color: var(--support-ink);
    font-family: "Montagu Slab", serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
}

.support-strip .desc-wrapper span {
    display: block;
    color: var(--support-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}


/* =========================================================
   JOIN
   ========================================================= */
.support-strip .options-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 24px;
}

.support-strip .options-wrapper a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 42px;
    padding: 0 25px;
    box-sizing: border-box;
    background: var(--support-red);
    color: #fff;
    border: 1px solid var(--support-red);
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.support-strip .options-wrapper a:hover {
    background: var(--support-red-dark);
    border-color: var(--support-red);
    color: #fff;
    transform: translateY(-1px);
    box-shadow:
        0 2px 4px rgba(76, 42, 27, 0.08),
        0 5px 12px rgba(130, 58, 42, 0.10);
}

.support-strip .options-wrapper a:focus-visible {
    outline: 2px solid var(--support-ink);
    outline-offset: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 700px) {

    .support-strip {
        grid-template-columns: 48px 1fr auto;

        gap: 13px;

        padding: 13px 15px;
    }

    .support-strip .icon-wrapper {
        width: 48px;
    }

    .support-strip .icon-wrapper img {
        width: 39px;
        height: 39px;
    }

    .support-strip .desc-wrapper strong {
        font-size: 16px;
    }

    .support-strip .desc-wrapper span {
        font-size: 12px;
    }

    .support-strip .options-wrapper {
        padding-left: 8px;
    }

    .support-strip .options-wrapper a {
        min-width: 82px;
        height: 39px;

        padding: 0 18px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .support-strip {
        grid-template-columns: 42px 1fr;

        gap: 12px;

        padding: 16px;
    }

    .support-strip .icon-wrapper {
        width: 42px;
        align-self: start;
    }

    .support-strip .icon-wrapper img {
        width: 38px;
        height: 38px;
    }

    .support-strip .options-wrapper {
        grid-column: 1 / -1;

        width: 100%;

        padding: 4px 0 0;
    }

    .support-strip .options-wrapper a {
        width: 100%;
        height: 42px;
    }
}



/* =========================================================
   JCHS MAGAZINE ARCHIVE FOOTER
   Matches main JCHS site
   ========================================================= */
.site-footer {
    --footer-bg: #3a5b64;
    --footer-ink: #e5e7eb;
    --footer-link: #e9f7f3;
    --footer-muted: #d1d5db;
    --footer-line: rgb(244 247 249 / 14%);
    --footer-red: #df4843;
    --footer-red-hover: #c93c38;

    position: relative;
    display: grid;

    /* Row 1: logo | navigation area | Join button */
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 112px 82px;

    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0 max(32px, calc((100vw - 1180px) / 2));
    box-sizing: border-box;
    background: linear-gradient(90deg, rgb(224 245 241 / 0%), rgb(244 251 250 / 13%), rgb(224 245 241 / 0%)), var(--footer-bg);
    color: var(--footer-ink);
    border-top: 1px solid rgba(35, 77, 89, 0.08);
}


/* ---------------------------------------------------------
   LOGO
   --------------------------------------------------------- */
.site-footer .logo-wrapper {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    align-self: center;
    padding-top: 0;
    position: relative;
    top: 20px;
    left: 15px;
}

.site-footer .logo-wrapper a {
    display: inline-block;
}

.site-footer .logo-wrapper img {
    display: block;
    width: 125px;
    height: 125px;
    object-fit: contain;
    transition: transform 180ms ease, opacity 180ms ease;
}

.site-footer .logo-wrapper a:hover img {
    transform: translateY(-2px);
    opacity: 0.92;
}


/* ---------------------------------------------------------
   ARCHIVE SUPPORT DESCRIPTION
   --------------------------------------------------------- */
.site-footer .description-wrapper {
    justify-self: start;
    align-self: center;
    max-width: 600px;
    margin: 0 0 0 26px;
    padding: 4px 0 4px 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .description-wrapper h6 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.18em;
    color: #ffffffe6;
    margin-bottom: 10px;
}

.site-footer .description-wrapper p { margin: 0; }
.site-footer .description-wrapper p a { 
    color: var(--footer-link); 
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.38);
}
.site-footer .description-wrapper p a:hover { 
    color: var(--footer-ink); 
    border-bottom-color: rgba(255,255,255,.5);
}


/* ---------------------------------------------------------
   JOIN BUTTON
   --------------------------------------------------------- */
.site-footer .join-wrapper {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: center;
}

.site-footer #nav-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 40px;
    padding: 0 22px;
    border: 0;
    border-radius: 5px;
    background: var(--footer-red);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(143, 47, 42, 0.08);
    transition:
        background-color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.site-footer #nav-join:hover {
    background: var(--footer-red-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08), 0 5px 13px rgba(143, 47, 42, 0.12);
}


/* ---------------------------------------------------------
   DIVIDER
   --------------------------------------------------------- */
.site-footer::after {
    content: "";
    position: absolute;
    top: 112px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--footer-line);
}


/* ---------------------------------------------------------
   COPYRIGHT ROW
   --------------------------------------------------------- */
.site-footer .footer-wrapper {
    grid-column: 1 / -1;
    grid-row: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    color: var(--footer-muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   PRIVACY / TERMS — RIGHT SIDE
   --------------------------------------------------------- */
.site-footer .footer-links {
    position: absolute;
    right: 0;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 24px;
    transform: translateY(-50%);
}

.site-footer .footer-links a {
    color: var(--footer-ink);
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: color 150ms ease, opacity 150ms ease;
}

.site-footer .footer-links a:hover {
    color: var(--footer-link);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 900px) {

    .site-footer {
        grid-template-columns: 110px 1fr auto;

        padding-left: 24px;
        padding-right: 24px;
    }

    .site-footer::before {
        font-size: 10px;
        word-spacing: 8px;
    }

    .site-footer .logo-wrapper img {
        width: 74px;
        height: 74px;
    }
}


@media (max-width: 700px) {

    .site-footer {
        display: flex;
        flex-direction: column;
        padding: 30px 24px 26px;
        text-align: center;
    }

    .site-footer::before {
        content: none;
    }

    .site-footer::after {
        top: auto;
        bottom: 100px;
    }

    .site-footer .logo-wrapper {
        padding: 0;
        margin: 0 auto 20px;
        top: 0;
        left: 0;
    }

    .site-footer .logo-wrapper img {
        width: 82px;
        height: 82px;
    }
    
    .site-footer .description-wrapper {
        border-left: none;
        margin: 0 0 20px 0;
        padding: 0;
    }
    
    .site-footer .description-wrapper h6 { margin-top: 0; }

    .site-footer .join-wrapper {
        margin-bottom: 28px;
    }

    .site-footer .footer-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;

        padding-top: 25px;
    }

    .site-footer .footer-links {
        position: static;

        justify-content: center;

        transform: none;
    }
}
