/*
 * WordPress integration and page-specific components.
 * Shared design tokens and base components live in main.css; keep rules here
 * scoped to WordPress markup or to a concrete page/component.
 */

.error-page__section {
	min-height: 75vh;
	min-height: 75svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: calc(var(--header-height, 96px) + 48px);
	padding-bottom: 72px;
	background: #fff;
	color: #212121;
}

.error-page__content {
	width: 100%;
	max-width: 760px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.error-page__video {
	display: block;
	width: min(100%, 280px);
	height: auto;
	max-height: 240px;
	object-fit: contain;
	margin: 0 auto;
}

.error-page__content .h2,
.error-page__description {
	margin: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.error-page__description {
	max-width: 600px;
}

.error-page__content .button {
	max-width: 100%;
	text-align: center;
	justify-content: center;
}

@media (max-width: 767px) {
	.error-page__section {
		padding-top: calc(var(--header-height, 72px) + 32px);
		padding-bottom: 48px;
	}

	.error-page__video {
		width: min(100%, 200px);
		max-height: 180px;
	}
}

.site-main {
	width: min(100% - 40px, 1280px);
	margin: 0 auto;
	padding: calc(var(--header-height) + 72px) 0 72px;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--color-brand);
	outline-offset: 3px;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus:not(:focus-visible) {
	outline: none;
}

/* Form fields use their border state instead of the browser focus ring. */
.form_input:focus,
.form_input:focus-visible,
.form_consent_input:focus,
.form_consent_input:focus-visible {
	outline: none;
	outline-offset: 0;
	box-shadow: none;
}

.page-hero {
	max-width: 880px;
}

.page-hero__label {
	margin: 0 0 14px;
	color: #777777;
	font-size: 15px;
	font-weight: 500;
}

.page-hero__title {
	margin: 0;
	color: #111111;
	font-size: clamp(44px, 7vw, 92px);
	font-weight: 500;
	line-height: 1.05;
}

.page-hero__description {
	max-width: 640px;
	margin: 24px 0 0;
	color: #555555;
	font-size: clamp(18px, 2vw, 24px);
	line-height: 1.45;
}

.page-content,
.page-list {
	max-width: 880px;
	margin-top: 48px;
}

.page-list__item {
	padding: 24px 0;
	border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.page-list__title {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 500;
}

.page-list__title a {
	color: #111111;
	text-decoration: none;
}

.tab a,
a.tab_item,
a.tab_item_active,
a.articles_item,
a.project_item,
a.services_item,
a.vacancies_item,
a.button,
a.button-outline,
a.button-simple {
	color: inherit;
	text-decoration: none;
}

.bread [aria-current="page"],
.bread [aria-current="page"]:hover {
	color: var(--color-text-muted);
	cursor: default;
	text-decoration: none;
	transition: none;
}

@media (max-width: 992px) {
	.footer .bread {
		max-width: 100%;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		white-space: nowrap;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		scrollbar-color: rgba(33, 33, 33, 0.28) transparent;
	}

	.footer .bread > * {
		flex: 0 0 auto;
	}

	.footer .bread::-webkit-scrollbar {
		height: 4px;
	}

	.footer .bread::-webkit-scrollbar-track {
		background: transparent;
	}

	.footer .bread::-webkit-scrollbar-thumb {
		border-radius: 999px;
		background-color: rgba(33, 33, 33, 0.28);
	}

	.footer .a2 {
		font-size: 15px;
		line-height: 22px;
	}

	.footer .u1 {
		font-size: 12px;
		line-height: 20px;
	}

	.footer_content {
		gap: 24px;
		padding: 32px 0;
	}

	.footer_contacts_links,
	.footer_additional_link {
		gap: 12px;
	}

	.footer_additional_link {
		flex-direction: column;
		align-items: flex-start;
	}
}

.articles_item,
.project_item {
	cursor: pointer;
}

@media (max-width: 992px) {
	.blog-page .tab,
	.cases-page .tab {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		overflow-y: visible;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
		scroll-padding-inline: 20px;
		touch-action: pan-x;
	}

	.blog-page .tab > .tab_item,
	.blog-page .tab > .tab_item_active,
	.cases-page .tab > .tab_item,
	.cases-page .tab > .tab_item_active {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	/* Keep service cards stable and directly tappable on touch screens. */
	.services_content {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.services_item {
		width: 100%;
		grid-template-columns: minmax(0, 1fr) 48px;
		gap: 16px;
		padding: 24px 0;
		touch-action: manipulation;
	}

	.services_item .services_item_arrow,
	.services_item:hover .services_item_arrow {
		display: flex;
	}
}

@media (max-width: 992px) and (hover: none),
	(max-width: 992px) and (pointer: coarse) {
	.services_item:hover .h3 {
		color: inherit;
	}
}

.form_notice {
	margin: 0;
	padding: 18px 20px;
	border-radius: 12px;
}

.form_notice--success {
	color: #145a32;
	background: #e9f8ef;
}

.form_notice--error {
	color: #8a1f1f;
	background: #fdecec;
}

.form_error--consent:not(:empty) {
	display: block;
}

.form_consent {
	width: 100%;
	max-width: none;
}

.form_consent > span:last-child {
	min-width: 0;
	flex: 1 1 auto;
	padding-top: 1px;
	font-size: 14px;
	line-height: 20px;
}

.form_consent_input[aria-invalid="true"] + .form_consent_box {
	border-color: var(--color-error);
}

.cta_form textarea.form_input {
	min-height: 73px;
	resize: vertical;
}

.faq_rich_text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 18px;
	line-height: 28px;
	font-weight: 400;
}

.faq_rich_text p,
.faq_rich_text ul,
.faq_rich_text ol,
.faq_rich_text h2,
.faq_rich_text h3,
.faq_rich_text h4,
.faq_rich_text h5,
.faq_rich_text h6 {
	margin: 0;
}

.faq_rich_text h2,
.faq_rich_text h3 {
	font-size: 28px;
	line-height: 36px;
	font-weight: 450;
}

.faq_rich_text h4,
.faq_rich_text h5,
.faq_rich_text h6 {
	font-size: 22px;
	line-height: 30px;
	font-weight: 450;
}

.faq_rich_text ul,
.faq_rich_text ol {
	padding-left: 1.25em;
}

.faq_rich_text ul {
	list-style: disc;
}

.faq_rich_text ol {
	list-style: decimal;
}

.faq_rich_text a {
	color: var(--color-brand);
	text-decoration: none;
}

.faq_rich_text a:hover {
	text-decoration: underline;
}

@media (max-width: 992px) {
	.faq_rich_text {
		font-size: 15px;
		line-height: 22px;
	}

	.faq_rich_text h2,
	.faq_rich_text h3 {
		font-size: 22px;
		line-height: 30px;
	}

	.faq_rich_text h4,
	.faq_rich_text h5,
	.faq_rich_text h6 {
		font-size: 18px;
		line-height: 26px;
	}
}

.thank-you-hero {
	display: flex;
	align-items: center;
	background: #fdfdfd;
	color: var(--color-text);
}

.thank-you {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: 80px;
}

.thank-you_content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	max-width: 640px;
}

.thank-you--text-only {
	grid-template-columns: minmax(0, 800px);
}

.thank-you--text-only .thank-you_content {
	max-width: 800px;
}

.thank-you_text {
	max-width: 640px;
}

.thank-you_text p {
	margin: 0;
}

.thank-you_actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.thank-you_media {
	width: 100%;
	overflow: hidden;
	border-radius: 20px;
	aspect-ratio: 1 / 1;
}

.thank-you_media video,
.thank-you_media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.thank-you_media_placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
	text-align: center;
	color: #686868;
	box-sizing: border-box;
}

@media (max-width: 992px) {
	.thank-you {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.thank-you_content {
		padding: 0;
	}

	.thank-you_media {
		height: auto;
		aspect-ratio: 1 / 1;
		border-radius: 20px;
	}
}

body.service-modal-open {
	overflow: hidden;
}

.service_modal[hidden] {
	display: none;
}

.service_modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	justify-content: flex-end;
	pointer-events: none;
}

.service_modal_overlay {
	position: absolute;
	inset: 0;
	background: rgba(33, 33, 33, 0.65);
	opacity: 0;
	pointer-events: auto;
	transition: opacity 0.25s ease;
}

.service_modal_panel {
	position: relative;
	z-index: 1;
	width: min(50vw, 1024px);
	min-width: 560px;
	height: 100%;
	overflow-y: auto;
	padding: 56px;
	background: var(--color-white);
	color: var(--color-text);
	box-sizing: border-box;
	box-shadow: -24px 0 80px rgba(0, 0, 0, 0.18);
	pointer-events: auto;
	transform: translateX(100%);
	transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.service_modal.is-open .service_modal_overlay {
	opacity: 1;
}

.service_modal.is-open .service_modal_panel {
	transform: translateX(0);
}

.service_modal_close {
	position: absolute;
	top: 28px;
	right: 28px;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: var(--color-text);
	background: var(--color-surface-muted);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.service_modal_title {
	margin-bottom: 42px;
}

.service_modal_tariff {
	margin-bottom: 12px;
	color: var(--color-brand);
}

.service_modal_title .p2 {
	margin-top: 16px;
	color: var(--color-text);
}

.service_modal_form {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.service_modal_form .form_input {
	color: var(--color-text);
	border-bottom-color: rgba(33, 33, 33, 0.22);
}

.service_modal_form .form_input:focus {
	border-bottom-color: var(--color-text);
}

.service_modal_form .form_label {
	color: var(--color-text);
}

.service_modal_form .form_input:focus + .form_label,
.service_modal_form .form_input:not(:placeholder-shown) + .form_label,
.service_modal_form .form_input:-webkit-autofill + .form_label {
	color: rgba(33, 33, 33, 0.45);
}

.service_modal_form .form_consent {
	color: rgba(33, 33, 33, 0.45);
}

.cta-light .form_consent_box,
.service_modal_form .form_consent_box {
	border-color: rgba(33, 33, 33, 0.42);
	background-color: transparent;
}

.cta-light .form_consent_box::after,
.service_modal_form .form_consent_box::after {
	border-color: var(--color-white);
}

.cta-light .form_consent:hover .form_consent_box,
.service_modal_form .form_consent:hover .form_consent_box {
	border-color: var(--color-text);
}

.cta-light .form_consent_input:focus-visible + .form_consent_box,
.service_modal_form .form_consent_input:focus-visible + .form_consent_box {
	border-color: var(--color-text);
	box-shadow: 0 0 0 3px rgba(33, 33, 33, 0.12);
}

.cta-light .form_consent_input:checked + .form_consent_box,
.service_modal_form .form_consent_input:checked + .form_consent_box {
	background-color: var(--color-text);
	border-color: var(--color-text);
}

@media (max-width: 992px) {
	.service_modal {
		width: 100%;
		max-width: 100vw;
		overflow: hidden;
	}

	.service_modal_panel {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		height: 100vh;
		height: 100dvh;
		max-height: 100dvh;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior-y: contain;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-y;
		padding: 72px 20px 32px;
	}

	.service_modal_form,
	.service_modal_form .cta_fields,
	.service_modal_form .form_field,
	.service_modal_form .form_input {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.service_modal_form .form_input {
		font-size: 16px;
		line-height: 24px;
	}

	.service_modal_close {
		top: 18px;
		right: 18px;
	}

}

.case ul,
.case ol {
	width: 100%;
	max-width: 880px;
	margin: 12px 0 0;
	padding-left: 24px;
}

.case > p,
.case > blockquote,
.case > table,
.case > figure,
.case > h1,
.case > h2,
.case > h3,
.case > h4,
.case > h5,
.case > h6 {
	width: 100%;
	max-width: 880px;
	box-sizing: border-box;
}

.case p,
.case li {
	color: var(--color-text);
	font-size: 18px;
	line-height: 28px;
	font-weight: 400;
}

.case p {
	margin-top: 12px;
}

.case h2,
.case h3,
.case .h2,
.case .h3 {
	width: 100%;
	max-width: 880px;
	margin-top: 48px;
	margin-bottom: 16px;
	padding-bottom: 18px;
	box-sizing: border-box;
}

.case h4,
.case h5,
.case h6,
.case .h4,
.case .h5 {
	width: 100%;
	max-width: 880px;
	margin-top: 32px;
	margin-bottom: 12px;
	box-sizing: border-box;
}

.case h2:first-child,
.case h3:first-child,
.case h1:first-child,
.case .h2:first-child,
.case .h3:first-child {
	margin-top: 0;
}

.case h2 + p,
.case h3 + p,
.case h1 + p,
.case .h2 + p,
.case .h3 + p,
.case h2 + ul,
.case h3 + ul,
.case h1 + ul,
.case .h2 + ul,
.case .h3 + ul,
.case h2 + ol,
.case h3 + ol,
.case h1 + ol,
.case .h2 + ol,
.case .h3 + ol {
	margin-top: 0;
}

.case .img + p,
.case .img + ul,
.case .img + ol {
	margin-top: 0;
}

.case strong,
.case b,
.case p strong,
.case li strong,
.case p b,
.case li b {
	font-weight: 600;
}

.case a,
.case a:visited,
.case p a,
.case li a {
	color: var(--color-brand) !important;
	font-weight: 400;
	text-decoration: none;
}

.case a:hover {
	color: var(--color-accent) !important;
}

.case > img,
.case figure,
.case .wp-block-image {
	width: 100%;
	max-width: 880px;
	margin-top: 40px;
	margin-bottom: 40px;
	box-sizing: border-box;
}

.case > img,
.case figure img,
.case .wp-block-image img {
	height: auto;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	box-sizing: border-box;
}

.case .img,
.case .case_content_media,
.case > figure,
.case > .wp-block-image,
.case > picture,
.case > a:has(> img),
.case > a:has(> picture) {
	width: 100vw;
	max-width: none;
	margin: 40px calc(50% - 50vw);
	padding: 80px max(40px, calc((100vw - 1500px) / 2 + 40px));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 40px;
	background-color: var(--color-surface-muted);
	box-sizing: border-box;
}

.case > .wp-block-image > figure {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.case .case_content_media_group > .case_content_media_item {
	display: flex;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	flex-direction: column;
	align-items: center;
	background: none;
	box-sizing: border-box;
}

.case > img,
.case .img img,
.case .case_content_media img,
.case > figure img,
.case > .wp-block-image img,
.case > picture img,
.case > a:has(> img) > img,
.case > a:has(> picture) picture img {
	display: block;
	width: auto !important;
	max-width: min(100%, 1024px) !important;
	height: auto !important;
	max-height: 80vh !important;
	margin: 0 auto;
	object-fit: contain;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.case > figure figcaption,
.case > .wp-block-image figcaption {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
	text-align: center;
}

.case > p,
.case > blockquote,
.case > table,
.case > h1,
.case > h2,
.case > h3,
.case > h4,
.case > h5,
.case > h6,
.case ul,
.case ol,
.case .p1,
.case .p2,
.case .a1,
.case .a2,
.case .h2,
.case .h3,
.case .h4,
.case .h5 {
	max-width: 1024px;
}

/* Imported images can retain the paragraph typography class (p2). */
.case .case_content_media {
	max-width: none;
}

@media (max-width: 992px) {
	.case .img,
	.case .case_content_media,
	.case > figure,
	.case > .wp-block-image,
	.case > picture,
	.case > a:has(> img),
	.case > a:has(> picture) {
		margin-top: 30px;
		margin-bottom: 30px;
		padding: 40px 20px;
		gap: 20px;
	}
}

.case img.case_content_image {
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.case {
	padding-top: 88px;
	padding-bottom: 88px;
}

.case_review {
	/*
	 * Figma node 574:2777: the review sits in the case content column with 120px of
	 * vertical space. The case container already contributes 88px below it,
	 * therefore the review adds the remaining 32px at the bottom.
	 */
	max-width: 1024px;
	padding: 120px 0 32px;
	gap: 40px;
}

.case_review > .h4 {
	margin: 0;
	font-size: 32px;
	line-height: 44px;
	font-weight: 450;
	letter-spacing: -0.32px;
}

.case_review .review_author {
	gap: 20px;
}

.case_review .review_author img {
	width: 80px;
	height: 80px;
	flex: 0 0 80px;
	border-radius: 50%;
	object-fit: cover;
}

.case_review .review_author_title {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
}

.case_review .review_author_title .p2 {
	width: auto;
	max-width: none;
	margin: 0;
	letter-spacing: -0.18px;
}

.case_review .review_author_title .gray {
	color: rgba(33, 33, 33, 0.35);
}

@media (max-width: 992px) {
	.case_review {
		padding: 80px 0 0;
	}

	.case_review > .h4 {
		font-size: 24px;
		line-height: 32px;
		letter-spacing: -0.24px;
	}

	.case_review .review_author img {
		width: 64px;
		height: 64px;
		flex-basis: 64px;
	}
}

.project--related {
	gap: 40px;
}

.project--related .project_row:nth-child(2) {
	padding-top: 0;
}

.button,
a.button {
	color: var(--color-white);
	text-decoration: none;
}

/* Keep button labels aligned with the shared p2 typography scale. */
.button,
.button-simple,
.button-outline {
	font-family: inherit;
	font-size: 18px;
	line-height: 28px;
	font-weight: 400;
	letter-spacing: 0;
}

@media (max-width: 992px) {
	.button,
	.button-simple,
	.button-outline {
		font-size: 15px;
		line-height: 22px;
		font-weight: 400;
	}
}

a.testimonials_item {
	color: inherit;
	text-decoration: none;
}

.footer_content .a2 {
	font-size: 16px;
	line-height: 24px;
}

.footer_group,
.footer_group_links {
	min-width: 0;
}

.footer_group_summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	list-style: none;
}

.footer_group_summary::-webkit-details-marker {
	display: none;
}

@media (min-width: 993px) {
	.footer_content {
		display: grid;
		grid-template-columns: repeat(var(--footer-column-count, 4), minmax(0, 1fr));
		gap: 30px;
	}

	.footer_column {
		display: flex;
		flex-direction: column;
		gap: 32px;
		min-width: 0;
	}

	.footer_group_summary {
		margin-bottom: 8px;
		pointer-events: none;
	}

	.footer_group_links,
	.footer_group:not([open]) > .footer_group_links {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}
}
@media (max-width: 992px) {
	.footer_content .a2 {
		font-size: 14px;
		line-height: 20px;
	}

	.footer_content {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.footer_column {
		display: contents;
	}

	.footer_group {
		order: var(--footer-order);
		border-bottom: 1px solid var(--color-border);
	}

	.footer_group_summary {
		padding: 16px 0;
		color: var(--color-text);
		cursor: pointer;
	}

	.footer_group_icon {
		position: relative;
		width: 18px;
		height: 18px;
		flex: 0 0 18px;
	}

	.footer_group_icon::before,
	.footer_group_icon::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 12px;
		height: 1px;
		background-color: currentColor;
		transform: translate(-50%, -50%);
		transition: transform 0.2s ease;
	}

	.footer_group_icon::after {
		transform: translate(-50%, -50%) rotate(90deg);
	}

	.footer_group[open] .footer_group_icon::after {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	.footer_group:not([open]) > .footer_group_links {
		display: none;
	}

	.footer_group[open] > .footer_group_links {
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 0 0 20px;
	}
}

/* Preserve the original 1420px content measure after desktop gutters grew to 100px. */
@media (min-width: 993px) {
	.container {
		max-width: 1620px;
	}
}

.achieve_link {
	width: max-content;
	margin-top: 4px;
}

/* Service cases slider: Figma node 595:2913. */
.service-page .achieve {
	gap: 60px;
}

@media (min-width: 993px) {
	.service-page .achieve {
		max-width: 1620px;
	}
}

.service-page .achieve_title {
	display: block;
	max-width: 1100px;
}

.service-page .achieve_slides {
	position: relative;
	width: 100%;
}

.service-page .achieve_content {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	padding: 40px;
	background-color: var(--color-white);
	border-radius: 30px;
	box-sizing: border-box;
}

.service-page .achieve_content--text-only {
	grid-template-columns: minmax(0, 1fr);
}

.service-page .achieve_item,
.service-page .achieve_item_title {
	min-width: 0;
}

.service-page .achieve_item_title {
	height: 100%;
	align-items: flex-start;
	gap: 28px;
}

.service-page .achieve_slides--has-controls .achieve_item_title {
	padding-bottom: 80px;
	box-sizing: border-box;
}

.service-page .achieve_item_copy {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.service-page .achieve_item_copy .h4 {
	font-weight: 700;
}

.service-page .achieve_item_copy p {
	color: var(--color-text);
}

.service-page .achieve_numbers {
	width: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 20px;
}

.service-page .achive_single_number {
	min-width: 0;
	gap: 8px;
}

.service-page .achive_single_number .h2 {
	font-size: clamp(32px, 2.5vw, 42px);
	line-height: 1.15;
}

.service-page .achieve_img {
	min-width: 0;
	height: 600px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: hidden;
	box-sizing: border-box;
	border-radius: 20px;
}

.service-page .achieve_img--with-background {
	align-items: center;
	padding: 40px;
	background: linear-gradient(90deg, #000306, #003467, #0068D3, #003467, #000306);
	background-size: 300% 100%;
	background-repeat: repeat;
	animation: hero-gradient-shift 60s linear infinite;
}

.service-page .achieve_img img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	aspect-ratio: auto;
	object-fit: contain;
	object-position: center top;
	border-radius: 12px;
}

.service-page .achieve_img--with-background img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 8px;
	filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.6));
}

@media (prefers-reduced-motion: reduce) {
	.service-page .achieve_img--with-background {
		animation: none;
	}
}

.service-page .achieve_controls {
	position: absolute;
	z-index: 2;
	left: 40px;
	bottom: 40px;
	justify-content: flex-start;
}

.service-page .achieve_item_copy .achieve_link {
	width: fit-content;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 0;
	padding: 0;
	color: var(--color-brand);
	background: transparent;
	border: 0;
	border-radius: 0;
	text-decoration: none;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.service-page .achieve_link:hover {
	color: var(--color-brand);
	background: transparent;
	text-decoration: underline;
}

.service_chess_wrapper {
	background-color: var(--color-white);
}

.service_chess {
	display: flex;
	flex-direction: column;
	gap: 100px;
}

.service_chess_row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	gap: clamp(40px, 6vw, 100px);
}

.service_chess_row--image-right .service_chess_media {
	order: 2;
}

.service_chess_row--image-right .service_chess_content {
	order: 1;
}

.service_chess_media {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
	background-color: #f2f2f2;
}

.service_chess_media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service_chess_content {
	width: 100%;
	max-width: 620px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 24px;
}

.service_chess_text {
	width: 100%;
}

.service_chess_text > :first-child {
	margin-top: 0;
}

.service_chess_text > :last-child {
	margin-bottom: 0;
}

.service_chess_text p,
.service_chess_text ul,
.service_chess_text ol {
	margin-top: 16px;
}

.service_chess_text h1,
.service_chess_text h2,
.service_chess_text h3,
.service_chess_text h4 {
	margin-top: 32px;
	margin-bottom: 12px;
}

.service_chess_text ul,
.service_chess_text ol {
	padding-left: 1.4em;
}

.service_chess_text li + li {
	margin-top: 8px;
}

@media (max-width: 992px) {
	.service_chess {
		gap: 64px;
	}

	.service_chess_row {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.service_chess_row .service_chess_media {
		order: 1;
	}

	.service_chess_row .service_chess_content {
		order: 2;
		max-width: none;
	}

	.service-page .feature_item,
	.service-page .cards_grid_item,
	.service-page .achieve_content {
		padding: 24px;
	}

	.prices .prices_item {
		padding: 30px 20px;
	}

	.service-page .achieve {
		gap: 40px;
	}

	.service-page .achieve_content {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
		border-radius: 20px;
	}

	.service-page .achieve_slides--has-controls .achieve_content {
		padding-bottom: 96px;
	}

	.service-page .achieve_item_title {
		gap: 20px;
	}

	.service-page .achieve_slides--has-controls .achieve_item_title {
		padding-bottom: 0;
	}

	.service-page .achieve_controls {
		left: 24px;
		bottom: 24px;
	}

	.service-page .achieve_numbers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		margin-top: 12px;
	}

	.service-page .achive_single_number .h2 {
		font-size: 28px;
	}

	.service-page .achieve_img {
		height: auto;
		aspect-ratio: 735 / 600;
		border-radius: 12px;
	}

	.service-page .achieve_img--with-background {
		padding: 24px;
	}
}

.news_author_link {
	display: flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
}

.news_author_link:hover {
	color: var(--color-brand);
}

#contact-section,
#subcta-form,
#case-cta,
#article-cta {
	scroll-margin-top: 120px;
}

/* Keep the shared contact CTA within a landscape tablet viewport. */
@media (min-width: 993px) and (max-width: 1200px) {
	.hero_wrapper > .container.cta {
		padding-top: 80px;
		padding-bottom: 80px;
		gap: 40px;
	}
}

@media (min-width: 700px) and (max-width: 992px) {
	.hero_wrapper > .container.cta {
		max-width: none;
		padding: 64px 40px;
		gap: 32px;
	}

	.hero_wrapper .cta_fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero_wrapper .cta_form {
		gap: 40px;
	}
}

.reviews-page .container.testimonials {
	padding-top: 0;
}

/*
 * Blog and author pagination already sits inside .a_articles, whose bottom
 * padding provides the footer gap. Pagination placed directly in a page
 * section (reviews and cases) receives the same spacing here.
 */
main > .wrapper > .articles_more:last-child {
	padding-bottom: 80px;
}

.articles_more--pagination > .articles_pagination_dots,
.articles_more--pagination > .articles_pagination_dots:hover {
	width: auto;
	min-width: 12px;
	padding-right: 2px;
	padding-left: 2px;
	background: transparent;
	box-shadow: none;
	cursor: default;
	pointer-events: none;
}

.articles_more--pagination > .articles_pagination_arrow.is-disabled,
.articles_more--pagination > .articles_pagination_arrow.is-disabled:hover {
	background: var(--color-surface-muted);
	cursor: default;
	pointer-events: none;
}

@media (max-width: 992px) {
	main > .wrapper > .articles_more:last-child {
		padding-bottom: 40px;
	}
}

@media (max-width: 480px) {
	.articles_more--pagination {
		width: 100%;
		gap: 4px;
	}

	.articles_more--pagination > .tab_item,
	.articles_more--pagination > .tab_item_active {
		min-width: 40px;
		height: 40px;
		padding: 8px 10px;
		box-sizing: border-box;
		flex: 0 0 auto;
	}

	.articles_more--pagination > .tab_item.articles_pagination_arrow {
		width: 40px;
		min-width: 40px;
		height: 40px;
		padding: 0;
	}

	.articles_more--pagination > .tab_item.articles_pagination_dots {
		width: auto;
		min-width: 12px;
		height: auto;
		padding: 0 2px;
		background: transparent;
		box-shadow: none;
	}
}

@media (max-width: 359px) {
	.articles_more--pagination > .tab_item,
	.articles_more--pagination > .tab_item_active {
		min-width: 36px;
		height: 36px;
		padding: 6px 8px;
	}

	.articles_more--pagination > .tab_item.articles_pagination_arrow {
		width: 36px;
		min-width: 36px;
		height: 36px;
		padding: 0;
	}
}

.review_body {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 60px;
}

.review_slides {
	width: 100%;
	max-width: 1000px;
	min-width: 0;
}

.review_slide[hidden] {
	display: none;
}

.review_slide--from-right {
	animation: review-slide-from-right 0.35s ease;
}

.review_slide--from-left {
	animation: review-slide-from-left 0.35s ease;
}

@keyframes review-slide-from-right {
	from {
		opacity: 0;
		transform: translateX(48px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes review-slide-from-left {
	from {
		opacity: 0;
		transform: translateX(-48px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.review_slide--from-right,
	.review_slide--from-left {
		animation: none;
	}
}

.review_navigation {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.review_navigation .review_control {
	color: rgba(255, 255, 255, 0.75);
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.25);
	box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.16);
}

.review_navigation .review_control:hover,
.review_navigation .review_control:focus-visible {
	color: var(--color-white);
	background-color: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.45);
}

/* Desktop uses the floating directional cursor instead of visible controls. */
@media (min-width: 993px) {
	.review_navigation {
		display: none;
	}

	.hero_wrapper.is-cursor,
	.hero_wrapper.is-cursor * {
		cursor: none;
	}

	.hero_wrapper.is-cursor a,
	.hero_wrapper.is-cursor button {
		cursor: pointer;
	}
}

.review_cursor {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 30;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-white);
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(2px);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s ease;
}

.review_cursor svg {
	width: 64px;
	height: 64px;
	display: block;
	transition: transform 0.15s ease;
}

.review_cursor.is-prev svg {
	transform: rotate(180deg);
}

.review_cursor.is-visible {
	opacity: 1;
}

/* External-link arrow on the review "read more" link. */
.review_more a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: opacity 0.2s ease;
}

.review_more a:hover {
	color: inherit;
	opacity: 0.75;
}

.review_more a::after {
	content: "";
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform 0.2s ease;
}

.review_more a:hover::after {
	transform: translate(2px, -2px);
}

.vacancies-page .vacancies_item {
	padding-top: 28px;
	padding-bottom: 28px;
}

.vacancies_outro_text p {
	margin: 0;
}

a.vacancies_item {
	cursor: pointer;
}

.about-page .team_slider {
	padding-bottom: 120px;
	box-sizing: border-box;
}

.cases-page .project--flow .project_item:nth-child(even) {
	margin-top: 120px;
}

.cases-page .project_item {
	gap: 24px;
}

.cases-page .project_title {
	gap: 12px;
}

.feature--light-cards .feature_item {
	background-color: var(--color-white);
}

.prices_item .button {
	color: var(--color-white);
	background-color: var(--color-action);
}

.author-profile_section {
	background-color: var(--color-surface-muted);
}

.author-profile {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

.author-profile_photo img {
	width: 100%;
	display: block;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 20px;
}

.author-profile_content,
.author-profile_title,
.author-profile_description {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.author-profile_description {
	max-width: 760px;
}

.author-profile_description p {
	margin: 0;
}

.author-profile_socials {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.author-profile_socials a {
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.author-page_articles-title {
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-align: left;
}

.seo--collapsed .seo_text {
	position: relative;
	max-height: 220px;
	overflow: hidden;
	transition: max-height 0.35s ease;
}

.seo--collapsed .seo_text::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 96px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--color-white) 85%);
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.seo--collapsed.is-expanded .seo_text {
	max-height: 4000px;
}

.seo--collapsed.is-expanded .seo_text::after {
	opacity: 0;
}

.seo--collapsed .seo_text p,
.seo--collapsed .seo_text li {
	font-size: 16px;
	line-height: 1.6;
}

.seo--collapsed .seo_text p,
.seo--collapsed .seo_text ul,
.seo--collapsed .seo_text ol {
	margin-top: 16px;
}

.seo--collapsed .seo_text h1.h2,
.seo--collapsed .seo_text h2.h3,
.seo--collapsed .seo_text h3.h4,
.seo--collapsed .seo_text h4.h5 {
	margin-top: 40px;
	margin-bottom: 14px;
}

.seo--collapsed .seo_text > :first-child {
	margin-top: 0;
}

.seo--collapsed .button-simple {
	border: 0;
	background: transparent;
	cursor: pointer;
}

.seo--collapsed.is-not-overflowing .seo_text {
	max-height: none;
}

.seo--collapsed.is-not-overflowing .seo_text::after,
.seo--collapsed.is-not-overflowing .seo_more {
	display: none;
}

.project--flow {
	gap: 80px 140px;
	align-items: start;
}

.project--flow .project_item:nth-child(even) {
	margin-top: 120px;
}

.project--home {
	gap: 80px 140px;
}

.project--home .project_item:nth-child(even) {
	margin-top: 120px;
}

/* Give the home hero title enough measure to stay on two lines on compact screens. */
.front-page .hero_home .main {
	max-width: 1320px;
}

.front-page .hero_home .main_content {
	width: 100%;
	max-width: 1120px;
}

.front-page .hero_home .main_content .h0 {
	text-wrap: balance;
}

@media (min-width: 993px) and (max-width: 1200px) {
	.front-page .hero_home .main {
		padding-right: 40px;
		padding-left: 40px;
	}

	.front-page .hero_home .main_content .h0 {
		font-size: 60px;
	}
}

@media (max-width: 992px) {
	.front-page .hero_home .main {
		max-width: 820px;
	}

	.front-page .hero_home .main_content {
		max-width: 780px;
	}
}

@media (max-width: 992px) and (max-height: 820px) {
	.front-page .hero_home .main {
		padding-top: 80px;
		padding-bottom: 12px;
	}

	.front-page .hero_home .main_content {
		gap: 14px;
	}

	.front-page .hero_home .main_content_links {
		margin-top: 4px;
	}

	.front-page .hero_stats {
		padding-bottom: 12px;
	}
}

.story_article h2:not(.h3),
.story_article h3:not(.h3),
.story_article h4:not(.h4) {
	margin-top: 48px;
	margin-bottom: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
}

.story_article h2 {
	scroll-margin-top: calc(var(--header-height) + 32px);
}

.story_article h2:not(.h3) {
	font-size: 42px;
}

.story_article h3:not(.h3) {
	font-size: 32px;
}

.story_article h4:not(.h4) {
	font-size: 26px;
}


.story_article h1.h2,
.story_article h2.h3,
.story_article h3.h4,
.story_article h4.h5 {
	margin-top: 48px;
	margin-bottom: 16px;
	font-weight: 500;
	letter-spacing: -0.5px;
}

/* Keep article H2 (.h3) unchanged and give article H3 (.h4) clearer hierarchy. */
.story_article h3.h4 {
	font-size: 26px;
}


.story_article p,
.story_article li {
	margin-top: 6px;
	font-weight: 400;
}

/* Match article body paragraph text to the list size (was smaller). */
.story_article p:not([class]) {
	font-size: 18px;
	line-height: 28px;
}

@media (max-width: 992px) {
	.story_article h2:not(.h3) {
		font-size: 28px;
	}

	.story_article h3:not(.h3) {
		font-size: 24px;
	}

	.story_article h4:not(.h4) {
		font-size: 22px;
	}

	.story_article h1.h2,
	.story_article h2.h3,
	.story_article h3.h4,
	.story_article h4.h5 {
		margin-top: 36px;
		margin-bottom: 14px;
	}

	.story_article h3.h4 {
		font-size: 20px;
	}

	.story_article p:not([class]) {
		font-size: 15px;
		line-height: 22px;
	}

	.story_article ol > li::marker {
		font-size: 15px;
	}
}

.story_article ul,
.story_article ol {
	padding-left: 24px;
}

.story_article ul {
	list-style-type: disc;
}

.story_article ol {
	list-style-type: decimal;
}

.story_content,
.story_article {
	min-width: 0;
	max-width: 100%;
}

.story_table_wrap,
.story_article .wp-block-table {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 40px 0;
	overflow-x: auto;
	border-radius: 16px;
	-webkit-overflow-scrolling: touch;
}

.story_article .wp-block-table .story_table_wrap {
	margin: 0;
	overflow: visible;
}

.story_article table {
	width: 100%;
	min-width: 640px;
	margin: 0;
	border: 1px solid rgba(33, 33, 33, 0.1);
	border-radius: 16px;
	border-spacing: 0;
	border-collapse: separate;
	background-color: var(--color-white);
	color: var(--color-text);
	font-size: 16px;
	line-height: 24px;
	overflow: hidden;
}

.story_article th,
.story_article td {
	padding: 16px 20px;
	border: 0;
	border-right: 1px solid rgba(33, 33, 33, 0.1);
	border-bottom: 1px solid rgba(33, 33, 33, 0.1);
	text-align: left;
	vertical-align: top;
}

.story_article th {
	background-color: var(--color-surface-muted);
	font-weight: 600;
}

.story_article tr > :last-child {
	border-right: 0;
}

.story_article table > :last-child > tr:last-child > * {
	border-bottom: 0;
}

.story_article tbody tr:hover td {
	background-color: rgba(245, 245, 247, 0.55);
}

.story_article caption {
	padding: 0 0 12px;
	color: #727272;
	font-size: 14px;
	line-height: 20px;
	text-align: left;
}

.story_table_wrap::-webkit-scrollbar,
.story_article .wp-block-table::-webkit-scrollbar {
	height: 6px;
}

.story_table_wrap::-webkit-scrollbar-thumb,
.story_article .wp-block-table::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background-color: rgba(33, 33, 33, 0.22);
}

@media (max-width: 992px) {
	.story_table_wrap,
	.story_article .wp-block-table {
		margin: 32px 0;
		border-radius: 12px;
	}

	.story_article table {
		min-width: 400px;
		border-radius: 12px;
		font-size: 13px;
		line-height: 18px;
		table-layout: fixed;
	}

	.story_article th,
	.story_article td {
		padding: 10px;
		overflow-wrap: anywhere;
	}
}

.story_article strong,
.story_article b,
.story_article p strong,
.story_article li strong,
.story_article p b,
.story_article li b {
	font-weight: 600;
}

.story_article figure,
.story_article .wp-block-image {
	margin: 40px 0;
}

.story_article img {
	width: 100%;
	height: auto;
	margin-top: 40px;
	margin-bottom: 40px;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	box-sizing: border-box;
}

.story_article figure img,
.story_article .wp-block-image img {
	margin-top: 0;
	margin-bottom: 0;
	border-radius: 4px;
}

/* Article body links use the brand colour instead of default browser blue. */
.story_article a,
.story_article a:visited,
.story_article p a,
.story_article li a {
	color: var(--color-brand) !important;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.story_article a:hover {
	color: var(--color-accent) !important;
}

.story_article .attention p,
.story_article .quote p {
	margin-top: 0;
}

.story_cta,
.sidebar_cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: linear-gradient(90deg, #000306, #003467, #0068D3, #003467, #000306);
	background-size: 300% 100%;
	background-repeat: repeat;
	animation: hero-gradient-shift 60s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
	.story_cta,
	.sidebar_cta {
		animation: none;
	}
}

.sidebar_toc ol {
	counter-reset: article-toc;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar_toc li {
	counter-increment: article-toc;
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 8px;
	margin-top: 16px;
	color: #B1B1B1;
	font-size: 16px;
	line-height: 1.4;
}

.sidebar_toc li::before {
	content: counter(article-toc) ".";
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.sidebar_toc li:first-child {
	margin-top: 0;
}

.sidebar_toc a {
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.sidebar_toc a:hover {
	color: var(--color-brand);
}

.sidebar_cta .button {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

@media (min-width: 993px) {
	.story {
		align-items: stretch;
	}

	.story_content {
		min-width: 0;
	}

	.sidebar {
		position: relative;
		align-self: stretch;
	}

	.sidebar_inner {
		display: flex;
		flex-direction: column;
		gap: 40px;
		width: 100%;
	}

	.sidebar_inner.is-fixed {
		position: fixed;
		top: var(--article-sidebar-top);
		left: var(--article-sidebar-left);
		z-index: 20;
		width: var(--article-sidebar-width);
		max-height: calc(100vh - var(--article-sidebar-top) - 24px);
		overflow-y: auto;
	}

	.sidebar_inner.is-bottom {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
	}
}

@media (max-width: 992px) {
	.single-ideadigital_article .story {
		gap: 40px;
	}

	.single-ideadigital_article .story_content {
		order: 2;
	}

	.single-ideadigital_article .sidebar {
		order: 1;
	}

	.sidebar_inner {
		position: static;
	}

	.single-ideadigital_article .sidebar_cta {
		display: none;
	}

}

@media (max-width: 699px) {
	.single-ideadigital_article #article-cta .container.cta {
		padding-bottom: 0;
	}
}

/*
 * Blog listing covers: fill the card image box uniformly (equal height,
 * cropped to a fixed ratio) instead of keeping each image's natural height.
 */
.articles_item_image {
	overflow: hidden;
	border-radius: 20px;
	aspect-ratio: 3 / 2;
}

.articles_item_image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
	transition: transform 200ms ease;
	will-change: transform;
}

.articles_item {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.articles_item_title .p1 {
	transition: color 200ms ease;
}

@media (max-width: 992px) {
	.articles_item_title .p1 {
		font-size: 17px;
		line-height: 26px;
		font-weight: 400;
	}

	.articles_item_title .p2 {
		font-size: 15px;
		line-height: 22px;
		font-weight: 400;
	}
}

.articles_item:hover .articles_item_image img,
.articles_item:focus-visible .articles_item_image img {
	transform: scale(1.06);
}

.articles_item:hover .articles_item_title .p1,
.articles_item:focus-visible .articles_item_title .p1 {
	color: var(--color-brand);
}

/*
 * Single article: tighten the gap between the title/meta block and the body,
 * and add a gray divider line under the title.
 */
.container.news {
	position: relative;
	padding-bottom: 40px;
	border-bottom: 0;
}

.container.news::after {
	content: "";
	position: absolute;
	right: 40px;
	bottom: 0;
	left: 40px;
	border-bottom: 1px solid var(--color-border);
}

.container.story {
	padding-top: 48px;
}

/*
 * WordPress content can include inline block styles. These !important values
 * intentionally normalize the two editor-managed summary blocks.
 */
.story_key_takeaways,
.story_resume {
	display: block !important;
	margin: 40px 0 !important;
	padding: 40px !important;
	border: 0 !important;
	border-radius: 20px !important;
	background: var(--color-surface-muted) !important;
}

.story_article > .story_key_takeaways:first-of-type {
	margin-top: 0 !important;
}

.story_key_takeaways > h2:first-child,
.story_key_takeaways > h3:first-child,
.story_key_takeaways > h4:first-child,
.story_resume > h2:first-child,
.story_resume > h3:first-child,
.story_resume > h4:first-child {
	margin: 0 0 32px !important;
	font-size: 32px !important;
	font-weight: 450 !important;
	line-height: 44px !important;
	letter-spacing: -0.32px !important;
}

.story_key_takeaways > :last-child,
.story_key_takeaways > :last-child > :last-child,
.story_resume > :last-child,
.story_resume > :last-child > :last-child {
	margin-bottom: 0 !important;
}

.story_key_takeaways ol,
.story_resume ol {
	counter-reset: article-takeaway;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.story_key_takeaways ol + p,
.story_key_takeaways ul + p,
.story_key_takeaways p + ol,
.story_key_takeaways p + ul,
.story_key_takeaways ol + ul,
.story_key_takeaways ul + ol,
.story_resume ol + p {
	margin-top: 12px !important;
}

.story_key_takeaways ol > li,
.story_resume ol > li {
	counter-increment: article-takeaway;
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 18px !important;
	line-height: 28px !important;
}

.story_key_takeaways ol > li + li,
.story_resume ol > li + li {
	margin-top: 12px !important;
}

.story_key_takeaways ol > li::before,
.story_resume ol > li::before {
	content: counter(article-takeaway);
	display: flex;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--color-info);
	border-radius: 50%;
	color: var(--color-info);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: -0.14px;
}

.story_key_takeaways ol > li::marker,
.story_resume ol > li::marker {
	content: "";
}

.story_key_takeaways ul {
	max-width: none !important;
	margin: 0 !important;
	padding-left: 24px !important;
	list-style: disc !important;
}

.story_key_takeaways ul > li {
	display: list-item;
	margin: 0 !important;
	padding-left: 4px !important;
	font-size: 18px !important;
	line-height: 28px !important;
}

.story_key_takeaways ul > li + li {
	margin-top: 12px !important;
}

.story_key_takeaways ul > li::marker {
	color: var(--color-info);
	font-size: 18px;
}

.story_key_takeaways > p {
	margin-top: 12px !important;
	font-size: 18px !important;
	line-height: 28px !important;
}

@media (max-width: 992px) {
	.container.news {
		padding-bottom: 28px;
	}

	.container.news::after {
		right: 20px;
		left: 20px;
	}

	.container.story {
		padding-top: 32px;
	}

	.story_key_takeaways,
	.story_resume {
		padding: 24px !important;
	}

	.story_key_takeaways > h2:first-child,
	.story_key_takeaways > h3:first-child,
	.story_key_takeaways > h4:first-child,
	.story_resume > h2:first-child,
	.story_resume > h3:first-child,
	.story_resume > h4:first-child {
		margin-bottom: 24px !important;
		font-size: 24px !important;
		line-height: 32px !important;
	}

	.story_key_takeaways ol > li,
	.story_key_takeaways ul > li,
	.story_key_takeaways > p,
	.story_resume ol > li {
		font-size: 15px !important;
		line-height: 22px !important;
	}
}

.legal-story {
	padding-top: 48px;
	padding-bottom: 120px;
}

.legal-content {
	max-width: 880px;
}

.legal-content > * {
	max-width: 880px;
}

.legal-content h2:not(.h3),
.legal-content h3:not(.h3),
.legal-content h4:not(.h4) {
	margin-top: 48px;
	margin-bottom: 16px;
	color: var(--color-text);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
}

.legal-content h2:not(.h3) {
	font-size: 42px;
}

.legal-content h3:not(.h3) {
	font-size: 32px;
}

.legal-content h4:not(.h4) {
	font-size: 26px;
}

.legal-content h2:first-child,
.legal-content h3:first-child,
.legal-content h4:first-child {
	margin-top: 0;
}

.legal-content p,
.legal-content li {
	margin-top: 12px;
	color: var(--color-text);
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
}

.legal-content ul,
.legal-content ol {
	margin-top: 14px;
	padding-left: 24px;
}

.legal-content strong,
.legal-content b {
	font-weight: 600;
}

.legal-content a,
.legal-content a:visited {
	color: var(--color-brand);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.legal-content a:hover {
	color: var(--color-accent);
}

.legal-content table {
	width: 100%;
	margin-top: 24px;
	border-collapse: collapse;
}

.legal-content th,
.legal-content td {
	padding: 14px 16px;
	border: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
}

/*
 * Transparent hero header for pages with a color/animated first screen.
 */
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open),
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover {
	background-color: transparent;
	color: var(--color-white);
	position: absolute;
	box-shadow: none;
}

body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .a2,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .a2:visited,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .header_services_trigger,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .a2,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .a2:visited,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .header_services_trigger {
	color: var(--color-white);
}

body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .a2:hover,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .header_services_trigger:hover,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .a2:hover,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .header_services_trigger:hover {
	color: var(--color-white);
	opacity: 0.72;
}

body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_menu_toggle span,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_menu_toggle span {
	background-color: var(--color-white);
}

body.has-color-hero .header.is-services-closing:not(.is-scrolled):not(.is-menu-open),
body.has-color-hero .header.is-services-closing:not(.is-scrolled):not(.is-menu-open):hover {
	background-color: var(--color-white);
	color: var(--color-text);
	position: fixed;
}

body.has-color-hero .header.is-services-closing:not(.is-scrolled):not(.is-menu-open) .header_content .a2,
body.has-color-hero .header.is-services-closing:not(.is-scrolled):not(.is-menu-open) .header_content .a2:visited,
body.has-color-hero .header.is-services-closing:not(.is-scrolled):not(.is-menu-open) .header_content .header_services_trigger {
	color: var(--color-text);
}

body.has-color-hero .header.is-services-closing:not(.is-scrolled):not(.is-menu-open) .header_menu_toggle span {
	background-color: var(--color-text);
}

/* Match the open header surface to the translucent services/menu panel. */
.header.is-services-open,
.header.is-menu-open,
body.has-color-hero .header.is-services-closing:not(.is-scrolled):not(.is-menu-open),
body.has-color-hero .header.is-services-closing:not(.is-scrolled):not(.is-menu-open):hover {
	background-color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

.header_content .a2.is-current,
.header_content .a2.is-current:visited,
.header_content .header_services_trigger.is-current,
.header_mega_links a.is-current,
.header_mega_links a.is-current:visited {
	color: var(--color-brand);
}

body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .a2.is-current,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .a2.is-current:visited,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .header_services_trigger.is-current,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .a2.is-current,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .a2.is-current:visited,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .header_services_trigger.is-current {
	color: var(--color-white);
	opacity: 1;
}

/*
 * Keep the language switcher readable over both light and dark hero frames.
 * The dropdown links need a more specific color than the transparent-header
 * rule above because they also use the shared .a2 typography class.
 */
.header_content .header_language_toggle,
.header_content .header_language_toggle:visited {
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: var(--color-text);
	background-color: transparent;
	box-shadow: none;
	justify-content: flex-start;
	opacity: 1;
}

.header_content .header_language_toggle:hover {
	color: var(--color-brand);
	background-color: transparent;
	opacity: 1;
}

body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .header_language_toggle,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .header_language_toggle:visited,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .header_language_toggle {
	color: var(--color-white);
	background-color: transparent;
}

body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .header_language_toggle:hover,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .header_language_toggle:hover {
	color: var(--color-white);
	background-color: transparent;
	opacity: 0.72;
}

.header_content .header_language_toggle:focus-visible {
	outline: 2px solid var(--color-brand);
	outline-offset: 3px;
}

.header_content .header_language_menu .header_language_option,
.header_content .header_language_menu .header_language_option:visited,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .header_language_menu .header_language_option,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .header_language_menu .header_language_option:visited,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .header_language_menu .header_language_option,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open):hover .header_content .header_language_menu .header_language_option:visited {
	color: var(--color-text);
	background-color: transparent;
	opacity: 1;
}

.header_content .header_language_menu .header_language_option:hover,
.header_content .header_language_menu .header_language_option:focus-visible,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .header_language_menu .header_language_option:hover,
body.has-color-hero .header:not(.is-scrolled):not(.is-menu-open):not(.is-services-open) .header_content .header_language_menu .header_language_option:focus-visible {
	color: var(--color-brand);
	background-color: var(--color-surface-muted);
	opacity: 1;
	outline: none;
}

/*
 * Header menu motion: the panel opens first, then text cascades top-to-bottom.
 */
@media (min-width: 993px) {
	.header_mega_links {
		display: flex;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 40px;
	}

	.header_mega_group,
	.header_mega_column {
		align-items: flex-start;
	}

	.header_mega_group--seo {
		width: max-content;
		flex: 0 0 auto;
		gap: 15px;
	}

	.header_mega_group--standard {
		width: 340px;
		flex: 0 0 340px;
		gap: 15px;
	}

	.header_mega_group_label {
		font-size: 14px;
		line-height: 20px;
		font-weight: 500;
		text-transform: none;
		letter-spacing: 0;
	}

	.header_mega_group--standard .header_mega_column {
		gap: 4px;
	}

	.header_mega_group--standard .header_mega_column a {
		font-size: 16px;
		line-height: 24px;
		font-weight: 400;
	}

	.header_mega_links a {
		width: fit-content;
		max-width: 100%;
	}

	.header_mega_inner {
		max-width: 1200px;
	}

	.header_mega_links {
		justify-content: center;
		gap: 40px;
	}

	.header_mega_group {
		gap: 12px;
	}

	.header_mega_group--seo .header_mega_column {
		gap: 4px;
	}

	.header_mega_group--seo .header_mega_column a {
		font-size: 24px;
		line-height: 32px;
		font-weight: 500;
	}

	.header_mega {
		background-color: rgba(255, 255, 255, 0.9);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		border-top: 0;
		opacity: 1;
		transform: none;
		clip-path: inset(0 0 100% 0);
		contain: paint;
		will-change: clip-path;
		transition:
			clip-path 120ms cubic-bezier(0.45, 0, 0.55, 1),
			visibility 0s linear 120ms;
	}

	.header.is-services-open .header_mega {
		opacity: 1;
		transform: none;
		clip-path: inset(0);
		transition:
			clip-path 120ms cubic-bezier(0.45, 0, 0.55, 1),
			visibility 0s;
	}

	.header_overlay {
		background-color: rgba(230, 230, 230, 0.52);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		transition:
			opacity 50ms ease,
			visibility 0s linear 50ms;
	}

	.header.is-services-open + .header_overlay {
		transition:
			opacity 50ms ease,
			visibility 0s;
	}
}

.header_mega_group_label,
.header_mega_links a {
	opacity: 0;
	transform: translateY(-10px);
	transition: opacity 300ms ease, transform 300ms ease;
}

.header.is-services-open .header_mega_group_label,
.header.is-services-open .header_mega_links a {
	opacity: 1;
	transform: translateY(0);
}

@media (min-width: 993px) {
	.header.is-services-open .header_mega_group_label,
	.header.is-services-open .header_mega_links a {
		transition-delay: var(--header-link-delay, 120ms);
	}
}

@media (min-width: 993px) and (prefers-reduced-motion: reduce) {
	.header_mega,
	.header.is-services-open .header_mega,
	.header_mega_group_label,
	.header_mega_links a {
		transition: none;
	}
}

/*
 * The header is fixed, so the first heading block on each page sits under it.
 * Add the header height on top of the block's own padding so the title keeps
 * a proper gap below the header instead of the page top.
 */
main > .wrapper:first-child > .container {
	padding-top: calc(80px + var(--header-height));
}

main > .wrapper:first-child > .ptitle {
	padding-top: calc(100px + var(--header-height));
}

.about-page > .about_page_title:first-child > .container,
.contacts-page > .wrapper:first-child > .container {
	padding-top: calc(100px + var(--header-height));
}

.about-page > .wrapper_photo:first-child,
.about-page > .team_slider:first-child {
	margin-top: var(--header-height);
}

.clients_item img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

@media (max-width: 992px) {
	:root {
		--header-height: 80px;
	}

	.header_mega_group_label {
		font-size: 14px;
		line-height: 25px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 1px;
	}

	.header_mega_group--seo .header_mega_column a {
		font-size: 24px;
		line-height: 32px;
	}

	main > .wrapper:first-child > .container,
	main > .wrapper:first-child > .ptitle {
		padding-top: calc(80px + var(--header-height));
	}

	.review_body {
		flex-direction: column;
		gap: 32px;
	}

	.review_navigation {
		width: 100%;
	}

	.review_navigation .review_control {
		width: 48px;
		height: 48px;
	}

	.about-page .team_slider {
		padding-bottom: 72px;
	}

	.cases-page .project--flow .project_item:nth-child(even) {
		margin-top: 0;
	}

	.project--home .project_item:nth-child(even) {
		margin-top: 0;
	}

	.author-profile {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.author-profile_photo {
		max-width: 280px;
	}

	.author-page_articles-title {
		margin-bottom: 40px;
		padding: 0;
	}

	.case {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.case h2,
	.case h3,
	.case h1,
	.case .h2,
	.case .h3 {
		margin-top: 36px;
		padding-bottom: 14px;
	}

	.case p,
	.case li {
		font-size: 15px;
		line-height: 22px;
	}

	.legal-story {
		padding-top: 32px;
		padding-bottom: 80px;
	}

	.legal-content h2:not(.h3),
	.legal-content h3:not(.h3),
	.legal-content h4:not(.h4) {
		margin-top: 36px;
	}

	.legal-content h2:not(.h3) {
		font-size: 28px;
	}

	.legal-content h3:not(.h3) {
		font-size: 24px;
	}

	.legal-content h4:not(.h4) {
		font-size: 22px;
	}

	.legal-content p,
	.legal-content li {
		font-size: 15px;
		line-height: 22px;
	}

	.header_content {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.header.is-menu-open .header_content {
		opacity: 1;
		transform: none;
	}

	.header_navigation > *,
	.header_languages,
	.header_mega_group_label,
	.header_mega_links a {
		opacity: 0;
		transform: translateY(12px);
		transition: opacity 0.24s ease, transform 0.24s ease;
	}

	.header.is-menu-open:not(.is-services-step) .header_navigation > *,
	.header.is-menu-open:not(.is-services-step) .header_languages,
	.header.is-menu-open.is-services-step .header_mega_group_label,
	.header.is-menu-open.is-services-step .header_mega_links a {
		opacity: 1;
		transform: translateY(0);
	}

	.header.is-menu-open.is-services-step .header_mega_group_label {
		transition-delay: 0.04s;
	}

	.header.is-menu-open:not(.is-services-step) .header_navigation > *:nth-child(1),
	.header.is-menu-open.is-services-step .header_mega_links a:nth-child(1) {
		transition-delay: 0.04s;
	}

	.header.is-menu-open:not(.is-services-step) .header_navigation > *:nth-child(2),
	.header.is-menu-open.is-services-step .header_mega_links a:nth-child(2) {
		transition-delay: 0.07s;
	}

	.header.is-menu-open:not(.is-services-step) .header_navigation > *:nth-child(3),
	.header.is-menu-open.is-services-step .header_mega_links a:nth-child(3) {
		transition-delay: 0.1s;
	}

	.header.is-menu-open:not(.is-services-step) .header_navigation > *:nth-child(4),
	.header.is-menu-open.is-services-step .header_mega_links a:nth-child(4) {
		transition-delay: 0.13s;
	}

	.header.is-menu-open:not(.is-services-step) .header_navigation > *:nth-child(5),
	.header.is-menu-open.is-services-step .header_mega_links a:nth-child(5) {
		transition-delay: 0.16s;
	}

	.header.is-menu-open:not(.is-services-step) .header_navigation > *:nth-child(6),
	.header.is-menu-open.is-services-step .header_mega_links a:nth-child(6) {
		transition-delay: 0.19s;
	}

	.header.is-menu-open:not(.is-services-step) .header_navigation > *:nth-child(7),
	.header.is-menu-open.is-services-step .header_mega_links a:nth-child(7) {
		transition-delay: 0.22s;
	}

	.header.is-menu-open:not(.is-services-step) .header_navigation > *:nth-child(8),
	.header.is-menu-open.is-services-step .header_mega_links a:nth-child(8) {
		transition-delay: 0.25s;
	}

	.header.is-menu-open:not(.is-services-step) .header_navigation > *:nth-child(n+9),
	.header.is-menu-open.is-services-step .header_mega_links a:nth-child(n+9),
	.header.is-menu-open:not(.is-services-step) .header_languages {
		transition-delay: 0.28s;
	}

	/* Mobile menu surface and typography. */
	.header_logo {
		height: 48px;
		display: flex;
		align-items: center;
	}

	.header_logo svg {
		width: 105.6px;
		height: auto;
	}

	.header_content,
	.header_mega {
		inset: 80px 0 0;
		height: calc(100dvh - 80px);
		padding: 0 20px 20px;
		background-color: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.header.is-menu-open {
		background-color: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	/*
	 * Keep one backdrop layer behind both mobile menu steps. Applying the
	 * filter to the header and its child panels creates a nested backdrop
	 * context, so the child can no longer blur the page itself.
	 */
	.header.is-menu-open + .header_overlay {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		background-color: rgba(255, 255, 255, 0.9);
		backdrop-filter: blur(32px) saturate(115%);
		-webkit-backdrop-filter: blur(32px) saturate(115%);
	}

	.header.is-menu-open .header_navigation > a:is(:hover, :focus-visible, :active, .is-current),
	.header.is-menu-open .header_services_trigger:is(:hover, :focus-visible, :active, .is-current),
	.header.is-menu-open.is-services-step .header_mega_links a:is(:hover, :focus-visible, :active, .is-current),
	.header.is-menu-open .header_language_toggle:is(:hover, :focus-visible, :active),
	.header.is-menu-open .header_language_option:is(:hover, :focus-visible, :active) {
		color: transparent !important;
		background-color: transparent;
		background-image: linear-gradient(90deg, #003467 0, #0068d3 260px, #0068d3 100%);
		background-repeat: no-repeat;
		background-size: 100% 100%;
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
	}

	.header.is-menu-open .header_services_trigger:is(:hover, :focus-visible, :active, .is-current)::after,
	.header.is-menu-open .header_language_toggle:is(:hover, :focus-visible, :active)::after {
		border-color: #0068d3;
	}

	.header_content,
	.header_mega {
		justify-content: flex-start;
	}

	.header_content_inner,
	.header_mega_inner {
		height: auto;
		min-height: 0;
		flex: 0 0 auto;
		margin: clamp(24px, 6vh, 56px) auto 0;
	}

	.header_navigation {
		gap: 4px;
	}

	.header_content .header_navigation > .a2,
	.header_content .header_navigation > .header_services_trigger {
		font-size: 32px;
		line-height: 42px;
		font-weight: 500;
	}

	.header_languages {
		margin-top: 36px;
	}

	.header_mega_links {
		gap: 40px;
	}

	.header_mega_group {
		gap: 12px;
	}

	.header_mega_group_label {
		font-size: 14px;
		line-height: 20px;
		font-weight: 500;
		text-transform: none;
		letter-spacing: 0;
	}

	.header_mega_column,
	.header_mega_group--standard .header_mega_column {
		gap: 4px;
	}

	.header_mega_group--seo .header_mega_column a {
		font-size: 24px;
		line-height: 32px;
		font-weight: 500;
	}

	.header_mega_group--standard .header_mega_column a {
		font-size: 16px;
		line-height: 24px;
		font-weight: 400;
	}

	.header.is-menu-open.is-services-step .header_mega_group_label,
	.header.is-menu-open.is-services-step .header_mega_links a {
		animation: ideadigital-mobile-menu-item-in 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
		animation-delay: calc(var(--header-link-delay, 120ms) - 60ms);
	}
}

@keyframes ideadigital-mobile-menu-item-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 992px) and (prefers-reduced-motion: reduce) {
	.header.is-menu-open.is-services-step .header_mega_group_label,
	.header.is-menu-open.is-services-step .header_mega_links a {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.header_mega_group_label,
	.header_mega_links a,
	.header_navigation > *,
	.header_languages {
		transition: none;
		transform: none;
	}
}

/*
 * Keep the distance between a page intro (title + description) and its first
 * content block consistent across the main listing/information pages.
 */
.blog-page .ptitle,
.cases-page .ptitle,
.reviews-page .ptitle,
.vacancies-page .ptitle {
	padding-bottom: 60px;
}

.reviews-page > .wrapper:first-child > .container {
	padding-top: 0;
}

.vacancies-page_list {
	padding-top: 0;
	padding-bottom: 72px;
}

.about-page .about_page_title > .container {
	padding-bottom: 60px;
}

.about-page .about_page_title + .wrapper > .container {
	padding-top: 0;
}

.contacts-page .cta-light {
	gap: 60px;
}

.blog-page .a_articles {
	padding-top: 60px;
}

.cases-page .project--flow {
	padding-top: 60px;
	padding-bottom: 80px;
	gap: 48px 100px;
}

@media (max-width: 992px) {
	.blog-page .ptitle,
	.cases-page .ptitle,
	.reviews-page .ptitle,
	.vacancies-page .ptitle {
		padding-bottom: 40px;
	}

	.about-page .about_page_title > .container {
		padding-bottom: 40px;
	}

	.contacts-page .cta-light {
		gap: 40px;
	}

	.vacancies-page_list {
		padding-bottom: 48px;
	}

	.blog-page .a_articles {
		padding-top: 40px;
	}

	.cases-page .project--flow {
		padding-top: 40px;
		padding-bottom: 56px;
		gap: 40px;
	}
}

/*
 * Page scroll reveal. JavaScript adds the data attribute only after it
 * has initialized, so content remains visible when scripts are unavailable.
 */
.scroll-reveal-page.is-scroll-reveal-ready [data-scroll-reveal] {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition:
		opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1) var(--scroll-reveal-delay, 0ms),
		transform 1000ms cubic-bezier(0.22, 1, 0.36, 1) var(--scroll-reveal-delay, 0ms),
		background-position-x var(--ideadigital-gradient-headline-duration, 1300ms) cubic-bezier(0.37, 0, 0.63, 1);
	will-change: opacity, transform;
}

.scroll-reveal-page.is-scroll-reveal-ready [data-scroll-reveal].is-scroll-reveal-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
	.scroll-reveal-page.is-scroll-reveal-ready [data-scroll-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
		will-change: auto;
	}
}

.gradient-headline,
[data-gradient-headline] {
	display: inline-block;
	color: transparent !important;
	background-image: var(--ideadigital-gradient-headline, linear-gradient(90deg, #e6232d 0%, #e924ff 18%, #0066cc 36%, var(--color-text) 50%, var(--color-text) 100%));
	background-size: 300% 100%;
	background-position-x: 100%;
	background-repeat: no-repeat;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: background-position-x var(--ideadigital-gradient-headline-duration, 1300ms) cubic-bezier(0.37, 0, 0.63, 1);
}

.gradient-headline.is-gradient-visible,
[data-gradient-headline].is-gradient-visible {
	background-position-x: 0%;
}

@media (prefers-reduced-motion: reduce) {
	.gradient-headline,
	[data-gradient-headline] {
		background-position-x: 0%;
		transition: none;
	}
}

@media (max-width: 900px) {
	.site-main {
		padding: calc(var(--header-height) + 40px) 0 48px;
	}

	.cta_fields {
		grid-template-columns: 1fr;
	}

	.project--flow .project_item:nth-child(even) {
		margin-top: 0;
	}

	.project--home {
		grid-template-columns: 1fr;
		gap: 60px;
	}
}

/*
 * Keep the theme header and its full-screen menus below the WordPress admin
 * toolbar. These rules affect only logged-in users who enable the toolbar.
 */
body.admin-bar {
	--ideadigital-admin-bar-height: 32px;
}

body.admin-bar .header {
	top: var(--ideadigital-admin-bar-height);
}

body.admin-bar .header_mega {
	top: calc(88px + var(--ideadigital-admin-bar-height));
}

body.admin-bar .header_overlay {
	top: var(--ideadigital-admin-bar-height);
}

@media (max-width: 992px) {
	body.admin-bar .header_content,
	body.admin-bar .header_mega {
		inset: calc(80px + var(--ideadigital-admin-bar-height)) 0 0;
		height: calc(100dvh - 80px - var(--ideadigital-admin-bar-height));
	}
}

@media (max-width: 782px) {
	body.admin-bar {
		--ideadigital-admin-bar-height: 46px;
	}
}
.faq_item_title {
	background: transparent;
}
