/**
 * Related Content Block
 */

/* Global - global pieces like media queries, mixins and placholders */

/*
 * Colors
 */

:root {
	--c-black: #000;
	--c-white: #fff;

	--c-h1: var(--c-black);
	--c-h2: var(--c-black);
	--c-h3: var(--c-black);
	--c-h4: var(--c-black);
	--c-h5: var(--c-black);
	--c-h6: var(--c-black);

	--c-text: var(--c-black);
	--c-text-on-dark: var(--c-white);

	--c-link: var(--c-black);
	--c-link-hover: var(--c-black);
	--c-link-border: var(--c-black);

	--c-input-border: #d2d2d2;
	--c-input-bg: var(--c-white);
}

:root {
	--site-max-width: 1290px;
	--gutter: 20px;
}

:root {
	--f-sans: "futura-pt", sans-serif;
	--f-serif: "Playfair Display", serif;

	--fs-h1: 48px;
	--lh-h1: 1.29;
	--fs-h1-sm: 32px;
	--lh-h1-sm: 1.29;
	--ff-h1: var(--f-sans);
	--fw-h1: 900;
	--tt-h1: uppercase;

	--fs-h2: 34px;
	--lh-h2: 1.7;
	--fs-h2-sm: 24px;
	--lh-h2-sm: 1.7;
	--ff-h2: var(--f-sans);
	--fw-h2: 900;
	--tt-h2: uppercase;

	--fs-h3: 28px;
	--lh-h3: 1.32;
	--fs-h3-sm: 24px;
	--lh-h3-sm: 1.32;
	--ff-h3: var(--f-serif);
	--fw-h3: 400;
	--tt-h3: uppercase;

	--fs-h4: 22px;
	--lh-h4: 1.2;
	--fs-h4-sm: 18px;
	--lh-h4-sm: 1.2;
	--ff-h4: var(--f-serif);
	--fw-h4: 400;
	--tt-h4: none;

	--fs-h5: 18px;
	--lh-h5: 1.5;
	--fs-h5-sm: 16px;
	--lh-h5-sm: 1.5;
	--ff-h5: var(--f-serif);
	--fw-h5: 400;
	--tt-h5: none;

	--fs-h6: 14px;
	--lh-h6: 2;
	--fs-h6-sm: 14px;
	--lh-h6-sm: 2;
	--ff-h6: var(--f-serif);
	--fw-h6: 400;
	--tt-h6: none;

	--fs-body: 24px;
	--lh-body: 1.75;
	--ff-body: var(--f-serif);

	--fs-body-smaller: 18px;
	--lh-body-smaller: 1.77;
	--ff-body-smaller: var(--f-serif);
}

/*
 * Media Queries
 */

/* 400px */

/* 480px */

/* 768px */

/* 1024px */

/* 1280px */

/* 1440px */

/* WP Core Breakpoints (used for the admin bar for example) */

:root {
	--vertical-spacing-xxlarge: 100px;
	--vertical-spacing-xlarge: 60px;
	--vertical-spacing-large: 40px;
	--vertical-spacing-medium: 30px;
	--vertical-spacing-small: 20px;
	--vertical-spacing-xsmall: 15px;
	--vertical-spacing-xxsmall: 5px;
}

.related-content {
	overflow: hidden;
	padding-bottom: 70px;
	padding-top: 70px;
	position: relative
}

.related-content:not([class*="mt-"]) {
		margin-top: 40px
	}

@media ( min-width: 64em ) {

.related-content:not([class*="mt-"]) {
			margin-top: 80px
	}
		}

.related-content:not([class*="mb-"]) {
		margin-bottom: 40px
	}

@media ( min-width: 64em ) {

.related-content:not([class*="mb-"]) {
			margin-bottom: 80px
	}
		}

.csc-theme .related-content {
		left: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		width: 100vw
}

.related-content .container {
		position: relative;
		z-index: 2;
	}

.related-content__background {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 0;
}

.related-content__image {
	bottom: 0;
	display: block;
	height: 100%;
	left: 0;
	-o-object-fit: cover;
	   object-fit: cover;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 0;
}

.related-content__title {
	margin-top: 0;
}

.related-content ul.related-content__slider {
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.related-content__item {
	padding: 20px;
}

.related-content__description {
	margin-left: auto;
	margin-right: auto;
	max-width: 673px;
	text-align: center;
}

