.gh-archive-header {
    margin-bottom: 2.8rem;
}

.gh-archive-header .gh-list-heading {
    margin-bottom: 1.8rem;
}

.gh-archive-nav {
    display: flex;
    gap: 2.4rem;
    border-bottom: 1px solid var(--color-light-gray, #ddd);
}

.gh-archive-nav a {
    padding-block: 0.7rem 0.9rem;
    border-bottom: 2px solid transparent;
}

.gh-archive-nav a[aria-current] {
    border-color: currentColor;
    font-weight: 600;
}

.gh-archive-year,
.gh-archive-category {
    margin: 2.8rem 0 0.4rem;
    font-size: 2rem;
}

.gh-archive-year:first-child {
    margin-top: 0;
}

.gh-category-count,
.gh-article-categories {
    color: var(--color-secondary-text);
    font-size: 1.4rem;
}

.gh-article-categories {
    margin-top: 1rem;
}

.gh-article-categories > span:first-child {
    margin-right: 0.8em;
}

.gh-article-categories a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.gh-reviews {
    padding-block: 4.8rem 6rem;
}

.gh-reviews-content {
    margin-top: 0;
}

.gh-review-section {
    scroll-margin-top: 3rem;
}

.gh-review-section + .gh-review-section {
    margin-top: 4.8rem;
}

.gh-review-section > h2 {
    margin: 0 0 1.2rem;
    font-size: 2.4rem;
}

.gh-review-section > h2 small {
    margin-inline-start: 0.6em;
    color: var(--color-secondary-text);
    font-size: 0.68em;
    font-weight: 400;
}

.gh-review-section > h3 {
    margin: 2.4rem 0 0.2rem;
    font-size: 1.8rem;
}

.gh-review-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2.4rem;
    padding-block: 1.6rem;
    border-bottom: 1px solid var(--color-light-gray, #ddd);
}

.gh-review-entry time {
    grid-area: 1 / 2;
    color: var(--color-secondary-text);
    font-size: 1.35rem;
    white-space: nowrap;
}

.gh-review-text {
    grid-area: 1 / 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.gh-review-text > * {
    margin-block: 0;
}

.gh-review-text > * + * {
    margin-top: 1.2rem;
}

@media (max-width: 639px) {
    .gh-review-entry {
        display: block;
    }

    .gh-review-entry time {
        display: block;
        margin-bottom: 0.6rem;
    }
}
