/* ==========================================================================
   LAYOUT PANORÁMICO WIDESCREEN (16:9 / FULL WIDTH OPTIMIZATION)
   ========================================================================== */
.site-container,
.content-container,
.content-wrap,
#wrapper .site-container,
.entry-hero-container-inner,
.site-header-row-container-inner,
.site-footer-row-container-inner {
	max-width: 1600px !important;
	width: 95% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.entry-content-wrap,
.content-area,
.site-main {
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: 100% !important;
}

.vb-dashboard-wrapper {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #fff;
	width: 100%;
}

/* Filter Bar & Toolbar */
.vb-filter-bar {
	display: flex;
	gap: 15px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.vb-filters-toolbar {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 28px;
	flex-wrap: wrap;
	margin: 0 auto 35px auto;
	max-width: fit-content;
	background: #1c2336;
	border: 1px solid #2c3852;
	border-radius: 14px;
	padding: 12px 24px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

body:not(.victologo-dark-mode) .vb-filters-toolbar {
	background: #ffffff;
	border-color: #e2e8f0;
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.vb-filter-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.vb-filter-row:not(:last-child)::after {
	content: '';
	display: block;
	width: 1px;
	height: 24px;
	background: #2c3852;
	margin-left: 16px;
}

body:not(.victologo-dark-mode) .vb-filter-row:not(:last-child)::after {
	background: #e2e8f0;
}

@media (max-width: 768px) {
	.vb-filters-toolbar {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		max-width: 100%;
		gap: 12px;
		padding: 14px 16px;
	}
	.vb-filter-row {
		justify-content: center;
		width: 100%;
	}
	.vb-filter-row:not(:last-child)::after {
		display: none;
	}
}

.vb-filter-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	min-width: 55px;
}

body:not(.victologo-dark-mode) .vb-filter-label {
	color: #64748b;
}

.vb-filter-pills {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.vb-filter-pill {
	background: transparent;
	border: 1.5px solid #334155;
	color: #cbd5e1;
	padding: 6px 16px;
	border-radius: 20px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.88rem;
	transition: all 0.2s ease;
}

.vb-filter-pill:hover {
	border-color: #ea6b14;
	color: #ea6b14;
}

.vb-filter-pill.active {
	background: #ea6b14;
	border-color: #ea6b14;
	color: #ffffff !important;
	box-shadow: 0 3px 10px rgba(234, 107, 20, 0.35);
}

body:not(.victologo-dark-mode) .vb-filter-pill {
	border-color: #cbd5e1;
	color: #475569;
}

body:not(.victologo-dark-mode) .vb-filter-pill:hover {
	border-color: #ea6b14;
	color: #ea6b14;
}

body:not(.victologo-dark-mode) .vb-filter-pill.active {
	background: #ea6b14;
	border-color: #ea6b14;
	color: #ffffff !important;
}

.vb-filter-btn {
	background: transparent;
	color: #999;
	border: 1px solid #444;
	padding: 8px 16px;
	border-radius: 20px;
	cursor: pointer;
	font-weight: 500;
	transition: all 0.2s;
}

.vb-filter-btn:hover {
	color: #fff;
	border-color: #777;
}

.vb-filter-btn.active {
	background: #ea6b14;
	color: #fff;
	border-color: #ea6b14;
}

/* ==========================================================
   ACORDEÓN DE CURSOS COMPLETADOS (100%)
   ========================================================== */
.vb-completed-section {
	margin-top: 35px;
	margin-bottom: 45px;
}

.vb-completed-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #1c2336;
	border: 1px solid #2c3852;
	padding: 14px 22px;
	border-radius: 12px;
	cursor: pointer;
	color: #f8fafc;
	font-size: 1rem;
	font-weight: 700;
	transition: all 0.25s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.vb-completed-toggle:hover {
	border-color: #10b981;
	background: #232c44;
}

body:not(.victologo-dark-mode) .vb-completed-toggle {
	background: #ffffff;
	border-color: #e2e8f0;
	color: #0f172a;
	box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

body:not(.victologo-dark-mode) .vb-completed-toggle:hover {
	border-color: #10b981;
	background: #f8fafc;
}

.vb-completed-content {
	display: none;
	margin-top: 25px;
}

/* Sections */
.vb-section-title {
	font-size: 28px;
	font-weight: 800;
	color: #fff !important;
	margin-bottom: 25px;
	letter-spacing: -0.5px;
	text-align: center;
}

/* Grid */
.vb-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 50px;
	justify-content: center;
}

/* Adaptación: 1 solo elemento centrado en el medio */
.vb-dashboard-grid.vb-grid-1,
.vb-dashboard-grid:has(> .vb-item:only-child) {
	display: flex !important;
	justify-content: center !important;
	width: 100% !important;
}

.vb-dashboard-grid.vb-grid-1 > .vb-item,
.vb-dashboard-grid:has(> .vb-item:only-child) > .vb-item {
	width: 100% !important;
	max-width: 440px !important;
	flex: 0 0 auto !important;
}

/* Adaptación: 2 elementos centrados en 2 columnas proporcionadas */
.vb-dashboard-grid.vb-grid-2,
.vb-dashboard-grid:has(> .vb-item:first-child:nth-last-child(2)) {
	display: flex !important;
	justify-content: center !important;
	gap: 32px !important;
	width: 100% !important;
}

.vb-dashboard-grid.vb-grid-2 > .vb-item,
.vb-dashboard-grid:has(> .vb-item:first-child:nth-last-child(2)) > .vb-item {
	width: calc(50% - 16px) !important;
	max-width: 440px !important;
	flex: 0 0 auto !important;
}

@media (max-width: 768px) {
	.vb-dashboard-grid {
		grid-template-columns: 1fr;
	}
	.vb-dashboard-grid.vb-grid-2 {
		flex-direction: column !important;
		align-items: center !important;
	}
	.vb-dashboard-grid.vb-grid-2 > .vb-item {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Card */
.vb-course-card {
	background: #1c2336; /* +15% más claro, tono slate-navy premium y descansado */
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s;
	border: 1px solid #2c3852;
}

.vb-course-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.4);
	border-color: rgba(234, 107, 20, 0.4); /* Borde naranja sutil en hover */
}


.vb-course-thumb {
	aspect-ratio: 16 / 9;
	height: auto;
	background-size: cover;
	background-position: center;
	position: relative;
	border-bottom: 2px solid #ea6b14;
	background-color: #253047; /* Fallback color */
	background-image: linear-gradient(135deg, #253047, #141926); /* Gradient si no hay img */
}


.vb-course-info {
	padding: 25px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.vb-course-title {
	margin: 0 0 8px 0 !important;
	font-size: 25px !important;
	line-height: 1.3 !important;
	color: #ffd4a8 !important; /* Naranja pálido/melocotón — warm, premium, coherente con la marca */
	font-weight: 800 !important;
	text-align: center;
	letter-spacing: -0.01em;
}

.vb-course-excerpt {
	font-size: 15px;
	color: #94a3b8;
	font-weight: 500;
	margin-bottom: 14px;
	line-height: 1.45;
	text-align: center;
}

.vb-course-desc {
	font-size: 13px;
	color: #8b92a5;
	margin-bottom: 25px;
	line-height: 1.5;
	text-align: center;
}

.vb-course-meta {
	font-size: 16px;
	color: #8b92a5;
	margin-bottom: 20px;
	text-align: center;
}

.vb-course-progress {
	margin-top: auto;
	margin-bottom: 20px;
}

.vb-progress-bar {
	height: 6px;
	background: #2d2f40;
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 8px;
}

.vb-progress-fill {
	height: 100%;
	background: #ea6b14;
	border-radius: 3px;
	transition: width 0.5s ease-in-out;
}

.vb-progress-text {
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	display: block;
}

/* Acciones en fila (Para el botn "Ms info" y el precio) */
.vb-actions-row {
	display: flex;
	gap: 15px;
	margin-top: auto;
}

/* Button */
.vb-btn-action {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ea6b14;
	color: #fff !important;
	padding: 12px 15px;
	border-radius: 4px;
	text-decoration: none !important;
	font-weight: 800;
	transition: all 0.2s;
	font-size: 17px;
	flex: 1;
	border: none;
	flex: 1;
	border: none;
}

.vb-btn-action:hover {
	background: #f07d2a; /* Naranja claro — contraste visible vs el naranja base */
	transform: translateY(-1px);
}

/* Empty State */
.vb-empty-state {
	text-align: center;
	padding: 50px 20px;
	background: #1c2336;
	border-radius: 12px;
	border: 2px dashed #2c3852;
	color: #94a3b8;
}

/* Sobrescribir en caso de Modo Claro para que encaje */
body:not(.victologo-dark-mode) .vb-section-title {
	color: #111 !important;
}

/* --- ESTILOS PARA MODO CLARO --- */
body:not(.victologo-dark-mode) .vb-dashboard-wrapper {
	color: #333;
}
body:not(.victologo-dark-mode) .vb-course-card {
	background: #ffffff;
	border-color: #e2e8f0;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
body:not(.victologo-dark-mode) .vb-course-title {
	margin: 0 0 8px 0 !important;
	font-size: 25px !important;
	line-height: 1.3 !important;
	color: #1e293b !important; /* Navy oscuro, sobrio y premium en fondo blanco */
	font-weight: 800 !important;
	text-align: center;
	letter-spacing: -0.01em;
}
body:not(.victologo-dark-mode) .vb-course-excerpt {
	color: #475569;
}
body:not(.victologo-dark-mode) .vb-course-desc {
	color: #64748b;
}
body:not(.victologo-dark-mode) .vb-course-meta {
	color: #64748b;
}
body:not(.victologo-dark-mode) .vb-progress-bar {
	background: #e2e8f0;
}
body:not(.victologo-dark-mode) .vb-progress-text {
	color: #334155;
}
body:not(.victologo-dark-mode) .vb-course-price {
	color: #1e293b;
}
body:not(.victologo-dark-mode) .vb-empty-state {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #475569;
}


/* Responsive estricto para mantener la proporción */
@media (max-width: 1024px) {
	.vb-dashboard-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.vb-dashboard-grid {
		grid-template-columns: 1fr;
	}
}


/* Mejoras para el botn secundario (Ms info) */
.vb-btn-secondary:hover {
	background: #ea6b14 !important;
	color: #fff !important;
}

/* ==========================================================
   ESTILOS DE LA SECCIÓN PRÓXIMAMENTE
   ========================================================== */
.vb-thumb-coming-soon {
	position: relative;
	filter: grayscale(85%);
	background-color: #1e293b;
	overflow: hidden;
}

.vb-coming-soon-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(2px);
}

.vb-coming-soon-badge {
	background: rgba(234, 107, 20, 0.95);
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 800;
	padding: 6px 14px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.vb-btn-disabled {
	cursor: not-allowed !important;
	pointer-events: none !important;
	user-select: none !important;
}