/*
Theme Name: Pracownia Rozwoju
Description: Motyw blokowy portalu szkoleniowego (wariant 4 makiet).
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: pracownia-rozwoju
*/

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-Regular.woff') format('woff'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-Medium.woff') format('woff'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-SemiBold.woff') format('woff'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/inter-Bold.woff') format('woff'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/source-serif-4-Regular.woff') format('woff'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/source-serif-4-Medium.woff') format('woff'); }

/* ---------- Tokeny (makiety wariantu 4) ---------- */
:root {
	--psz-black: #141414;
	--psz-red: #d6202c;
	--psz-beige: #f3efe9;
	--psz-line: #d8d4cf;
	--psz-grey-1: #3a3733;
	--psz-grey-2: #4a4642;
	--psz-grey-3: #5a5651;
	--psz-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}
body { font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--psz-black); line-height: 1.5; }
h1, h2, h3, .psz-price, .psz-event-title { font-family: var(--psz-serif); font-weight: 500; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--psz-red); outline-offset: 2px; }

/* ---------- Komponenty ---------- */
.psz-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.psz-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid var(--psz-black); border-radius: 0; cursor: pointer; }
.psz-btn--red { background: var(--psz-red); border-color: var(--psz-red); color: #fff; }
.psz-btn--black { background: var(--psz-black); color: #fff; }
.psz-btn--outline { background: #fff; color: var(--psz-black); }
.psz-status { display: inline-block; margin: 0; padding: 5px 11px; border: 1px solid var(--psz-black); background: #fff; font-size: 13px; font-weight: 500; }
.psz-status--sold_out, .psz-status--cancelled, .psz-status--ended, .psz-status--archived { background: var(--psz-beige); color: var(--psz-grey-1); }
.psz-notice { margin: 12px 0; color: var(--psz-grey-1); }
.psz-empty { padding: 24px 0; color: var(--psz-grey-1); }
.psz-link { font-weight: 600; }

/* ---------- Strona terminu ---------- */
.psz-event-summary { display: grid; gap: 40px; padding: 40px 0; }
.psz-event-title { font-size: 40px; line-height: 1.1; margin: 0 0 24px; }
.psz-date-row { display: flex; gap: 24px; align-items: flex-start; }
.psz-plaque { flex: 0 0 136px; min-height: 124px; background: var(--psz-black); color: #fff; display: grid; place-items: center; text-align: center; padding: 12px 8px; }
.psz-plaque__weekday { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.psz-plaque__day { display: block; font-family: var(--psz-serif); font-size: 52px; line-height: 1; }
.psz-plaque__month { display: block; font-size: 13px; }
.psz-facts__range { font-family: var(--psz-serif); font-size: 26px; margin: 0 0 12px; }
.psz-facts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.psz-fact::before { content: '●'; color: var(--psz-red); margin-right: 10px; font-size: 12px; }
.psz-lead-trainers { margin: 20px 0 0; color: var(--psz-grey-1); }
.psz-buy-panel { border-top: 3px solid var(--psz-black); padding: 20px 0; display: grid; gap: 12px; align-content: start; }
.psz-price { font-size: 28px; line-height: 1.1; margin: 0; }
.psz-price__note { display: block; font-family: Inter, system-ui, sans-serif; font-size: 13px; color: var(--psz-grey-3); }
.psz-seats { margin: 0; font-weight: 600; }
.psz-section { border-top: 3px solid var(--psz-black); padding: 24px 0 8px; margin-top: 32px; }
.psz-section h2 { font-size: 28px; margin: 0 0 16px; }
.psz-session-list { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.psz-session--cancelled { text-decoration: line-through; color: var(--psz-grey-3); }
.psz-session__no { font-weight: 700; margin-right: 6px; }
.psz-trainer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.psz-trainer { display: grid; gap: 4px; }
.psz-trainer__photo, .psz-trainer__initials { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--psz-beige); display: grid; place-items: center; font-family: var(--psz-serif); font-size: 36px; }
.psz-trainer__name { font-weight: 700; }
.psz-trainer__role { font-size: 13px; color: var(--psz-grey-2); }
.psz-info { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 16px; }
.psz-info dt { font-weight: 700; }
.psz-info dd { margin: 0; }
.psz-buy-bar { display: none; }

@media (min-width: 900px) {
	.psz-event-summary { grid-template-columns: 1.6fr 1fr; align-items: start; }
	.psz-buy-panel { position: sticky; top: 24px; }
}

/* A4: przyklejony pasek zakupu na telefonie, cel dotykowy min. 44 px, bezpieczny margines u dołu. */
@media (max-width: 720px) {
	.psz-event-title { font-size: 30px; }
	.psz-date-row { flex-direction: column; }
	.psz-info { grid-template-columns: 1fr; }
	.psz-buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--psz-black); }
	.psz-buy-bar .psz-btn { min-height: 48px; }
	.psz-event-summary .psz-buy-panel .psz-btn--red { display: none; }
	body.single-psz_event { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* ---------- Lista terminów ---------- */
.psz-event-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--psz-black); }
.psz-event-card { border-bottom: 1px solid var(--psz-line); }
.psz-event-card__link { display: grid; grid-template-columns: 78px 1fr auto; gap: 20px; align-items: center; padding: 18px 0; text-decoration: none; }
.psz-event-card__date { font-family: var(--psz-serif); font-size: 24px; line-height: 1.1; }
.psz-event-card__title { display: block; font-family: var(--psz-serif); font-size: 21px; }
.psz-event-card__meta { display: block; color: var(--psz-grey-2); font-size: 14px; }
.psz-event-card__trainers { display: block; color: var(--psz-grey-2); font-size: 14px; }
.psz-event-card__side { display: grid; gap: 8px; justify-items: end; }
.psz-event-card__price { font-family: var(--psz-serif); font-size: 18px; }
@media (max-width: 720px) {
	.psz-event-card__link { grid-template-columns: 64px 1fr; }
	.psz-event-card__side { grid-column: 2; justify-items: start; }
}

/* ---------- Strony ogólne ---------- */
/* Nagłówek i stopka wg makiet wariantu 4: logo 122×80, nawigacja z odstępem 28 px, stopka w 4 kolumnach. */
.psz-site-header { display: flex; align-items: flex-start; gap: 36px; padding: 0 56px; max-width: 1280px; margin: 0 auto; }
.psz-site-header > * { margin-block: 0; }
.psz-logo { flex: none; display: flex; align-items: flex-end; width: 122px; height: 80px; padding: 12px; background: var(--psz-black); color: #fff; font: 500 22px/1.05 Inter, system-ui, sans-serif; text-decoration: none; }
.psz-nav { flex: 1; height: 60px; padding-top: 18px; border-bottom: 1px solid var(--psz-line); font-size: 14px; box-sizing: border-box; }
.psz-nav .wp-block-navigation__container { gap: 28px; }
.psz-nav a { text-decoration: none; }
.psz-site-header__account { margin-top: 12px; min-height: 40px; padding: 0 20px; font-weight: 500; }
.psz-site-footer { background: var(--psz-black); color: #fff; margin-top: 64px; padding: 44px 56px 24px; }
.psz-site-footer a { color: #fff; }
.psz-site-footer__cols { display: flex; gap: 40px; align-items: flex-start; max-width: 1168px; margin: 0 auto; }
.psz-site-footer__brand { width: 200px; font: 500 24px/1.05 Inter, system-ui, sans-serif; }
.psz-site-footer__about, .psz-site-footer__contact, .psz-site-footer__news { flex: 1; margin: 0; padding-left: 28px; border-left: 1px solid #444; font-size: 13px; line-height: 1.8; color: #cfcac4; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.psz-site-footer__contact { color: #fff; }
.psz-site-footer__news { flex: 1.2; gap: 10px; }
.psz-site-footer__news-row { display: flex; }
.psz-site-footer__news input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font: inherit; color: var(--psz-black); background: #fff; }
.psz-site-footer__news button { border: 0; background: var(--psz-red); color: #fff; padding: 10px 16px; font: 600 13px Inter, sans-serif; }
.psz-site-footer__news :disabled { opacity: .85; cursor: not-allowed; }
.psz-site-footer__legal i { font-style: normal; margin: 0 10px; color: #777; }
.psz-site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1168px; margin: 30px auto 0; padding-top: 16px; border-top: 1px solid #444; font-size: 12px; color: #cfcac4; }
@media (max-width: 720px) {
	.psz-site-header { padding: 0 16px; gap: 12px; flex-wrap: wrap; }
	.psz-nav { height: auto; padding-top: 0; border-bottom: 0; }
	.psz-site-header__account { margin-top: 20px; margin-left: auto; }
	.psz-site-footer { padding: 32px 16px 20px; }
	.psz-site-footer__cols { flex-direction: column; gap: 20px; }
	.psz-site-footer__about, .psz-site-footer__contact, .psz-site-footer__news { padding-left: 0; border-left: 0; }
}
.psz-hero h1 { font-size: 52px; line-height: 1.08; max-width: 760px; }
@media (max-width: 720px) { .psz-hero h1 { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
.psz-pagination { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; }

/* ---------- Szkolenie, katalog, prowadzący ---------- */
.psz-training-summary { padding: 40px 0 8px; }
.psz-facts { color: var(--psz-grey-2); }
.psz-course-facts { padding-left: 20px; }
.psz-price { font-family: var(--psz-serif); font-size: 28px; margin: 0 0 12px; }
.psz-price__note { font-family: var(--psz-sans, inherit); font-size: 13px; color: var(--psz-grey-2); }
.psz-filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin: 16px 0; }
.psz-filters input, .psz-filters select { min-height: 44px; padding: 0 12px; border: 1px solid var(--psz-black); background: #fff; font: inherit; }
.psz-results { color: var(--psz-grey-2); margin: 0 0 8px; }
.psz-training-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--psz-black); }
.psz-training-card { border-bottom: 1px solid var(--psz-line); }
.psz-training-card__link { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 0; text-decoration: none; }
.psz-training-card__photo { width: 120px; height: 80px; object-fit: cover; grid-column: 1; }
.psz-training-card__body { display: grid; gap: 4px; }
.psz-training-card__title { font-family: var(--psz-serif); font-size: 21px; }
.psz-training-card__summary, .psz-training-card__meta { font-size: 14px; color: var(--psz-grey-2); }
.psz-training-card__side { display: grid; gap: 8px; justify-items: end; }
.psz-trainer-list--grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.psz-trainer__link { display: grid; gap: 4px; text-decoration: none; }
.psz-trainer-profile { display: grid; gap: 24px; grid-template-columns: 220px 1fr; align-items: center; padding: 40px 0 8px; }
.psz-trainer-profile__photo { width: 220px; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 720px) {
	.psz-training-card__link { grid-template-columns: 1fr; }
	.psz-training-card__side { justify-items: start; }
	.psz-trainer-profile { grid-template-columns: 1fr; }
	.psz-trainer-profile__photo { width: 140px; }
}
.psz-lead { font-size: 18px; max-width: 60ch; }
.psz-unavailable { padding: 12px 16px; border: 1px solid var(--psz-line); background: var(--psz-beige); }
.psz-btn--ghost { display: inline-block; padding: 10px 16px; border: 1px solid var(--psz-black); background: transparent; color: var(--psz-black); font-weight: 600; font-size: 14px; }

/* ---------- Kalendarz i filtry terminów ---------- */
.psz-view-tabs { display: flex; gap: 0; margin: 16px 0; }
.psz-view-tabs a { padding: 10px 20px; border: 1px solid var(--psz-black); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.psz-view-tabs a + a { border-left: 0; }
.psz-view-tabs a.is-active { background: var(--psz-black); color: #fff; }
.psz-chips { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.psz-chips a { display: inline-block; padding: 6px 12px; border: 1px solid var(--psz-black); text-decoration: none; font-size: 14px; }
.psz-calendar__nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 16px 0; }
.psz-calendar__nav h2 { margin: 0; font-size: 28px; text-transform: capitalize; }
.psz-calendar__grid { width: 100%; border-collapse: collapse; table-layout: fixed; display: none; }
.psz-calendar__grid th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 8px; border-bottom: 3px solid var(--psz-black); }
.psz-calendar__grid td { vertical-align: top; height: 96px; padding: 6px 8px; border: 1px solid var(--psz-line); }
.psz-calendar__grid td.has-events { background: var(--psz-beige); }
.psz-calendar__grid td.is-empty { background: transparent; border-color: transparent; }
.psz-calendar__day { display: block; font-size: 12px; color: var(--psz-grey-2); }
.psz-calendar__event { display: block; font-size: 13px; line-height: 1.25; margin-top: 4px; font-weight: 600; }
.psz-calendar__list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--psz-black); }
.psz-calendar__list li { border-bottom: 1px solid var(--psz-line); }
.psz-calendar__list a { display: grid; grid-template-columns: 170px 1fr auto; gap: 12px; padding: 14px 0; text-decoration: none; }
.psz-calendar__when { color: var(--psz-grey-2); }
.psz-calendar__what { font-family: var(--psz-serif); font-size: 18px; }
@media (min-width: 721px) { .psz-calendar__grid { display: table; } }
@media (max-width: 720px) { .psz-calendar__list a { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Przewijane hero (B1) ---------- */
.psz-hero-slider { margin: 8px 0 40px; }
.psz-hero-slide { display: grid; grid-template-columns: 1.18fr 1fr; min-height: 470px; background: var(--psz-beige); margin-bottom: 16px; }
.psz-hero-slide[hidden] { display: none; }
.psz-hero-slide__photo { position: relative; min-height: 260px; background: var(--psz-black); }
.psz-hero-slide__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.psz-hero-slide__art { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 24px; color: #fff; background: linear-gradient(135deg, var(--psz-black) 0 60%, var(--psz-red) 60% 100%); font-family: var(--psz-serif); font-size: 28px; }
.psz-hero-slide__text { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px 44px; }
.psz-hero-slide__title { font-family: var(--psz-serif); font-size: 34px; line-height: 1.12; margin: 0; }
.psz-hero-slide__summary { color: var(--psz-grey-2); margin: 0; }
.psz-hero-slide__cta { align-self: flex-start; }
.psz-hero-slider.is-ready .psz-hero-slide { margin-bottom: 0; }
.psz-hero-slider__bar { display: flex; gap: 16px; align-items: stretch; border-top: 1px solid var(--psz-line); }
.psz-hero-slider__items { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; flex: 1; list-style: none; margin: 0; padding: 0; }
.psz-hero-slider__item { display: block; height: 100%; padding: 14px 16px 14px 0; color: var(--psz-grey-1); text-decoration: none; border-top: 3px solid transparent; margin-top: -1px; font-size: 15px; }
.psz-hero-slider__item[aria-current="true"] { border-top-color: var(--psz-red); font-weight: 600; }
.psz-hero-slider__item:focus-visible { outline: 3px solid var(--psz-red); outline-offset: 2px; }
.psz-hero-slider__kind { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--psz-grey-3); }
.psz-hero-slider:not(.is-ready) .psz-hero-slider__bar { display: none; }
@media (max-width: 720px) {
	.psz-hero-slide { grid-template-columns: 1fr; }
	.psz-hero-slide__photo { min-height: 200px; }
	.psz-hero-slide__text { padding: 24px 20px; }
	.psz-hero-slide__title { font-size: 26px; }
	.psz-hero-slider__bar { flex-direction: column; gap: 0; }
	.psz-hero-slider__items { grid-auto-flow: row; }
	.psz-hero-slider__item { padding: 12px 0; border-top: 0; border-left: 3px solid transparent; padding-left: 10px; }
	.psz-hero-slider__item[aria-current="true"] { border-left-color: var(--psz-red); }
	}

/* ---------- Strona główna wg makiety 21 (wariant 4) ---------- */
.psz-kind { display: inline-block; padding: 5px 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--psz-black); }
.psz-kind--live { background: var(--psz-black); color: #fff; }
.psz-kind--online { background: #fff; color: var(--psz-black); }
.psz-hero-slide__kind { margin: 0; }
.psz-hero-slide__facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; font-weight: 500; }
.psz-hero-slide__facts li { display: flex; align-items: center; gap: 10px; }
.psz-icon { flex: none; color: var(--psz-red); }
.psz-hero-slide__buy { display: flex; align-items: center; gap: 24px; margin-top: 12px; }
.psz-hero-slide__price { font-family: var(--psz-serif); font-size: 24px; }
.psz-hero-slide__cta::after { content: '\00a0→'; }
.psz-hero-slide__cta { color: #fff; }
.psz-hero-slider__bar { border-top: 0; gap: 16px; margin-top: 16px; }
.psz-hero-slider__items { gap: 16px; }
.psz-hero-slider__item { border-top: 1px solid var(--psz-line); margin-top: 0; padding: 12px 8px 0 0; color: var(--psz-grey-3); font-size: 14px; }
.psz-hero-slider__item[aria-current="true"] { border-top: 3px solid var(--psz-black); padding-top: 10px; color: var(--psz-black); font-weight: 600; }
.psz-hero-slider__no { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.psz-hero-slider__kind { display: none; }

.psz-home-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 56px; }
.psz-home-col { border-top: 3px solid var(--psz-black); min-width: 0; }
.psz-home-col__head { align-items: baseline; border-bottom: 1px solid var(--psz-line); padding: 14px 0 10px; }
.psz-home-col__head h2 { margin: 0; font-size: 28px; }
.psz-more { margin: 0; font-size: 13px; font-weight: 700; }
.psz-more a { color: var(--psz-red); text-decoration: none; }
.psz-home-col .psz-event-list, .psz-home-col .psz-training-list { border-top: 0; }
.psz-event-card__date { white-space: nowrap; }
.psz-event-card .psz-tag, .psz-training-card .psz-tag { font-size: 11px; color: var(--psz-grey-3); margin: 0 0 4px; }
.psz-training-card .psz-tag { color: var(--psz-red); }
.psz-training-card__link:has(.psz-training-card__photo) { grid-template-columns: 120px 1fr auto; }
.psz-training-card__photo { width: 120px; height: 96px; }
.psz-status::before { content: '○'; margin-right: 6px; }
.psz-status--available::before { content: '✓'; }
.psz-status--last_seats::before, .psz-status--reserved::before { content: '!'; }
.psz-status--sold_out::before, .psz-status--ended::before, .psz-status--cancelled::before { content: '×'; }

.psz-band { background: var(--psz-beige); margin-top: 64px; padding: 48px max(56px, calc((100% - 1168px) / 2)); }
.psz-band .psz-home-col__head { border-bottom: 0; padding: 0 0 20px; }
.psz-band .psz-trainer-list--grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.psz-band .psz-trainer__link { gap: 0; background: #fff; text-align: center; }
.psz-band .psz-trainer__photo, .psz-band .psz-trainer__initials { aspect-ratio: auto; height: 190px; background: #e8e3dc; font-size: 56px; }
.psz-band .psz-trainer__name { padding: 12px 8px 0; font-size: 14px; }
.psz-band .psz-trainer__role { padding: 0 8px 12px; font-size: 12px; }

@media (max-width: 900px) {
	.psz-home-cols { grid-template-columns: 1fr; gap: 40px; }
	.psz-band .psz-trainer-list--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.psz-band { padding: 32px 16px; }
	.psz-hero-slide__buy { flex-wrap: wrap; gap: 12px 20px; }
	.psz-training-card__link:has(.psz-training-card__photo) { grid-template-columns: 96px 1fr; }
	.psz-training-card__photo { width: 96px; height: 80px; }
	.psz-training-card__link:has(.psz-training-card__photo) .psz-training-card__side { grid-column: 2; }
}
.psz-training-card__side .psz-btn--ghost { padding: 8px 14px; line-height: 1.3; }

/* ---------- Strona terminu wg makiet 8, 9, 11, 12 (wariant 4) ---------- */
.psz-breadcrumbs { margin: 20px 0 12px; font-size: 13px; color: var(--psz-grey-3); }
.psz-breadcrumbs a { color: inherit; }
.psz-tag--red { color: var(--psz-red); }
.psz-event-summary { padding: 0 0 32px; gap: 56px; }
.psz-event-title { font-size: 42px; }
.psz-event-main > .psz-lead { font-size: 18px; color: var(--psz-grey-1); margin: 0 0 24px; }
.psz-date-row { align-items: center; }
.psz-plaque { flex: 0 0 108px; min-height: 108px; }
.psz-plaque__month { text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.psz-facts__range { font-size: 24px; margin: 0 0 10px; }
.psz-facts__list { gap: 6px; font-size: 14px; }
.psz-fact { display: flex; align-items: center; gap: 10px; }
.psz-fact::before { content: none; }
.psz-event-banner { display: block; width: 100%; height: 280px; object-fit: cover; margin-top: 28px; }
.psz-buy-panel { border: 1px solid var(--psz-black); border-top-width: 1px; padding: 24px; gap: 14px; }
.psz-buy-panel .psz-tag { margin: 0; }
.psz-buy-panel__rows { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; padding: 14px 0; border-top: 1px solid var(--psz-line); font-size: 14px; }
.psz-buy-panel__rows dt { color: var(--psz-grey-3); }
.psz-buy-panel__rows dd { margin: 0; text-align: right; font-weight: 600; }
.psz-buy-panel .psz-btn { width: 100%; box-sizing: border-box; }
.psz-buy-panel .psz-btn--red::after, .psz-buy-bar .psz-btn--red::after { content: '\00a0→'; }
.psz-seats { font-size: 13px; font-weight: 400; color: var(--psz-grey-3); }
.psz-section ul:not([class]) { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.psz-section ul:not([class]) li::before { content: '→'; color: var(--psz-red); margin-right: 14px; }
.psz-trainers .psz-trainer-list { grid-template-columns: 1fr; }
.psz-trainers .psz-trainer { grid-template-columns: 190px 1fr; column-gap: 24px; align-items: start; }
.psz-trainers .psz-trainer__photo, .psz-trainers .psz-trainer__initials { grid-row: 1 / span 2; height: 130px; aspect-ratio: auto; }
.psz-trainers .psz-trainer__name { font-family: var(--psz-serif); font-size: 20px; font-weight: 500; align-self: end; }
.psz-trainers .psz-trainer__role { align-self: start; }
.psz-practical .psz-info { border: 1px solid var(--psz-black); padding: 20px 24px; background: #fff; }
@media (min-width: 900px) { .psz-event-summary { grid-template-columns: 1fr 340px; } }
@media (max-width: 720px) {
	.psz-event-title { font-size: 30px; }
	.psz-date-row { flex-direction: row; align-items: center; gap: 16px; }
	.psz-facts__range { font-size: 18px; }
	.psz-event-banner { height: 180px; }
	.psz-trainers .psz-trainer { grid-template-columns: 110px 1fr; }
	.psz-buy-panel__rows { grid-template-columns: 1fr; }
	.psz-buy-panel__rows dd { text-align: left; }
}
/* ---------- Poprawki po przeglądzie strony głównej ---------- */
/* Nawigacja: WordPress kopiuje klasę bloku także na listę wewnątrz, co dawało drugą linię. */
.psz-nav .psz-nav, .psz-nav .wp-block-navigation__container { height: auto; padding-top: 0; border: 0; }
.psz-nav .wp-block-navigation__container { align-items: flex-start; }
.psz-home { padding-top: 32px; }
.psz-home > * { margin-block-start: 0; }
.psz-home-cols > .psz-home-col { margin-block-start: 0; }
.psz-hero-slider__item { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Karta terminu wg makiety: data w dwóch wierszach, status pod tytułem. */
.psz-event-card__link { grid-template-columns: 78px 1fr; align-items: start; }
.psz-event-card__date { display: grid; justify-items: center; text-align: center; }
.psz-event-card__day { font-family: var(--psz-serif); font-size: 24px; line-height: 1.1; }
.psz-event-card__mon { font-family: var(--psz-serif); font-size: 12px; letter-spacing: .12em; }
.psz-event-card__body { display: grid; gap: 2px; justify-items: start; }
.psz-event-card__body .psz-status { margin-top: 8px; }
.psz-event-card__side { display: none; }
/* Karta kursu: bez przycisku i bez streszczenia na liście; cena po prawej na dole. */
.psz-training-card__link { align-items: end; }
.psz-training-card__side { align-self: end; }
.psz-training-card__body .psz-status { justify-self: start; margin-top: 8px; }
.psz-home-col .psz-training-card__summary, .psz-home-col .psz-training-card__trainers { display: none; }
@media (max-width: 720px) { .psz-home { padding-top: 16px; } }
.psz-site-footer__legal a { text-decoration: none; }
.psz-site-footer__shortcuts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; font: 400 13px/1.6 Inter, system-ui, sans-serif; }
.psz-site-footer__shortcuts a { text-decoration: none; color: #cfcac4; }
.psz-hero-slider__items { grid-auto-columns: minmax(0, 1fr); min-width: 0; }
.psz-hero-slider__items > li { min-width: 0; }

/* Przycisk pauzy (WCAG 2.2.2): mały, bez ramki, w pasku pozycji hero. */
.psz-hero-slider__pause { align-self: flex-start; margin-top: 12px; padding: 4px 0 4px 20px; border: 0; background: none; font: 500 12px/1.4 Inter, system-ui, sans-serif; color: var(--psz-grey-3); text-decoration: underline; cursor: pointer; position: relative; white-space: nowrap; }
.psz-hero-slider__pause::before { content: '❚❚'; position: absolute; left: 0; top: 4px; font-size: 8px; letter-spacing: -1px; line-height: 1.9; }
.psz-hero-slider__pause[aria-pressed="true"]::before { content: '▶'; letter-spacing: 0; }
.psz-hero-slider__pause:hover { color: var(--psz-black); }
.psz-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Strona kursu online wg makiety 5 ---------- */
.psz-pills { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.psz-pills li { padding: 5px 11px; border: 1px solid var(--psz-black); background: #fff; font-size: 13px; font-weight: 500; }
.psz-training-summary { padding: 0 0 8px; }
.psz-training-summary .psz-lead { font-size: 18px; color: var(--psz-grey-1); }
.psz-training-summary .psz-event-banner { margin: 8px 0 0; }
.psz-course-panel { padding: 24px; }
.psz-course-panel .psz-unavailable { margin: 0; }
@media (min-width: 900px) {
	/* Strona kursu: panel zakupu obok opisu (kolumna 2), reszta w kolumnie 1. */
	main:has(.psz-course-panel) { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 56px; align-content: start; max-width: 1168px; margin-inline: auto; }
	main:has(.psz-course-panel) > * { max-width: none; grid-column: 1; margin-inline: 0; }
	main:has(.psz-course-panel) > .psz-breadcrumbs { grid-column: 1 / -1; }
	main:has(.psz-course-panel) > .psz-course-panel { grid-column: 2; grid-row: 2 / span 4; align-self: start; position: sticky; top: 24px; }
	main:has(.psz-course-panel) .psz-training-summary__cta { display: none; }
}
