.j3d-front-page {
	padding-bottom: 48px;
}

.j3d-front-hero {
	margin-bottom: 32px;
	padding: 36px 32px 30px;
	background: linear-gradient(135deg, #f1f1f1 0%, #eceef2 55%, #f1f1f1 100%);
	border: 1px solid #dde1e8;
	border-radius: 12px;
	color: #3d4a5c;
	box-shadow: 0 4px 18px rgba(60, 70, 90, 0.08);
}

.j3d-front-hero__title {
	margin: 0 0 14px;
	font-size: clamp(24px, 4vw, 34px);
	font-weight: 700;
	line-height: 1.25;
	color: #424cb9;
}

.j3d-front-hero__lead {
	max-width: 720px;
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.55;
	color: #5a6278;
}

.j3d-front-hero__search {
	display: inline-flex;
	align-items: stretch;
	width: 100%;
	max-width: 420px;
	margin-bottom: 20px;
	border: 1px solid #d5d5d5;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}

.j3d-front-hero__search-input {
	flex: 1;
	min-width: 0;
	border: none;
	padding: 8px 12px;
	font-size: 14px;
	line-height: 1.4;
	color: #555;
	background: transparent;
	box-shadow: none;
	outline: none;
}

.j3d-front-hero__search-input:focus {
	outline: none;
}

.j3d-front-hero__search-input::placeholder {
	color: #aaa;
}

.j3d-front-hero__search-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-shrink: 0;
	padding: 0 14px;
	border: none;
	border-left: 1px solid #e8e8e8;
	background: #f5f5f5;
	color: #888;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease;
}

.j3d-front-hero__search-btn:hover,
.j3d-front-hero__search-btn:focus {
	color: #555;
	background: #ececec;
	outline: none;
}

.j3d-front-hero__search-btn .fa {
	font-size: 14px;
	line-height: 1;
}

.j3d-front-hero__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.j3d-front-hero__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border: 1px solid #cdd3dc;
	border-radius: 999px;
	background: #fff;
	color: #4a5568;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.j3d-front-hero__link .fa {
	color: #7a8499;
	transition: color 0.15s ease;
}

.j3d-front-hero__link:hover,
.j3d-front-hero__link:focus {
	background: #f8f9fb;
	border-color: #b8bec8;
	color: #2d3748;
	text-decoration: none;
	outline: none;
}

.j3d-front-hero__link:hover .fa,
.j3d-front-hero__link:focus .fa {
	color: #5a6278;
}

.j3d-front-section-head {
	margin-bottom: 18px;
}

.j3d-front-section-head--row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.j3d-front-section-head__title {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	color: #424cb9;
}

.j3d-front-section-head__meta {
	margin: 6px 0 0;
	font-size: 14px;
	color: #5a6278;
}

.j3d-front-section-head__more {
	font-size: 14px;
	font-weight: 600;
	color: #424cb9;
	text-decoration: none;
	white-space: nowrap;
}

.j3d-front-section-head__more:hover,
.j3d-front-section-head__more:focus {
	color: #353fa0;
	text-decoration: underline;
	outline: none;
}

.j3d-front-catalog {
	margin-bottom: 36px;
	padding: 22px 24px;
	background: #fff;
	border: 1px solid #e8eaf6;
	border-radius: 10px;
	box-shadow: 0 4px 18px rgba(66, 76, 185, 0.06);
}

.j3d-front-catalog__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

.j3d-front-catalog__item {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none;
	background: #f7f8fc;
	border: 1px solid #e8eaf6;
	border-radius: 10px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.j3d-front-catalog__item:hover,
.j3d-front-catalog__item:focus {
	border-color: #424cb9;
	box-shadow: 0 6px 18px rgba(66, 76, 185, 0.14);
	transform: translateY(-2px);
	text-decoration: none;
	outline: none;
}

.j3d-front-catalog__thumb {
	display: block;
	overflow: hidden;
}

.j3d-front-catalog__thumb img {
	display: block;
	width: 100%;
	height: 110px;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.j3d-front-catalog__item:hover .j3d-front-catalog__thumb img {
	transform: scale(1.04);
}

.j3d-front-catalog__label {
	display: block;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: #3d4a5c;
	text-align: center;
}

.j3d-front-catalog__item:hover .j3d-front-catalog__label {
	color: #424cb9;
}

.j3d-front-cards {
	margin-bottom: 32px;
}

.j3d-front-cards__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.j3d-front-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e8eaf6;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(66, 76, 185, 0.05);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.j3d-front-card:hover,
.j3d-front-card:focus {
	border-color: #c8cff0;
	box-shadow: 0 8px 22px rgba(66, 76, 185, 0.12);
	transform: translateY(-2px);
	text-decoration: none;
	outline: none;
}

.j3d-front-card__thumb {
	display: block;
	overflow: hidden;
	background: #f0f2fa;
}

.j3d-front-card__thumb img {
	display: block;
	width: 100%;
	height: 160px;
	object-fit: cover;
}

.j3d-front-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	color: #9aa3b8;
	font-size: 42px;
}

.j3d-front-card__title {
	display: block;
	padding: 12px 14px 14px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #3d4a5c;
}

.j3d-front-card:hover .j3d-front-card__title,
.j3d-front-card:focus .j3d-front-card__title {
	color: #424cb9;
}

.j3d-front-feed__list .post-block .thumbnail-style {
	padding: 24px 0;
}

.j3d-front-feed__list .main-header {
	font-size: 22px;
}

.j3d-front-feed__no-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 140px;
	background: #f0f2fa;
	border: 1px solid #e8eaf6;
	border-radius: 8px;
	color: #9aa3b8;
	font-size: 42px;
}

.j3d-front-feed__pagination {
	margin-top: 8px;
}

.j3d-front-feed__empty {
	padding: 24px;
	text-align: center;
	background: #f7f8fc;
	border: 1px solid #e8eaf6;
	border-radius: 10px;
	color: #5a6278;
}

.j3d-front-page .headline h1 {
	margin: 0;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}

@media (max-width: 991px) {
	.j3d-front-catalog__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.j3d-front-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.j3d-front-converter {
	margin-bottom: 32px;
	padding: 24px 28px;
	background: linear-gradient(135deg, #eef2f8 0%, #f8f9fc 100%);
	border: 1px solid #d5dce8;
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.j3d-front-converter__title {
	margin: 0 0 6px;
	font-size: 20px;
	color: #424cb9;
}

.j3d-front-converter__text {
	margin: 0;
	color: #555;
	font-size: 14px;
}

.j3d-front-tools-promo {
	position: relative;
	display: flex;
	align-items: center;
	gap: 22px;
	margin-bottom: 32px;
	padding: 26px 28px;
	overflow: hidden;
	background: linear-gradient(120deg, #424cb9 0%, #5966cb 58%, #6f78d8 100%);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(66, 76, 185, 0.22);
	color: #fff;
}

.j3d-front-tools-promo::after {
	position: absolute;
	top: -76px;
	right: 18%;
	width: 180px;
	height: 180px;
	border: 32px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.j3d-front-tools-promo__icon {
	display: flex;
	position: relative;
	z-index: 1;
	align-items: center;
	justify-content: center;
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 26px;
}

.j3d-front-tools-promo__icon .fa {
	color: #fff;
}

.j3d-front-tools-promo__content {
	position: relative;
	z-index: 1;
	flex: 1;
}

.j3d-front-tools-promo__eyebrow {
	margin: 0 0 3px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.j3d-front-tools-promo__title {
	margin: 0 0 6px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.j3d-front-tools-promo__text {
	max-width: 650px;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.86);
}

.j3d-front-tools-promo__button {
	display: inline-flex;
	position: relative;
	z-index: 1;
	align-items: center;
	gap: 9px;
	flex: 0 0 auto;
	padding: 12px 17px;
	border-radius: 6px;
	background: #fff;
	color: #424cb9;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.j3d-front-tools-promo__button:hover,
.j3d-front-tools-promo__button:focus {
	box-shadow: 0 4px 14px rgba(36, 43, 121, 0.25);
	color: #353fa0;
	text-decoration: none;
	transform: translateY(-1px);
	outline: none;
}

@media (max-width: 767px) {
	.j3d-front-hero {
		padding: 24px 18px 20px;
	}

	.j3d-front-catalog,
	.j3d-front-cards {
		margin-bottom: 28px;
	}

	.j3d-front-catalog {
		padding: 18px 16px;
	}

	.j3d-front-catalog__grid,
	.j3d-front-cards__grid {
		grid-template-columns: 1fr;
	}

	.j3d-front-hero__search {
		max-width: 100%;
	}

	.j3d-front-tools-promo {
		align-items: flex-start;
		gap: 16px;
		padding: 22px 18px;
		flex-wrap: wrap;
	}

	.j3d-front-tools-promo__icon {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
		border-radius: 13px;
		font-size: 21px;
	}

	.j3d-front-tools-promo__content {
		flex-basis: calc(100% - 64px);
	}

	.j3d-front-tools-promo__title {
		font-size: 19px;
	}

	.j3d-front-tools-promo__button {
		width: 100%;
		justify-content: center;
	}
}
