@media (min-width: 1025px) {
    .top-nav__menu {
        align-items: center;
    }

    .top-nav__menu > li:not(.top-nav__gist-search) {
        align-items: center;
        display: flex;
        min-height: 38px;
    }

    .top-nav__menu > li:not(.top-nav__gist-search) > a {
        display: inline-flex;
        align-items: center;
        line-height: 1;
        min-height: 38px;
    }

    .top-nav__gist-search {
        align-items: center;
        display: flex;
        flex-direction: row-reverse;
        flex: 0 0 auto;
        gap: 10px;
        min-width: 38px;
        position: relative;
        transition: flex-basis 220ms ease;
    }

    .top-nav__gist-search.is-open,
    .top-nav__gist-search:focus-within {
        flex-basis: 408px;
    }

    .top-nav__gist-toggle {
        align-items: center;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
        border: 1px solid rgba(255, 255, 255, 0.26);
        border-radius: 999px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 18px rgba(0, 0, 0, 0.18);
        color: #fff;
        cursor: pointer;
        display: inline-flex;
        height: 38px;
        justify-content: center;
        line-height: 1;
        padding: 0;
        position: relative;
        transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
        width: 38px;
    }

    .top-nav__gist-toggle::after {
        background: #42b200;
        border: 2px solid #000;
        border-radius: 999px;
        content: '';
        height: 9px;
        position: absolute;
        right: 3px;
        top: 3px;
        width: 9px;
    }

    .top-nav__gist-toggle svg {
        display: block;
        height: 18px;
        width: 18px;
    }

    .top-nav__gist-toggle:hover,
    .top-nav__gist-toggle:focus-visible,
    .top-nav__gist-search.is-open .top-nav__gist-toggle {
        background: #fff;
        border-color: #42b200;
        box-shadow: 0 0 0 3px rgba(66, 178, 0, 0.2), 0 10px 24px rgba(0, 0, 0, 0.22);
        color: #111;
        outline: none;
        transform: translateY(-1px);
    }

    .top-nav__gist-panel {
        background: #fff;
        border-radius: 999px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
        flex: 0 1 auto;
        max-width: 0;
        opacity: 0;
        overflow: hidden;
        position: static;
        transform: none;
        transition: max-width 220ms ease, opacity 160ms ease, width 220ms ease;
        width: 0;
        z-index: 1000;
    }

    .top-nav__gist-search.is-open .top-nav__gist-panel,
    .top-nav__gist-search:focus-within .top-nav__gist-panel {
        max-width: 360px;
        opacity: 1;
        width: 360px;
    }

    .top-nav__gist-panel gist-search-widget {
        display: block;
        min-width: 320px;
        width: 360px;
    }
}

.flm-mobile-gist-search {
    display: none;
}

@media (max-width: 1024px) {
    .top-nav__gist-search {
        display: none !important;
    }

    .mobile-nav {
        bottom: 0;
        position: sticky;
        z-index: 1001;
    }

    .mobile-nav .flm-mobile-gist-search {
        background: #000;
        display: block;
        margin: -10px -15px 10px -25px;
        padding: 12px 16px 14px;
        width: auto;
    }

    .flm-mobile-gist-search__inner {
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 999px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
        margin: 0 auto;
        max-width: 680px;
        overflow: hidden;
        width: 100%;
    }

    .flm-mobile-gist-search gist-search-widget {
        display: block;
        min-height: 44px;
        width: 100%;
    }
}


.article-left,
.article-describe,
.article__content {
    min-width: 0;
}

.article__content {
    max-width: 100%;
    overflow-wrap: break-word;
    width: 100%;
}

.flm-gist-article-widget {
    box-sizing: border-box;
    clear: both;
    contain: layout paint;
    display: block;
    margin: 32px 0;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.flm-gist-article-widget gist-search-widget {
    box-sizing: border-box;
    display: block;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

@media (max-width: 767px) {
    .flm-gist-article-widget {
        margin: 24px 0;
    }
}


@media (min-width: 1025px) {
    .single-news .articles-main > .container,
    .single-post .articles-main > .container {
        max-width: 1280px;
    }
}
