/****** Madison Additions ******/
/*
 * Rough viewport sizes:
 * * medium = 757px
 * * large = 967px
 * * wide = 1025px
 */

/* Global */
body.modal-open {
	overflow-y: hidden;
}

/* This allows columns to be stretched if parent is flexbox and is stretched */
body .wp-block-column.stretched-column {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-self: stretch;
}

/* Automatically sets columns to stretch if there is a stretched-column child present */
body .wp-block-columns:has(.stretched-column) {
	/* Important necessary to override default style... */
	align-items: stretch !important;
}

/* A light "card" (white background on a box shadow) */
.light-card {
	padding: 1.1rem;
	background-color: white;
	box-shadow: #00000012 0px 3px 20px 0px;
}

/* Modal */
/* Using prefix `mws` to indicate that it's been added by Madison */
.mws-modal {
	position: fixed;
	top: 0;
	left: 0;

	/* Fallback for older browsers */

	height: 100%;
	/* Modern enhancement */
	width: 100vw;
	height: 100vh;

	opacity: 1;
	transition: all 0.5s ease-out;
	pointer-events: auto;
	z-index: 10;
}

.mws-modal .modal-container {
	width: 100%;
	max-width: max(350px, 90vw);
	max-height: max(550px, 88vh);

	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	overflow: hidden;
}

.mws-modal:before {
	content: "";
	position: fixed;
	top: 50%;
	left: 50%;
	width: 100%;
	height:100%;
	background-color: black;
	opacity: 0.8;
	transform: translate(-50%, -50%);
}

.mws-modal.hidden {
	opacity: 0;
	pointer-events: none;
}

/* FIXES / IMPROVEMENTS */
/* Fixes issue with column images hugging left-hand edge */
.wp-block-column figure.wp-block-image {
	text-align: center;
}

/* Fluid font sizes */
.container > .wp-block-media-text .wp-block-heading.has-massive-font-size {
	font-size: clamp(2.375rem, 6.977vw + -1.331rem, 4.25rem) !important;
	line-height: clamp(3.563rem, 7.302vw + -0.317rem, 5.525rem);
}
.container > .wp-block-media-text .has-extra-large-font-size {
	font-size: var(--step-3) !important;
}
@media all and (max-width: 757px) {
	.wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
		grid-column: 1;
		grid-row: 2;
	}

	.wp-block-media-text, .wp-block-media-text.has-media-on-the-right {
		grid-template-columns: 100%;
	}
	.wp-block-media-text.has-media-on-the-right > .wp-block-media-text__media {
		grid-column: 1;
	}
}

/* BLOCK: Video banner */
.video-banner, .image-banner {
	position: relative;
	min-height: 520px;
	margin-top: 0 !important; /* The site has some very specfic styles adding margin top, as this section will likely be at the top of the page we need to remove it. */
	display: flex;
	align-items: center;
}

.video-banner:before,
.image-banner:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	background-color: #000;
	opacity: 0.5;
}

.video-banner .background-container {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.video-banner .video-container video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-banner .image-container picture {
	position: relative;
	top: -50%;
}

.video-banner .banner-row-1 {
	width:  calc(100% - var(--space-g));
	height: 100%;
	margin: 0 auto;
	position: relative;
	z-index: 3;
}

.video-banner .hero-content {
	max-width: 90%;
	height: 100%;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: flex-end;
	padding: 40px 0 15px;
	color: #fff;
}

.video-banner .wp-block-heading {
	margin: 0 0 auto;
}

.video-banner .hero-copy {
	max-width: 500px;
	margin-bottom: 25px;
}

.video-banner .cta-tagline {
	margin-bottom: 2rem;
}

.video-banner .cta-tagline strong:not(:last-of-type):after {
	content: "\2022";
	margin: 0 0.4rem;
	color: var(--color-primary);
}

.video-banner .buttons-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.video-banner .quick-links {
	margin-top: 10px;
}

.video-banner .quick-links a {
	border-bottom: 1px solid #fff;
}

.video-banner.aligncenter .banner-row-1 {
	width: 100%;
	height: auto;
}

.video-banner.aligncenter .hero-content {
	width: 100%;
	padding: 15px 0;
	text-align: center;
    margin: 0 auto;
}

.video-banner.aligncenter .wp-block-heading {
	margin-bottom: 2rem;
}

.video-banner.aligncenter .hero-copy {
	max-width: none;
}

.video-banner.aligncenter .buttons-container {
	justify-content: center;
}

@media all and (min-width: 1025px) {
	.video-banner {
		height: 758px;
	}

	.video-banner .hero-content {
		width: 50%;
	}
}

/* BLOCK: Image banner */
.image-banner {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.image-banner:before {
	background-color: #FFF;
	opacity: 0.8;
	backdrop-filter: 5px;
}

.image-banner .banner-row-1 {
	width: 100%;
}

.image-banner .hero-content {
	position: relative;
	z-index: 5;
	max-width: 90%;
	height: 100%;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: flex-end;
	padding: 40px 0 15px;
}

@keyframes textclip {
	0% {
		background-position: 200% center;
	}
  	40% {
    	background-position: 200% auto;
  	}
	100% {
    	background-position: 200% auto;
  	}
}

.image-banner .hero-content h2 {
	background-image: linear-gradient(
		115deg,
		var(--color-text) 0%,
		var(--color-text) 65%,
		var(--color-primary) 69%,
		var(--color-primary) 73%,
		var(--color-text) 77%
	);
	background-clip: border-box;
	background-size: 200% auto;
	color: #fff;
	background-clip: text;
	text-fill-color: transparent;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: 5s linear 3s infinite textclip;
	display: inline-block;
}

.image-banner .hero-copy {
	margin-bottom: 2.5rem;
}

.image-banner.aligncenter .hero-content { text-align: center; margin: 0 auto; }
.image-banner.alignright .hero-content { text-align: right; }

@media all and (min-width: 1025px) {
	.image-banner .hero-content {
		width: 1000px;
	}

	.image-banner .hero-copy p {
		font-size: 1.5rem;
	}
}


/* BLOCK: Google Map */
.map-container iframe {
	max-width: 100%;
	border-radius: 5px;
}

/* BLOCK: Single Testimonial */
.single-testimonial .inner-container {
	padding: 1.4rem;
	background: center 40% / contain no-repeat url('/wp-content/themes/southcoastwindows-by-bamboo9/assets/img/logo-house-image.svg') var(--color-primary);
	background-blend-mode: overlay;
	text-align: center;
	color: white;
	border-radius: 5px;
}

.single-testimonial .copy {
	margin: 0 auto 1.5rem;
	width: min(884px, 90%);
}

.single-testimonial .star-rating {
	margin: 1.5rem 0;
}

.single-testimonial .star {
	width: 22px;
}

.single-testimonial .testimonee, .single-testimonial .category {
	display: block;
}
.single-testimonial .testimonee {
	font-weight: bold;
}

.single-testimonial .testimonee-image {
	display: inline-block;
	width: 70px;
	height: 70px;
}

.single-testimonial .testimonee-image img {
	border-radius: 300px;
}

@media all and (min-width: 757px) {
	.single-testimonial .inner-container {
		padding: 2.25rem;
		background-size: 45%;
	}

	.single-testimonial .copy {
		margin-bottom: 4rem;
	}

	.single-testimonial .inner-container .copy:before {
		content: url('/wp-content/themes/southcoastwindows-by-bamboo9/assets/img/testimonial-quotemark.svg');
		display: block;
		width: 50px;
		height: 50px;
		margin: 0 auto 2rem;
	}
}

@media all and (min-width: 1025px) {
	.single-testimonial .inner-container {
		padding-top: 5rem;
	}
}

/* Override star colours */
.single-testimonial .star:has(.blank-star.fill-0) {
	display: none;
}

.single-testimonial .star-rating .blank-star polygon {
	fill: transparent;
}

.single-testimonial .star-rating .filled-star polygon {
	fill: white;
}


/* Star rating */
.star-rating .star {
	position: relative;
	display: inline-block;
	margin-right: 0.1rem;
}

.star-rating .star svg {
	max-width: 100%;
}

.star-rating .blank-star polygon {
	fill: gray;
}

.star-rating .filled-star {
	position: absolute;
	top: 0;
	left: 0;
}

.star-rating .filled-star polygon {
	fill: gold;
}

.star-rating .filled-star.fill-0 {
	display: none;
}

.star-rating .filled-star.fill-10 { clip-path: inset(0px calc(100% - 10%) 0px 0px); }
.star-rating .filled-star.fill-20 { clip-path: inset(0px calc(100% - 20%) 0px 0px); }
.star-rating .filled-star.fill-30 { clip-path: inset(0px calc(100% - 30%) 0px 0px); }
.star-rating .filled-star.fill-40 { clip-path: inset(0px calc(100% - 40%) 0px 0px); }
.star-rating .filled-star.fill-50 { clip-path: inset(0px calc(100% - 50%) 0px 0px); }
.star-rating .filled-star.fill-60 { clip-path: inset(0px calc(100% - 60%) 0px 0px); }
.star-rating .filled-star.fill-70 { clip-path: inset(0px calc(100% - 70%) 0px 0px); }
.star-rating .filled-star.fill-80 { clip-path: inset(0px calc(100% - 80%) 0px 0px); }
.star-rating .filled-star.fill-90 { clip-path: inset(0px calc(100% - 90%) 0px 0px); }

/* BLOCK: Link Boxes */
.link-boxes {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.link-boxes > .wp-block-heading {
	width: min(924px, 100%);
	margin: 0 auto 2rem;
	text-align: center;
}

.link-boxes .link-box {
	--link-box-image-height: 18dvh;
	margin-bottom: 1.6rem;
	box-shadow: #0000001A 0px 3px 6px 0px;
}

.link-boxes .link-box .image-container {
	padding-top: var(--link-box-image-height);
	overflow: hidden;
	background-color: var(--color-primary);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.link-boxes .link-box .text-container {
	padding: 1rem 0.75rem;
}
.link-boxes .link-box .actions {
	display: flex;
	flex-wrap: wrap;
	padding: 0.5rem 0.75rem 1rem;
}
.link-boxes .link-box .actions .wp-block-button:first-child {
	margin-right: 1rem;
}
.link-boxes .link-box .actions .wp-block-button {
	margin-bottom: 0.5rem;
}

@media all and (min-width: 757px) {
	.link-boxes > .wp-block-heading {
		margin-bottom: 2.5rem;
	}

	.link-boxes .link-box {
		width: calc(50% - 0.95rem);
	}

	.link-boxes .link-box:not(:nth-of-type(1)),
	.link-boxes .link-box:not(:nth-of-type(2)) {
		margin-top: 1.5rem;
	}

	.link-boxes .link-box .actions {
		margin-top: 1.4rem;
	}
}

@media all and (min-width: 967px) {
	.link-boxes .link-box {
		--link-box-image-height: 285px;
	}

	.link-boxes .link-box .text-container,
	.link-boxes .link-box .actions {
		padding-left: 1.4rem;
		padding-right: 1.4rem;
	}
}

/* Locations page template */
.page-template-template-location .video-banner {
	overflow: hidden;
}

.page-template-template-location .video-banner:before {
	/* These are defined in the existing :before, but added for absolute certainty (pardon the pun) */
	content: "";
	position: absolute;

	/* Styles specific to the location page template version */
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(255,255,255,0.65);
	opacity: 1;
	backdrop-filter: blur(5px);
}

.page-template-template-location .video-banner .hero-content {
	justify-content: center;
	color: black;
}

.page-template-template-location .video-banner .hero-content .wp-block-heading {
	margin-bottom: 1.5rem;
}

.page-template-template-location .video-banner .cta-tagline {
	display: none;
}

.page-template-template-location .container .checkatrade-stats,
.page-template-template-location .container .google-map {
	margin-top: var(--space-b);
}

@media all and (min-width: 600px) {
	.page-template-template-location .video-banner .hero-content {
		max-width: 56vw;
	}

	.page-template-template-location .video-banner:before {
		/*
		 * Width of hero-content is, at max, 560px.
		 * The radius of the circle therefore needs to be 560px, which means a diameter of 1120px.
		 * This is because we only see one half of the circle.
		 * The 140vw is a bit of a magic number, sorry.
		 */
		width: min(140vw, calc(1120px + var(--space-d)));
		height: 200%;
		transform: translate(-50%, -25%);
		border-radius: 100%;
	}
}

@media all and (min-width: 967px) {
	.page-template-template-location .video-banner .hero-content {
		max-width: min(560px, 45vw);
	}
}

@media all and (min-width: 1025px) {
	.page-template-template-location .video-banner {
		height: auto;
	}
}

/* Checkatrade With Stats pattern */
@media (max-width: 1024px) {
	.checkatrade-stats .img-white-button img {
		/* Override global style (from old dev) */
		margin-top: 0;
	}
}

@media all and (max-width:  600px) {
	/* Override a ludicrous !important style in the main style sheet */
	.checkatrade-stats .has-text-align-center {
		text-align: center !important;
	}
}

/* Attempt to control the Which TrustedTrader widget when full-width */
iframe.which--full {
    display: block;
    width: 100%;
    min-height: 840px;
}

/* Bit of a magic number, sorry! */
@media all and (min-width:854px) {
	iframe.which--full {
		min-height: 560px;
	}
}


/* Testimonial card */
.single-testimonial-card .testimonee,
.single-testimonial-card .work {
	display: block;
	font-weight: bold;
}

.single-testimonial-card .testimonee {
	color: var(--color-primary);
}

.single-testimonial-card p {
	margin-top: 1.6rem;
	line-height: 1.6rem;
}

/* BLOCK: Testimonials Archive */
.testimonials-archive {
	position: relative;
	background-color: #EFEFEF;
}

/* Specificity, Eames... */
.container > div.testimonials-archive {
	margin-top: 0;
	padding: 0;
	padding-bottom: 1.4rem;
}

.testimonials-archive .services-filter {
	padding: 1.25rem 1.6rem;
	background: white;
	border-radius: 5px;
}

.testimonials-archive .services-filter ul {
	display: none;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 1rem 3rem;
	padding-left: 0;
}

.testimonials-archive .services-filter li,
#testimonial-archive-modal .sorting-sidebar li {
	margin-bottom: 0;
	list-style-type: none;
	text-align: center;
}

/* This is a replication of the :focus and :hover styles */
.testimonials-archive .services-filter button.active,
#testimonial-archive-modal .sorting-sidebar button.active {
	color: white !important; /* Needed to override style in previous developer's stylesheet */
	background-color: var(--color-primary);
	filter: brightness(1.3);
}

.testimonials-archive .services-filter button,
#testimonial-archive-modal .sorting-sidebar button {
	width: 100%;
}

.testimonials-archive .slides-nav {
	position: absolute;
	top: 50%;

	width: var(--space-b);
	height: var(--space-b);
	background-color: var(--color-primary);
	background-image: url(/wp-content/themes/southcoastwindows-by-bamboo9/assets/img/caret.svg);
	background-position: center center;
	background-repeat: no-repeat;
	background-color: transparent;
	border: 0;
}

.testimonials-archive .slides-nav.left {
	transform: scaleX(-1);
	left: 0;
}

.testimonials-archive .slides-nav.right {
	right: 0;
}

.testimonials-archive .slides-container {
	overflow-x: scroll;
	scrollbar-width: none;
	padding: 1rem 2.5rem;
	touch-action: pan-x;
}
.testimonials-archive .slides-container::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.testimonials-archive .no-results {
	width: 100%;
	text-align: center;
}

.testimonials-archive .cards-layout {
	--item-gap: 2.5rem; /* Same as padding-left on .slides-container */
	--slide-width: calc(100vw - 2 * var(--item-gap));
	display: grid;
	grid-auto-rows: max-content;
	/*
	 * This default is required to layout items before JS takes over.
	 * 31 required for 30 max items + 1 fake item (to centre last item correctly).
	 */
	grid-template-columns: repeat(31, var(--slide-width));
	max-width: 3000%;
	min-width: 100%;
	gap: var(--item-gap);
}

/* This is a fake item to ensure that the 'gap' equivalent appears on the right-most side of the slider. */
.testimonials-archive .cards-layout:after {
	content: "";
	width: 1px;
}

#testimonial-archive-modal .cards-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem;
	padding-bottom: 1.6rem; /* Same as 'gap' */
	padding-right: 10px; /* Attempts to leave room for scrollbar */
	width: 100%;
	max-height: calc(100% - 8rem);
	overflow-y: scroll;
}

.testimonials-archive .slide {
	min-width: calc(100%);
	scroll-snap-align: start;
	padding: 0.4rem;	/* Allows the box-shadow to be shown all the way around the card. */
}

.testimonials-archive .slide.hidden {
	display: none;
}

.testimonials-archive .single-testimonial-card {
	width: 100%;
}

.testimonials-archive .single-testimonial-card p {
	margin-bottom: 1.5rem !important; /* Needed to override style in previous developer's stylesheet */
}

.testimonials-archive .view-all-container {
	padding: 0 2.5rem; /* Bring inline roughly with nav arrows */
	text-align: center;
}

#testimonial-archive-modal .modal-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: stretch;

	width: max(350px, 90vw);
	height: max(550px, 88vh);
}

#testimonial-archive-modal .sorting-sidebar {
	padding: 1rem;
	background-color: white;
	z-index: 1;
	width: 100%;
}

#testimonial-archive-modal .sorting-sidebar ul {
	flex-wrap: wrap;
	gap: 1.6rem;
	padding-left: 0;
	padding-bottom: 1.5rem;
	gap: 0.8rem;
	overflow-y: auto;
	max-height: 100%;
	display: none;
}

#testimonial-archive-modal .sorting-sidebar h2 {
	margin-top: 1.5rem !important;
}

.testimonials-archive select.service-filter,
#testimonial-archive-modal select.service-filter {
	border: 2px solid var(--color-primary);
	border-radius: var(--border-radius-button);
	color: var(--color-primary);
	font-weight: var(--font-weight-bold);
}

#testimonial-archive-modal section {
	padding: 1rem;
	height: calc(88vh - 9rem);
	background-color: #F7F7F7;
	overflow: hidden;
	z-index: 1;
}

#testimonial-archive-modal [data-close-modal] {
	position: absolute;
	top: 0;
	right: 0;
	background-color: transparent;
	border: 0;
	font-size: 3rem;
	color: var(--color-text) !important;
	text-align: right;
}

@keyframes modal-close-pulse {
	0% {
		height: 2px;
	}

	50% {
		height: 4px;
	}

	100% {
		height: 3px;
	}
}

#testimonial-archive-modal .heading-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/*
	 * These two styles are quite specific.
	 * The design indicates 1rem's worth of space between the title and the cards-layout.
	 * This combination allows us to achieve a nice box-shadow effect that appears to be over the cards-layout
	 * but totals the desired 1rem of gap.
	 */
	margin-bottom: calc(0.25rem + var(--space-b));
	padding-bottom: 0.75rem;

	box-shadow: 0px 6px 4px -7px #fff0;
	transition-delay: 0s;
	transition: box-shadow ease-out 0.25s;
}

#testimonial-archive-modal .heading-bar h2 {
	margin-right: 3rem;
	font-weight: 300;
	transition: font-size ease-out 0.25s;
	transition-delay: 0s;
	backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

#testimonial-archive-modal .scrolled .heading-bar {
	box-shadow: 0px 6px 4px -7px #252527;
	transition-delay: 0.2s;
}

#testimonial-archive-modal .scrolled .heading-bar h2 {
	font-size: calc(var(--font-size-h2) * 0.75);
	transition-delay: 0.2s;
}

#testimonial-archive-modal .single-testimonial-card {
	width: 100%;
}

@media all and (min-width: 757px) {
    .video-banner.aligncenter .banner-row-1 {
    	width: calc(80% - var(--space-g));
    }

	.container > div.testimonials-archive {
		padding: 2.8rem;
	}

	.testimonials-archive .services-filter ul {
		margin-bottom: 0;
	}

	.testimonials-archive .slides-container {
		padding: 2.1rem 0;
	}

	.testimonials-archive .cards-layout {
		--item-gap: 3rem;
		--slide-width: calc(50% - 2rem);
		max-width: 750vw;
	}

	.testimonials-archive .slide {
		/* This is equivalent width to the testimonial archive block, whose padding is 2.8rem. */
		min-width: calc(100vw - 2 * 2.8rem);
	}

	/* .testimonials-archive .single-testimonial-card {
		width: calc( (100% - 3rem) / 2 );
	} */

	#testimonial-archive-modal [data-close-modal] {
		top: 1rem;
		right: 1rem;
	}

	/* #testimonial-archive-modal [data-close-modal]:before,
	#testimonial-archive-modal [data-close-modal]:after {
		content: "";
		position: relative;
		display: inline-block;
		height: 2px;
		width: 2rem;
		background-color: #252527;
		transform-origin: center;
	}

	#testimonial-archive-modal [data-close-modal]:before {
		transform: rotateZ(-45deg);
		left: 50%;
	}
	#testimonial-archive-modal [data-close-modal]:after {
		transform: rotateZ(45deg);
	}

	#testimonial-archive-modal [data-close-modal]:hover:before,
	#testimonial-archive-modal [data-close-modal]:focus:before,
	#testimonial-archive-modal [data-close-modal]:hover:after,
	#testimonial-archive-modal [data-close-modal]:focus:after {
		animation: 0.4s linear modal-close-pulse;
	} */

	#testimonial-archive-modal .sorting-sidebar {
		width: 25%;
		height: 100%;
		padding: 1.5rem;
	}

	/* Swap from responsive select list to prettier buttons */
	.testimonials-archive .services-filter ul,
	#testimonial-archive-modal .sorting-sidebar ul {
		display: flex;
	}

	.testimonials-archive select.service-filter,
	#testimonial-archive-modal select.service-filter {
		display: none;
	}

	.testimonials-archive .services-filter li,
	#testimonial-archive-modal .sorting-sidebar li {
		min-width: 164px; /* Magic number based on width of "Conservatories" button */
	}

	#testimonial-archive-modal .sorting-sidebar li {
		width: 100%;
	}

	#testimonial-archive-modal section {
		width: 75%;
		height: 100%;
	}

	#testimonial-archive-modal .heading-bar {
		margin-top: 2rem;
	}

	#testimonial-archive-modal .heading-bar h2 {
		margin-bottom: 0;
	}

	#testimonial-archive-modal .single-testimonial-card {
		width: calc( (100% - 1.6rem) / 2 );
	}
}

@media all and (min-width: 757px) and (max-width: 1024px) {
	.testimonials-archive .single-testimonial-card:nth-child(4n+3),
	.testimonials-archive .single-testimonial-card:nth-child(4n){
		grid-row-start: 2;
	}
}

@media all and (min-width: 1025px) {
	/* .testimonials-archive .single-testimonial-card {
		width: calc( (100% - 6rem) / 3 );
	} */

	.testimonials-archive .cards-layout {
		/* Each slide contributes to 2/3 of the gap. Here that will be 2/3 of 3rem = 2rem. */
		--slide-width: calc(33.33% - 2rem);
		max-width: 500%;
	}

	.testimonials-archive .services-filter ul {
		justify-content: space-between;
	}

	.testimonials-archive .single-testimonial-card:nth-child(6n+4),
	.testimonials-archive .single-testimonial-card:nth-child(6n+5),
	.testimonials-archive .single-testimonial-card:nth-child(6n) {
		grid-row-start: 2;
	}
}

.video-banner.aligncenter {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}


