/* Seminar page 2026 (single-mec-events.php). Hero, cards and side column come from anmeldung.css. */

.bah-sem-hero__kicker { margin-top: 14px !important; color: rgba(255, 255, 255, .8); font-size: 16px; font-weight: 600; }
.bah-sem-hero__kicker + .bah-anm-hero__title { margin-top: 4px !important; }
.bah-sem-hero__lead { max-width: 620px; margin-top: 12px !important; color: #fff; font-size: 19px; line-height: 1.4; }
.bah-sem .bah-anm-hero__title { max-width: 720px; font-size: clamp(32px, 4.2vw, 52px); }

/* Intro: picture, trainer, goal */
.bah-sem-intro { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 26px; align-items: start; padding-bottom: 26px; border-bottom: 1px solid var(--bah-line); }
.bah-sem-intro__img { aspect-ratio: 1; padding: 8px; border: 1px solid var(--bah-line); border-radius: var(--bah-radius); background: #fff; }
.bah-sem-intro__img img { width: 100%; height: 100%; object-fit: contain; }
.bah-sem-intro__text { display: grid; gap: 4px; }
.bah-sem-label { margin-top: 8px !important; font-family: var(--bah-head); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--bah-orange); }
.bah-sem-label:first-child { margin-top: 0 !important; }
.bah-sem-intro__trainer { font-size: 18px; font-weight: 600; color: var(--bah-ink); }
.bah-sem-intro__ziel p { font-size: 16px; line-height: 1.6; }
.bah-sem-intro:only-child { padding-bottom: 0; border: 0; }

/*
 * Seminar text: the event's Elementor content (text-editor and heading
 * widgets in two-column sections) without Elementor's own CSS. Columns are
 * stacked, empty columns dropped, inline colours removed. Price rows
 * ("col-left-text" | "col-right-text") become a label and price table.
 */
.bah-sem__content { margin-top: 8px; color: var(--bah-text); font-size: 16px; line-height: 1.65; }
.bah-sem__content .elementor-section,
.bah-sem__content .elementor-container,
.bah-sem__content .elementor-column,
.bah-sem__content .elementor-widget-wrap,
.bah-sem__content .elementor-widget-container { display: block; width: auto !important; max-width: none; margin: 0; padding: 0; }
.bah-sem__content .elementor-column:not(:has(.elementor-widget)) { display: none; }
.bah-sem__content [style*="color"] { color: inherit !important; }
.bah-sem__content span[style*="vertical-align"] { vertical-align: baseline !important; }
.bah-sem__content .elementor-widget-text-editor { margin-top: 24px; }
.bah-sem__content p { margin: 0 0 10px; }
.bah-sem__content ul { margin: 6px 0 12px; padding-left: 0; list-style: none; }
.bah-sem__content ul li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.bah-sem__content ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--bah-orange); }
.bah-sem__content a { color: var(--bah-navy-2); text-decoration: underline; }
/* Section names, made into <h3> by ba_seminar_content(). */
.bah-sem__content .bah-sem-h {
	margin: 26px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--bah-line);
	font-family: var(--bah-head); font-weight: 700; font-size: 21px; letter-spacing: .05em; text-transform: uppercase; color: var(--bah-navy);
}
.bah-sem__content .elementor-widget-text-editor:first-child .bah-sem-h:first-child { margin-top: 0; }

/* Price table: only the innermost sections that hold a label and a price column. */
.bah-sem__content .elementor-section:has(> .elementor-container > .col-left-text) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; }
.bah-sem__content .elementor-section:has(> .elementor-container > .col-left-text) > .elementor-container,
.bah-sem__content .elementor-section:has(> .elementor-container > .col-left-text) > .elementor-container > .elementor-column,
.bah-sem__content .elementor-section:has(> .elementor-container > .col-left-text) > .elementor-container > .elementor-column > .elementor-widget-wrap { display: contents; }
.bah-sem__content .elementor-section:has(> .elementor-container > .col-left-text) .elementor-widget-heading { padding: 10px 0; border-bottom: 1px dashed var(--bah-line); }
.bah-sem__content .elementor-section:has(> .elementor-container > .col-left-text) .elementor-widget-text-editor { grid-column: 1 / -1; }
.bah-sem__content .elementor-heading-title { margin: 0; font-family: var(--bah-font); font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--bah-ink); text-transform: none; letter-spacing: 0; }
.bah-sem__content .col-right-text .elementor-heading-title { font-weight: 700; text-align: right; white-space: nowrap; }
.bah-sem__content .storn-sec { padding: 14px 16px; border-radius: var(--bah-radius); background: var(--bah-sand); font-size: 14px; }
.bah-sem__content .storn-sec p:last-child { margin-bottom: 0; }

/* Booking card */
.bah-sem-book .bah-anm-sem__title { font-family: var(--bah-head); font-size: 24px; text-transform: uppercase; letter-spacing: .03em; }
.bah-sem-book .bah-kurs__facts strong { font-weight: 700; }
.bah-sem-btn {
	display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px;
	padding: 15px 20px; border-radius: 4px; background: var(--bah-orange); color: #fff !important;
	font-family: var(--bah-head); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
	box-shadow: 0 6px 16px -8px rgba(232, 88, 29, .8); transition: background-color .2s;
}
.bah-sem-btn:hover { background: var(--bah-orange-dark); }
.bah-sem-btn svg { width: 18px; height: 18px; }
.bah-sem-btn--ghost { background: #fff; color: var(--bah-orange) !important; border: 2px solid var(--bah-orange); box-shadow: none; }
.bah-sem-btn--ghost:hover { background: #fdeee7; }
.bah-sem-pdf { display: block; margin-top: 12px; text-align: center; font-size: 14px; color: var(--bah-muted); text-decoration: underline !important; }
.bah-sem-pdf:hover { color: var(--bah-orange); }
.bah-sem-book .bah-anm-note { margin-bottom: 0 !important; }

/* Further dates */
.bah-sem-dates { padding: 22px; }
.bah-sem-dates ul { display: grid; gap: 2px; margin-top: 10px !important; }
.bah-sem-dates a { display: grid; gap: 1px; padding: 9px 10px; margin: 0 -10px; border-radius: var(--bah-radius); font-size: 15px; }
.bah-sem-dates a:hover { background: var(--bah-sand); }
.bah-sem-dates strong { color: var(--bah-ink); }
.bah-sem-dates span { color: var(--bah-muted); font-size: 14px; }

/* Booking bar on phones and tablets, where the card scrolls away */
.bah-sem-bar { display: none; }
@media (max-width: 1020px) {
	.bah-sem-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9980;
		display: flex; align-items: center; justify-content: space-between; gap: 14px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff;
		border-top: 1px solid var(--bah-line); box-shadow: 0 -8px 20px -14px rgba(20, 30, 60, .5);
	}
	.bah-sem-bar span { display: grid; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--bah-muted); }
	.bah-sem-bar span, .bah-sem-bar strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.bah-sem-bar strong { font-size: 15px; color: var(--bah-ink); }
	.bah-sem-bar .bah-sem-btn { flex: none; margin: 0; padding: 12px 18px; font-size: 16px; }
	body.ba-seminar-2026 { padding-bottom: 72px; }
	.bah-sem-book .bah-anm-sem__title { display: block; }
}
@media (max-width: 760px) {
	.bah-sem-intro { grid-template-columns: 1fr; gap: 18px; }
	.bah-sem-intro__img { width: 140px; }
	.bah-sem-hero__lead { font-size: 17px; }
}
.bah-sem-price { margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--bah-line); font-size: 14px; color: var(--bah-muted); }
.bah-sem-price strong { margin-right: 4px; font-family: var(--bah-head); font-size: 26px; font-weight: 700; color: var(--bah-ink); }
