.blog-hero {
	width: 1060px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
}

@media (min-width: 768px) {
	.blog-hero {
		padding: 0 2rem;
	}
}

.blog-card:hover .blog-card__img {
	transform: scale(1.05);
}

.blog-content h1 {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.2;
	margin: 1.5rem 0 1rem;
	padding-bottom: 0.5rem;
}

.blog-content h2 {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.15;
	margin: 1.5rem 0 0.75rem;
	padding-bottom: 0.4rem;
}

.blog-content h3 {
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 1.25rem 0 0.5rem;
	padding-bottom: 0.3rem;
}

.blog-content h4 {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 1.25rem 0 0.5rem;
	padding-bottom: 0.25rem;
}

.blog-content p {
	font-size: 1.25rem;
	margin: 0.75rem 0;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.7);
}

.blog-content ol,
.blog-content ul {
	font-size: 1.25rem;
	margin: 0.75rem 0;
	padding-left: 2.5rem;
	color: rgba(255, 255, 255, 0.7);
}

.blog-content li {
	margin: 0.25rem 0;
	line-height: 1.8;
}

.blog-content ul {
	list-style-type: disc;
}

.blog-content ol {
	list-style-type: decimal;
}

.blog-content blockquote {
	border-left: 4px solid #a046d3;
	padding-left: 1rem;
	margin: 1rem 0;
	font-style: italic;
	color: rgba(255, 255, 255, 0.6);
}

.blog-content a {
	color: #a046d3;
	text-decoration: underline;
}

.blog-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 1rem 0;
	cursor: zoom-in;
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-content .blog-figure {
	margin: 1.25rem 0;
}

.blog-content .blog-figure img {
	display: block;
	margin: 0;
	width: 100%;
}

.blog-content .blog-figure__caption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.55);
	text-align: center;
}

.blog-content img:hover {
	transform: scale(1.04);
	box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.blog-content strong {
	color: #fff;
}

.blog-content table {
	width: 100% !important;
	max-width: 100% !important;
	table-layout: fixed !important;
	border-collapse: collapse;
	margin: 1.5rem 0;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	overflow: hidden;
	word-break: normal;
	overflow-wrap: anywhere;
}

.blog-content table col {
	width: auto !important;
}

.blog-content table td,
.blog-content table th {
	width: auto !important;
}

.blog-content thead td,
.blog-content thead th {
	background: rgba(160, 70, 211, 0.12);
	color: #fff;
	font-weight: 700;
}

.blog-content td,
.blog-content th {
	padding: 0.75rem 1rem;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	vertical-align: top;
	line-height: 1.6;
}

.blog-content td:last-child,
.blog-content th:last-child {
	border-right: none;
}

.blog-content tr:last-child td {
	border-bottom: none;
}

.blog-content tbody tr:nth-child(2n) td {
	background: rgba(255, 255, 255, 0.02);
}

.blog-content tbody tr:hover td {
	background: rgba(255, 255, 255, 0.04);
}

.blog-content table p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.blog-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.blog-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-lightbox.is-active .blog-lightbox__backdrop {
	opacity: 1;
}

.blog-lightbox__img {
	position: relative;
	z-index: 1;
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 12px;
	object-fit: contain;
	opacity: 0;
	transform: scale(0.92);
	transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-lightbox.is-active .blog-lightbox__img {
	opacity: 1;
	transform: scale(1);
}

.blog-lightbox__close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	z-index: 2;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.3s 0.1s cubic-bezier(0.25, 1, 0.5, 1), background 0.2s;
}

.blog-lightbox.is-active .blog-lightbox__close {
	opacity: 1;
}

.blog-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.tp-card {
	display: flex;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	overflow: hidden;
	margin: 2rem 0;
	min-height: 360px;
}

.tp-card-left {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem 2.5rem;
	min-width: 260px;
	gap: 1rem;
	border-right: 1px solid rgba(255, 255, 255, 0.06);
	background: linear-gradient(180deg, rgba(160, 70, 211, 0.06) 0%, transparent 100%);
}

.tp-card-photo-wrap {
	position: relative;
	width: 200px;
	height: 240px;
}

.tp-card-photo-wrap::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	background: conic-gradient(from 180deg, transparent 40%, #a046d3 50%, transparent 60%);
	z-index: 0;
	opacity: 0.5;
}

.tp-card-photo {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: bottom;
	border-radius: 0;
}

.tp-card-identity {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
}

.tp-card-username {
	color: #a046d3;
	font-size: 0.9rem;
	font-weight: 600;
}

.tp-card-name {
	font-size: 1.75rem;
	font-weight: 900;
	color: #fff;
	letter-spacing: -0.02em;
	text-align: center;
}

.tp-card-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	margin-top: 0.5rem;
	transition: background 0.2s;
}

.tp-card-social:hover {
	background: rgba(160, 70, 211, 0.3);
	text-decoration: none;
}

.tp-card-right {
	flex: 1;
	padding: 2rem 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	overflow-y: auto;
}

.tp-card-country {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.tp-card-flag {
	font-size: 1.5rem;
}

.tp-card-country-name {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
}

.tp-card-bio p {
	margin: 0.75rem 0;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.95rem;
}

.tp-card-bio strong {
	color: #fff;
}

@media (max-width: 767px) {
	.blog-content h2 {
		font-size: 1.75rem;
	}

	.blog-content h3 {
		font-size: 1.375rem;
	}

	.blog-content h4 {
		font-size: 1.125rem;
	}

	.blog-content ol,
	.blog-content p,
	.blog-content ul {
		font-size: 1rem;
	}

	.blog-content td,
	.blog-content th {
		padding: 0.6rem 0.75rem;
		font-size: 0.9rem;
	}
}

@media (max-width: 768px) {
	.tp-card {
		flex-direction: column;
	}

	.tp-card-left {
		min-width: auto;
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
		padding: 1.5rem;
	}

	.tp-card-photo-wrap {
		width: 160px;
		height: 200px;
	}

	.tp-card-right {
		padding: 1.5rem;
	}
}

[dir='rtl'] .blog-content blockquote {
	border-left: none;
	border-right: 4px solid #a046d3;
	padding-left: 0;
	padding-right: 1rem;
}

[dir='rtl'] .blog-content ol,
[dir='rtl'] .blog-content ul {
	padding-left: 0;
	padding-right: 1.5rem;
}

[dir='rtl'] .blog-content td,
[dir='rtl'] .blog-content th {
	text-align: right;
	border-right: none;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
}

[dir='rtl'] .blog-content td:last-child,
[dir='rtl'] .blog-content th:last-child {
	border-left: none;
}
