

nav.content-list-ol,
nav.content-list-ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

nav.content-list-ol *,
nav.content-list-ul * {
	display: block;
	padding: 0;
	margin: 0;
	text-decoration: none !important;
	color: inherit !important;
	font-weight: normal !important;
	list-style-type: none;
}

nav.content-list-ol li,
nav.content-list-ul li {

}

/* Custom numbered list: hide default markers and show styled numbers */
nav.content-list-ol {
	counter-reset: content-list-counter;
}

nav.content-list-ol li {
	counter-increment: content-list-counter;
	position: relative;
	padding-left: 40px; /* space for the number badge */
	margin-bottom: 10px;
}

nav.content-list-ol li::before {
	content: counter(content-list-counter);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--content-list-counter-bg, #000);
	color: var(--content-list-counter-color, #fff);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 600;
}

nav.content-list-ul li a {
	background-color: #f2f2f2;
	border-radius: 5px;
	padding: 10px 15px;
	margin-bottom: 10px;
}

nav.content-list-ul li a:active {
	background-color: #e0e0e0;
}

/* Content List — Card layout */
.content-list-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
}

.content-list-card {
  display: block;
  font-size: inherit !important;
  font-weight: normal !important;
  color: inherit !important;
  text-decoration: none !important;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(24,24,24,0.06);
	overflow: hidden;
	align-items: stretch;
	width: calc(50% - 10.666px); /* two columns by default */
	min-width: 260px;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.content-list-card:hover {
	box-shadow: 0 10px 30px rgba(24,24,24,0.10);
	transform: translateY(-4px);
}

.content-list-card-header {

}

.content-list-card-header {
	position: relative;
  margin: 0;
  padding: 0;
}

.content-list-card > h2 {
	font-size: 115% !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	padding-bottom: 8px;
}

.content-list-card-header > figure {
	text-align: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background-color: #f2f2f2;
	overflow: hidden;
}

.content-list-card-header > figure > img {
	height: auto;
	object-fit: cover;
	display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.content-list-card-header > figure.has-title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  min-height: 140px; /* optional: control vertical space */
  box-sizing: border-box;
  text-align: center;
}

.content-list-card-body > h2,
.content-list-card-header > figure.has-title > h2 {
	font-size: 115% !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
  margin: 0 !important;
}

.content-list-card-author-image {
	display: inline-block;
	position: absolute;
	border: 5px solid #fff;
	border-radius: 74px;
	width: 74px;
	height: 74px;
	left: calc(50% - 37px);
	bottom: -37px;
	z-index: 3;
}

.content-list-card-body {
	margin-top: 25px;
	padding: 25px;
}

.content-list-card-body > h2 {
	font-size: 20px !important;
	margin-bottom: 10px !important;
}

.content-list-card-body > p {
	/* font-size: 80% !important;
	line-height: 1.35 !important; */
}

/* Make cards fill their parent in smaller columns */
@media (max-width: 1100px) {
	.content-list-card { width: calc(50% - 8px); }
}

/* Mobile: single column, stack card internals vertically */
@media (max-width: 680px) {
	.content-list-cards { display: block; }
	.content-list-card {
		display: block;
		width: 100%;
		margin-bottom: 16px;
	}
	.content-list-card > img { width: 100%; flex: none; }
	.content-list-card > h3, .content-list-card > p { padding-left: 12px; padding-right: 12px; }

	.content-list-card-header > figure.has-title > h3 {
		font-size: 32px;
		line-height: 1.25
	}

	nav.content-list-ol li { padding-left: 48px; }
	nav.content-list-ol li::before { width: 34px; height: 34px; }
}

