/* VC2-2346 blog homepage content. Header/footer selectors are intentionally absent. */
.vc-blog-home {
	--vc-blog-accent: #00ae99;
	--vc-blog-accent-dark: #008f83;
	--vc-blog-ink: #232323;
	--vc-blog-muted: #7a8b91;
	--vc-blog-line: #e6eff5;
	--vc-blog-surface: #f4f8fb;
	width: 100%;
	color: var(--vc-blog-ink);
	background: #f4f8fb;
}

/* Keep the document as the vertical scroll owner for the sticky homepage sidebar. */
body.home.blog {
	overflow-x: clip;
	overflow-y: visible;
}

.vc-blog-home *,
.vc-blog-home *::before,
.vc-blog-home *::after {
	box-sizing: border-box;
}

.vc-blog-home a {
	color: inherit;
	text-decoration: none;
}

.vc-blog-home__card h2 > a,
.vc-blog-home__expert h3 > a {
	font: inherit;
}

.vc-blog-home a:focus-visible,
.vc-blog-home button:focus-visible,
.vc-blog-home input:focus-visible {
	outline: 3px solid #ffb700;
	outline-offset: 3px;
}

.vc-blog-home__shell {
	width: min(1200px, 100%);
	margin: 0 auto;
	padding: 14px 42px 72px;
	background: #fff;
}

.vc-blog-home__breadcrumbs {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 20px;
	color: #71818a;
}

.vc-blog-home__breadcrumbs a:hover {
	color: var(--vc-blog-accent-dark);
}

.vc-blog-home__title {
	margin: 0 0 24px;
	font-size: 28px;
	font-weight: 700;
	line-height: 32px;
	letter-spacing: 0.84px;
	color: var(--vc-blog-accent);
}

.vc-blog-home__layout {
	display: grid;
	grid-template-columns: minmax(0, 736px) minmax(0, 356px);
	gap: 24px;
	align-items: start;
}

.vc-blog-home__content,
.vc-blog-home__sidebar {
	min-width: 0;
}

.vc-blog-home__slider {
	position: relative;
	width: 100%;
	aspect-ratio: 736 / 280;
	overflow: hidden;
	border-radius: 8px;
	background: #dcebed;
}

.vc-blog-home__slider-track,
.vc-blog-home__slide,
.vc-blog-home__slide > a,
.vc-blog-home__slide img,
.vc-blog-home__slide .vc-blog-home__image-placeholder {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.vc-blog-home__slide {
	z-index: 0;
	visibility: hidden;
	opacity: 0;
	transition: opacity 220ms ease;
	pointer-events: none;
}

.vc-blog-home__slide.is-active {
	z-index: 1;
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.vc-blog-home__slide img {
	object-fit: cover;
}

.vc-blog-home__image-placeholder {
	background: linear-gradient(135deg, #dff6f3, #dbeaf5);
}

.vc-blog-home__slide-overlay {
	position: absolute;
	inset: 42% 0 0;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.vc-blog-home__slide h2 {
	position: absolute;
	z-index: 2;
	right: 130px;
	bottom: 18px;
	left: 24px;
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 28px;
	color: #fff;
}

.vc-blog-home__slide-more {
	position: absolute;
	z-index: 2;
	right: 16px;
	bottom: 16px;
	display: inline-flex;
	width: 96px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: #8b5b00;
	background: #ffb700;
}

.vc-blog-home__slider-progress {
	position: absolute;
	z-index: 3;
	top: 16px;
	left: 18px;
	display: flex;
	gap: 5px;
}

.vc-blog-home__slider-progress span {
	width: 15px;
	height: 4px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.48);
}

.vc-blog-home__slider-progress span.is-active {
	width: 24px;
	background: #fff;
}

.vc-blog-home__slider-arrow {
	position: absolute;
	z-index: 4;
	top: 50%;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	font-size: 30px;
	line-height: 1;
	color: #fff;
	background: rgba(17, 48, 52, 0.62);
	transform: translateY(-50%);
	cursor: pointer;
}

.vc-blog-home__slider-arrow--prev {
	left: 0;
}

.vc-blog-home__slider-arrow--next {
	right: 0;
}

.vc-blog-home__latest {
	margin-top: 32px;
}

.vc-blog-home__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px 24px;
}

.vc-blog-home__card {
	position: relative;
	min-width: 0;
}

.vc-blog-home__card h2 > a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.vc-blog-home__card-image,
.vc-blog-home__card .vc-blog-home__meta a {
	position: relative;
	z-index: 2;
}

.vc-blog-home__card-image,
.vc-blog-home__card-image img,
.vc-blog-home__card-image .vc-blog-home__image-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 356 / 143;
	overflow: hidden;
	border-radius: 4px;
}

.vc-blog-home__card-image img {
	object-fit: cover;
	transition: transform 180ms ease;
}

.vc-blog-home__card-image:hover img {
	transform: scale(1.025);
}

.vc-blog-home__card h2 {
	margin: 12px 0 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
}

.vc-blog-home__card h2 a:hover,
.vc-blog-home__popular-title:hover,
.vc-blog-home__expert h3 a:hover {
	color: var(--vc-blog-accent-dark);
}

.vc-blog-home__meta {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 20px;
	color: #769199;
}

.vc-blog-home__meta a {
	color: var(--vc-blog-accent-dark);
}

.vc-blog-home__excerpt {
	margin: 0;
	font-size: 16px;
	line-height: 22px;
	color: #3d4549;
}

.vc-blog-home__sidebar {
	display: grid;
	gap: 20px;
}

.vc-blog-home__search {
	display: flex;
	width: 100%;
	height: 40px;
	overflow: hidden;
	border-radius: 4px;
	background: var(--vc-blog-surface);
}

.vc-blog-home__search input[type='search'] {
	min-width: 0;
	width: 100%;
	padding: 0 14px;
	border: 0;
	font: inherit;
	font-size: 14px;
	color: var(--vc-blog-ink);
	background: transparent;
}

.vc-blog-home__search input[type='search']::placeholder {
	color: #9eb0c7;
}

.vc-blog-home__search button {
	flex: 0 0 44px;
	border: 0;
	font-size: 22px;
	color: #557285;
	background: transparent;
	cursor: pointer;
}

.vc-blog-home__popular {
	padding: 16px 20px 28px;
	border: 1px solid var(--vc-blog-line);
	border-radius: 8px;
	background: #fff;
}

.vc-blog-home__popular h2,
.vc-blog-home__registration h2,
.vc-blog-home__experts > h2 {
	margin: 0;
	font-weight: 700;
	color: var(--vc-blog-accent);
}

.vc-blog-home__popular h2 {
	font-size: 22px;
	line-height: 32px;
	letter-spacing: 0.66px;
}

.vc-blog-home__popular ol {
	display: grid;
	gap: 12px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.vc-blog-home__popular li {
	display: grid;
	grid-template-columns: 28px 60px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	min-width: 0;
}

.vc-blog-home__popular-number {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	border-radius: 99px;
	font-size: 14px;
	font-weight: 700;
	background: rgba(255, 111, 111, 0.72);
}

.vc-blog-home__popular-image,
.vc-blog-home__popular-image img,
.vc-blog-home__popular-image .vc-blog-home__image-placeholder {
	display: block;
	width: 60px;
	height: 60px;
	overflow: hidden;
	border-radius: 4px;
}

.vc-blog-home__popular-image img {
	object-fit: cover;
}

.vc-blog-home__popular-title {
	min-width: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	overflow-wrap: anywhere;
}

.vc-blog-home__registration {
	padding: 24px 24px 22px;
	border: 1px solid var(--vc-blog-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(29, 72, 99, 0.08);
}

.vc-blog-home__registration h2 {
	margin-bottom: 22px;
	text-align: center;
	font-size: 26px;
	line-height: 32px;
	color: #0869bd;
}

.vc-blog-home__registration-form {
	display: grid;
}

.vc-blog-home__registration-form > label:not(.vc-blog-home__registration-consent) {
	margin: 0 0 6px;
	font-size: 14px;
	color: #53677b;
}

.vc-blog-home__registration-form > input {
	width: 100%;
	height: 48px;
	margin-bottom: 14px;
	padding: 0 14px;
	border: 1px solid #dbe7f0;
	border-radius: 4px;
	font: inherit;
	font-size: 15px;
	background: #f1f6fa;
}

.vc-blog-home__registration-consent {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	margin: 2px 0 16px;
	font-size: 13px;
	line-height: 18px;
	color: #506070;
}

.vc-blog-home__registration-consent input {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--vc-blog-accent);
}

.vc-blog-home__registration-consent a,
.vc-blog-home__registration-recovery a,
.vc-blog-home__girls-link a {
	color: #006fc8;
	text-decoration: underline;
}

.vc-blog-home__registration-error {
	margin: 0 0 14px;
	padding: 10px;
	border: 1px solid #ff7a6d;
	border-radius: 4px;
	font-size: 13px;
	line-height: 18px;
	color: #9f2f27;
	background: #fff4f2;
}

.vc-blog-home__registration-recovery {
	margin: -4px 0 14px;
	font-size: 13px;
}

.vc-blog-home__registration-form button {
	width: 100%;
	height: 48px;
	border: 0;
	border-radius: 4px;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: var(--vc-blog-accent);
	cursor: pointer;
}

.vc-blog-home__registration-form button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.vc-blog-home__girls-divider {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 20px 0 14px;
	font-size: 13px;
	color: #607486;
}

.vc-blog-home__girls-divider::before,
.vc-blog-home__girls-divider::after {
	content: '';
	height: 1px;
	flex: 1;
	background: #a8b8c8;
}

.vc-blog-home__girls-link {
	margin: 0;
	text-align: center;
	font-size: 13px;
	color: #607486;
}

.vc-blog-home__promo,
.vc-blog-home__promo img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 8px;
}

.vc-blog-home__promo img {
	height: auto;
	object-fit: cover;
}

.vc-blog-home__pagination {
	margin-top: 38px;
}

.vc-blog-home__pagination .nav-links {
	display: flex;
	gap: 8px;
	justify-content: center;
}

.vc-blog-home__pagination .page-numbers {
	display: inline-flex;
	min-width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border-radius: 2px;
	font-size: 14px;
	color: #53677b;
	background: #f4f8fb;
}

.vc-blog-home__pagination .current,
.vc-blog-home__pagination a:hover {
	color: #fff !important;
	background: var(--vc-blog-accent);
}

.vc-blog-home__experts {
	margin-top: 42px;
}

.vc-blog-home__experts > h2 {
	font-size: 28px;
	line-height: 32px;
	letter-spacing: 0.84px;
}

.vc-blog-home__expert-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.vc-blog-home__expert {
	min-width: 0;
}

.vc-blog-home__expert-avatar,
.vc-blog-home__expert-avatar img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 8px;
}

.vc-blog-home__expert-avatar img {
	height: auto;
	object-fit: cover;
}

.vc-blog-home__expert h3 {
	margin: 16px 0 4px;
	font-size: 18px;
	line-height: 24px;
	overflow-wrap: anywhere;
}

.vc-blog-home__expert-link {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	font-size: 14px;
	line-height: 22px;
	color: var(--vc-blog-accent) !important;
}

.vc-blog-home__expert-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	background:
		radial-gradient(circle at 50% 28%, currentColor 0 3px, transparent 3.5px),
		radial-gradient(ellipse at 50% 100%, currentColor 0 6px, transparent 6.5px);
}

.vc-blog-home__empty {
	padding: 64px 24px;
	text-align: center;
}

@media (max-width: 1150px) {
	.vc-blog-home__shell {
		width: calc(100% - 32px);
		padding-right: 32px;
		padding-left: 32px;
	}

	.vc-blog-home__layout {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 356px);
	}
}

@media (max-width: 1024px) {
	.vc-blog-home__shell {
		padding-right: 24px;
		padding-left: 24px;
	}
}

@media (min-width: 901px) {
	.vc-blog-home__sidebar {
		position: sticky;
		top: var(--vc-blog-sidebar-sticky-top, 80px);
		align-self: start;
		height: auto;
		overflow: visible;
	}
}

@media (max-width: 900px) {
	.vc-blog-home__layout {
		grid-template-columns: 1fr;
	}

	.vc-blog-home__sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vc-blog-home__search,
	.vc-blog-home__popular {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.vc-blog-home__shell {
		width: 100%;
		padding: 18px 16px 48px;
	}

	.vc-blog-home__title {
		font-size: 24px;
		line-height: 30px;
	}

	.vc-blog-home__slide h2 {
		right: 20px;
		bottom: 52px;
		left: 16px;
		font-size: 18px;
		line-height: 22px;
	}

	.vc-blog-home__slide-more {
		right: 12px;
		bottom: 10px;
		width: 82px;
		height: 32px;
	}

	.vc-blog-home__slider-arrow {
		width: 36px;
		height: 36px;
	}

	.vc-blog-home__cards,
	.vc-blog-home__sidebar {
		grid-template-columns: 1fr;
	}

	.vc-blog-home__popular li {
		grid-template-columns: 28px 60px minmax(0, 1fr);
	}

}

@media (min-width: 576px) and (max-width: 767.98px) {
	.vc-blog-home__expert-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.vc-blog-home__expert h3 {
		margin-top: 12px;
		font-size: 16px;
		line-height: 22px;
	}

	.vc-blog-home__expert h3 > a,
	.vc-blog-home__expert-link {
		min-height: 44px;
	}

	.vc-blog-home__expert h3 > a {
		display: flex;
		align-items: center;
	}
}

@media (max-width: 575.98px) {
	.vc-blog-home__expert-grid {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-top: 16px;
	}

	.vc-blog-home__expert {
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr);
		grid-template-rows: minmax(44px, auto) minmax(44px, auto);
		column-gap: 16px;
		align-items: center;
		padding: 12px;
		border: 1px solid #dce7ef;
		border-radius: 8px;
		background: #fff;
	}

	.vc-blog-home__expert-avatar,
	.vc-blog-home__expert-avatar img {
		width: 96px;
		height: 96px;
	}

	.vc-blog-home__expert-avatar {
		grid-row: 1 / 3;
		grid-column: 1;
		max-width: none;
	}

	.vc-blog-home__expert h3 {
		grid-column: 2;
		align-self: end;
		margin: 0;
		font-size: 16px;
		line-height: 22px;
	}

	.vc-blog-home__expert h3 > a {
		display: flex;
		min-height: 44px;
		align-items: center;
	}

	.vc-blog-home__expert-link {
		grid-column: 2;
		align-self: start;
		min-height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vc-blog-home__slide,
	.vc-blog-home__card-image img {
		transition: none;
	}
}
