:root {
	--of-red: #c0392b;
	--of-red-hover: #a5301f;
	--of-dark: #1a1a1a;
	--of-bg: #f5f5f0;
	--of-card-bg: #ffffff;
	--of-border: #e2e8f0;
	--of-text-main: #1f2937;
	--of-text-muted: #6b7280;
	--of-green: #10b981;
}

.talleres-page-content {
	max-width: 1320px;
	margin: 0 auto;
	padding: 1rem 20px 0;
}

/* BREADCRUMB (mismas clases que Ofertas) */
.subnav {
	background-color: var(--of-card-bg);
	border-bottom: 1px solid var(--of-border);
	padding: 12px 20px;
}

.breadcrumb-container {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--of-text-muted);
	flex-wrap: wrap;
}

.breadcrumb-container a {
	color: var(--of-text-muted);
	text-decoration: none;
	transition: color 0.2s;
}

.breadcrumb-container a:hover {
	color: var(--of-red);
}

.breadcrumb-container i {
	font-size: 10px;
}

/* CABECERA DE PAGINA */
.talleres-header {
	max-width: 1320px;
	margin: 0 auto;
	padding: 24px 20px 0;
}

.talleres-title {
	font-size: 28px;
	font-weight: 800;
	color: var(--of-dark);
	margin-bottom: 6px;
}

.talleres-subtitle {
	font-size: 15px;
	color: var(--of-text-muted);
}

/* GRILLA DE TALLERES */
.talleres-wrapper {
	max-width: 1320px;
	margin: 24px auto;
	padding: 0 20px 3rem;
}

.talleres-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.talleres-empty {
	color: var(--of-text-muted);
	font-size: 15px;
}

.taller-card {
	background-color: var(--of-card-bg);
	border-radius: 12px;
	border: 1px solid var(--of-border);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.taller-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	border-color: #cbd5e1;
}

.taller-card-image {
	width: 100%;
	height: 180px;
	background-color: #f8fafc;
	border-bottom: 1px solid #f1f5f9;
	overflow: hidden;
}

.taller-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.taller-card-image--placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eee, #f7f7f7);
}

.taller-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.taller-card-name {
	font-size: 18px;
	font-weight: 800;
	color: var(--of-dark);
}

.taller-card-desc {
	font-size: 14px;
	color: var(--of-text-muted);
	line-height: 1.5;
	flex: 1;
}

.taller-card-offers {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--of-red);
}

.talleres-pagination {
	margin-top: 32px;
	display: flex;
	justify-content: center;
	gap: 6px;
}

/* RESPONSIVO: 3 col escritorio / 2 tablet / 1 movil */
@media (max-width: 992px) {
	.talleres-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.talleres-grid {
		grid-template-columns: 1fr;
	}
	.talleres-title {
		font-size: 22px;
	}
}
