.clearfix:after {
	display: block;
	clear: both;
	content: "";
}

.pxl---post {
	.pxl-item--image {
		>a:not(.post-button-video) {
			display: block;
			width: 100%;
		}
	}

	.pxl-item--title {
		font-size: 34px;
		font-weight: 600;
		line-height: 1.176;
		margin-bottom: 20px;

		@media #{$max-sm} {
			font-size: 30px;
		}

		a {
			color: inherit;

			&:hover {
				color: $primary_color;
			}
		}
	}

	.pxl-item--divider {
		height: 24px;
		width: 1px;
		background-color: rgba(45, 45, 45, 0.1);
		margin: 0 24px;

		@media #{$max-sm} {
			margin: 0 12px;
		}
	}

	&.product {
		.pxl-item--meta {
			display: none !important;
		}
	}

	.btn.btn-icon-box4 {
		margin-top: 9px;
		padding: 0 14px 0 24px;
		margin-bottom: 80px;

		a {
			font-size: 16px;
			color: #fff;
			font-weight: 700;
			line-height: 59px;
			display: flex;
			align-items: center;
			letter-spacing: -0.3px;

			&:hover {
				color: #fff;
			}
		}

		.pxl--btn-icon {
			border-radius: 4px;
			box-shadow: unset;
			font-size: 20px;
			margin-left: 22px;
		}
	}

}

.pxl-blog-meta {
	font-size: 18px;
	color: #454545;
	font-weight: 500;

	@media #{$max-sm} {
		font-size: 16px;
	}

	a {
		color: inherit;

		&:hover {
			color: inherit;
		}
	}

	.pxl-blog-meta-inner {
		display: inline-block;
		text-align: center;
		border-radius: 4px;
		padding: 16px 32px;
		position: relative;
		z-index: 1;
		margin-top: 12px;

		@media #{$max-sm} {
			text-align: inherit;
		}

		>div {
			display: inline-flex;
			align-items: center;

			&:last-child {
				margin-right: 0;
			}
		}

		@media #{$max-sm} {
			padding-left: 22px;
			padding-right: 22px;
		}

		@media #{$max-xs} {
			display: inline-block;
			padding-left: 18px;
			padding-right: 18px;
			border-radius: 20px;
			width: 100%;

			div+div {
				margin-top: 6px;
			}
		}

		&:before {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			border-radius: inherit;
			z-index: -1;
			background: #F5F5F5;
		}

		a {
			font-size: 18px;
			font-weight: 400;
			line-height: 1.11;
			/* 111.111% */
			color: $heading_color;
		}

		.pxl-svg {
			margin-right: 9px;
			line-height: 1;
		}

		.pxl-mr-30 {
			margin-right: 48px;
		}
	}
}

.pxl-item--archive {
	.slick-track{
		display: flex;
		.pxl-swiper-slide{
			padding: 0;
		}
	}
	.pxl-item--image {
		position: relative;
		overflow: hidden;
		
		img {
			max-height: 320px;
			object-fit: cover;
			width: 100%;
			@include transition(all 0.8s ease);
			transform: scale(1.01, 1.01);
		}

		&:hover img {
			-webkit-transform: scale(1.07, 1.07);
			transform: scale(1.07, 1.07);
		}
	}

	&.pxl-item--standard {
		margin-bottom: 30px;
		border: 1px solid #E3E3E3;
		border-radius: 12px;
		overflow: hidden;	
		.pxl-blog-meta {
			font-size: 16px;
			margin-bottom: 16px;

			.pxl-blog-meta-inner {
				padding: 0;
				.pxl-mr-30{
						font-family: "Roboto";
						font-size: 18px;
						font-weight: 400;
						line-height: 1.111; /* 111.111% */
						color: var(--716-f-73, #716F73);
						margin-right: 30px;
					a{
						all: inherit;
						margin: 0;
						
					}
				}
				.pxl-svg{
					line-height: 1;
				}
				&::before{
					display: none;
				}
				@media #{$max-sm} {
					padding-left: 22px;
					padding-right: 22px;
				}
			}
		}
		.pxl-item--title{
			font-family: "Roboto";
			font-size: 28px;
			font-weight: 500;
			line-height: 1.14; /* 114.286% */
		}
		.pxl-item--image {
			margin-bottom: 26px;
		}

		.pxl-item--holder {
			padding: 0 32px 30px 32px;

			@media #{$max-sm} {
				padding-left: 15px;
				padding-right: 15px;
				.pxl-blog-meta-inner{
					padding: 0;
				}
			}
		}

		.pxl-item--excerpt {
			font-size: 18px;
			font-weight: 400;
			line-height: 1.56; /* 155.556% */
			max-width: 595px;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			overflow: hidden;
			text-overflow: ellipsis;
			@media #{$max-lg} {
				max-width: 100%;
			}
		}

		.pxl-item--readmore {
			margin-top: 25px;
		}
		.pxl-button{
			font-size: 16px;
			font-weight: 500;
			line-height: 32px; 
			position: relative;
			padding-right: 40px;
			color: $heading_color;
			.pxl--btn-icon {
				width: 32px;
				position: absolute;
				height: 32px;
				border-radius: 32px;
				display: flex;
				justify-content: center;
				align-items: center;
				background-color: #716f73;
				right: 0;
				top: -6px;
				transition: all .3s;
			}
			.pxl--btn-text{
				transition: all .5s;
			}
			&:hover{
				.pxl--btn-icon {
					width: 100%;
				}
				.pxl--btn-text{
					opacity: 0;
				}
			}
		}
		.pxl-swiper-arrow-wrap{
			position: absolute;
			top: 50%;
			left: 50%;
			width: calc(100% - 48px);
			display: flex;
			justify-content: space-between;
			transform: translate(-50%,-50%);
			margin: 0;
			.pxl-swiper-arrow{
				width: 48px;
				height: 48px;
				backdrop-filter: blur(5.5px);
				border: 2px solid #fff;
				border-radius: 50%;
				display: flex;
				justify-content: center;
				align-items: center;
				background: rgba(255, 255, 255, 0.20);
				i{
					color: #fff;
				}
			}
		}
	}
}

.post-button-video.style1 {
	width: 84px;
	height: 84px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	margin: auto;
	background: #fff;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 21px;
	color: #fff;
	border-radius: 84px;
	z-index: 99;
	i{
		font-size: 11px;
		color: #FC5220;
		background-image: unset;
	}
	
	@media #{$max-sm} {
		width: 65px;
		height: 65px;
		font-size: 18px;
	}

	&:before {
		content: "";
		position: absolute;
		z-index: 0;
		left: 0;
		top: 0;
		display: block;
		width: 100%;
		height: 100%;
		background-color: #fff;
		border-radius: 50%;
		animation: pxl_pulse_border 1500ms ease-out infinite;
		-webkit-animation: pxl_pulse_border 1500ms ease-out infinite;
		z-index: -2;
		border-radius: inherit;
	}

	&:hover,
	&:focus {
		color: #fff;
	}
}

/* End Blog Layout */
// #pxl-content-main{
// 	.pxl---post {
// 		padding-top: 300px;
// 		padding-bottom: 0;
// 		@media #{$max-lg} {
// 			padding-top: 100px;
// 		}
// 	}
// }
.single-post {
	.row.pxl-content-wrap.no-sidebar{
		margin-right: -15px;
	}
	&::before{
		position: absolute;
		content: '';
		background-image: url(../img/Group-3.png);
		right: 0;
		width: 743px;
		top: 0;
		height: 1376px;
		background-repeat: no-repeat;
		z-index: -1;
		
	}
	&::after{
		position: absolute;
		content: '';
		background-image: url(../img/Group-4.png);
		left: 0;
		width: 743;
		top: 678px;
		height: 1376px;
		background-repeat: no-repeat;
		z-index: -1;
		
	}
	.pxl---post {
		padding-bottom: 0;
		
		.single-heading {
			padding-top: 10px;
			font-size: 30px;
			font-weight: 600;
			margin-bottom: 22px;
		}

		.pxl-gallery {
			margin-top: -18px;
		}

		.pxl-item--image {
			margin-bottom: 25px;
			position: relative;

			img {
				border-radius: 12px;
			}
		}

		.pxl-item--meta {
			margin-bottom: 28px;
		}

		.pxl-item--title {
			font-size: 72px;
			font-weight: 700;
			line-height: 1;
			/* 100% */
			letter-spacing: -0.72px;
			text-transform: capitalize;
			max-width: 800px;

			@media #{$max-sm} {
				font-size: 50px;
			}
		}

		.pxl-item--content {
			margin-bottom: 33px;

			p {
				margin-bottom: 20px;

				&:last-child {
					margin-bottom: 0;
				}
			}
		}
	}

	.section-hidde-single-post {
		display: none;
	}

	.comments-area {
		max-width: 730px;
		margin-left: auto;
		margin-right: auto;
	}
}

.pxl-post-list1 {
	list-style: none;
	margin: 0 0 23px;
	padding-bottom: 15px;
	padding-top: 5px;

	li {
		&:before {
			content: "\f119";
			font-family: "Caseicon";
			margin-right: 16px;
			font-size: 13px;
		}

		+li {
			margin-top: 10px;
		}
	}
}

.pxl--post-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	position: relative;
	padding: 30px 0 32px;
	border-top: 1px solid #E3E3E3;
	border-bottom: 1px solid #E3E3E3;
	max-width: 730px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 64px;
	>div {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	label {
		font-size: 22px;
		color: #000001;
		font-weight: 700;
		margin-right: 20px;
		@extend .ft-secondary;

	}

	.pxl--tags {
		

		label {
			width: 100%;
			font-size: 20px;
			font-weight: 700;
			line-height: 1.3;
			color: #000;
			margin-bottom: 20px;
		}

		a {
			line-height: 40px;
			display: inline-block;
			padding: 0 19px;
			background-color: #F9F9F9;
			color: $body_color;
			font-size: 16px;
			position: relative;
			z-index: 1;
			border-radius: 5px;
			margin-right: 8px;
			color:  #716F73;
			margin-bottom: 10px;
			&:before {
				content: '';
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				z-index: -1;
				@include background-horizontal($gradient_color_from, $gradient_color_to);
				border-radius: inherit;
				opacity: 0;
				@include transition(all 300ms linear 0ms);
			}

			&:hover {
				color: #fff;

				&:before {
					opacity: 1;
				}
			}
		}
	}

	.pxl--social {
		display: inline-block;
		label{
			color: var(--000000, #000);
			font-size: 20px;
			font-style: normal;
			font-weight: 700;
			line-height: 1.5; /* 150% */
			margin-bottom: 20px;
		}
		.pxl-socials{
			display: flex;
			justify-content: space-between;
			align-items: center;
			margin-top: 10px;
			gap: 10px;
		}
		a {
			width: 36px;
			height: 36px;
			border-radius: 36px;
			background-color: $primary_color;
			display: inline-flex;
			justify-content: center;
			align-items: center;
			font-size: 18px;
			color: #fff;
			&:last-child {
				margin-right: 0;
			}

			&.fb-social {
				background-color: #1877F2;
			}

			&.tw-social {
				background-color: #1DA1F2;
			}

			&.pin-social {
				background-color: #BD081C;
			}

			&.lin-social {
				background-color: #0A66C2;
			}
			&.btn-copy-link{
				background-color: #DFE1E5;
				i{
					color: #000;
				}
			}
		}
	}
}

.pxl-pagination-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;

	.page-numbers {
		width: 52px;
		height: 52px;
		text-align: center;
		font-size: 20px;
		font-weight: 500;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #261723;
		position: relative;
		z-index: 1;
		padding: 0;
		margin: 0 5px;
		border: 1px solid #F1F1F1;
		border-radius: 4px;
		&.next{
			border-color: $primary_color;
			color: $primary_color;
		}
		&.current{
			color: #fff;
			background: $primary_color;
		}
		&:hover{
			span,i{
				color: #fff;
				background-image: none;
				text-fill-color: unset;
				-o-text-fill-color: unset;
				-ms-text-fill-color: unset;
				-moz-text-fill-color: unset;
				-webkit-text-fill-color: unset;
			}
			
			background: $primary_color;
		}
		i {
			font-size: 13px;
		}
	}

	a:hover {

		i,
		span {
			@extend .text-gradient;
		}
	}

	.pxl-pagination-links {
		margin-top: 20px;
		display: inline-flex;
	}
}

.pxl-post--navigation {
	background-color: #F7F7F7;
	border-radius: 20px;
	padding: 32px 0;
	margin: 30px 0;

	.pxl-navigation--image {
		width: 130px;
		min-width: 130px;
		border-radius: 130px;
		height: 130px;
		position: relative;

		@media #{$max-lg} {
			width: 110px;
			min-width: 110px;
			border-radius: 110px;
			height: 110px;
		}

		&:before {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			border-radius: inherit;
			@include background-gradient-bottom($gradient_color_from, $gradient_color_to);
			opacity: 0;
			@include transition(all 300ms linear 0ms);
			z-index: 2;
		}

		&:after {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			border-radius: inherit;
			background-color: rgba(#000, 0.08);
			@include transition(all 300ms linear 0ms);
			z-index: 1;
		}

		.pxl-navigation--link {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			z-index: 99;
		}
	}

	.pxl-navigation--date {
		font-size: 14px;
		text-transform: uppercase;
		font-weight: 500;
		color: $primary_color;
		margin-bottom: 7px;
	}

	.pxl-navigation--title {
		margin-bottom: 0;
		font-size: 18px;
		line-height: 1.4444;
		font-weight: 600;
		color: #000001;

		a {
			color: inherit;

			&:hover {
				color: inherit;
			}
		}
	}

	.pxl-navigation--icon {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
		width: 52px;
		height: 52px;
		border-radius: 52px;
		border: 4px solid #fff;
		color: #fff;
		font-size: 26px;
		display: inline-flex;
		justify-content: center;
		align-items: center;
		z-index: 88;

		@media #{$max-lg} {
			width: 45px;
			height: 45px;
			border-radius: 45px;
			border-width: 3px;
			font-size: 20px;
		}
	}

	.pxl-navigation--col {
		width: 50%;
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		padding: 15px 25px;

		@media #{$max-sm} {
			width: 100%;
		}

		+.pxl-navigation--col {
			border-left: 1px solid rgba(#545661, 0.22);

			@media #{$max-sm} {
				border: none;
				margin-top: 20px;
			}
		}

		&:hover {
			.pxl-navigation--image {
				&:before {
					opacity: 0.5;
				}

				&:after {
					opacity: 0;
				}
			}
		}
	}
}

.pxl-custom-swiper {
	overflow: hidden;
	position: relative;
}

.pxl-post-gallery-slider .pxl-custom-swiper {
	border-radius: 8px 8px 0 0;

	img {
		@include border-radius(0px);
	}

	.pxl-swiper-arrow.pxl-swiper-arrow-next {
		right: 26px;
	}

	.pxl-swiper-arrow.pxl-swiper-arrow-prev {
		left: 26px;
	}
}

.page-template-default {
	.pxl-sidebar-sticky {
		border-radius: 15px;
		background-color: #F7F7F7;
	}
}

.error404 {
	#pxl-page-title-elementor{
		display: none;
	}
	// .pxl-error-inner {
	// 	position: relative;
	// 	z-index: 1;
	// 	display: inline-block;
	// 	padding: 160px 30px 120px;
	// 	background-image: url(../img/bg-404.jpg);
	// 	max-width: 850px;
	// 	width: 100%;
	// 	text-align: center;
	// 	background-size: contain;

	// 	@media #{$max-sm} {
	// 		padding: 0px 15px;
	// 	}
	// }
	#pxl-main {
		padding: 220px 0;
	}
	.pxl-error-image {
		margin-bottom: 43px;
	}
	.pxl-error-inner{
		position: relative;
		.pxl-error-image1{
			position: absolute;
			left: 31%;
			top: 50px;
			transform-origin: left bottom; /* Gốc xoay là vành trái dưới */
    		animation: foldHat 3s infinite;
		}
	}
	.pxl-error-title {
		font-size: 40px;
		font-weight: 700;
		line-height: 1.8; 
		@media #{$max-sm} {
			font-size: 25px;
		}
	}
	.btn.btn-icon-box4{
		padding: 0 15px 0 6px;
		.pxl--btn-text{
			color: #FFF;
			font-size: 16px;
			font-weight: 700;
			line-height: 59px;
		}
		.pxl--btn-icon{
			font-size: 22px;
			border-radius: 4px;
			box-shadow: none;
		}
	}
}

.page-links {
	margin-top: 24px;
	clear: left;

	.post-page-numbers {
		width: 36px;
		height: 36px;
		background-color: #fff;
		line-height: 36px;
		text-align: center;
		font-size: 15px;
		font-weight: 600;
		display: inline-block;
		margin: 15px 15px 0 0;
		color: #080808;
		position: relative;
		z-index: 1;
		padding: 0;
		border: 1px solid #e9e9e9;
		@include border-radius(0px);

		&.current,
		&:hover {
			color: #fff;
			border-color: $primary_color;
			background-color: $primary_color;
		}
	}
}

.pxl-post-row {
	padding-top: 4px;
	margin-bottom: -56px;

	>div {
		margin-bottom: 30px;

		>p {
			margin-bottom: 0 !important;
		}
	}
}

.pxl-content-wrap.no-sidebar {
	.pxl-content-top {
		max-width: 860px;
		margin-left: auto;
		margin-right: auto;
	}
}