/*
|------------------------------------------------------------------------------
| TABLE OF CONTENTS
|------------------------------------------------------------------------------
| Entry
| Gradients
| Gutenberg Block - Archives
| Gutenberg Block - Audio
| Gutenberg Block - Button
| Gutenberg Block - Categories
| Gutenberg Block - Classic
| Gutenberg Block - Code
| Gutenberg Block - Columns
| Gutenberg Block - Cover
| Gutenberg Block - Embed
| Gutenberg Block - File
| Gutenberg Block - Gallery
| Gutenberg Block - Group
| Gutenberg Block - Image
| Gutenberg Block - Latest Comments
| Gutenberg Block - Latest Posts
| Gutenberg Block - Media & Text
| Gutenberg Block - Paragraph
| Gutenberg Block - Preformatted
| Gutenberg Block - Pullquote
| Gutenberg Block - Quote
| Gutenberg Block - RSS
| Gutenberg Block - Separator
| Gutenberg Block - Shortcode
| Gutenberg Block - Spacer
| Gutenberg Block - Table
| Gutenberg Block - Tag Cloud
| Gutenberg Block - Verse
| Gutenberg Block - Video
| Utilities
|------------------------------------------------------------------------------
*/

/*
|------------------------------------------------------------------------------
| Entry
|------------------------------------------------------------------------------
*/

.entry {
    position: relative;
}

.entry-excerpt > *, .entry-content > * {
    margin: calc(var(--f7-block-margin-vertical) / 2) 0;
}

.entry-excerpt > :first-child, .entry-content > :first-child {
    margin-top: 0;
}

.entry-excerpt > :last-child, .entry-content > :last-child {
    margin-bottom: 0;
}

/*
|------------------------------------------------------------------------------
| Gradients
|------------------------------------------------------------------------------
*/

:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background {
    background: linear-gradient(135deg, #0693E3 0%, #9B51E0 100%);
}

:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
    background: linear-gradient(135deg, #00D084 0%, #0693E3 100%);
}

:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background {
    background: linear-gradient(135deg, #7ADCB4 0%, #00D082 100%);
}

:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background {
    background: linear-gradient(135deg, #FCB900 0%, #FF6900 100%);
}

:root .has-luminous-vivid-orange-to-vivid-red-gradient-background {
    background: linear-gradient(135deg, #FF6900 0%, #CF2E2E 100%);
}

:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background {
    background: linear-gradient(135deg, #EEEEEE 0%, #A9B8C3 100%);
}

:root .has-cool-to-warm-spectrum-gradient-background {
    background: linear-gradient(135deg, #4AEADC 0%, #9778D1 20%, #CF2ABA 40%, #EE2C82 60%, #FB6962 80%, #FEF84C 100%);
}

:root .has-blush-light-purple-gradient-background {
    background: linear-gradient(135deg, #FFCEEC 0%, #9896F0 100%);
}

:root .has-blush-bordeaux-gradient-background {
    background: linear-gradient(135deg, #FECDA5 0%, #FE2D2D 50%, #6B003E 100%);
}

:root .has-purple-crush-gradient-background {
    background: linear-gradient(135deg, #34E2E4 0%, #4721FB 50%, #AB1DFE 100%);
}

:root .has-luminous-dusk-gradient-background {
    background: linear-gradient(135deg, #FFCB70 0%, #C751C0 50%, #4158D0 100%);
}

:root .has-hazy-dawn-gradient-background {
    background: linear-gradient(135deg, #FAACA8 0%, #DAD0EC 100%);
}

:root .has-pale-ocean-gradient-background {
    background: linear-gradient(135deg, #FFF5CB 0%, #B6E3D4 50%, #33A7B5 100%);
}

:root .has-electric-grass-gradient-background {
    background: linear-gradient(135deg, #CAF880 0%, #71CE7E 100%);
}

:root .has-subdued-olive-gradient-background {
    background: linear-gradient(135deg, #FAFAE1 0%, #67A671 100%);
}

:root .has-atomic-cream-gradient-background {
    background: linear-gradient(135deg, #FDD79A 0%, #004A59 100%);
}

:root .has-nightshade-gradient-background {
    background: linear-gradient(135deg, #330968 0%, #31CDCF 100%);
}

:root .has-midnight-gradient-background {
    background: linear-gradient(135deg, #020381 0%, #2874FC 100%);
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Archives
|------------------------------------------------------------------------------
*/

.wp-block-archives {
    list-style: none;
    padding: 0;
}

.wp-block-archives.alignleft {
    text-align: left;
}

[dir=rtl] .wp-block-archives.alignleft {
    text-align: right;
}

.wp-block-archives.aligncenter {
    text-align: center;
}

.wp-block-archives.alignright {
    text-align: right;
}

[dir=rtl] .wp-block-archives.alignright {
    text-align: left;
}

.wp-block-archives li {
    margin: calc(var(--f7-list-item-padding-vertical) * 2) 0;
}

.wp-block-archives li:first-child {
    margin-top: 0;
}

.wp-block-archives li:last-child {
    margin-bottom: 0;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Audio
|------------------------------------------------------------------------------
*/

.wp-block-audio.alignleft {
    text-align: left;
}

[dir=rtl] .wp-block-audio.alignleft {
    text-align: right;
}

.wp-block-audio.aligncenter {
    text-align: center;
}

.wp-block-audio.alignright {
    text-align: right;
}

[dir=rtl] .wp-block-audio.alignright {
    text-align: left;
}

.wp-block-audio audio {
    width: 100%;
}

.wp-block-audio figcaption {
    margin-top: 8px;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Button
|------------------------------------------------------------------------------
*/

.wp-block-button.alignleft {
    text-align: left;
}

[dir=rtl] .wp-block-button.alignleft {
    text-align: right;
}

.wp-block-button.aligncenter {
    text-align: center;
}

.wp-block-button.alignright {
    text-align: right;
}

[dir=rtl] .wp-block-button.alignright {
    text-align: left;
}

.wp-block-button .wp-block-button__link {
    background-color: var(--f7-theme-color);
    border-radius: var(--f7-button-border-radius);
    box-sizing: border-box;
    color: #FFFFFF;
    display: inline-block;
    font-size: var(--f7-button-large-font-size);
    font-weight: var(--f7-button-large-font-weight);
    height: var(--f7-button-large-height);
    letter-spacing: var(--f7-button-letter-spacing);
    line-height: var(--f7-button-large-height);
    padding: var(--f7-button-padding-vertical, 0px) var(--f7-button-padding-horizontal);
    text-align: center;
    text-decoration: none;
    text-transform: var(--f7-button-large-text-transform);
    vertical-align: middle;
}

.aurora .wp-block-button .wp-block-button__link:hover {
    background-color: var(--f7-theme-color-tint);
}

.aurora .wp-block-button .wp-block-button__link.active-state {
    background-color: var(--f7-theme-color-shade);
}

.aurora .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: rgba(var(--f7-theme-color-rgb), 0.07);
}

.ios .wp-block-button .wp-block-button__link.active-state {
    background-color: var(--f7-theme-color-tint);
}

.md .wp-block-button .wp-block-button__link.active-state {
    background-color: var(--f7-theme-color-shade);
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    border: var(--f7-button-outline-border-width) solid;
    color: var(--f7-theme-color);
    line-height: calc(var(--f7-button-large-height) - var(--f7-button-outline-border-width) * 2);
}

.aurora .wp-block-button.is-style-outline .wp-block-button__link.active-state,
.ios .wp-block-button.is-style-outline .wp-block-button__link.active-state,
.md .wp-block-button.is-style-outline .wp-block-button__link.active-state {
    background-color: rgba(var(--f7-theme-color-rgb), 0.15);
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Categories
|------------------------------------------------------------------------------
*/

.wp-block-categories {
    list-style: none;
    padding: 0;
}

.wp-block-categories.alignleft {
    text-align: left;
}

[dir=rtl] .wp-block-categories.alignleft {
    text-align: right;
}

.wp-block-categories.aligncenter {
    text-align: center;
}

.wp-block-categories.alignright {
    text-align: right;
}

[dir=rtl] .wp-block-categories.alignright {
    text-align: left;
}

.wp-block-categories li {
    margin: calc(var(--f7-list-item-padding-vertical) * 2) 0;
}

.wp-block-categories li:first-child {
    margin-top: 0;
}

.wp-block-categories li:last-child {
    margin-bottom: 0;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Classic
|------------------------------------------------------------------------------
*/

.entry blockquote {
    border-color: var(--f7-theme-color);
    border-style: solid;
    border-width: 0 0 0 4px;
    margin: 0;
    padding: calc(var(--f7-block-padding-vertical) / 4) var(--f7-block-padding-horizontal);
}

.entry blockquote:before {
    content: "“";
    display: block;
    font-family: serif;
    font-size: 48px;
    font-weight: bold;
    height: 24px;
    line-height: 1;
    width: 24px;
}

[dir=rtl] .entry blockquote {
    border-width: 0 4px 0 0;
}

.entry blockquote cite {
    color: var(--f7-list-item-text-text-color);
    display: block;
    font-size: initial;
    margin: calc(var(--f7-block-margin-vertical) / 2) 0;
}

.entry code {
    background: var(--f7-page-bg-color);
    border-radius: var(--f7-block-inset-border-radius);
    direction: ltr;
    overflow: auto;
    padding: 4px 8px;
    unicode-bidi: bidi-override;
}

.entry hr {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(var(--f7-theme-color-rgb), 0.75), rgba(0, 0, 0, 0));
    border: 0;
    height: 4px;
    margin: calc(var(--f7-block-margin-vertical) * 1.5) 0;
}

.entry img {
    border-radius: var(--f7-block-inset-border-radius);
    height: auto;
    max-width: 100%;
}

.entry figcaption {
    color: var(--f7-list-item-text-text-color);
    font-size: 14px;
}

.entry pre {
    background: var(--f7-page-bg-color);
    border-radius: var(--f7-block-inset-border-radius);
    direction: ltr;
    overflow: auto;
    padding: var(--f7-block-padding-vertical) var(--f7-block-padding-horizontal);
}

.entry pre code {
    direction: ltr;
    padding: 0;
    unicode-bidi: bidi-override;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Code
|------------------------------------------------------------------------------
*/

.wp-block-code {
    background: var(--f7-page-bg-color);
    border-radius: var(--f7-block-inset-border-radius);
    direction: ltr;
    overflow: auto;
    padding: var(--f7-block-padding-vertical) var(--f7-block-padding-horizontal);
}

.wp-block-code code {
    direction: ltr;
    unicode-bidi: bidi-override;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Columns
|------------------------------------------------------------------------------
*/

.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
}

.wp-block-column {
    box-sizing: border-box;
    flex-grow: 1;
    margin-bottom: calc(var(--f7-block-margin-vertical) / 2);
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.wp-block-column.is-vertically-aligned-top {
    align-self: flex-start;
}

.wp-block-column.is-vertically-aligned-center {
    align-self: center;
}

.wp-block-column.is-vertically-aligned-bottom {
    align-self: flex-end;
}

.wp-block-column > * {
    margin: calc(var(--f7-block-margin-vertical) / 2) 0;
}

.wp-block-column > :first-child {
    margin-top: 0;
}

.wp-block-column > :last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {

    .wp-block-columns {
        flex-wrap: nowrap;
    }

    .wp-block-column:not(:first-child) {
        margin-left: var(--f7-block-padding-horizontal);
    }

    [dir=rtl] .wp-block-column:not(:first-child) {
        margin-left: 0;
        margin-right: var(--f7-block-padding-horizontal);
    }

}

@media (min-width: 568px) {

    .wp-block-columns {
        margin-bottom: calc(var(--f7-block-margin-vertical) / -2) !important;
    }

    .wp-block-column {
        flex-basis: calc(50% - calc(var(--f7-block-padding-horizontal) / 2));
        flex-grow: 0;
    }

    .wp-block-column:nth-child(2n) {
        margin-left: var(--f7-block-padding-horizontal);
    }

    [dir=rtl] .wp-block-column:nth-child(2n) {
        margin-left: 0;
        margin-right: var(--f7-block-padding-horizontal);
    }

}

@media (max-width: 567px) {

    .wp-block-columns {
        margin-bottom: unset;
    }

    .wp-block-column {
        flex-basis: 100%;
    }

    .wp-block-column:last-child {
        margin-bottom: 0;
    }

}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Cover
|------------------------------------------------------------------------------
*/

.wp-block-cover, .wp-block-cover-image {
    align-items: center;
    background-color: var(--f7-page-bg-color);
    background-position: center;
    background-size: cover;
    border-radius: var(--f7-block-inset-border-radius);
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 384px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.wp-block-cover.has-parallax, .wp-block-cover-image.has-parallax {
    background-attachment: fixed;
}

.device-ios .wp-block-cover.has-parallax, .wp-block-cover-image.has-parallax {
    background-attachment: unset;
}

.wp-block-cover__inner-container {
    color: #FFFFFF;
    padding: var(--f7-block-padding-vertical);
    width: 100%;
    z-index: 1;
}

.wp-block-cover__inner-container > * {
    margin: calc(var(--f7-block-margin-vertical) / 2) 0;
}

.wp-block-cover__inner-container > :first-child {
    margin-top: 0;
}

.wp-block-cover__inner-container > :last-child {
    margin-bottom: 0;
}

.wp-block-cover__inner-container .has-large-font-size {
    font-size: 24px !important;
    font-weight: 600;
}

.wp-block-cover__video-background {
    border-radius: var(--f7-block-inset-border-radius);
    display: block;
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Embed
|------------------------------------------------------------------------------
*/

.wp-block-embed {
    overflow: hidden;
}

.wp-block-embed.alignleft {
    text-align: left;
}

[dir=rtl] .wp-block-embed.alignleft {
    text-align: right;
}

.wp-block-embed.aligncenter {
    text-align: center;
}

.wp-block-embed.alignright {
    text-align: right;
}

[dir=rtl] .wp-block-embed.alignright {
    text-align: left;
}

.wp-block-embed figcaption {
    margin-top: 8px;
}

.wp-block-embed .wp-block-embed__wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wp-block-embed.alignleft .wp-block-embed__wrapper {
    justify-content: flex-start;
}

.wp-block-embed.aligncenter .wp-block-embed__wrapper {
    justify-content: center;
}

.wp-block-embed.alignright .wp-block-embed__wrapper {
    justify-content: flex-end;
}

.wp-block-embed blockquote {
    background-color: unset;
    border-radius: unset;
}

.wp-block-embed iframe {
    clip: unset !important;
    overflow: hidden;
    position: relative !important;
}

.wp-block-embed-wordpress blockquote {
    margin-bottom: 16px;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - File
|------------------------------------------------------------------------------
*/

.wp-block-file {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    justify-content: space-between;
}

.wp-block-file .wp-block-file__button {
    background-color: var(--f7-theme-color);
    border-radius: var(--f7-button-border-radius);
    color: #FFFFFF;
    display: inline-block;
    font-size: var(--f7-button-large-font-size);
    font-weight: var(--f7-button-large-font-weight);
    height: var(--f7-button-large-height);
    letter-spacing: var(--f7-button-letter-spacing);
    line-height: var(--f7-button-large-height);
    padding: 0 var(--f7-button-padding-horizontal);
    text-align: center;
    text-decoration: none;
    text-transform: var(--f7-button-large-text-transform);
    vertical-align: middle;
}

.aurora .wp-block-file .wp-block-file__button:hover {
    background-color: var(--f7-theme-color-tint);
}

.aurora .wp-block-file .wp-block-file__button.active-state {
    background-color: var(--f7-theme-color-shade);
}

.ios .wp-block-file .wp-block-file__button.active-state {
    background-color: var(--f7-theme-color-tint);
}

.md .wp-block-file .wp-block-file__button.active-state {
    background-color: var(--f7-theme-color-shade);
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Gallery
|------------------------------------------------------------------------------
*/

.wp-block-gallery, .blocks-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.wp-block-gallery ul {
    list-style: none;
    margin: 0;
    margin-bottom: calc(var(--f7-block-margin-vertical) / -2);
}

.wp-block-gallery.alignleft ul {
    margin-left: 0;
    margin-right: auto;
}

[dir=rtl] .wp-block-gallery.alignleft ul {
    margin-left: auto;
    margin-right: 0;
}

.wp-block-gallery.aligncenter ul {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-gallery.alignright ul {
    margin-left: auto;
    margin-right: 0;
}

[dir=rtl] .wp-block-gallery.alignright ul {
    margin-left: 0;
    margin-right: auto;
}

.wp-block-gallery .blocks-gallery-caption {
    margin-top: 8px;
    width: 100%;
}

.wp-block-gallery.alignleft .blocks-gallery-caption {
    text-align: left;
}

[dir=rtl] .wp-block-gallery.alignleft .blocks-gallery-caption {
    text-align: right;
}

.wp-block-gallery.aligncenter .blocks-gallery-caption {
    text-align: center;
}

.wp-block-gallery.alignright .blocks-gallery-caption {
    text-align: right;
}

[dir=rtl] .wp-block-gallery.alignright .blocks-gallery-caption {
    text-align: left;
}

.wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item,
.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    margin: 0 var(--f7-block-padding-horizontal) calc(var(--f7-block-margin-vertical) / 2) 0;
    position: relative;
    width: calc((100% - var(--f7-block-padding-horizontal)) / 2);
}

[dir=rtl] .wp-block-gallery .blocks-gallery-image, [dir=rtl] .wp-block-gallery .blocks-gallery-item,
[dir=rtl] .blocks-gallery-grid .blocks-gallery-image, [dir=rtl] .blocks-gallery-grid .blocks-gallery-item {
    margin: 0 0 calc(var(--f7-block-margin-vertical) / 2) var(--f7-block-padding-horizontal);
}

.wp-block-gallery .blocks-gallery-image:nth-of-type(2n), .wp-block-gallery .blocks-gallery-item:nth-of-type(2n),
.blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n), .blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n) {
    margin-right: 0;
}

[dir=rtl] .wp-block-gallery .blocks-gallery-image:nth-of-type(2n), [dir=rtl] .wp-block-gallery .blocks-gallery-item:nth-of-type(2n),
[dir=rtl] .blocks-gallery-grid .blocks-gallery-image:nth-of-type(2n), [dir=rtl] .blocks-gallery-grid .blocks-gallery-item:nth-of-type(2n) {
    margin-left: 0;
}

.wp-block-gallery.columns-1 .blocks-gallery-image, .wp-block-gallery.columns-1 .blocks-gallery-item,
.blocks-gallery-grid.columns-1 .blocks-gallery-image, .blocks-gallery-grid.columns-1 .blocks-gallery-item {
    width: 100%;
}

.wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item,
.blocks-gallery-grid.columns-3 .blocks-gallery-image, .blocks-gallery-grid.columns-3 .blocks-gallery-item,
.wp-block-gallery.columns-4 .blocks-gallery-image, .wp-block-gallery.columns-4 .blocks-gallery-item,
.blocks-gallery-grid.columns-4 .blocks-gallery-image, .blocks-gallery-grid.columns-4 .blocks-gallery-item,
.wp-block-gallery.columns-5 .blocks-gallery-image, .wp-block-gallery.columns-5 .blocks-gallery-item,
.blocks-gallery-grid.columns-5 .blocks-gallery-image, .blocks-gallery-grid.columns-5 .blocks-gallery-item,
.wp-block-gallery.columns-6 .blocks-gallery-image, .wp-block-gallery.columns-6 .blocks-gallery-item,
.blocks-gallery-grid.columns-6 .blocks-gallery-image, .blocks-gallery-grid.columns-6 .blocks-gallery-item,
.wp-block-gallery.columns-7 .blocks-gallery-image, .wp-block-gallery.columns-7 .blocks-gallery-item,
.blocks-gallery-grid.columns-7 .blocks-gallery-image, .blocks-gallery-grid.columns-7 .blocks-gallery-item,
.wp-block-gallery.columns-8 .blocks-gallery-image, .wp-block-gallery.columns-8 .blocks-gallery-item,
.blocks-gallery-grid.columns-8 .blocks-gallery-image, .blocks-gallery-grid.columns-8 .blocks-gallery-item {
    margin-right: var(--f7-block-padding-horizontal);
}

.wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item,
.blocks-gallery-grid.columns-3 .blocks-gallery-image, .blocks-gallery-grid.columns-3 .blocks-gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 2)) / 3);
}

.wp-block-gallery.columns-4 .blocks-gallery-image, .wp-block-gallery.columns-4 .blocks-gallery-item,
.blocks-gallery-grid.columns-4 .blocks-gallery-image, .blocks-gallery-grid.columns-4 .blocks-gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 3)) / 4);
}

.wp-block-gallery.columns-5 .blocks-gallery-image, .wp-block-gallery.columns-5 .blocks-gallery-item,
.blocks-gallery-grid.columns-5 .blocks-gallery-image, .blocks-gallery-grid.columns-5 .blocks-gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 4)) / 5);
}

.wp-block-gallery.columns-6 .blocks-gallery-image, .wp-block-gallery.columns-6 .blocks-gallery-item,
.blocks-gallery-grid.columns-6 .blocks-gallery-image, .blocks-gallery-grid.columns-6 .blocks-gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 5)) / 6);
}

.wp-block-gallery.columns-7 .blocks-gallery-image, .wp-block-gallery.columns-7 .blocks-gallery-item,
.blocks-gallery-grid.columns-7 .blocks-gallery-image, .blocks-gallery-grid.columns-7 .blocks-gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 6)) / 7);
}

.wp-block-gallery.columns-8 .blocks-gallery-image, .wp-block-gallery.columns-8 .blocks-gallery-item,
.blocks-gallery-grid.columns-8 .blocks-gallery-image, .blocks-gallery-grid.columns-8 .blocks-gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 7)) / 8);
}

[dir=rtl] .wp-block-gallery.columns-3 .blocks-gallery-image, [dir=rtl] .wp-block-gallery.columns-3 .blocks-gallery-item,
[dir=rtl] .blocks-gallery-grid.columns-3 .blocks-gallery-image, [dir=rtl] .blocks-gallery-grid.columns-3 .blocks-gallery-item,
[dir=rtl] .wp-block-gallery.columns-4 .blocks-gallery-image, [dir=rtl] .wp-block-gallery.columns-4 .blocks-gallery-item,
[dir=rtl] .blocks-gallery-grid.columns-4 .blocks-gallery-image, [dir=rtl] .blocks-gallery-grid.columns-4 .blocks-gallery-item,
[dir=rtl] .wp-block-gallery.columns-5 .blocks-gallery-image, [dir=rtl] .wp-block-gallery.columns-5 .blocks-gallery-item,
[dir=rtl] .blocks-gallery-grid.columns-5 .blocks-gallery-image, [dir=rtl] .blocks-gallery-grid.columns-5 .blocks-gallery-item,
[dir=rtl] .wp-block-gallery.columns-6 .blocks-gallery-image, [dir=rtl] .wp-block-gallery.columns-6 .blocks-gallery-item,
[dir=rtl] .blocks-gallery-grid.columns-6 .blocks-gallery-image, [dir=rtl] .blocks-gallery-grid.columns-6 .blocks-gallery-item,
[dir=rtl] .wp-block-gallery.columns-7 .blocks-gallery-image, [dir=rtl] .wp-block-gallery.columns-7 .blocks-gallery-item,
[dir=rtl] .blocks-gallery-grid.columns-7 .blocks-gallery-image, [dir=rtl] .blocks-gallery-grid.columns-7 .blocks-gallery-item,
[dir=rtl] .wp-block-gallery.columns-8 .blocks-gallery-image, [dir=rtl] .wp-block-gallery.columns-8 .blocks-gallery-item,
[dir=rtl] .blocks-gallery-grid.columns-8 .blocks-gallery-image, [dir=rtl] .blocks-gallery-grid.columns-8 .blocks-gallery-item {
    margin-left: var(--f7-block-padding-horizontal);
    margin-right: 0;
}

.wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n), .wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),
.blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n), .blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),
.wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n), .wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),
.blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n), .blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),
.wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n), .wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),
.blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n), .blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),
.wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n), .wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),
.blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n), .blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),
.wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n), .wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),
.blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n), .blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),
.wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n), .wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),
.blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n), .blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),
.wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n), .wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n),
.blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n), .blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n) {
    margin-right: 0;
}

[dir=rtl] .wp-block-gallery.columns-1 .blocks-gallery-image:nth-of-type(1n), [dir=rtl] .wp-block-gallery.columns-1 .blocks-gallery-item:nth-of-type(1n),
[dir=rtl] .blocks-gallery-grid.columns-1 .blocks-gallery-image:nth-of-type(1n), [dir=rtl] .blocks-gallery-grid.columns-1 .blocks-gallery-item:nth-of-type(1n),
[dir=rtl] .wp-block-gallery.columns-3 .blocks-gallery-image:nth-of-type(3n), [dir=rtl] .wp-block-gallery.columns-3 .blocks-gallery-item:nth-of-type(3n),
[dir=rtl] .blocks-gallery-grid.columns-3 .blocks-gallery-image:nth-of-type(3n), [dir=rtl] .blocks-gallery-grid.columns-3 .blocks-gallery-item:nth-of-type(3n),
[dir=rtl] .wp-block-gallery.columns-4 .blocks-gallery-image:nth-of-type(4n), [dir=rtl] .wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n),
[dir=rtl] .blocks-gallery-grid.columns-4 .blocks-gallery-image:nth-of-type(4n), [dir=rtl] .blocks-gallery-grid.columns-4 .blocks-gallery-item:nth-of-type(4n),
[dir=rtl] .wp-block-gallery.columns-5 .blocks-gallery-image:nth-of-type(5n), [dir=rtl] .wp-block-gallery.columns-5 .blocks-gallery-item:nth-of-type(5n),
[dir=rtl] .blocks-gallery-grid.columns-5 .blocks-gallery-image:nth-of-type(5n), [dir=rtl] .blocks-gallery-grid.columns-5 .blocks-gallery-item:nth-of-type(5n),
[dir=rtl] .wp-block-gallery.columns-6 .blocks-gallery-image:nth-of-type(6n), [dir=rtl] .wp-block-gallery.columns-6 .blocks-gallery-item:nth-of-type(6n),
[dir=rtl] .blocks-gallery-grid.columns-6 .blocks-gallery-image:nth-of-type(6n), [dir=rtl] .blocks-gallery-grid.columns-6 .blocks-gallery-item:nth-of-type(6n),
[dir=rtl] .wp-block-gallery.columns-7 .blocks-gallery-image:nth-of-type(7n), [dir=rtl] .wp-block-gallery.columns-7 .blocks-gallery-item:nth-of-type(7n),
[dir=rtl] .blocks-gallery-grid.columns-7 .blocks-gallery-image:nth-of-type(7n), [dir=rtl] .blocks-gallery-grid.columns-7 .blocks-gallery-item:nth-of-type(7n),
[dir=rtl] .wp-block-gallery.columns-8 .blocks-gallery-image:nth-of-type(8n), [dir=rtl] .wp-block-gallery.columns-8 .blocks-gallery-item:nth-of-type(8n),
[dir=rtl] .blocks-gallery-grid.columns-8 .blocks-gallery-image:nth-of-type(8n), [dir=rtl] .blocks-gallery-grid.columns-8 .blocks-gallery-item:nth-of-type(8n) {
    margin-left: 0;
}

.wp-block-gallery .blocks-gallery-image:last-child, .wp-block-gallery .blocks-gallery-item:last-child,
.blocks-gallery-grid .blocks-gallery-image:last-child, .blocks-gallery-grid .blocks-gallery-item:last-child {
    margin-right: 0;
}

[dir=rtl] .wp-block-gallery .blocks-gallery-image:last-child, [dir=rtl] .wp-block-gallery .blocks-gallery-item:last-child,
[dir=rtl] .blocks-gallery-grid .blocks-gallery-image:last-child, [dir=rtl] .blocks-gallery-grid .blocks-gallery-item:last-child {
    margin-left: 0;
}

.wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure,
.blocks-gallery-grid .blocks-gallery-image figure, .blocks-gallery-grid .blocks-gallery-item figure {
    align-items: flex-end;
    display: flex;
    height: 100%;
    justify-content: flex-start;
    margin: 0;
}

.wp-block-gallery .blocks-gallery-image a, .wp-block-gallery .blocks-gallery-image img,
.wp-block-gallery .blocks-gallery-item a, .wp-block-gallery .blocks-gallery-item img,
.blocks-gallery-grid .blocks-gallery-image a, .blocks-gallery-grid .blocks-gallery-image img,
.blocks-gallery-grid .blocks-gallery-item a, .blocks-gallery-grid .blocks-gallery-item img {
    display: block;
    flex: 1;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

.wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption,
.blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3) 70%, transparent);
    border-radius: 0 0 var(--f7-block-inset-border-radius) var(--f7-block-inset-border-radius);
    bottom: 0;
    box-sizing: border-box;
    color: #FFFFFF;
    max-height: 100%;
    overflow: auto;
    padding: 40px 10px 9px;
    position: absolute;
    text-align: center;
    width: 100%;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Group
|------------------------------------------------------------------------------
*/

.wp-block-group .wp-block-group__inner-container {
    max-width: 100%;
}

.wp-block-group__inner-container > * {
    margin: calc(var(--f7-block-margin-vertical) / 2) 0;
}

.wp-block-group__inner-container > :first-child {
    margin-top: 0;
}

.wp-block-group__inner-container > :last-child {
    margin-bottom: 0;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Image
|------------------------------------------------------------------------------
*/

.wp-block-image {
    max-width: 100%;
    overflow: hidden;
}

.wp-block-image img {
    border-radius: var(--f7-block-inset-border-radius);
    display: block;
    height: auto;
    max-width: 100%;
}

.wp-block-image figcaption {
    margin-top: 8px;
}

.wp-block-image.alignleft, .wp-block-image .alignleft {
    text-align: left;
}

[dir=rtl] .wp-block-image.alignleft, [dir=rtl] .wp-block-image .alignleft {
    text-align: right;
}

.wp-block-image.aligncenter, .wp-block-image .aligncenter {
    text-align: center;
}

.wp-block-image.alignright, .wp-block-image .alignright {
    text-align: right;
}

[dir=rtl] .wp-block-image.alignright, [dir=rtl] .wp-block-image .alignright {
    text-align: left;
}

.wp-block-image.alignleft img, .wp-block-image .alignleft img {
    margin-left: 0;
    margin-right: auto;
}

[dir=rtl] .wp-block-image.alignleft img, [dir=rtl] .wp-block-image .alignleft img {
    margin-left: auto;
    margin-right: 0;
}

.wp-block-image.aligncenter img, .wp-block-image .aligncenter img {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-image.alignright img, .wp-block-image .alignright img {
    margin-left: auto;
    margin-right: 0;
}

[dir=rtl] .wp-block-image.alignright img, [dir=rtl] .wp-block-image .alignright img {
    margin-left: 0;
    margin-right: auto;
}

.wp-block-image.is-style-circle-mask figcaption {
    text-align: center;
}

.wp-block-image.is-style-circle-mask img {
    border-radius: 9999px;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50" /></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50" /></svg>');
    mask-mode: alpha;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Latest Comments
|------------------------------------------------------------------------------
*/

.wp-block-latest-comments {
    list-style: none;
    padding: 0;
}

.wp-block-latest-comments li {
    margin: calc(var(--f7-list-item-padding-vertical) * 4) 0;
}

.wp-block-latest-comments li:first-child {
    margin-top: 0;
}

.wp-block-latest-comments li:last-child {
    margin-bottom: 0;
}

.wp-block-latest-comments.alignleft:not(.has-avatars) {
    text-align: left;
}

[dir=rtl] .wp-block-latest-comments.alignleft:not(.has-avatars) {
    text-align: right;
}

.wp-block-latest-comments.aligncenter:not(.has-avatars) {
    text-align: center;
}

.wp-block-latest-comments.alignright:not(.has-avatars) {
    text-align: right;
}

[dir=rtl] .wp-block-latest-comments.alignright:not(.has-avatars) {
    text-align: left;
}

.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment {
    min-height: 48px;
}

.wp-block-latest-comments .avatar, .wp-block-latest-comments__comment-avatar {
    border-radius: 50%;
    display: block;
    float: left;
    height: 48px;
    margin-right: 16px;
    width: 48px;
}

[dir=rtl] .wp-block-latest-comments .avatar, [dir=rtl] .wp-block-latest-comments__comment-avatar {
    float: right;
    margin-left: 16px;
    margin-right: 0;
}

.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment-meta,
.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment-excerpt {
    margin-left: 64px;
}

[dir=rtl] .wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment-meta,
[dir=rtl] .wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment-excerpt {
    margin-left: 0;
    margin-right: 64px;
}

.wp-block-latest-comments .wp-block-latest-comments__comment-meta {
    font-size: 16px;
    font-weight: 600;
}

.wp-block-latest-comments .wp-block-latest-comments__comment-date {
    color: var(--f7-list-item-text-text-color);
    display: block;
    font-weight: normal;
    margin-top: 4px;
}

.wp-block-latest-comments .wp-block-latest-comments__comment-excerpt p {
    margin-top: 8px;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Latest Posts
|------------------------------------------------------------------------------
*/

.wp-block-latest-posts {
    list-style: none;
    padding: 0;
}

.wp-block-latest-posts li {
    margin: calc(var(--f7-list-item-padding-vertical) * 4) 0;
}

.wp-block-latest-posts li:first-child {
    margin-top: 0;
}

.wp-block-latest-posts li:last-child {
    margin-bottom: 0;
}

.wp-block-latest-posts.alignleft {
    text-align: left;
}

[dir=rtl] .wp-block-latest-posts.alignleft {
    text-align: right;
}

.wp-block-latest-posts.aligncenter {
    text-align: center;
}

.wp-block-latest-posts.alignright {
    text-align: right;
}

[dir=rtl] .wp-block-latest-posts.alignright {
    text-align: left;
}

.wp-block-latest-posts a {
    font-size: 16px;
    font-weight: 600;
}

.wp-block-latest-posts .wp-block-latest-posts__post-date {
    color: var(--f7-list-item-text-text-color);
    display: block;
    margin-top: 4px;
}

.wp-block-latest-posts .wp-block-latest-posts__post-excerpt {
    margin-top: 8px;
}

.wp-block-latest-posts.is-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.wp-block-latest-posts.is-grid li {
    margin: calc(var(--f7-block-margin-vertical) / 2) var(--f7-block-padding-horizontal) calc(var(--f7-block-margin-vertical) / 2) 0;
    width: 100%;
}

[dir=rtl] .wp-block-latest-posts.is-grid li {
    margin: calc(var(--f7-block-margin-vertical) / 2) 0 calc(var(--f7-block-margin-vertical) / 2) var(--f7-block-padding-horizontal);
}

@media (min-width: 568px) {

    .wp-block-latest-posts.is-grid {
        margin-bottom: calc(var(--f7-block-margin-vertical) / -2);
        margin-top: calc(var(--f7-block-margin-vertical) / -2);
    }

    .wp-block-latest-posts.columns-2 li {
        width: calc(50% - var(--f7-block-padding-horizontal));
    }

    .wp-block-latest-posts.columns-3 li {
        width: calc(33.33333% - var(--f7-block-padding-horizontal));
    }

    .wp-block-latest-posts.columns-4 li {
        width: calc(33.33333% - var(--f7-block-padding-horizontal));
    }

    .wp-block-latest-posts.columns-5 li {
        width: calc(20% - var(--f7-block-padding-horizontal));
    }

    .wp-block-latest-posts.columns-6 li {
        width: calc(16.66667% - var(--f7-block-padding-horizontal));
    }

}

@media (max-width: 567px) {

    .wp-block-latest-posts.is-grid li:first-child {
        margin-top: 0;
    }

    .wp-block-latest-posts.is-grid li:last-child {
        margin-bottom: 0;
    }

}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Media & Text
|------------------------------------------------------------------------------
*/

.wp-block-media-text {
    background-color: var(--f7-page-bg-color);
    border-radius: var(--f7-block-inset-border-radius);
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 50% 1fr;
    grid-template-columns: 50% 1fr;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    overflow: hidden;
}

.wp-block-media-text .wp-block-media-text__media {
    -ms-grid-row-align: center;
    align-self: center;
    background-size: cover;
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 1;
    grid-row: 1;
    height: 100%;
    margin: 0;
    min-height: 256px;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 1;
    grid-row: 1;
}

.wp-block-media-text:not(.is-image-fill) .wp-block-media-text__media {
    min-height: unset;
    height: unset;
}

.wp-block-media-text .wp-block-media-text__content {
    -ms-grid-row-align: center;
    align-self: center;
    box-sizing: border-box;
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 1;
    grid-row: 1;
    padding: var(--f7-block-padding-vertical) var(--f7-block-padding-horizontal);
    word-break: break-word;
}

.wp-block-media-text .wp-block-media-text__content > * {
    margin: calc(var(--f7-block-margin-vertical) / 2) 0;
}

.wp-block-media-text .wp-block-media-text__content > :first-child {
    margin-top: 0;
}

.wp-block-media-text .wp-block-media-text__content > :last-child {
    margin-bottom: 0;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 1;
    grid-row: 1;
}

.wp-block-media-text > figure > img, .wp-block-media-text > figure > video {
    border-radius: 0;
    max-width: unset;
    vertical-align: middle;
    width: 100%;
}

.wp-block-media-text.is-image-fill figure > img {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__media, .wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content {
    -ms-grid-row-align: start;
    align-self: start;
}

.wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media, .wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content {
    -ms-grid-row-align: center;
    align-self: center;
}

.wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__media, .wp-block-media-text.is-vertically-aligned-bottom .wp-block-media-text__content {
    -ms-grid-row-align: end;
    align-self: end;
}

@media (max-width: 568px) {

    .wp-block-media-text.is-stacked-on-mobile {
        -ms-grid-columns: 100% !important;
        grid-template-columns: 100% !important;
    }

    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 1;
        grid-row: 1;
    }

    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 2;
        grid-row: 2;
    }

    .wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media {
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 2;
        grid-row: 2;
    }

    .wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content {
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 1;
        grid-row: 1;
    }

}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Paragraph
|------------------------------------------------------------------------------
*/

.entry p.has-background {
    border-radius: var(--f7-block-inset-border-radius);
    padding: var(--f7-block-padding-vertical) var(--f7-block-padding-horizontal);
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Preformatted
|------------------------------------------------------------------------------
*/

.wp-block-preformatted {
    background: var(--f7-page-bg-color);
    border-radius: var(--f7-block-inset-border-radius);
    overflow: auto;
    padding: var(--f7-block-padding-vertical) var(--f7-block-padding-horizontal);
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Pullquote
|------------------------------------------------------------------------------
*/

.wp-block-pullquote {
    font-size: 18px;
    font-weight: 600;
    margin: calc(var(--f7-block-margin-vertical) * 1.5 ) 0 var(--f7-block-margin-vertical) 0;
    position: relative;
    text-align: center;
}

.wp-block-pullquote.alignleft {
    text-align: left;
}

[dir=rtl] .wp-block-pullquote.alignleft {
    text-align: right;
}

.wp-block-pullquote.alignright {
    text-align: right;
}

[dir=rtl] .wp-block-pullquote.alignright {
    text-align: left;
}

.wp-block-pullquote:before {
    background: var(--f7-theme-color);
    border-radius: 50%;
    color: #FFFFFF;
    content: "“";
    display: block;
    font-family: serif;
    font-size: 64px;
    font-weight: 500;
    height: 48px;
    left: 50%;
    line-height: 1.2;
    margin: 0 auto;
    margin-bottom: calc(var(--f7-block-margin-vertical) / -2);
    position: absolute;
    text-align: center;
    top: 0;
    transform: translateY(-50%) translateX(-50%);
    width: 48px;
}

.wp-block-pullquote blockquote {
    background-color: unset;
    border: none;
    padding-right: var(--f7-block-padding-vertical);
    padding-top: var(--f7-block-padding-vertical);
}

.wp-block-pullquote blockquote:before {
    display: none;
}

.wp-block-pullquote cite {
    font-size: var(--f7-font-size);
    font-style: normal;
    margin-bottom: calc(var(--f7-block-margin-vertical) / 2);
    margin-top: 0;
}

.wp-block-pullquote.is-style-solid-color blockquote cite {
    color: unset;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Quote
|------------------------------------------------------------------------------
*/

.wp-block-quote.is-style-large {
    font-size: 20px;
    font-weight: 600;
}

.wp-block-quote.is-style-large:before {
    font-size: 72px;
    height: 36px;
    width: 36px;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - RSS
|------------------------------------------------------------------------------
*/

.wp-block-rss {
    list-style: none;
    padding: 0;
}

.wp-block-rss.alignleft {
    text-align: left;
}

[dir=rtl] .wp-block-rss.alignleft {
    text-align: right;
}

.wp-block-rss.aligncenter {
    text-align: center;
}

.wp-block-rss.alignright {
    text-align: right;
}

[dir=rtl] .wp-block-rss.alignright {
    text-align: left;
}

.wp-block-rss + .wp-block-rss {
    margin-top: calc(var(--f7-list-item-padding-vertical) * 4);
}

.wp-block-rss .wp-block-rss__item {
    margin: calc(var(--f7-list-item-padding-vertical) * 4) 0;
}

.wp-block-rss .wp-block-rss__item:first-child {
    margin-top: 0;
}

.wp-block-rss .wp-block-rss__item:last-child {
    margin-bottom: 0;
}

.wp-block-rss .wp-block-rss__item-title {
    font-size: 16px;
    font-weight: 600;
}

.wp-block-rss .wp-block-rss__item-publish-date {
    color: var(--f7-list-item-text-text-color);
    display: block;
    margin-top: 4px;
}

.wp-block-rss .wp-block-rss__item-excerpt {
    margin-top: 8px;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Separator
|------------------------------------------------------------------------------
*/

.wp-block-separator {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(var(--f7-theme-color-rgb), 0.75), rgba(0, 0, 0, 0));
    border: 0;
    height: 4px;
    margin: calc(var(--f7-block-margin-vertical) * 1.5) 0;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Shortcode
|------------------------------------------------------------------------------
*/

.wp-audio-shortcode {
    width: 100%;
}

.wp-caption {
    max-width: 100%;
    overflow: hidden;
}

.wp-caption img {
    border-radius: var(--f7-block-inset-border-radius);
    display: block;
    height: auto;
    max-width: 100%;
}

.wp-caption-text {
    color: var(--f7-list-item-text-text-color);
    font-size: 14px;
}

.wp-caption figcaption, .wp-caption .wp-caption-text {
    margin-top: 8px;
}

.wp-caption.alignleft, .wp-caption .alignleft {
    text-align: left;
}

[dir=rtl] .wp-caption.alignleft, [dir=rtl] .wp-caption .alignleft {
    text-align: right;
}

.wp-caption.aligncenter, .wp-caption .aligncenter {
    text-align: center;
}

.wp-caption.alignright, .wp-caption .alignright {
    text-align: right;
}

[dir=rtl] .wp-caption.alignright, [dir=rtl] .wp-caption .alignright {
    text-align: left;
}

.wp-caption.alignleft img, .wp-caption .alignleft img {
    margin-left: 0;
    margin-right: auto;
}

[dir=rtl] .wp-caption.alignleft img, [dir=rtl] .wp-caption .alignleft img {
    margin-left: auto;
    margin-right: 0;
}

.wp-caption.aligncenter img, .wp-caption .aligncenter img {
    margin-left: auto;
    margin-right: auto;
}

.wp-caption.alignright img, .wp-caption .alignright img {
    margin-left: auto;
    margin-right: 0;
}

[dir=rtl] .wp-caption.alignright img, [dir=rtl] .wp-caption .alignright img {
    margin-left: 0;
    margin-right: auto;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    margin-bottom: calc(var(--f7-block-margin-vertical) / -2);
    padding: 0;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    margin: 0 var(--f7-block-padding-horizontal) calc(var(--f7-block-margin-vertical) / 2) 0;
    position: relative;
    width: calc((100% - var(--f7-block-padding-horizontal)) / 2);
}

[dir=rtl] .gallery-item {
    margin: 0 0 calc(var(--f7-block-margin-vertical) / 2) var(--f7-block-padding-horizontal);
}

.gallery-item:nth-of-type(2n) {
    margin-right: 0;
}

[dir=rtl] .gallery-item:nth-of-type(2n) {
    margin-left: 0;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
}

.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item,
.gallery-columns-6 .gallery-item,
.gallery-columns-7 .gallery-item,
.gallery-columns-8 .gallery-item,
.gallery-columns-9 .gallery-item {
    margin-right: var(--f7-block-padding-horizontal);
}

.gallery-columns-3 .gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 2)) / 3);
}

.gallery-columns-4 .gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 3)) / 4);
}

.gallery-columns-5 .gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 4)) / 5);
}

.gallery-columns-6 .gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 5)) / 6);
}

.gallery-columns-7 .gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 6)) / 7);
}

.gallery-columns-8 .gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 7)) / 8);
}

.gallery-columns-9 .gallery-item {
    width: calc((100% - calc(var(--f7-block-padding-horizontal) * 8)) / 9);
}

[dir=rtl] .gallery-columns-1 .gallery-item,
[dir=rtl] .gallery-columns-3 .gallery-item,
[dir=rtl] .gallery-columns-4 .gallery-item,
[dir=rtl] .gallery-columns-5 .gallery-item,
[dir=rtl] .gallery-columns-6 .gallery-item,
[dir=rtl] .gallery-columns-7 .gallery-item,
[dir=rtl] .gallery-columns-8 .gallery-item,
[dir=rtl] .gallery-columns-9 .gallery-item {
    margin-left: var(--f7-block-padding-horizontal);
    margin-right: 0;
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
    margin-right: 0;
}

[dir=rtl] .gallery-columns-1 .gallery-item:nth-of-type(1n),
[dir=rtl] .gallery-columns-3 .gallery-item:nth-of-type(3n),
[dir=rtl] .gallery-columns-4 .gallery-item:nth-of-type(4n),
[dir=rtl] .gallery-columns-5 .gallery-item:nth-of-type(5n),
[dir=rtl] .gallery-columns-6 .gallery-item:nth-of-type(6n),
[dir=rtl] .gallery-columns-7 .gallery-item:nth-of-type(7n),
[dir=rtl] .gallery-columns-8 .gallery-item:nth-of-type(8n),
[dir=rtl] .gallery-columns-9 .gallery-item:nth-of-type(9n) {
    margin-left: 0;
}

.gallery-item:last-child {
    margin-right: 0;
}

[dir=rtl] .gallery-item:last-child {
    margin-left: 0;
}

.gallery-item a, .gallery-item img {
    display: block;
    flex: 1;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

.wp-video {
    max-width: 100%;
}

.wp-video-shortcode {
    border-radius: var(--f7-block-inset-border-radius);
    display: block;
    height: auto;
    max-width: 100%;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Spacer
|------------------------------------------------------------------------------
*/

.wp-block-spacer {
    display: block;
    margin: 0;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Table
|------------------------------------------------------------------------------
*/

.wp-block-table {
    overflow-x: auto;
}

.wp-block-table table {
    border: none;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

[dir=rtl] .wp-block-table table {
    text-align: right;
}

.wp-block-table thead th, .wp-block-table thead td, .wp-block-table tfoot td {
    color: var(--f7-table-head-text-color);
    font-size: var(--f7-table-head-font-size);
    font-weight: var(--f7-table-head-font-weight);
    height: var(--f7-table-head-cell-height);
    line-height: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wp-block-table tbody td:before, .wp-block-table tbody th:before, .wp-block-table tfoot td:before {
    background-color: var(--f7-table-cell-border-color);
    bottom: auto;
    content: '';
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    right: auto;
    top: 0;
    transform: scaleY(calc(1 / var(--f7-device-pixel-ratio)));
    transform-origin: 50% 0%;
    width: 100%;
    z-index: 15;
}

.wp-block-table tbody {
    font-size: var(--f7-table-body-font-size);
}

.wp-block-table tbody th, .wp-block-table tbody td {
    height: var(--f7-table-body-cell-height);
}

.device-desktop .wp-block-table tbody tr:hover {
    background: var(--f7-table-selected-row-bg-color);
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background: var(--f7-table-selected-row-bg-color);
}

.wp-block-table.is-style-stripes tbody td:before, .wp-block-table.is-style-stripes tbody th:before, .wp-block-table.is-style-stripes tfoot td:before {
    background-color: transparent;
}

.wp-block-table th, .wp-block-table td {
    --f7-table-cell-padding-left: var(--f7-table-cell-padding-horizontal);
    --f7-table-cell-padding-right: var(--f7-table-cell-padding-horizontal);
    box-sizing: border-box;
    padding-bottom: var(--f7-table-cell-padding-vertical);
    padding-left: var(--f7-table-cell-padding-left);
    padding-right: var(--f7-table-cell-padding-right);
    padding-top: var(--f7-table-cell-padding-vertical);
    position: relative;

}

.wp-block-table th:first-child, .wp-block-table td:first-child {
    --f7-table-cell-padding-left: var(--f7-table-edge-cell-padding-horizontal);
}

.wp-block-table th:last-child, .wp-block-table td:last-child {
    --f7-table-cell-padding-right: var(--f7-table-edge-cell-padding-horizontal);
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Tag Cloud
|------------------------------------------------------------------------------
*/

.wp-block-tag-cloud .tag-cloud-link {
    align-items: center;
    background-color: var(--f7-chip-bg-color);
    border-radius: var(--f7-chip-height);
    box-sizing: border-box;
    color: var(--f7-chip-text-color);
    display: inline-flex;
    font-size: var(--f7-chip-font-size) !important;
    font-weight: var(--f7-chip-font-weight);
    height: var(--f7-chip-height);
    line-height: var(--f7-chip-height);
    margin: 2px 0;
    padding-left: var(--f7-chip-padding-horizontal);
    padding-right: var(--f7-chip-padding-horizontal);
    position: relative;
    vertical-align: middle;
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Verse
|------------------------------------------------------------------------------
*/

.wp-block-verse {
    background: var(--f7-page-bg-color);
    border-radius: var(--f7-block-inset-border-radius);
    overflow: auto;
    padding: var(--f7-block-padding-vertical) var(--f7-block-padding-horizontal);
}

/*
|------------------------------------------------------------------------------
| Gutenberg Block - Video
|------------------------------------------------------------------------------
*/

.wp-block-video {
    max-width: 100%;
    overflow: hidden;
}

.wp-block-video video {
    border-radius: var(--f7-block-inset-border-radius);
    display: block;
    height: auto;
    max-width: 100%;
}

.wp-block-video figcaption {
    margin-top: 8px;
}

.wp-block-video.alignleft, .wp-block-video .alignleft {
    text-align: left;
}

[dir=rtl] .wp-block-video.alignleft, [dir=rtl] .wp-block-video .alignleft {
    text-align: right;
}

.wp-block-video.aligncenter, .wp-block-video .aligncenter {
    text-align: center;
}

.wp-block-video.alignright, .wp-block-video .alignright {
    text-align: right;
}

[dir=rtl] .wp-block-video.alignright, [dir=rtl] .wp-block-video .alignright {
    text-align: left;
}

.wp-block-video.alignleft video, .wp-block-video .alignleft video {
    margin-left: 0;
    margin-right: auto;
}

[dir=rtl] .wp-block-video.alignleft video, [dir=rtl] .wp-block-video .alignleft video {
    margin-left: auto;
    margin-right: 0;
}

.wp-block-video.aligncenter video, .wp-block-video .aligncenter video {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-video.alignright video, .wp-block-video .alignright video {
    margin-left: auto;
    margin-right: 0;
}

[dir=rtl] .wp-block-video.alignright video, [dir=rtl] .wp-block-video .alignright video {
    margin-left: 0;
    margin-right: auto;
}

/*
|------------------------------------------------------------------------------
| Utilities
|------------------------------------------------------------------------------
*/

.entry .has-drop-cap:first-letter {
    float: left;
    font-family: var(--f7-font-family-serif);
    font-size: 500%;
    font-weight: 900;
    line-height: 0.825em;
    padding-right: 0.125em;
}

[dir=rtl] .entry .has-drop-cap:first-letter {
    float: unset;
    font-family: unset;
    font-size: unset;
    font-weight: unset;
    line-height: unset;
    padding-right: unset;
}

.entry .has-small-font-size {
    font-size: calc(var(--f7-font-size) - 2px);
}

.entry .has-normal-font-size {
    font-size: var(--f7-font-size);
}

.entry .has-large-font-size {
    font-size: calc(var(--f7-font-size) + 2px);
}

.entry .has-larger-font-size {
    font-size: calc(var(--f7-font-size) + 4px);
}

.entry .has-text-align-left {
    text-align: left;
}

[dir=rtl] .entry .has-text-align-left {
    text-align: right;
}

.entry .has-text-align-center {
    text-align: center;
}

.entry .has-text-align-right {
    text-align: right;
}

[dir=rtl] .entry .has-text-align-right {
    text-align: left;
}