/* Distrimart front-end styles. Colors, fonts and sizes come from theme.json. */

:root {
	--dm-navy: var(--wp--preset--color--navy);
	--dm-gold: var(--wp--preset--color--gold);
	--dm-gutter: 40px;
}

body {
	margin: 0;
	overflow-x: clip;
}

p {
	margin-block: 0;
}

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

[hidden] {
	display: none !important;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

:focus-visible {
	outline: 2px solid var(--dm-gold);
	outline-offset: 2px;
}

/* Layout resets: every section spans the page and manages its own width. */
.dm-main,
.dm-main .wp-block-post-content {
	max-width: none;
}

.wp-site-blocks > *,
.dm-main > *,
.wp-block-post-content > .alignfull {
	margin-block: 0;
}

.dm-section {
	position: relative;
	padding: 37px var(--dm-gutter);
}

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

.dm-plain {
	padding: 60px var(--dm-gutter);
	min-height: 40vh;
}

/* Script title overlapping its heading, as in the design. */
.dm-script {
	position: relative;
	z-index: 1;
	margin: 0 0 -53px;
	color: var(--dm-gold);
	font-family: var(--wp--preset--font-family--script);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 126px;
	white-space: nowrap;
	pointer-events: none;
}

.dm-script + .wp-block-heading {
	position: relative;
	margin-block: 0 11px;
}

:lang(ar) .dm-script {
	margin-bottom: -40px;
	line-height: 100px;
}

.dm-lede {
	max-width: 730px;
	margin-inline: auto;
}

.dm-lede--narrow {
	max-width: 575px;
}

.dm-lede--wide {
	max-width: 811px;
}

.dm-center .wp-block-buttons {
	justify-content: center;
}

.wp-block-buttons {
	margin-block-start: 29px;
}

.wp-block-button__link:hover {
	background: var(--dm-navy);
	color: #fff;
}

/* Header */
.dm-header {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 127px;
	padding-inline: var(--dm-gutter);
	box-sizing: border-box;
	background: #fff;
}

.dm-logo {
	display: block;
	line-height: 0;
}

.dm-header .custom-logo {
	max-height: 75px;
	width: auto;
}

.dm-header__menu {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	margin-inline-start: 348px;
}

.dm-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 47px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dm-menu a {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.375;
	text-decoration: none;
}

.dm-menu a:hover,
.dm-menu .current-menu-item > a {
	text-decoration: underline;
	text-decoration-color: var(--dm-gold);
	text-underline-offset: 6px;
}

.dm-header__actions {
	display: flex;
	align-items: center;
	gap: 24px;
}

.dm-header__cta {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dm-header__cta a {
	display: block;
	padding: 10px 20px;
	border-radius: 10px;
	background: var(--dm-navy);
	color: #fff;
	text-decoration: none;
}

.dm-lang {
	text-decoration: none;
	white-space: nowrap;
}

.dm-lang:hover {
	text-decoration: underline;
}

.dm-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	background: none;
	cursor: pointer;
}

.dm-header__bars,
.dm-header__bars::before,
.dm-header__bars::after {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--dm-navy);
}

.dm-header__bars {
	position: relative;
}

.dm-header__bars::before,
.dm-header__bars::after {
	content: "";
	position: absolute;
}

.dm-header__bars::before {
	top: -8px;
}

.dm-header__bars::after {
	top: 8px;
}

/* Heroes */
.dm-hero,
.dm-page-hero {
	position: relative;
	overflow: hidden;
	padding: 0 var(--dm-gutter);
}

.dm-hero {
	min-height: 593px;
}

.dm-page-hero {
	min-height: 430px;
	align-items: flex-end;
	padding-block-end: 101px;
}

/* Matches the crop set in Figma for the inner-page heroes. */
.dm-page-hero .wp-block-cover__image-background {
	object-position: 50% 44%;
}

.dm-hero::after {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-end: 40px;
	z-index: 1;
	width: 412px;
	background: url("../svg/shape-hero.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}

[dir="rtl"] .dm-hero::after {
	inset-inline: auto;
	left: 40px;
	transform: scaleX(-1);
}

.dm-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	width: 100%;
	max-width: none;
}

.dm-hero__text {
	max-width: 682px;
	color: #fff;
}

.dm-hero__text h1,
.dm-page-hero h1,
.dm-cover-center h2,
.dm-band h2 {
	margin-block: 0 3px;
	color: #fff;
}

.dm-hero__text .wp-block-button__link {
	border-color: #fff;
}

/* Tagline: script over serif */
.dm-lockup {
	position: relative;
	display: block;
	margin: 0;
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 96px;
	line-height: 1.375;
	margin-inline-end: 115px;
}

.dm-lockup__script {
	display: block;
	margin-block-end: -89px;
	color: var(--dm-gold);
	font-family: var(--wp--preset--font-family--script);
	font-size: 54px;
	line-height: 170px;
	position: relative;
	z-index: 1;
}

.dm-lockup__main {
	display: block;
}

.dm-lockup--small {
	margin-inline-end: 0;
	font-size: 58px;
	text-align: center;
}

.dm-lockup--small .dm-lockup__script {
	margin-block-end: -54px;
	font-size: 33px;
	line-height: 103px;
}

:lang(ar) .dm-lockup {
	font-size: 72px;
}

:lang(ar) .dm-lockup__script {
	margin-block-end: -40px;
	line-height: 110px;
}

:lang(ar) .dm-lockup--small {
	font-size: 44px;
}

:lang(ar) .dm-lockup--small .dm-lockup__script {
	margin-block-end: -24px;
	line-height: 70px;
}

/* Stats band */
.dm-stats {
	display: flex;
	justify-content: center;
	gap: 49px;
	padding: 19px var(--dm-gutter);
	background: var(--dm-gold);
	text-align: center;
}

.dm-stats__item {
	width: 301px;
	padding-block: 15px;
}

.dm-stats__value {
	margin-block-end: 12px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.375;
}

.dm-stats__label {
	font-size: var(--wp--preset--font-size--medium);
}

/* Brands */
.dm-brands {
	padding: 0 var(--dm-gutter);
}

.dm-brands__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 38px;
	max-width: 1235px;
	margin: 19px auto 0;
	padding: 0;
	list-style: none;
}

.dm-brands__logo img {
	display: block;
	width: auto;
	max-width: 165px;
	max-height: 136px;
}

.dm-brands__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 79px;
}

.dm-brands__tab {
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--silver);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.375;
	cursor: pointer;
}

.dm-brands__tab[aria-selected="true"] {
	color: var(--dm-navy);
}

[data-dm-tabs] .dm-brands__row {
	justify-content: center;
	gap: 58px;
	margin-block-start: 13px;
	min-height: 147px;
}

/* Text and image sections */
.dm-split {
	align-items: center;
	gap: 60px;
	max-width: 1280px;
	margin-inline: auto;
	margin-block: 0;
}

.dm-split > .wp-block-column {
	min-width: 0;
}

/* Photo sections give the text more room, as in the design. */
.dm-split:has(> .wp-block-column > .dm-rounded) {
	max-width: 1360px;
}

.dm-split > .wp-block-column:has(> .dm-rounded) {
	flex: 0 0 555px;
}

.dm-rounded {
	margin: 0;
}

.dm-rounded img {
	display: block;
	width: 100%;
	aspect-ratio: 555 / 530;
	border-radius: 44px;
	object-fit: cover;
}

/* Truck on brand shapes */
.dm-truck {
	position: relative;
	width: min(100%, 500px);
	aspect-ratio: 500 / 429;
	margin: 0 auto;
}

.dm-truck::before,
.dm-truck::after {
	content: "";
	position: absolute;
	top: 0;
	background: center / 100% 100% no-repeat;
}

.dm-truck::before {
	left: 20.2%;
	width: 28.6%;
	height: 69.5%;
	background-image: url("../svg/truck-shape-a.svg");
}

.dm-truck::after {
	left: 32.2%;
	width: 59.6%;
	height: 100%;
	background-image: url("../svg/truck-shape-b.svg");
}

.dm-truck .wp-block-image {
	position: absolute;
	top: 26.3%;
	left: 0;
	width: 100%;
	margin: 0;
}

.dm-truck .wp-block-image img {
	display: block;
	width: 100%;
}

/* Mirror the shapes for right-to-left, but keep the photo readable. */
[dir="rtl"] .dm-truck {
	transform: scaleX(-1);
}

[dir="rtl"] .dm-truck .wp-block-image {
	transform: scaleX(-1);
}

/* Coverage map */
.dm-map {
	margin: 0;
	direction: ltr;
}

.dm-map svg {
	display: block;
	width: 100%;
	height: auto;
}

/* Three-photo collage with hand-drawn arrows */
.dm-collage {
	position: relative;
	width: min(100%, 555px);
	aspect-ratio: 555 / 548;
	margin-inline: auto;
}

.dm-collage::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../svg/collage-arrows.svg") center / 100% 100% no-repeat;
}

[dir="rtl"] .dm-collage::before {
	transform: scaleX(-1);
}

.dm-collage .wp-block-image {
	position: absolute;
	margin: 0;
}

.dm-collage .wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 28px;
	object-fit: cover;
}

.dm-collage__a {
	top: 0;
	inset-inline-end: 0;
	width: 46.8%;
	height: 35.2%;
}

.dm-collage__b {
	top: 31.4%;
	inset-inline-start: 0;
	width: 46.7%;
	height: 37.8%;
}

.dm-collage__c {
	bottom: 0;
	inset-inline-end: 0;
	width: 46.8%;
	height: 36.7%;
}

/* Full-width photo bands */
.dm-cover-center {
	min-height: 590px;
	padding: 40px var(--dm-gutter);
	text-align: center;
}

.dm-cover-center .wp-block-cover__inner-container {
	max-width: 640px;
	color: #fff;
}

.dm-cover-center .wp-block-cover__inner-container > p:not(.dm-script) {
	max-width: 575px;
	margin-inline: auto;
}

.dm-cover-center .wp-block-buttons {
	justify-content: center;
}

.dm-cover-center .wp-block-button__link {
	border-color: #fff;
}

.dm-band {
	min-height: 303px;
	padding: 45px 49px;
	justify-content: flex-start;
}

.dm-band .wp-block-cover__inner-container {
	width: 100%;
	max-width: 660px;
	margin: 0;
	color: #fff;
}

/* Mission and vision */
.dm-mission {
	overflow: hidden;
}

.dm-mission::before,
.dm-mission::after,
.dm-job::before,
.dm-job::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 326px;
	height: 469px;
	background: url("../svg/shape-light.svg") center / 100% 100% no-repeat;
}

.dm-mission::before {
	top: 0;
	inset-inline-end: -56px;
}

.dm-mission::after {
	top: 330px;
	inset-inline-start: -131px;
}

.dm-mission__row {
	align-items: center;
	gap: 60px;
	max-width: 738px;
	margin-inline: auto;
	margin-block: 0 40px;
}

.dm-mission__row h2 {
	margin-block: 0 9px;
}

.dm-mission__row > .wp-block-column:has(> .dm-rounded) {
	flex: 0 0 320px;
}

.dm-mission__row .dm-rounded img {
	aspect-ratio: 320 / 245;
}

/* Leadership photos */
.dm-leaders {
	display: grid;
	grid-template-columns: 325fr 250fr;
	gap: 19px 20px;
}

.dm-leaders .wp-block-image {
	margin: 0;
}

.dm-leaders .wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 17px;
	object-fit: cover;
	aspect-ratio: auto;
}

.dm-leaders .wp-block-image:nth-child(-n+2) img {
	height: 318px;
}

.dm-leaders .wp-block-image:nth-child(3) {
	grid-column: 1 / -1;
}

.dm-leaders .wp-block-image:nth-child(3) img {
	height: 229px;
}

/* Job cards */
.dm-jobs {
	padding: 27px var(--dm-gutter) 65px;
}

.dm-jobs__title {
	margin-block: 0 37px;
}

.dm-jobs__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.dm-card {
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
	transition: transform 0.2s ease;
}

.dm-card:hover {
	transform: translateY(-4px);
}

.dm-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.dm-card img {
	display: block;
	width: 100%;
	height: 301px;
	object-fit: cover;
}

.dm-card__body {
	padding: 13px 19px 21px;
}

.dm-card__title {
	margin-block: 0 13px;
}

@media (prefers-reduced-motion: reduce) {
	.dm-card {
		transition: none;
	}
}

/* Single job */
.dm-job {
	position: relative;
	z-index: 0;
	overflow: hidden;
}

.dm-job::before {
	top: 672px;
	inset-inline-end: -49px;
	width: 449px;
	height: 646px;
}

.dm-job::after {
	top: 887px;
	inset-inline-start: -166px;
	width: 449px;
	height: 646px;
}

.dm-job__intro {
	gap: 33px;
	margin-block: 46px 57px;
	padding-inline: var(--dm-gutter);
}

.dm-job__media {
	flex-basis: 657px !important;
	flex-grow: 0 !important;
}

.dm-job__media img {
	display: block;
	width: 100%;
	height: 499px;
	border-radius: 23px;
	object-fit: cover;
}

.dm-job__details {
	max-width: 440px;
	font-weight: 700;
}

.dm-job__details h1 {
	margin-block: 0 24px;
}

.dm-job__details p {
	margin-block: 0 24px;
}

.dm-responsibilities h2 {
	margin-block: 38px 17px;
}

.dm-responsibilities ul {
	margin: 0;
	padding-inline-start: 24px;
}

/* Forms */
.dm-form {
	display: grid;
	gap: 11px;
}

.dm-field {
	display: grid;
	gap: 11px;
	margin: 0;
}

.dm-field input,
.dm-field select,
.dm-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 12px 20px;
	border: 1px solid var(--wp--preset--color--silver);
	border-radius: 10px;
	background: #fff;
	color: var(--dm-navy);
	font: inherit;
}

.dm-field textarea {
	min-height: 228px;
	resize: vertical;
}

.dm-field ::placeholder {
	color: #8a8a8a;
	font-size: var(--wp--preset--font-size--small);
	font-style: italic;
	font-weight: 300;
}

.dm-form__trap {
	position: absolute;
	inset-inline-start: -9999px;
}

.dm-form__submit {
	justify-self: start;
	margin-block-start: 16px;
	padding: 9px 20px;
	border: 1px solid var(--dm-navy);
	border-radius: 10px;
	background: #fff;
	color: var(--dm-navy);
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.375;
	cursor: pointer;
}

.dm-form__submit:hover {
	background: var(--dm-navy);
	color: #fff;
}

.dm-form__notice {
	margin-block: 0 16px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #f7e2bd;
}

.dm-form__notice.is-error {
	background: #f8d7da;
	color: #7a1c26;
}

/* Contact section */
.dm-contact {
	position: relative;
	z-index: 0;
	overflow: hidden;
	min-height: 954px;
	box-sizing: border-box;
	padding: 30px var(--dm-gutter) 40px;
}

.dm-contact::before {
	content: "";
	position: absolute;
	top: 0;
	inset-inline-end: 0;
	z-index: -1;
	width: 797px;
	height: 963px;
	background: url("../svg/shape-contact.svg") center / 100% 100% no-repeat;
}

[dir="rtl"] .dm-contact::before {
	transform: scaleX(-1);
}

.dm-contact__form {
	width: min(666px, calc(100% - 694px));
	min-width: 400px;
}

.dm-contact__form h2 {
	margin-block: 0 36px;
}

.dm-contact__panel {
	position: absolute;
	top: 285px;
	inset-inline-end: 263px;
	width: 330px;
}

.dm-contact__card h2 {
	margin-block: 0 26px;
}

.dm-contact__company {
	margin-block: 20px 12px;
	padding-inline-start: 40px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--medium);
}

.dm-contact__list {
	display: grid;
	gap: 21px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dm-contact__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.dm-contact__list img {
	flex: none;
}

.dm-contact__list a {
	word-break: break-word;
}

/* Application form */
.dm-apply {
	max-width: 666px;
	margin-inline: auto;
	padding-inline: var(--dm-gutter);
	box-sizing: content-box;
}

.dm-apply > h2 {
	margin-block: 0 16px;
	text-align: center;
}

.dm-apply .dm-form__submit {
	justify-self: center;
}

.dm-upload {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 228px;
	padding: 20px;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--silver);
	border-radius: 10px;
	background: #fff;
	font-weight: 700;
	text-align: center;
}

.dm-upload:hover,
.dm-upload:focus-within {
	border-color: var(--dm-navy);
}

/* The real file input covers the area, so drag and drop works without script. */
.dm-upload input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

/* Portfolio */
.dm-portfolio {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px 20px;
	padding: 46px var(--dm-gutter) 76px;
}

.dm-portfolio img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 325 / 385;
	object-fit: cover;
}

/* Footer */
.dm-footer__band {
	position: relative;
	z-index: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 469px;
	box-sizing: border-box;
	padding: 53px var(--dm-gutter) 34px;
	background: var(--dm-navy);
	color: #fff;
}

.dm-footer__band::before,
.dm-footer__band::after {
	content: "";
	position: absolute;
	top: 0;
	z-index: -1;
	width: 326px;
	height: 469px;
	background: url("../svg/shape-footer.svg") center / 100% 100% no-repeat;
}

.dm-footer__band::before {
	inset-inline-start: -149px;
}

.dm-footer__band::after {
	inset-inline-end: 25px;
}

[dir="rtl"] .dm-footer__band::before,
[dir="rtl"] .dm-footer__band::after {
	transform: scaleX(-1);
}

.dm-footer .dm-menu {
	justify-content: center;
	gap: 95px;
	margin-block: 79px 0;
}

.dm-footer .dm-menu a {
	color: #fff;
}

.dm-footer .dm-lockup {
	margin-block-start: 8px;
}

.dm-footer__copyright {
	padding: 37px var(--dm-gutter) 34px;
	text-align: center;
}

/* Tablets and small laptops */
@media (max-width: 1280px) {
	.dm-header__menu {
		margin-inline-start: 60px;
	}

	.dm-hero::after {
		inset-inline-end: 0;
	}

	.dm-lockup {
		margin-inline-end: 40px;
		font-size: 72px;
	}

	.dm-lockup__script {
		margin-block-end: -106px;
	}

	.dm-lockup--small {
		margin-inline-end: 0;
		font-size: 58px;
	}

	.dm-lockup--small .dm-lockup__script {
		margin-block-end: -54px;
	}

	.dm-footer .dm-menu {
		gap: 48px;
	}
}

@media (max-width: 1100px) {
	.dm-split > .wp-block-column:has(> .dm-rounded) {
		flex: 1 1 0;
	}

	.dm-script {
		white-space: normal;
		line-height: 1.25;
		margin-bottom: -14px;
	}

	.dm-brands__row {
		flex-wrap: wrap;
		justify-content: center;
	}

	.dm-contact {
		display: grid;
		min-height: 0;
		padding: 30px 0 0;
		gap: 40px;
	}

	.dm-contact::before {
		display: none;
	}

	.dm-contact__form {
		width: auto;
		min-width: 0;
		padding-inline: var(--dm-gutter);
	}

	.dm-contact__panel {
		position: static;
		width: auto;
		padding: 40px var(--dm-gutter);
		background: var(--dm-navy);
	}

	.dm-contact__card {
		max-width: 480px;
		margin-inline: auto;
		padding: 32px;
		border-radius: 24px;
		background: #fff;
	}

	.dm-hero .wp-block-cover__inner-container {
		flex-direction: column;
		align-items: flex-start;
	}

	.dm-hero .dm-lockup {
		order: -1;
	}

	.dm-lockup {
		font-size: 60px;
	}

	.dm-lockup__script {
		margin-block-end: -70px;
		font-size: 44px;
		line-height: 130px;
	}

	.dm-lockup--small {
		font-size: 58px;
	}

	.dm-job__intro {
		flex-wrap: wrap !important;
	}

	.dm-job__media {
		flex-basis: 100% !important;
	}

	.dm-job__details {
		max-width: none;
	}
}

/* Mobile header */
@media (max-width: 960px) {
	.dm-header {
		min-height: 88px;
	}

	.dm-header .dm-logo svg,
	.dm-header .custom-logo {
		width: auto;
		height: 60px;
	}

	.dm-header__toggle {
		display: block;
	}

	.dm-header__menu {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		display: none;
		margin: 0;
		padding: 16px var(--dm-gutter) 24px;
		background: #fff;
		box-shadow: 0 8px 12px rgb(0 0 0 / 12%);
	}

	.dm-header.is-open .dm-header__menu {
		display: grid;
		gap: 20px;
	}

	.dm-header__nav .dm-menu {
		flex-direction: column;
		gap: 12px;
	}

	.dm-jobs__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dm-portfolio {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Phones */
@media (max-width: 781px) {
	:root {
		--dm-gutter: 20px;
	}

	.dm-split,
	.dm-mission__row {
		gap: 24px;
	}

	.dm-script,
	:lang(ar) .dm-script {
		margin-bottom: -14px;
		font-size: 34px;
		line-height: 1.25;
		white-space: normal;
	}

	.dm-hero {
		min-height: 520px;
	}

	/* A narrow screen would reveal text in the top of this photo, so zoom to its clean middle. */
	.dm-hero .wp-block-cover__image-background {
		transform: scale(1.7);
	}

	.dm-page-hero {
		min-height: 260px;
		padding-block-end: 40px;
	}

	.dm-hero::after {
		width: 260px;
		opacity: 0.6;
	}

	.dm-lockup {
		margin-inline-end: 0;
		font-size: 48px;
	}

	.dm-lockup__script {
		margin-block-end: -60px;
		font-size: 36px;
		line-height: 110px;
	}

	.dm-lockup--small {
		font-size: 44px;
	}

	.dm-lockup--small .dm-lockup__script {
		margin-block-end: -44px;
		font-size: 28px;
		line-height: 88px;
	}

	.dm-stats {
		flex-direction: column;
		align-items: center;
		gap: 0;
	}

	.dm-stats__item {
		width: auto;
		padding-block: 12px;
	}

	.dm-brands__row {
		justify-content: center;
		gap: 24px;
	}

	[data-dm-tabs] .dm-brands__row {
		gap: 24px;
	}

	.dm-brands__logo img {
		max-width: 130px;
		max-height: 90px;
	}

	.dm-brands__tabs {
		gap: 16px 32px;
	}

	.dm-brands__tab {
		font-size: var(--wp--preset--font-size--medium);
	}

	.dm-band {
		padding-inline: var(--dm-gutter);
	}

	.dm-mission::before,
	.dm-mission::after,
	.dm-job::before,
	.dm-job::after {
		display: none;
	}

	.dm-leaders .wp-block-image:nth-child(-n+2) img {
		height: 220px;
	}

	.dm-leaders .wp-block-image:nth-child(3) img {
		height: 180px;
	}

	.dm-jobs__grid {
		grid-template-columns: 1fr;
	}

	.dm-job__media img {
		height: 280px;
	}

	.dm-portfolio {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.dm-footer__band::before,
	.dm-footer__band::after {
		opacity: 0.35;
	}

	.dm-footer .dm-menu {
		gap: 12px 28px;
		margin-block-start: 40px;
	}
}
