.wrapper.table-scope-0 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 769px) {
    .wrapper.table-scope-0 {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow-y: auto;
        box-sizing: border-box;
        padding: 2rem 1rem calc(var(--navbar-space) + 2rem);
        margin: 0;
        z-index: 1;
    }
}

.archive-hub {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 80px auto;
}

@media (min-width: 769px) {
    .archive-hub {
        margin: auto 0;
    }
}

.archive-hub h1 {
    margin-bottom: 24px;
}

.archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wrapper.table-scope-0 {
        padding-top: 2.5rem;
        padding-bottom: 10rem;
    }

    .archive-hub {
        margin-bottom: 0;
    }

    body:has(.wrapper.table-scope-0) {
        padding-bottom: 0;
    }
}

.archive-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 10px;
    background-color: var(--shade-3);
    border: none;
    cursor: pointer;
    font-family: "IsidoraSans-SemiBold";
    font-size: 1rem;
    color: var(--shade-1);
    text-decoration: none;
    box-sizing: border-box;
}

.archive-tile:active {
    transform: scale(0.970);
}
