/* SERVICE PAGE */

.service-page {
	--service-flow-gap: calc(var(--spacing-xl) * 2);
	--service-tight-gap: calc(var(--service-flow-gap) / 2);
}

.service-page .services-category-hero-strip {
	width: 100%;
	height: 116px;
	background-color: var(--color-primary);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.service-page .services-category-overview {
	padding: 100px 0 0;
	background-color: var(--color-beige);
}

.service-page .services-category-overview__inner {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	gap: var(--spacing-3xl);
}

.service-page .services-category-overview__content {
	display: grid;
	grid-column: 2;
	gap: var(--service-tight-gap);
	padding-bottom: var(--service-tight-gap);
}

.service-page .services-category-overview__title {
	max-width: 28ch;
	margin: 0;
}

.service-page .services-category-overview__text {
	max-width: 50ch;
	margin: 0;
	font-size: var(--font-size-text-large);
	line-height: var(--line-height-text-large);
	color: rgba(35, 35, 35, 0.82);
}

.service-page .services-category-overview__text + .btn-animated {
	margin-top: 0;
}

@media (max-width: 767px) {
	.service-page .services-category-overview__text {
		font-size: var(--font-size-text);
		line-height: var(--line-height-text);
	}
}

@media (min-width: 768px) and (max-width: 1320px) {
	.service-page .services-category-overview {
		padding: calc(var(--section-padding-y-tablet) + 28px) 0 0;
	}

	.service-page .services-category-overview__inner {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.service-page .services-category-overview__content {
		grid-column: 1;
	}
}

@media (max-width: 767px) {
	.service-page .services-category-overview {
		padding: calc(var(--section-padding-y-mobile) + 20px) 0 0;
	}

	.service-page .services-category-overview__inner {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.service-page .services-category-overview__content {
		grid-column: 1;
		gap: var(--service-tight-gap);
		padding-bottom: var(--service-tight-gap);
	}

	.service-page .services-category-overview__text + .btn-animated {
		margin-top: 0;
	}
}

/* SERVICE IMAGE SECTION */

.service-image-section {
	padding: 0 0 var(--section-padding-y);
	background-color: var(--color-beige);
}

.service-image-section__frame {
	overflow: hidden;
	background-color: rgba(35, 35, 35, 0.08);
	box-shadow: 0 24px 58px rgba(35, 35, 35, 0.1);
}

.service-image-section__image {
	display: block;
	width: 100%;
	height: auto;
	min-height: 32rem;
	object-fit: cover;
}

@media (min-width: 768px) and (max-width: 1320px) {
	.service-image-section {
		padding-bottom: var(--section-padding-y-tablet);
	}

	.service-image-section__image {
		min-height: 26rem;
	}
}

@media (max-width: 767px) {
	.service-image-section {
		padding-bottom: 0;
	}

	.service-image-section .container {
		width: 100%;
		max-width: none;
		padding-right: 0;
		padding-left: 0;
	}

	.service-image-section__image {
		min-height: 18rem;
	}
}

/* SERVICE CONTENT SECTION */

.service-content-section {
	padding: var(--service-tight-gap) 0 calc(var(--spacing-xl) * 3);
	background-color: var(--color-beige);
}

.service-content-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	gap: var(--spacing-3xl);
	align-items: start;
}

.service-content-section__left {
	align-self: start;
}

.service-content-section__heading {
	max-width: 48rem;
	margin: 0 0 var(--service-tight-gap);
	font-size: var(--font-size-h3);
	line-height: 1;
}

.service-content-section__icon {
	display: block;
	width: min(100%, 240px);
	margin-right: auto;
	margin-left: auto;
	aspect-ratio: 1;
	background-color: var(--color-dark);
	mask-image: var(--service-content-icon);
	mask-position: center top;
	mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-image: var(--service-content-icon);
	-webkit-mask-position: center top;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
}

.service-content-section__right {
	min-width: 0;
}

.service-content-section__text {
	max-width: 48rem;
	margin: 0 0 var(--service-flow-gap);
	font-family: var(--font-body);
	font-size: var(--font-size-text);
	line-height: var(--line-height-text);
	color: var(--color-dark);
	opacity: 0.8;
}

.service-content-table {
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgba(35, 35, 35, 0.08);
}

.service-content-table__row {
	display: grid;
	grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
	gap: var(--spacing-xl);
	padding: var(--spacing-md) 0;
	border-bottom: 1px solid rgba(35, 35, 35, 0.08);
	background-color: var(--color-beige);
}

.service-content-table__label {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
	color: var(--color-dark);
	font-family: var(--font-body);
	font-size: var(--font-size-text);
	font-weight: bold;
	line-height: var(--line-height-text);
}

.service-content-table__text {
	min-width: 0;
	color: var(--color-dark);
	font-family: var(--font-body);
	font-size: var(--font-size-text);
	font-weight: normal;
	line-height: var(--line-height-text);
	text-align: right;
}

.default-page-content-section {
	padding-top: var(--service-tight-gap);
}

.default-page-content__editor {
	max-width: 48rem;
	color: var(--color-dark);
	font-family: var(--font-body);
	font-size: var(--font-size-text);
	line-height: var(--line-height-text);
}

.default-page-content__editor > * {
	margin-top: 0;
	margin-bottom: var(--spacing-md);
}

.default-page-content__editor > :last-child {
	margin-bottom: 0;
}

.default-page-content__editor h2,
.default-page-content__editor h3,
.default-page-content__editor h4 {
	margin-top: var(--spacing-xl);
	margin-bottom: var(--spacing-sm);
	line-height: 1;
}

.default-page-content__editor h2 {
	font-size: var(--font-size-h3);
}

.default-page-content__editor h3 {
	font-size: var(--font-size-h4);
}

.default-page-content__editor ul,
.default-page-content__editor ol {
	padding-left: 1.3em;
}

.default-page-content__editor a {
	color: currentColor;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.default-page-content__editor img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-top: var(--spacing-lg);
	margin-bottom: var(--spacing-lg);
}

.legal-page-content-section {
	padding-top: 100px;
}

.legal-page-content__title {
	max-width: 28ch;
	margin: 0 0 var(--service-tight-gap);
	font-size: var(--font-size-h1);
	line-height: 1;
}

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

.legal-page-content__editor h2 {
	font-size: var(--font-size-h4);
}

.legal-page-content__editor h3,
.legal-page-content__editor h4 {
	font-size: var(--font-size-text-large);
}

@media (min-width: 768px) and (max-width: 1320px) {
	.service-content-section {
		padding: var(--service-tight-gap) 0 calc(var(--spacing-xl) * 3);
	}

	.service-content-section__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.service-content-section__left {
		display: none;
	}

	.service-content-table__row {
		grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
		gap: var(--spacing-lg);
	}

	.legal-page-content-section {
		padding-top: calc(var(--section-padding-y-tablet) + 28px);
	}
}

@media (max-width: 767px) {
	.service-page {
		--service-flow-gap: calc(var(--spacing-lg) * 2);
	}

	.service-content-section {
		padding: var(--service-tight-gap) 0 calc(var(--spacing-lg) * 3);
	}

	.service-content-section__grid {
		grid-template-columns: 1fr;
		gap: var(--section-gap-mobile);
	}

	.service-content-section__left {
		display: none;
	}

	.service-content-section__heading {
		max-width: 48rem;
		margin-bottom: var(--service-tight-gap);
	}

	.service-content-section__icon {
		width: min(100%, 172px);
	}

	.service-content-section__text {
		margin-bottom: var(--service-flow-gap);
		font-size: var(--font-size-text-small);
		line-height: var(--line-height-text-small);
	}

	.default-page-content__editor {
		font-size: var(--font-size-text-small);
		line-height: var(--line-height-text-small);
	}

	.legal-page-content-section {
		padding-top: calc(var(--section-padding-y-mobile) + 20px);
	}

	.legal-page-content__title {
		margin-bottom: var(--service-tight-gap);
		font-size: var(--font-size-h2);
	}

	.legal-page-content__editor h2 {
		font-size: var(--font-size-text-large);
	}

	.legal-page-content__editor h3,
	.legal-page-content__editor h4 {
		font-size: var(--font-size-text);
	}

	.service-content-table,
	.service-content-table__row {
		min-width: 0;
		width: 100%;
	}

	.service-content-table__row {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: var(--spacing-sm) 0;
	}

	.service-content-table__label,
	.service-content-table__text {
		font-size: var(--font-size-text-small);
		line-height: var(--line-height-text-small);
		text-align: left;
	}
}
