body.blog,
body.category,
body.tag {
	--ti-blog-ink: #151515;
	--ti-blog-gold: #d89a31;
	--ti-blog-cream: #f7f3ec;
	--ti-blog-line: #e8dfd3;
	--ti-blog-muted: #655f57;
}

body.blog .page_content_wrap,
body.category .page_content_wrap,
body.tag .page_content_wrap {
	background: linear-gradient(180deg, #f8f5ef 0%, #fff 420px) !important;
}

body.blog .top_panel_title,
body.category .top_panel_title,
body.tag .top_panel_title {
	display: none !important;
}

body.blog .posts_container,
body.category .posts_container,
body.tag .posts_container {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: min(1240px, calc(100% - 48px)) !important;
	max-width: 1240px !important;
	margin: 0 auto 72px !important;
	padding: 8px 0 12px !important;
	float: none !important;
}

body.blog article.post_layout_excerpt,
body.category article.post_layout_excerpt,
body.tag article.post_layout_excerpt {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid var(--ti-blog-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(45, 34, 18, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}

body.blog article.post_layout_excerpt + article.post_layout_excerpt,
body.category article.post_layout_excerpt + article.post_layout_excerpt,
body.tag article.post_layout_excerpt + article.post_layout_excerpt {
	margin-top: 0 !important;
}

body.blog article.post_layout_excerpt:hover,
body.category article.post_layout_excerpt:hover,
body.tag article.post_layout_excerpt:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 48px rgba(45, 34, 18, .14);
}

body.blog .post_layout_excerpt .post_featured,
body.category .post_layout_excerpt .post_featured,
body.tag .post_layout_excerpt .post_featured {
	position: relative;
	width: 100% !important;
	height: 220px !important;
	margin: 0 !important;
	overflow: hidden;
	background: #1b1b1b;
}

body.blog .post_layout_excerpt .post_featured img,
body.category .post_layout_excerpt .post_featured img,
body.tag .post_layout_excerpt .post_featured img {
	width: 100% !important;
	height: 220px !important;
	max-width: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

body.blog .post_layout_excerpt .post_featured .mask,
body.category .post_layout_excerpt .post_featured .mask,
body.tag .post_layout_excerpt .post_featured .mask {
	opacity: .12 !important;
}

body.blog .post_layout_excerpt .post_header,
body.category .post_layout_excerpt .post_header,
body.tag .post_layout_excerpt .post_header,
body.blog .post_layout_excerpt .post_content,
body.category .post_layout_excerpt .post_content,
body.tag .post_layout_excerpt .post_content {
	padding: 0 22px;
}

body.blog .post_layout_excerpt .post_header,
body.category .post_layout_excerpt .post_header,
body.tag .post_layout_excerpt .post_header {
	padding-top: 20px;
}

body.blog .post_layout_excerpt .post_content,
body.category .post_layout_excerpt .post_content,
body.tag .post_layout_excerpt .post_content {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding-bottom: 22px;
}

body.blog .post_layout_excerpt .post_title,
body.category .post_layout_excerpt .post_title,
body.tag .post_layout_excerpt .post_title {
	margin: 0 0 10px !important;
	color: var(--ti-blog-ink) !important;
	font: 800 22px/1.25 Manrope, Roboto, sans-serif !important;
	letter-spacing: -.03em !important;
	text-transform: none !important;
}

body.blog .post_layout_excerpt .post_title a,
body.category .post_layout_excerpt .post_title a,
body.tag .post_layout_excerpt .post_title a {
	color: inherit !important;
	text-decoration: none !important;
}

body.blog .post_layout_excerpt .post_meta,
body.category .post_layout_excerpt .post_meta,
body.tag .post_layout_excerpt .post_meta {
	order: -1;
	margin: 0 0 10px !important;
	color: var(--ti-blog-muted) !important;
	font-size: 13px !important;
}

body.blog .post_layout_excerpt .post_counters_comments,
body.blog .post_layout_excerpt a[href*="#respond"],
body.blog .post_layout_excerpt .post_meta_item.post_counters,
body.category .post_layout_excerpt .post_counters_comments,
body.category .post_layout_excerpt a[href*="#respond"],
body.tag .post_layout_excerpt .post_counters_comments,
body.tag .post_layout_excerpt a[href*="#respond"] {
	display: none !important;
}

body.blog .post_layout_excerpt .post_content_inner,
body.category .post_layout_excerpt .post_content_inner,
body.tag .post_layout_excerpt .post_content_inner {
	margin: 0 0 16px !important;
	color: var(--ti-blog-muted);
	font-size: 15px;
	line-height: 1.7;
}

body.blog .post_layout_excerpt .post_content_inner p,
body.category .post_layout_excerpt .post_content_inner p,
body.tag .post_layout_excerpt .post_content_inner p {
	margin: 0 !important;
}

body.blog .post_layout_excerpt .post-more-link,
body.blog .post_layout_excerpt .more-link,
body.blog .post_layout_excerpt .post_more,
body.category .post_layout_excerpt .post-more-link,
body.tag .post_layout_excerpt .post-more-link {
	display: inline-flex !important;
	align-items: center;
	width: auto !important;
	max-width: none !important;
	overflow: visible !important;
	margin: auto 0 0 !important;
	color: var(--ti-blog-gold) !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}

body.blog .post_layout_excerpt .post-more-link .link-text,
body.category .post_layout_excerpt .post-more-link .link-text,
body.tag .post_layout_excerpt .post-more-link .link-text {
	display: inline !important;
	width: max-content !important;
	height: auto !important;
	overflow: visible !important;
	text-indent: 0 !important;
	font-size: 14px !important;
	color: inherit !important;
	opacity: 1 !important;
	visibility: visible !important;
	white-space: nowrap !important;
}

body.blog .post_layout_excerpt .post-more-link .more-link-icon,
body.category .post_layout_excerpt .post-more-link .more-link-icon,
body.tag .post_layout_excerpt .post-more-link .more-link-icon {
	display: none !important;
}

body.blog .post_layout_excerpt .post-more-link p,
body.category .post_layout_excerpt .post-more-link p,
body.tag .post_layout_excerpt .post-more-link p {
	margin: 0 !important;
}

.ti-blog-archive-head {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(260px, 1fr);
	align-items: end;
	gap: 24px;
	margin: 28px 0 8px;
}

.ti-blog-archive-head span {
	display: block;
	margin-bottom: 10px;
	color: var(--ti-blog-gold);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ti-blog-archive-head h1 {
	margin: 0 !important;
	color: var(--ti-blog-ink) !important;
	font: 800 clamp(34px, 5vw, 52px)/1.05 Manrope, Roboto, sans-serif !important;
	letter-spacing: -.04em !important;
	text-transform: none !important;
}

.ti-blog-archive-head p {
	max-width: 520px;
	margin: 0 0 8px;
	color: var(--ti-blog-muted);
	font-size: 16px;
	line-height: 1.7;
}

body.blog .nav-links,
body.blog .page_nav,
body.blog .pagination_wrap,
body.category .nav-links,
body.category .page_nav,
body.tag .nav-links {
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto 64px !important;
	justify-content: center;
}

body.single-post .page_content_wrap {
	background: linear-gradient(180deg, #f8f5ef 0%, #ffffff 360px) !important;
}

body.single-post .content {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

body.single-post .content_wrap {
	width: 100% !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.single-post .sidebar,
body.single-post .sidebar_inner,
body.single-post .edifice_skip_link.skip_to_sidebar_link {
	display: none !important;
}

body.single-post .post_meta,
body.single-post .comments_wrap,
body.single-post .post_author,
body.single-post .related_wrap,
body.single-post .post_footer_single,
body.single-post .post_tags_single,
body.single-post .nav-links-single,
body.single-post .author_info {
	display: none !important;
}

body.single-post article.post_item_single {
	width: min(1120px, calc(100% - 48px)) !important;
	max-width: 1120px !important;
	margin: 36px auto 80px !important;
	background: #fff;
	border-radius: 30px;
	padding: clamp(24px, 4vw, 48px);
	box-shadow: 0 24px 80px rgba(45, 34, 18, .08);
}

body.single-post .ti-single-blog .ti-blog-lead {
	background: #f8f3ea;
	border: 1px solid #eadfce;
	border-radius: 22px;
	padding: 24px;
	font-size: 18px;
	line-height: 1.75;
	margin-bottom: 28px;
}

body.single-post .ti-blog-points {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 30px 0;
}

body.single-post .ti-blog-points section,
body.single-post .ti-blog-note,
body.single-post .ti-blog-checks li {
	border: 1px solid #eadfce;
	border-radius: 22px;
	background: #fff;
	padding: 22px;
	box-shadow: 0 14px 38px rgba(45, 34, 18, .06);
}

body.single-post .ti-blog-points span {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: #d89a31;
	color: #111;
	font-weight: 900;
	margin-bottom: 16px;
}

body.single-post .ti-blog-points h2,
body.single-post .ti-blog-note h2,
body.single-post .ti-blog-cta h2 {
	font-size: 24px !important;
	line-height: 1.2 !important;
	margin: 0 0 12px !important;
	letter-spacing: -.02em;
}

body.single-post .ti-blog-note {
	background: #171717;
	color: rgba(255, 255, 255, .86);
	margin: 30px 0;
}

body.single-post .ti-blog-note h2 {
	color: #fff !important;
}

body.single-post .ti-blog-checks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding: 0 !important;
	margin: 0 0 30px !important;
	list-style: none !important;
}

body.single-post .ti-blog-checks li:before {
	content: "✓";
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: #d89a31;
	color: #111;
	font-weight: 900;
	margin-right: 10px;
}

body.single-post .ti-blog-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	border-radius: 26px;
	background: #f8f3ea;
	border: 1px solid #eadfce;
	padding: 28px;
}

body.single-post .ti-blog-cta a {
	flex: 0 0 auto;
	background: #d89a31;
	color: #111 !important;
	border-radius: 999px;
	padding: 14px 20px;
	font-weight: 900;
	text-decoration: none !important;
}

body.single-post .ti-blog-detail-gallery {
	margin: 34px 0;
}

body.single-post .ti-blog-gallery-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 16px;
}

body.single-post .ti-blog-gallery-head span {
	display: block;
	color: #d89a31;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

body.single-post .ti-blog-gallery-head h2 {
	margin: 0 !important;
	font-size: clamp(26px, 3vw, 38px) !important;
	line-height: 1.1 !important;
	letter-spacing: -.035em;
}

body.single-post .ti-blog-gallery-actions {
	display: inline-flex;
	gap: 10px;
	flex: 0 0 auto;
}

body.single-post .ti-blog-gallery-actions button {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid #eadfce;
	background: #fff;
	color: #111;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
}

body.single-post .ti-blog-gallery-track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 4px 16px;
	scrollbar-width: thin;
}

body.single-post .ti-blog-gallery-item {
	flex: 0 0 calc(50% - 9px);
	position: relative;
	min-height: 300px;
	border-radius: 24px;
	overflow: hidden;
	background: #111;
	scroll-snap-align: start;
	text-decoration: none !important;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .11);
}

body.single-post .ti-blog-gallery-item img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

body.single-post .ti-blog-gallery-item:hover img {
	transform: scale(1.04);
}

body.single-post .ti-blog-gallery-item strong {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	background: rgba(0, 0, 0, .68);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 16px;
	padding: 11px 14px;
	backdrop-filter: blur(8px);
}

body.ti-blog-lightbox-open {
	overflow: hidden;
}

.ti-blog-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .88);
	padding: 34px;
}

.ti-blog-lightbox.is-open {
	display: flex;
}

.ti-blog-lightbox img {
	max-width: min(1120px, 92vw);
	max-height: 78vh;
	border-radius: 18px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
	object-fit: contain;
}

.ti-blog-lightbox p {
	position: fixed;
	left: 50%;
	bottom: 34px;
	transform: translateX(-50%);
	margin: 0;
	max-width: min(760px, 86vw);
	color: #fff;
	background: rgba(0, 0, 0, .62);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	padding: 10px 18px;
	text-align: center;
}

.ti-blog-lightbox button {
	position: fixed;
	right: 28px;
	top: 24px;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .24);
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

@media (max-width: 1100px) {
	body.blog .posts_container,
	body.category .posts_container,
	body.tag .posts_container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ti-blog-archive-head {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

@media (max-width: 991px) {
	body.single-post .ti-blog-points,
	body.single-post .ti-blog-checks {
		grid-template-columns: 1fr;
	}

	body.single-post .ti-blog-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	body.single-post .ti-blog-gallery-item {
		flex-basis: 88%;
	}
}

@media (max-width: 700px) {
	body.blog .posts_container,
	body.category .posts_container,
	body.tag .posts_container {
		grid-template-columns: 1fr;
		width: min(100% - 28px, 1240px) !important;
		gap: 18px;
	}

	body.single-post article.post_item_single {
		width: min(100% - 28px, 1120px);
		padding: 20px 16px;
		border-radius: 22px;
	}

	body.blog .post_layout_excerpt .post_featured,
	body.blog .post_layout_excerpt .post_featured img,
	body.category .post_layout_excerpt .post_featured,
	body.category .post_layout_excerpt .post_featured img,
	body.tag .post_layout_excerpt .post_featured,
	body.tag .post_layout_excerpt .post_featured img {
		height: 200px !important;
	}
}
