.template_group.align_right {
	float: right;
}

@media( max-width: 1024px ){
	.template_group {
		width: 100%!important;
		float: none!important;
	}
}

.separator {
	clear: both;
	width: 100%;
}


.articles > .title {
	margin-top: 0;
	position: relative;
	overflow: hidden;
	padding: 4px 0;
	margin-bottom: 16px;
}

.articles > .title span {
	margin-right: 15px;
}
.articles .pagination {
	margin-top: 34px;
	margin-bottom: 50px;
	font-size: 16px;
	font-weight: 700;
	clear: both;
	display: flex;
	justify-content: space-between;
}

.articles .pagination__wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.articles .pagination a, .articles .pagination span {
	display: inline-block;
	min-width: 33px;
	padding: 9px 15px;
	border: 1px solid #666;
	text-decoration: none;
	line-height: 21px;
	color: #666;
	text-align: center;
}

.articles .pagination .page-numbers:not(.dots,.current) {
	cursor: pointer;
}

.articles .pagination .page-numbers:not(.dots,.current):hover {
	color: #fff;
	background-color: #444;
	border-color: #444;
}
.articles .pagination .current {
	background-color: #1168CC;
	border-color: #4db2ec;
	color: #fff;
}

.articles .pagination .dots {
	border: none;
}

.articles .pagination svg {
	width: 1em;
	height: 1em;
	vertical-align: middle;
	display: inline-block;
	margin-top: -0.2em;
	fill: currentColor;
}

.articles .pagination .pages {
	font-weight: normal;
	margin-right: 0;
	border: none;
	padding: 6px 0 6px 6px;
}

.articles .pagination .mobile-nav {
	display: none;
}

.articles .view_all {
	clear: both;
	margin-top: 20px;
	margin-bottom: 25px;
}

.articles .view_all.left {
	text-align: left;
}

.articles .view_all.center {
	text-align: center;
}

.articles .view_all.right {
	text-align: right;
}

.articles .view_all .btn {
	padding: 10px 30px;
	min-width: 175px;
	text-align:center;
	text-transform: capitalize;
	max-width: none;
	margin: 0;
	border: 1px solid #444;
	color: #000;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.articles .view_all .btn:hover,
.articles .view_all .btn:focus {
	background: #444;
	color: #fff;
}

.articles .view_all .btn:hover svg,
.articles .view_all .btn:focus svg {
	fill: #fff;
}

.articles .view_all svg {
	width: 8px;
	height: auto;
}

.articles > .title .link-arrow {
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
	gap: 8px;
}

.articles > .title .link-arrow svg {
	width: 13px;
	height: auto;
	padding-top: 4px;
}

@media (max-width: 767px) {
	.articles .view_all .btn {
		width: 100%;
	}

	.articles .pagination .pages {
		display: none;
	}

	.articles .pagination .mobile-nav {
		display: inline-block;
	}

	.articles .pagination .first ~ .page-numbers:nth-of-type(3) {
		display: none;
	}

	.articles .pagination .page-numbers:nth-last-of-type(3):has(~ .last) {
		display: none;
	}

	.articles .pagination .first ~ .dots {
		display: none;
	}
}

.articles > .title .link {
	font-size: 13px;
	text-transform: uppercase;
	font-weight: 600;
	float: right;
	border: 0;
	text-decoration: none;
}

.articles > .title .link:hover {
	color: inherit!important;
}

.articles > .inner::after {
	content: '';
	display: block;
	width: 100%;
	clear: both;
}

.articles .border {
	border-bottom: 4px solid var( --border-gray-color );
	margin-top: -2px;
	top: 50%;
	position: absolute;
	width: 100%;
}

.articles > .title .link + .border {
	position: static;
	margin-top: 0;
	display: block;
	border-width: 3px;
	margin-top: 5px;
}


.article {
	position: relative;
	font-size: 13px;
	color: var( --text-gray-color );
	margin-bottom: 25px;
}

.article .date {
	font-size: 12px;
}

.article .author {
	color: #969696;
	font-size: 12px;
	font-weight: 700;
	padding-bottom: 1px;
}

.article a {
	color: inherit;
}

.article a:hover {
	color: var( --link-color );
}

.article .image {
	width: 100%;
	display: block;
	border: 0;
	text-decoration: none;
}

.article .image span {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.article .image img {
	position: absolute;
	object-fit: cover;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.image_zoom_on_hover .image img {
	transition: min-width .2s ease, left .2s ease;
	min-width: 100%;
}

.image_zoom_on_hover .image:hover img {
	min-width: 110%;
	left: -5%;
}



.article .category {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	font-weight: 600;
	color: var( --text-color );
	line-height: 1.2em;
	margin-top: 4px;
}

.article .title {
	font-size: 18px;
	line-height: 1.2em;
	margin: 0;
	font-weight: 500;
}

.article .article_row > div + br {
	display: none;
}

.title_size_large .article .title {
	font-size: 20px;
}

.title_size_small .article .title {
	font-size: 16px;
}

.title_size_extra_small .article .title {
	font-size: 14px;
}

.article .title a {
	text-decoration: none;
}

.article .title.light_bold a {
	font-weight: 600;
}

.article .title.bold a {
	font-weight: 700;
}

.article .article_row {
	margin-bottom: 8px;
}

.article .article_row::after {
	content: '';
	display: block;
	width: 100%;
	clear: both;
}

.article .article_row > *:not( .article_row ) {
	margin: 5px 0;
}

.article .article_row > br + *:not( .article_row ),
.article .article_row > *:not( .article_row ):first-child {
	margin-left: 0;
}

.article .article_row > *:not( .article_row ):last-child {
	margin-right: 0;
}

.article .article_row:last-child {
	margin-bottom: 0;
}

.article .article_row.author_row {
	position: absolute;
	bottom: 26px;
}

.article .article_row > br {
	clear: both;
}


.article .date {
	color: var( --text-light-gray-color );
}

.article .author {
	height: auto;
	margin-top: 0;
}

.article .author .role {
	display: none;
}

.article .author_date .photo {
	width: 35px;
	border-width: 2px;
}

.article .author_date .images[data-count="1"] {
	width: 40px;
}

.article .author_date .images[data-count="2"] {
	width: 50px;
}

.article .author_date .images[data-count="3"] {
	width: 70px;
}

.article .author_date .authors {
	display: table;
}

.article .author_date .authors > * {
	display: table-cell;
	float: none;
	vertical-align: middle;
}

.article .author_date .names {
	padding-left: 5px;
	float: none;
}

.article .author {
	padding-top: 0;
	margin-top: 0;
	height: auto;
}


.article.style_box {
	border: 2px solid var( --border-gray-color );
	background-color: #fcfcfc;
	margin-bottom: 20px;
}

.article.style_box .content {
	padding: 26px 22px;
}

.article.style_underline {
	border-bottom: 1px solid var( --border-gray-color );
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.article[data-per-row="1"].style_underline:last-child {
	margin-bottom: 0;
	border-bottom: 0;
}

.article .fr_rating .icon {
	color: #ffbb00;
}

.article .fr_rating > *:not( :last-child ) {
	margin-right: 5px;
}

.article.style_box .content > *.article_row:last-child:not( :first-child ) {
	margin-top: 18px;
}



.article[data-image-position="left"],
.article[data-image-position="right"] {
	display: flex;
	width: 100%;
}

.article:not([data-image-position="under"]) {
	background-image: none!important;
}

.article[data-image-position="left"] > *,
.article[data-image-position="right"] > * {
	flex: 1 1 auto;
}

.article[data-image-position="right"] .image {
	order: 2;
}

.article[data-image-position="right"] .content {
	order: 1;
}

.article[data-image-position="left"] .content,
.article[data-image-position="right"] .content {
	width: calc(100% - var(--image-width));
    position: relative;
}

.article[data-image-position="left"] .image,
.article[data-image-position="right"] .image {
	width: var(--image-width);
}

.article[data-image-position="left"] .excerpt,
.article[data-image-position="right"] .excerpt {
	overflow: hidden;
}

.article[data-image-position="left"] .content {
	padding-left: 22px;
}

.article[data-image-position="right"] .content {
	padding-right: 22px;
}

.article[data-image-position="left"] .image {
	left: 0;
}

.article[data-image-position="right"] .image {
	right: 0;
}

.article[data-image-position="under"] .image {
	position: static;
}

.article[data-image-position="under"] .title {
	color: white;
    text-shadow: 0 0px 10px black;
}

.article[data-image-position="under"] .image::before {
	content: '';
	position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background-color .3s ease;
    z-index: 1;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 130%, rgba(0, 0, 0, 0));
    pointer-events: none;
}

.article[data-image-position="under"] .content {
	position: absolute;
	bottom: 0;
	left: 0;
    padding: 26px 22px;
    color: white;
    z-index: 2;
    pointer-events: none;
}

.article[data-image-position="under"] .content h3,
.article[data-image-position="under"] .content .date {
	color: inherit;
}


.article[data-image-position="under"] .author_date,
.article[data-image-position="under"] .author_date a {
	color: white;
}

.article[data-image-position="under"] .content a.author {
	pointer-events: all;
}

.article[data-image-position="above"]:not(.style_box) .image {
    position: relative;
    margin-bottom: 20px;
}


.article .article_row h3 + br {
	display: none;
}

.article .article_row .excerpt + br {
	display: none;
}









.horizontal_distance_large .article {
	--image-distance: 20px;
}

.horizontal_distance_small .article {
	--image-distance: 3px;
}


[data-per-row="2"] .article {
	width: calc( ( 100% - var( --image-distance ) * 1 ) / 2 );
	margin-right: var( --image-distance );
	float: left;
}

[data-per-row="2"] .article:nth-child( 2n ){
	margin-right: 0;
}

[data-per-row="2"] .article:nth-child( 2n + 1 ){
	clear: left;
}




[data-per-row="3"] .article {
	width: calc( ( 100% - var( --image-distance ) * 2 ) / 3 );
	margin-right: var( --image-distance );
	float: left;
}

[data-per-row="3"] .article:nth-child( 3n ){
	margin-right: 0;
}

[data-per-row="3"] .article:nth-child( 3n + 1 ){
	clear: left;
}



[data-per-row="4"] .article {
	width: calc( ( 100% - var( --image-distance ) * 3 ) / 4 );
	margin-right: var( --image-distance );
	float: left;
}

[data-per-row="4"] .article:nth-child( 4n ){
	margin-right: 0;
}

[data-per-row="4"] .article:nth-child( 4n + 1 ){
	clear: left;
}




@media( max-width: 768px ){

	[data-mobile-h-per-row="1"] .article {
		width: 100%!important;
		margin-right: 0!important;
	}

	[data-mobile-h-per-row="2"] .article {
		width: calc( ( 100% - var( --image-distance ) * 1 ) / 2 );
		margin-right: var( --image-distance );
		float: left;
		clear: none!important;
	}

	[data-mobile-h-per-row="2"] .article:nth-child( 2n ){
		margin-right: 0;
	}

	[data-mobile-h-per-row="2"] .article:nth-child( 2n + 1 ){
		clear: left!important;
		margin-right: var( --image-distance );
	}

}



@media( max-width: 765px ){
	.article.image_position_right .content {
		min-height: auto;
		width: 100%;
		float: none;
	}
	.article.image_position_right .image {
		width: 100%;
		position: static;
		padding-bottom: 62%;

	}
}






@media( max-width: 500px ){

	[data-mobile-h-per-row="3"][data-mobile-v-per-row="2"] .article:nth-child( 3n + 1 ){
		clear: none;
	}

	[data-mobile-v-per-row="1"] .article {
		width: 100%!important;
		margin-right: 0!important;
	}

	[data-mobile-v-per-row="2"] .article {
		width: calc( ( 100% - var( --image-distance ) * 1 ) / 2 );
		margin-right: var( --image-distance );
		float: left;
		clear: none!important;
	}

	[data-mobile-v-per-row="2"] .article:nth-child( 2n ){
		margin-right: 0;
	}

	[data-mobile-v-per-row="2"] .article:nth-child( 2n + 1 ){
		clear: left!important;
		margin-right: var(--image-distance);
	}

}




.html_content,
.editor_content {
	margin: 20px 0;
}


.section_articles .center:not(.view_all) {
	margin-bottom: 100px;
}

