/**
 * Panel unificado — columna derecha del home (eventos + calendario).
 */

.jursoc-sidebar-panel {
	display: flex;
	flex-direction: column;
	min-height: 0;
	width: 100%;
	padding: clamp(0.65rem, 1.2vw, 0.85rem) clamp(0.55rem, 1vw, 0.7rem);
	border-radius: 8px;
	background:
		radial-gradient(ellipse 80% 40% at 100% 0%, color-mix(in srgb, #64748b 16%, transparent), transparent 65%),
		linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f1f5f9 100%);
	border: 1px solid rgba(15, 39, 68, 0.08);
	box-shadow: 0 12px 36px rgba(15, 39, 68, 0.08);
}

.jursoc-sidebar-panel__section-title,
.jursoc-sidebar-panel .jursoc-calendar-widget__title {
	color: #576574;
}

.jursoc-sidebar-panel .jursoc-mini-cal__hint,
.jursoc-sidebar-panel .jursoc-mini-cal__table th {
	color: #576574;
}

.jursoc-sidebar-panel .jursoc-eventos-carousel__heading {
	color: #576574;
}

.jursoc-sidebar-panel__body {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.jursoc-sidebar-panel__section {
	padding-top: 0.65rem;
	margin-top: 0.65rem;
	border-top: 1px solid #e8eef4;
}

.jursoc-sidebar-panel__section--ranking {
	padding-top: 0;
	margin-top: 0;
	border-top: none;
}

.jursoc-sidebar-panel__section--ranking .jursoc-home-ranking {
	margin: 0;
}

.jursoc-sidebar-panel__section:first-child {
	padding-top: 0;
	margin-top: 0;
	border-top: none;
}

.jursoc-sidebar-panel__section-title {
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
}

/* Widgets internos: sin caja propia */
.jursoc-sidebar-panel .jursoc-calendar-widget,
.jursoc-sidebar-panel .jursoc-chat-mockup {
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

.jursoc-sidebar-panel .jursoc-calendar-widget__header {
	margin-bottom: 0.65rem;
}

.jursoc-sidebar-panel .jursoc-calendar-widget__title {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #576574;
	margin: 0 0 0.45rem;
}

.jursoc-sidebar-panel .jursoc-calendar-widget__title svg {
	width: 1rem;
	height: 1rem;
	opacity: 0.85;
}

.jursoc-sidebar-panel .jursoc-proximo-evento {
	width: 100%;
}

.jursoc-sidebar-panel .jursoc-eventos-carousel__header {
	margin-bottom: 0.45rem;
}

.jursoc-sidebar-panel .jursoc-hero-hub__countdown {
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid #e2e8f0;
	border-left: 3px solid var(--jursoc-accent, #c9a227);
	box-shadow: none;
}

.jursoc-sidebar-panel .jursoc-eventos-carousel__controls {
	margin-top: 0.35rem;
}

.jursoc-sidebar-panel .jursoc-chat-mockup__header {
	padding-top: 0;
}

@media (max-width: 1100px) {
	.jursoc-sidebar-panel {
		max-height: none;
	}
}
