*{
	box-sizing:border-box;
}
body{
	overflow-x:hidden;
}
.links-section-wrapper {
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	padding: 0;
}

.links-section-title {
	font-size: 24px;
	font-weight: 600;
	color: #222;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid #ddd;
}

.links-grid-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 5px 24px;
	margin-bottom: 0;
	width: 100%;
}

.links-card {
	display: flex;
	flex-direction: column;
	background-color: transparent;
	border-radius: 0;
	padding: 20px;
	height: 100%;
}

.links-card-title {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
	padding-bottom: 12px;
	border-bottom: 2px solid #ddd;
	color: #222;
	min-height: 48px;
	display: flex;
	align-items: center;
	width: 100%;
}

.links-card-list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex-grow: 1;
	margin-top: 16px;
}

.links-card-list li {
	margin-bottom: 12px;
}

.links-card-list li.links-expand-item {
	margin-top: 8px;
	padding-top: 0;
	border-top: none;
}

.links-card-list a {
	color: #3F647C;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	display: inline-block;
	transition: all 0.2s ease;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	font-family: inherit;
}

.links-card-list a:hover {
	color: #2a4158;
	text-decoration: underline;
}

.links-card-list li.links-expand-item a {
	font-weight: 500;
	color: #222;
	background-color: #E8E9EC;
	padding: 8px 20px;
	border-radius: 24px;
	text-decoration: none;
	display: inline-block;
	transition: all 0.2s ease;
	text-align: left;
}

.links-card-list li.links-expand-item a:hover {
	background-color: #dce0e7;
	text-decoration: none;
	color: #555;
}

/* Tablet breakpoint (1024px and below) */
@media (max-width: 1023px) {
	.links-section-wrapper {
		padding: 0;
	}

	.links-section-title {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.links-grid-container {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 20px 20px;
		width: 100%;
	}

	.links-card {
		padding: 18px;
		width: 100%;
	}

	.links-card-title {
		font-size: 15px;
		padding-bottom: 10px;
		min-height: 44px;
	}

	.links-card-list {
		margin-top: 14px;
	}

	.links-card-list li {
		margin-bottom: 10px;
	}

	.links-card-list a {
		font-size: 13px;
	}
}

/* Mobile breakpoint (767px and below) */
@media (max-width: 767px) {
	.links-section-wrapper {
		padding: 0;
	}

	.links-section-title {
		font-size: 18px;
		margin-bottom: 18px;
	}

	.links-grid-container {
		grid-template-columns: 1fr !important;
		gap: 16px 0;
		width: 100%;
	}

	.links-card {
		padding: 16px;
		width: 100%;
	}

	.links-card-title {
		font-size: 14px;
		padding-bottom: 8px;
		min-height: 40px;
	}

	.links-card-list {
		margin-top: 12px;
	}

	.links-card-list li {
		margin-bottom: 8px;
	}

	.links-card-list a {
		font-size: 13px;
	}
}

/* Ensure all cards in a row have equal height */
.links-grid-container {
	align-items: stretch;
}

.links-card {
	min-width: 0;
	/* width: 100%; */
}