/* Master Theses Block */

.wp-block-cdres-master-theses__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1em;
}

@media (min-width: 576px) {
	.wp-block-cdres-master-theses__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.wp-block-cdres-master-theses__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1200px) {
	.wp-block-cdres-master-theses__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Card */

.wp-block-cdres-master-theses__card {
	font-family: "TSTAR", sans-serif;
	font-weight: 900;
	font-size: 1.5em;
	min-height: 300px;
	letter-spacing: 0.05em;
	padding: 20px 20px 15px 20px;
	text-align: left;
	text-transform: uppercase;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: opacity 0.2s ease;
}

.wp-block-cdres-master-theses__card:hover {
	text-decoration: none;
	color: inherit;
}

.wp-block-cdres-master-theses__card:visited {
	color: inherit;
}

/* Card content (pushed to bottom) */

.wp-block-cdres-master-theses__card-content {
	margin-top: auto;
}

.wp-block-cdres-master-theses__title {
	font-family: "TSTAR", sans-serif;
	font-weight: 900;
	margin-top: 0;
	color: inherit;
}

.wp-block-cdres-master-theses__subtitle {
	font-size: 14px;
	line-height: 1.3em;
	color: inherit;
}

.wp-block-cdres-master-theses__card-divider {
	background-color: currentColor;
	width: 2rem;
	height: 3px;
	margin: 0.5em 0;
}

.wp-block-cdres-master-theses__author {
	font-family: "TSTAR", sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0;
	margin: 0;
	text-transform: none;
	line-height: 1.3em;
	min-height: 2.65em;
	color: inherit;
}
