/* Panel Card Component Styles */

.panel-card-header {
  color: #fff !important;
  padding: 12px 12px 10px 10px !important;
}

.panel-card-header * {
  color: #fff !important;
}

.panel-card-header p {
  margin: 0;
  color: #fff !important;
}

/* Ensure CKEditor content is white */
.panel-card-header [data-sdc-editable="true"] {
  color: #fff !important;
}

.panel-card-header .ck-content {
  color: #fff !important;
}

.panel-card-header .ck-content * {
  color: #fff !important;
}

.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;

	p,
	ul.no-bullets,
	li {
		margin-bottom: 10px;
	}

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

	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;
	margin: 32px 0 0 0;
}

.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;
	}
}
