@media (max-width:1024px) {
    header {
        width : 100%;
        top   : 0;
        left  : 0;
        right : 0;
        transform: none;
    }

    .reading__progress {
        width : 100%;
        top   : 70px;
        left  : 0;
        right : 0;
        transform: none;
    }

    .header__ad {
        margin-top: 100px;
    }

    .slider__area {
        grid-template-columns: 1fr;
        grid-template-rows   : auto;
    }

    .slider__big,
    .slider__area>.slider__small:nth-of-type(2),
    .slider__area>.slider__small:nth-of-type(3) {
        grid-column: auto;
        grid-row   : auto;
        min-height : 340px;
    }

    .main__area.post__page {
        width: 100%;
    }

    .search__area .search__form {
        width: 80%;
    }
}

@media (max-width:1023px) {

    .search__tip,
    .left__ad,
    .right__ad {
        display: none;
    }
}

@media (max-width:768px) {
    .get__sidebar .sidebar {
        width         : 80vw;
        max-width     : 80vw;
        min-width     : 80vw;
        left          : -80vw;
        height        : 100svh;
        max-height    : 100svh;
        height        : 100dvh;
        max-height    : 100dvh;
        border-radius : 0;
        padding       : 16px 14px;
        justify-content: flex-start;
        align-items   : stretch;
        overflow-y    : auto;
        overflow-x    : hidden;
    }

    .sidebar>.side__top {
        position: static;
        width   : 100%;
        flex    : 1 1 auto;
    }

    .sidebar>.side__bottom {
        position  : static;
        bottom    : auto;
        margin-top: 14px;
        width     : 100%;
        flex      : 0 0 auto;
    }

    .sidebar ul ul {
        width       : 100%;
        margin-left : 0;
        padding-left: 12px;
    }

    .reading__progress {
        top: 60px;
    }

    .slider__area {
        gap: 12px;
        padding: 0;
    }

    .slider__big .post__title,
    .slider__small .post__title {
        font-size: 26px;
    }

    .slider__big,
    .slider__area>.slider__small:nth-of-type(2),
    .slider__area>.slider__small:nth-of-type(3) {
        min-height: 300px;
    }

    .post__area {
        width: 100%;
    }

    .post {
        flex-direction: column;
        gap           : 10px;
        padding       : 8px;
    }

    .post>.shown__area,
    .post .info__area {
        width    : 100%;
        max-width: 100%;
    }

    .post .info__area {
        padding: 8px 6px;
    }

    .archive__title,
    .no__comment,
    .comment__text,
    .comment__count {
        width: 100%;
    }

    .main__area.post__page {
        width: 100%;
    }

    .become__author {
        font-size: 14px;
    }

    .menu__area ul#header-menu>li>a {
        padding: 0 7.5px;
    }

    .menu__area ul li a {
        font-size: 13px;
    }

    header {
        height: 60px;
    }

    .main__area {
        /*margin-top: 60px;*/
        margin-top: 10px;
    }

    .error__area {
        top   : 60px;
        height: calc(100% - 60px);
    }

}

@media (max-width:540px) {
    header {
        border-radius: 0;
    }

    .post__area {
        width: 100%;
    }

    .slider__area {
        padding: 0 8px;
    }

    .archive__title,
    .no__comment,
    .comment__text,
    .comment__count {
        width: 100%;
    }

    .post {
        margin: 7.5px 0;
    }

    .single__post {
        padding: 2px 14px 0;
    }

    .post .post__title {
        font-size: 16px;
    }

    .postinfo__top,
    .postinfo__bottom {
        margin: 0 7.5px 7.5px 7.5px;
    }

    .post__time,
    .post__author {
        font-size: 11px;
    }

    .post>.shown__area {
        height: 200px;
    }

    .slider__area .post__categories a,
    .post__area .post__categories a,
    .post__categories a {
        padding  : 2px 7.5px;
        font-size: 14px;
    }

    .slider__big .post__title,
    .slider__small .post__title {
        font-size: 24px;
    }

    .slider__big,
    .slider__area>.slider__small:nth-of-type(2),
    .slider__area>.slider__small:nth-of-type(3) {
        min-height: 250px;
    }

    .related__posts {
        flex-wrap: wrap;
    }

    .related__posts .get__post {
        width: 100%;
        height: 260px;
    }

    .related__posts .get__post:not(:last-child) {
        margin-bottom: 10px;
    }

    .header__left>.menu__area,
    .header__right {
        display: none;
    }

    .header__left {
        width          : 100%;
        justify-content: center;
    }

    .sidebar__btn {
        position: absolute;
        left    : 0;
    }

    .get__sidebar .sidebar {
        width      : 80vw;
        max-width  : 80vw;
        min-width  : 80vw;
        left       : -80vw;
        height     : 100svh;
        max-height : 100svh;
        height     : 100dvh;
        max-height : 100dvh;
        padding    : 14px 12px;
    }

    .header__mobile {
        /*display        : flex;*/
        justify-content: center;
        align-items    : center;
        width          : 100%;
        background     : linear-gradient(to right, #1f7eec 50%, #0255b4 100%);
        position       : absolute;
        top            : 60px;
        text-align     : center;
    }

    .header__mobile ul {
        list-style: none;
        padding   : 0;
    }

    .header__mobile ul li {
        margin: 10px 0;
    }

    .header__mobile a {
        color      : #fff;
        font-weight: 600;
        font-size  : 20px;
    }

    .header__area {
        flex-direction: column;
    }

    .mobile__btn {
        display : flex;
        position: absolute;
        right   : 0;
    }

    .header__area img {
        width: 200px;
    }

    .sidebar__btn,
    .mobile__btn,
    .search__btn {
        margin   : 0 5px;
        padding  : 0 10px;
        font-size: 14px;
    }

    .search__btn {
        display : flex;
        position: absolute;
        right   : 42.5px;
    }

    .single__post .google__news {
        display: none;
    }

    .single__post .post__social .social {
        width : 45px;
        height: 40.5px;
    }

    .search__area .search__form {
        height: 60px;
        width : calc(100% - 20px);
        border-radius: 12px;
    }

    .header__left>.search__btn {
        display: flex;
    }
}

@media (max-width:320px) {
    header {
        height: 50px;
    }

    .main__area {
        /*margin-top: 50px;*/
        margin-top: 10px;
    }

    .header__mobile {
        top: 50px;
    }

    .slider__big,
    .slider__small {
        height: 300px;
    }

    .slider__big .post__title,
    .slider__small .post__title {
        font-size: 20px;
    }

    .header__area img {
        width: 170px;
    }

    .single__post .post__social .social {
        width    : 35px;
        height   : 31.5px;
        font-size: 14px;
    }

    .search__area .search__form {
        height: 50px;
        width : calc(100% - 12px);
    }

    .sidebar__btn,
    .mobile__btn,
    .search__btn {
        margin   : 0 4px;
        padding  : 0 8px;
        font-size: 13px;
    }

    .search__btn {
        display : flex;
        position: absolute;
        right   : 36.5px;
    }

    .postinfo__top,
    .postinfo__bottom {
        margin: 0 5px 5px 5px;
    }

    .post__time,
    .post__author {
        font-size: 9px;
    }

    .post>.shown__area {
        height: 180px;
    }

    .single__post .post__title {
        font-size: 24px;
    }

    .breadcrumb>a,
    .breadcrumb span,
    .breadcrumb span a {
        font-size: 11px;
    }

    .error__area {
        top   : 50px;
        height: calc(100% - 50px);
    }
}
