@charset "UTF-8";

/*
Plugin: TFM Theme Boost
Author: 3FortyMedia
Author URI: http://www.3forty.media
Description: Theme Boost styles
Version: 1.0
*/

:root {
	--white:  #ffffff;
	--black:  #000000;
	--very-dark-grey:  #131315;
	--dark-grey: #44464b;
	--medium-grey:  #94979e;
	--light-grey: #cfd0d2;
	--very-light-grey: #f2f2f3;
	--off-white: #f7f8fa;
	--tfm-star-rating-color: #f8c265;
	--tfm-post-block-wide-sidebar-width: calc((100% - (var(--cols-3-post-margin) * 2)) / 3);
	--tfm-post-block-sidebar-width: calc((100% - (var(--cols-4-post-margin) * 3)) / 4);
	--tfm-post-block-header-padding: var(--post-margin);
	--tfm-post-block-width: calc(100% - var(--tfm-post-block-sidebar-width) - var(--post-margin));
	--grid-offset-entry-title-font-size: 2.125rem;
	--grid-offset-half-entry-title-font-size: var(--cols-2-entry-title-font-size);
	--grid-offset-half-entry-title-font-size-offset: var(--cols-4-entry-title-font-size);
	--tfm-posts-widget-thumbnail-max-width:90px;
	}

/* -------------------------------------------------------------------------- */
/*	Ratings
/* -------------------------------------------------------------------------- */
/*.tfm-post-block.grid-offset-half.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,*/

.tfm-ratings {
	display: flex;
	gap: var(--tfm-star-rating-flex-gap, 0.5rem);
	align-items: center;
}
.tfm-ratings span[class*="tfm-rating"] {
	font-size: var(--tfm-ratings-font-size, 0.8125rem);
	font-weight: var(--tfm-ratings-font-weight, 600);
	font-family: var(--tfm-ratings-font-family,var(--title-font));
	color: var(--tfm-rating-text-color, var(--entry-meta-link-color));
	line-height: normal;
}
.tfm-rating-stars {
	display: flex;
	gap: var(--tfm-ratings-stars-flex-gap, 0.125rem);
}
.tfm-rating-stars .star {
	width: var(--tfm-ratings-star-width, 13px);
	height: var(--tfm-ratings-star-height, 13px);
	display: inline-block;
	position: relative;
	font-size: var(--tfm-ratings-star-font-size, 13px);
}
.tfm-rating-stars .star::before {
	font-family: fontello;
	content: "\e822";
	color:  var(--tfm-star-rating-color);
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	opacity: 0.33;
}
.tfm-rating-stars .star:not(.none)::after {
	font-family: fontello;
	content: "\e822";
	color:  var(--tfm-star-rating-color);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
.tfm-rating-stars .star.half::after {
	content: "\e823";
}
.tfm-single-rating .tfm-rating-stars .star {
	width: var(--single-ratings-star-width, 18px);
	height: var(--single-ratings-star-height, 18px);
	font-size: var(--tfm-single-ratings-star-font-size, 17px);
}
.cover.has-post-media .tfm-rating-stars .star::before,
.cover.has-post-media .tfm-rating-stars .star::after {
	color: var(--tfm-star-rating-color-cover, var(--tfm-star-rating-color));
}
/* Scale */
.tfm-rating-scale {
	width: 100%;
	max-width: var(--tfm-rating-scale-max-width, 120px);
	height: var(--tfm-rating-scale-height, 6px);
	background: linear-gradient(to right, var(--tfm-rating-scale-low-color, #EECDA3), var(--tfm-rating-scale-high-color, #EF629F));
	display: inline-block;
	position: relative;
	border-radius: var(--tfm-rating-scale-border-radius, 2px);
	display:flex;
}
.tfm-rating-scale .scale {
	position: absolute;
	top: 0;
	right: -1px;
	background: var(--tfm-rating-scale-color, var(--very-light-grey));
	height: var(--tfm-rating-scale-height, 6px);
	border-radius: 0 var(--tfm-rating-scale-border-radius, 2px) var(--tfm-rating-scale-border-radius, 2px) 0;
}
.tfm-rating-scale span:not(.scale){
	width:25%;
	height: var(--tfm-rating-scale-height, 6px);
	position: relative;
}
.tfm-rating-scale span:not(.scale)::after {
	content:'';
	width:1px;
	height:100%;
	position: absolute;
	top:0;
	right:-1px;
	background: #fff;
}
.tfm-rating-scale span:nth-child(5)::after {
	content:none;
}
/* -------------------------------------------------------------------------- */
/*	Posts widget
/* -------------------------------------------------------------------------- */
.widget [class*="tfm-"]:not(.has-subtitle).has-title {
	margin-top: 1.625rem;
}

.widget.tfm_posts_widget .widget-subtitle {
	margin-bottom: 1.5rem;
}
.widget.tfm_posts_widget .post-grid {
	gap: var(--tfm-posts-widget-flex-gap, 1.25rem);
	flex-direction: column;
}
.widget.tfm_posts_widget .post-grid .article {
/*	border-bottom: 1px solid var(--widget-border-color);*/
/*	padding-bottom: var(--tfm-posts-widget-flex-gap, 1.25rem);*/
}
.widget.tfm_posts_widget .post-grid.has-post-thumbnails .article,
.widget.tfm_posts_widget .post-grid .article:last-child {
	border:0;
	padding-bottom: 0;
}
.widget.tfm_posts_widget .post-grid .article .post-inner {
	gap: var(--tfm-posts-widget-entry-flex-gap, var(--entry-wrapper-flex-gap));
}
.widget.tfm_posts_widget .article .entry-title {
	font-size: var(--tfm-posts-widget-entry-title-font-size, 1.25rem);
	font-weight: 600;
}
.widget.tfm_posts_widget .entry-meta li {
	border:0;
}
.widget.tfm_posts_widget .post-grid:not(.has-avatar) .entry-meta.after-title li,
.widget.tfm_posts_widget .post-grid[class*="list"].has-avatar .article.has-post-media:not(.first-grid) .entry-meta.after-title li  {
	line-height:1;
}
.widget.tfm_posts_widget .widget-entry .entry-meta a:not([class*="cat-link"]) {
    font-weight: 500;
}
.widget.tfm_posts_widget .category-meta .categories a {
	font-size: var(--category-meta-font-size);
}
.widget.tfm_posts_widget .entry-meta a:not([class*="cat-link"]) {
	font-size: var(--entry-meta-font-size);
	padding:0;
	display:revert;
}
.widget.tfm_posts_widget .post-grid .article .post-meta .tfm-view-count {
	display:revert;
}
.widget.tfm_posts_widget .excerpt {
	font-size: 15px;
	color: var(--widget-color, var(--entry-meta-color));
}
/* list w/thumbs */
.widget.tfm_posts_widget .post-grid[class*="list"] .article.has-post-media:not(.cover):not(.first-grid) .post-inner {
	gap: var(--tfm-posts-widget-entry-flex-gap, var(--entry-wrapper-flex-gap));
	flex-direction: row;
}
.widget.tfm_posts_widget .post-grid[class*="list"] .article.has-post-media:not(.cover):not(.first-grid) .post-inner > * {
    flex-basis: 50%;
    flex-grow: 1;
    gap: 0.5rem;
}
.widget.tfm_posts_widget .post-grid[class*="list"] .article.has-post-media:not(.cover):not(.first-grid) .thumbnail-wrapper {
    max-width: var(--tfm-posts-widget-thumbnail-max-width);
    order:1;
}
.widget.tfm_posts_widget .round-thumbnails[class*="list"] .article:not(.cover):not(.first-grid) .post-thumbnail,
.widget.tfm_posts_widget .round-thumbnails.show-post-count:not(.grid) .article:not(.cover)::before {
	border-radius: 50%;
}
.widget.tfm_posts_widget .post-grid[class*="list"] .article.has-post-media:not(.cover):not(.first-grid) .entry-title,
.widget.tfm_posts_widget .post-grid[class*="list"].show-post-count .article:not(.cover):not(.first-grid) .entry-title {
	font-size: var(--tfm-posts-widget-list-thumb-entry-title-size, 1.125rem);
}
.widget.tfm_posts_widget .entry-title a {
	color: var(--widget-link-color, var(--entry-title-color));
}
/* list first grid */

.tfm_posts_widget .show-post-count {
	counter-reset: post-count;
}
.tfm_posts_widget .show-post-count .article:not(.has-post-media) {
	padding-left: 40px;
}
.tfm_posts_widget .show-post-count.has-post-thumbnails .article:not(.has-post-media) {
	padding-left: calc(var(--tfm-posts-widget-thumbnail-max-width) + var(--tfm-posts-widget-entry-flex-gap, var(--entry-wrapper-flex-gap)));
}
.tfm_posts_widget .show-post-count .article::before {
    content: "0" counter(post-count);
    counter-increment: post-count;
    z-index: 2000;
    color: var(--widget-link-color);
    font-size: 20px;
    position: absolute;
    left:0;
    top:0;
		font-weight: 600;
}
.tfm_posts_widget .show-post-count.has-category-meta .article::before {
    top:-4px;
}
.tfm_posts_widget .show-post-count .article:nth-child(n+10)::before {
    content: counter(post-count);
}
.tfm_posts_widget .show-post-count.has-post-thumbnails .article::before {
	width:var(--tfm-posts-widget-thumbnail-max-width, 90px);
	height: var(--tfm-posts-widget-thumbnail-max-width, 90px);
	display:flex;
	justify-content: center;
	align-items: center;
	background: var(--cover-overlay-gradient);
	top:0;
	color: var(--cover-primary-color);
	border-radius: var(--post-thumbnail-border-radius);
	font-size: 18px;
}
/* grid  */
.tfm_posts_widget .show-post-count.grid.has-post-thumbnails .article::before,
.tfm_posts_widget .show-post-count.has-post-thumbnails .article.first-grid::before {
	width:50px;
	height:50px;
	top:5px;
}
.tfm_posts_widget .show-post-count.grid.has-post-thumbnails.has-category-meta .article::before {
	top:0;
}
.tfm_posts_widget .show-post-count.grid.has-post-thumbnails .article.has-post-media::before,
.tfm_posts_widget .show-post-count.has-post-thumbnails .article.first-grid.has-post-media::before {
	top:10px;
	left:10px;
}
.tfm_posts_widget .show-post-count.grid.has-post-thumbnails .article:not(.has-post-media) {
  padding-left: 65px;
}
.tfm_posts_widget .post-grid[data-order-by="post_views"] .tfm-view-count .count {
	font-weight: 600;
	color: var(--entry-meta-link-color);
}
/* -------------------------------------------------------------------------- */
/*	Ads
/* -------------------------------------------------------------------------- */

.tfm-after-header.advert,
.tfm-before-header.advert,
.tfm-before-footer.advert {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	max-width: 100%;
	padding-left: var(--wrapper-side-gutter);
	padding-right: var(--wrapper-side-gutter);
	padding-top: var(--global-primary-elements-margin);
}
.tfm-before-footer.advert {
	padding-top: 0;
}
.tfm-site-header-sidebar,
.tfm-after-header.advert {
	display: flex;
	justify-content: center;
}
@media (min-width: 1200px) {
	.tfm-after-header.advert > *,
	.tfm-before-footer.advert > * {
		max-width: var(--site-max-width);
		display:flex;
		justify-content: center;
		margin: 0 auto;
	}
}
/* fix mobile sticky header with advert (override js hide) */
@media(max-width:1060px) {
	.tfm-before-header.advert {
		display: flex !important;
	}
}

/* -------------------------------------------------------------------------- */
/*	Post blocks
/* -------------------------------------------------------------------------- */

.has-tfm-post-blocks.home:not(.has-sidebar) .wrap-inner {
	max-width: 100%;
}

.tfm-homepage-post-blocks {
  display: flex;
  flex-direction: column;
  gap: var(--post-margin);
}
.tfm-post-block-wrap {
/*	gap: var(--global-inner-elements-margin, 2rem);*/
gap: calc( var(--post-margin) * 2);
	display:flex;
	flex-wrap: wrap;
	margin-left:auto;
	margin-right:auto;
	width:100%;
	max-width: var(--site-max-width);
}
.tfm-post-block {
	width:100%;
	margin:0 auto;
}
.tfm-post-block.masonry {
	width:calc(100% + var(--post-margin));
	max-width: calc(100% + var(--post-margin));
}
.masonry.tfm-post-block[data-fullwidth="true"] {
/*	max-width: 100%;*/
}
.tfm-post-block-wrap[data-fullwidth="true"] {
	max-width: 100%;
}
.tfm-post-block-background-wrapper {
	width:100%;
	max-width: var(--site-max-width);
	margin-left:auto;
	margin-right: auto;
	padding: calc(var(--post-margin) * 2) var(--wrapper-side-gutter);
	border-radius: var(--default-border-radius);
/*	margin-top: var(--post-margin);*/
}
.tfm-post-block-background-wrapper[data-fullwidth="true"] + .tfm-post-block-background-wrapper[data-fullwidth="true"] {
	margin-top: calc(0px - var(--post-margin));
}
/*.tfm-post-block-wrap + .tfm-post-block-wrap.header-side,*/
.tfm-post-block-background-wrapper + .tfm-post-block-wrap,
.tfm-post-block-wrap[data-fullwidth="false"] + .tfm-post-block-wrap[data-fullwidth="true"]  {
/*	margin-top: calc(var(--global-inner-elements-margin) - var(--default-post-margin));*/
}
.tfm-post-block-background-wrapper + .tfm-post-block-wrap:not(.header-top) {
/*	margin-top: calc(var(--global-inner-elements-margin) - var(--default-post-margin));*/
/*margin-top: 20px;*/
}
.tfm-post-block-wrap[data-margins="false"] + .tfm-post-block-wrap[data-margins="false"]:not([class*="header-"]) {
/*	margin-top: calc(0px - var(--default-post-margin));*/
}
.tfm-post-block-background-wrapper[data-fullwidth="true"],
.has-sidebar .tfm-post-block-background-wrapper[data-fullwidth="true"],
.tfm-homepage-post-blocks > .tfm-post-block-wrap[data-fullwidth="true"][data-margins="false"] {
	width:auto; /* reset width */
	max-width: calc(100% + (var(--wrapper-side-gutter) * 2));
	margin-left: calc(0px - var(--wrapper-side-gutter));
	margin-right: calc(0px - var(--wrapper-side-gutter));
	border-radius: 0;
}
/* Grid Offset */
.post-grid.tfm-post-block-offset-wrapper[data-offset-meta="minimal"] .hentry-footer {
	display: none;
}
.post-grid.tfm-post-block-offset-wrapper[data-offset-meta="minimal"] .article.has-tfm-post-views .tfm-view-count {
	display:block;
}
.tfm-post-block-offset-wrapper {
	flex-basis: calc(100% / 3 - ((var(--cols-3-post-margin) * 2) / 3));
}
.tfm-post-block.post-grid.grid-offset[class*="cols"] .tfm-post-block-offset-wrapper .article {
	flex-basis: 100%;
	width:100%;
}
.tfm-post-block.post-grid[class*="offset"] > .article {
	flex-basis: calc(var(--cols-3-flex-basis) * 2);
	flex-grow: 1;
}
.tfm-post-block.grid-offset[class*="cols"].post-grid > .article h3.entry-title {
	font-size: var(--grid-offset-entry-title-font-size);
}
.tfm-post-block.grid-offset-half[class*="cols"].post-grid > .article h3.entry-title,
.tfm-post-block.grid-offset-sides[class*="cols"].post-grid > .article h3.entry-title,
.tfm-post-block.grid-list-half[class*="cols"].post-grid > .article h3.entry-title {
	font-size: var(--grid-offset-half-entry-title-font-size);
}
.tfm-post-block-offset-wrapper .excerpt, .tfm-post-block-offset-wrapper .entry-read-more {
  display: none;
}
.tfm-post-block.grid-offset.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title {
  font-size: var(--cols-3-entry-title-font-size);
}
@media(min-width:1061px) {
	.tfm-post-block.grid-offset-half.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
	.tfm-post-block.grid-offset-sides.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title {
		font-size: var(--cols-4-entry-title-font-size);
	}
}
.tfm-post-block-offset-wrapper.list .article .entry-title {
	font-size: var(--cols-4-entry-title-font-size);
}
/* offset half  */
.tfm-post-block.grid-offset-half .tfm-post-block-offset-wrapper {
	flex-basis: var(--cols-2-flex-basis);
}
.tfm-post-block.grid-offset-half[class*="cols"] > .article {
	flex-basis: var(--cols-2-flex-basis);
}
.tfm-post-block.post-grid.grid-offset-half .tfm-post-block-offset-wrapper .article {
	flex-basis: var(--cols-2-flex-basis);
}
/* offset sides */
.tfm-post-block.grid-offset-sides[class*="cols"] > .article {
	flex-basis: var(--cols-2-flex-basis);
}
.tfm-post-block.grid-offset-sides .tfm-post-block-offset-wrapper {
	flex-basis: var(--cols-4-flex-basis);
}
.tfm-post-block.post-grid.grid-offset-sides[class*="cols"] .tfm-post-block-offset-wrapper .article {
	flex-basis: 100%;
	flex-grow: 1;
}
/* grid/list half  */
.tfm-post-block.grid-list-half .tfm-post-block-offset-wrapper {
	flex-basis: calc(100% / 2 - (var(--cols-2-post-margin) / 2));
}
.tfm-post-block.post-grid.grid-list-half[class*="cols"] > .article {
	flex-basis: calc(100% / 2 - (var(--cols-2-post-margin) / 2));
}
.tfm-post-block.post-grid.grid-list-half .tfm-post-block-offset-wrapper .article {
	flex-basis: 100%;
}
.tfm-post-block.post-grid.grid-list-half .tfm-post-block-offset-wrapper.list .article .thumbnail-wrapper,
.tfm-post-block.post-grid.grid-list-half .tfm-post-block-offset-wrapper.list .article .tfm-featured-media {
	max-width: calc(100% / 3);
}
.tfm-post-block.post-grid.grid-list-half .tfm-post-block-offset-wrapper.list .article:last-child {
	margin-bottom: auto;
}
/* List */
@media (min-width: 1061px) {
	.tfm-post-block.post-grid.list.cols-2 .article.has-post-media:not(.has-background) .post-inner,
	.tfm-post-block.post-grid.list.cols-3 .article.has-post-media:not(.has-background) .post-inner,
	.tfm-post-block.post-grid.list.cols-4 .article.has-post-media:not(.has-background) .post-inner,
	.tfm-post-block.post-grid.grid-list-half .tfm-post-block-offset-wrapper.list .article .post-inner {
		gap: var(--entry-wrapper-flex-gap);
	}
}
.tfm-post-block.list.cols-2 .entry-wrapper,
.tfm-post-block.list.cols-3 .entry-wrapper,
.tfm-post-block.list.cols-4 .entry-wrapper,
.tfm-post-block.grid-list-half .tfm-post-block-offset-wrapper .entry-wrapper {
	gap: calc(var(--entry-wrapper-flex-gap) / 1.5);
}
.tfm-post-block.list.cols-2 .article.has-post-media:not(.cover) .thumbnail-wrapper,
.tfm-post-block.list.cols-2 .article.has-post-media:not(.cover) .tfm-featured-media {
  max-width: var(--list-small-post-thumbnail-max-width, 33%);
}
.tfm-post-block.list.cols-3 .article.has-post-media:not(.cover) .thumbnail-wrapper,
.tfm-post-block.list.cols-3 .article.has-post-media:not(.cover) .tfm-featured-media {
  max-width: var(--list-small-post-thumbnail-max-width, 33%);
}
.tfm-post-block.list.cols-4 .article.has-post-media:not(.cover) .thumbnail-wrapper,
.tfm-post-block.list.cols-4 .article.has-post-media:not(.cover) .tfm-featured-media {
  max-width: var(--list-small-post-thumbnail-max-width, 33%);
}
.tfm-post-block.list.cols-2 .article .entry-title {
	font-size: var(--cols-4-entry-title-font-size);
}
.tfm-post-block.list.cols-3 .article .entry-title,
.header-side .tfm-post-block-offset-wrapper.list .article .entry-title,
.has-sidebar.has-tfm-post-blocks .tfm-post-block-offset-wrapper.list .article .entry-title {
	font-size: calc(var(--cols-4-entry-title-font-size) - 0.125rem);
}
.tfm-post-block.list.cols-4 .article .entry-title {
	font-size: 1rem;
}
/* -------------------------------------------------------------------------- */
/*	w/header side or sidebar
/* -------------------------------------------------------------------------- */
/*.tfm-post-block-wrap.has-block-sidebar,*/
.tfm-post-block-wrap.header-side {
  justify-content: space-between;
  gap: var(--tfm-post-blocks-post-margin, var(--post-margin));
}
.tfm-post-block-wrap.header-side .post-grid:not(.tfm-post-block-offset-wrapper) {
  flex-basis: var(--tfm-post-block-width);
  flex-grow:1;
}
.tfm-post-block-wrap.header-side .post-grid.grid-offset-half .tfm-post-block-offset-wrapper,
.has-sidebar.has-tfm-post-blocks .tfm-post-block-wrap .post-grid.grid-offset-sides .tfm-post-block-offset-wrapper {
  flex-grow:1;
}
.tfm-post-block-wrap.header-side[data-columns="1"] .post-grid:not(.tfm-post-block-offset-wrapper),
.tfm-post-block-wrap.header-side[data-columns="2"] .post-grid:not(.tfm-post-block-offset-wrapper) {
	flex-basis: calc(100% - var(--tfm-post-block-wide-sidebar-width) - var(--post-margin));
}

/* -------------------------------------------------------------------------- */
/*	Section header (side and top)
/* -------------------------------------------------------------------------- */
.header-top:not(.block-1) .tfm-post-block-header.section-header {
	margin-top: calc(var(--post-margin) - 5px);
}
.tfm-post-block-sidebar + .header-top .tfm-post-block-header.section-header {
	margin-top: -5px;
}
.tfm-post-block-header.section-header .section-header-inner {
	display:flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--tfm-post-block-section-header-flex-gap, 1.5rem);
	flex-direction: column;
	width:100%;
}
.section-header-inner > * {
	max-width: var(--content-max-width);
}
.tfm-post-block-header .section-header-section.title {
/*	width:100%;*/
}
.tfm-post-block-title.xlarge {
	font-size: var(--tfm-section-header-xlarge-title-font-size, var(--h1-font-size));
}
.tfm-post-block-title.large {
	font-size: var(--tfm-section-header-large-title-font-size, var(--h2-font-size));
}
.tfm-post-block-title,
.tfm-post-block-title.medium {
	font-size: var(--tfm-section-header-xlarge-title-font-size, var(--h3-font-size));
}
.tfm-post-block-title.small {
	font-size: var(--tfm-section-header-small-title-font-size, var(--h4-font-size));
}
.tfm-post-block-header .tfm-post-block-title a {
	color: var(--section-header-color);
}
.tfm-post-block-header .tfm-post-block-title a::after {
	font-family: fontello;
	content: '\e33d';
	font-size: 20px;
	margin-left: 5px;
	font-weight: normal;
	transition: all 0.3s ease;
	opacity: 0.4;
}
.tfm-post-block-header .tfm-post-block-title a:hover::after {
	opacity: 1;
}
.tfm-post-block-wrap[data-fullwidth="true"] .tfm-post-block-header.has-background {
	max-width: 100%;
}
.header-side .tfm-post-block-header {
  flex-basis: var(--tfm-post-block-sidebar-width);
  flex-direction: column;
  gap: var(--tfm-post-block-sidebar-flex-gap, 2rem);
  align-items: flex-start;
}
.header-side .tfm-post-block-header .section-header-inner {
	align-items: flex-start;
	text-align: left;
	height:100%;
}
.header-side .tfm-post-block-header .tfm-link-more a {
  display:block;
  font-weight: 600;
}
.header-side .tfm-post-block-header .tfm-link-more a::after {
  float:right;
}
.tfm-post-block-wrap.header-side[data-columns="1"] .section-header,
.tfm-post-block-wrap.header-side[data-columns="2"] .section-header {
  flex-basis: var(--tfm-post-block-wide-sidebar-width);
}
.tfm-post-block-header.has-background {
	border-radius: var(--default-border-radius);
	padding: var(--tfm-post-block-header-padding);
}
.tfm-homepage-post-blocks > .tfm-post-block-wrap[data-margins="false"][data-fullwidth="true"].header-side .tfm-post-block-header {
	border-radius: 0;
}
.tfm-post-block-wrap.header-side .tfm-post-block-header {
	padding: var(--tfm-post-block-header-padding);
}
.tfm-post-block-wrap[data-margins="false"].header-side .tfm-post-block-header {
	padding-right: var(--tfm-post-block-header-padding);
}
.tfm-homepage-post-blocks > .tfm-post-block-wrap[data-margins="false"][data-fullwidth="true"].header-side .tfm-post-block-header:not(.has-border):not(.has-background ) {
	padding-left: var(--tfm-post-block-header-padding);
}
.tfm-post-block-header .section-header-section.description {
	/*display:flex;
	width:100%;*/
	font-size: var(--excerpt-font-size);
	color: var(--excerpt-color);
}
.tfm-post-block-header .section-header-section.link-more-section {
/*	margin-left: auto;
	padding-top:13px;
	padding-bottom: 13px;*/
}
.header-side .tfm-post-block-header:not(.has-background) {
	border: 1px solid var(--default-border-color);
}
.header-side[data-margins="false"][data-thumbnails="true"] .tfm-post-block-header {
	border-right: 0;
}
.tfm-post-block-wrap.header-side .tfm-post-block-header .section-header-section.title {
	position: relative;
}
.tfm-post-block-wrap.header-side .tfm-post-block-header .link-more-section {
	order:3;
	margin-top: auto;
	border-left:0;
	border-top: 1px solid var(--default-border-color);
	padding:0;
	padding-top: calc(var(--tfm-post-block-header-padding) - 6px);
	margin-left:0;
	width:100%;
}
.tfm-post-block-header .tfm-link-more a {
	font-weight: 700;
	color: var(--section-header-color);
}
.tfm-post-block-header .tfm-link-more a::after {
	font-family: fontello;
	content: '\e33d';
	margin-left: 5px;
	font-weight: normal;
	opacity: 0.4;
}
.tfm-post-block-sidebar {
	max-width: var(--site-max-width);
	margin-left:auto;
	margin-right: auto;
	text-align: center;
	margin-top: var(--post-margin);
	margin-bottom: var(--post-margin);
}
.tfm-post-block-sidebar > * {
	margin:auto;
}
.sidebar-top .tfm-post-block-sidebar,
.sidebar-bottom .tfm-post-block-sidebar {
  flex-basis: 100%;
}
.sidebar-top .tfm-post-block-sidebar {
  order: 1;
}
.sidebar-top .tfm-post-block-header {
  order: 2;
}
.sidebar-top .tfm-post-block {
  order: 3;
}
.sidebar-bottom .tfm-post-block-sidebar {
	order: 4;
}
/* -------------------------------------------------------------------------- */
/*	Post blocks no margins (cover style only)
/* -------------------------------------------------------------------------- */
.tfm-post-block[data-poststyle="cover"][data-margins="false"] {
	--post-margin:0rem !important;
	--cols-2-post-margin: 0rem !important;
	--cols-3-post-margin: 0rem !important;
	--cols-4-post-margin: 0rem !important;
	--mobile-post-margin:0rem !important;
	--cols-2-flex-basis: calc(100% / 2) !important;
	--cols-3-flex-basis: calc(100% / 3) !important;
	--cols-4-flex-basis: calc(100% / 4) !important;
	--tfm-post-block-wide-sidebar-width: calc(100% / 3);
	--tfm-post-block-sidebar-width: calc(100% / 4);
}
.tfm-post-block-wrap.header-side[data-poststyle="cover"][data-margins="false"] {
  --post-margin: 0rem;
}
/* cover format no margins no image */
[data-poststyle="cover"][data-thumbnails="false"][data-margins="false"] .post-grid {
	border: 1px solid var(--default-border-color);
	border-radius: var(--default-border-radius);
}
.tfm-post-block-background-wrapper [data-poststyle="cover"][data-thumbnails="false"][data-margins="false"][data-fullwidth="true"] .post-grid {
	border:0;
}
[data-poststyle="cover"][data-thumbnails="false"][data-margins="false"][data-fullwidth="true"] .post-grid {
	border-left: 0;
	border-right: 0;
	border-radius: 0;
}
[data-poststyle="cover"][data-thumbnails="false"][data-margins="false"] .post-grid .cover:not(.has-post-media) .post-inner {
	border-left:0;
	border-right: 0;
	border-top: 0;
	border-radius: 0;
}
[data-poststyle="cover"][data-thumbnails="false"][data-margins="false"] .post-grid.cols-2 .cover:not(.has-post-media):nth-child(odd):not(:last-child) .post-inner,
[data-poststyle="cover"][data-thumbnails="false"][data-margins="false"] .post-grid.cols-3 .cover:not(.has-post-media):not(:nth-child(3n+3)) .post-inner,
[data-poststyle="cover"][data-thumbnails="false"][data-margins="false"] .post-grid.cols-4 .cover:not(.has-post-media):not(:nth-child(4n+4)) .post-inner  {
	border-right: 1px solid var(--default-border-color);
}
[data-poststyle="cover"][data-thumbnails="false"][data-margins="false"] .post-grid .cover:not(.has-post-media).last-row .post-inner {
	border-bottom: 0;
}
.tfm-post-block-wrap[data-poststyle="cover"][data-thumbnails="true"][data-margins="false"]:not([data-fullwidth="true"]),
.tfm-post-block-wrap .tfm-post-block[data-poststyle="cover"][data-thumbnails="true"][data-margins="false"]:not([data-fullwidth="true"]),
.tfm-post-block-background-wrapper .tfm-post-block[data-poststyle="cover"][data-thumbnails="true"][data-margins="false"] {
	border-radius: var(--default-border-radius);
	overflow: hidden;
}
.tfm-post-block-wrap.header-side .tfm-post-block[data-poststyle="cover"][data-thumbnails="true"][data-margins="false"]:not([data-fullwidth="true"]) {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
/* block header no margins */
/* remove/modify article border radius */
.tfm-post-block[data-margins="false"] .article [class*="thumbnail"],
.tfm-post-block[data-margins="false"] .article [class*="tfm-featured-media"],
.tfm-post-block[data-poststyle="cover"][data-thumbnails="true"][data-margins="false"] .article.cover:not(.has-post-media) .post-inner,
.tfm-post-block-wrap[data-poststyle="cover"][data-thumbnails="true"][data-margins="false"].header-side .tfm-post-block-header.has-background {
	border-radius: 0;
}
.tfm-post-block-wrap.header-side[data-poststyle="cover"][data-thumbnails="true"][data-margins="false"] .tfm-post-block-header,
.tfm-post-block-wrap.header-side[data-poststyle="cover"][data-thumbnails="false"][data-margins="false"] .tfm-post-block-header {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.tfm-post-block-background-wrapper .tfm-post-block-wrap.header-side[data-poststyle="cover"][data-thumbnails="false"][data-margins="false"] .tfm-post-block-header {
	border-top:0;
	border-bottom: 0;
	border-left:0;
}
.tfm-post-block-wrap.header-side[data-margins="false"] .tfm-post-block-header:not(.has-background) + div.tfm-post-block {
	/*border-top-left-radius: var(--default-border-radius);
	border-bottom-left-radius: var(--default-border-radius);
	overflow: hidden;*/
}
.tfm-post-block-background-wrapper .tfm-post-block-header.has-background + div.tfm-post-block[data-margins="false"] {
/*	border-radius: 0;*/
}
.tfm-post-block-background-wrapper .tfm-post-block-wrap[data-margins="false"] {
	/*border-radius: var(--default-border-radius);
	overflow: hidden;*/
}
/* -------------------------------------------------------------------------- */
/*	Misc.
/* -------------------------------------------------------------------------- */

/* Increase margin between not same style blocks for better separation */
.tfm-homepage-post-blocks > .tfm-post-block-wrap[data-separate-block="true"]:not(.header-top):not(.block-1),
.tfm-post-block-background-wrapper[data-separate-block="true"]:not(.block-1) {
	margin-top: var(--post-margin); /* double the gab */
}
.tfm-homepage-post-blocks > .tfm-post-block-wrap[data-separate-block="true"]:not(.header-top):not(.block-1),
.tfm-post-block-background-wrapper[data-separate-block="true"]:not(.block-1) {
	margin-top: var(--post-margin); /* double the gab */
}
.tfm-post-block-wrap[data-margins="false"][data-fullwidth="true"][data-poststyle="cover"] + .tfm-post-block-wrap[data-margins="false"][data-fullwidth="true"][data-poststyle="cover"]:not([data-separate-block="true"]) {
	margin-top: calc(0px - var(--default-post-margin));
}
.tfm-post-block-wrap[data-margins="false"][data-fullwidth="true"][data-poststyle="cover"] + .tfm-post-block-background-wrapper:not([data-separate-block="true"]) {
	margin-top: calc(0px - var(--default-post-margin));
}
.tfm-post-block-wrap[data-margins="false"][data-fullwidth="true"][data-poststyle="cover"] + .tfm-post-block-wrap[data-margins="false"][data-fullwidth="true"][data-poststyle="cover"]:not([data-separate-block="true"]) .post-grid {
  border-top:0;
}
/* remove top margin from theme footer  */
.last-block-full:not(.has-tfm-ad-before-footer) .site-footer.has-custom-background,
.last-block-full:not(.has-tfm-ad-before-footer) .site-footer.has-background {
	margin-top: 0;
}
/* post count format */
.tfm-post-block {
	counter-reset: post-count;
}
.tfm-post-block[data-thumbnails="false"] .article.has-post-count:not(.has-post-media):not(.has-post-format-media):not(.cover) .post-inner > *:not(.hentry-footer):not(.thumbnail-wrapper) {
	padding-left: 40px;
}
.tfm-post-block[data-thumbnails="false"] .article.has-post-count:not(.has-post-format-media) .post-inner::before {
	content: "0" counter(post-count);
  counter-increment: post-count;
  position: absolute;
	top:2px;
	left:0;
	background: none;
	color: var(--tfm-count-color, var(--entry-meta-color));
	margin-left:0;
	font-size: 20px;
	font-weight: 600;
}
.tfm-post-block[data-thumbnails="false"] .article.has-post-count:not(.has-post-format-media).has-category-meta .post-inner::before {
	top:-3px;
}
.post-grid.list .article.has-background:not(.has-post-media):not(.has-post-format-media) .post-inner::before {
  top: calc(var(--cover-inner-elements-margin) - 2px);
}
.tfm-post-block .article.has-post-count:not(.has-post-media):nth-child(n+10) .post-inner::before {
    content: counter(post-count);
}
.tfm-post-block .article.has-post-count:not(.has-post-media).has-background .post-inner::before {
	top: var(--cover-inner-elements-margin);
	left: var(--cover-inner-elements-margin);
}
.tfm-post-block .has-post-count .thumbnail-wrapper a::before,
.tfm-post-block .has-post-count .tfm-featured-media::before,
.tfm-post-block[data-thumbnails="true"] .article.has-post-count:not(.has-post-media) .post-inner::before,
.tfm-post-block[data-thumbnails="false"] .article.has-post-count:not(.has-post-media).cover .post-inner::before {
	content: "0" counter(post-count);
  counter-increment: post-count;
	background: var(--cover-overlay-gradient);
	color: var(--cover-primary-color);
	display:flex;
	justify-content: center;
	align-items: center;
	width:40px;
	height:40px;
	border-radius: var(--post-thumbnail-border-radius);
	position: absolute;
	top:10px;
	left:10px;
	z-index: 300;
	font-weight: 600;
	font-size: 18px;
}
.tfm-post-block[data-thumbnails="true"] .article.has-post-count:not(.has-post-media) .post-inner::before {
	top:0;
	left:0;
}
.tfm-post-block[data-thumbnails="true"] .article.has-post-count:not(.has-post-media) .post-inner > *:first-child {
	margin-top: calc( 40px + var(--entry-wrapper-flex-gap));
}
.tfm-post-block .article.has-post-count:nth-child(n+10) .thumbnail-wrapper a::before,
.tfm-post-block[data-thumbnails="true"] .article.has-post-count:not(.has-post-media):nth-child(n+10) .post-inner::before {
    content: counter(post-count);
}
.tfm-post-block .has-post-count.cover .thumbnail-wrapper a::before,
.tfm-post-block[data-thumbnails="true"] .article.has-post-count:not(.has-post-media).cover .post-inner::before,
.tfm-post-block[data-thumbnails="false"] .article.has-post-count.cover .post-inner::before,
.tfm-post-block[data-thumbnails="false"] .article.has-post-count:not(.has-post-media).cover .post-inner::before {
	left: var(--cover-inner-elements-margin);
	top: var(--cover-inner-elements-margin);
}
/* space after count */
.tfm-post-block .has-post-count.cover.has-post-media .entry-wrapper > *:first-child,
.tfm-post-block .has-post-count.cover:not(.has-post-media) .entry-wrapper > *:first-child {
	margin-top: calc( 40px + (var(--entry-wrapper-flex-gap) * 2));
}
.tfm-post-block .has-post-count.cover.has-post-media.has-category-meta .entry-wrapper > *:first-child {
	margin-top: calc( 45px + (var(--entry-wrapper-flex-gap) * 2));
}
/*.tfm-post-block[data-thumbnails="false"] .has-format-icons.has-post-count:not(.has-post-media):not(.cover) .post-inner > :first-child {
  margin-top: 0;
}*/
/* post format icon beneath count */
.tfm-post-block .has-post-count.has-format-icons .thumbnail-wrapper a::after {
	left: 60px;
}
.tfm-post-block .has-post-count.has-format-icons:not(.has-post-media) .post-inner::after {
	left: 50px;
}
.tfm-post-block .has-post-count.has-format-icons.cover .thumbnail-wrapper a::after {
	left: calc( var(--cover-inner-elements-margin) + 50px);
}
.tfm-post-block[data-thumbnails="false"] .has-post-count.has-format-icons:not(.has-post-media) .post-inner::after {
	left: 40px;
}
.tfm-post-block[data-thumbnails="false"] .has-post-count.has-format-icons:not(.has-post-media).has-background .post-inner::after {
	left: calc(40px + var(--cover-inner-elements-margin));
	top: var(--cover-inner-elements-margin);
}
.tfm-post-block[data-thumbnails="false"] .has-post-count.has-format-icons:not(.has-post-media).has-background.cover .post-inner::after,
.tfm-post-block[data-thumbnails="false"] .has-post-count.has-format-icons:not(.has-post-media).cover .post-inner::after {
	left: calc(50px + var(--cover-inner-elements-margin));
}
/*.tfm-post-block.has-post-count.list.cols-2  .thumbnail-wrapper a::before,*/
.tfm-post-block.list.cols-3 .has-post-count .thumbnail-wrapper a::before,
.tfm-post-block.list.cols-4 .has-post-count .thumbnail-wrapper a::before {
	width:100%;
	height:100%;
	top:0;
	left:0;
}
/* hide format icons multi column list w/count */
.list.cols-3 .has-format-icons.has-post-media.has-post-count .post-thumbnail a::after,
.list.cols-4 .has-format-icons.has-post-media.has-post-count  .post-thumbnail a::after {
	content:none;
}
/* overlay header with blocks */
.has-full-width-header .tfm-homepage-post-blocks .tfm-post-block-wrap.block-1[data-fullwidth="true"][data-margins="false"]:not(.header-side):not(.header-top),
.has-full-width-header .tfm-homepage-post-blocks .tfm-post-block-background-wrapper.block-1[data-fullwidth="true"] {
	margin-top: calc(0px - var(--global-primary-elements-margin));
}
/* -------------------------------------------------------------------------- */
/*	w/sidebars
/* -------------------------------------------------------------------------- */

.has-sidebar.has-tfm-post-blocks .tfm-post-block.cols-3.grid .entry-title,
.header-side .tfm-post-block.cols-3.grid .entry-title,
.header-side .tfm-post-block.grid-offset.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-offset.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
.has-sidebar.has-tfm-post-blocks .header-side .tfm-post-block.cols-2.grid .entry-title {
	font-size: var(--cols-4-entry-title-font-size);
}

.header-side .tfm-post-block.cols-2.grid .entry-title,
.header-side .tfm-post-block.list.cols-1 .entry-title {
	font-size: var(--cols-3-entry-title-font-size);
}
.header-side .tfm-post-block.cols-1.grid .entry-title,
.header-side .tfm-post-block.grid-offset.post-grid[class*="cols"] .article .entry-title,
.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-offset.post-grid[class*="cols"] .article .entry-title {
	font-size: var(--cols-2-entry-title-font-size);
}
.header-side .tfm-post-block.grid-offset-half.post-grid[class*="cols"] > .article .entry-title,
.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-offset-half.post-grid[class*="cols"] > .article .entry-title,
.header-side .tfm-post-block.grid-offset-sides.post-grid[class*="cols"] > .article .entry-title,
.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-offset-sides.post-grid[class*="cols"] > .article .entry-title,
.header-side .tfm-post-block.grid-list-half.post-grid[class*="cols"] > .article h3.entry-title,
.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-list-half.post-grid[class*="cols"] > .article h3.entry-title {
	font-size: var(--cols-2-1199-entry-title-font-size);
}
.header-side .tfm-post-block.grid-offset-half.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-offset-half.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
.header-side .tfm-post-block.grid-offset-sides.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-offset-sides.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title {
	font-size: calc(var(--grid-offset-half-entry-title-font-size-offset) - 0.125rem);
}
.tfm-post-block-wrap.header-side .tfm-post-block.list.cols-2 .article .entry-title,
.has-sidebar.has-tfm-post-blocks .tfm-post-block.list.cols-2 .article .entry-title {
	font-size: calc(var(--cols-4-entry-title-font-size) - 0.125rem);
}
.tfm-post-block-offset-wrapper.post-grid.list .article.has-background .post-inner {
	padding-bottom:0 !important;
}

@media ( min-width: 1361px) {
	.header-side[data-fullwidth="true"] .tfm-post-block.cols-2.grid .entry-title,
	.header-side[data-fullwidth="true"] .tfm-post-block.list.cols-1 .entry-title,
	[data-fullwidth="true"] .tfm-post-block.cols-3 .entry-title  {
		font-size: var(--cols-2-entry-title-font-size);
	}
	 .tfm-post-block.grid-offset-half.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
	 .tfm-post-block.grid-offset-sides.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title {
    font-size: var(--cols-3-entry-title-font-size);
  }
  .tfm-post-block.grid-offset-half[class*="cols"].post-grid > .article h3.entry-title,
  .tfm-post-block.grid-offset-sides[class*="cols"].post-grid > .article h3.entry-title,
  .tfm-post-block.grid-list-half[class*="cols"].post-grid > .article h3.entry-title {
  	font-size: var(--cols-2-entry-title-font-size);
  }
}


@media ( max-width: 1360px) {
	.tfm-post-block-wrap[data-fullwidth="true"][data-margins="true"],
	.tfm-post-block-wrap[data-fullwidth="false"][data-margins="false"],
	.tfm-post-block-wrap[data-fullwidth="false"][data-margins="true"],
	.tfm-post-block-background-wrapper:not([data-fullwidth="true"]),
	.tfm-post-block-background-wrapper[data-fullwidth="true"] .tfm-post-block-wrap,
	.tfm-after-header.advert > *,
	.tfm-before-footer.advert > * {
		max-width: var(--small-desktop-site-max-width);
	}
	.tfm-post-block-wrap[data-margins="false"] .tfm-post-block-header.has-background .section-header-inner {
		max-width: var(--small-desktop-site-max-width);
		margin-left: auto;
		margin-right: auto;
	}
}

@media ( max-width: 1199px) {
	.tfm-post-block-wrap {
		--tfm-post-block-sidebar-width: var(--cols-3-flex-basis) !important;
		--tfm-post-block-width: calc(var(--cols-3-flex-basis) * 2);
		--grid-offset-entry-title-font-size: var(--cols-2-entry-title-font-size);
		--grid-offset-half-entry-title-font-size: var(--cols-2-1199-entry-title-font-size);
		--grid-offset-half-entry-title-font-size-offset: calc(var(--cols-4-entry-title-font-size) - 0.125rem);
	}
	.tfm-post-block-wrap[data-fullwidth="true"][data-margins="true"],
	.tfm-post-block-wrap[data-fullwidth="false"][data-margins="false"],
	.tfm-post-block-wrap[data-fullwidth="false"][data-margins="true"],
	.tfm-post-block-background-wrapper:not([data-fullwidth="true"]),
	.tfm-post-block-background-wrapper[data-fullwidth="true"] .tfm-post-block-wrap,
	.tfm-post-block-wrap[data-margins="false"] .tfm-post-block-header.has-background .section-header-inner,
	.tfm-after-header.advert > *,
	.tfm-before-footer.advert > * {
		max-width: var(--large-mobile-site-max-width);
		margin-left:auto;
		margin-right: auto;
	}
	.tfm-post-block.post-grid.cols-4.grid[data-posts="4"] .article {
	  flex-basis: var(--cols-2-flex-basis);
	}
	.tfm-post-block.post-grid.cols-4.grid[data-posts="4"] .entry-title {
	  font-size: var(--cols-2-entry-title-font-size);
	}
	.has-sidebar.has-tfm-post-blocks .tfm-post-block-wrap.header-side {
	  flex-direction: column;
	}
	.header-side .tfm-post-block.grid.cols-3 .article,
	.tfm-post-block-wrap.header-side .tfm-post-block.post-grid.grid-offset[class*="cols"] .tfm-post-block-offset-wrapper .article,
	.tfm-post-block-wrap.header-side .tfm-post-block.post-grid:not(.grid-offset-half) .tfm-post-block-offset-wrapper,
	 .tfm-post-block.list.cols-3 .article,
	 .tfm-post-block.list.cols-4 .article  {
		flex-basis: var(--cols-2-flex-basis);
	} 
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.post-grid.grid-offset,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.post-grid.grid-offset-half,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.post-grid.grid-offset-sides,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.post-grid.grid-list-half {
		gap: var(--mobile-post-margin);
	}
	.header-side .tfm-post-block.grid-offset-half,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-offset-half,
	.header-side .tfm-post-block.grid-offset-sides,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-offset-sides,
	.header-side .tfm-post-block.grid-offset,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-offset,
	.header-side .tfm-post-block.grid-list-half,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-list-half,
	.header-side .tfm-post-block.list,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.list {
		flex-direction: column;
		flex-wrap: nowrap;
	}
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.post-grid.grid-offset-sides[class*="cols"] .tfm-post-block-offset-wrapper .article,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.post-grid.grid[class*="cols"]:not(.cols-1) .article,
	.tfm-post-block-wrap.header-side .post-grid.grid-offset-sides[class*="cols"] .tfm-post-block-offset-wrapper .article  {
		flex-basis: var(--cols-2-flex-basis);
	}
	.cols-4 .tfm-post-block-column {
		flex-basis: var(--cols-2-flex-basis);
	}
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.post-grid.grid[class*="cols"]:not(.cols-1)[data-division="odd"] .article:last-child,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.post-grid.grid-offset-sides > .article {
		width:100%;
		flex-basis: 100%;
	}
	/* entry titles */
	.header-side .tfm-post-block[class*="grid-offset"].post-grid[class*="cols"] > .article .entry-title,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block[class*="grid-offset"].post-grid[class*="cols"] > .article .entry-title {
		font-size: var(--cols-2-1199-entry-title-font-size);
	}
	.header-side .tfm-post-block[class*="grid-offset"].post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block[class*="grid-offset"].post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
	.tfm-post-block.grid-offset.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title {
		font-size: var(--cols-4-entry-title-font-size);
	}
	.has-sidebar.has-tfm-post-blocks .header-side .tfm-post-block.cols-1.grid .entry-title {
		font-size: var(--grid-offset-entry-title-font-size);
	}
	.has-sidebar.has-tfm-post-blocks .tfm-post-block-offset-wrapper.list .article .entry-title,
	.header-side .tfm-post-block-offset-wrapper.list .article .entry-title,
	.tfm-post-block-wrap.header-side .tfm-post-block.list[class*="cols"] .article .entry-title,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.list[class*="cols"] .article .entry-title {
		font-size: var(--large-mobile-entry-title-font-size);
	}
	.tfm-post-block.list.cols-2 .article .entry-title,
	.tfm-post-block.list.cols-3 .article .entry-title,
	.tfm-post-block.list.cols-4 .article .entry-title,
	.tfm-post-block.grid-list-half .article .entry-title {
	  font-size: calc(var(--cols-4-entry-title-font-size) - 0.125rem);
	}
}
@media (max-width:1060px) {
	.tfm-post-block-wrap[data-fullwidth="true"][data-margins="true"],
	.tfm-post-block-wrap[data-fullwidth="false"][data-margins="false"],
	.tfm-post-block-wrap[data-fullwidth="false"][data-margins="true"],
	.tfm-post-block-background-wrapper:not([data-fullwidth="true"]),
	.header-side.tfm-post-block-wrap[data-margins="true"][data-fullwidth="true"],
	.tfm-post-block-background-wrapper[data-fullwidth="true"] .tfm-post-block-wrap,
	.tfm-after-header.advert > *,
	.tfm-before-footer.advert > * {
		max-width: var(--mobile-site-max-width);
	}
	.tfm-post-block-wrap.header-side[data-margins="false"] .tfm-post-block-header:not(.has-background) + div.tfm-post-block {
		border-radius: 0;
	}
	.tfm-post-block-wrap[data-margins="false"][data-fullwidth="true"].header-top .tfm-post-block-header:not(.has-border):not(.has-background) {
		max-width: calc(var(--mobile-site-max-width) + ( var(--wrapper-side-gutter) * 2));
		padding-left: var(--wrapper-side-gutter);
		padding-right: var(--wrapper-side-gutter);
	}
	.tfm-post-block-wrap[data-margins="false"][data-fullwidth="true"].header-side .tfm-post-block-header:not(.has-border):not(.has-background) {
	  padding:0 !important;
	  padding-bottom: var(--tfm-post-block-header-padding);
/*	  max-width: calc( var(--mobile-site-max-width) - ( var(--wrapper-side-gutter) * 4));*/
	  border:0;
	  margin-bottom: var(--global-inner-elements-margin);
	  width:calc(100% - ( var(--wrapper-side-gutter) * 2));
	}
	.tfm-post-block-wrap[data-margins="false"][data-fullwidth="true"].header-side .tfm-post-block-header .section-header-inner {
	  text-align: center;
	  align-items: center;
	}
.tfm-post-block-wrap.header-side .tfm-post-block-header .link-more-section {
	  order: 0;
	  border:0;
	  padding:0;
	}
	.tfm-post-block-wrap.header-side .tfm-post-block-header .link-more-section a {
	  display:inline-block;
	}
	.tfm-post-block-wrap[data-margins="false"] .tfm-post-block-header.has-background .section-header-inner {
		max-width: var(--mobile-site-max-width);
	}
	.tfm-post-block.post-grid.grid-offset > *,
	.tfm-post-block.post-grid.grid-offset-half > *,
	.tfm-post-block.post-grid.grid-offset-sides > *,
	.tfm-post-block.post-grid.grid-list-half > * {
		flex-basis: 100% !important;
	}
	.tfm-post-block.post-grid.grid-offset[class*="cols"] .tfm-post-block-offset-wrapper .article,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block-wrap .tfm-post-block.post-grid.grid-offset[class*="cols"] .tfm-post-block-offset-wrapper .article {
		flex-basis: var(--cols-2-flex-basis);
	}
	.tfm-post-block.post-grid.grid-offset[class*="cols"][data-margins="false"] .tfm-post-block-offset-wrapper .article {
		flex-basis: calc(100% / 2);
	}
	.tfm-post-block.post-grid.cols-3[data-division="odd"] .article:last-child {
		width:100%;
		flex-basis: 100%;
	}
	.tfm-post-block.post-grid.cols-3[data-division="odd"] .article:last-child .entry-title,
	.has-sidebar.has-tfm-post-blocks .header-side .tfm-post-block.post-grid.cols-1 .article .entry-title {
		font-size: var(--cols-1-large-mobile-entry-title-font-size);
	}
	/* entry titles */
	.tfm-post-block.grid-offset[class*="cols"].post-grid > .article.hentry h3.entry-title,
	.tfm-post-block.grid-offset-half[class*="cols"].post-grid > .article.hentry h3.entry-title,
	.tfm-post-block.grid-offset-sides[class*="cols"].post-grid > .article.hentry h3.entry-title,
	.tfm-post-block.grid-list-half[class*="cols"].post-grid > .article.hentry h3.entry-title  {
		font-size: var(--cols-1-large-mobile-entry-title-font-size);
	}
	.tfm-post-block-offset-wrapper {
		flex-basis: 100%;
		width:100%;
	}
	.tfm-post-block.post-grid.grid-offset[class*="cols"] > .article {
	  flex-basis: 100%;
	  width:100%;
	}
	.tfm-post-block.grid-offset-sides[class*="cols"] > .article {
	  flex-basis: 100%;
	  width:100%;
	}
	.tfm-post-block.post-grid.grid-offset-sides[class*="cols"] .tfm-post-block-offset-wrapper .article {
		flex-basis: calc(100% / 2 - (var(--mobile-post-margin) / 2));
	}
	.tfm-post-block-wrap.has-block-sidebar,
	.tfm-post-block-wrap.header-side {
	  flex-direction: column;
	  gap: var(--mobile-post-margin);
	}
	.tfm-post-block-wrap[data-poststyle="cover"][data-thumbnails="true"][data-margins="false"].header-side {
	  gap:0;
	}
	.tfm-post-block-wrap .tfm-post-block[data-poststyle="cover"][data-thumbnails="true"][data-margins="false"]:not([data-fullwidth="true"]) {
		border-radius: var(--default-border-radius);
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}
	.header-side .tfm-post-block-header .section-header-inner {
		text-align: center;
		align-items: center;
		justify-content: center;
	}
	/*	grid list columns*/
	.tfm-post-block[class*="cols"]:not(.cols-1) .tfm-post-block-column {
	  flex-basis: calc(100% / 2 - (var(--mobile-post-margin) / 2));
	}
	.tfm-post-block.cols-3 .tfm-post-block-column:last-child {
	  flex-basis: 100%;
	}
	.header-side .tfm-post-block[class*="grid-offset"].post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block[class*="grid-offset"].post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
	.header-side .tfm-post-block.list.cols-1 .entry-title,
	.tfm-post-block.grid-offset.post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title {
		font-size: var(--large-mobile-entry-title-font-size);
	}
}
@media (max-width:640px) {
	.header-side .tfm-post-block[class*="grid-offset"].post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block[class*="grid-offset"].post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title,
	.tfm-post-block[class*="grid-offset"].post-grid[class*="cols"] .tfm-post-block-offset-wrapper .article .entry-title {
		font-size: var(--medium-mobile-entry-title-font-size);
	}
	.tfm-post-block.grid-offset[class*="cols"].post-grid > .article.hentry h3.entry-title,
	.tfm-post-block.grid-offset-half[class*="cols"].post-grid > .article.hentry h3.entry-title,
	.tfm-post-block.grid-offset-sides[class*="cols"].post-grid > .article.hentry h3.entry-title,
	.tfm-post-block.grid-list-half[class*="cols"].post-grid > .article.hentry h3.entry-title,
	.header-side .tfm-post-block.grid-list-half[class*="cols"].post-grid > .article.hentry h3.entry-title,
	.has-sidebar.has-tfm-post-blocks .tfm-post-block.grid-list-half[class*="cols"].post-grid > .article.hentry h3.entry-title {
	  font-size: var(--cols-1-medium-mobile-entry-title-font-size, 2rem);
	}
	.tfm-post-block-wrap.header-side .tfm-post-block.list[class*="cols"] .article .entry-title {
		font-size: var(--mobile-compact-entry-title-font-size);
	}
}
/* mobile display layouts (list/compact/grid) */
@media ( max-width: 540px) {
	.tfm-post-block.post-grid.list .article .post-inner,
	.tfm-post-block .post-grid.list .article .post-inner {
/*		flex-direction: row !important;*/
	}
	.tfm-post-block.post-grid.list .article:not(.cover) .post-inner .thumbnail-wrapper,
	.tfm-post-block .post-grid.list .article:not(.cover) .post-inner .thumbnail-wrapper {
		max-width: 33% !important;
	}
	.tfm-post-block.post-grid.list .article:not(.cover) .post-inner .post-thumbnail,
	.tfm-post-block .post-grid.list .article:not(.cover) .post-inner .post-thumbnail {
		padding-bottom: var(--thumbnail-square-padding);
	}
	.tfm-post-block.mobile-grid .article .entry-title {
		font-size: var(--mobile-entry-title-font-size) !important;
	}
	.tfm-post-block.mobile-compact .article .entry-title,
	.tfm-post-block .mobile-compact .article .entry-title {
		font-size: var(--mobile-compact-entry-title-font-size) !important;
	}
}

/* -------------------------------------------------------------------------- */
/*	Related posts
/* -------------------------------------------------------------------------- */
.tfm-related-posts-wrap {
	width: calc(100% - (var(--wrapper-side-gutter) * 2));
}
.tfm-related-posts-background-wrapper {
	padding-left:0;
	padding-right: 0;
}
.single .tfm-related-posts-background-wrapper[data-fullwidth="true"] {
	width:auto;
	max-width: 100%;
	margin-left:auto;
	margin-right: auto;
	padding-left: var(--post-margin);
	padding-right: var(--post-margin);
}
.single .tfm-related-posts-wrap[data-fullwidth="true"] {
	width:100%;
	max-width: 100%;
	margin-left:0;
	margin-right: 0;
	padding-left: var(--wrapper-side-gutter);
	padding-right: var(--wrapper-side-gutter);
}
.single .tfm-related-posts-wrap[data-fullwidth="true"][data-poststyle="cover"][data-thumbnails="true"] {
	padding-left:0;
	padding-right: 0;
}
.tfm-related-posts-background-wrapper .tfm-related-posts-wrap[data-fullwidth="true"] {
	padding:0;
}
.tfm-related-posts-wrap .tfm-related-posts[data-fullwidth="true"] {
	width:100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.tfm-related-posts-background-wrapper[data-fullwidth="true"] + .site-footer,
.tfm-related-posts-wrap[data-fullwidth="true"][data-poststyle="cover"][data-thumbnails="true"] + .site-footer  {
	margin-top: 0;
}

/* -------------------------------------------------------------------------- */
/*	breadcrumbs
/* -------------------------------------------------------------------------- */

.tfm-breadcrumbs {
	font-size: 0;
	text-transform: capitalize;
	color:  var(--entry-meta-color);
	padding: 0;
	order:15; /* after featured image/before category */
}
.default-alt .tfm-breadcrumbs {
	order: 5;
}
.tfm-breadcrumbs.yoast > span,
.tfm-breadcrumbs.navxt .tfm-breadcrumbs-inner,
.tfm-breadcrumbs.rankmath nav {
	display: block;
	max-width: var(--site-max-width);
	margin: auto;
	padding:  0;
	overflow-wrap: break-word;
	word-break: break-all;
	word-break: break-word;
}
.archive .tfm-breadcrumbs {
	color: var(--archive-header-meta-color, var(--entry-meta-color));
}
.archive .tfm-breadcrumbs.yoast > span,
.archive .tfm-breadcrumbs.navxt .tfm-breadcrumbs-inner,
.archive .tfm-breadcrumbs.rankmath nav,
.search .tfm-breadcrumbs.yoast > span,
.search .tfm-breadcrumbs.navxt .tfm-breadcrumbs-inner,
.search .tfm-breadcrumbs.rankmath nav {
	padding:0;
}
.tfm-breadcrumbs.rankmath p {
	margin:0;
	line-height: 1.2;
}
.tfm-breadcrumbs a {
	text-decoration: none;
	color: var(--entry-meta-link-color);
}
.tfm-breadcrumbs.navxt span,
.tfm-breadcrumbs.yoast span a,
.tfm-breadcrumbs.yoast span.breadcrumb_last,
.tfm-breadcrumbs.rankmath a,
.tfm-breadcrumbs.rankmath span.last  {
	font-size: var(--entry-meta-font-size);
}
.archive .tfm-breadcrumbs.navxt span,
.archive .tfm-breadcrumbs.yoast span a,
.archive .tfm-breadcrumbs.yoast span.breadcrumb_last,
.archive .tfm-breadcrumbs.rankmath a,
.archive .tfm-breadcrumbs.rankmath span.last  {
/*	font-size: var(--body-font-size);*/
}
.tfm-breadcrumbs.navxt div > span,
.tfm-breadcrumbs.yoast span a,
.tfm-breadcrumbs.rankmath span.separator {
	margin: 0 10px 0 0;
}
.tfm-breadcrumbs.navxt div > span:not(:last-child)::after,
.tfm-breadcrumbs.yoast span a::after,
.tfm-breadcrumbs.rankmath a::after {
	font-family: fontello;
	content: "\e812";
	font-size: 8px;
	margin-left: 10px;
	font-weight: 400;
	color: var(--archive-header-meta-color, var(--archive-header-color));
}
.tfm-breadcrumbs ul {
	padding: var(--global-elements-margin);
	margin: 0 auto;
	display: flex;
	list-style: none;
	font-size: 13px;
	max-width: var(--site-max-width);
}
.tfm-breadcrumbs ul li {
	padding: 0;
	margin: 0 10px 0 0;
	color:  var(--medium-grey);
}
.tfm-breadcrumbs ul li:not(:last-child)::after {
	font-family: fontello;
	content: "\e812";
	font-size: 8px;
	margin-left: 10px;
	font-weight: 400;
	color: var(--dark-grey);
}
.tfm-breadcrumbs ul li:last-child span {
	word-break: break-all;
}
.tfm-breadcrumbs ul li a {
	display: block;
	word-break:  none;
}
.home .tfm-breadcrumbs,
.blog .tfm-breadcrumbs {
	display: none;
}
.single .entry-header .tfm-breadcrumbs-inner {
	padding-bottom: 1rem;
}

/* -------------------------------------------------------------------------- */
/*	mc4wp basic CSS styling 
/* -------------------------------------------------------------------------- */

/* theme before footer */
.tfm-before-footer-section {
	width:100%;
}

.tfm-before-footer-section .widget_mc4wp_form_widget {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	text-align: center;
/*	max-width: var(--content-max-width);*/
width:100%;
	max-width: 40rem;
	margin:auto;
}
.tfm-before-footer-section .widget_mc4wp_form_widget .widgettitle {
	font-size: var(--h3-font-size);
/*	margin-bottom: calc(var(--global-inner-elements-margin) - 1.5rem);*/
}
.tfm-before-footer-section .widget_mc4wp_form_widget .mc4wp-form-fields {
	display: flex;
	flex-wrap: wrap;
}
.tfm-before-footer-section .widget_mc4wp_form_widget .mc4wp-form-fields label {
	width:100%;
	display:block;
	margin-bottom: var(--global-inner-elements-margin);
}
.tfm-before-footer-section .widget_mc4wp_form_widget .mc4wp-form-fields .tfm-clear {
	width:100%;
	display: block;
	margin-bottom: var(--global-inner-elements-margin);
}
.tfm-before-footer-section .widget_mc4wp_form_widget .mc4wp-form-fields button + label,
.tfm-before-footer-section .widget_mc4wp_form_widget .mc4wp-form-fields input[type="submit"] + label,
.tfm-before-footer-section .widget_mc4wp_form_widget .mc4wp-form-fields p + label {
	margin-bottom: 0;
	margin-top: var(--global-inner-elements-margin);
}
.tfm-before-footer-section .widget .mc4wp-form-fields input:not([type="checkbox"]) {
	width:0;
	margin:0;
/*	border:0;*/
	outline: none;
	border-color: var(--footer-border-color);
	border-right:0;
}
.tfm-before-footer-section .mc4wp-form-fields input:not([type="checkbox"]):not([type="submit"]) {
	flex: 1 1 auto;
	background: var(--footer-input-background);
	color: var(--footer-color);
}
/* if fields are wrapped in paragraph */
.tfm-before-footer-section .mc4wp-form-fields p {
	flex: 1 1 auto;
	margin:0;
	position: relative;
	flex-grow: 1;
}
.tfm-before-footer-section .mc4wp-form-fields p:last-of-type {
	flex-grow: 0;
}
.tfm-before-footer-section .mc4wp-form-fields p input:not([type="checkbox"]):not([type="submit"]) {
	width:100%;
	height:100%;
}
.tfm-before-footer-section .widget .mc4wp-form-fields input[type="submit"],
.tfm-before-footer-section .widget .mc4wp-form-fields button {
	width:auto;
	padding: var(--input-padding, 0.875rem 1rem);
	color: var(--footer-color);
	border-radius: var(--default-border-radius);
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	position: relative;
}
.tfm-before-footer-section .widget .mc4wp-form-fields input[type="submit"]::before,
.tfm-before-footer-section .widget .mc4wp-form-fields button::before {
	  font-family: fontello;
	  content: '\f1d8';
	  margin-right: 0.5rem;
	  font-size: 1rem;
	  font-weight: normal;
}
.tfm-before-footer-section .widget .mc4wp-form-fields input[type="submit"]::after,
.tfm-before-footer-section .widget .mc4wp-form-fields > button::after,
.tfm-before-footer-section .widget .mc4wp-form-fields p:not(:last-of-type)::after {
	/*content: '';
	width:1px;
	height:calc(100% - 12px);
	position: absolute;
	top:6px;
	left:0;
	background: var(--footer-border-color);*/
}
.tfm-before-footer-section .widget .mc4wp-form-fields p:not(:last-of-type)::after {
	left:auto;
	right:0;
}
.tfm-before-footer-section .mc4wp-form-fields input:not([type="checkbox"]):first-of-type,
.tfm-before-footer-section .mc4wp-form-fields p:first-of-type input:not([type="checkbox"]) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.tfm-before-footer-section .mc4wp-form-fields input:not([type="checkbox"]):not([type="submit"]):not(:first-of-type),
.tfm-before-footer-section .mc4wp-form-fields p:not(:first-of-type) input:not([type="checkbox"]):not([type="submit"]) {
	border-radius: 0;
}
.tfm-before-footer-section .mc4wp-form-fields .tfm-agree {
	font-weight: normal;
}
.tfm-before-footer-section .mc4wp-form-fields .tfm-agree a {
	font-weight: 600;
}
.tfm-before-footer-section .mc4wp-form-fields .tfm-agree a[target="_blank"]::after {
	font-family: fontello;
	content: '\f14c';
	margin-left: 6px;
	font-weight: normal;
}
.tfm-before-footer-section .mc4wp-form-fields .tfm-checklist.list {
	justify-content: center;
	margin-bottom: var(--global-inner-elements-margin);
	font-size: 0.875rem;
}
.tfm-before-footer-section .mc4wp-form-fields .tfm-checklist.list li {
	border:0;
}
.tfm-checklist li::before {
	 opacity: 0.6;
	 }

/* misc */

.tfm-checklist {
	list-style: none;
	margin:0;
	padding:0;
}
.tfm-checklist.list {
	display: flex;
	flex-direction: row;
	gap: 1rem;
}
.tfm-checklist.list li {
	 padding:0;
	 margin:0;
}
.tfm-checklist li::before {
	 font-family: fontello;
	 content: '\e11d';
	 margin-right: 8px;
}
