#post-editor {
    display: none;
}

.post {
    width: 100%;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 5;
    letter-spacing: 0.01rem;
    font-style: normal;
    font-size: 140%;
    line-height: 1.5;
    color: #464848;
    font-family: var(--serif-font);
    font-weight: 300;
    font-size-adjust: 0.4863;
}

    .post p,
    .post h1,
    .post h2,
    .post h3,
    .post dl,
    .block-text {
        width: 100%;
        max-width: 900px;
        min-width: 200px;
        font-weight: 400;
        font-style: normal;
        box-sizing: content-box;
        padding: 0;
    }

    .post > p,
    .post > h1,
    .post > h2,
    .post > h3 {
        width: 90%;
        margin: 27px auto 0 35px;
    }

    .post h1 strong,
    .post h2 strong,
    .post h3 strong,
    .post .header-1 strong,
    .post .header-2 strong,
    .post .header-3 strong {
        font-size: 200%;
    }

    .post h1 small,
    .post h2 small,
    .post h3 small,
    .post .header-1 small,
    .post .header-2 small,
    .post .header-3 small,
    .post .header-4 small {
        opacity: 0.5;
    }

    .post h1 a,
    .post h2 a,
    .post h3 a,
    .post .header-1 a,
    .post .header-2 a,
    .post .header-3 a {
        opacity: 0.9;
    }

    .post hr {
        display: block;
        height: 1px;
        border: 0;
        border-top: dashed 2px #BDC3C7;
        margin: 1em 0 2em;
        padding: 0;
    }


    .post h1 + h1,
    .post h1 + h2,
    .post .header-1 + .header-1,
    .post .header-1 + .header-2 {
        padding-top: 10px;
    }

    .post h2 + h2,
    .post h2 + h3,
    .post .header-2 + .header-2,
    .post .header-2 + .header-3 {
        padding-top: 10px;
    }

    .post h1 a,
    .post h2 a,
    .post h3 a,
    .post .header-1 a,
    .post .header-2 a,
    .post .header-3 a {
        text-decoration: none !important;
    }

    .post ul, .post ol {
        padding-left: 35px;
        width: 95%;
        max-width: 800px;
        min-width: min(300px, 95%);
        padding-bottom: 1.2em;
        font-weight: 400;
        font-style: normal;
        letter-spacing: -0.003em;
        box-sizing: border-box;
    }

        .post li {
            margin-bottom: 15px;
        }

    .post figure a {
        border-bottom: none;
        text-decoration: none;
    }

    .post dl {
        padding-left: 0;
    }

        .post dd {
            margin-top: 10px;
            margin-left: 20px;
        }

        .post dt {
            margin-bottom: 20px;
            line-height: 1.3em;
            font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
            font-weight: bold;
            margin-top: 40px;
            padding: 0;
        }

    .post .code p {
        margin-bottom: 0;
        font-family: monospace;
    }

    .post code {
        font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
    }

    .post pre code {
        font-size: 75%;
        font-family: monospace;
        border-radius: 20px;
        white-space: pre;
        padding: 20px 30px;
    }

    .post figure {
        display: inline-block;
        vertical-align: top;
        font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
        font-size: 95%;
        color: #999;
        font-weight: 300;
    }

    .post figure * {
        width: 100%;
    }

    .post figure img {
        border-radius: 30px;
    }

    .post img {
        /* иначе легаси едет */
        max-width: 100%;
    }

    .post big {
        font-size: 120%;
    }

    .post .initial {
        display: inline-block;
        float: left;
        font-weight: normal;
        font-size: 420%;
        padding-right: 10px;
        line-height: 1.0em;
    }

    .post strong > em,
    .post .starting {
        font-size: 110%;
        font-style: normal;
        height: 35px;
        font-weight: 400;
        vertical-align: bottom;
        background-color: #4E4E4E;
        color: #EEE;
        padding: 4px 7px 5px;
        line-height: 1.6em;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
    }

        .post strong > em a,
        .post .starting a {
            color: #EEE;
        }

    .post table {
        table-layout: fixed;
        border-spacing: 10px;
        border-collapse: collapse;
    }

        .post table thead {
            text-align: left;
            font-size: 120%;
        }

            .post table thead th {
                padding-bottom: 30px;
            }

        .post table td {
            width: 1%;
            padding: 0 50px 30px 0;
            vertical-align: top;
            box-sizing: border-box;
        }

/* Text blocks */

.block-text {
    width: 100%;
    margin: 40px auto 40px;
    position: relative;
    display: block;
    padding: 40px 60px;
    clear: both;
    box-sizing: border-box;
    border-radius: 30px;
    background-color: var(--block-bg-color);
    color: var(--text-color);
}

    @media (max-width: 1024px) {
        .block-text {
            padding: 30px;
        }
    }

    @media (max-width: 570px) {
        .block-text {
            padding: 20px;
        }
    }

    .block-text p {
        padding-bottom: 1.2em;
    }

    .block-background__black .block-text {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .block-text__black {
        color: var(--opposite-text-color);
        background-color: var(--opposite-block-bg-color);
    }

    .block-text__right {
        float: right;
        width: 50% !important;
        margin-right: 12% !important;
    }

    .block-text:last-child .inline-comments {
        display: none;
    }

.block-background {
    width: 100%;
    clear: both;
    position: relative;
    margin: 50px auto;
    padding-bottom: 30px;
    display: block;
    overflow: hidden;
    min-height: 200px;
    background: transparent repeat-y fixed center center;
    background-size: cover;
}

    .block-background > p,
    .block-background > h1,
    .block-background > h2,
    .block-background > h3 {
        margin: 27px auto 35px;
        width: 95%;
    }

    .block-background > .block-background__background {
        margin: 0;
        position: relative;
        background-attachment: fixed;
        background-size: cover;
        padding-top: 100px;
        padding-bottom: 100px;
    }

.block-paid {
    background-color: #fff3d4 !important;
    color: #413d3b !important;
    font-size: 105%;
    font-family: Ubuntu, Helvetica, Arial, sans-serif;
    padding: 30px 40px;
}

    .block-paid .inline-comments {
        display: none;
    }

    .block-paid a {
        color: #201e1d;
    }

    .block-paid p {
        padding-bottom: 1em;
        margin: 0;
        line-height: 1.6em;
    }

.block-extra {
    background-color: #FFE9EC;
}

    .block-extra:before {
        position: absolute;
        top: 25px;
        right: 40px;
        font-size: 70%;
        opacity: 0.6;
        text-align: right;
        content: "Инфа для своих";
        font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
    }

    .block-extra-placeholder {
        text-align: center;
    }

        .block-extra-placeholder:before {
            content: "";
        }

        .block-extra-placeholder-text {
            display: inline-block;
            margin: 40px 20px;
        }

.block-link {
    margin-top: 10px;
    padding: 3px 8px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
    background-color: var(--link-color);
    color: var(--opposite-text-color);
}

    .block-link:hover {
        background-color: var(--opposite-block-bg-color);
        color: var(--opposite-text-color);
    }

.block-button {
    font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
    display: inline-block;
    vertical-align: top;
    padding: 20px 25px;
    background-color: #767676;
    border: solid 2px #767676;
    color: var(--opposite-text-color);
    margin: 10px;
    text-decoration: none;
    border-radius: 20px;
    line-height: 1.2em;
}

    .block-button:hover {
        background-color: transparent;
        color: #333;
    }

/* Multiple photo */

.block-media {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    position: relative;
    box-sizing: border-box;
    margin: 50px auto;
    max-width: 1000px;
    text-align: center;
}

    .block-media a {
        cursor: zoom-in;
    }

    .block-media figure {
        box-sizing: border-box;
        width: 100%;
    }

    .block-media figcaption {
        font-weight: 500;
        color: #666;
        padding: 10px;
        box-sizing: border-box;
    }

    .block-media__right {
        width: 480px;
        float: right;
        margin-top: 0;
        padding: 0 0 20px 20px;
    }

    .block-media__left {
        width: 480px;
        float: left;
        margin-top: 0;
        padding: 0 20px 20px 0;
    }

    .block-media__full {
        width: 100%;
        max-width: none;
    }

        .block-media__full figure img {
            border-radius: 0;
        }

        .block-media__full figcaption {
            position: absolute;
            bottom: 40px;
            right: 0;
            width: 40%;
            padding: 5px 10px;
            box-sizing: border-box;
            background-color: rgba(0, 0, 0, 0.5);
            color: #FFF;
            font-weight: 400;
        }

/* Text */

.post cite,
.block-cite {
    font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
    display: block;
    text-align: left;
    max-width: 800px;
    margin: 20px 0 40px;
    color: #999;
    box-sizing: border-box;
    border-left: solid 2px #999;
    padding: 0 15px;
}

.post blockquote,
.block-quote {
    display: block;
    text-align: center;
    font-size: 130%;
    width: 90%;
    margin: 10px auto;
    font-style: italic;
    padding: 10px;
    box-sizing: border-box;
}

.block-side {
    position: relative;
    font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
    font-size: 90%;
    font-weight: 200;
    line-height: 1.3em;
    margin-top: 0;
    padding: 10px;
    width: 45%;
}

    .block-side__right {
        float: right;
        margin-left: 40px;
        margin-top: 0 !important;
        text-align: right;
        padding-right: 0;
    }

    .block-side__left {
        float: left;
        margin-right: 40px;
        padding-left: 0;
    }

    .block-side figure {
        width: 100%;
        margin-bottom: 10px;
    }

    .block-side figcaption {
        padding-top: 20px;
    }

.block-number {
    display: inline-block;
    max-width: 200px;
    font-size: 150%;
    font-family: Ubuntu, Helvetica, Arial, sans-serif;
    margin-right: 20px;
    margin-bottom: 20px;
}

    .block-number strong {
        font-weight: 400;
        display: inline-block;
        width: 100%;
        clear: both;
    }

    .block-number small {
        font-size: 60%;
        font-weight: 400;
        display: inline-block;
        width: 100%;
        clear: both;
        position: relative;
        top: -10px;
    }

.block-iframe {
    position: relative;
    width: 100%;
    padding-bottom: 54%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

    .block-iframe iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.block-media__noclick {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.block-cite > p,
.block-side > p,
.block-media > p {
    padding: 0;
    margin: 0;
}

.block-20 {
    width: 20%;
}

.block-30 {
    width: 30%;
}

.block-spoiler {
    cursor: pointer;
}

    .block-spoiler > .block-spoiler-button {
        display: inline;
        font-weight: bold;
        padding: 3px 15px 2px;
        border-radius: 10px;
        background-color: #4E4E4E;
        color: #FFF;
    }

    .block-spoiler > .block-spoiler-button-hidden {
        display: none;
    }

    .block-spoiler > .block-spoiler-text {
        display: none;
        font-weight: normal;
        padding-left: 10px;
        opacity: 0.5;
    }

    .block-spoiler > .block-spoiler-text-visible {
        display: inline;
    }

/* Footer and subscription */

.post-footer {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
    font-size: 16px;
    overflow: hidden;
}

    .post-footer__inside {
        width: 100%;
        max-width: 1000px;
        margin: 100px auto 0;
        position: relative;
        display: block;
        padding: 0;
        clear: both;
        min-height: 330px;
    }

.post-footer-buttons {
    width: 100%;
    margin-bottom: 70px;
    text-align: center;
}

.post-footer__button {
    display: inline-block;
    vertical-align: top;
    padding: 5px 10px;
    border: solid 2px;
    border-radius: 10px;
    margin-left: 20px;
    margin-top: 20px;
    opacity: 0.8;
    text-decoration: none;
    line-height: 1.5em;
}

    .post-footer__button:hover {
        opacity: 1.0;
    }

    .post-footer__button i {
        margin-right: 4px;
    }

.post-translations {
    padding: 10px 25px;
    opacity: 0.8;
    margin: 0 auto;
    max-width: 900px;
    width: fit-content;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

    .post-translations-title {
        font-weight: 500;
    }

    .post-translation {
        padding: 10px 25px;
    }

.post-members-badge {
    display: inline-block;
    margin: 40px auto;
    padding: 10px 20px;
    box-sizing: border-box;
    text-align: center;
    font-size: 120%;
    border: solid 2px #ee5162;
    background-color: #ee5162;
    color: #FFF;
    border-radius: 20px;
}

.post-members-share {
    display: block;
    margin: 40px auto;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
    font-size: 110%;
    border: solid 2px #ee5162;
    background-color: #ee5162;
    color: #FFF;
    border-radius: 20px;
}

    .post-members-share-heart {
        font-size: 80px;
    }

    .post-members-share h3 {
        font-weight: normal;
        font-size: 160%;
    }

    .post-members-share ul {
        list-style: none;
        margin-top: 40px;
    }

    .post-members-share li {
        margin-top: 20px;
        margin-bottom: 30px;
        font-size: 120%;
    }

.post-subscribe {
    display: block;
    width: 100%;
    padding: 40px;
    font-size: 120%;
    box-sizing: border-box;
    text-align: center;
    margin-top: 100px;
    background-color: var(--block-bg-color);
    color: var(--text-color);
}

    .post-subscribe-header {
        font-size: 180%;
        font-weight: 500;
        padding-bottom: 10px;
    }

    .post-subscribe-sub-header {
        font-size: 130%;
        padding-bottom: 10px;
    }

    .post-subscribe-description {
        margin: 0 auto;
        max-width: 800px;
        padding: 20px 0;
        box-sizing: border-box;
    }

    .post-subscribe-form {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        margin: 20px auto 60px;
        max-width: 550px;
        min-width: 280px;
        padding: 20px;
        box-sizing: border-box;
        color: #FFF;
        background-color: #333;
        text-align: left;
    }

        .post-subscribe-form-label {
        }

        .post-subscribe-form-fields {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            width: 100%;
            justify-content: space-between;
            gap: 10px;
            font-size: 120%;
            padding-top: 10px;
        }

            @media only screen and (max-width : 512px) {
                .post-subscribe-form-fields {
                    flex-direction: column;
                }
            }

        .post-subscribe-form input[name=email] {
            padding: 7px 0 4px;
            border: solid 2px #FFF;
            border-radius: 5px;
            box-sizing: border-box;
            text-align: center;
            height: 50px;
            width: 100%;
        }

        .post-subscribe-form button {
            padding: 7px 10px 4px;
            line-height: 1em;
            border-radius: 5px;
            box-sizing: border-box;
            height: 50px;
            width: 190px;
        }

        .post-subscribe-form-hint {
            font-size: 80%;
            opacity: 0.4;
            padding-top: 10px;
        }

    .post-subscribe-items {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

        .post-subscribe-items a {
            display: inline-block;
            margin: 20px 10px 0;
        }

.post-related {
}

    .post-related-title {
        display: block;
        position: relative;
        font-size: 18px;
        text-align: center;
        margin-bottom: 30px;
    }

        .post-related-title span {
            position: relative;
            display: inline-block;
            background-color: var(--card-title-color);
            color: var(--card-title-bg-color);
            padding: 5px 20px;
            z-index: 10;
        }

        .post-related-title::after {
            content: "";
            position: absolute;
            top: 50%;
            display: block;
            border-bottom: solid 1.5px #333;
            width: 100%;
            z-index: 1;
        }

.width-25 {
    width: 25%;
}

.width-50 {
    width: 50%;
}

.width-75 {
    width: 75%;
}
