.ixp-blog {
	box-sizing: border-box;
	isolation: isolate;
	color: var(--ix-wc-text, #0f1419);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	direction: ltr;
	text-align: left;
	--ix-wc-brand-a: #d6e1f6;
	--ix-wc-brand-b: #cef6dd;
	--ix-wc-gradient: linear-gradient(135deg, #d6e1f6 0%, #cef6dd 100%);
	--ix-wc-gradient-hover: linear-gradient(135deg, #c4d4ec 0%, #b8ecd0 100%);
	--ix-wc-bg: #f7f9fc;
	--ix-wc-surface: #ffffff;
	--ix-wc-border: #d8e3ef;
	--ix-wc-text: #0f1419;
	--ix-wc-muted: #5a6570;
	--ix-wc-link: #1a2d42;
	--ix-wc-accent: #1a2d42;
	--ix-wc-radius: 14px;
	--ix-wc-radius-sm: 10px;
	--ixp-blog-hero-fade: #f0c4b4;
	--ixp-blog-hero-fade-mid: rgba(240, 196, 180, 0.55);
	--ixp-blog-hero-fade-soft: rgba(240, 196, 180, 0.15);
}

.ixp-blog *,
.ixp-blog *::before,
.ixp-blog *::after {
	box-sizing: border-box;
}

.ixp-blog a {
	text-decoration: none;
	color: inherit;
}

.ixp-blog-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.ixp-blog-hero {
	border-radius: 12px;
	height: 265px;
	background: var(--ixp-blog-hero-fade);
	position: relative;
	overflow: hidden;
}

.ixp-blog-hero .ixp-blog-container {
	height: 100%;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 2;
}

.ixp-blog-hero__copy {
	position: relative;
	z-index: 2;
	max-width: min(520px, 52%);
	padding: 22px 28px;
}

.ixp-blog-hero__copy h1 {
	font-size: 49px;
	margin: 0 0 20px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--ix-wc-text);
}

.ixp-blog-hero__copy p {
	font-size: 18px;
	margin: 0;
	color: var(--ix-wc-link);
}

.ixp-blog-hero__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(
			90deg,
			var(--ixp-blog-hero-fade) 0%,
			var(--ixp-blog-hero-fade) 12%,
			var(--ixp-blog-hero-fade-mid) 32%,
			var(--ixp-blog-hero-fade-soft) 42%,
			rgba(240, 196, 180, 0) 50%
		),
		var(--ixp-blog-hero-image) center / cover no-repeat;
}

.ixp-blog-content {
	padding: 28px 0 60px;
}

.ixp-blog-layout {
	display: grid;
	grid-template-columns: 315px 1fr;
	gap: 38px;
	align-items: start;
}

.ixp-blog-sidebar {
	border: 1px solid var(--ix-wc-border);
	border-radius: var(--ix-wc-radius);
	padding: 16px 14px;
	height: max-content;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	position: sticky;
	top: 20px;
	background: var(--ix-wc-surface);
}

.ixp-blog-sidebar__block + .ixp-blog-sidebar__block {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--ix-wc-border);
}

.ixp-blog-sidebar h2 {
	text-align: center;
	font-size: 18px;
	margin: 0 0 8px;
	font-weight: 700;
	color: var(--ix-wc-text);
}

.ixp-blog-sidebar__underline {
	width: 40px;
	height: 3px;
	background: var(--ix-wc-gradient);
	margin: 0 auto 8px;
	border-radius: 2px;
}

.ixp-blog-sidebar__item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 2px;
	border-top: 1px solid var(--ix-wc-border);
	font-size: 13px;
	line-height: 1.35;
	transition: color 0.15s ease;
}

.ixp-blog-sidebar__item:first-of-type {
	border-top: none;
}

.ixp-blog-sidebar__item:hover {
	color: var(--ix-wc-link);
}

.ixp-blog-sidebar__item.is-active {
	color: var(--ix-wc-link);
	font-weight: 700;
}

.ixp-blog-sidebar__label {
	flex: 1;
	min-width: 0;
}

.ixp-blog-sidebar__count {
	font-size: 12px;
	color: var(--ix-wc-muted);
	flex-shrink: 0;
}

.ixp-blog-sidebar__arrow {
	margin-left: auto;
	color: var(--ix-wc-muted);
	flex-shrink: 0;
}

.ixp-blog-sidebar__new {
	background: #f97316 !important;
	background-image: none !important;
	color: #ffffff !important;
	font-size: 9px;
	padding: 4px 7px;
	border-radius: 4px;
	font-weight: 800;
	letter-spacing: 0.05em;
	margin-left: auto;
	flex-shrink: 0;
	text-transform: uppercase;
	box-shadow: 0 1px 2px rgba(249, 115, 22, 0.35);
}

.ixp-blog-sidebar__new + .ixp-blog-sidebar__arrow {
	margin-left: 3px;
}

.ixp-blog-article {
	display: grid;
	grid-template-columns: 335px 1fr;
	gap: 35px;
	padding: 10px 0 26px;
	border-bottom: 1px solid var(--ix-wc-border);
	margin-bottom: 17px;
}

.ixp-blog-article--no-thumb {
	grid-template-columns: 1fr;
}

.ixp-blog-article__img {
	height: 195px;
	border-radius: var(--ix-wc-radius-sm);
	background-size: cover;
	background-position: center;
	background-color: var(--ix-wc-bg);
}

.ixp-blog-article__tag {
	display: inline-block;
	background: var(--ix-wc-gradient);
	color: var(--ix-wc-link);
	border-radius: 5px;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 14px;
}

.ixp-blog-article__title {
	font-size: 26px;
	line-height: 1.25;
	margin: 0 0 13px;
	font-weight: 700;
	color: var(--ix-wc-text);
}

.ixp-blog-article__title a:hover {
	color: var(--ix-wc-link);
}

.ixp-blog-article--no-thumb .ixp-blog-article__excerpt {
	max-width: none;
}

.ixp-blog-article__excerpt {
	font-size: 15px;
	line-height: 1.7;
	color: var(--ix-wc-muted);
	max-width: 760px;
	margin: 0;
}

.ixp-blog-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	margin-top: 23px;
	font-size: 13px;
	color: var(--ix-wc-muted);
}

.ixp-blog-article__read {
	float: right;
	color: var(--ix-wc-link);
	font-weight: 700;
	font-size: 14px;
	margin-top: 17px;
}

.ixp-blog-article__read:hover {
	text-decoration: underline;
}

.ixp-blog-article__body::after {
	content: "";
	display: table;
	clear: both;
}

.ixp-blog-empty {
	padding: 40px 0;
	text-align: center;
	color: var(--ix-wc-muted);
	font-size: 16px;
}

.ixp-blog-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 30px;
	padding-top: 10px;
}

.ixp-blog-pagination a,
.ixp-blog-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--ix-wc-border);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ixp-blog-pagination a:hover {
	border-color: var(--ix-wc-link);
	color: var(--ix-wc-link);
}

.ixp-blog-pagination .current {
	background: var(--ix-wc-gradient);
	border-color: transparent;
	color: var(--ix-wc-link);
}

@media (max-width: 900px) {
	.ixp-blog-layout {
		grid-template-columns: 1fr;
	}

	.ixp-blog-sidebar {
		position: static;
	}

	.ixp-blog-article:not(.ixp-blog-article--no-thumb) {
		grid-template-columns: 280px 1fr;
	}

	.ixp-blog-hero__copy {
		max-width: 62%;
		padding: 18px 22px;
	}
}

@media (max-width: 650px) {
	.ixp-blog-hero {
		height: 300px;
	}

	.ixp-blog-hero__copy {
		max-width: 100%;
		padding: 16px 18px;
	}

	.ixp-blog-hero__copy h1 {
		font-size: 36px;
	}

	.ixp-blog-hero__photo {
		background:
			linear-gradient(
				180deg,
				var(--ixp-blog-hero-fade) 0%,
				var(--ixp-blog-hero-fade-mid) 35%,
				rgba(240, 196, 180, 0) 70%
			),
			var(--ixp-blog-hero-image) center / cover no-repeat;
	}

	.ixp-blog-article:not(.ixp-blog-article--no-thumb) {
		grid-template-columns: 1fr;
		gap: 17px;
	}

	.ixp-blog-article__img {
		height: 210px;
	}

	.ixp-blog-article__title {
		font-size: 22px;
	}

	.ixp-blog-article__read {
		float: none;
		display: inline-block;
		margin-top: 14px;
	}
}
