@media only screen and (min-width: 1px) and (max-width: 1130px)  {

	:root body .menu-container.has-search.desktop ul.menu {
    	column-gap: 20px !important;
	}
	
	.wp-block-columns.single-blog-header {
		flex-wrap: wrap !important;
	}
	
	.wp-block-columns.single-blog-header .wp-block-column {
		flex-basis: 100% !important;
	}
	
}

@media only screen and (min-width: 1px) and (max-width: 1062px)  {

	.wp-block-acf-ebook-slider .navigation {
		top: initial;
		right: unset;
		bottom: 10px;
		left: 50%;
		transform: translateX(-50%);
	}
	
	.wp-site-blocks {
		overflow: hidden;
	}

}

@media only screen and (min-width: 1px) and (max-width: 1038px)  {

	.wp-block-acf-interesting-reads .interesting-read {
		flex-wrap: wrap;
	}
	
	.wp-block-acf-interesting-reads .read-type {
    	flex: 100%;
	}
	
	.wp-block-acf-interesting-reads .read-type > * {
		margin-bottom: .5em;
	}
	
	.wp-block-acf-interesting-reads .read-text p:not(:first-child) {
		font-size: 16px;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
	}
	
	.wp-block-group.get-in-touch > .wp-block-group {
		padding-left: 0 !important;
	}
	
}

@media only screen and (min-width: 1px) and (max-width: 894px)  {

	.is-nowrap.wp-block-group.home-icons {
    	flex-wrap: wrap;
    	justify-content: space-evenly;
    	gap: 30px;
	}
	
	.wp-block-group.logos-banner,
	.wp-block-group.get-in-touch,
	.wp-block-group.newsletter-banner {
		padding-top: 3rem !important;
		padding-bottom: 3rem !important;
	}
	
}

@media only screen and (min-width: 1px) and (max-width: 781px)  {
	
	.wp-block-group.service-header {
		padding-top: 3rem !important;
		padding-bottom: 3rem !important;
	}
	
	:root .wp-block-group.service-header + div:not(.has-background) {
		padding-top: 0 !important;
	}
	
	:root .wp-block-group.service-header ~ div.has-background {
		padding-top: 3rem !important;
		padding-bottom: 3rem !important;
	}
	
	:root body .wp-block-columns,
	.wp-block-group.service-header > .wp-block-columns {
		gap: 1rem !important;
	}
	
	.wp-block-group.service-header ~ .wp-block-group .wp-block-spacer {
		height: 50px !important;
	} 
	
	.wp-block-acf-testimonials-filter {
		margin-top: 0 !important;
	}
	
	.wp-block-acf-testimonials-filter .testimonial-item {
		padding-top: 3rem;
		padding-bottom: 3rem;
		flex-wrap: wrap;
	}
	
	.wp-block-acf-testimonials-filter .testimonial-item .testimonial-image {
		flex-basis: 100%;
		margin-bottom: 1rem;
	}
	
	.wp-block-acf-testimonials-filter .testimonial-item .testimonial-image img {
		max-width: calc(200px - var(--wp--custom--spacing--outer));
		max-height: 100px;
	}
	
	.wp-block-acf-testimonials-filter .testimonial-item .testimonial-text {
		flex-basis: 100%;
	}
	
	.wp-block-acf-testimonials-filter .testimonial-item:first-child {
		padding-top: 0;
	}
	
	.wp-block-acf-testimonials-filter .testimonial-item:last-child {
		padding-bottom: 0;
	}
	
	.wp-block-spacer[style*="height:50px"] + h4 {
		margin-top: 0;
	}
	
	.wp-block-cover.services-visual-header {
		min-height: 270px;
	}
	
	.wp-block-cover.services-visual-header .heading {
		font-size: 6rem !important;
	}
	
	body.single-work header + .wp-block-spacer {
		display: none;
	}
	
	body.single-work .wp-block-post-featured-image img {
    margin-bottom: calc(var(--spacer-height) / 2);
	}
	
	.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {
		margin-top: calc(var(--spacer-height) / 2);
		margin-bottom: calc(var(--spacer-height) / 2);
	}
	
/*	.curved-align-right {
		position: relative;
		right: -3rem;
	}*/
	
	body.single-ebooks .wp-block-post-content .wp-block-columns {
		overflow: visible;
	}
	
	.wp-block-cover.is-style-offset-from-left {
		position: relative;
		/*left: calc(100px + 3rem);*/
	}
	
	
	#ebook-content.wp-block-group,
	#introduction.wp-block-group {
		padding-top: calc(var(--spacer-height) * .75);
	}
	
	body.post-type-ebooks .ebook-content > .wp-block-columns + .wp-block-columns,
	body.single-ebooks .ebook-content > .wp-block-columns + .wp-block-columns {
    margin-top: calc(var(--spacer-height) * .75);
	}
	
	body.post-type-ebooks .ebook-content h2, body.single-ebooks .ebook-content h2 {
    	padding-right: 0;
	}
	
	body.post-type-ebooks .ebook-content .wp-block-columns .wp-block-column:last-child,
	body.single-ebooks #ebook-content .wp-block-columns .wp-block-column:last-child {
    	padding-top: calc(var(--spacer-height) * .5);
	}
	
	body.single-ebooks .ebook-content h6, body.post-type-ebooks .ebook-content h6 {
    margin-bottom: 0 !important;
	}
	
	:root body .alignfull .wp-block-cover.is-style-offset-from-right {
		min-height: 300px;
		width: 50% !important;
		float: left;
		right: 0;
		margin-right: 2em !important;
		margin-left: -3rem !important;
	}
	
	:root body .alignfull .wp-block-cover.is-style-offset-from-right img {
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
	}
	
	body.single-ebooks h4 img, body.post-type-ebooks h4 img {
		position: relative !important;
		right: 0 !important;
		margin-right: 1rem;
		transform: translateY(4px) !important;
		max-height: 33px;
	}
	
	body.post-type-ebooks .ebook-content h2:after, body.single-ebooks .ebook-content h2:after {
		top: -1rem;
		left: 2rem;
	}
	
	body.post-type-ebooks .ebook-content h2:before, body.single-ebooks .ebook-content h2:before {
		left: 1.4rem;
		top: -1.2rem;
	}
	
/*	.wp-block-group.ebook-curve-tab-left {
		position: relative;
    	right: var(--wp--custom--spacing--outer);
	} 
	
	.wp-block-group.ebook-curve-tab-right {
		position: relative;
    	left: var(--wp--custom--spacing--outer);
	} */
	
	.wp-block-acf-case-study-quote.special-quote > * {
		max-width: calc(100vw - (var(--gap-width) * 2));
		margin-left: var(--gap-width);
		margin-right: 0;
	}

	
}

@media only screen and (min-width: 1px) and (max-width: 760px)  {
	
	.wp-block-acf-interesting-reads .read-image {
		margin-bottom: 2rem;
	}

	.wp-block-acf-interesting-reads .read-text,
	.wp-block-acf-interesting-reads .read-image {
		flex: 100%;
		padding-left: 0;
	}
	
	.wp-block-acf-interesting-reads .wp-block-buttons {
		margin-top: 0;
	}
	
	.wp-block-post-template.columns-2, .wp-block-query-loop.columns-2 {
    	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
	
}

@media only screen and (min-width: 1px) and (max-width: 640px)  {
	
	:root {
		--h1-size: 47.2px;
		--h2-size: 36.8px;
		--h3-size: 30.4px;
		--h4-size: 23.2px;
		--h5-size: 16px;
		--h6-size: 14px;
	}
	
	:root body .wp-block-button .wp-block-button__link,
	:root body p {font-size: 16px}
	:root body h1 {font-size: var(--h1-size)}
	:root body h2 {font-size: var(--h2-size)}
	:root body h3 {font-size: var(--h3-size)}
	:root body h4 {font-size: var(--h4-size)}
	:root body h5 {font-size: var(--h5-size)}
	:root body h6 {font-size: var(--h6-size)}
	
	.wp-block-acf-previous-and-next {
		font-size: 14px;
	}
	
	.wp-block-acf-previous-and-next svg {
		width: 18px !important;
	}
	
	.wp-block-acf-previous-and-next a.link.next {
    	padding-right: 50px !important;
	}
	.wp-block-acf-previous-and-next a.link.previous {
    	padding-left: 50px !important;
	}
	
	.wp-block-acf-custom-icon {
	    width: 85px;
	}
	
	footer > .wp-block-group > .wp-block-group {
		padding-top: 3rem !important;
		padding-bottom: 1rem !important;
	}
	
	.wp-block-cover.services-visual-header .heading {
    	font-size: 3.5rem !important;
	}
	
	.wp-block-group.call-to-action {
		padding: 3rem !important;
		border-radius: 60px !important;
	}
	
	:root body .alignfull .wp-block-cover.is-style-offset-from-right {
		width: 100% !important;
		position: relative;
		float: unset;
		right: 0;
		margin-right: unset !important;
	}
	
}

@media only screen and (min-width: 1px) and (max-width: 600px)  {
	
	.wp-block-buttons.download-ebook {
		position: unset !important;
		margin-top: 2rem !important;
		margin-bottom: 2rem !important;
		padding-left: var(--wp--custom--spacing--outer);
		padding-right: var(--wp--custom--spacing--outer);
	}
	
	.wp-block-buttons.download-ebook .wp-block-button {
    	width: 100%;
	    text-align: center;
	}
	
	.wp-block-buttons.download-ebook .wp-block-button a.wp-block-button__link {
	    background-color: transparent !important;
		color: var(--wp--preset--color--black) !important;
		border: 2px solid var(--wp--preset--color--black) !important;
		width: 100%;
		text-align: center;
		justify-content: center;
	}
	
	#introduction.wp-block-group {
		padding-top: 1rem;
	}
	
	.wp-block-group.col-2 {
		display: block;
	}
	
}

@media only screen and (min-width: 1px) and (max-width: 400px)  {
	
	:root body {
	    --wp--custom--spacing--outer: 2rem; !important
	}
	
	body.archive .is-style-bar:before, body.blog .is-style-bar:before, .single-post .is-style-bar:before, .editor-styles-wrapper .wp-block-group.is-style-bar:before, .editor-styles-wrapper .wp-block-column.is-style-bar:before, .entry-content.wp-block-post-content .wp-block-group.is-style-bar:before, .entry-content.wp-block-post-content .wp-block-column.is-style-bar:before {
		left: -18px !important;
	}
	
		:root {
		--h1-size: 37.76px;
		--h2-size: 29.44px;
		--h3-size: 25.84px;
		--h4-size: 20px;
		--h5-size: 14px;
		--h6-size: 12px;
	}
	
		.curved-align-right {
		position: relative;
		right: -2rem;
	}
	
	.wp-block-cover.is-style-offset-from-left {
		position: relative;
		left: calc(100px + 2rem);
	}
	
}