// main: ../main.less, out: false, compress: false, sourceMap: false
// main: ../theme.less, out: false, compress: false, sourceMap: false

/* Post single
/******************************/
.single-post-header {
	padding: 100px 0;
	background-color: @dark;
	//height: 50vh;
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;

	.page-title {
		margin-bottom: 10px;
	}

	.post-tags {
		margin-bottom: 20px;
	}
	.ckav-post-meta {
		margin-bottom: 0;
	}
	.post-pager {
		color: @white;
		display: flex;
		a {
			margin: 0 10px;
		}
	}
	.stikly-post-tag {
		font-size: 40px;
		>i {
			position: relative;
			top: -8px;
			color: #fff;
		}
	}
}
.single-post-content {
	&::after {
		content: '';
		clear: both;
		display: block;
	}
	.post-img {
		min-height: 400px;
		display: block;
		margin-bottom: 40px;
	}
	.post-meta {
		padding: 6px 20px 5px 20px;
		border-radius: 4px;
	}
	.post-tags {
		margin-bottom: 40px;
	}
	.post-author {
		margin-top: 60px;
		padding-top: 60px;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		margin-bottom: 0;
		img {
			border-radius: 100%;
		}
	}
}

/*== Related posts ===============*/
.single-relate-post {
	.carousel-widget {
		margin: 0 -15px;
	}
	.item {
		margin: 0 15px 10px 15px;
	}
}


/*== Single post types ===============*/
[class*="gallery-columns-"] {
	.gallery-item {
		margin-bottom: 30px;
	}
	img {
		width: 100%;
		height: auto;
		display: block;
	}
	.gallery-caption,
	figcaption {
		font-size: 12px;
		font-style: italic;
		margin-top: 10px;
		line-height: 1.3;
	}
}
.wp-block-embed {
	width: 100%;
	iframe {
		width: 100%;
	}
}
.format-video {
	iframe {
		width: 100%;
		height: 650px;
	}
}


/* Blog post box
/******************************/
.ckav-postbox1 {
	margin-bottom: 60px;
	padding-bottom: 60px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);

	figure {
		display: block;
		img {
			margin: auto;
			width: 100%;
		}
	}

	figure,
	.carousel-widget {
		margin-bottom: 40px;
		iframe {
			width: 100%;
		}
	}

	.content-title {
		text-transform: uppercase;
		margin-bottom: 5px;
	}

	.ckav-post-meta {
		margin-bottom: 30px;
	}
	.post-date {
		border-right: 1px solid rgba(0, 0, 0, 0.1);
		font-size: 12px;
		color: @dark;
		font-style: italic;
		width: 150px;
		.dd {
			font-family: @font2;
			font-size: 30px;
			font-style: normal;
			display: block;
			line-height: 1.2;
		}
	}
	.post-text {
		margin-bottom: 20px;
	}

	&.tag-sticky-2,
	&.category-sticky,
	&.sticky {
		.ckav-meta-wrp {
			padding-left: 50px;
			position: relative;

			>i {
				position: absolute;
				left: 0px;
				top: 2px;
				font-size: 40px;
				color: @default;
			}
		}
	}
}


.ckav-postbox2 {
	background-color: @white;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05);
	figure {
		min-height: 250px;
		display: block;
		background-color: rgba(0, 0, 0, 0.1);
		margin: 0px;
		padding: 1px;
		overflow: hidden;
		position: relative;
		.figure-link {
			position: absolute;
			width: 100%;
			height: 100%;
			z-index: 99;
		}
		img {
			height: 200px;
			width: 200px;
			opacity: 0;
		}
	}
	.info {
		padding: 40px;
		min-height: 160px;
	}
	.post-text {
		margin-top: 20px;
	}
	.content-title {
		margin-bottom: 5px;
		a {
			text-overflow: ellipsis;
			display: block;
		}
	}
	.ckav-post-meta1 {
		margin-bottom: 0px;
	}

	&.light {
        color: #fff;
        .content-title {
            color: inherit;
        }
	}
	
	&.tag-sticky-2,
	&.category-sticky,
	&.sticky {
		.ckav-meta-wrp {
			padding-left: 50px;
			position: relative;

			>i {
				position: absolute;
				left: 0px;
				top: 2px;
				font-size: 40px;
				color: @default;
			}
		}
	}
}

.ckav-postbox3 {
	figure {
		position: relative;
		min-height: 300px;
		display: block;

		.post-img {
			position: absolute;
			width: 100%;
			height: 100%;
		}
	}
	.entry-date-wrp {
		position: absolute;
		right: 0;
		top: 0;
		background-color: @default;
		width: 55px;
		padding: 8px 10px;
		color: #fff;
		font-family: @font2;
		text-transform: uppercase;
		font-weight: bold;
		line-height: 1.3;
		z-index: 1;
		.dd {
			display: block;
		}
	}

	.post-categories {
		position: absolute;
		left: 20px;
		bottom: 20px;
		margin: 0px;
		font-size: 12px;
		font-style: italic;
		z-index: 2;
		a {
			background-color: #fff;
			display: inline-flex;
			padding: 4px 10px;
			border-radius: 20px;
			line-height: 1;
			margin-right: 5px;
		}
	}
	.info {
		margin-top: 20px;
		>ul {
			font-size: 12px;
			font-style: italic;
			>li:nth-child(1) {
				&:after {
					content: '';
					border-bottom: 1px solid @default;
					display: inline-flex;
					width: 20px;
					vertical-align: middle;
					margin: 0 10px;
				}
			}
		}

		.content-title {
			margin-bottom: 0px;
			text-transform: uppercase;
		}
		.post-author {
			margin-bottom: 0;
			/* &:after {
				content: '';
				border-bottom: 1px solid @default;
				display: inline-flex;
				width: 25px;
				vertical-align: middle;
				margin: 0 10px;
			} */
		}
	}
	.post-text {
		margin-top: 20px;
	}

	&.tag-sticky-2,
	&.category-sticky,
	&.sticky {
		.info {
			padding-left: 50px;
			position: relative;

			>i {
				position: absolute;
				left: 0px;
				font-size: 40px;
				color: @default;
			}
		}
	}
	
	&.light {
        color: #fff;
        .content-title {
            color: inherit;
		}
		.post-categories {
			color: rgba(0, 0, 0, 0.8);
		}
	}
	
}



/*== Post grid customization ===============*/
.blogpost-grid.eq1 {
	.ckav-postbox2 {
		margin-bottom: 60px;
		figure {
			min-height: 600px;
		}
	}

	.ckav-postbox3 {
		padding-bottom: 60px;
		margin-bottom: 0px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		figure {
			min-height: 600px;
		}
	}
	>.cl:last-child {
		.ckav-postbox3 {
			border-bottom: none;
		}
	}
	
}

.blogpost-grid.eq2 {
	.ckav-postbox1 {
		.gt60 {
			margin-right: -20px;
			margin-left: -20px;
			> [class*="col-"], 
			> [class*="col"] {
				padding-right: 20px;
    			padding-left: 20px;
			}
		}
		
		.post-date { 
			width: 110px;
		}
	}
}
.blogpost-grid.eq3 {
	.ckav-postbox1 {
		.gt60 {
			margin-right: -15px;
			margin-left: -15px;
			> [class*="col-"], 
			> [class*="col"] {
				padding-right: 15px;
    			padding-left: 15px;
			}
		}
		.post-date { 
			width: 90px;
			.dd {
				font-size: 24px;
			}
		}
	}
}



/*== Post meta style ===============*/
.ckav-post-meta {
	list-style-type: none;
	padding: 0;
	font-style: italic;
	font-size: 12px;
	margin-bottom: 0px;
	p {
		margin: 0px;
		display: inline-flex;
		flex-wrap: wrap;
	}
	[class*="col-"] {
		&:after {
			content: '';
			border-bottom: 1px solid @default;
			display: inline-flex;
			width: 20px;
			vertical-align: middle;
			margin: 0 15px;
		}
		&:last-child:after {
			display: none;
		}
	}
	a:hover {
		text-decoration: underline;
	}
}

.ckav-post-meta1 {
	list-style-type: none;
	padding: 0px;
	font-style: italic;
	font-size: 12px;
	p {
		margin: 0px;
		display: inline-flex;
		flex-wrap: wrap;
	}
	[class*="col-"] {
		&:after {
			content: '-';
			display: inline-flex;
			margin: 0 5px;
			line-height: 1;
		}
		&:last-child:after {
			display: none;
		}
	}
	a:hover {
		text-decoration: underline;
	}
}




/* Pagination
/******************************/
.paging-navigation {
	
	text-align: center;
	.pagination {
		display: inline-flex;
		flex-direction: row;
		justify-content: flex-start;

		border: 1px solid rgba(0, 0, 0, 0.1);
		padding: 2px;
		border-radius: 40px;

		.page-numbers {
			font-family: @button-font;
			margin: 2px;
			border-radius: 50px;
			padding: 8px 15px;
			text-transform: uppercase;
			font-size: 12px;

			&:hover {
				background-color: @primary;
				opacity: 1;
				color: #fff;
			}

		}

		.page-numbers.current {
			background-color: @dark;
			color: #fff;
		}
	}
}

.post-pagination {
	.prev, 
	.next {
		padding-top: 40px;
		padding-bottom: 40px;
		span {
			display: inline-block;
			white-space: nowrap; 
			max-width: 80%; 
			overflow: hidden;
			text-overflow: ellipsis;
			vertical-align: middle;
		}
	}
	.prev {
		border-right: 1px solid rgba(0, 0, 0, 0.1);
		padding-right: 30px;
	}
	.next {
		padding-left: 30px;
		text-align: right;
	}
}




/*  Comment form box
/******************************/
.comment-respond {
	padding: 30px;
	background-color: rgba(0, 0, 0, 0.01);
	border: 1px solid rgba(0, 0, 0, 0.06);

	.comment-reply-title {
		margin: 0;
		position: relative;
		font-family: inherit;
		font-size: inherit;
		>a {
			position: absolute;
			right: 0px;
			top: -30px;
			font-size: 12px;
		}
	}
	.required-notice {
		float: right;
		font-size: 12px;
		font-style: italic;
	}
	.icon-check {
		color: red;
	}
	.comment-form-cookies-consent {
		input {
			margin-right: 10px;
		}
	}
}


/* Comment list
/******************************/
.comment-container {
	width: 80%;
	margin: auto;
}
.comments-title {
	margin-bottom: 0;
}

.comment-list {
	list-style-type: none;
	margin: 0 0 70px 0;
	padding: 0px;
	position: relative;

	>ol,
	>ol ol {
		list-style-type: none;
		margin: 0px;
		padding: 0px;
	}
	.children {
		position: relative;
		list-style-type: none;
		padding: 0px;
		padding-left: 40px;
		margin-left: 25px;
		> .comment {
			> .info-obj {
				position: relative;
			}
		}
	}
	.comment-wrp {
		position: relative;
		z-index: 10;
		padding: 1px 0;
	}
	.comment-box {
		position: relative;
		display: flex;
		margin: 10px 0;
		.comment-author {
			margin-bottom: 0px;
		}
		.comment-permalink {
			font-style: italic;
			font-size: 12px;
			margin-bottom: 15px;
			display: inline-flex;
		}
		.info-wrp {
			flex: 0 0 ~"calc(100% - 50px)";
    		max-width: ~"calc(100% - 50px)";
		}
		.info {
			padding: 25px;
			background-color: rgba(0, 0, 0, 0.02);
			border-radius: 4px;
			
		}
		.img {
			min-width: 50px;
			width: 50px;
			height: 50px;
			border-radius: 60px;
			overflow: hidden;
			border: 4px solid @white;
			box-shadow: 0 1px 8px 0 rgba(0,0,0,0.1);
		}
		+.comment-respond {
			margin: 20px 0;
		}
	}
}

/* Wordpress post links
/******************************/
.post-nav-links {
	display: flex;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding: 10px 0;
	text-align: center;

	.post-page-numbers {
		//border: 1px solid;
		display: inline-flex;
		padding: 3px 10px;
		font-size: 12px;
		margin: 0 5px;
		font-style: normal;
		border-radius: 50px;
		&:first-child {
			margin-left: 10px;
		}
		&.current {
			background-color: @primary;
			color: #fff;
		}
	}
}