.th3ec-list {
	--th3ec-accent: #2f6f4f;
	--th3ec-accent-soft: #eaf3ee;
	--th3ec-border: #e1ddd3;
	--th3ec-text-muted: #6b6459;
	margin: 1.5rem 0;
	font-size: 15px;
}

.th3ec-list__title {
	text-align: center;
	font-weight: 400;
	margin: 0 0 1.5rem;
}

.th3ec-list__search {
	background: #f5f1ea;
	border-radius: 6px;
	padding: 0.9rem 1.1rem;
	margin-bottom: 0.75rem;
}

.th3ec-list__search-input {
	width: 100%;
	border: 0;
	background: transparent;
	font-size: 1rem;
	outline: none;
}

.th3ec-list__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
	position: relative;
}

.th3ec-list__btn {
	border: 1px solid var(--th3ec-border);
	background: #fff;
	border-radius: 6px;
	padding: 0.55rem 1rem;
	font-size: 0.9rem;
	cursor: pointer;
	color: inherit;
}

.th3ec-list__btn:hover {
	border-color: var(--th3ec-accent);
}

.th3ec-list__btn.is-active {
	background: var(--th3ec-accent);
	border-color: var(--th3ec-accent);
	color: #fff;
}

.th3ec-list__location {
	border: 1px solid var(--th3ec-border);
	background: #fff;
	border-radius: 6px;
	padding: 0.55rem 1rem;
	font-size: 0.9rem;
	color: inherit;
}

.th3ec-list__range {
	position: relative;
}

.th3ec-list__range-panel {
	position: absolute;
	top: calc( 100% + 0.4rem );
	left: 0;
	z-index: 20;
	background: #fff;
	border: 1px solid var(--th3ec-border);
	border-radius: 6px;
	padding: 0.9rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.08 );
}

.th3ec-list__range-panel[hidden] {
	display: none;
}

.th3ec-list__range-panel label {
	width: 100%;
	font-size: 0.8rem;
	color: var(--th3ec-text-muted);
}

.th3ec-list__range-panel input[type="date"] {
	border: 1px solid var(--th3ec-border);
	border-radius: 4px;
	padding: 0.4rem;
}

.th3ec-list__reset {
	margin-left: auto;
	color: var(--th3ec-text-muted);
}

.th3ec-list__meta {
	font-size: 0.85rem;
	color: var(--th3ec-text-muted);
	margin-bottom: 1rem;
}

.th3ec-list__grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: 1.25rem;
}

@media ( max-width: 1100px ) {
	.th3ec-list__grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

@media ( max-width: 780px ) {
	.th3ec-list__grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 520px ) {
	.th3ec-list__grid {
		grid-template-columns: 1fr;
	}

	.th3ec-list__reset {
		margin-left: 0;
	}
}

.th3ec-card {
	display: block;
	border-bottom: 1px solid var(--th3ec-border);
	padding-bottom: 0.75rem;
	text-decoration: none;
	color: inherit;
}

.th3ec-card:hover .th3ec-card__title {
	color: var(--th3ec-accent);
}

.th3ec-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	margin-bottom: 0.6rem;
	background: #f5f1ea;
}

.th3ec-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.th3ec-card__img.is-placeholder {
	object-fit: contain;
	/*padding: 1.25rem;*/
	box-sizing: border-box;
	opacity: 0.8;
}

.th3ec-card__eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: var(--th3ec-text-muted);
	text-transform: uppercase;
}

.th3ec-card__more,
.th3ec-card__time  {
	font-weight: 600;
	color: var(--th3ec-accent);
	text-transform: none;
	letter-spacing: normal;
}
/*
.th3ec-card__time {
	font-size: 1.3rem;
	font-weight: 700;
	border-bottom: 1px solid var(--th3ec-border);
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
}*/

.th3ec-card__category {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--th3ec-text-muted);
	margin-top: 0.5rem;
	display: none;
}

.th3ec-card__title {
	font-weight: 700;
	margin: 0.15rem 0 0.25rem;
	line-height: 1.3;
}

.th3ec-card__location {
	font-size: 0.85rem;
	color: var(--th3ec-text-muted);
}

.th3ec-list__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.th3ec-list__page-btn {
	border: 1px solid var(--th3ec-border);
	background: #fff;
	border-radius: 6px;
	padding: 0.5rem 1.1rem;
	cursor: pointer;
}

.th3ec-list__page-btn:disabled {
	opacity: 0.4;
	cursor: default;
}

.th3ec-list__page-label {
	font-size: 0.9rem;
	color: var(--th3ec-text-muted);
}
