.article-pagination {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    font-weight: 600;
}

.gh-navigation-menu {
    min-width: 0;
}
.article-desktop-search {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}
.article-mobile-search {
    display: none;
}
.article-search-open {
    overflow: hidden;
}
.article-search-dialog {
    position: fixed;
    inset: 80px 0 auto;
    width: min(512px, 95vw);
    max-width: none;
    max-height: calc(100dvh - 100px);
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    color: #171717;
    background: #fff;
    box-shadow: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.5;
}
.article-search-dialog::backdrop {
    background: linear-gradient(135deg, #0003, #0000001a);
    backdrop-filter: blur(2px);
}
.article-search-dialog-form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
}
.article-search-dialog-form input {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
}
.article-search-dialog-form input::placeholder {
    color: #9ca3af;
}
.article-search-symbol,
.article-search-cancel {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.article-search-symbol {
    display: flex;
}
.article-search-cancel {
    display: none;
    color: #737373;
    font-size: 1.4rem;
}
.article-search-results {
    max-height: min(70vh, calc(100dvh - 172px));
    padding: 12px 28px;
    overflow-y: auto;
    border-top: 1px solid #e5e5e5;
    color: #737373;
    font-size: 1.4rem;
}
.article-search-results:empty {
    display: none;
}
.article-search-label {
    margin-bottom: 4px;
    color: #a3a3a3;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.article-search-result {
    display: block;
    margin: 0 -28px;
    padding: 12px 28px;
}
.article-search-result:hover,
.article-search-result:focus-visible {
    background: #f5f5f5;
    opacity: 1;
}
.article-search-result strong {
    display: block;
    color: #262626;
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.25;
}
.article-search-result p {
    overflow: hidden;
    color: #a3a3a3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.article-search-more {
    display: block;
    padding-top: 12px;
    color: #737373;
}
.article-navigation-list {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    list-style: none;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
}
.article-navigation-list::-webkit-scrollbar {
    display: none;
}
.article-navigation-list > li {
    flex: 0 0 auto;
}
.article-navigation-list.has-overflow > li {
    flex-basis: var(--navigation-item-width);
    text-align: center;
}
.article-navigation-list a {
    display: inline-flex;
    align-items: center;
}
@media (max-width: 767px) {
    .is-open#gh-navigation .gh-navigation-inner {
        grid-template-rows: 64px minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }
    .article-desktop-search {
        display: none;
    }
    .gh-navigation-brand .article-mobile-search {
        display: flex;
    }
    #gh-navigation .gh-navigation-menu {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        width: 100%;
        height: auto;
    }
    .article-navigation-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-height: calc(100dvh - 180px);
        overflow-x: hidden;
        overflow-y: auto;
        white-space: normal;
    }
    .article-navigation-list > li {
        flex: 0 0 auto;
    }
    .article-navigation-list a {
        display: flex;
        justify-content: center;
        padding: 14px 0;
        font-size: 2rem;
        font-weight: 600;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 639px) {
    .article-search-dialog-form {
        padding-inline: 16px;
    }
    .article-search-cancel {
        display: block;
    }
    .article-search-results {
        padding-inline: 16px;
    }
    .article-search-result {
        margin-inline: -16px;
        padding-inline: 16px;
    }
}

.gh-about .gh-form {
    flex-direction: column;
    gap: 12px;
    height: auto;
    margin-top: 24px;
    border-radius: 0;
    background: none;
}
.gh-about .gh-form-input {
    position: static;
    height: 48px;
    padding-inline: 16px;
    background-color: var(--color-lighter-gray);
}
.gh-about .gh-form .gh-button {
    position: relative;
    right: auto;
    width: 100%;
    min-width: 0;
    margin-top: 0;
}
.gh-form .gh-button:disabled {
    color: #6b7280;
    background-color: #d1d5db;
    cursor: default;
}
.article-subscription-message {
    position: absolute;
    top: 100%;
    width: 100%;
    margin-top: 10px;
    color: #1a7f37;
    font-size: 1.4rem;
    line-height: 1.4;
    text-align: center;
}
.article-subscription-message:empty {
    display: none;
}
.article-subscription-message.is-error {
    color: #cf222e;
}
.gh-about .article-subscription-message {
    position: static;
    margin-top: 0;
}

@media (max-width: 767px) {
    .gh-cta-inner {
        padding-inline: 24px;
    }
    .gh-form,
    .gh-form:hover {
        flex-direction: column;
        gap: 12px;
        height: auto;
        border-radius: 0;
        background: none;
    }
    .gh-form-input {
        position: static;
        height: 48px;
        padding-inline: 12px;
        font-size: 1.6rem;
        background-color: var(--color-lighter-gray);
    }
    .gh-form .gh-button {
        position: relative;
        right: auto;
        width: 100%;
        min-width: 0;
    }
    .article-subscription-message {
        position: static;
        margin-top: 0;
    }
}
