/*
Theme Name: Doniec Górecki & Partnerzy Block
Theme URI: https://dgp.legal/
Author: Doniec Górecki & Partnerzy
Description: Lightweight block theme for the Polish Doniec Górecki & Partnerzy law-firm website.
Version: 1.8.8
Requires at least: 6.9
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: dgp-block
*/

@font-face {
	font-family: "Surt Text";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../../uploads/2018/10/Surt-Light.woff2") format("woff2"),
		url("../../uploads/2018/10/Surt-Light.woff") format("woff");
}

@font-face {
	font-family: "Surt Text";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../../uploads/2018/10/Surt-Regular.woff2") format("woff2"),
		url("../../uploads/2018/10/Surt-Regular.woff") format("woff");
}

@font-face {
	font-family: "Surt Display";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../../uploads/2018/10/Surt-RegularExp.woff2") format("woff2"),
		url("../../uploads/2018/10/Surt-RegularExp.woff") format("woff");
}

@font-face {
	font-family: "Surt Display";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../../uploads/2019/03/Surt-UltraBoldExp.woff2") format("woff2"),
		url("../../uploads/2019/03/Surt-UltraBoldExp.woff") format("woff");
}

:root {
	--dgp-header-height: 80px;
	--dgp-header-height-mobile: 60px;
	--dgp-container: 1140px;
	--dgp-gutter: clamp(20px, 4vw, 30px);
	--dgp-transition: 180ms ease;
	--dgp-type-display: var(--wp--preset--font-size--display, clamp(42px, 5vw, 60px));
	--dgp-type-page-title: var(--wp--preset--font-size--page-title, clamp(36px, 4vw, 52px));
	--dgp-type-section-title: var(--wp--preset--font-size--section-heading, clamp(28px, 2.7vw, 40px));
	--dgp-type-card-title: var(--wp--preset--font-size--card-title, clamp(20px, 1.5vw, 22px));
	--dgp-type-lead: var(--wp--preset--font-size--lead, clamp(18px, 1.4vw, 21px));
	--dgp-type-body: var(--wp--preset--font-size--body, 16px);
	--dgp-type-small: var(--wp--preset--font-size--small, 14px);
	--dgp-type-label: var(--wp--preset--font-size--label, 12px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--dgp-header-height);
}

body {
	margin: 0;
	overflow-x: hidden;
	font-synthesis: none;
}

:where(h1, h2, h3, h4, h5, h6) {
	text-wrap: balance;
}

.dgp-type-display {
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: var(--dgp-type-display) !important;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.04 !important;
}

.dgp-type-page-title {
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: var(--dgp-type-page-title) !important;
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.08 !important;
}

.dgp-type-section-title {
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: var(--dgp-type-section-title) !important;
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.15 !important;
}

.wp-site-blocks {
	padding: 0;
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

.wp-block-post-content.is-layout-flow > * {
	margin-block-start: 0 !important;
}

body.dgp-menu-open {
	overflow: hidden;
}

body.dgp-profile-open {
	overflow: hidden;
}

::selection {
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--charcoal);
}

img {
	max-width: 100%;
	height: auto;
}

a,
button,
input,
select,
textarea,
summary {
	transition: color var(--dgp-transition), background-color var(--dgp-transition), border-color var(--dgp-transition), opacity var(--dgp-transition);
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--gold-dark);
	outline-offset: 3px;
}

.dgp-site-header.is-overlay:not(.has-scrolled) :where(a, button, input, select, textarea, summary):focus-visible,
.dgp-site-footer :where(a, button, input, select, textarea, summary):focus-visible {
	outline-color: var(--wp--preset--color--gold);
}

:where(input:not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea) {
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 1px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--charcoal);
	font: inherit;
}

.screen-reader-text,
.dgp-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.dgp-skip-link:focus {
	clip: auto !important;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	left: 12px;
	top: 12px;
	z-index: 100000;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--charcoal);
	font-family: var(--wp--preset--font-family--surt-display);
	font-weight: 800;
	text-decoration: none;
}

.dgp-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	min-height: var(--dgp-header-height);
	background: rgba(245, 245, 247, 0.98);
	color: var(--wp--preset--color--charcoal);
	border-bottom: 1px solid rgba(39, 40, 43, 0.12);
	transition: background-color 600ms cubic-bezier(0.19, 1, 0.22, 1), color 420ms cubic-bezier(0.19, 1, 0.22, 1), border-color 600ms cubic-bezier(0.19, 1, 0.22, 1), box-shadow 600ms cubic-bezier(0.19, 1, 0.22, 1);
}

.dgp-site-header.is-overlay {
	position: fixed;
	left: 0;
	right: 0;
	background: transparent;
	color: var(--wp--preset--color--white);
	border-color: rgba(255, 255, 255, 0.12);
}

.dgp-site-header.is-overlay.has-scrolled {
	position: fixed;
	background: rgba(229, 229, 229, 0.98);
	color: #050505;
	border-color: #050505;
	box-shadow: none;
}

.admin-bar .dgp-site-header {
	top: 32px;
}

.dgp-site-header__inner {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	width: min(var(--dgp-container), calc(100% - (2 * var(--dgp-gutter))));
	min-height: var(--dgp-header-height);
	margin: 0 auto;
}

.dgp-brand {
	position: relative;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	max-width: 214px;
	min-height: 52px;
	text-decoration: none;
}

.dgp-brand img {
	display: block;
	width: auto;
	max-width: 214px;
	max-height: 77px;
}

.dgp-brand__name {
	color: currentColor;
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.02em;
}

.dgp-brand .dgp-logo--light {
	display: none;
}

.dgp-site-header.is-overlay:not(.has-scrolled) .dgp-logo--dark {
	display: none;
}

.dgp-site-header.is-overlay:not(.has-scrolled) .dgp-logo--light {
	display: block;
}

.dgp-menu-toggle {
	display: none;
	position: relative;
	z-index: 4;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.dgp-menu-toggle__icon,
.dgp-menu-toggle__icon::before,
.dgp-menu-toggle__icon::after {
	display: block;
	width: 25px;
	height: 2px;
	background: currentColor;
	content: "";
	transition: transform var(--dgp-transition), opacity var(--dgp-transition);
}

.dgp-menu-toggle__icon {
	position: relative;
}

.dgp-menu-toggle__icon::before,
.dgp-menu-toggle__icon::after {
	position: absolute;
	left: 0;
}

.dgp-menu-toggle__icon::before {
	top: -8px;
}

.dgp-menu-toggle__icon::after {
	top: 8px;
}

.dgp-menu-toggle[aria-expanded="true"] .dgp-menu-toggle__icon {
	background: transparent;
}

.dgp-menu-toggle[aria-expanded="true"] .dgp-menu-toggle__icon::before {
	transform: translateY(8px) rotate(45deg);
}

.dgp-menu-toggle[aria-expanded="true"] .dgp-menu-toggle__icon::after {
	transform: translateY(-8px) rotate(-45deg);
}

.dgp-menu-panel {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1 1 auto;
}

.dgp-primary-menu > ul,
.dgp-primary-menu .menu,
.dgp-primary-menu > .menu > ul {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dgp-primary-menu li {
	position: relative;
	margin: 0;
	list-style: none;
}

.dgp-primary-menu a {
	display: flex;
	align-items: center;
	min-height: var(--dgp-header-height);
	padding: 0 14px;
	color: inherit;
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.025em;
	text-decoration: none;
	text-transform: uppercase;
}

.dgp-primary-menu a:hover,
.dgp-primary-menu a:focus-visible {
	color: var(--wp--preset--color--gold-dark);
}

.dgp-primary-menu .current-menu-item > a,
.dgp-primary-menu .current-menu-ancestor > a {
	color: inherit;
}

.dgp-site-header.is-overlay:not(.has-scrolled) .dgp-primary-menu a:hover,
.dgp-site-header.is-overlay:not(.has-scrolled) .dgp-primary-menu a:focus-visible {
	color: var(--wp--preset--color--gold);
}

.dgp-site-header.is-overlay:not(.has-scrolled) .dgp-primary-menu .current-menu-item > a,
.dgp-site-header.is-overlay:not(.has-scrolled) .dgp-primary-menu .current-menu-ancestor > a {
	color: inherit;
}

.dgp-primary-menu .sub-menu {
	position: absolute;
	top: calc(100% - 1px);
	right: 0;
	z-index: 5;
	display: none;
	min-width: 190px;
	margin: 0;
	padding: 8px 0;
	background: var(--wp--preset--color--charcoal);
	box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
	list-style: none;
}

.dgp-primary-menu li:hover > .sub-menu,
.dgp-primary-menu li:focus-within > .sub-menu {
	display: block;
}

.dgp-primary-menu .sub-menu a {
	min-height: 42px;
	padding: 10px 18px;
	color: var(--wp--preset--color--mist);
	font-size: 14px;
	line-height: 1.4;
}

.dgp-header-socials {
	display: none;
}

.dgp-page-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: center;
	overflow: hidden;
	background-color: var(--dgp-hero-background, var(--wp--preset--color--paper));
	color: var(--wp--preset--color--charcoal);
}

.dgp-page-hero.is-standard {
	min-height: 301px;
	margin-bottom: 45px;
	padding: clamp(72px, 9vw, 120px) var(--dgp-gutter) clamp(54px, 7vw, 90px);
}

.dgp-page-hero.is-fancy {
	min-height: var(--dgp-hero-height, 350px);
	padding: calc(var(--dgp-header-height) + 50px) var(--dgp-gutter) 60px;
	color: var(--dgp-hero-title-color, #fff);
}

.dgp-page-hero.is-fancy.is-fullscreen {
	min-height: max(44rem, 100svh);
}

.dgp-page-hero__background {
	position: absolute;
	top: -10%;
	right: 0;
	left: 0;
	z-index: -2;
	height: 110%;
	background-image: var(--dgp-hero-image, none);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	will-change: transform;
}

.dgp-page-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--dgp-hero-overlay, #27282b);
	opacity: var(--dgp-hero-overlay-opacity, 0.3);
}

.dgp-page-hero__content {
	width: min(var(--dgp-container), 100%);
	margin: 0 auto;
}

.dgp-page-hero.is-fullscreen .dgp-page-hero__content {
	position: relative;
	top: -35px;
	will-change: transform, opacity;
}

.dgp-page-hero.is-centered .dgp-page-hero__content {
	text-align: center;
}

.dgp-page-hero__title {
	max-width: 1000px;
	margin: 0;
	color: inherit;
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: var(--dgp-type-page-title);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.08;
}

body.page-id-13554 .dgp-page-hero__title {
	font-size: var(--dgp-type-display);
	letter-spacing: -0.02em;
	line-height: 1.04;
}

.dgp-page-hero.is-centered .dgp-page-hero__title,
.dgp-page-hero.is-centered .dgp-page-hero__subtitle {
	margin-right: auto;
	margin-left: auto;
}

.dgp-page-hero__subtitle {
	max-width: 600px;
	margin: 15px 0 0;
	font-family: var(--wp--preset--font-family--surt-text);
	font-size: var(--dgp-type-lead);
	font-weight: 400;
	line-height: 1.48;
}

.dgp-page-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 12px;
	display: inline-grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border: 0;
	color: inherit;
	transform: translateX(-50%);
}

.dgp-page-hero__scroll:hover {
	background: transparent;
}

.dgp-page-hero__scroll svg {
	width: 44px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
}

.dgp-page-hero__scroll {
	animation: dgp-arrow 1s ease-in-out infinite alternate;
}

.dgp-page-hero__scroll.is-hidden {
	pointer-events: none;
	opacity: 0;
}

.dgp-motion-ready .dgp-reveal {
	opacity: 0;
	transform: translateY(var(--dgp-reveal-travel, 100px));
	transition: opacity 1s ease var(--dgp-reveal-delay, 0ms), transform 1s cubic-bezier(0.19, 1, 0.22, 1) var(--dgp-reveal-delay, 0ms);
}

.dgp-motion-ready .dgp-cascade-reveal {
	transform: translateY(50px);
	transition: opacity 700ms ease-in var(--dgp-reveal-delay, 400ms), transform 700ms ease-in var(--dgp-reveal-delay, 400ms);
}

.dgp-motion-ready .dgp-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes dgp-arrow {
	from { transform: translate(-50%, -3px); }
	to { transform: translate(-50%, 5px); }
}

@keyframes dgp-panel-in {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}

@keyframes dgp-backdrop-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes dgp-panel-out {
	from { transform: translateX(0); }
	to { transform: translateX(100%); }
}

@keyframes dgp-backdrop-out {
	from { opacity: 1; }
	to { opacity: 0; }
}

.dgp-content-start {
	min-height: 1px;
}

.dgp-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: var(--dgp-section-padding-top, 80px);
	padding-bottom: var(--dgp-section-padding-bottom, 80px);
	background-color: var(--dgp-section-background, transparent);
	min-height: var(--dgp-section-min-height, auto);
}

.dgp-section__background {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: var(--dgp-section-image, none);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.dgp-section.has-parallax-background .dgp-section__background {
	top: 0;
	bottom: auto;
	height: calc(100% + 30vh);
	will-change: transform;
}

.dgp-section__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--dgp-section-overlay, transparent);
	opacity: var(--dgp-section-overlay-opacity, 0);
}

.dgp-section__link-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	cursor: pointer;
	touch-action: manipulation;
}

.dgp-section.has-section-link .dgp-section__background {
	transition: filter 240ms ease;
}

.dgp-section.has-section-link:hover .dgp-section__background {
	filter: brightness(0.96);
}

.dgp-section__link-overlay:focus-visible {
	outline: 3px solid var(--wp--preset--color--gold-dark);
	outline-offset: -7px;
}

.dgp-section__link-prompt {
	position: absolute;
	bottom: clamp(22px, 4vw, 48px);
	left: clamp(20px, 4vw, 56px);
	display: inline-flex;
	min-height: 48px;
	padding: 11px 15px 10px 17px;
	align-items: center;
	gap: 12px;
	background: rgba(39, 40, 43, 0.94);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
	color: #fff;
	font-family: var(--wp--preset--font-family--surt-text);
	font-size: clamp(var(--dgp-type-small), 1.2vw, var(--dgp-type-body));
	line-height: 1.25;
	transition: background-color 220ms ease, transform 220ms ease;
}

.dgp-section__link-prompt svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: square;
	stroke-width: 1.8;
}

.dgp-section__link-overlay:hover .dgp-section__link-prompt,
.dgp-section__link-overlay:focus-visible .dgp-section__link-prompt {
	transform: translateY(-3px);
	background: var(--wp--preset--color--gold-dark);
}

.dgp-section__inner {
	width: min(calc(100% - (2 * var(--dgp-gutter))), var(--dgp-container));
	margin-right: auto;
	margin-left: auto;
}

.dgp-section__inner.is-content {
	max-width: var(--wp--style--global--content-size, 760px);
}

.dgp-section__inner.is-full {
	width: 100%;
	max-width: none;
}

.dgp-section.has-charcoal-background,
.dgp-section--dark {
	color: var(--wp--preset--color--mist);
}

.dgp-section.is-fullscreen-section {
	display: grid;
	align-items: center;
}

/* The relocated services banner keeps its title safely inside the photograph. */
body.page-id-13554 #uslugi {
	display: grid;
	align-items: center;
}

body.page-id-13554 #uslugi > .dgp-section__inner > .dgp-columns {
	margin-block: 0;
}

.dgp-section.is-fullscreen-section[id] {
	/* Full-height reference anchors start behind the fixed masthead. */
	scroll-margin-top: calc(-1 * var(--dgp-header-height));
}

.dgp-section.has-charcoal-background :where(h1, h2, h3, h4, h5, h6, a),
.dgp-section--dark :where(h1, h2, h3, h4, h5, h6, a) {
	color: inherit;
}

.dgp-columns {
	display: flex;
	flex-wrap: nowrap;
	gap: clamp(30px, 5vw, 80px);
	align-items: center;
}

.dgp-columns > :where(.dgp-column, .wp-block-column) {
	flex: 1 1 0;
	min-width: 0;
}

.dgp-columns > :where(.dgp-column, .wp-block-column)[style*="flex-basis"] {
	flex-grow: 0;
	flex-shrink: 1;
}

.dgp-columns--flush {
	gap: 0;
}

.dgp-column--v-center {
	align-self: center;
}

.dgp-column--top,
.dgp-column--v-top {
	align-self: flex-start;
}

.dgp-column--bottom,
.dgp-column--v-bottom {
	align-self: flex-end;
}

.dgp-media-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-height: 620px;
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--mist);
}

.dgp-media-split.is-reversed .dgp-media-split__media {
	order: 2;
}

.dgp-media-split__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.45);
}

.dgp-media-split__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(50px, 8vw, 120px);
}

.dgp-practice-card {
	display: grid;
	grid-template-columns: minmax(80px, 150px) minmax(0, 1fr);
	gap: clamp(24px, 5vw, 64px);
	align-items: start;
	padding: clamp(32px, 5vw, 60px) 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.dgp-practice-card__icon img {
	width: 90px;
	height: 90px;
	object-fit: contain;
}

.dgp-practice-card h2,
.dgp-practice-card h3 {
	margin-top: 0;
}

.dgp-service-card {
	position: relative;
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	grid-template-rows: auto auto auto;
	column-gap: 0;
	row-gap: 0;
	align-items: start;
	padding: 0;
}

.dgp-service-card + .dgp-service-card {
	margin-top: 60px;
}

.dgp-section.has-service-cards {
	padding-top: 95px;
	padding-bottom: 125px;
}

.dgp-service-card > .dgp-service-card__icon {
	grid-column: 1;
	grid-row: 1 / 4;
	display: grid;
	width: 200px;
	min-height: 120px;
	margin: 0;
	padding: 15px;
	place-items: start center;
}

.dgp-service-card > .dgp-service-card__title {
	grid-column: 2;
	grid-row: 1;
	margin: 0 0 15px;
	padding-top: 8px;
}

.dgp-service-card__title {
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: var(--dgp-type-card-title);
	font-weight: 400;
	letter-spacing: -0.005em;
	line-height: 1.25;
}

.dgp-service-card > strong {
	grid-column: 2;
	grid-row: 2;
	display: block;
	margin: 0;
	font-family: var(--wp--preset--font-family--surt-text);
	font-size: var(--dgp-type-body);
	font-weight: 400;
	line-height: 25.2px;
}

.dgp-service-card > .wp-block-paragraph {
	grid-column: 2;
	grid-row: 3;
	margin: 0;
	font-size: var(--dgp-type-small);
	line-height: 25.2px;
}

.dgp-service-card__icon img,
.dgp-decorative-icon img,
img.dgp-decorative-icon {
	display: block;
	width: 90px;
	height: 90px;
	object-fit: contain;
}

.dgp-service-card__icon img {
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 240ms ease;
}

.dgp-service-card__title a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.dgp-service-card:hover .dgp-service-card__icon img,
.dgp-service-card:focus-within .dgp-service-card__icon img {
	filter: none;
	transform: none;
}

.dgp-service-card.is-whole-link:hover :is(h2, p, strong, a),
.dgp-service-card.is-whole-link:focus-within :is(h2, p, strong, a) {
	color: #b7b6b6;
}

.dgp-service-card__title {
	margin-top: 0;
}

.dgp-service-card.is-whole-link .dgp-service-card__title a::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
}

.dgp-service-card.is-whole-link :where(a, button, input, select, textarea, summary):not(.dgp-service-card__title a) {
	position: relative;
	z-index: 2;
}

.dgp-content-image img,
img.dgp-content-image,
.dgp-image-hover img {
	display: block;
	width: 100%;
}

.dgp-image-hover {
	position: relative;
	overflow: hidden;
}

.dgp-image-hover__primary,
.dgp-image-hover__alternate {
	transition: opacity 420ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
}

.dgp-image-hover__alternate {
	position: absolute;
	inset: 0;
	opacity: 0;
	filter: brightness(1.04) contrast(1.03);
	transform: scale(1.025);
}

.dgp-image-hover__primary :where(img, picture),
.dgp-image-hover__alternate :where(img, picture),
:where(img, picture).dgp-image-hover__primary,
:where(img, picture).dgp-image-hover__alternate {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dgp-image-hover:hover .dgp-image-hover__primary,
.dgp-image-hover:focus-within .dgp-image-hover__primary {
	opacity: 0;
}

.dgp-image-hover:hover .dgp-image-hover__alternate,
.dgp-image-hover:focus-within .dgp-image-hover__alternate {
	opacity: 1;
	transform: scale(1);
}

.dgp-text-light,
.dgp-bg-dark {
	color: var(--wp--preset--color--mist);
}

.dgp-bg-dark {
	background: var(--wp--preset--color--charcoal);
}

.dgp-text-light :where(h1, h2, h3, h4, h5, h6, a),
.dgp-bg-dark :where(h1, h2, h3, h4, h5, h6, a) {
	color: inherit;
}

.dgp-text-left {
	text-align: left;
}

.dgp-text-center {
	text-align: center;
}

.dgp-text-right {
	text-align: right;
}

.dgp-form-recovery-notice,
.dgp-missing-media {
	padding: 24px;
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--paper);
}

.dgp-form-recovery-notice {
	border-left: 4px solid var(--wp--preset--color--gold);
}

.dgp-missing-media {
	display: grid;
	place-items: center;
	min-height: 180px;
	color: var(--wp--preset--color--graphite);
	text-align: center;
}

.dgp-tabs-as-details,
.dgp-details {
	border-top: 1px solid var(--wp--preset--color--line);
}

.dgp-tabs__list {
	display: none;
}

.dgp-tabs-as-details details,
.dgp-details {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.dgp-tabs-as-details summary,
.dgp-details > summary {
	position: relative;
	display: block;
	padding: 22px 48px 22px 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: var(--dgp-type-body);
	font-weight: 400;
	line-height: 1.35;
}

.dgp-tabs-as-details summary::-webkit-details-marker,
.dgp-details > summary::-webkit-details-marker {
	display: none;
}

.dgp-tabs-as-details summary::after,
.dgp-details > summary::after {
	position: absolute;
	top: 50%;
	right: 6px;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	content: "";
	transform: translateY(-70%) rotate(45deg);
	transition: transform 320ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.dgp-tabs-as-details details[open] > summary::after,
.dgp-details[open] > summary::after {
	transform: translateY(-25%) rotate(225deg);
}

.dgp-button,
.wp-element-button,
.wp-block-button__link {
	border: 2px solid currentColor;
	border-radius: 1px;
	font-family: var(--wp--preset--font-family--surt-display);
	font-weight: 800;
	text-decoration: none;
}

.dgp-button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
	border-color: var(--wp--preset--color--gold);
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--charcoal);
}

.dgp-team-grid {
	display: grid;
	grid-template-columns: repeat(var(--dgp-team-columns, 4), minmax(0, 1fr));
	gap: clamp(20px, 3vw, 40px);
}

.dgp-team-card {
	position: relative;
	margin: 0;
	padding-bottom: 62px;
	background: transparent;
	color: var(--wp--preset--color--charcoal);
}

.dgp-team-card__image {
	position: relative;
	width: 100%;
	max-width: 250px;
	margin-right: auto;
	margin-left: auto;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--wp--preset--color--line);
	perspective: 1000px;
}

.dgp-team-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transform: translate3d(0, 0, 21px);
	transition: filter 300ms cubic-bezier(0.645, 0.045, 0.355, 1), opacity 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

.dgp-team-card:hover .dgp-team-card__image img,
.dgp-team-card:focus-within .dgp-team-card__image img {
	opacity: 0.9;
}

.dgp-team-card:hover .dgp-team-card__image,
.dgp-team-card:focus-within .dgp-team-card__image {
	background: #3498db;
}

.dgp-team-card__meet {
	position: absolute;
	inset: 0;
	display: grid;
	width: 100%;
	height: 100%;
	padding: 20px;
	place-items: center;
	overflow: hidden;
	transform: none;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: var(--dgp-type-card-title);
	line-height: 1.35;
	opacity: 1;
}

.dgp-team-card__meet span {
	visibility: hidden;
	opacity: 0;
}

.dgp-team-card__meet::before {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.25);
	content: "";
	transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -100%, 22px);
	transition: transform 600ms ease;
}

.dgp-team-card:hover .dgp-team-card__meet::before,
.dgp-team-card__meet:focus-visible::before {
	transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 100%, 22px);
}

.dgp-team-card__meet:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

.dgp-team-card__summary {
	width: calc(100% - 40px);
	max-width: 210px;
	margin-right: auto;
	margin-left: auto;
	padding: 30px 0 0;
	font-family: var(--wp--preset--font-family--surt-text);
	text-align: center;
}

.dgp-team-card__name {
	margin: 0;
	font-family: var(--wp--preset--font-family--surt-text);
	font-size: var(--dgp-type-card-title);
	font-weight: 400;
	letter-spacing: -0.005em;
	line-height: 1.25;
	overflow-wrap: normal;
	word-break: normal;
	color: #383838;
}

.dgp-team-card__position {
	margin: 5px 0 0;
	font-family: var(--wp--preset--font-family--surt-text);
	font-size: 15px;
	letter-spacing: normal;
	line-height: 1.4;
	color: #424242;
}

.dgp-team-card details {
	border-top: 1px solid var(--wp--preset--color--line);
}

.dgp-team-card summary {
	padding: 12px 18px;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
}

.dgp-team-card__profile {
	max-height: 32rem;
	overflow: auto;
	padding: 4px 22px 24px;
	font-size: 14px;
	line-height: 1.65;
}

.dgp-team-profile {
	inset: 0 0 0 auto;
	width: min(500px, 100%);
	max-width: 100%;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	overflow: visible;
	border: 0;
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--surt-text);
	box-shadow: -20px 0 70px rgba(0, 0, 0, 0.18);
}

.dgp-team-profile[open] {
	animation: dgp-panel-in 400ms cubic-bezier(0.645, 0.045, 0.355, 1) 25ms both;
}

.dgp-team-profile[open].is-closing {
	animation: dgp-panel-out 400ms cubic-bezier(0.645, 0.045, 0.355, 1) 25ms both;
}

.dgp-team-profile::backdrop {
	background: rgba(0, 0, 0, 0.4);
	animation: dgp-backdrop-in 300ms ease both;
}

.dgp-team-profile.is-closing::backdrop {
	animation: dgp-backdrop-out 380ms ease both;
}

.dgp-team-profile__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 4;
	display: grid;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	background: rgba(39, 40, 43, 0.45);
	color: #fff;
	cursor: pointer;
	font-size: 30px;
	line-height: 1;
	opacity: 0;
	transition: opacity 180ms ease, background-color 180ms ease;
}

.dgp-team-profile__close:focus-visible,
.dgp-team-profile__close:hover {
	background: rgba(39, 40, 43, 0.78);
	opacity: 1;
}

@media (hover: none), (max-width: 600px) {
	.dgp-team-profile__close {
		opacity: 1;
	}

	.dgp-team-profile .dgp-team-profile__close-cursor {
		display: none;
	}
}

.dgp-team-profile__close-cursor {
	position: fixed;
	left: var(--dgp-profile-close-x, calc(100vw - 540px));
	top: var(--dgp-profile-close-y, 50vh);
	z-index: 4;
	display: block;
	width: 30px;
	height: 30px;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -50%);
	transition: opacity 120ms ease;
}

.dgp-team-profile.shows-close-cursor .dgp-team-profile__close-cursor {
	opacity: 1;
}

.dgp-team-profile__close-cursor::before,
.dgp-team-profile__close-cursor::after {
	position: absolute;
	top: 14px;
	left: 1px;
	width: 28px;
	height: 2px;
	background: #fff;
	content: "";
}

.dgp-team-profile__close-cursor::before {
	transform: rotate(45deg);
}

.dgp-team-profile__close-cursor::after {
	transform: rotate(-45deg);
}

.dgp-team-profile__inner {
	height: 100dvh;
	min-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	background: var(--wp--preset--color--charcoal);
}

.dgp-team-profile__hero {
	position: relative;
	height: 325px;
	overflow: hidden;
}

.dgp-team-profile__hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.dgp-team-profile__identity {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	min-height: 90px;
	padding: 15px 50px 10px;
	background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
}

.dgp-team-profile__identity--without-image {
	position: relative;
	padding-top: 50px;
}

.dgp-team-profile__identity h2 {
	margin: 0;
	color: #e6e6e6;
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: 28px;
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.18;
}

.dgp-team-profile__position {
	margin: 3px 0 0;
	font-family: var(--wp--preset--font-family--surt-text);
	font-size: 16px;
	line-height: 19.5px;
}

.dgp-team-profile__identity .dgp-team-profile__position {
	margin: 3px 0 0;
}

.dgp-team-profile__content {
	padding: 35px 50px 80px;
}

.dgp-team-profile__body {
	font-family: var(--wp--preset--font-family--surt-text);
	font-size: 16px;
	line-height: 1.8;
}

.dgp-team-profile__body > :first-child {
	margin-top: 0;
}

.dgp-team-profile__body p {
	margin: 0 0 29px;
}

.dgp-team-profile__contact {
	display: grid;
	gap: 5px;
	margin-top: 34px;
}

.dgp-testimonials {
	position: relative;
	width: 100%;
	padding: 0;
	background: transparent;
}

.dgp-testimonials__track {
	display: block;
	position: relative;
}

.dgp-testimonials__viewport {
	overflow: hidden;
}

.dgp-testimonials.is-carousel .dgp-testimonial.is-incoming {
	position: absolute;
	inset: 0;
	width: 100%;
}

.dgp-testimonial {
	position: relative;
	display: flex;
	height: 328px;
	min-height: 328px;
	margin: 0;
	padding: 30px 50px;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	background: transparent;
	text-align: center;
}

.dgp-testimonial[hidden] {
	display: none;
}

.dgp-testimonial__content::before,
.dgp-testimonial__content::after {
	position: absolute;
	width: 36px;
	height: 36px;
	background: #cdcdcd;
	-webkit-mask: url("assets/images/quote-left.svg") center / contain no-repeat;
	mask: url("assets/images/quote-left.svg") center / contain no-repeat;
	content: "";
}

.dgp-testimonial__content::before {
	top: 0;
	left: -56px;
}

.dgp-testimonial__content::after {
	right: -56px;
	bottom: 0;
	transform: rotate(180deg);
}

.dgp-testimonial blockquote {
	margin: 0;
	font-size: 20.8px;
	font-style: italic;
	line-height: 1.6;
}

.dgp-testimonial blockquote > :first-child {
	margin-top: 0;
}

.dgp-testimonial blockquote p {
	margin: 0;
	font-size: 16px;
	line-height: 28.8px;
}

.dgp-testimonial__content {
	position: relative;
	margin: 0 56px 5px;
}

.dgp-testimonial__title {
	margin: 0 0 25px;
	font-size: 18px;
	font-style: italic;
	line-height: 29px;
}

.dgp-testimonial figcaption {
	margin-top: 0;
	font-family: var(--wp--preset--font-family--surt-text);
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
}

.dgp-testimonial__client,
.dgp-testimonial__company {
	margin-bottom: 5px;
}

.dgp-testimonials__control {
	position: absolute;
	top: 50%;
	display: grid;
	width: 48px;
	height: 60px;
	padding: 0;
	place-items: center;
	transform: translateY(-50%);
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #9d9d9d;
	cursor: pointer;
	font-size: 46px;
	line-height: 1;
}

.dgp-testimonials__control:hover,
.dgp-testimonials__control:focus-visible {
	background: transparent;
	color: var(--wp--preset--color--gold-dark);
}

.dgp-testimonials__control--previous {
	left: 10px;
}

.dgp-testimonials__control--next {
	right: 10px;
}

.dgp-testimonial__client,
.dgp-testimonial__company,
.dgp-testimonial__website {
	display: block;
}

.dgp-section.has-testimonials {
	display: grid;
	align-items: center;
	min-height: 484px;
	padding-top: 64px;
	padding-bottom: 64px;
}

.dgp-back-to-content {
	display: grid;
	height: 0;
	min-height: 0;
	place-items: start center;
	position: relative;
	z-index: 2;
	background: var(--wp--preset--color--white);
}

.dgp-back-to-content a {
	display: inline-grid;
	width: 54px;
	height: 54px;
	place-items: center;
	border: 2px solid #d2d2d2;
	border-radius: 50%;
	color: #b5b5b5;
	position: relative;
	top: -60px;
	transition: border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.dgp-back-to-content a:hover,
.dgp-back-to-content a:focus-visible {
	border-color: var(--wp--preset--color--gold-dark);
	color: var(--wp--preset--color--gold-dark);
	transform: translateY(-3px);
}

.dgp-back-to-content svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.dgp-client-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1px;
	background: var(--wp--preset--color--line);
	border: 1px solid var(--wp--preset--color--line);
}

.dgp-client-grid > * {
	display: grid;
	place-items: center;
	min-height: 120px;
	margin: 0;
	padding: 24px;
	background: var(--wp--preset--color--white);
	text-align: center;
	transition: background-color 240ms ease, box-shadow 320ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dgp-client-grid > *:hover,
.dgp-client-grid > *:focus-within {
	position: relative;
	z-index: 1;
	background: var(--wp--preset--color--paper);
	box-shadow: 0 12px 30px rgba(39, 40, 43, 0.12);
	transform: translateY(-3px);
}

.dgp-accordion details,
.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.dgp-accordion.is-layout-flow > details,
.dgp-tabs-as-details.is-layout-flow > details {
	margin-block-start: 0 !important;
}

.dgp-accordion details:first-child,
.dgp-tabs-as-details details:first-child {
	border-top: 1px solid var(--wp--preset--color--line);
}

.dgp-accordion .dgp-details__content,
.dgp-tabs-as-details .dgp-details__content {
	padding: 0 48px 42px 0;
	font-size: 16px;
	line-height: 1.8;
	overflow: hidden;
}

.dgp-accordion .dgp-details__content > :first-child,
.dgp-tabs-as-details .dgp-details__content > :first-child {
	margin-top: 0;
}

.dgp-accordion .dgp-details__content > :last-child,
.dgp-tabs-as-details .dgp-details__content > :last-child {
	margin-bottom: 0;
}

.dgp-accordion details.is-opening .dgp-details__content,
.dgp-tabs-as-details details.is-opening .dgp-details__content {
	animation: dgp-accordion-content-in 420ms ease both;
}

.dgp-accordion details.is-closing .dgp-details__content,
.dgp-tabs-as-details details.is-closing .dgp-details__content {
	animation: dgp-accordion-content-out 300ms ease both;
}

@keyframes dgp-accordion-content-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes dgp-accordion-content-out {
	from { opacity: 1; transform: translateY(0); }
	to { opacity: 0; transform: translateY(-8px); }
}

body.page-id-13105 .wp-block-post-content > .dgp-section:nth-child(-n+2) > .dgp-section__inner {
	padding: 30px;
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
}

body.page-id-13105 .wp-block-post-content > .dgp-section:first-child {
	padding-top: 30px;
}

body.page-id-13105 .wp-block-post-content > .dgp-section:nth-child(2),
body.page-id-13105 .wp-block-post-content > .dgp-section:nth-child(3) {
	padding-top: 30px;
}

body.page-id-13105 .wp-block-post-content > .dgp-section:nth-child(3) {
	padding-bottom: 30px;
}

body.page-id-13105 .wp-block-post-content > .dgp-section:nth-child(-n+2) :where(h1, h2, h3, p) {
	color: inherit;
}

body.page-id-12710 .wp-block-post-content > .dgp-section:first-child {
	padding-top: 90px;
	padding-bottom: 70px;
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
}

body.page-id-12710 .wp-block-post-content > .dgp-section:first-child :where(h1, h2, h3, p) {
	color: inherit;
}

.dgp-query-header {
	padding: clamp(110px, 12vw, 170px) var(--dgp-gutter) clamp(55px, 7vw, 90px);
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--white);
}

.dgp-query-header > * {
	width: min(var(--dgp-container), 100%);
	margin-right: auto;
	margin-left: auto;
	color: inherit;
}

.dgp-query-loop {
	padding: clamp(60px, 8vw, 100px) var(--dgp-gutter);
}

.dgp-query-loop .wp-block-post-template {
	gap: 36px;
}

.dgp-query-loop .wp-block-post {
	padding-bottom: 30px;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.dgp-post-shell {
	padding: clamp(60px, 8vw, 110px) var(--dgp-gutter);
}

.dgp-post-shell > * {
	width: min(760px, 100%);
	margin-right: auto;
	margin-left: auto;
}

.dgp-post-meta {
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.dgp-site-footer {
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--footer-text);
	font-size: 15px;
	line-height: 1.65;
}

.dgp-site-footer a {
	color: var(--wp--preset--color--white);
}

.dgp-site-footer a:hover,
.dgp-site-footer a:focus-visible {
	color: var(--wp--preset--color--gold);
}

.dgp-site-footer__main,
.dgp-site-footer__bottom {
	width: min(var(--dgp-container), calc(100% - (2 * var(--dgp-gutter))));
	margin: 0 auto;
}

.dgp-site-footer__main {
	display: grid;
	grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.45fr);
	gap: clamp(64px, 8vw, 120px);
	padding: clamp(68px, 7vw, 94px) 0 clamp(58px, 6vw, 82px);
}

.dgp-site-footer__brand-panel {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}

.dgp-site-footer__brand-panel .dgp-brand {
	max-width: 236px;
	min-height: 0;
	margin: -9px 0 28px;
}

.dgp-site-footer__brand-panel .dgp-brand img {
	max-width: 236px;
	max-height: 88px;
}

.dgp-site-footer__tagline {
	max-width: 330px;
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: var(--dgp-type-lead);
	line-height: 1.45;
}

.dgp-site-footer__social {
	margin-top: auto;
	padding-top: 48px;
}

.dgp-site-footer__eyebrow,
.dgp-site-footer__heading {
	margin: 0 0 22px;
	color: var(--wp--preset--color--gold);
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: var(--dgp-type-label);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.dgp-site-footer__columns {
	display: grid;
	grid-template-columns: repeat(var(--dgp-footer-columns, 2), minmax(0, 1fr));
	gap: clamp(42px, 6vw, 82px);
}

.dgp-site-footer__column {
	position: relative;
}

.dgp-site-footer__heading {
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.dgp-site-footer .widget {
	margin: 0;
}

.dgp-site-footer .widget-title {
	margin: 0 0 18px;
	color: var(--wp--preset--color--white);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
}

.dgp-site-footer :where(ul, ol) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dgp-site-footer li + li {
	margin-top: 10px;
}

.dgp-site-footer p {
	margin-top: 0;
}

.dgp-site-footer img {
	max-height: 88px;
	width: auto;
}

.dgp-site-footer .dgp-logo--dark {
	display: none;
}

.dgp-site-footer .dgp-logo--light {
	display: block;
}

.dgp-site-footer__bottom-wrap {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.dgp-site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
	padding: 18px 0;
	font-size: 12px;
}

.dgp-site-footer__copyright {
	margin: 0;
}

.dgp-footer-menu,
.dgp-social-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dgp-footer-menu a {
	text-decoration: none;
}

.dgp-social-links {
	gap: 10px;
}

.dgp-social-links li + li {
	margin-top: 0;
}

.dgp-social-links a {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	color: var(--wp--preset--color--white);
	text-decoration: none;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.dgp-social-links a:hover,
.dgp-social-links a:focus-visible {
	border-color: var(--wp--preset--color--gold);
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--charcoal);
	transform: translateY(-3px);
}

.dgp-social-links svg {
	display: block;
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.dgp-social-links svg.is-stroked {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
}

.dgp-social-links svg.is-stroked .is-filled {
	fill: currentColor;
	stroke: none;
}

.dgp-site-footer__to-top {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: var(--dgp-type-label);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.dgp-site-footer__to-top svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	transition: transform 180ms ease;
}

.dgp-site-footer__to-top:hover svg,
.dgp-site-footer__to-top:focus-visible svg {
	transform: translateY(-3px);
}

.legal-markup {
	line-height: 1.8;
}

/* Retained Polish legal pages use the shared legal-pages.css composition. */

.dgp-legal-title {
	max-width: 18ch;
}

.legal-markup > ol > li,
.legal-markup div > ol > li {
	margin-bottom: 20px;
}

.legal-markup :where(ol, ul) :where(ol, ul) {
	margin-top: 10px;
}

.legal-markup ol > li > ol > li > ol > li {
	list-style-type: lower-alpha;
}

.dgp-about-list {
	counter-reset: dgp-about-list;
}

.dgp-about-list > ul,
.dgp-about-list > ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dgp-about-list > :where(ul, ol) > li {
	position: relative;
	padding: 20px 0 60px 25px;
	line-height: 1.8;
	counter-increment: dgp-about-list;
}

.dgp-about-list > :where(ul, ol) > li::before {
	position: absolute;
	left: 0;
	top: 16px;
	z-index: -1;
	color: var(--wp--preset--color--line);
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: 100px;
	line-height: 0.55;
	content: counter(dgp-about-list);
}

.header-underlined {
	position: relative;
	padding-bottom: 30px;
}

.header-underlined::after {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 60px;
	height: 2px;
	background: var(--wp--preset--color--line);
	content: "";
}

/* Home-page pacing and layouts reconstructed from the original Doniec Górecki & Partnerzy composition. */
body.home .wp-block-post-content > .dgp-section:first-child,
body:is(.page-id-13554, .page-id-13738) .wp-block-post-content > .dgp-section:first-child {
	--dgp-section-padding-top: 150px !important;
	--dgp-section-padding-bottom: 150px !important;
}

body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(13),
body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-services-section {
	padding-bottom: 84px;
}

body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(15),
body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-billing-section {
	padding-bottom: 33px;
}

body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(3),
body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-home-cta {
	height: 442px;
	min-height: 442px;
}

body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(4) {
	padding-bottom: 180px;
}

body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-team-section {
	height: 998px;
	min-height: 998px;
}

body.page-id-13738 .wp-block-post-content > .dgp-section:nth-of-type(4) {
	padding-bottom: 227px;
}

body.page-id-13738 .wp-block-post-content > .dgp-section:nth-of-type(11) {
	height: 998px;
	min-height: 998px;
}

body.page-id-13738 .wp-block-post-content > .dgp-section:nth-of-type(13) {
	padding-bottom: 70px;
}

/* Layout matching remains page-specific; type roles are shared site-wide. */

body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(11),
body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-team-section,
body.page-id-10008 .wp-block-post-content > .dgp-section:nth-child(3) {
	--dgp-section-padding-top: 80px !important;
	--dgp-section-padding-bottom: 80px !important;
}

.dgp-team-card .dgp-team-card__position {
	margin: 5px 0 0;
}

.dgp-team-grid.dgp-reveal {
	transform: translateY(200px);
}

.dgp-team-grid.dgp-reveal.is-visible {
	transform: translateY(0);
}

@media (min-width: 600px) and (max-width: 1199px) {
	.wp-block-post-content .dgp-team-grid {
		width: min(1080px, calc(100vw - 40px));
		margin-right: auto;
		margin-left: auto;
		padding-right: 0;
		padding-left: 0;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 42px;
		row-gap: 42px;
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(11),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-team-section {
		height: auto !important;
		min-height: 0 !important;
	}
}

@media (min-width: 992px) {
	body:is(.page-id-13554, .page-id-13738, .page-id-10008) .dgp-section.has-parallax-background:not([id]) {
		display: flex;
		align-items: center;
	}

	body:is(.page-id-13554, .page-id-13738, .page-id-10008) .dgp-section.has-parallax-background:not([id]) .dgp-columns,
	body:is(.page-id-13554, .page-id-13738, .page-id-10008) .dgp-section.is-fullscreen-section:not(.has-parallax-background) .dgp-columns {
		margin-bottom: 0;
	}

	body:is(.page-id-13554, .page-id-13738, .page-id-10008) .dgp-section.has-parallax-background:not([id]) h2 {
		font-size: var(--dgp-type-display);
		line-height: 1.04;
	}

	body:is(.page-id-13554, .page-id-13738, .page-id-10008) .dgp-section.has-parallax-background:not([id]):has(h3) h2 {
		font-size: var(--dgp-type-section-title);
		line-height: 1.15;
	}

	body:is(.page-id-13554, .page-id-13738, .page-id-10008) .dgp-section.has-parallax-background:not([id]) h3 {
		margin-top: 45px;
		font-size: var(--dgp-type-body);
		font-weight: 400;
		letter-spacing: 0.02em;
		line-height: 1.3;
	}

	body:is(.page-id-13554, .page-id-13738) .wp-block-post-content > .dgp-section:first-child {
		--dgp-section-padding-top: 150px !important;
		--dgp-section-padding-bottom: 120px !important;
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(10),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-team-intro,
	body.page-id-10008 .wp-block-post-content > .dgp-section:nth-child(2) {
		--dgp-section-padding-top: 120px !important;
		--dgp-section-padding-bottom: 90px !important;
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:is(:first-of-type, :nth-of-type(10)) .dgp-columns,
	body.page-id-13554 .wp-block-post-content > .dgp-section:is(.dgp-home-intro, .dgp-team-intro) .dgp-columns,
	body.page-id-10008 .wp-block-post-content > .dgp-section:nth-child(2) .dgp-columns {
		gap: 30px;
		align-items: flex-start;
		margin-bottom: 0;
	}

	body:is(.page-id-13554, .page-id-13738) .wp-block-post-content > .dgp-section:first-child .dgp-column:first-child {
		flex-basis: calc(41.666667% - 17.5px) !important;
	}

	body:is(.page-id-13554, .page-id-13738) .wp-block-post-content > .dgp-section:first-child .dgp-column:last-child {
		flex-basis: calc(58.333333% - 12.5px) !important;
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:is(:first-of-type, :nth-of-type(10)) p,
	body.page-id-13554 .wp-block-post-content > .dgp-section:is(.dgp-home-intro, .dgp-team-intro) p,
	body.page-id-10008 .wp-block-post-content > .dgp-section:nth-child(2) p {
		font-size: var(--dgp-type-lead);
		line-height: 1.48;
		margin: 0 0 1.5em;
	}

	body:is(.page-id-13554, .page-id-13738) .wp-block-post-content > .dgp-section:first-child h2 {
		font-size: var(--dgp-type-section-title);
		line-height: 1.15;
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(10) h2,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-team-intro h2,
	body.page-id-10008 .wp-block-post-content > .dgp-section:nth-child(2) h2 {
		max-width: 500px;
	}

	.dgp-team-grid {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
		padding-right: 1px;
		padding-left: 13px;
		column-gap: 42px;
		row-gap: 0;
	}
}

@media (min-width: 768px) {
	.dgp-team-grid {
		margin-bottom: -20px;
	}

	.dgp-team-card {
		align-self: start;
	}

	.dgp-team-card:nth-child(n+5) {
		padding-bottom: 42px;
	}
}

@media (min-width: 992px) {
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(5),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-availability,
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(6),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-engagement,
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(7),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-transparency {
		height: 640px;
		min-height: 640px;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) > .dgp-section__inner,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city > .dgp-section__inner,
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) > .dgp-section__inner > .dgp-columns,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city > .dgp-section__inner > .dgp-columns {
		height: 100%;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) > .dgp-section__inner > .dgp-columns,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city > .dgp-section__inner > .dgp-columns {
		align-items: stretch;
		flex-direction: row;
		gap: 0;
		margin-bottom: 0;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) .dgp-column,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city .dgp-column {
		align-self: stretch;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(5) .dgp-column:nth-child(3),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-availability .dgp-column:nth-child(3),
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(6) .dgp-column:nth-child(2),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-engagement .dgp-column:nth-child(2),
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(7) .dgp-column:nth-child(3),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-transparency .dgp-column:nth-child(3) {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 0 100px 0 10px;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(5) .dgp-column:first-child,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-availability .dgp-column:first-child,
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(6) .dgp-column:last-child,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-engagement .dgp-column:last-child,
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(7) .dgp-column:first-child,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-transparency .dgp-column:first-child,
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) .dgp-content-image,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city .dgp-content-image,
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) .dgp-content-image img,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city .dgp-content-image img {
		height: 100%;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) .dgp-content-image,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city .dgp-content-image {
		margin: 0;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) .dgp-content-image img,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city .dgp-content-image img {
		object-fit: cover;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(5) h2,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-availability h2 {
		max-width: 400px;
		line-height: 1.15;
		margin-bottom: 30px;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(6) h2,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-engagement h2,
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(7) h2,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-transparency h2 {
		max-width: none;
		line-height: 1.15;
		margin-bottom: 30px;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) p,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city p {
		margin: 0 0 29px;
		font-size: var(--dgp-type-lead);
		line-height: 1.55;
	}

	body.page-id-9874 .wp-block-post-content > .dgp-section:nth-child(n+5):nth-child(-n+7) p {
		font-size: 14px;
	}

	body.page-id-9874 .wp-block-post-content > .dgp-section:nth-child(5) .dgp-column:nth-child(3),
	body.page-id-9874 .wp-block-post-content > .dgp-section:nth-child(6) .dgp-column:nth-child(2),
	body.page-id-9874 .wp-block-post-content > .dgp-section:nth-child(7) .dgp-column:nth-child(3) {
		padding-right: 30px;
		padding-left: 15px;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) .dgp-column.dgp-reveal,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city .dgp-column.dgp-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) h2.dgp-reveal,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city h2.dgp-reveal {
		opacity: 0;
		transform: none;
		transition: opacity 1s ease 300ms;
	}

	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(n+5):nth-of-type(-n+7) h2.dgp-reveal.is-visible,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city h2.dgp-reveal.is-visible {
		opacity: 1;
	}
}

@media (min-width: 992px) {
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(5),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-availability,
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(6),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-engagement,
	body:is(.page-id-9874, .page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(7),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-transparency {
		height: max(640px, 50vw);
		min-height: max(640px, 50vw);
	}

	body.page-id-13738 .wp-block-post-content > .dgp-section:nth-of-type(8) {
		min-height: 455px;
	}

	body.page-id-13738 .wp-block-post-content > .dgp-section:nth-of-type(8) .dgp-testimonial {
		height: 299px;
		min-height: 299px;
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(13) > .dgp-section__inner > .dgp-columns > .dgp-column > .dgp-columns + .dgp-columns,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-services-section > .dgp-section__inner > .dgp-columns > .dgp-column > .dgp-columns + .dgp-columns {
		margin-top: 63px;
	}

	.dgp-tabs-as-details {
		min-height: 247px;
		height: auto;
		overflow: visible;
		border-top: 0;
	}

	.dgp-tabs__list {
		display: flex;
		align-items: end;
		gap: clamp(28px, 4vw, 54px);
		border-bottom: 1px solid var(--wp--preset--color--line);
	}

	.dgp-tabs__tab {
		position: relative;
		min-height: 52px;
		padding: 0 0 18px;
		border: 0;
		background: transparent;
		color: var(--wp--preset--color--charcoal);
		cursor: pointer;
		font-family: var(--wp--preset--font-family--surt-display);
		font-size: 18px;
		font-weight: 400;
		line-height: 1.25;
		white-space: nowrap;
		transition: color 320ms cubic-bezier(0.19, 1, 0.22, 1);
	}

	.dgp-tabs__tab::after {
		position: absolute;
		right: 0;
		bottom: -1px;
		left: 0;
		height: 2px;
		background: currentColor;
		content: "";
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 420ms cubic-bezier(0.19, 1, 0.22, 1);
	}

	.dgp-tabs__tab:hover,
	.dgp-tabs__tab:focus-visible,
	.dgp-tabs__tab.is-active {
		background: transparent;
		color: #949494;
	}

	.dgp-tabs__tab.is-active::after {
		transform: scaleX(1);
	}

	.dgp-tabs-as-details > details {
		border: 0;
		transform: translateY(-20px);
	}

	.dgp-tabs-as-details > .dgp-tabs__list + details {
		margin-block-start: 0 !important;
	}

	.dgp-tabs-as-details > details > summary {
		display: none;
	}

	.dgp-tabs-as-details .dgp-details__content {
		min-height: 194px;
		padding: 36px 0 20px;
		overflow: visible;
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(15) .dgp-column > h2:first-child,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-billing-section .dgp-column > h2:first-child {
		position: relative;
		font-size: var(--dgp-type-section-title);
		line-height: 1.15;
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(15) .dgp-column > h2:first-child::after,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-billing-section .dgp-column > h2:first-child::after {
		position: absolute;
		top: 61px;
		left: 0;
		width: 60px;
		height: 2px;
		background: var(--wp--preset--color--line);
		content: "";
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(15) .dgp-column > h3:nth-child(2),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-billing-section .dgp-column > h3:nth-child(2) {
		max-width: 700px;
		margin-top: 59px;
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(15) .dgp-tabs-as-details,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-billing-section .dgp-tabs-as-details {
		margin-top: 91px;
	}

	.dgp-tabs-as-details .dgp-service-card {
		grid-template-columns: 135px minmax(0, 1fr);
	}

	.dgp-tabs-as-details .dgp-service-card > .dgp-service-card__icon {
		width: 135px;
		padding-left: 0;
	}

	/* The source layout treats the dark contact panel as the whole right half
	 * of the viewport. The text column itself is shorter, so paint that half on
	 * the section overlay instead of relying on the column's content height. */
	:is(#kontaktt, #kontaktteng) > .dgp-section__overlay {
		background: linear-gradient(
			to right,
			rgba(0, 0, 0, 0.1) 0 50%,
			#27282b 50% 100%
		);
		opacity: 1;
	}

	:is(#kontaktt, #kontaktteng) > .dgp-section__inner.is-full > .dgp-columns {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
	}

	:is(#kontaktt, #kontaktteng) > .dgp-section__inner.is-full > .dgp-columns > .dgp-column:nth-child(1) {
		grid-column: 1;
		width: auto;
		padding: 30px;
		position: relative;
		top: 15px;
	}

	:is(#kontaktt, #kontaktteng) > .dgp-section__inner.is-full > .dgp-columns > .dgp-column:nth-child(1) > :where(h1, h2):first-child {
		font-size: var(--dgp-type-section-title);
		line-height: 1.15;
	}

	:is(#kontaktt, #kontaktteng) > .dgp-section__inner.is-full > .dgp-columns > .dgp-column:nth-child(1) > p:nth-child(2) {
		margin-top: 60px;
		font-size: var(--dgp-type-lead);
		line-height: 1.48;
	}

	:is(#kontaktt, #kontaktteng) > .dgp-section__inner.is-full > .dgp-columns > .dgp-column:nth-child(2) {
		display: none;
	}

	:is(#kontaktt, #kontaktteng) > .dgp-section__inner.is-full > .dgp-columns > .dgp-column:nth-child(3) {
		grid-column: 2;
		width: auto;
		padding: 30px clamp(50px, 5.5vw, 70px) 30px clamp(70px, 10.6vw, 136px);
		position: relative;
		top: 39px;
	}

	:is(#kontaktt, #kontaktteng) > .dgp-section__inner.is-full > .dgp-columns > .dgp-column:nth-child(3) > p:first-child,
	:is(#kontaktt, #kontaktteng) > .dgp-section__inner.is-full > .dgp-columns > .dgp-column:nth-child(3) > p:last-child {
		white-space: pre-line;
	}

	:is(#kontaktt, #kontaktteng) > .dgp-section__inner.is-full > .dgp-columns > .dgp-column:nth-child(3) > p:first-child {
		margin-bottom: 11px;
	}

	:is(#kontaktt, #kontaktteng) > .dgp-section__inner.is-full > .dgp-columns > .dgp-column:nth-child(3) > :nth-child(-n + 9) {
		position: relative;
		top: -29px;
	}

	:is(#kontaktt, #kontaktteng) .dgp-column:nth-child(3) > a[href^="https://goo.gl/maps"] {
		display: block;
		margin: 0;
	}

	:is(#kontaktt, #kontaktteng) .dgp-column:nth-child(3) > a[href^="https://goo.gl/maps"]:nth-of-type(2) {
		margin-bottom: 28px;
	}

	:is(#kontaktt, #kontaktteng) .dgp-column:nth-child(3) > p:has(+ a[href^="tel:"]),
	:is(#kontaktt, #kontaktteng) .dgp-column:nth-child(3) > p:has(+ a[href^="mailto:"]) {
		display: inline;
	}

	:is(#kontaktt, #kontaktteng) .dgp-column:nth-child(3) > a[href^="tel:"],
	:is(#kontaktt, #kontaktteng) .dgp-column:nth-child(3) > a[href^="mailto:"] {
		display: inline;
	}

	:is(#kontaktt, #kontaktteng) .dgp-column:nth-child(3) > a[href^="tel:"]::after,
	:is(#kontaktt, #kontaktteng) .dgp-column:nth-child(3) > a[href^="mailto:"]::after {
		display: block;
		height: 0;
		content: "";
	}
}

.dgp-block-editor-placeholder,
.dgp-section-editor {
	padding: 24px;
	border: 1px dashed #8c8f94;
}

@media (min-width: 1700px) {
	:root {
		--dgp-container: 1398px;
	}
}

@media (max-width: 991px) {
	:root {
		--dgp-header-height: var(--dgp-header-height-mobile);
	}

	.admin-bar .dgp-site-header {
		top: 46px;
	}

	.dgp-site-header,
	.dgp-site-header.is-overlay,
	.dgp-site-header.is-overlay.has-scrolled {
		position: fixed;
		left: 0;
		right: 0;
		background: var(--wp--preset--color--charcoal);
		color: var(--wp--preset--color--white);
	}

	/*
	 * The mobile header is fixed. Pages whose metadata intentionally disables
	 * the generated page hero therefore need one header-height of flow space.
	 * A rendered page hero is the first child of main on all other templates,
	 * so this selector does not add a second offset to hero-led pages.
	 */
	#main-content > .dgp-content-start:first-child {
		padding-top: var(--dgp-header-height-mobile);
	}

	.dgp-site-header.menu-is-open {
		background: transparent;
		color: var(--wp--preset--color--charcoal);
		border-color: transparent;
	}

	.dgp-site-header .dgp-logo--dark,
	.dgp-site-header.is-overlay:not(.has-scrolled) .dgp-logo--dark {
		display: none;
	}

	.dgp-site-header .dgp-logo--light,
	.dgp-site-header.is-overlay:not(.has-scrolled) .dgp-logo--light {
		display: block;
	}

	.dgp-site-header.menu-is-open .dgp-brand .dgp-logo--light {
		display: none;
	}

	.dgp-site-header.menu-is-open .dgp-brand .dgp-logo--dark {
		display: block;
	}

	.dgp-site-header__inner {
		width: calc(100% - 40px);
		min-height: var(--dgp-header-height-mobile);
	}

	.dgp-brand,
	.dgp-brand img {
		max-width: 166px;
		max-height: 40px;
	}

	.dgp-menu-toggle {
		display: inline-flex;
	}

	.dgp-menu-panel {
		position: fixed;
		inset: 0;
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: space-between;
		overflow: auto;
		padding: calc(var(--dgp-header-height-mobile) + 44px) 30px 34px;
		transform: translateY(-100%);
		background: var(--wp--preset--color--white);
		color: var(--wp--preset--color--charcoal);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: transform 450ms cubic-bezier(0.645, 0.045, 0.355, 1), opacity 300ms ease, visibility 0s linear 450ms;
	}

	.admin-bar .dgp-menu-panel {
		padding-top: calc(var(--dgp-header-height-mobile) + 78px);
	}

	.dgp-menu-panel.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition-delay: 0s;
	}

	.dgp-primary-menu > ul,
	.dgp-primary-menu .menu,
	.dgp-primary-menu > .menu > ul {
		display: block;
	}

	.dgp-primary-menu a {
		min-height: 0;
		padding: 12px 0;
		font-size: clamp(20px, 5.8vw, 32px);
		line-height: 1.2;
	}

	.dgp-primary-menu .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 8px 20px;
		background: transparent;
		box-shadow: none;
	}

	.dgp-primary-menu .sub-menu a {
		min-height: 0;
		padding: 7px 0;
		color: var(--wp--preset--color--charcoal);
		font-size: 15px;
	}

	.dgp-header-socials {
		display: block;
		padding-top: 32px;
	}

	.dgp-page-hero.is-fancy {
		padding-top: calc(var(--dgp-header-height-mobile) + 50px);
	}

	.dgp-page-hero__background {
		background-image: var(--dgp-hero-mobile-image, var(--dgp-hero-image, none));
	}

	.dgp-page-hero.is-standard {
		padding-top: calc(var(--dgp-header-height-mobile) + 70px);
	}

	.dgp-columns {
		flex-direction: column;
	}

	.dgp-media-split {
		grid-template-columns: 1fr;
	}

	.dgp-columns > :where(.dgp-column, .wp-block-column) {
		flex-basis: auto !important;
		width: 100%;
	}

	.dgp-media-split.is-reversed .dgp-media-split__media {
		order: 0;
	}

	.dgp-media-split__media {
		min-height: 420px;
	}

	.dgp-tabs-as-details summary,
	.dgp-details > summary {
		padding-right: 38px;
	}

	.dgp-accordion .dgp-details__content,
	.dgp-tabs-as-details .dgp-details__content {
		padding-right: 0;
		padding-bottom: 34px;
	}

	.dgp-tabs-as-details {
		height: auto;
		overflow: visible;
	}

	.dgp-tabs-as-details > details {
		transform: none;
	}

	body.page-id-13105 .wp-block-post-content > .dgp-section:nth-child(-n+2) > .dgp-section__inner {
		padding: 24px 20px;
	}

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

	.dgp-site-footer__main {
		grid-template-columns: 1fr;
		gap: 54px;
	}

	.dgp-site-footer__brand-panel {
		display: grid;
		grid-template-columns: minmax(230px, 0.85fr) minmax(250px, 1.15fr);
		column-gap: 48px;
	}

	.dgp-site-footer__brand-panel .dgp-brand {
		grid-row: span 2;
	}

	.dgp-site-footer__social {
		margin-top: 0;
		padding-top: 28px;
	}
}

@media (max-width: 767px) {
	.dgp-section {
		padding-top: var(--dgp-section-padding-top-mobile, min(var(--dgp-section-padding-top, 70px), 90px));
		padding-bottom: var(--dgp-section-padding-bottom-mobile, min(var(--dgp-section-padding-bottom, 70px), 90px));
	}

	.dgp-practice-card {
		grid-template-columns: 1fr;
	}

	.dgp-service-card {
		display: block;
	}

	.dgp-section.has-service-cards {
		padding-top: 70px;
		padding-bottom: 90px;
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(3),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-home-cta,
	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(4),
	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(11),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-team-section,
	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(13),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-services-section,
	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(15),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-billing-section {
		height: auto;
		min-height: 0;
		padding-bottom: 90px;
	}

	body:is(.page-id-13738) .wp-block-post-content > .dgp-section:nth-of-type(13) > .dgp-section__inner > .dgp-columns > .dgp-column > .dgp-columns + .dgp-columns,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-services-section > .dgp-section__inner > .dgp-columns > .dgp-column > .dgp-columns + .dgp-columns {
		margin-top: 20px;
	}

	:is(#kontaktt, #kontaktteng) > .dgp-section__inner.is-full > .dgp-columns > .dgp-column:nth-child(2) {
		display: none;
	}

	.dgp-service-card > .dgp-service-card__icon {
		display: block;
		width: 100%;
		min-height: 0;
		padding: 0 0 20px;
	}

	.dgp-service-card > .dgp-service-card__title {
		margin: 0 0 14px;
		padding-top: 0;
	}

	.dgp-service-card > strong {
		margin-bottom: 8px;
	}

	.dgp-service-card + .dgp-service-card {
		margin-top: 64px;
	}

	.dgp-team-grid,
	.dgp-testimonials__track {
		grid-template-columns: 1fr;
	}

	.dgp-site-footer__main {
		gap: 50px;
		padding: 60px 0 52px;
	}

	.dgp-site-footer__brand-panel {
		display: flex;
	}

	.dgp-site-footer__brand-panel .dgp-brand {
		margin-bottom: 24px;
	}

	.dgp-site-footer__tagline {
		font-size: var(--dgp-type-body);
	}

	.dgp-site-footer__social {
		margin-top: 0;
		padding-top: 34px;
	}

	.dgp-site-footer__columns {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.dgp-testimonials {
		padding: 0 28px;
	}

	.dgp-testimonial {
		height: auto;
		min-height: 0;
		padding: 26px 20px;
		overflow: visible;
	}

	.dgp-testimonial blockquote {
		font-size: 17px;
		line-height: 1.55;
	}

	.dgp-testimonial__content {
		margin: 0 0 5px;
	}

	.dgp-testimonial__content::before,
	.dgp-testimonial__content::after {
		width: 20px;
		height: 20px;
	}

	.dgp-testimonial__content::before {
		left: -25px;
	}

	.dgp-testimonial__content::after {
		right: -25px;
	}

	.dgp-section.has-testimonials {
		min-height: 0;
		padding-top: 70px;
		padding-bottom: 70px;
	}

	.dgp-testimonials__control {
		width: 32px;
		height: 46px;
		font-size: 36px;
	}

	.dgp-testimonials__control--previous {
		left: 5px;
	}

	.dgp-testimonials__control--next {
		right: 5px;
	}

	.dgp-team-card__image {
		aspect-ratio: 1;
	}

	.dgp-site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding: 24px 0 28px;
	}

	.dgp-about-list > :where(ul, ol) > li {
		padding-right: 0;
	}
}

@media (max-width: 480px) {
	.dgp-team-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.dgp-motion-ready .dgp-reveal,
	.dgp-motion-ready .dgp-reveal.is-visible {
		opacity: 1 !important;
		transform: none !important;
	}

	.dgp-section.has-parallax-background .dgp-section__background {
		height: 100%;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media (max-width: 991px) {
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city {
		height: auto;
		min-height: 0;
	}

	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-availability .dgp-column:nth-child(2),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-transparency .dgp-column:nth-child(2),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-engagement .dgp-column:first-child {
		display: none;
	}

	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-engagement .dgp-column:last-child {
		order: -1;
	}

	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-availability .dgp-column:nth-child(3),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-engagement .dgp-column:nth-child(2),
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city-transparency .dgp-column:nth-child(3) {
		padding: clamp(36px, 6vw, 58px) clamp(20px, 5vw, 44px);
	}

	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city h2 {
		margin-bottom: 24px;
		font-size: var(--dgp-type-section-title);
		line-height: 1.15;
	}

	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city p {
		margin-bottom: 24px;
		font-size: var(--dgp-type-body);
		line-height: 1.65;
	}

	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city .dgp-content-image,
	body.page-id-13554 .wp-block-post-content > .dgp-section.dgp-city .dgp-content-image img {
		width: 100%;
		margin: 0;
		aspect-ratio: 1;
		object-fit: cover;
	}

	.dgp-section.has-parallax-background .dgp-section__background {
		height: 100%;
	}
	.dgp-section.is-fullscreen-section[id] {
		scroll-margin-top: 0;
	}
}

/* Featured managing partners: a focused two-person bridge from the business
 * introduction to the detailed services. Class-based rules keep the layout
 * editable without coupling it to a fragile page-section index. */
body.page-id-13554 .wp-block-post-content > .dgp-business-services-intro {
	--dgp-section-padding-top: clamp(92px, 9vw, 132px) !important;
	--dgp-section-padding-bottom: clamp(84px, 8vw, 116px) !important;
}

.dgp-featured-partners {
	background: #1f2022;
}

.dgp-featured-partners > .dgp-section__inner.is-full {
	overflow: hidden;
}

.dgp-featured-partners__grid {
	gap: 1px !important;
	flex-direction: row;
	flex-wrap: nowrap !important;
	align-items: stretch;
	background: rgba(255, 255, 255, 0.16);
}

.dgp-featured-partners__grid > .dgp-featured-partner {
	position: relative;
	flex-basis: 50% !important;
	width: 50%;
	min-width: 0;
	overflow: hidden;
	isolation: isolate;
	background: var(--wp--preset--color--charcoal);
}

.dgp-featured-partner__media {
	position: relative;
	margin: 0;
	aspect-ratio: 1;
	overflow: hidden;
}

.dgp-featured-partner__media :where(figure, img) {
	width: 100%;
	height: 100%;
	margin: 0;
}

.dgp-featured-partner__media img {
	object-fit: contain;
	object-position: center;
}

.dgp-featured-partner__media .dgp-image-hover__primary,
.dgp-featured-partner__media .dgp-image-hover__alternate {
	transition-duration: 520ms, 760ms, 520ms;
}

.dgp-featured-partner__media .dgp-image-hover__alternate {
	pointer-events: none;
}

.dgp-featured-partner__caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	margin: 0;
	padding: clamp(58px, 8vw, 104px) clamp(24px, 4vw, 58px) clamp(24px, 3.5vw, 46px);
	background: linear-gradient(to top, rgba(20, 21, 23, 0.94), rgba(20, 21, 23, 0));
	color: var(--wp--preset--color--white);
	text-align: left;
}

.dgp-featured-partner__name {
	margin: 0 0 6px;
	color: inherit;
	font-family: var(--wp--preset--font-family--surt-display);
	font-size: clamp(24px, 2.3vw, 34px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.012em;
}

.dgp-featured-partner__name a {
	color: inherit;
	text-decoration: none;
}

.dgp-featured-partner__name a::after {
	position: absolute;
	inset: 0;
	z-index: 3;
	content: "";
}

.dgp-featured-partner__role {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: var(--dgp-type-label);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

.dgp-featured-partner::after {
	position: absolute;
	right: clamp(24px, 4vw, 58px);
	bottom: clamp(28px, 3.6vw, 48px);
	z-index: 2;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	color: var(--wp--preset--color--white);
	content: "→";
	font-family: Arial, sans-serif;
	font-size: 17px;
	line-height: 27px;
	text-align: center;
	transition: transform 240ms ease, background-color 240ms ease, color 240ms ease;
}

.dgp-featured-partner:hover::after,
.dgp-featured-partner:focus-within::after {
	transform: translateX(4px);
	background: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--charcoal);
}

.dgp-featured-partner:focus-within {
	box-shadow: inset 0 0 0 3px var(--wp--preset--color--gold);
}

.dgp-featured-partner:focus-within .dgp-featured-partner__name a {
	outline: none;
}

body.page-id-13554 .wp-block-post-content > .dgp-business-services-cta {
	--dgp-section-padding-top: clamp(46px, 5vw, 68px) !important;
	--dgp-section-padding-bottom: clamp(46px, 5vw, 68px) !important;
	height: auto !important;
	min-height: 0 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.dgp-business-services-cta .dgp-columns {
	gap: clamp(36px, 7vw, 96px);
}

.dgp-business-services-cta .dgp-content-image {
	margin: 0;
}

.dgp-business-services-cta .dgp-content-image img {
	width: min(100%, 330px);
	height: auto;
}

.dgp-business-services-cta .dgp-buttons {
	justify-content: flex-end;
}

@media (max-width: 767px) {
	body.page-id-13554 .wp-block-post-content > .dgp-business-services-intro {
		--dgp-section-padding-top: 76px !important;
		--dgp-section-padding-bottom: 70px !important;
	}

	.dgp-featured-partners__grid {
		gap: 1px !important;
		flex-direction: column;
	}

	.dgp-featured-partners__grid > .dgp-featured-partner {
		flex-basis: auto !important;
		width: 100%;
	}

	.dgp-featured-partner__media {
		aspect-ratio: 1;
	}

	.dgp-featured-partner__caption {
		padding: 64px 20px 24px;
	}

	.dgp-featured-partner::after {
		right: 20px;
		bottom: 26px;
	}

	body.page-id-13554 .wp-block-post-content > .dgp-business-services-cta {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.dgp-business-services-cta .dgp-columns {
		align-items: flex-start;
		gap: 34px;
	}

	.dgp-business-services-cta .dgp-column {
		text-align: left;
	}

	.dgp-business-services-cta .dgp-content-image img {
		width: min(80vw, 280px);
	}

	.dgp-business-services-cta .dgp-buttons {
		justify-content: flex-start;
	}
}
