/* =================================================================================================
	INJECTOR: legacy-cdi-edi (live name: cdi_temporary_blocks)

	LOADS ON: /node/43236  CDI Resources
	          /node/43251  CDI Student Organizations
	          /node/43471  Equity, Diversity & Inclusion
	================================================================================================= */


/*------------------------------------------------------------------------------
	Content Cards view (/node/43236, /node/43251)
	----------------------------------------------------------------------------*/
.eng-content-card-view .row {
	--bs-gutter-y: 1.5rem;
}

.eng-content-card-view .col-12 > .views-field-nothing {
	height: 100%;
}

.eng-content-card-view .col-12 > .views-field-nothing > .field-content {
	height: 100%;
	display: flex;
}

.eng-content-card {
	border: 3px solid #d73f09;
	border-radius: 5px;
	padding: 50px;
	box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.12);
	display: flex;
	flex-direction: column;
	background: #fff;
	flex-grow: 1;
	position: relative;
}

.eng-content-card header {
	font-family: "Stratum2Web", serif;
	color: #212529;
	font-feature-settings: 'liga' off, 'clig' off;
	font-size: 24px;
	font-style: normal;
	font-weight: 900;
	line-height: 130%; /* 31.2px */
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-bottom: 24px;
}

.eng-content-card--body {
	line-height: 150%;
}

.eng-content-card--footer {
	margin-top: auto;
	padding-top: 15px;
}

.eng-content-card .orange-arrow-link {
	margin-right: 30px !important;
}

/* Stretched link: whole card is clickable */
.eng-content-card .orange-arrow-link a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 5;
}

/* Social links sit above the stretched link */
.eng-content-card--social a {
	position: relative;
	z-index: 6;
}

.eng-content-card-view .story-card {
	margin-top: 32px !important;
	width: 100% !important;
}


/*------------------------------------------------------------------------------
	Content With Image block (/node/43471)
	----------------------------------------------------------------------------*/
.block-inline-blockcontent-with-image {
	border-radius: 5px;
	border: 1px solid #F8F9FA;
	background: #FFF;
	box-shadow: 2px 4px 8px 0px rgba(0, 0, 0, 0.08);
	width: 100%;
}

.field--name-field-content-with-image-title {
	font-family: "Open Sans" !important;
	font-size: 20px !important;
	font-style: normal !important;
	font-weight: 600 !important;
	line-height: normal;
	text-transform: capitalize;
	padding: 20px 30px 10px 30px;
}

.field--name-field-content-with-image-content {
	font-size: 18px !important;
	padding-left: 30px;
	padding-right: 30px;
}

/* Call to action link */
.field--name-field-content-with-image-cta {
	padding: 20px 30px 40px 30px;
	display: inline-block;
	background-position: 100%;
}

.field--name-field-content-with-image-cta a {
	font-family: Stratum2Web;
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #D73F09 !important;
	text-decoration: none !important;
	background-image: url(/modules/custom/osu_custom_blocks/dist/arrow-right-red.c4e9b645.svg);
	background-position: 100%;
	background-repeat: no-repeat;
	background-size: 20px;
	padding-right: 25px;
	margin-right: 10px;
	margin-top: 18px;
	transition: 0.2s ease;
	border-bottom: none;
}

.field--name-field-content-with-image-cta a:hover {
	padding-right: 35px;
	margin-right: 0px;
	border-bottom: none;
}

.field--name-field-content-with-image-cta a:active,
.field--name-field-content-with-image-cta a:focus {
	background-color: transparent !important;
	color: #BE3706 !important;
	padding-right: 35px !important;
	border-bottom: none !important;
}

/* Image-left view mode */
.block--type-content-with-image.block--view-mode-image-left {
	margin-bottom: 30px;
}

.block--type-content-with-image.block--view-mode-image-left .field--name-field-content-with-image-title {
	color: #000;
}

.block--type-content-with-image.block--view-mode-image-left .block__content {
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.block--type-content-with-image.block--view-mode-image-left .field--name-field-content-with-image-image {
	margin: 0 !important;
}

/* Wide story card: whole card is clickable */
.story-card-wide {
	position: relative;
}

.story-card-wide a::before {
	content: "";
	position: absolute;
	inset: 0;
}

@media screen and (max-width: 991px) {
	.story-card-wide.block--type-content-with-image.block--view-mode-image-left .block__content {
		flex-direction: column !important;
	}
}
