/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.entry-header h1.entry-title {
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.1;
	margin: 0 0 10px;
}

@media only screen and (max-width: 600px) {
	.entry-header h1.entry-title {
		font-size: var(--wp--preset--font-size--x-large);
	}
}
.hentry {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.entry-header,
.page-header,
.entry-footer,
.site-info,
.post-navigation,
.page-navigation,
.comments-area,
.not-found .page-content,
.search .entry-summary {
	margin: 1.5em auto;
	padding-left: 14px;
	padding-right: 14px;
}

.entry-header .wp-post-image {
	margin-bottom: 1.5em;
}

.entry-footer span {
	margin-right: 1em;
}

.entry-footer {
	color: #aaa;
	font-size: 90%;
	padding-bottom: 20px;
	border-bottom: 1px solid #999;
	display: none;
}

@media screen and (min-width: 664px) {
	.entry-header,
	.page-header,
	.entry-footer,
	.site-info,
	.post-navigation,
	.page-navigation,
	.comments-area,
	.not-found .page-content,
	.search .entry-summary {
		padding-left: 0;
		padding-right: 0;
	}
}
/* ===================================
   Blog loop (search results, archives) and single posts
=================================== */

.blog_holder.masonry {
	margin-top: 80px;
	margin-bottom: 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.blog_holder.masonry article {
	margin: 0 0 2% 0;
	float: none;
	width: 32%;
	background-color: var(--wp--preset--color--white);
}

.blog_holder.masonry article.width-50 {
	width: 49%;
}

.blog_holder.masonry::after {
	content: "";
	width: 31%;
	display: block;
}

.blog_holder.masonry article .masnory-inner {
	opacity: 0;
	padding: 22px;
	transition:
		opacity 0.4s var(--ease-in-out),
		transform 0.4s var(--ease-in-out);
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	transform: scale(0.8);
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1.5px solid #e7e7e7;
	background: var(--wp--preset--color--white);
}

.blog_holder.masonry article.show .masnory-inner {
	opacity: 1;
	-webkit-transform: unset;
	transform: unset;
	-moz-transform: unset;
}

.blog_holder .post_text .entry-title {
	font-size: var(--wp--preset--font-size--large);
	text-transform: none;
	text-shadow: none;
}

.blog_holder .post_text .entry-title a {
	text-decoration: none;
	color: var(--wp--preset--color--black);
}

.blog_holder .post_text .entry-title a:hover {
	color: var(--wp--preset--color--primary);
}
.blog_holder .post_image {
	overflow: hidden;
}
.blog_holder .post_text {
	position: relative;
	margin: 20px 0 0;
	padding-bottom: 50px;
	flex-grow: 1;
}

.blog_holder .post_text .post_more {
	bottom: 0;
	position: absolute;
}

.blog_holder .post_text .time.entry_date {
	color: var(--wp--preset--color--primary);
	margin-bottom: 10px;
	text-transform: uppercase;
}

.blog_holder .post_text.has_no_img .time.entry_date {
	margin-left: 0;
	margin-top: 0;
}

.post_image img {
	display: block;
	width: 100%;
}

.author_meta {
	display: table;
	margin-bottom: 15px;
	flex-grow: 1;
}

.author_meta .au_image {
	display: table-cell;
	padding-right: 20px;
	vertical-align: middle;
}

.author_meta .au_name {
	font-size: 13px;
	color: #555555;
	display: table-cell;
	vertical-align: middle;
}

.author_meta .au_image img {
	display: block;
	border-radius: 50px;
}

article .entry-meta {
	margin: 0 0 10px;
	position: relative;
	color: var(--wp--preset--color--primary);
	font-weight: 700;
}

article .entry-meta a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	text-transform: uppercase;
	pointer-events: none;
}

article .entry-meta a:hover {
	color: var(--wp--preset--color--black);
}

article .entry-meta .posted-on {
	padding-right: 20px;
	display: inline-block;
	line-height: 40px;
}

article .entry-meta .categories {
	padding-right: 20px;
	display: inline-block;
}

body.single .entry-meta {
	margin: 50px 0 5px;
}

body.single .entry-content {
	padding: 0px;
	background-color: var(--wp--preset--color--white);
}

.single .type-post h2 {
	text-transform: none;
	max-width: 1000px;
}

.related_post {
	padding-top: 80px;
}

.related_post h2.related-title {
	margin-bottom: 40px;
	position: relative;
}

.related_post h2.related-title::before {
	content: "";
	width: 40px;
	height: 3px;
	background-color: var(--wp--preset--color--primary);
	display: block;
	margin-bottom: 20px;
}

body.archive .page-header {
	padding: 0 !important;
	margin-top: 80px;
}

@media only screen and (max-width: 1024px) {
	.blog_holder.masonry article {
		width: 49%;
	}
}

@media only screen and (max-width: 768px) {
	.blog_holder.masonry article {
		width: 100% !important;
		margin: 0 0 45px 0;
	}

	body.single .entry-content {
		padding: 25px 30px;
	}
}

@media only screen and (max-width: 500px) {
	body.single .entry-content {
		padding: 20px;
	}
}

/*------------------Blog Load More----------------*/

.blog_load_more_button_loading {
	display: none;
}

.blog_load_more_button_holder {
	text-align: center;
	padding: 0 0 80px;
}

.blog_load_more_button_holder .blog_load_more_button span {
	position: relative;
	display: block;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	overflow-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	border-bottom: 1px solid #111;
	margin: 0 auto 60px;

	overflow: hidden;
	padding-bottom: 60px;
	display: none;
}

.nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	width: 50%;
	flex: 1 0 50%;
	display: none;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* ===================================
   Sidebars
=================================== */
.widget-area {
	width: 25%;
}

.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

.sidebar-widget {
	margin-bottom: 20px;
	padding: 30px;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.sidebar-widget ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-size: 0.95rem;
}

.sidebar-widget p {
	margin-top: 0;
}

.sidebar-widget a {
	text-decoration: none;
}

.sidebar-widget > .wp-block-group {
	margin-bottom: 40px;
	background-color: #efefef;
	padding: 30px;
}

.sidebar-widget .widget-title,
.sidebar-widget h3,
.sidebar-widget .widgettitle {
	font-weight: 600;
	margin-bottom: 20px;
	text-transform: uppercase;
	font-size: 1.2rem;
	line-height: 2rem;
	color: var(--wp--preset--color--white);
}

.sidebar-widget h2,
.sidebar-widget h3 {
	color: var(--wp--preset--color--black);
	font-size: 20px;
	font-weight: 700;
}

.sidebar-widget ul li {
	padding-bottom: 20px;
	color: var(--wp--preset--color--white);
}

.sidebar-widget ul li a {
	color: var(--wp--preset--color--white);
}

.sidebar-widget ul li a:hover {
	color: var(--wp--preset--color--black);
}

.sidebar-widget .wp-block-latest-posts__post-date {
	color: var(--wp--preset--color--white);
}

.sidebar-widget ul.wp-block-categories li {
	padding: 0 0 15px 0;
	margin-bottom: 15px;
	color: var(--wp--preset--color--primary);
}

body.single .sidebar-col .entry-meta .posted-on {
	background: none;
	padding: 0;
	line-height: 25px;
}
/*--------------------------------------------------------------
# Page Lyout
--------------------------------------------------------------*/
.page-container {
	margin: 0 auto;
	max-width: 1470px;
	padding: 0 15px;
}

body.single .page-container {
	padding: 0;
}

.page-row {
	margin-left: -15px;
	margin-right: -15px;
	overflow: hidden;
}

.page-col {
	float: left;
	padding: 0 15px;
	width: 73%;
}

.sidebar-col {
	float: left;
	padding: 0 15px;
	width: 27%;
}

.sidebar-widget-wrap {
	margin: 160px 0;
}
@media screen and (max-width: 767px) {
	.page-col {
		float: none;
		width: 100%;
	}

	.sidebar-col {
		float: none;
		margin: 0;
		width: 100%;
	}

	.sidebar-wrap {
		margin: 50px 0;
	}
}
/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending {
	display: block;
}
/* ===================================
   Nummber P
=================================== */
p.number {
	display: inline-block;
	margin: 0;
	height: 60px;
	width: 60px;
	background-color: var(--wp--preset--color--primary);
	line-height: 60px;
	color: var(--wp--preset--color--white);
	font-size: 30px;
	font-weight: bold;
	border-radius: 50px;
	outline: 5px solid rgba(246, 141, 31, 0.3);
	margin-bottom: 33px;
	text-align: center;
}
/* ===================================
   Order-Unorder List
=================================== */
.entry-content ol {
	margin: 0.5em 0;
}

.entry-content ol li {
	margin: 0 0;
}

.entry-content
	ul:not(.flex-direction-nav):not(.wp-block-post-template):not(.blocks-gallery-grid):not(.kb-gallery-ul):not(
		.kt-tabs-title-list
	):not(.wp-block-social-links):not(.splide__list):not(.splide__pagination):not(.slides) {
	list-style: none;

	padding: 0;
}

.entry-content
	ul:not(.flex-direction-nav):not(.wp-block-post-template):not(.blocks-gallery-grid):not(.kb-gallery-ul):not(
		.kt-tabs-title-list
	):not(.wp-block-social-links):not(.splide__list):not(.splide__pagination):not(.slides)
	li {
	position: relative;
	margin: 0 0 2px;
	padding: 0 0 0 20px;
}

.entry-content
	ul:not(.flex-direction-nav):not(.wp-block-post-template):not(.kb-gallery-ul):not(.kt-tabs-title-list):not(
		.wp-block-social-links
	):not(.splide__list):not(.splide__pagination):not(.slides)
	li::before {
	content: "•";
	position: absolute;
	left: 4px;
	top: 5px;
	line-height: 10px;
	display: block;
}

.entry-content ul.blocks-gallery-grid li {
	padding-left: 0 !important;
}

.entry-content ol:not(.flex-control-nav) {
	counter-reset: item;
	list-style-type: none;
}

.entry-content ol:not(.flex-control-nav) li {
	display: block;
	font-size: 18px;
	color: var(--wp--preset--color--black);
	line-height: 24px;
	padding-bottom: 10px;
	padding-left: 38px;
	position: relative;
}

.entry-content ol:not(.flex-control-nav) li::before {
	content: counter(item) "  ";
	counter-increment: item;
	background-color: var(--wp--preset--color--primary);
	border-radius: 50%;
	width: 25px;
	height: 25px;
	display: inline-block;
	text-align: center;
	color: var(--wp--preset--color--white);
	line-height: 25px;
	font-size: 14px;
	font-weight: bold;
	margin-right: 0;
	position: absolute;
	left: 0;
	top: 1px;
}

/* ===================================
   Table
=================================== */

.wp-block-table thead {
	border-bottom: 2px solid;
}

.wp-block-table .has-fixed-layout th {
	text-align: left;
	font-weight: 400;
}

.wp-block-table {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
}

.wp-block-table :where(figcaption) {
	color: var(--wp--preset--color--white);
	font-size: 24px;
	text-align: center;
	font-weight: 700;
	background-color: var(--wp--preset--color--primary);
	line-height: 32px;
	padding: 13px 30px;
	display: inline-block;
	width: auto;
}

.wp-block-table.is-style-stripes thead {
	border-bottom: 0;
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--white);
	text-align: left;
	font-weight: 700;
}

.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th {
	padding: 0.9em;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(2n + 1) {
	background-color: var(--wp--preset--color--white);
}
/* ===================================
   404 page
=================================== */
.error-404.not-found {
	padding-top: 100px;
	padding-bottom: 100px;
	text-align: center;
	background-color: var(--wp--preset--color--green);
	color: var(--wp--preset--color--white);
	height: calc(100vh - 70px);
	border-radius: 30px;
}

.error-404.not-found h1 {
	color: var(--wp--preset--color--black);
	font-size: clamp(6.25rem, -0.9754rem + 23.1214vw, 18.75rem);
	line-height: 0.75em;
	margin: 0px;
	font-weight: 700;
	text-shadow:
		2px 2px 0px var(--wp--preset--color--primary),
		-2px -2px 0px var(--wp--preset--color--secondary),
		0px 0px 8px #fff;
}

.error-404.not-found .page-content {
	max-width: 600px;
	padding-top: 30px;
	font-size: 20px;
}

.error-404.not-found .page-content .homebtn {
	margin-top: 30px;
}
