.bst-term-list,
.bst-tabs,
.bst-event-groups {
	--bst-border: #edf2f7;
	--bst-navy: #072a46;
	--bst-navy-2: #0b4166;
	--bst-blue: #1488c9;
	--bst-blue-2: #0876bb;
	--bst-sky: #eaf7fd;
	--bst-yellow: #f5c44e;
	--bst-yellow-2: #ffca3a;
	--bst-text: #173042;
	--bst-muted: #647582;
	--bst-surface: #f9fcfe;
	--bst-white: #fff;
	--bst-shadow: 0 26px 70px rgba(7, 42, 70, 0.08);
	--bst-radius: 26px;
	color: var(--bst-text);
}

.bst-term-list *,
.bst-tabs *,
.bst-event-groups * {
	box-sizing: border-box;
}

.bst-term-list {
	display: grid;
	gap: clamp(18px, 2.2vw, 28px);
}

.bst-term-card {
	--bst-accent: var(--bst-blue);
	--bst-accent-soft: var(--bst-sky);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(26px, 4vw, 46px);
	border: 1px solid var(--bst-border);
	border-radius: var(--bst-radius);
	background: var(--bst-white);
	box-shadow: var(--bst-shadow);
}

.bst-term-card::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0 0 auto;
	height: 4px;
	background: var(--bst-accent);
	background: linear-gradient(90deg, var(--bst-accent), color-mix(in srgb, var(--bst-accent) 30%, transparent));
}


.bst-term-card--kurs {
	--bst-accent: #1488c9;
	--bst-accent-soft: #eaf7fd;
}

.bst-term-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 clamp(26px, 3vw, 38px);
}

.bst-term-card__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bst-accent);
}

.bst-term-card__type-icon {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
}

.bst-term-card__type-icon svg,
.bst-inline-icon svg,
.bst-term-card__note-icon svg,
.bst-term-button__icon svg,
.bst-exam-date__icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bst-term-card__type {
	display: block;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bst-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	background: var(--bst-accent-soft);
	color: var(--bst-accent);
	font-size: 0.82rem;
	font-weight: 900;
	line-height: 1.2;
	white-space: nowrap;
}

.bst-status-pill__dot {
	width: 9px;
	height: 9px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 12%, transparent);
}

.bst-status-pill--limited {
	background: #fff7db;
	color: #8a6500;
}

.bst-status-pill--full {
	background: #fff0ed;
	color: #b4432d;
}

.bst-status-pill--closed,
.bst-status-pill--completed {
	background: #f1f4f6;
	color: #687680;
}

.bst-term-card__title {
	max-width: 940px;
	margin: 0;
	color: var(--bst-navy);
	font-family: "Palatino Linotype", Palatino, Georgia, serif;
	font-size: clamp(2rem, 4vw, 3.35rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.bst-term-card__rule {
	height: 1px;
	margin: clamp(24px, 3vw, 34px) 0;
	background: var(--bst-border);
}

.bst-term-card__content {
	min-width: 0;
}

/* Kalendarz imprez */
.bst-event-date {
	display: grid;
	grid-template-columns: auto 1px minmax(0, 1fr);
	align-items: center;
	gap: clamp(22px, 3vw, 38px);
	min-height: 132px;
}

.bst-event-date__day {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	width: clamp(104px, 10vw, 132px);
	aspect-ratio: 1;
	border-radius: 25px;
	background: linear-gradient(145deg, var(--bst-navy-2), var(--bst-navy));
	color: #fff;
	box-shadow: 0 18px 38px rgba(7, 42, 70, 0.18);
}

.bst-event-date__day::before,
.bst-event-date__day::after {
	content: "";
	position: absolute;
	left: -12%;
	width: 124%;
	height: 24%;
	border: 3px solid rgba(20, 136, 201, 0.22);
	border-color: rgba(20, 136, 201, 0.24) transparent transparent;
	border-radius: 50%;
}

.bst-event-date__day::before {
	bottom: 4%;
}

.bst-event-date__day::after {
	bottom: -5%;
	opacity: 0.75;
}

.bst-event-date__day > span {
	position: relative;
	z-index: 1;
	font-family: Georgia, serif;
	font-size: clamp(3.2rem, 6vw, 4.6rem);
	font-weight: 700;
	line-height: 1;
}

.bst-event-date__separator {
	width: 1px;
	height: 92px;
	background: var(--bst-border);
}

.bst-event-date__rest {
	display: grid;
	gap: 12px;
	min-width: 0;
	color: var(--bst-navy);
	text-transform: none;
}

.bst-event-date__rest strong {
	font-family: "Palatino Linotype", Palatino, Georgia, serif;
	font-size: clamp(1.55rem, 3vw, 2.3rem);
	font-weight: 700;
	line-height: 1.1;
	text-transform: lowercase;
}

.bst-event-date__rest small {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bst-muted);
	font-size: clamp(1rem, 1.7vw, 1.2rem);
	line-height: 1.4;
	text-transform: none;
}

.bst-inline-icon {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	color: var(--bst-accent);
}

/* Kursy */
.bst-course-schedule {
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--bst-border);
	border-radius: 20px;
	background: var(--bst-surface);
}

.bst-course-schedule__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.bst-course-schedule__heading > span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--bst-navy);
	font-size: 1.05rem;
	font-weight: 900;
}

.bst-course-schedule__heading small {
	padding: 0.4rem 0.7rem;
	border-radius: 999px;
	background: var(--bst-accent-soft);
	color: var(--bst-accent);
	font-size: 0.75rem;
	font-weight: 900;
}

.bst-course-dates {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.bst-course-dates li {
	display: grid;
	grid-template-columns: 42px minmax(78px, auto) minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-height: 62px;
	padding: 10px 14px;
	border: 1px solid var(--bst-border);
	border-radius: 14px;
	background: #fff;
}

.bst-course-dates__number {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--bst-accent-soft);
	color: var(--bst-accent);
	font-size: 0.78rem;
	font-weight: 900;
}

.bst-course-dates__label {
	color: var(--bst-muted);
	font-size: 0.82rem;
	font-weight: 800;
	text-transform: uppercase;
}

.bst-course-dates li strong {
	justify-self: end;
	color: var(--bst-navy);
	font-size: 0.95rem;
	font-weight: 900;
	text-align: right;
}

.bst-exam-date {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 16px;
	padding: 18px 20px;
	border: 1px solid #f3dfad;
	border: 1px solid color-mix(in srgb, var(--bst-yellow) 38%, var(--bst-border));
	border-radius: 16px;
	background: #fffaf0;
}

.bst-exam-date__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 11px;
	flex: 0 0 auto;
	border-radius: 14px;
	background: var(--bst-yellow);
	color: var(--bst-navy);
}

.bst-exam-date > span:last-child {
	display: grid;
	gap: 2px;
}

.bst-exam-date small {
	color: var(--bst-muted);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.bst-exam-date strong {
	color: var(--bst-navy);
	font-size: 1.05rem;
}

/* Stopka karty */
.bst-term-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(18px, 3vw, 34px);
	margin-top: clamp(28px, 4vw, 42px);
	padding-top: clamp(24px, 3vw, 32px);
	border-top: 1px dashed #dbe5ec;
}

.bst-term-card__footer--button-only {
	justify-content: flex-end;
}

.bst-term-card__note {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.bst-term-card__note-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 14px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--bst-accent-soft);
	color: var(--bst-accent);
}

.bst-term-card__note p {
	margin: 0;
	color: var(--bst-muted);
	font-size: clamp(0.96rem, 1.6vw, 1.08rem);
	font-weight: 600;
	line-height: 1.55;
}

.bst-term-card__note p strong,
.bst-term-card__note p b {
	color: var(--bst-navy);
}

.bst-term-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 0 1.65rem;
	border: 1px solid rgba(217, 155, 0, 0.2);
	border-radius: 15px;
	background: linear-gradient(135deg, var(--bst-yellow-2), var(--bst-yellow));
	color: var(--bst-navy) !important;
	box-shadow: 0 14px 30px rgba(245, 196, 78, 0.25);
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bst-term-button__icon {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
}

.bst-term-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 38px rgba(245, 196, 78, 0.34);
	filter: saturate(1.04);
}

.bst-term-button:focus-visible,
.bst-tabs__button:focus-visible {
	outline: 3px solid rgba(20, 136, 201, 0.32);
	outline-offset: 3px;
}

.bst-term-card--completed::before {
	background: #aeb9c0;
}

.bst-empty {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--bst-border, #edf2f7);
	border-radius: 18px;
	background: #fff;
	color: var(--bst-muted, #647582);
	box-shadow: 0 14px 40px rgba(7, 42, 70, 0.05);
}

/* Zakładki */
.bst-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 26px;
	padding: 7px;
	border: 1px solid var(--bst-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(7, 42, 70, 0.05);
}

.bst-tabs__button {
	position: relative;
	flex: 1;
	min-width: 130px;
	min-height: 50px;
	padding: 9px 18px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--bst-muted);
	font: inherit;
	font-weight: 900;
	cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.bst-tabs__button:hover {
	color: var(--bst-navy);
	background: var(--bst-surface);
}

.bst-tabs__button[aria-selected="true"] {
	background: var(--bst-navy);
	color: #fff;
	box-shadow: 0 10px 22px rgba(7, 42, 70, 0.18);
}

.bst-tabs__panel[hidden] {
	display: none;
}

@media (hover: hover) and (pointer: fine) {
	.bst-term-card {
		transition: transform 0.25s ease, box-shadow 0.25s ease;
	}

	.bst-term-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 32px 82px rgba(7, 42, 70, 0.11);
	}
}

@media (max-width: 900px) {
	.bst-course-dates {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.bst-term-card {
		padding: 24px 20px 22px;
		border-radius: 22px;
	}

	.bst-term-card__header {
		align-items: flex-start;
		margin-bottom: 28px;
	}

	.bst-term-card__type-icon {
		width: 25px;
		height: 25px;
	}

	.bst-term-card__type {
		font-size: 0.72rem;
		letter-spacing: 0.15em;
	}

	.bst-status-pill {
		min-height: 38px;
		padding: 0.48rem 0.78rem;
		font-size: 0.74rem;
	}

	.bst-term-card__title {
		font-size: clamp(2rem, 10vw, 2.8rem);
	}

	.bst-term-card__rule {
		margin: 26px 0;
	}

	.bst-event-date {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 20px;
		min-height: auto;
	}

	.bst-event-date__day {
		width: 96px;
		border-radius: 22px;
	}

	.bst-event-date__separator {
		display: none;
	}

	.bst-event-date__rest {
		gap: 9px;
	}

	.bst-event-date__rest strong {
		font-size: clamp(1.4rem, 6.8vw, 1.9rem);
	}

	.bst-event-date__rest small {
		font-size: 1rem;
	}

	.bst-course-schedule {
		padding: 17px;
	}

	.bst-course-schedule__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.bst-course-dates li {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 4px 12px;
		padding: 11px;
	}

	.bst-course-dates__number {
		grid-row: span 2;
	}

	.bst-course-dates__label {
		align-self: end;
	}

	.bst-course-dates li strong {
		justify-self: start;
		text-align: left;
	}

	.bst-term-card__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.bst-term-card__note {
		align-items: flex-start;
	}

	.bst-term-button {
		width: 100%;
		min-height: 58px;
	}

	.bst-tabs__nav {
		border-radius: 16px;
	}

	.bst-tabs__button {
		min-width: calc(50% - 4px);
	}
}

@media (max-width: 430px) {
	.bst-term-card__header {
		flex-wrap: wrap;
	}

	.bst-status-pill {
		max-width: 100%;
		white-space: normal;
	}

	.bst-event-date {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 16px;
	}

	.bst-event-date__day {
		width: 84px;
		border-radius: 19px;
	}

	.bst-event-date__day > span {
		font-size: 3rem;
	}

	.bst-inline-icon {
		width: 21px;
		height: 21px;
	}

	.bst-term-card__note-icon {
		width: 46px;
		height: 46px;
		padding: 12px;
	}

	.bst-tabs__button {
		min-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bst-term-card,
	.bst-term-button,
	.bst-tabs__button {
		transition: none;
	}
}

/* Kalendarz imprez */
.bst-term-card--impreza {
	--bst-accent: #d79b20;
	--bst-accent-soft: #fff8e8;
}

/* Automatyczny podział kalendarza: Dzisiaj / Nadchodzące / Historyczne */
.bst-event-groups {
	display: grid;
	gap: clamp(38px, 5vw, 64px);
}

.bst-event-group {
	display: grid;
	gap: 20px;
}

.bst-event-group__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	padding: 0 4px 14px;
	border-bottom: 1px solid var(--bst-border);
}

.bst-event-group__eyebrow {
	display: block;
	margin-bottom: 5px;
	color: var(--bst-blue);
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.bst-event-group__header h3 {
	margin: 0;
	color: var(--bst-navy);
	font-family: "Palatino Linotype", Palatino, Georgia, serif;
	font-size: clamp(1.75rem, 3vw, 2.45rem);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.05;
}

.bst-event-group__count {
	flex: 0 0 auto;
	padding: .48rem .75rem;
	border-radius: 999px;
	background: var(--bst-surface);
	color: var(--bst-muted);
	font-size: .76rem;
	font-weight: 800;
}

.bst-status-pill--today {
	background: #fff4cb;
	color: #896000;
}

.bst-status-pill--upcoming {
	background: #eaf7fd;
	color: #0876bb;
}

.bst-status-pill--history {
	background: #f1f4f6;
	color: #687680;
}

.bst-term-card--impreza.bst-term-card--today {
	--bst-accent: #d79b20;
	--bst-accent-soft: #fff8e8;
}

.bst-term-card--impreza.bst-term-card--upcoming {
	--bst-accent: #1488c9;
	--bst-accent-soft: #eaf7fd;
}

.bst-term-card--impreza.bst-term-card--history {
	--bst-accent: #88959e;
	--bst-accent-soft: #f1f4f6;
	box-shadow: 0 18px 48px rgba(7, 42, 70, .055);
}

@media (max-width: 700px) {
	.bst-event-groups {
		gap: 38px;
	}

	.bst-event-group__header {
		align-items: flex-start;
		padding-inline: 2px;
	}

	.bst-event-group__count {
		margin-top: 2px;
	}
}

@media (max-width: 430px) {
	.bst-event-group__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
}

/* ==========================================================
 * Kalendarz 2.6: bieżące wydarzenia + zwijana historia
 * ========================================================== */
.bst-event-groups {
	gap: clamp(24px, 3.5vw, 36px);
}

.bst-calendar-current {
	display: grid;
	gap: 22px;
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid var(--bst-border);
	border-radius: 24px;
	background: linear-gradient(180deg, #fbfdff 0%, #fff 28%);
	box-shadow: 0 18px 52px rgba(7, 42, 70, 0.055);
}

.bst-calendar-current__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--bst-border);
}

.bst-calendar-current__header h3 {
	margin: 0;
	color: var(--bst-navy);
	font-family: "Palatino Linotype", Palatino, Georgia, serif;
	font-size: clamp(1.9rem, 3.5vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.bst-calendar-current__empty {
	margin: 0;
	padding: 22px;
	border-radius: 16px;
	background: var(--bst-surface);
	color: var(--bst-muted);
	font-weight: 600;
}

.bst-history {
	overflow: hidden;
	border: 1px solid var(--bst-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 42px rgba(7, 42, 70, 0.045);
}

.bst-history__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 92px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition: background 0.2s ease;
}

.bst-history__summary::-webkit-details-marker {
	display: none;
}

.bst-history__summary::marker {
	display: none;
	content: "";
}

.bst-history__summary:hover {
	background: #fbfdff;
}

.bst-history__summary:focus-visible {
	outline: 3px solid rgba(20, 136, 201, 0.28);
	outline-offset: -3px;
}

.bst-history__summary-copy,
.bst-history__summary-side {
	display: flex;
	align-items: center;
}

.bst-history__summary-copy {
	gap: 14px;
	min-width: 0;
}

.bst-history__summary-copy > span:last-child {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.bst-history__summary-copy strong {
	color: var(--bst-navy);
	font-size: 1.05rem;
	font-weight: 900;
	line-height: 1.2;
}

.bst-history__summary-copy small {
	color: var(--bst-muted);
	font-size: 0.82rem;
	line-height: 1.35;
}

.bst-history__summary-side {
	gap: 12px;
	flex: 0 0 auto;
}

.bst-history__summary-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 11px;
	flex: 0 0 auto;
	border-radius: 14px;
	background: #f1f4f6;
	color: #73818a;
}

.bst-history__chevron {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 6px;
	border-radius: 50%;
	background: var(--bst-surface);
	color: var(--bst-muted);
	transition: transform 0.22s ease, background 0.22s ease;
}

.bst-history__summary-icon svg,
.bst-history__chevron svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bst-history[open] .bst-history__chevron {
	transform: rotate(180deg);
	background: var(--bst-sky);
	color: var(--bst-blue);
}

.bst-history__list {
	padding: 0 14px 14px;
	border-top: 1px solid var(--bst-border);
}

.bst-history-item {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	min-height: 76px;
	padding: 10px 8px;
	border-bottom: 1px solid var(--bst-border);
}

.bst-history-item:last-child {
	border-bottom: 0;
}

.bst-history-item__date {
	display: grid;
	place-items: center;
	align-content: center;
	width: 54px;
	height: 54px;
	border-radius: 13px;
	background: #f3f6f8;
	color: var(--bst-navy);
	text-align: center;
}

.bst-history-item__date strong {
	font-family: Georgia, serif;
	font-size: 1.35rem;
	line-height: 1;
}

.bst-history-item__date span {
	margin-top: 2px;
	color: var(--bst-muted);
	font-size: 0.66rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

.bst-history-item__content {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.bst-history-item__content h4 {
	margin: 0;
	color: var(--bst-navy);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.3;
}

.bst-history-item__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	color: var(--bst-muted);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.35;
}

.bst-history-item__meta span + span::before {
	content: "•";
	margin-right: 12px;
	color: #b2bdc4;
}

.bst-history-item__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 10px;
	border-radius: 10px;
	color: var(--bst-blue) !important;
	font-size: 0.8rem;
	font-weight: 900;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.bst-history-item__link:hover {
	background: var(--bst-sky);
	color: var(--bst-blue-2) !important;
}

@media (max-width: 700px) {
	.bst-calendar-current {
		padding: 20px 16px;
		border-radius: 20px;
	}

	.bst-calendar-current__header {
		align-items: flex-start;
	}

	.bst-history__summary {
		min-height: 84px;
		padding: 16px;
	}

	.bst-history__summary-copy small {
		display: none;
	}

	.bst-history__summary-icon {
		width: 42px;
		height: 42px;
	}

	.bst-history-item {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 12px;
		padding: 10px 4px;
	}

	.bst-history-item__date {
		width: 50px;
		height: 50px;
	}

	.bst-history-item__link {
		grid-column: 2;
		justify-self: start;
		padding: 5px 0;
	}
}

@media (max-width: 430px) {
	.bst-calendar-current__header {
		flex-direction: column;
		gap: 10px;
	}

	.bst-history__summary-side .bst-event-group__count {
		display: none;
	}

	.bst-history__summary-copy strong {
		font-size: 0.98rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bst-history__summary,
	.bst-history__chevron,
	.bst-history-item__link {
		transition: none;
	}
}

/* ==========================================================
 * Kalendarz 2.7: wydarzenia wielodniowe i wieloterminowe
 * ========================================================== */
.bst-event-date__day--range{width:clamp(116px,12vw,150px);aspect-ratio:auto;min-height:132px;padding-inline:12px}
.bst-event-date__day--range>span{font-size:clamp(2.35rem,4.6vw,3.7rem);letter-spacing:-.055em;white-space:nowrap}

.bst-event-schedule{padding:clamp(18px,2.8vw,26px);border:1px solid var(--bst-border);border-radius:20px;background:var(--bst-surface)}
.bst-event-schedule__heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.bst-event-schedule__heading>span{display:inline-flex;align-items:center;gap:10px;color:var(--bst-navy);font-size:1.05rem;font-weight:900}
.bst-event-schedule__heading small{padding:.4rem .7rem;border-radius:999px;background:#fff8e8;color:#9d6b08;font-size:.75rem;font-weight:900}
.bst-event-period-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;padding:0;list-style:none}
.bst-event-period-list__item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:10px 13px;border:1px solid var(--bst-border);border-radius:13px;background:#fff}
.bst-event-period-list__date{color:var(--bst-navy);font-size:.92rem;font-weight:900;line-height:1.3}
.bst-event-period-list__time{flex:0 0 auto;color:var(--bst-muted);font-size:.78rem;font-weight:700;white-space:nowrap}
.bst-event-period-list__item--today{border-color:#f2ca72;background:#fffaf0}
.bst-event-period-list__item--today .bst-event-period-list__date{color:#8d640e}
.bst-event-period-list__item--history{opacity:.58}

@media(max-width:700px){
	.bst-event-date__day--range{width:104px;min-height:96px}
	.bst-event-date__day--range>span{font-size:2.35rem}
	.bst-event-period-list{grid-template-columns:1fr}
}
@media(max-width:430px){
	.bst-event-date__day--range{width:92px;min-height:84px;padding-inline:8px}
	.bst-event-date__day--range>span{font-size:2rem}
	.bst-event-schedule{padding:15px}
	.bst-event-schedule__heading{align-items:flex-start;flex-direction:column;gap:8px}
	.bst-event-period-list__item{align-items:flex-start;flex-direction:column;gap:4px}
}

/* ==========================================================
 * Kalendarz 2.8: bardziej kompaktowe karty + dodawanie do kalendarza
 * ========================================================== */
.bst-term-card--impreza {
	padding: clamp(24px, 3.2vw, 38px);
}

.bst-term-card--impreza .bst-term-card__header {
	margin-bottom: clamp(20px, 2.4vw, 28px);
}

.bst-term-card--impreza .bst-term-card__title {
	max-width: 880px;
	font-size: clamp(1.7rem, 3vw, 2.55rem);
	letter-spacing: -0.026em;
	line-height: 1.12;
}

.bst-term-card--impreza .bst-term-card__rule {
	margin: clamp(20px, 2.5vw, 28px) 0;
}

/* Zakres dat mieści się w kaflu także przy 22–23 itp. */
.bst-event-date__day--range {
	width: clamp(112px, 10.5vw, 132px);
	min-width: 112px;
	min-height: 112px;
	aspect-ratio: auto;
	padding-inline: 10px;
}

.bst-event-date__day--range > span {
	max-width: 100%;
	font-size: clamp(1.85rem, 3.25vw, 2.35rem);
	letter-spacing: -0.045em;
	line-height: 1;
	white-space: nowrap;
}

/* Dodaj do kalendarza */
.bst-calendar-add-row {
	display: flex;
	justify-content: flex-end;
	margin-top: 22px;
}

.bst-calendar-add {
	position: relative;
	z-index: 5;
}

.bst-calendar-add > summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	padding: 0.62rem 0.9rem;
	border: 1px solid #dbe8f0;
	border-radius: 12px;
	background: #fff;
	color: var(--bst-navy);
	box-shadow: 0 8px 24px rgba(7, 42, 70, 0.06);
	font-size: 0.84rem;
	font-weight: 900;
	line-height: 1.2;
	list-style: none;
	cursor: pointer;
	user-select: none;
	transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.bst-calendar-add > summary::-webkit-details-marker { display: none; }
.bst-calendar-add > summary::marker { display: none; content: ""; }

.bst-calendar-add > summary:hover {
	border-color: #c6dce9;
	background: var(--bst-surface);
	transform: translateY(-1px);
	box-shadow: 0 10px 28px rgba(7, 42, 70, 0.09);
}

.bst-calendar-add > summary:focus-visible {
	outline: 3px solid rgba(20, 136, 201, 0.28);
	outline-offset: 3px;
}

.bst-calendar-add__summary-icon,
.bst-calendar-add__chevron,
.bst-calendar-add__service {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
}

.bst-calendar-add__summary-icon {
	width: 20px;
	height: 20px;
	color: var(--bst-blue);
}

.bst-calendar-add__chevron {
	width: 17px;
	height: 17px;
	margin-left: 2px;
	color: var(--bst-muted);
	transition: transform .2s ease;
}

.bst-calendar-add[open] .bst-calendar-add__chevron {
	transform: rotate(180deg);
}

.bst-calendar-add__summary-icon svg,
.bst-calendar-add__chevron svg,
.bst-calendar-add__service svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bst-calendar-add__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 20;
	display: grid;
	gap: 5px;
	width: min(310px, calc(100vw - 40px));
	padding: 7px;
	border: 1px solid var(--bst-border);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(7, 42, 70, 0.16);
}

.bst-calendar-add__menu a {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 8px 10px;
	border-radius: 10px;
	color: var(--bst-navy) !important;
	text-decoration: none !important;
	transition: background .18s ease;
}

.bst-calendar-add__menu a:hover { background: var(--bst-surface); }
.bst-calendar-add__menu a:focus-visible { outline: 2px solid rgba(20,136,201,.32); outline-offset: 1px; }

.bst-calendar-add__service {
	width: 38px;
	height: 38px;
	padding: 9px;
	border-radius: 10px;
	background: var(--bst-accent-soft);
	color: var(--bst-accent);
	font-size: 1rem;
	font-weight: 900;
}

.bst-calendar-add__service--google {
	background: #eef5ff;
	color: #2967c7;
}

.bst-calendar-add__menu strong,
.bst-calendar-add__menu small {
	display: block;
}

.bst-calendar-add__menu strong {
	font-size: .88rem;
	line-height: 1.25;
}

.bst-calendar-add__menu small {
	margin-top: 2px;
	color: var(--bst-muted);
	font-size: .72rem;
	font-weight: 600;
	line-height: 1.25;
}

/* Wiele terminów: akcja przy konkretnej dacie */
.bst-event-period-list__item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
}

.bst-event-period-list__info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
}

.bst-calendar-add--compact > summary {
	min-height: 36px;
	padding: .42rem .62rem;
	border-radius: 10px;
	box-shadow: none;
	font-size: .76rem;
}

.bst-calendar-add--compact .bst-calendar-add__summary-icon { width: 17px; height: 17px; }
.bst-calendar-add--compact .bst-calendar-add__chevron { width: 14px; height: 14px; }

@media (max-width: 700px) {
	.bst-term-card--impreza .bst-term-card__title {
		font-size: clamp(1.65rem, 7.2vw, 2.05rem);
		line-height: 1.13;
	}

	.bst-event-date__day--range {
		width: 100px;
		min-width: 100px;
		min-height: 96px;
	}

	.bst-event-date__day--range > span {
		font-size: 1.75rem;
	}

	.bst-event-period-list__item {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}

	.bst-event-period-list__info {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}
}

@media (max-width: 430px) {
	.bst-term-card--impreza {
		padding: 22px 17px 20px;
	}

	.bst-event-date {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 14px;
	}

	.bst-event-date__day--range {
		width: 88px;
		min-width: 88px;
		min-height: 82px;
		padding-inline: 6px;
	}

	.bst-event-date__day--range > span {
		font-size: 1.52rem;
		letter-spacing: -.04em;
	}

	.bst-calendar-add-row { justify-content: stretch; }
	.bst-calendar-add-row .bst-calendar-add,
	.bst-calendar-add-row .bst-calendar-add > summary { width: 100%; }

	.bst-event-period-list__item {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.bst-calendar-add--compact > summary {
		width: 100%;
	}

	.bst-calendar-add__menu {
		left: 0;
		right: auto;
		width: min(100%, 310px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bst-calendar-add > summary,
	.bst-calendar-add__chevron,
	.bst-calendar-add__menu a {
		transition: none;
	}
}

/* Dropdown kalendarza może wyjść poza kartę bez przycinania. */
.bst-term-card--impreza {
	overflow: visible;
}
.bst-term-card--impreza::before {
	border-radius: var(--bst-radius) var(--bst-radius) 0 0;
}
.bst-term-card--impreza:has(.bst-calendar-add[open]) {
	z-index: 30;
}

/* ==========================================================
 * Kalendarz 2.9: kompaktowe karty wydarzeń + poprawki layoutu
 * ========================================================== */

/*
 * W 2.8 karta kalendarza musiała mieć overflow:visible dla menu kalendarza.
 * Pseudo-element z ujemnym z-indexem przestał być poprawnie przycinany do
 * zaokrąglenia. Akcent rysujemy więc jako tło karty, bez zależności od overflow.
 */
.bst-term-card--impreza {
	overflow: visible;
	padding: clamp(20px, 2.35vw, 30px);
	border-radius: 22px;
	background:
		linear-gradient(90deg, var(--bst-accent), color-mix(in srgb, var(--bst-accent) 28%, transparent)) top / 100% 3px no-repeat,
		var(--bst-white);
	box-shadow: 0 18px 52px rgba(7, 42, 70, 0.07);
}

.bst-term-card--impreza::before {
	display: none;
}

.bst-term-card--impreza .bst-term-card__header {
	margin-bottom: clamp(14px, 1.7vw, 20px);
}

.bst-term-card--impreza .bst-term-card__type-icon {
	width: 24px;
	height: 24px;
}

.bst-term-card--impreza .bst-term-card__type {
	font-size: 0.71rem;
	letter-spacing: 0.16em;
}

.bst-term-card--impreza .bst-status-pill {
	min-height: 36px;
	padding: 0.43rem 0.72rem;
	font-size: 0.74rem;
}

.bst-term-card--impreza .bst-status-pill__dot {
	width: 7px;
	height: 7px;
	box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 11%, transparent);
}

.bst-term-card--impreza .bst-term-card__title {
	max-width: 980px;
	font-size: clamp(1.45rem, 2.25vw, 2.05rem);
	letter-spacing: -0.023em;
	line-height: 1.12;
}

.bst-term-card--impreza .bst-term-card__rule {
	margin: clamp(14px, 1.7vw, 20px) 0;
}

/* Pojedynczy termin: data i akcja w jednym rzędzie na desktopie. */
.bst-event-single {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 16px;
}

.bst-event-single--with-action {
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(18px, 2.4vw, 32px);
}

.bst-event-single .bst-calendar-add-row {
	margin-top: 0;
	align-self: center;
}

.bst-event-date {
	gap: clamp(16px, 2vw, 24px);
	min-height: 94px;
}

.bst-event-date__day {
	width: clamp(82px, 7vw, 96px);
	border-radius: 19px;
	box-shadow: 0 12px 28px rgba(7, 42, 70, 0.15);
}

.bst-event-date__day > span {
	font-size: clamp(2.35rem, 4vw, 3.15rem);
}

.bst-event-date__day--range {
	width: clamp(96px, 8.5vw, 112px);
	min-width: 96px;
	min-height: 92px;
	padding-inline: 8px;
}

.bst-event-date__day--range > span {
	font-size: clamp(1.55rem, 2.5vw, 1.95rem);
	letter-spacing: -0.04em;
}

.bst-event-date__separator {
	height: 68px;
}

.bst-event-date__rest {
	gap: 7px;
}

.bst-event-date__rest strong {
	font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.bst-event-date__rest small {
	gap: 7px;
	font-size: clamp(0.88rem, 1.25vw, 1rem);
}

.bst-event-date .bst-inline-icon {
	width: 20px;
	height: 20px;
}

/* Mniejszy przycisk kalendarza - mniej dominuje nad treścią. */
.bst-term-card--impreza .bst-calendar-add > summary {
	min-height: 40px;
	padding: 0.53rem 0.76rem;
	border-radius: 11px;
	font-size: 0.78rem;
}

.bst-term-card--impreza .bst-calendar-add__summary-icon {
	width: 18px;
	height: 18px;
}

.bst-term-card--impreza .bst-calendar-add__chevron {
	width: 14px;
	height: 14px;
}

/* Wydarzenia wieloterminowe również są ciaśniejsze. */
.bst-term-card--impreza .bst-event-schedule {
	padding: clamp(14px, 1.8vw, 19px);
	border-radius: 16px;
}

.bst-term-card--impreza .bst-event-schedule__heading {
	margin-bottom: 12px;
}

.bst-term-card--impreza .bst-event-schedule__heading > span {
	font-size: 0.94rem;
}

.bst-term-card--impreza .bst-event-period-list {
	gap: 8px;
}

.bst-term-card--impreza .bst-event-period-list__item {
	min-height: 48px;
	padding: 8px 10px;
	border-radius: 11px;
}

.bst-term-card--impreza .bst-event-period-list__date {
	font-size: 0.86rem;
}

.bst-term-card--impreza .bst-event-period-list__time {
	font-size: 0.73rem;
}

/*
 * Otwarty dropdown w siatce wielu terminów musi być nad sąsiednimi kaflami.
 * Z-index ustawiamy na całym elemencie listy, a nie wyłącznie na details.
 */
.bst-event-period-list__item:has(.bst-calendar-add[open]) {
	z-index: 60;
}

.bst-event-period-list__item .bst-calendar-add[open] {
	z-index: 70;
}

.bst-calendar-add--compact .bst-calendar-add__menu {
	width: min(265px, calc(100vw - 40px));
}

/* Mniej oddechu pomiędzy pełnymi kartami kalendarza. */
.bst-event-group {
	gap: 14px;
}

.bst-event-groups {
	gap: clamp(28px, 4vw, 46px);
}

@media (hover: hover) and (pointer: fine) {
	.bst-term-card--impreza:hover {
		transform: translateY(-2px);
		box-shadow: 0 23px 60px rgba(7, 42, 70, 0.09);
	}
}

@media (max-width: 800px) {
	.bst-event-single--with-action {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.bst-event-single .bst-calendar-add-row {
		justify-content: flex-start;
	}
}

@media (max-width: 700px) {
	.bst-term-card--impreza {
		padding: 20px 18px;
		border-radius: 19px;
	}

	.bst-term-card--impreza .bst-term-card__header {
		margin-bottom: 15px;
	}

	.bst-term-card--impreza .bst-term-card__title {
		font-size: clamp(1.4rem, 6.5vw, 1.78rem);
		line-height: 1.14;
	}

	.bst-term-card--impreza .bst-term-card__rule {
		margin: 15px 0;
	}

	.bst-event-date {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 14px;
	}

	.bst-event-date__day,
	.bst-event-date__day--range {
		width: 84px;
		min-width: 84px;
		min-height: 80px;
		border-radius: 17px;
	}

	.bst-event-date__day > span {
		font-size: 2.55rem;
	}

	.bst-event-date__day--range > span {
		font-size: 1.42rem;
	}

	.bst-event-date__rest strong {
		font-size: clamp(1.16rem, 5vw, 1.48rem);
	}

	.bst-event-single .bst-calendar-add-row,
	.bst-event-single .bst-calendar-add,
	.bst-event-single .bst-calendar-add > summary {
		width: 100%;
	}
}

@media (max-width: 430px) {
	.bst-term-card--impreza {
		padding: 18px 15px 17px;
	}

	.bst-term-card--impreza .bst-status-pill {
		min-height: 33px;
		font-size: 0.7rem;
	}

	.bst-event-date__day,
	.bst-event-date__day--range {
		width: 76px;
		min-width: 76px;
		min-height: 72px;
	}

	.bst-event-date__day > span {
		font-size: 2.25rem;
	}

	.bst-event-date__day--range > span {
		font-size: 1.27rem;
	}

	.bst-calendar-add--compact .bst-calendar-add__menu {
		position: absolute;
		left: 0;
		right: auto;
		width: min(265px, calc(100vw - 56px));
	}
}

/* ==========================================================
 * Kalendarz 2.10: paginacja wydarzeń historycznych
 * ========================================================== */
.bst-history-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 16px 16px;
	border-top: 1px solid var(--bst-border);
	background: #fbfdff;
}

.bst-history-pagination__numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.bst-history-pagination__button {
	display: inline-grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--bst-border);
	border-radius: 10px;
	background: #fff;
	color: var(--bst-navy);
	font: inherit;
	font-size: .78rem;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.bst-history-pagination__button:hover:not(:disabled):not([aria-current="page"]) {
	border-color: rgba(20, 136, 201, .34);
	background: var(--bst-sky);
	color: var(--bst-blue);
}

.bst-history-pagination__button[aria-current="page"] {
	border-color: var(--bst-navy);
	background: var(--bst-navy);
	color: #fff;
	cursor: default;
}

.bst-history-pagination__button:disabled {
	opacity: .38;
	cursor: not-allowed;
}

.bst-history-pagination__button:focus-visible {
	outline: 2px solid rgba(20, 136, 201, .35);
	outline-offset: 2px;
}

.bst-history-pagination__button--arrow {
	font-size: 1rem;
}

.bst-history-pagination__ellipsis {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 36px;
	color: var(--bst-muted);
	font-weight: 800;
}

.bst-history-item[hidden] {
	display: none !important;
}

@media (max-width: 500px) {
	.bst-history-pagination {
		gap: 6px;
		padding-inline: 10px;
	}

	.bst-history-pagination__numbers {
		gap: 4px;
	}

	.bst-history-pagination__button {
		min-width: 32px;
		height: 34px;
		padding-inline: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bst-history-pagination__button {
		transition: none;
	}
}

/* ==========================================================
 * Blue Sail 2.11: kursy, lokalizacja, zakres godzin
 * ========================================================== */
.bst-status-pill--ongoing{background:#eaf7fd;color:#0876bb}
.bst-term-card--kurs.bst-term-card--ongoing{--bst-accent:#1488c9;--bst-accent-soft:#eaf7fd}

.bst-course-groups{display:grid;gap:clamp(24px,3.5vw,36px)}
.bst-course-current{display:grid;gap:22px;padding:clamp(22px,3vw,34px);border:1px solid var(--bst-border);border-radius:24px;background:linear-gradient(180deg,#fbfdff 0%,#fff 28%);box-shadow:0 18px 52px rgba(7,42,70,.055)}
.bst-course-current__header{display:flex;align-items:end;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--bst-border)}
.bst-course-current__header h3{margin:0;color:var(--bst-navy);font-family:"Palatino Linotype",Palatino,Georgia,serif;font-size:clamp(1.9rem,3.5vw,2.75rem);font-weight:700;letter-spacing:-.03em;line-height:1.05}

.bst-course-next{display:flex;align-items:center;gap:13px;margin-bottom:14px;padding:13px 15px;border:1px solid #cae8f7;border-radius:15px;background:#f2fbff;color:var(--bst-navy)}
.bst-course-next__icon{display:grid;place-items:center;width:38px;height:38px;padding:8px;flex:0 0 auto;border-radius:11px;background:#fff;color:var(--bst-blue)}
.bst-course-next__icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bst-course-next>span:last-child{display:grid;gap:2px}.bst-course-next small{color:var(--bst-muted);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.bst-course-next strong{color:var(--bst-navy);font-size:.98rem}

.bst-course-dates__item--past{opacity:.48;background:#f7f9fa!important}.bst-course-dates__item--past .bst-course-dates__number{background:#eef1f3;color:#7b8992}
.bst-course-dates__item--next,.bst-course-dates__item--current{border-color:#9dd8f3!important;background:#f3fbff!important;box-shadow:inset 3px 0 0 var(--bst-blue)}
.bst-course-dates__item--current{border-color:#f0cb75!important;background:#fffaf0!important;box-shadow:inset 3px 0 0 #e4ad32}

.bst-course-calendar-button{display:flex;align-items:center;gap:12px;width:max-content;max-width:100%;margin-top:14px;padding:10px 13px;border:1px solid #d7e4ed;border-radius:13px;background:#fff;color:var(--bst-navy)!important;text-decoration:none!important;box-shadow:0 7px 20px rgba(7,42,70,.045);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.bst-course-calendar-button>span:first-child{display:grid;place-items:center;width:23px;height:23px;color:var(--bst-blue);flex:0 0 auto}.bst-course-calendar-button svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bst-course-calendar-button>span:last-child{display:grid;gap:1px}.bst-course-calendar-button strong{font-size:.86rem;line-height:1.2}.bst-course-calendar-button small{color:var(--bst-muted);font-size:.68rem;line-height:1.25}.bst-course-calendar-button:hover{transform:translateY(-1px);border-color:#b7d9e9;box-shadow:0 10px 25px rgba(7,42,70,.07)}

.bst-term-location{display:flex;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;border:1px solid var(--bst-border);border-radius:14px;background:#fbfdff}
.bst-term-location__icon{display:grid;place-items:center;width:36px;height:36px;padding:8px;flex:0 0 auto;border-radius:11px;background:var(--bst-accent-soft);color:var(--bst-accent)}
.bst-term-location__icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bst-term-location>span:last-child{display:grid;gap:1px;min-width:0}.bst-term-location small{color:var(--bst-muted);font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.bst-term-location strong,.bst-term-location a{color:var(--bst-navy)!important;font-size:.87rem;font-weight:850;line-height:1.3;text-decoration:none!important}.bst-term-location a:hover{text-decoration:underline!important}

.bst-event-past-periods{margin-top:10px;border-top:1px dashed var(--bst-border)}
.bst-event-past-periods>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 3px 2px;color:var(--bst-muted);font-size:.76rem;font-weight:850;cursor:pointer;list-style:none}.bst-event-past-periods>summary::-webkit-details-marker{display:none}.bst-event-past-periods>summary>span:last-child{display:grid;place-items:center;width:20px;height:20px;padding:4px;transition:transform .18s ease}.bst-event-past-periods>summary svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8}.bst-event-past-periods[open]>summary>span:last-child{transform:rotate(180deg)}
.bst-event-past-periods ul{display:grid;gap:5px;margin:8px 0 0;padding:0;list-style:none}.bst-event-past-periods li{display:flex;justify-content:space-between;gap:12px;padding:7px 9px;border-radius:9px;background:#f6f8f9;color:#7c8991;font-size:.74rem;font-weight:700}.bst-event-past-periods li small{font-size:inherit}

@media(max-width:700px){.bst-course-current{padding:20px 16px;border-radius:20px}.bst-course-current__header{align-items:flex-start}.bst-course-calendar-button{width:100%;justify-content:center}.bst-term-location{align-items:flex-start}.bst-event-past-periods li{flex-direction:column;gap:2px}}

/* 2.11.2: pełne nazwy miesięcy w kompaktowej historii wydarzeń. */
.bst-history-item__date span {
	font-size: 0.56rem;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
}
