.solovki-banner {
    display: none;
    margin: 0;
    max-width: none;
    background: #ffea97;
    color: #121212;
    text-align: center;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 17.5px;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
}

.solovki-banner::after {
    content: '\2192';
    display: inline-block;
    margin-left: 12px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1em;
    font-weight: normal;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
    position: relative;
    top: -3px;
}

@media screen and (max-width: 975px) {
    .wrapper {
        width: 100%;
        max-width: 975px;
        margin: 0 auto;
    }

    .header {
        height: auto;
        overflow: visible;
        padding-right: 0;
    }

    .logo {
        float: none;
        text-align: center;
        padding: 25px 15px 10px;
        margin: 0 auto;
        width: auto;
    }

    .logo img {
        max-width: 200px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .site-description {
        float: none;
        width: auto;
        height: auto;
        padding: 10px 20px 25px;
        text-align: center;
    }

    .search {
        float: none;
        margin: 10px auto;
        width: 230px;
        max-width: 230px;
        padding: 0;
    }

    .search fieldset {
        width: 100%;
        height: 40px;
        display: flex;
        flex-direction: row;
        align-items: center;
        border-radius: 4px;
        background: #eeeeee;
        border: 1px solid #121212;
        box-sizing: border-box;
    }

    .search input {
        flex: 1;
        width: auto;
        font-family: Helvetica, Arial, sans-serif;
        font-size: 14px;
        padding-top: 9px;
        padding-bottom: 7px;
        color: #121212;
    }

    .search button {
        flex: 0 0 auto;
        align-self: center;
        width: 40px;
        height: 40px;
        border-radius: 0 4px 4px 0;
        filter: invert(0.93);
    }

    .header > div[style*="230px"] {
        float: none !important;
        width: auto !important;
        margin: 15px auto !important;
        text-align: center;
        padding: 10px 0;
    }

    .header > div[style*="230px"] > div {
        float: none !important;
    }

    .header > div[style*="230px"] a {
        display: inline-block;
    }

    .nav {
        overflow: visible;
    }

    .dd {
        height: auto;
    }

    .dd li {
        float: none;
        border-left: none;
        border-bottom: 1px solid #d9d9d9;
    }

    .dd li a {
        padding: 12px 20px;
        margin: 0;
    }

    .slideshow,
    #slideshow {
        width: 100% !important;
        overflow: hidden;
        position: relative;
        background: #ffea97;
    }

    .slide {
        width: 100% !important;
        background: #ffea97;
        padding-top: 25px;
    }

    .slide img {
        display: block;
        width: 100% !important;
        height: auto !important;
        float: none !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
    }

    .slide .post {
        padding: 0 15px 15px;
    }

    .slide .post-category {
        font-size: 11px;
        color: #d9d9d9;
        text-transform: uppercase;
        margin-bottom: 5px;
        padding-top: 10px;
    }

    .slide .post h2 {
        margin-bottom: 5px;
        font-size: 20px;
        font-weight: normal;
    }

    .slide .post .post-meta {
        font-size: 11px;
        font-style: italic;
        color: #656363;
        margin: 12px 0;
    }

    .slide .post-content {
        margin-bottom: 0;
    }

    .slide .post-content p {
        margin-bottom: 10px;
    }

    .slide .post-content p:last-child {
        margin-bottom: 0;
    }

    #slideshow.is-measuring .slide {
        display: block !important;
        visibility: hidden !important;
        position: absolute !important;
        width: 100% !important;
        height: auto !important;
        left: 0 !important;
        top: 0 !important;
    }

    #larr, #rarr {
        display: block !important;
        opacity: 0.3 !important;
    }

    .wrapper .slideshow {
        margin-top: 0 !important;
    }

    #mode {
        display: none !important;
    }

    #container {
        padding: 15px 0;
    }

    #content {
        width: 100%;
        float: none;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .sidebar {
        width: 100%;
        float: none;
        margin-top: 30px;
        padding: 15px 20px !important;
        box-sizing: border-box;
    }

    #pagination {
        padding: 20px 0 0 0;
    }

    #text-5 h3 {
        text-align: center;
    }

    #text-5 .widget-body {
        text-align: center;
    }

    #text-5 #vk_groups {
        margin: 0 auto;
    }

    #mega-menu-wrap-Navigation button.mega-toggle-standard {
        font-family: Helvetica, Arial, sans-serif !important;
        font-weight: bold;
    }

    #mega-menu-wrap-Navigation button.mega-toggle-standard .mega-svg-icon {
        margin-left: 4px;
    }

    .content-title {
        padding: 0 0 15px 0;
    }

    .content-title.has-share {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        row-gap: 8px;
    }

    .content-title.has-share .cats {
        flex: 0 1 auto;
        min-width: 0;
    }

    .content-title.has-share .share-icons {
        display: flex;
        gap: 8px;
        flex: 0 0 auto;
    }

    .content-title.has-share .share-icons a {
        position: static;
        display: block;
    }

    .xoxo.blogroll li {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .widget_links#linkcat-2, .widget_text#custom_html-3, .widget_block#block-17 {
        display: none;
    }

    .textwidget.custom-html-widget {
        font-family: Georgia, Geneva, "Times New Roman", times;
        font-size: 14px;
        line-height: normal;
    }

    .textwidget.custom-html-widget a {
        display: block;
        margin-bottom: 10px;
    }

    .post-content,
    .post-content li {
        font-size: 14px;
        line-height: 1.6;
    }

    .post-content h1 {
        font-size: 26px;
        line-height: 1.25;
    }

    .post-content h2 {
        font-size: 23px;
    }

    .post-content h3 {
        font-size: 20px;
    }

    .post-content h4 {
        font-size: 18px;
    }

    .post-content h5 {
        font-size: 16px;
    }

    .entry .post-content,
    .entry .post-meta,
    .entry .post-footer {
        padding-left: 0;
    }

    .entry .post-meta h1 {
        margin-bottom: 18px;
    }

    .list .post {
        padding: 30px 0 0 30px;
    }

    .list .post .thumb img {
        float: left;
        margin: 0 30px 30px 0;
        width: 290px;
        height: 290px;
    }

    .grid {
        padding: 12px 0 0 12px;
        display: flex;
        flex-wrap: wrap;
    }

    .grid .post {
        float: none;
        width: 154px;
        height: 154px;
        margin: 19px 0 0 19px;
        padding: 18px;
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
    }

    .grid .post .thumb {
        position: absolute;
        top: 0;
        left: 0;
        width: 190px;
        height: 190px;
    }

    .grid .post .thumb img {
        width: 190px;
        height: 190px;
    }

    .post-navigation {
        width: 100%;
        padding: 15px 0;
    }

    .post-prev,
    .post-next {
        float: none;
        width: 100%;
        padding: 10px 0;
        text-align: center;
    }

    .post-next {
        padding-right: 0;
    }

    .line {
        display: none;
    }

    .post-content .search fieldset {
        width: 100%;
        height: auto;
    }

    .post-content .search input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .post-content .gallery .gallery-item {
        padding: 0 5px;
        box-sizing: border-box;
    }

    .post-content .gallery .gallery-item img {
        max-width: 100% !important;
        height: auto !important;
        width: 100%;
    }

    .post-content [style*="justify"] {
        text-align: left !important;
    }

    .post-content table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .post-content iframe,
    .post-content embed,
    .post-content object,
    .post-content video {
        max-width: 100%;
    }

    .post-content pre {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .footer {
        height: auto;
        padding: 15px 20px;
        text-align: center;
    }

    .copyright,
    .credits {
        float: none;
        text-align: center;
        padding: 5px 0;
    }

    body {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        background: #fff;
    }

    body.customize-support .wrapper {
        margin-top: 0;
    }
}

#larr, #rarr {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

.sponsors img {
    max-width: 100%;
    height: auto;
    width: auto;
}

@media screen and (max-width: 600px) {
    .list .post {
        padding: 20px 0;
    }

    .list .post h2 {
        margin-bottom: 17px;
    }

    .list .post .thumb {
        float: none;
        margin: 0 0 15px 0;
    }

    .list .post .thumb img {
        float: none;
        width: 100%;
        height: auto;
        margin: 0 0 15px 0;
    }

    .grid .post {
        width: 100%;
        height: auto;
        margin-left: 0;
    }

    .logo img {
        max-width: 150px;
    }

    .list .post .post-category {
        margin-top: 8px;
    }

    .comment table {
        display: block;
        width: 100%;
    }

    .comment tbody,
    .comment tr,
    .comment td {
        display: block;
    }

    .comment tr {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .comment td:nth-child(1) {
        flex: 0 0 auto;
        margin-right: 12px;
    }

    .comment td:nth-child(2) {
        flex: 1 1 auto;
        min-width: 0;
    }

    .comment td:nth-child(3) {
        flex: 1 1 100%;
        padding-top: 10px;
    }

    .comment-meta {
        margin-right: 0;
        min-height: 0;
    }

    .comment-text p {
        font-size: 14px;
        line-height: 1.6;
    }

    .comment-author,
    .comment-date {
        font-size: 13px;
    }

    #commentform,
    .comments h3,
    .comment {
        padding-left: 0;
    }

    #commentform table,
    #commentform tbody,
    #commentform tr,
    #commentform td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    #commentform td {
        padding-bottom: 12px;
    }

    #commentform td p {
        font-size: 13px;
    }

    #commentform input#author,
    #commentform input#email,
    #commentform input#url {
        display: block;
        width: 100%;
        box-sizing: border-box;
        height: 42px;
        padding: 8px 12px;
        font-size: 15px;
        border: 1px solid #d9d9d9;
        border-radius: 3px;
        background: #fff;
    }

    .commform-author div,
    .commform-email div,
    .commform-url div,
    .commform-textarea {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .commform-url p {
        margin-left: 0 !important;
    }

    #comment {
        display: block;
        width: 100%;
        box-sizing: border-box;
        height: 150px;
        padding: 8px 12px;
        font-size: 15px;
        border: 1px solid #d9d9d9;
        border-radius: 3px;
    }

    #submit {
        float: none;
        padding: 13px 30px;
        font-size: 15px;
    }

    p#cancel-comment-reply {
        float: none;
        margin-top: 10px;
        line-height: normal;
    }

    .copyright,
    .credits {
        display: block;
        width: 100%;
        text-align: left;
        padding: 12px 0;
        text-align: center;
    }

    a.post-prev span,
    a.post-next span {
        padding: 0 24px;
        display: inline-block;
    }
}

@media screen and (max-width: 900px) {
    .solovki-banner {
        display: block;
        margin: 0;
        padding: 0;
    }
}