/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

a {
	color: inherit;
}

:root {
	--ts-blog-primary: #5b0443;
	--ts-blog-accent: #951272;
	--ts-blog-lime: #aee200;
	--ts-blog-bg: #edede4;
	--ts-blog-soft: #fbfbf9;
	--ts-blog-muted: #d7d7c3;
}

.ts-blog-detail {
	background: var(--ts-blog-soft);
	color: var(--ts-blog-primary);
	font-family: "Inter Tight", sans-serif;
	overflow: hidden;
}

.ts-blog-detail h1,
.ts-blog-detail h2 {
	color: var(--ts-blog-primary);
	font-family: "Aeonik", "Inter Tight", sans-serif;
	font-weight: 700;
	margin: 0;
}

.ts-blog-detail p {
	font-size: 18px;
	line-height: 1.55;
	margin: 0 0 1em;
}

.ts-blog-detail p:last-child {
	margin-bottom: 0;
}

.ts-blog-hero {
	background: var(--ts-blog-bg);
	border-radius: 0 0 80px 0;
	padding: 72px 60px 70px;
}

.ts-blog-hero__inner {
	align-items: start;
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 850px) 606px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1600px;
}

.ts-blog-back,
.ts-blog-end a {
	color: var(--ts-blog-accent);
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	position: relative;
	text-decoration: none;
	transition: color 0.3s ease-in-out;
}

.ts-blog-back::after,
.ts-blog-end a::after,
.ts-blog-button--text::after {
	background-color: currentColor;
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	top: 105%;
	transform: translateY(0);
	transition: transform 0.3s ease-in-out;
	width: 100%;
}

.ts-blog-back:hover::after,
.ts-blog-end a:hover::after,
.ts-blog-button--text:hover::after {
	transform: translateY(3px);
}

.ts-blog-back {
	margin-bottom: 44px;
}

.ts-blog-hero h1 {
	font-size: 54px;
	line-height: 0.98;
	max-width: 850px;
}

.ts-blog-hero__lower {
	align-items: start;
	display: grid;
	gap: 104px;
	grid-template-columns: 162px minmax(0, 596px);
	margin-top: 64px;
}

.ts-blog-author {
	display: grid;
	gap: 14px;
}

.ts-blog-author__image {
	aspect-ratio: 162 / 194;
	border-radius: 0 20px 0 0;
	display: block;
	height: auto;
	object-fit: cover;
	width: 162px;
}

.ts-blog-author strong,
.ts-blog-author span {
	color: var(--ts-blog-accent);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

.ts-blog-author span {
	margin-top: -8px;
}

.ts-blog-hero__summary {
	padding-top: 0;
}

.ts-blog-readtime {
	align-items: center;
	background: #dedecb;
	border-radius: 24px 0 24px 24px;
	color: var(--ts-blog-primary);
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	gap: 8px;
	line-height: 1;
	margin-bottom: 32px;
	min-height: 36px;
	padding: 0 20px 0 16px;
}

.ts-blog-readtime img {
	display: block;
	height: 17.2px;
	width: 17.2px;
}

.ts-blog-hero__intro {
	max-width: 596px;
}

.ts-blog-hero__intro p {
	font-size: 23px;
	line-height: 1.45;
}

.ts-blog-hero__button {
	align-items: center;
	border: 1px solid var(--ts-blog-accent);
	border-radius: 24px 0 24px 24px;
	color: var(--ts-blog-accent);
	display: inline-flex;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	margin-top: 44px;
	min-height: 38px;
	padding: 0 18px;
	text-decoration: none;
	transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.ts-blog-hero__button:hover {
	background: var(--ts-blog-accent);
	color: #fff;
	transform: translateY(-1px);
}

.ts-blog-hero__image {
	margin: 0;
	padding-top: 58px;
}

.ts-blog-hero__image img,
.ts-blog-feature__image img,
.ts-blog-gallery img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ts-blog-hero__image img {
	aspect-ratio: 606 / 611;
	border-radius: 0 0 50px 0;
	height: 611px;
	min-height: 0;
	width: 606px;
}

.ts-blog-body {
	margin: 0 auto;
	max-width: 1068px;
	padding: 130px 0 0;
}

.ts-blog-copy {
	margin: 0 auto 178px;
	max-width: 1068px;
}

.ts-blog-copy h2,
.ts-blog-feature h2,
.ts-blog-bullets h2 {
	font-size: 40px;
	line-height: 1;
	margin-bottom: 18px;
}

.ts-blog-copy p,
.ts-blog-feature p,
.ts-blog-bullets p {
	font-size: 19px;
	line-height: 32px;
}

.ts-blog-feature {
	align-items: stretch;
	display: grid;
	gap: 80px;
	grid-template-columns: 400px minmax(0, 1fr);
	margin-bottom: 101px;
}

.ts-blog-feature--image-right {
	grid-template-columns: minmax(0, 520px) 400px;
}

.ts-blog-feature--image-right .ts-blog-feature__image {
	order: 2;
}

.ts-blog-feature__image {
	background: #575755;
	border-radius: 0 0 50px 0;
	margin: 0;
	min-height: 400px;
	overflow: hidden;
}

.ts-blog-gallery {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	justify-content: start;
	margin: 117px 0 193px;
}

.ts-blog-gallery figure {
	aspect-ratio: 1;
	background: #575755;
	border-radius: 0 0 50px 0;
	margin: 0;
	overflow: hidden;
}

.ts-blog-gallery figure:last-child:nth-child(odd):not(:first-child) {
	aspect-ratio: 1000 / 541;
	grid-column: 1 / -1;
}

.ts-blog-buttons {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0 0 96px;
}

.ts-blog-button {
	align-items: center;
	border-radius: 24px 0 24px 24px;
	display: inline-flex;
	font-size: 17px;
	font-weight: 600;
	gap: 33px;
	line-height: 1;
	min-height: 48px;
	padding: 13px 5px 13px 20px;
	position: relative;
	text-decoration: none;
	transition: background-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.ts-blog-button:not(.ts-blog-button--text) {
	justify-content: space-between;
	min-width: 238px;
}

.ts-blog-button__icon,
.ts-blog-button__icon svg {
	display: block;
	height: 20px;
	width: 20px;
}

.ts-blog-button__icon svg {
	transition: transform 0.22s ease;
}

.ts-blog-button:hover {
	transform: translateY(-1px);
}

.ts-blog-button:not(.ts-blog-button--text):hover {
	box-shadow: 0 8px 18px rgba(91, 4, 67, 0.14);
}

.ts-blog-button:hover .ts-blog-button__icon svg {
	transform: translate(2px, -2px);
}

.ts-blog-button--lime {
	background: var(--ts-blog-lime);
	color: var(--ts-blog-primary);
}

.ts-blog-button--lime:hover {
	background: var(--ts-blog-primary);
	color: #fff;
}

.ts-blog-button--purple {
	background: var(--ts-blog-primary);
	color: #fff;
}

.ts-blog-button--purple:hover {
	background: var(--ts-blog-accent);
	color: #fff;
}

.ts-blog-button--text {
	background: transparent;
	color: var(--ts-blog-accent);
	font-size: 19px;
	gap: 0;
	line-height: 1.2;
	min-height: 0;
	padding: 0 0 2px;
	text-decoration: none;
	transform: none;
}

.ts-blog-button--text:hover {
	color: var(--ts-blog-primary);
	transform: none;
}

.ts-blog-bullets {
	margin: 0 auto 104px;
	max-width: 900px;
}

.ts-blog-bullets ul {
	display: grid;
	gap: 24px;
	list-style: none;
	margin: 46px 0 0;
	padding: 0;
}

.ts-blog-bullets li {
	display: grid;
	gap: 6px;
	grid-template-columns: 18px minmax(0, 1fr);
}

.ts-blog-bullets li::before {
	background: var(--ts-blog-accent);
	border-radius: 50%;
	content: "";
	height: 10px;
	margin-top: 10px;
	width: 10px;
}

.ts-blog-bullets li > * {
	grid-column: 2;
}

.ts-blog-bullets li strong {
	font-size: 18px;
	line-height: 1.35;
}

.ts-blog-bullets--text ul {
	gap: 18px;
}

.ts-blog-end {
	border-top: 1px solid var(--ts-blog-muted);
	padding-top: 30px;
}

@media (max-width: 1024px) {
	.ts-blog-hero {
		padding: 58px 30px 64px;
	}

	.ts-blog-hero__inner {
		gap: 46px;
		grid-template-columns: 1fr;
	}

	.ts-blog-hero h1 {
		font-size: 48px;
		max-width: 760px;
	}

	.ts-blog-hero__lower {
		gap: 40px;
		grid-template-columns: 150px minmax(0, 1fr);
	}

	.ts-blog-hero__image img {
		height: auto;
		min-height: 0;
		width: 100%;
	}

	.ts-blog-body {
		padding: 82px 30px 0;
	}

	.ts-blog-feature {
		grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.ts-blog-detail p {
		font-size: 16px;
		line-height: 1.55;
	}

	.ts-blog-hero {
		border-radius: 0 0 48px 0;
		padding: 42px 20px 50px;
	}

	.ts-blog-back {
		margin-bottom: 28px;
	}

	.ts-blog-hero h1 {
		font-size: 40px;
		line-height: 1;
	}

	.ts-blog-hero__lower {
		gap: 28px;
		grid-template-columns: 1fr;
		margin-top: 34px;
	}

	.ts-blog-author {
		max-width: 150px;
	}

	.ts-blog-author__image {
		width: 150px;
	}

	.ts-blog-readtime {
		font-size: 14px;
		margin-bottom: 24px;
	}

	.ts-blog-hero__intro p {
		font-size: 18px;
		line-height: 1.45;
	}

	.ts-blog-hero__button {
		margin-top: 28px;
	}

	.ts-blog-hero__image img {
		border-radius: 0 0 50px 0;
	}

	.ts-blog-copy h2,
	.ts-blog-feature h2,
	.ts-blog-bullets h2 {
		font-size: 40px;
	}

	.ts-blog-copy p,
	.ts-blog-feature p,
	.ts-blog-bullets p {
		font-size: 19px;
		line-height: 32px;
	}

	.ts-blog-body {
		padding: 64px 20px 0;
	}

	.ts-blog-copy,
	.ts-blog-feature,
	.ts-blog-bullets {
		margin-bottom: 60px;
	}

	.ts-blog-feature,
	.ts-blog-gallery {
		grid-template-columns: 1fr;
	}

	.ts-blog-feature {
		gap: 32px;
	}

	.ts-blog-feature__image {
		aspect-ratio: 1;
		min-height: 0;
	}

	.ts-blog-gallery figure,
	.ts-blog-gallery figure:last-child:nth-child(odd):not(:first-child) {
		aspect-ratio: 1;
		grid-column: auto;
		height: auto;
		width: 100%;
	}

	.ts-blog-feature--image-right .ts-blog-feature__image {
		order: 0;
	}
}
