@charset "utf-8";

.post {
    width: 100%;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 5;
    letter-spacing: 0.01rem;
    font-style: normal;
    font-size: 19px;
    line-height: 1.67;
    color: var(--text-color);
    font-family: var(--serif-font);
    font-weight: 300;
}

.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,
.post h2,
.post h3 {
    font-family: var(--sans-font);
    letter-spacing: -0.02em;
    font-weight: 500;
    line-height: 1.3em;
    margin: 0 auto;
}

.post h1 {
    font-size: 230%;
    padding-top: 60px;
    padding-bottom: 20px;
    text-align: center;
}

.post h2 {
    font-size: 180%;
    padding-top: 30px;
    padding-bottom: 50px;
    text-align: center;
}

.post h3 {
    font-size: 140%;
    padding-top: 40px;
    padding-bottom: 10px;
}

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

.post h1 small,
.post h2 small,
.post h3 small {
    opacity: 0.5;
}

.post h1 a,
.post h2 a,
.post h3 a {
    color: var(--text-color);
}

.post hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: dashed 2px var(--border-color);
    margin: 1em 0 2em;
    padding: 0;
}


.post h1+h2 {
    padding-top: 10px;
}

.post h2+h3 {
    padding-top: 10px;
}

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

.post ul,
.post ol {
    padding-left: 35px;
    width: 95%;
    max-width: 800px;
    min-width: 300px;
    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: var(--sans-font);
    font-weight: bold;
    margin-top: 40px;
    padding: 0;
}

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

.post code {
    font-family: var(--mono-font);
}

.post pre code {
    font-family: var(--mono-font);
    border-radius: 20px;
    white-space: pre;
    padding: 20px 30px;
    background-color: var(--code-bg-color);
    color: var(--code-color);
}

.post figure {
    display: inline-block;
    vertical-align: top;
    font-family: var(--sans-font);
    font-size: 95%;
    color: var(--muted-text-color);
    font-weight: 300;
}

.post figure * {
    width: 100%;
}

.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%;
    background-color: var(--block-bg-color);
    margin: 40px auto 40px;
    position: relative;
    display: block;
    padding: 40px 60px;
    clear: both;
    box-sizing: border-box;
}

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

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

.block-text__lead {
    padding: 70px 10% 70px;
    box-sizing: border-box;
    margin-top: 0 !important;
    font-size: 105%;
    line-height: 1.5em;
    font-family: var(--sans-font);
    max-width: none;
    width: 100%;
}

.block-text__lead p {
    max-width: none;
}

.block-text__black {
    color: var(--opposite-text-color);
    background-color: rgba(0, 0, 0, 0.5);
}

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

.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: var(--sans-font);
    padding: 30px 40px;
}

.block-paid .inline-comments,
.block-paid .inline-comments-wrapper,
.block-paid .inline-comments-placeholder {
    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: var(--sans-font);
    background-color: var(--link-color);
    color: var(--opposite-text-color);
}

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

.block-button {
    font-family: var(--sans-font);
    display: inline-block;
    vertical-align: top;
    padding: 20px 25px;
    background-color: var(--button-bg-color);
    border: var(--button-border);
    color: var(--button-color);
    margin: 10px;
    text-decoration: none;
    border-radius: var(--button-border-radius);
    line-height: 1.2em;
}

.block-button:hover {
    background-color: var(--button-hover-bg-color);
    color: var(--button-hover-color);
    border: var(--button-hover-border);
}

/* 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;
}

.block-media figcaption {
    font-weight: 500;
    color: var(--muted-text-color);
    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 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: var(--sans-font);
    display: block;
    text-align: left;
    max-width: 800px;
    margin: 20px 0 40px;
    color: var(--muted-text-color);
    box-sizing: border-box;
    border-left: solid 2px var(--border-color);
    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: var(--sans-font);
    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-text {
    display: none;
    font-weight: normal;
    padding-left: 10px;
    opacity: 0.5;
}

/* 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-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: #FFF;
}

.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 {
    width: 100%;
    margin: 50px auto 40px;
}

.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: #f5f6f8;
    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%;
}

.ratio-3-2 {
    display: block;
    width: 100%;
    padding-bottom: 66.66%;
}

.ratio-2-3 {
    display: block;
    width: 100%;
    padding-bottom: 150%;
}

.ratio-4-3 {
    display: block;
    width: 100%;
    padding-bottom: 75%;
}

.ratio-3-4 {
    display: block;
    width: 100%;
    padding-bottom: 133.33%;
}

.ratio-16-9 {
    display: block;
    width: 100%;
    padding-bottom: 56.25%;
}

.ratio-9-16 {
    display: block;
    width: 100%;
    padding-bottom: 177.78%;
}

.ratio-1-1 {
    display: block;
    width: 100%;
    padding-bottom: 100%;
}
