/*
 * Parus WordPress content system.
 * One shared layer for Gutenberg output on the front end and in the editor.
 * In WordPress, enqueue this file for posts and for the block editor.
 */

@font-face {
    font-family: "El Messiri";
    src: url("../fonts/el-messiri-cyrillic.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "El Messiri";
    src: url("../fonts/el-messiri-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
    font-family: "Mulish";
    src: url("../fonts/mulish-cyrillic.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Mulish";
    src: url("../fonts/mulish-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) {
    --wp-content-ink: #354244;
    --wp-content-heading: #222b2c;
    --wp-content-muted: #68787a;
    --wp-content-teal: #008291;
    --wp-content-teal-soft: #edf7f6;
    --wp-content-orange: #ecac10;
    --wp-content-yellow-soft: #fff4cf;
    --wp-content-line: rgba(0, 130, 145, .18);
    color: var(--wp-content-ink);
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    line-height: 1.78;
    overflow-wrap: break-word;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) > :first-child {
    margin-top: 0;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) > :last-child {
    margin-bottom: 0;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) p {
    margin: 0 0 1.35em;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(h1, h2, h3, h4, h5, h6, .wp-block-heading) {
    clear: both;
    max-width: 920px;
    margin: 1.6em 0 .6em;
    color: var(--wp-content-heading);
    font-family: "El Messiri", serif;
    font-weight: 600;
    letter-spacing: -.018em;
    line-height: 1.16;
    text-wrap: balance;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) h1 {
    font-size: clamp(38px, 5vw, 54px) !important;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) h2 {
    font-size: clamp(31px, 4vw, 40px) !important;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) h3 {
    font-size: clamp(25px, 3vw, 31px) !important;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) h4 {
    font-size: 23px !important;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) h5 {
    font-size: 19px !important;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) h6 {
    color: var(--wp-content-teal);
    font-family: "Mulish", sans-serif;
    font-size: 14px !important;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(strong, b) {
    color: var(--wp-content-heading);
    font-weight: 750;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(em, i) {
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) mark {
    padding: .08em .22em;
    border-radius: .22em;
    background: var(--wp-content-yellow-soft);
    color: inherit;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) a:not(.wp-element-button) {
    color: var(--wp-content-teal);
    text-decoration-color: rgba(0, 130, 145, .42);
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    transition: color .18s ease, text-decoration-color .18s ease;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) a:not(.wp-element-button):hover {
    color: #006a76;
    text-decoration-color: currentColor;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(ul, ol) {
    margin: 1.25em 0 1.6em;
    padding-left: 1.45em;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(ul, ol) li {
    margin: 0 0 .62em;
    padding-left: .25em;
    color: var(--wp-content-ink);
    font-size: inherit;
    font-weight: 500;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) ul li::marker {
    color: var(--wp-content-orange);
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) ol li::marker {
    color: var(--wp-content-teal);
    font-weight: 800;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(ul, ol) :is(ul, ol) {
    margin-top: .55em;
    margin-bottom: 0;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(blockquote, .wp-block-quote) {
    position: relative;
    margin: 2em 0 !important;
    padding: 30px 34px 30px 102px !important;
    border: 0;
    border-radius: 20px;
    background-color: var(--wp-content-orange);
    background-image: url("../svg/icon-blockquote-4120e9e2b8.svg");
    background-repeat: no-repeat;
    background-position: 34px 30px;
    background-size: 54px;
    color: #fff;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(blockquote, .wp-block-quote) p {
    margin: 0 0 .75em;
    color: #fff;
    font-family: "El Messiri", serif;
    font-size: clamp(19px, 2vw, 23px) !important;
    font-weight: 500;
    line-height: 1.5;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(blockquote, .wp-block-quote) :is(cite, p:last-child) {
    display: block;
    margin-bottom: 0;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(blockquote, .wp-block-quote) cite {
    color: rgba(255, 255, 255, .86);
    font-family: "Mulish", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-pullquote {
    margin: 2.2em 0;
    padding: 32px clamp(20px, 5vw, 64px);
    border-top: 2px solid var(--wp-content-teal);
    border-bottom: 2px solid var(--wp-content-teal);
    color: var(--wp-content-heading);
    text-align: center;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-pullquote blockquote {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0;
    background: none !important;
    color: inherit;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-pullquote blockquote p {
    color: inherit;
    font-size: clamp(24px, 3vw, 34px) !important;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-pullquote cite {
    color: var(--wp-content-muted) !important;
    font-size: 14px;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(figure, .wp-block-image) {
    margin-top: 1.8em;
    margin-bottom: 1.8em;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(figure, .wp-block-image) img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(figcaption, .wp-element-caption, .wp-caption-text) {
    margin: 10px auto 0;
    color: var(--wp-content-muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .aligncenter {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(.alignleft, .alignright) {
    max-width: min(46%, 460px);
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .alignleft {
    float: left;
    margin: .35em 2em 1.25em 0;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .alignright {
    float: right;
    margin: .35em 0 1.25em 2em;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(.alignwide, .alignfull) {
    position: relative;
    left: 50%;
    width: min(1240px, calc(100vw - 40px));
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    transform: translateX(-50%);
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 2em 0;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-gallery figure {
    margin: 0;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-gallery img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-columns {
    gap: clamp(24px, 4vw, 48px);
    margin: 2em 0;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(.wp-block-group.has-background, .wp-block-media-text.has-background) {
    margin-top: 2em;
    margin-bottom: 2em;
    padding: clamp(22px, 4vw, 42px);
    border-radius: 18px;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-media-text {
    gap: clamp(24px, 4vw, 48px);
    margin-top: 2em;
    margin-bottom: 2em;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-media-text__media img {
    width: 100%;
    height: auto;
    border-radius: 18px;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-cover {
    overflow: hidden;
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 20px;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-cover__inner-container {
    width: min(820px, 100%);
    margin: 0 auto;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(table, .wp-block-table table) {
    width: 100%;
    margin: 2em 0;
    border: 1px solid var(--wp-content-line);
    border-collapse: collapse;
    background: #fff;
    font-size: 15px;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(th, td) {
    padding: 14px 16px;
    border: 1px solid var(--wp-content-line);
    text-align: left;
    vertical-align: top;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) th {
    background: var(--wp-content-teal-soft);
    color: var(--wp-content-heading);
    font-weight: 800;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-table {
    overflow-x: auto;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(hr, .wp-block-separator) {
    width: 100%;
    height: 1px;
    margin: 2.5em 0;
    border: 0;
    background: var(--wp-content-line);
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-separator.is-style-wide {
    height: 2px;
    background: var(--wp-content-teal);
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-separator.is-style-dots {
    height: auto;
    background: none;
    color: var(--wp-content-orange);
    letter-spacing: .7em;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(pre, .wp-block-code) {
    overflow-x: auto;
    margin: 2em 0;
    padding: 22px 24px;
    border: 1px solid var(--wp-content-line);
    border-radius: 14px;
    background: #f4f8f8;
    color: #263638;
    font: 14px/1.65 Consolas, "Courier New", monospace;
    white-space: pre;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :not(pre) > code {
    padding: .15em .38em;
    border-radius: 5px;
    background: var(--wp-content-teal-soft);
    color: #315b5f;
    font-size: .9em;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(.wp-block-buttons, .wp-block-button) {
    margin-top: 1.6em;
    margin-bottom: 1.6em;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border: 0;
    border-radius: 10px;
    background: var(--wp-content-teal);
    color: #fff;
    font-family: "Mulish", sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .is-style-outline > .wp-block-button__link {
    border: 2px solid var(--wp-content-teal);
    background: transparent;
    color: var(--wp-content-teal);
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) details {
    margin: 1.4em 0;
    padding: 18px 20px;
    border: 1px solid var(--wp-content-line);
    border-radius: 12px;
    background: #fff;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) summary {
    color: var(--wp-content-heading);
    font-weight: 800;
    cursor: pointer;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) details[open] summary {
    margin-bottom: 14px;
    color: var(--wp-content-teal);
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(.wp-block-embed, .wp-block-video, .wp-block-audio) {
    margin: 2em 0;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-embed__wrapper {
    overflow: hidden;
    border-radius: 18px;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(.has-text-align-center) {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .has-text-align-right {
    margin-left: auto;
    text-align: right;
}

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .has-small-font-size { font-size: 14px !important; }
:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .has-medium-font-size { font-size: 20px !important; }
:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .has-large-font-size { font-size: clamp(25px, 3vw, 32px) !important; line-height: 1.45; }
:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .has-x-large-font-size { font-size: clamp(31px, 4vw, 42px) !important; line-height: 1.3; }

:where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :focus-visible {
    outline: 3px solid rgba(236, 172, 16, .65);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    :where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) {
        font-size: 16px;
        line-height: 1.72;
    }

    :where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(blockquote, .wp-block-quote) {
        padding: 72px 20px 22px !important;
        background-position: 20px 20px;
        background-size: 44px;
    }

    :where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(.alignleft, .alignright) {
        float: none;
        max-width: 100%;
        margin: 1.6em 0;
    }

    :where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(.alignwide, .alignfull) {
        width: calc(100vw - 28px);
    }

    :where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-gallery {
        grid-template-columns: 1fr;
    }

    :where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-media-text {
        grid-template-columns: 1fr !important;
        grid-template-areas: "media-text-media" "media-text-content";
    }

    :where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-media-text.has-media-on-the-right {
        grid-template-areas: "media-text-content" "media-text-media";
    }

    :where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) .wp-block-media-text__content {
        padding: 0;
    }

    :where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) :is(th, td) {
        padding: 11px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    :where(.wp-content-flow, .wp-block-post-content, .editor-styles-wrapper) a {
        transition: none;
    }
}
