/* =about */

.block-about {

}

/* Image */
.block-about__image-container {
	padding: 20px;
}

.block-about__image-container img {
	transform: rotate(5deg);
}

/* Content */
.block-about__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	line-height: var(--wp--custom--line-height--small);
	margin: 0 0 1rem;
	font-size: var(--wp--preset--font-size--jumbo);
}

.block-about__title .has-swoop-underline {
	/* white-space: nowrap; */
	background: url(../../assets/icons/accents/swoop-underline-small.svg) no-repeat bottom center;
}

.block-about__description {
	text-align: center;
	font-size: 0.9375rem;
}


/* Links */
.block-about__links {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr) );
}

.block-about .block-about__links a {
	font-family: var(--wp--preset--font-family--display);
	line-height: var(--wp--custom--line-height--small);
	font-size: 0.9375rem;
	font-weight: 900;
	text-transform: uppercase;
	color: black;
	text-decoration: none;
	position: relative;
}

.block-about .block-about__links a img {
	width: 100%;
}

.block-about .block-about__links a span {
	display: block;
	background-color: var(--wp--preset--color--denary-bright);
	text-align: center;
	position: absolute;
}


@media only screen and (max-width: 1069px) {

	/* Image */
	.block-about__image-container {
		margin: 0 auto 16px;
		width: 78.9vw;
		max-width: 400px;
	}

	.block-about__image-container img {
		transform: rotate(5deg);
	}

	/* Content */
	.block-about__content-container {
		margin: 0 auto 20px;
		max-width: 500px;
	}

	.block-about__title {
		text-align: center;
	}

	/* Links */
	.block-about__links {
		gap: 7.25px;
		max-width: 500px;
		margin: 0 auto;
	}

	.block-about .block-about__links a span {
		bottom: 8.2px;
		padding: 10px;
		left: 10px;
		right: 10px;
	}

}

@media only screen and (min-width: 1070px) {
	.block-about__inner {
		display: grid;
		grid-template-columns: repeat( 3, minmax( 0, 1fr) );
		gap: 32px;
		align-items: start;
	}

	/* Image */
	.block-about__image-container {
		order: 2;
	}

	.block-about__image-container img {
		max-width: 305px;
	}

	/* Content */
	.block-about__content-container {
		order: 1;
		text-align: center;
	}

	/* Links */
	.block-about__links {
		order: 3;
		gap: 8px;
	}

	.block-about .block-about__links a span {
		bottom: 13.4px;
		padding: 11px;
		left: 14px;
		right: 14px;
	}
}
