/* ===== SECTION: Hero Mosaic - Start ===== */
.hero-mosaic-section {
	padding: 30px 0 60px;
}
.hero-mosaic {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 15px;
	height: 560px;
}
.hero-mosaic-item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius-medium);
	background: var(--light-gray);
	transition: all 0.4s ease;
}
.hero-mosaic-main {
	grid-column: 1 / 2;
	grid-row: 1 / 3;
}
.hero-mosaic-bg {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.hero-mosaic-item:hover .hero-mosaic-bg {
	transform: scale(1.05);
}
.hero-mosaic-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(74, 1, 39, 0.85) 0%, rgba(74, 1, 39, 0.35) 45%, rgba(74, 1, 39, 0) 70%);
	transition: all 0.3s ease;
}
.hero-mosaic-item:hover .hero-mosaic-overlay {
	background: linear-gradient(to top, rgba(74, 1, 39, 0.9) 0%, rgba(74, 1, 39, 0.5) 55%, rgba(74, 1, 39, 0.1) 85%);
}
.hero-mosaic-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 25px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 2;
}
.hero-mosaic-main .hero-mosaic-content {
	padding: 40px;
	gap: 12px;
}
.hero-mosaic-cat {
	display: inline-flex;
	align-self: flex-start;
	padding: 5px 12px;
	background: var(--primary);
	color: var(--white);
	border-radius: var(--radius-small);
	font-size: 12px;
	line-height: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.hero-mosaic-title {
	color: var(--white);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.hero-mosaic-main .hero-mosaic-title {
	-webkit-line-clamp: 4;
}

@media (max-width: 1279px) {
	.hero-mosaic-section {
		padding: 15px 0 40px;
	}
	.hero-mosaic {
		height: 500px;
		gap: 10px;
	}
	.hero-mosaic-main .hero-mosaic-content {
		padding: 25px;
	}
	.hero-mosaic-content {
		padding: 18px;
	}
}
@media (max-width: 768px) {
	.hero-mosaic {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 240px repeat(2, 120px);
		height: auto;
	}
	.hero-mosaic-main {
		grid-column: 1 / 3;
		grid-row: 1 / 2;
	}
	.hero-mosaic-main .hero-mosaic-content {
		padding: 18px;
	}
	.hero-mosaic-content {
		padding: 12px;
		gap: 6px;
	}
	.hero-mosaic-cat {
		font-size: 10px;
		padding: 3px 8px;
	}
}
/* ===== SECTION: Hero Mosaic - End ===== */

/* ===== SECTION: Blog Categories - Start ===== */
.blog-categories-section {
	padding: 30px 0 60px;
}
.section-header-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 30px;
	gap: 20px;
}
.section-header-row .h2 {
	margin: 0;
}
.section-header-sub {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 22px;
}

/* Category feature card — large card with photo bg */
.category-feature-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 300px;
	padding: 30px;
	border-radius: var(--radius-medium);
	overflow: hidden;
	transition: all 0.4s ease;
}
.category-feature-bg {
	position: absolute;
	inset: 0;
	background-image: var(--cat-bg, linear-gradient(135deg, #91034c, #4a0127));
	background-size: cover;
	background-position: center;
	transition: transform 0.6s ease;
	z-index: 0;
}
.category-feature-card:hover .category-feature-bg {
	transform: scale(1.08);
}
.category-feature-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(74, 1, 39, 0.88) 0%, rgba(107, 2, 56, 0.78) 55%, rgba(145, 3, 76, 0.72) 100%);
	transition: all 0.4s ease;
	z-index: 1;
}
.category-feature-card:hover .category-feature-overlay {
	background: linear-gradient(135deg, rgba(74, 1, 39, 0.92) 0%, rgba(107, 2, 56, 0.85) 55%, rgba(145, 3, 76, 0.8) 100%);
}
.category-feature-top,
.category-feature-body {
	position: relative;
	z-index: 2;
}
.category-feature-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}
.category-feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	border-radius: var(--radius-small);
	border: 1px solid rgba(255, 255, 255, 0.2);
}
.category-feature-icon img {
	width: 26px;
	height: 26px;
	filter: brightness(0) invert(1);
}
.category-feature-count {
	font-family: var(--font-family-1);
	font-size: 32px;
	line-height: 32px;
	font-weight: 600;
	color: var(--white);
}
.category-feature-count span {
	font-size: 14px;
	line-height: 14px;
	font-weight: 400;
	opacity: 0.75;
	margin-left: 4px;
}
.category-feature-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.category-feature-title {
	margin: 0;
}
.category-feature-desc {
	margin: 0;
	opacity: 0.88;
	font-size: 16px;
	line-height: 23px;
}
.category-feature-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	padding: 10px 0;
	color: var(--white);
	font-weight: 500;
	font-size: 15px;
	transition: gap 0.3s ease;
}
.category-feature-card:hover .category-feature-link {
	gap: 14px;
}
.category-feature-link svg {
	flex-shrink: 0;
}

@media (max-width: 1279px) {
	.blog-categories-section {
		padding: 20px 0 40px;
	}
	.section-header-row {
		margin-bottom: 20px;
		align-items: flex-start;
	}
	.category-feature-card {
		min-height: 240px;
		padding: 25px;
	}
	.category-feature-icon {
		width: 48px;
		height: 48px;
	}
	.category-feature-icon img {
		width: 22px;
		height: 22px;
	}
	.category-feature-count {
		font-size: 26px;
		line-height: 26px;
	}
}
/* ===== SECTION: Blog Categories - End ===== */

/* ===== SECTION: Latest Posts - Start ===== */
.latest-posts-section {
	padding: 20px 0 80px;
}
.no-posts-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
	background: var(--white);
	border-radius: var(--radius-small);
	border: 1px dashed var(--border);
	color: var(--gray);
	grid-column: 1 / -1;
}
/* Hover для карточек постов */
.latest-posts-grid .post-card-mini {
	transition: all 0.3s ease;
}
.latest-posts-grid .post-card-mini:hover {
	border-color: var(--primary);
	box-shadow: 0 10px 30px rgba(145, 3, 76, 0.12);
	transform: translateY(-4px);
}
.latest-posts-grid .post-card-mini:hover .post-image img {
	transform: scale(1.05);
}

@media (max-width: 1279px) {
	.latest-posts-section {
		padding: 10px 0 50px;
	}
}
/* ===== SECTION: Latest Posts - End ===== */

/* ===== SECTION: CTA Blog - Start ===== */
.cta-blog-section {
	padding-bottom: 80px;
}
.cta-blog {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 440px;
	padding: 70px 80px;
	background: linear-gradient(135deg, #91034c 0%, #6b0238 50%, #4a0127 100%);
	border-radius: var(--radius-medium);
	overflow: hidden;
	--btn-height: 52px;
}
.cta-blog-content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 720px;
	z-index: 2;
}
.cta-blog-eyebrow {
	display: inline-flex;
	align-self: flex-start;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--radius-pill);
	color: var(--white);
	font-family: var(--font-family-1);
	font-size: 13px;
	line-height: 14px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.cta-blog-title {
	margin: 0;
}
.cta-accent {
	font-weight: 300;
	opacity: 0.9;
}
.cta-blog-description {
	margin: 0;
	font-size: 17px;
	line-height: 27px;
	opacity: 0.9;
}
.cta-blog-features {
	display: flex;
	gap: 35px;
	margin-top: 15px;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.cta-feature {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.cta-feature-value {
	font-family: var(--font-family-1);
	font-size: 32px;
	line-height: 36px;
	font-weight: 600;
	color: var(--white);
}
.cta-feature-label {
	font-size: 13px;
	line-height: 16px;
	color: var(--white);
	opacity: 0.75;
	text-transform: lowercase;
}
.cta-blog-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

/* Buttons (reused) */
.btn-white {
	background: var(--white) !important;
	color: var(--primary) !important;
}
.btn-white:hover {
	background: var(--light-gray) !important;
}
.btn-outline-white {
	background: transparent !important;
	border: 1.5px solid rgba(255, 255, 255, 0.75) !important;
	color: var(--white) !important;
	padding: var(--btn-padding);
}
.btn-outline-white:hover {
	background: rgba(255, 255, 255, 0.12) !important;
	border-color: var(--white) !important;
}

/* Patterns */
.cta-blog-pattern {
	position: absolute;
	z-index: 1;
	pointer-events: none;
}
.cta-blog-pattern svg {
	width: 100%;
	height: 100%;
	display: block;
}
.cta-blog-pattern-right {
	right: -60px;
	top: 50%;
	transform: translateY(-50%);
	width: 460px;
	height: 460px;
	opacity: 0.9;
}
.cta-blog-pattern-left {
	left: -80px;
	bottom: -80px;
	width: 260px;
	height: 260px;
	opacity: 0.6;
}

@media (max-width: 1279px) {
	.cta-blog-section {
		padding-bottom: 50px;
	}
	.cta-blog {
		min-height: 360px;
		padding: 45px 35px;
	}
	.cta-blog-pattern-right {
		width: 300px;
		height: 300px;
		right: -90px;
		opacity: 0.55;
	}
	.cta-blog-pattern-left {
		display: none;
	}
	.cta-blog-description {
		font-size: 15px;
		line-height: 24px;
	}
	.cta-blog-features {
		gap: 25px;
		margin-top: 5px;
		padding-top: 20px;
	}
	.cta-feature-value {
		font-size: 26px;
		line-height: 30px;
	}
}
@media (max-width: 768px) {
	.cta-blog {
		padding: 35px 25px;
		min-height: unset;
	}
	.cta-blog-pattern-right {
		display: none;
	}
	.cta-blog-content {
		max-width: 100%;
	}
	.cta-blog-features {
		gap: 20px;
		flex-wrap: wrap;
	}
	.cta-feature-value {
		font-size: 22px;
		line-height: 26px;
	}
	.section-header-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}
/* ===== SECTION: CTA Blog - End ===== */
