.tapelia-cursos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin: 1.5rem 0;
}

.tapelia-curso {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
}

.tapelia-curso--single {
	max-width: 980px;
	margin: 2rem auto;
}

.tapelia-curso__poster {
	background: #f1f5f9;
	line-height: 0;
}

.tapelia-curso__poster img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 460px;
	object-fit: cover;
}

.tapelia-curso__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5rem;
}

.tapelia-curso__eyebrow {
	margin: 0 0 .35rem;
	color: #b45309;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.tapelia-curso__title {
	margin: 0 0 .75rem;
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	line-height: 1.15;
}

.tapelia-curso__title a {
	color: inherit;
	text-decoration: none;
}

.tapelia-curso__title a:hover,
.tapelia-curso__title a:focus {
	text-decoration: underline;
}

.tapelia-curso__summary {
	margin: 0 0 1rem;
	color: #475569;
}

.tapelia-curso__details {
	display: grid;
	gap: .65rem;
	margin: 0 0 1.5rem;
}

.tapelia-curso__detail {
	display: flex;
	gap: .5rem;
	justify-content: space-between;
	padding-bottom: .55rem;
	border-bottom: 1px solid #eef2f7;
}

.tapelia-curso__detail dt {
	color: #64748b;
	font-size: .92rem;
}

.tapelia-curso__detail dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}

.tapelia-curso__description {
	margin: .25rem 0 1.5rem;
}

.tapelia-curso__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	margin-top: auto;
	padding: .75rem 1rem;
	border-radius: 8px;
	background: #b45309;
	color: #fff;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s ease, transform .15s ease;
}

.tapelia-curso__button:hover,
.tapelia-curso__button:focus {
	background: #92400e;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.tapelia-cursos-empty {
	padding: 1rem;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
}

