/* SBP Eventos Programação */
.bpg {
	--bpg-pdf-bg: #0a0a7d;
	--bpg-pdf-tx: #fff;
	--bpg-tab-bg: #fff;
	--bpg-tab-tx: #0a0a7d;
	--bpg-tab-abg: #0a0a7d;
	--bpg-tab-atx: #fff;
	--bpg-chip-abg: #f2b230;
	--bpg-chip-atx: #0a0a7d;
	--bpg-line: #e3e2f3;
	--bpg-time-w: 100px;
}

/* Aviso */
.bpg-notice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
	padding: 12px 14px 12px 16px;
	border-radius: 12px;
	background: #fdf0d6;
}
.bpg-notice--only-btn { background: transparent; padding: 0; justify-content: flex-end; }
.bpg-notice-text { margin: 0; color: #3a3a4a; font-size: 14px; line-height: 1.5; }
.bpg-notice-text strong { color: #1e1f4a; }

.bpg a.bpg-pdf,
.bpg a.bpg-pdf:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 11px 20px;
	border-radius: 40px;
	background: var(--bpg-pdf-bg);
	color: var(--bpg-pdf-tx);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	transition: transform .2s ease, filter .2s ease;
}
.bpg a.bpg-pdf:hover { transform: translateY(-1px); filter: brightness(1.15); color: var(--bpg-pdf-tx); }

/* Abas dos dias */
.bpg-tabs {
	display: grid;
	grid-template-columns: repeat(var(--bpg-days, 3), minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 22px;
}
.bpg .bpg-tab {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid var(--bpg-line);
	border-radius: 14px;
	background: var(--bpg-tab-bg);
	color: var(--bpg-tab-tx);
	text-align: left;
	cursor: pointer;
	font: inherit;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.bpg .bpg-tab:hover { border-color: var(--bpg-tab-abg); }
.bpg .bpg-tab.is-active {
	background: var(--bpg-tab-abg);
	border-color: #000;
	border-width: 2px;
	padding: 15px 17px;
	color: var(--bpg-tab-atx);
}
.bpg-tab-week {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.3;
}
.bpg-tab-date {
	font-size: 21px;
	font-weight: 800;
	line-height: 1.2;
}

/* Filtro */
.bpg-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
}
.bpg-filter-label { margin-right: 2px; color: #1e1f4a; font-size: 12px; font-weight: 700; }
.bpg .bpg-chip {
	margin: 0;
	padding: 9px 15px;
	border: 1px solid var(--bpg-line);
	border-radius: 40px;
	background: #fff;
	color: #1e1f4a;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}
.bpg .bpg-chip:hover { border-color: var(--bpg-chip-abg); }
.bpg .bpg-chip.is-active {
	background: var(--bpg-chip-abg);
	border-color: var(--bpg-chip-abg);
	color: var(--bpg-chip-atx);
}

/* Atividades */
.bpg-panel[hidden] { display: none; }
.bpg-row {
	display: grid;
	grid-template-columns: var(--bpg-time-w) minmax(0, 1fr);
	align-items: start;
	margin-bottom: 10px;
}
.bpg-row[hidden] { display: none; }
.bpg-time {
	padding-top: 16px;
	color: #0a0a7d;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
}
.bpg .bpg-card {
	display: block;
	padding: 14px 18px 16px;
	border: 1px solid var(--bpg-line);
	border-radius: 14px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.bpg a.bpg-card:hover { border-color: #0a0a7d; box-shadow: 0 8px 22px rgba(10, 10, 125, .08); }

.bpg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 6px; }
.bpg-badge {
	display: inline-block;
	padding: 4px 9px;
	border-radius: 20px;
	background: #eceaf6;
	color: #3a3a5a;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.2;
}
.bpg-format { color: #5a5b70; font-size: 11px; font-weight: 700; }
.bpg-title { color: #1e1f4a; font-size: 16px; font-weight: 800; line-height: 1.35; }
.bpg-desc { margin-top: 6px; color: #4a4b5e; font-size: 14px; line-height: 1.6; }
.bpg-people { margin: 8px 0 0; padding: 0; list-style: none; }
.bpg-people li { margin: 0 0 2px; color: #2b2c48; font-size: 13px; line-height: 1.55; }
.bpg-people li span { color: #6b6c80; }
.bpg-room { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: #5a5b70; font-size: 12px; line-height: 1.3; }
.bpg-room svg { flex-shrink: 0; color: #c48a12; }

.bpg-empty { margin: 8px 0; color: #5a5b70; font-size: 14px; }

@media (max-width: 767px) {
	.bpg-notice { flex-direction: column; align-items: flex-start; }
	.bpg-tabs {
		display: flex;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		padding-bottom: 4px;
	}
	.bpg .bpg-tab { flex: 0 0 72%; scroll-snap-align: start; }
	.bpg-row { grid-template-columns: minmax(0, 1fr); }
	.bpg-time { padding: 6px 0 6px; }
}
