.vilva-has-blocks.full-width .wp-block-cover-image .wp-block-cover__inner-container, 
.vilva-has-blocks.full-width .wp-block-cover .wp-block-cover__inner-container, 
.vilva-has-blocks.full-width-centered .wp-block-cover-image .wp-block-cover__inner-container, 
.vilva-has-blocks.full-width-centered .wp-block-cover .wp-block-cover__inner-container {
  max-width: 1170px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.vilva-has-blocks.full-width-centered .wp-block-cover-image .wp-block-cover__inner-container, 
.vilva-has-blocks.full-width-centered .wp-block-cover .wp-block-cover__inner-container {
  max-width: 840px;
}

.single .site-main .has-article-meta .alignfull, 
.single .site-main .has-article-meta .alignwide {
  position: relative;
}

.vilva-has-blocks .site-main .entry-content p img {
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
}

.has-large-font-size,
.has-larger-font-size, 
.has-huge-font-size {
  line-height: 1.3;
}

.wp-block-image + h1, 
.wp-block-image + h2, 
.wp-block-image + h3, 
.wp-block-image + h4, 
.wp-block-image + h5, 
.wp-block-image + h6 {
  clear: none;
}

.wp-block-cover-image, 
.wp-block-cover {
  padding: 5% 10%;
}

.wp-block-separator {
  background-color: transparent;
  border-bottom: 5px solid rgba(var(--font-color-rgb), 0.15);
  margin: 2em 0;
  height: auto;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
  max-width: 100px;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-separator.is-style-wide {
  border-bottom-width: 5px;
}

.wp-block-separator.is-style-dots {
  color: var(--font-color);
}

.wp-block-separator.is-style-dots::before {
  font-size: 1.6667em;
  letter-spacing: 1.5em;
  padding-left: 1.5em;
}

.wp-block-embed {
  margin: 0;
}

.wp-block-quote.is-style-large, 
.wp-block-quote.is-large {
  padding: 10% 5%;
}

.wp-block-quote.is-style-large {
  text-align: left;
  padding: 40px 50px;
}

.wp-block-quote.is-style-large::before {
  right: auto;
  left: 50px;
}

.vilva-has-blocks .wp-block-gallery .blocks-gallery-caption, 
.wp-block-table figcaption, 
.wp-block-embed figcaption {
  width: 100%;
  margin-top: 0;
  margin-bottom: 1.5em;
  font-size: 0.7778em;
  color: #999;
  text-align: center;
}

.wp-block-embed figcaption {
  margin-top: 1em;
}

.single .site-main .entry-content .wp-block-gallery .blocks-gallery-item, 
.page .site-main .entry-content .wp-block-gallery .blocks-gallery-item {
  background: none;
  padding-left: 0;
}

.wp-block-file {
  background: rgba(var(--primary-color-rgb), 0.1);
  padding: 2% 4%;
  margin-bottom: 0.7em;
}

.wp-block-file.aligncenter {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-file.alignfull {
  text-align: center;
}

.wp-block-file a {
  display: inline-block;
  color: var(--font-color);
}

.wp-block-file .wp-block-file__button {
  background: var(--primary-color);
  padding: 0.7em 1.5em;
  font-size: 0.9em;
  line-height: 1.3;
}

.wp-block-table.is-style-stripes {
  border-bottom: none;
}

.wp-block-table table tr th, 
.wp-block-table table tr td {
  border: 1px solid rgba(var(--primary-color-rgb), 0.3);
}

.wp-block-table.is-style-stripes tbody tr:nth-child(2n+1) {
  background-color: rgba(var(--primary-color-rgb), 0.1);
}

.wp-block-archives li,
.wp-block-categories li,
.wp-block-pages li,
.wp-block-meta li,
.wp-block-latest-comments li,
.wp-block-recent-entries li,
.wp-block-nav-menu li, 
.wp-block-rss li {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.15);
}

.widget li ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.single .site-main .entry-content .wp-block-archives li,
.single .site-main .entry-content .wp-block-categories li,
.single .site-main .entry-content .wp-block-pages li,
.single .site-main .entry-content .wp-block-meta li,
.single .site-main .entry-content .wp-block-latest-comments li,
.single .site-main .entry-content .wp-block-recent-entries li,
.single .site-main .entry-content .wp-block-nav-menu li, 
.single .site-main .entry-content .wp-block-rss li, 
.page .site-main .entry-content .wp-block-archives li,
.page .site-main .entry-content .wp-block-categories li,
.page .site-main .entry-content .wp-block-pages li,
.page .site-main .entry-content .wp-block-meta li,
.page .site-main .entry-content .wp-block-latest-comments li,
.page .site-main .entry-content .wp-block-recent-entries li,
.page .site-main .entry-content .wp-block-nav-menu li, 
.page .site-main .entry-content .wp-block-rss li {
  margin-bottom: 15px;
}

.wp-block-archives li a,
.wp-block-categories li a,
.wp-block-pages li a,
.wp-block-meta li a,
.wp-block-latest-comments li a,
.wp-block-recent-entries li a,
.wp-block-nav-menu li a, 
.wp-block-rss li a {
  color: var(--font-color);
}

.wp-block-archives li a:hover,
.wp-block-categories li a:hover,
.wp-block-pages li a:hover,
.wp-block-meta li a:hover,
.wp-block-latest-comments li a:hover,
.wp-block-recent-entries li a:hover,
.wp-block-nav-menu li a:hover, 
.wp-block-rss li a:hover {
  color: var(--primary-color);
}

/*============================
WIDGET TAG CLOUD
============================*/
.site-main article .entry-content p.wp-block-tag-cloud, 
.single .site-main article .entry-content p.wp-block-tag-cloud, 
.page-template-default .site-main article .entry-content p.wp-block-tag-cloud {
  margin-bottom: 0;
}

.wp-block-tag-cloud a {
  display: inline-block;
  padding: 5px;
  color: rgba(var(--font-color-rgb), 0.65);
  text-decoration: underline;
}

.single .site-main .entry-content p.wp-block-tag-cloud a, 
.page .site-main .entry-content p.wp-block-tag-cloud a {
  padding-bottom: 5px;
  font-family: var(--primary-font);
  font-weight: normal;
  line-height: 1.3;
}

.single .site-main .entry-content p.wp-block-tag-cloud a::before, 
.page .site-main .entry-content p.wp-block-tag-cloud a::before, 
.single .site-main .entry-content p.wp-block-tag-cloud a::after, 
.page .site-main .entry-content p.wp-block-tag-cloud a::after {
  display: none;
}

.single .site-main .entry-content p.wp-block-tag-cloud a:hover, 
.page .site-main .entry-content p.wp-block-tag-cloud a:hover, 
.wp-block-tag-cloud a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/*============================
WIDGET CALENDAR
============================*/
.wp-block-calendar table {
  margin: 0;
  font-size: 0.9em;
  font-family: var(--primary-font);
}

.wp-block-calendar table caption {
  background: var(--secondary-color);
}

.wp-block-calendar table tbody, 
.wp-block-calendar table caption {
  color: var(--font-color);
}

.wp-block-calendar table tr th,
.wp-block-calendar table tr td {
  padding: 10px 0;
  text-align: center;
  font-weight: 700;
  font-size: 1em;
  line-height: 1.5;
  background: none;
  border: none;
}

.wp-block-calendar table tr th {
  border-bottom: 2px solid var(--secondary-color);
}

.wp-block-calendar table tr td {
  font-weight: 400;
}

.wp-block-calendar table tbody tr td#today {
  background: rgba(var(--primary-color-rgb), 0.15);
}

.wp-block-calendar table tr td a {
  display: block;
  color: var(--primary-color);
}

.wp-block-calendar table tr td a:hover {
  text-decoration: none;
  color: var(--font-color);
}

.wp-block-calendar table tfoot {
  border-top: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

.wp-block-calendar table tfoot td#prev {
  text-align: left;
}

.wp-block-calendar table tfoot td#next {
  text-align: right;
}

/*===========================
WIDGET TEXT
===========================*/
.wp-block-text .textwidget {
  font-size: 1em;
  line-height: 1.89;
}

.wp-block-text .textwidget p {
  margin-top: 0;
  margin-bottom: 20px;
}

.wp-block-text .textwidget p:last-child {
  margin-bottom: 0;
}

/*==========================
WIDGET SEARCH 
=========================*/
.wp-block-search .wp-block-search__label {
  margin-bottom: 5px;
}

.wp-block-search .wp-block-search__input {
  width: calc(100% - 50px);
  border: 1px solid rgba(var(--font-color-rgb), 0.1);
  border-right: none;
  height: 60px;
}

.wp-block-search .wp-block-search__button {
  margin: 0;
  width: 50px;
  height: 60px;
  background-color: transparent;
  width: 50px;
  padding: 0;
  text-align: center;
  border-radius: 0; 
  border: 1px solid rgba(var(--font-color-rgb), 0.1);
  border-left: none;
  box-shadow: none;
  text-indent: 60px;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.wp-block-search .wp-block-search__button::before {
  content: "";
  background-color: rgba(var(--font-color-rgb), 0.75);
  -webkit-mask-image: url('data:image/svg+xml; utf-8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="rgba(23,23,23,0.75)" d="M508.5 468.9L387.1 347.5c-2.3-2.3-5.3-3.5-8.5-3.5h-13.2c31.5-36.5 50.6-84 50.6-136C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c52 0 99.5-19.1 136-50.6v13.2c0 3.2 1.3 6.2 3.5 8.5l121.4 121.4c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17zM208 368c-88.4 0-160-71.6-160-160S119.6 48 208 48s160 71.6 160 160-71.6 160-160 160z"></path></svg>');
  mask-image: url('data:image/svg+xml; utf-8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="rgba(23,23,23,0.75)" d="M508.5 468.9L387.1 347.5c-2.3-2.3-5.3-3.5-8.5-3.5h-13.2c31.5-36.5 50.6-84 50.6-136C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c52 0 99.5-19.1 136-50.6v13.2c0 3.2 1.3 6.2 3.5 8.5l121.4 121.4c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17zM208 368c-88.4 0-160-71.6-160-160S119.6 48 208 48s160 71.6 160 160-71.6 160-160 160z"></path></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-position: center;
  mask-position: center;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 20px;
  height: 20px;
}

.wp-block-search .wp-block-search__button:hover::before {
  background-color: var(--primary-color);
}

/*==============================
WP BLOCK LATEST POSTS
==============================*/
.wp-block-latest-posts, 
.single .site-main .entry-content ul.wp-block-latest-posts, 
.page .site-main .entry-content ul.wp-block-latest-posts {
  margin-top: 0;
}

.wp-block-latest-posts li, 
.wp-block-archives li {
  /*display: block;*/
  margin-bottom: 1em;
}

.single .site-main .entry-content .wp-block-latest-posts li, 
.page .site-main .entry-content .wp-block-latest-posts li, 
.single .site-main .entry-content .wp-block-archives li, 
.page .site-main .entry-content .wp-block-archives li {
  margin-bottom: 1em;
}

.wp-block-latest-posts li:last-child, 
.single .site-main .entry-content .wp-block-latest-posts li:last-child, 
.page .site-main .entry-content .wp-block-latest-posts li:last-child, 
.wp-block-archives li:last-child, 
.single .site-main .entry-content .wp-block-archives li:last-child, 
.page .site-main .entry-content .wp-block-archives li:last-child {
  margin-bottom: 0;
}

.wp-block-latest-posts li a, 
.wp-block-archives li a {
  display: inline-block;
  color: var(--font-color);
}

.wp-block-latest-posts li a:hover, 
.wp-block-archives li a:hover {
  color: var(--primary-color);
}

/*==============================
WP BLOCK LATEST COMMENTS
==============================*/
.wp-block-latest-comments, 
.single .site-main .entry-content ol.wp-block-latest-comments, 
.page .site-main .entry-content ol.wp-block-latest-comments {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-block-latest-comments__comment {
  font-size: 1em;
}

.single .site-main .entry-content ol li.wp-block-latest-comments__comment, 
.page .site-main .entry-content ol li.wp-block-latest-comments__comment {
  margin-bottom: 1em;
  padding-left: 0;
  counter-increment: none;
}

.single .site-main .entry-content ol li.wp-block-latest-comments__comment::before, 
.page .site-main .entry-content ol li.wp-block-latest-comments__comment::before {
  display: none;
}

.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-meta, 
.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt {
  margin-left: 0;
}

.has-avatars .wp-block-latest-comments__comment img + article .wp-block-latest-comments__comment-meta, 
.has-avatars .wp-block-latest-comments__comment img + article .wp-block-latest-comments__comment-excerpt {
  margin-left: 52px;
}

.wp-block-latest-comments__comment-date {
  font-size: 0.7778em;
}

.wp-block-latest-comments__comment-excerpt p {
  font-size: 0.8888em;
}

.wp-block-pullquote.alignleft {
  padding: 0;
  margin-top: 0;
}

.wp-block-pullquote.alignleft blockquote {
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-pullquote.is-style-default {
  border-top: 4px solid #555d66;
  border-bottom: 4px solid #555d66;
  padding: 1.5em 0;
}

.wp-block-pullquote.is-style-default blockquote {
  border-left: none;
  padding-left: 0;
}

.wp-block-pullquote cite, 
.wp-block-pullquote footer, 
.wp-block-pullquote__citation {
  text-transform: uppercase;
  font-size: 0.7778em;
  font-style: normal;
}

.wp-block-pullquote.is-style-solid-color blockquote {
  margin: 0;
  border-left: none;
  padding: 1em;
  max-width: 100%;
  font-size: 1em;
}

.wp-block-pullquote.is-style-solid-color blockquote p {
  font-size: 1.1112em;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
  padding-left: 0;
}

.wp-block-media-text.has-media-on-the-left .wp-block-media-text__content {
  padding-right: 0;
}

.wp-block-button__link:hover {
  text-decoration: none;
}

.wp-block-gallery .blocks-gallery-image, 
.wp-block-gallery .blocks-gallery-item, 
.blocks-gallery-grid .blocks-gallery-image, 
.blocks-gallery-grid .blocks-gallery-item {
  flex-grow: initial;
}

@media screen and (max-width: 1366px) {
  .single.vilva-has-blocks.full-width-centered .site-main article .article-meta + .content-wrap, 
  .page-template-default.vilva-has-blocks.full-width-centered .site-main article .article-meta + .content-wrap, 
  .single.vilva-has-blocks.full-width .site-main article .article-meta + .content-wrap, 
  .page-template-default.vilva-has-blocks.full-width .site-main article .article-meta + .content-wrap {
    padding-right: 80px;
    padding-left: 0;
  }
}

@media screen and (max-width: 1199px) {
  .vilva-has-blocks.full-width .wp-block-cover-image .wp-block-cover__inner-container, 
  .vilva-has-blocks.full-width .wp-block-cover .wp-block-cover__inner-container, 
  .vilva-has-blocks.full-width-centered .wp-block-cover-image .wp-block-cover__inner-container, 
  .vilva-has-blocks.full-width-centered .wp-block-cover .wp-block-cover__inner-container {
    max-width: 1000px;
  }
}

@media screen and (max-width: 1024px) {
  .vilva-has-blocks.full-width .wp-block-cover-image .wp-block-cover__inner-container, 
  .vilva-has-blocks.full-width .wp-block-cover .wp-block-cover__inner-container, 
  .vilva-has-blocks.full-width-centered .wp-block-cover-image .wp-block-cover__inner-container, .vilva-has-blocks.full-width-centered .wp-block-cover .wp-block-cover__inner-container {
    max-width: 768px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media screen and (max-width: 767px) {
  .vilva-has-blocks.full-width .wp-block-cover-image .wp-block-cover__inner-container, 
  .vilva-has-blocks.full-width .wp-block-cover .wp-block-cover__inner-container, 
  .vilva-has-blocks.full-width-centered .wp-block-cover-image .wp-block-cover__inner-container, .vilva-has-blocks.full-width-centered .wp-block-cover .wp-block-cover__inner-container {
    max-width: 420px;
  }

  .single.vilva-has-blocks.full-width-centered .site-main article .article-meta + .content-wrap, 
  .page-template-default.vilva-has-blocks.full-width-centered .site-main article .article-meta + .content-wrap {
    padding-right: 0;
  }

  .vilva-has-blocks.full-width .wp-block-cover-image .wp-block-cover__inner-container, 
  .vilva-has-blocks.full-width .wp-block-cover .wp-block-cover__inner-container, 
  .vilva-has-blocks.full-width-centered .wp-block-cover-image .wp-block-cover__inner-container, 
  .vilva-has-blocks.full-width-centered .wp-block-cover .wp-block-cover__inner-container {
    padding-left: 0 !important;
  }
}