.info-grid .ck.ck-editor__editable_inline > *:first-child,
.info-grid .ck.ck-editor__editable_inline > *:last-child {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

body .info-grid .text-wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.program-contact-item{
	display:flex;
	align-items: center;
	gap: 1em;
}

/* LARGE INFO BOX */
.large-info-wrapper {
	background-color: rgba(245, 243, 242, 1);
	padding: 10px;
	border-radius: 20px;
	min-height: 450px;
	width: 599px;
	display: flex;
	flex-direction: column;

	&.no-header {
		.large-info-body-box {
			height: calc(100% - 20px);
			margin-top: 0;
		}
	}
}

.large-info-header{
	background-color: #0a5087;
	color: white;
	text-align: center;
	padding: 10px;
	border-radius: 15px;
	font-family: 'Public Sans';
	min-height: 48px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;

	.text-wrapper,
	.text-block-initialized {
		width: 100%;
		text-align: center;
	}

	p {
		color: white;
		margin: 0;
		text-align: center;
		font-size: 24px;
		font-weight: 500;
		line-height: 29px;
	}

	.ck-editor__editable {
		text-align: center;
	}
}

.large-info-body-box {
	background-color: #ffffff;
	border-radius: 15px;
	color: #2e2e2e;
	font-size: 15px;
	line-height: 24px;
	font-weight: 400;
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* INFO GRID COMPONENT */
.info-grid {
	display: flex;
	gap: 30px;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto 80px auto !important;
	align-items: stretch;

	min-height: 450px;
	&.reverse {
		flex-direction: row-reverse;
	}

	.info-grid-small-column {
		display: flex;
		flex-direction: column;
		gap: 30px;
		flex: none;
		width: 340px;
		min-width: 0;
		height: 100%;

		min-height: 450px;
		justify-content: flex-start;

		.info-box {
			width: 100%;
			margin: 0;
			flex: 1;
		}
	}

	&.no-boxes {
		.info-grid-large-column {
			flex: 1;
			max-width: 100%;

			.large-info-wrapper {
				max-width: 100%;
			}
		}
	}

	.info-grid-large-column {
		display: flex;
		min-height: 450px;
		flex-direction: column;
		height: 100%;
		flex: 1;
		min-width: 0;

		.large-info-wrapper {
			width: 100%;
			height: 100%;
			min-height: 450px;
			margin: 0;
		}

		.large-info-body-box {
			p {
				margin-bottom: 10px;

				&:last-child {
					margin-bottom: 0;
				}
			}
		}
	}
}

.program-contact-item p{
	font-size: 16px;
}

.info-grid-box {
	background-color: rgba(245, 243, 242, 1);
	border-radius: 20px;
	padding: 30px;
	font-size: 16px;
	line-height: 25px;
	color: #002e5d;
	font-weight: 600;
	font-family: 'Open Sans';
	justify-content: flex-start;
	display: flex;
	flex-direction: column;
	height: 210px;
	width: 340px;

	.info-grid-header {
		text-align: center;
		font-size: 25px;
		margin-bottom: 15px;
		display: block;
		font-weight: 700;
		flex-shrink: 0;
	}

	justify-content: center;
	.info-grid-content {
		flex: 1;
		display: flex;
		flex-direction: column;
		row-gap: 10px;

		h5 {
			margin-bottom: 0px !important;
			color: #002e5d !important;
		}

		&.centered {
			text-align: center;
			justify-content: center;
		}

		p {
			font-size: 16px;
		}

		&.v-centered {
			justify-content: center;
		}
	}
}

/* Responsive tweak */
@media (max-width: 768px) {
	.large-info-header p {
		font-size: 18px;
		color: white;
	}

	.large-info-wrapper {
		width: 100%;
		max-width: 599px;
		height: auto;
		min-height: 350px;
	}

	.info-box {
		width: 100%;
		max-width: 340px;
		flex: none;
		height: auto;
		min-height: 175px;
	}

	.info-grid {
		flex-direction: column;
		gap: 25px;
		max-width: none;

		&.reverse {
			flex-direction: column;
		}

		.info-grid-small-column {
			gap: 25px;
			width: 100%;
		}

		.info-grid-large-column {
			flex: none;
		}

		.info-grid-box {
			padding: 35px;
			width: 100%;
			max-width: 340px;
			margin: 0 auto;
		}
	}
}

.panel-card {
	background: rgba(245, 243, 242, 1);
	border-radius: 20px;
	padding: 10px;
	min-height: 210px;
	max-width: 370px;
	width: 100%;
	display: flex;
	flex-direction: column;
	margin: 0 auto;
}

.panel-card-header {
	background: #0a5087;
	color: #fff;
	font-family: 'Public Sans', sans-serif;
	font-size: 22px;
	font-weight: 600;
	text-align: center;
	padding: 12px 0 10px 0;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	letter-spacing: 0.5px;
}

.panel-card-content {
	background: #fff;
	color: #222;
	font-size: 15px;
	line-height: 1.6;
	padding: 18px 18px 12px 18px;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
	flex: 1;

	ul.no-bullets {
		margin-top: 0;
	}

	li:last-child {
		margin-bottom: 0;
	}

	p:last-child {
		margin-bottom: 0;
	}
}

.panel-card-row {
	display: flex;
	gap: 32px;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
}

.no-bullets {
	list-style: none;
	padding-left: 0;
	margin: 0 0 10px 0;
}

@media (max-width: 900px) {
	.resource-panel-row {
		flex-direction: column;
		gap: 24px;
		align-items: center;
	}
}
