/* Seminarkalender 2026 (page-seminarkalender-2026.php). Hero and cards come from anmeldung.css. */

.bah-kal-hero::before, .bah-kal-hero::after { display: none; }
.bah-kal-hero .bah-anm-hero__inner { padding-bottom: 36px; }
.bah-kal-hero .bah-anm-hero__title { margin-top: 22px !important; }
.bah-kal-hero__lead { max-width: 620px; margin-top: 12px !important; color: rgba(255, 255, 255, .85); font-size: 18px; line-height: 1.45; }

.bah-kal__body { padding-top: 28px; padding-bottom: 56px; }
.bah-kal [hidden] { display: none !important; }

/* Filter */
.bah-kal-filter { position: sticky; top: 93px; z-index: 5; display: grid; gap: 10px; margin: 0 -8px 8px; padding: 12px 8px; background: var(--bah-sand); }
.admin-bar .bah-kal-filter { top: 125px; }
@media (max-width: 1120px) {
	.bah-kal-filter { top: 77px; }
	.admin-bar .bah-kal-filter { top: 109px; }
}
.bah-kal-filter__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bah-kal-chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; margin: 0;
	border: 1px solid #cfd5e2; border-radius: 999px; background: #fff; cursor: pointer;
	font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--bah-ink);
	transition: background-color .15s, border-color .15s, color .15s;
}
.bah-kal-chip:hover { border-color: var(--bah-navy-2); }
.bah-kal-chip[aria-pressed="true"] { background: var(--bah-navy); border-color: var(--bah-navy); color: #fff; }
.bah-kal-chip--small { padding: 6px 12px; font-size: 13px; }
.bah-kal-chip svg { width: 15px; height: 15px; }
.bah-kal-count { margin-left: auto !important; font-size: 14px; color: var(--bah-muted); }
.bah-kal-count span { font-weight: 700; color: var(--bah-ink); }

/* Months */
.bah-kal-month { margin-top: 22px; }
.bah-kal-month__title { margin-bottom: 12px !important; font-family: var(--bah-head); font-weight: 700; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; color: var(--bah-navy) !important; }
.bah-kal-list { display: grid; gap: 12px; }

/* One date */
.bah-kal-item { display: grid; grid-template-columns: 84px 132px minmax(0, 1fr) 172px; gap: 20px; align-items: center; padding: 16px 20px 16px 16px; }
.bah-kal-img { display: block; align-self: stretch; min-height: 96px; border: 1px solid var(--bah-line); border-radius: var(--bah-radius); background: #fff; overflow: hidden; }
.bah-kal-img img { width: 100%; height: 100%; object-fit: contain; }
.bah-kal-teaser { font-size: 15px; line-height: 1.4; color: var(--bah-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bah-kal-trainer span { color: var(--bah-muted); }
.bah-kal-price { display: grid; justify-items: center; line-height: 1.2; text-align: center; }
.bah-kal-price strong { font-family: var(--bah-head); font-size: 22px; font-weight: 700; color: var(--bah-ink); }
.bah-kal-price span { font-size: 12px; color: var(--bah-muted); }
.bah-kal-date { display: grid; justify-items: center; align-content: center; min-height: 84px; padding: 8px 4px; border-radius: var(--bah-radius); background: var(--bah-sand); line-height: 1; text-align: center; }
.bah-kal-date__wd { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--bah-muted); }
.bah-kal-date__day { margin: 5px 0 4px; font-family: var(--bah-head); font-weight: 700; font-size: 32px; color: var(--bah-ink); }
.bah-kal-date__day.is-range { font-size: 21px; }
.bah-kal-date__mon { font-family: var(--bah-head); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--bah-orange); }
.bah-kal-main { display: grid; gap: 6px; justify-items: start; }
.bah-kal-main .bah-tag { font-size: 11px; }
.bah-kal-title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.bah-kal-title a:hover { color: var(--bah-orange); }
.bah-kal-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--bah-muted); }
.bah-kal-facts li { display: flex; gap: 6px; align-items: center; }
.bah-kal-facts li.bah-kal-trainer { display: block; }
.bah-kal-facts svg { width: 15px; height: 15px; color: var(--bah-orange); }
.bah-kal-action { display: grid; gap: 8px; justify-items: stretch; text-align: center; }
.bah-kal-btn { justify-content: center; }
.bah-kal-btn {
	display: inline-flex; align-items: center; gap: 6px; padding: 11px 18px; border-radius: 4px;
	background: var(--bah-orange); color: #fff !important; white-space: nowrap;
	font-family: var(--bah-head); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase;
	transition: background-color .2s;
}
.bah-kal-btn:hover { background: var(--bah-orange-dark); }
.bah-kal-btn svg { width: 16px; height: 16px; }
.bah-kal-more { font-size: 13px; font-weight: 600; color: var(--bah-muted); text-decoration: underline !important; }
.bah-kal-more:hover { color: var(--bah-orange); }
.bah-kal-full { padding: 8px 14px; border-radius: 4px; background: #eceef3; color: var(--bah-muted); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.bah-kal-item.is-full .bah-kal-date { opacity: .6; }
.bah-kal-item.is-full .bah-kal-title { color: var(--bah-muted); }

.bah-kal-empty { margin-top: 22px !important; padding: 22px; font-size: 16px; }
.bah-kal-reset { margin-left: 6px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 600; color: var(--bah-orange); text-decoration: underline; }
.bah-kal-help { max-width: 420px; margin-top: 36px; }

@media (max-width: 1020px) {
	.bah-kal-item { grid-template-columns: 76px minmax(0, 1fr) 160px; }
	.bah-kal-img { display: none; }
}
@media (max-width: 760px) {
	.bah-kal-filter { position: static; }
	.bah-kal-filter__row:first-child { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.bah-kal-filter__row:first-child::-webkit-scrollbar { display: none; }
	.bah-kal-chip { flex: none; }
	.bah-kal-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px 14px; padding: 14px; align-items: start; }
	.bah-kal-date { min-height: 70px; }
	.bah-kal-date__day { font-size: 26px; }
	.bah-kal-date__day.is-range { font-size: 17px; }
	.bah-kal-title { font-size: 17px; }
	.bah-kal-action { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
	.bah-kal-price { justify-items: start; text-align: left; }
	.bah-kal-price strong { font-size: 19px; }
	.bah-kal-btn, .bah-kal-full { justify-content: center; text-align: center; }
}
