.seminar-filter {
	padding: 30px 40px;
	/* border: 1px solid #f5f5f5; */
	background-color: #fff9f3;
}

.tm-filter-row {
	display: flex;
	align-items: flex-start;
	gap: 2.5em;
}

.seminar-filter> .tm-filter-row:first-child {
    margin-bottom: 2em;
}

.tm-filter-label {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
}

.filter-button:hover{
opacity: 0.75;
color: #374150!important;
}

.tm-filter-label h2 {
	color: #222;
}

.tm-filter-reset {
	font-size: 0.75em;
	color: #999!important;
	text-decoration: underline;
	margin-top: 0.5em;
}

.tm-filter-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.tm-filter-button {
	display: flex;
}

.filter-button {
	display: inline-block;
	padding: 6px 1em!important;
	border: 1px solid #ccc;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
	margin: 0!important;
}

.filter-button.active {
	background: #f69a74!important;
	border-color:#f69a74!important;
	color: #fff;
}

.tm-filter-row--audience .tm-filter-label h2::before{
content: "";
display: block;
width: 12px;
height: 12px;
background-color: #f69a74;
border-radius: 100vh;
margin-right: 12px;
border: none!important;
position: relative!important;
top: 0!important;
}

.tm-filter-row--audience .tm-filter-label h2,
.tm-filter-row--topic .tm-filter-label h2{
	display: flex;
	align-items: center;
}

.tm-filter-row--topic .tm-filter-label h2::before{
content: "";
display: block;
width: 12px;
height: 12px;
background-color: #183153;
border-radius: 100vh;
margin-right: 12px;
border: none!important;
position: relative!important;
top: 0!important;
}

.tm-filter-row--topic .filter-button.active {
	background: #183153!important;
	border-color:#182153!important;
	color: #fff;
}

@media screen and (max-width:640px) {
	.seminar-filter{
     padding: 20px;
	}

	.tm-filter-row{
		flex-direction: column;
		gap: 1em;
	}
}

/* -------------------------------------------------
 * Card list
 * Mobile: 1 column / Tablet: 2 columns / PC: 1 column
 * ------------------------------------------------- */

.seminar-list {
	display: flex;
	flex-direction: column;
	gap: 3em;
	margin-top: 60px;
}

@media (min-width: 768px) and (max-width: 1024px) {
	.seminar-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5em;
	}
}

/* -------------------------------------------------
 * Card
 * ------------------------------------------------- */

.tm-card {
	background: #fff;
	/* border: 1px solid #eee; */
	/* border-radius: 16px; */
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tm-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
	/* padding: 20px; */
}

/* Mobile / Tablet: image on top */
.tm-card__image {
	flex-shrink: 0;
}

.tm-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.tm-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	/* padding: 16px; */
}

/* -------------------------------------------------
 * Terms (chips)
 * ------------------------------------------------- */

.tm-card__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 0.75em;
}

.tm-card__term {
	display: inline-block;
	padding: 0.25em 0.9em;
	border-radius: 999px;
	font-size: 0.75em;
	font-weight: bold;
}

.tm-card__term--audience {
	color: #f69a74;
	background: #fff3e3;
}

.tm-card__term--topic {
	color: #183153;
	background: #edf3fb;
}

/* -------------------------------------------------
 * Title / Excerpt
 * ------------------------------------------------- */

.tm-card__title {
	margin: 0 0 0px!important;
	color: #222;
	font-size: 18px!important;
	line-height: 1.5;
	/* display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden; */
}

.tm-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25em 1em;
	margin-bottom: 16px;
}

.tm-card__date,
.tm-card__format {
	display: flex;
	align-items: center;
	gap: 0.35em;
	color: #f89a70;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
}

.tm-card__icon {
	display: inline-flex;
	flex-shrink: 0;
}

.tm-card__icon svg {
	width: 15px;
	height: 15px;
}

.tm-card__excerpt {
	flex: 1;
	margin-bottom: 0.75em;
}

.tm-card__excerpt p{
	color: #666;
	font-size: 0.9em;
	line-height: 1.5;
	/* display: -webkit-box; */
	/* -webkit-line-clamp: 3; */
	/* -webkit-box-orient: vertical; */
}

/* -------------------------------------------------
 * Footer
 * ------------------------------------------------- */

.tm-card__footer {
	margin-top: auto;
	font-size: 0.85em;
	text-align: right;
	display: inline-block;
	margin-right: 0;
	margin-left: auto;
    color: #f69a74 !important;
    font-size: 1.5rem;
    border: 1px solid #f69a74;
    border-radius: 100px;
    padding: 6px 30px;
}

/* -------------------------------------------------
 * PC: image left / content right, single column
 * ------------------------------------------------- */

@media (max-width: 1024px) {
	.tm-card__date {
		flex-basis: 100%;
	}

		.tm-card__content {
		padding: 20px 15px;
		gap: 0;
	}
}

@media (min-width: 1025px) {
	/* .tm-card {
		max-height: 300px;
	} */

	.tm-card__link {
		flex-direction: row;
		gap: 20px;
		padding: 30px 20px 30px 0;
	}

	.tm-card__image {
		width: auto;
		max-width: 45%;
		height: 100%;
		flex-shrink: 0;
	}

	.tm-card__image img {
		aspect-ratio: auto;
		object-fit: contain;
	}

	.tm-card__content {
		/* padding: 15px 20px 15px 0; */
		gap: 0;
	}
}
