/*
Theme Name: Tomasz Rzychon
Theme URI: https://tomasz.initsoft.eu
Author: initSoft
Description: Nowoczesny, premium motyw dla trenera i szkoleń. Ciemna czerwień, czerń i biel, efekt high-gloss oraz glassmorphism. Slajder wideo i formularz zapisów obsługuje wtyczka „Tomasz Rzychon – Core”.
Version: 1.2.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tomasz-rzychon
*/

/* ============================================================
   1. ZMIENNE / MOTYW KOLORÓW
   ============================================================ */
:root {
	--c-bg:        #0a0a0c;
	--c-bg-2:      #101015;
	--c-elev:      #16161d;
	--c-red:       #c8102e;
	--c-red-deep:  #7d0a1c;
	--c-red-bright:#e11d33;
	--c-text:      #f4f4f6;
	--c-muted:     #a7a7b2;
	--c-line:      rgba(255,255,255,.10);
	--c-line-soft: rgba(255,255,255,.06);
	--glass:       rgba(255,255,255,.05);
	--glass-2:     rgba(255,255,255,.03);
	--radius:      18px;
	--radius-sm:   12px;
	--shadow:      0 20px 60px rgba(0,0,0,.45);
	--shadow-red:  0 10px 40px rgba(200,16,46,.30);
	--maxw:        1200px;   /* stała, standardowa szerokość strony */
	--ff-head: 'Sora', system-ui, -apple-system, Segoe UI, sans-serif;
	--ff-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ============================================================
   2. RESET / BAZA
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
	margin: 0;
	font-family: var(--ff-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--c-text);
	background: var(--c-bg);
	background-image:
		radial-gradient(1200px 600px at 80% -10%, rgba(200,16,46,.18), transparent 60%),
		radial-gradient(900px 500px at -10% 10%, rgba(125,10,28,.16), transparent 55%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--c-red-bright); outline-offset: 2px; border-radius: 4px; }

.trz-skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 10px 16px; z-index: 1000; }
.trz-skip:focus { left: 10px; top: 10px; }

.trz-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.trp-kicker {
	font-family: var(--ff-head);
	text-transform: uppercase;
	letter-spacing: .22em;
	font-size: .72rem;
	font-weight: 700;
	color: var(--c-red-bright);
	margin: 0 0 14px;
}

/* ============================================================
   3. PRZYCISKI (high-gloss)
   ============================================================ */
.trp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--ff-head); font-weight: 600; font-size: .98rem;
	padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
	line-height: 1; text-align: center;
	transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, filter .25s, background .25s;
	will-change: transform;
}
.trp-btn--primary {
	color: #fff;
	background: linear-gradient(180deg, var(--c-red-bright) 0%, var(--c-red) 55%, var(--c-red-deep) 100%);
	box-shadow: var(--shadow-red), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 6px rgba(0,0,0,.25);
	position: relative; overflow: hidden;
}
.trp-btn--primary::after {
	content: ""; position: absolute; inset: 0 0 55% 0;
	background: linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,0));
	pointer-events: none;
}
.trp-btn--primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 46px rgba(200,16,46,.45), inset 0 1px 0 rgba(255,255,255,.4); }
.trp-btn--primary:active { transform: translateY(0); }
.trp-btn--ghost {
	color: var(--c-text);
	background: var(--glass);
	border: 1px solid var(--c-line);
	backdrop-filter: blur(8px);
}
.trp-btn--ghost:hover { border-color: var(--c-red); color: #fff; transform: translateY(-2px); background: rgba(200,16,46,.12); }
.trp-btn:disabled { opacity: .6; cursor: default; transform: none; }

/* ============================================================
   4. NAGŁÓWEK / NAWIGACJA
   ============================================================ */
.trz-header {
	position: sticky; top: 0; z-index: 200;
	transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.trz-header.is-scrolled {
	background: rgba(10,10,12,.72);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--c-line-soft);
	box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.trz-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.trz-brand__link { display: inline-flex; flex-direction: column; line-height: 1.1; }
.trz-brand__name { font-family: var(--ff-head); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; }
.trz-brand__tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); margin-top: 3px; }
.custom-logo { max-height: 72px; width: auto; }

.trz-nav { display: flex; align-items: center; gap: 30px; }
.trz-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.trz-menu a { font-family: var(--ff-head); font-weight: 600; font-size: .96rem; color: var(--c-text); position: relative; padding: 6px 0; opacity: .9; transition: opacity .2s, color .2s; }
.trz-menu a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--c-red-bright), var(--c-red-deep)); transition: width .3s; }
.trz-menu a:hover { opacity: 1; }
.trz-menu a:hover::after,
.trz-menu .current-menu-item > a::after { width: 100%; }
.trz-nav__cta { padding: 11px 22px; }

.trz-burger { display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 8px; z-index: 60; }
.trz-burger span { width: 26px; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform .3s, opacity .3s; }
body.trz-nav-open .trz-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.trz-nav-open .trz-burger span:nth-child(2) { opacity: 0; }
body.trz-nav-open .trz-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   5. HERO (slajder na całą szerokość) + SLAJDER
   ============================================================ */
.trp-hero { position: relative; padding: 34px 0 16px; }
.trp-hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Slajder jako główny Hero — pełna szerokość, proporcje 16:9 (jak filmy) */
.trp-slider {
	position: relative; width: 100%; border-radius: var(--radius); overflow: hidden;
	background: #000;
	border: 1px solid var(--c-line);
	box-shadow: var(--shadow), 0 0 0 1px rgba(200,16,46,.10);
	aspect-ratio: 16 / 9;
}
.trp-slider::before {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -80px 120px rgba(0,0,0,.45);
	border-radius: inherit;
}
.trp-slider__track { position: absolute; inset: 0; }
.trp-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.trp-slide.is-active { opacity: 1; z-index: 2; }
/* contain = cały kadr filmu widoczny, nic nie jest ucinane (filmy 16:9 wypełniają ramkę 16:9 idealnie) */
.trp-slide__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.trp-slide__caption {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
	padding: 34px 30px 22px; font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem;
	color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.7);
}
.trp-slider__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
	background: rgba(10,10,12,.5); border: 1px solid var(--c-line); color: #fff;
	font-size: 1.6rem; line-height: 1; display: flex; align-items: center; justify-content: center;
	backdrop-filter: blur(6px); transition: background .2s, transform .2s, border-color .2s;
}
.trp-slider__nav:hover { background: var(--c-red); border-color: var(--c-red-bright); }
.trp-slider__nav--prev { left: 18px; }
.trp-slider__nav--next { right: 18px; }
.trp-slider__dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 9px; }
.trp-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.35); transition: transform .2s, background .2s; padding: 0; }
.trp-dot.is-active { background: var(--c-red-bright); transform: scale(1.35); }
.trp-slider__sound {
	position: absolute; z-index: 5; top: 16px; right: 16px;
	width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
	background: rgba(10,10,12,.5); border: 1px solid var(--c-line); color: #fff;
	backdrop-filter: blur(6px); font-size: 1rem;
}
.trp-slider__sound:hover { background: var(--c-red); }
.trp-slider--empty { display: flex; align-items: center; justify-content: center; text-align: center; color: var(--c-muted); padding: 40px; aspect-ratio: 16 / 9; }

/* Tekst pod slajderem */
.trp-hero__copy { text-align: center; max-width: 760px; margin: 34px auto 0; }
.trp-hero__title { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; margin-bottom: .3em; }
.trp-hero__text { color: var(--c-muted); font-size: 1.12rem; max-width: 52ch; margin: 0 auto; }
.trp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

/* ============================================================
   6. SEKCJE + OFERTA (szkolenia jedno pod drugim)
   ============================================================ */
.trz-section, .trp-section { padding: 84px 0; }
.trp-section__head, .trz-page-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.trp-section__title, .trz-page-title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.trz-page-lead { color: var(--c-muted); font-size: 1.1rem; }

/* Lista szkoleń — pojedyncza kolumna, karty poziome */
.trp-cards { display: flex; flex-direction: column; gap: 22px; max-width: 940px; margin: 0 auto; }
.trp-card {
	position: relative; display: flex; flex-direction: row; align-items: center; gap: 34px;
	background: linear-gradient(180deg, var(--glass), var(--glass-2));
	border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 30px 34px; backdrop-filter: blur(10px);
	overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s;
}
.trp-card::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; height: 100%;
	background: linear-gradient(180deg, var(--c-red-bright), var(--c-red-deep));
	transform: scaleY(0); transform-origin: top; transition: transform .4s;
}
.trp-card:hover { transform: translateY(-4px); border-color: rgba(200,16,46,.45); box-shadow: var(--shadow), var(--shadow-red); }
.trp-card:hover::before { transform: scaleY(1); }
.trp-card__body { flex: 1; min-width: 0; }
.trp-card__title { font-size: 1.5rem; margin-bottom: 14px; }
.trp-card__meta { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; }
.trp-card__meta li { display: flex; flex-direction: column; gap: 3px; }
.trp-card__label { color: var(--c-muted); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 600; }
.trp-card__meta li > span:last-child { font-family: var(--ff-head); font-weight: 600; font-size: 1.02rem; }
.trp-card__price span:last-child { color: var(--c-red-bright); font-size: 1.1rem; }
.trp-card__desc { color: var(--c-muted); font-size: .98rem; margin-top: 6px; }
.trp-card__desc p { margin: 0; }
.trp-card__foot { flex-shrink: 0; }
.trp-card__foot .trp-btn { width: auto; white-space: nowrap; }

.trp-empty, .trz-intro .trp-empty { text-align: center; color: var(--c-muted); }
.trz-intro { padding: 40px 0 0; }

/* ============================================================
   7. PUBLIKACJE (lista + treść)
   ============================================================ */
.trz-pub-list { list-style: none; margin: 0; padding: 0; max-width: 860px; margin-inline: auto; counter-reset: pub; }
.trz-pub-item { border-bottom: 1px solid var(--c-line-soft); }
.trz-pub-link {
	display: flex; align-items: baseline; gap: 18px; padding: 26px 8px;
	transition: padding .3s, background .3s; position: relative;
}
.trz-pub-link::before {
	counter-increment: pub; content: counter(pub, decimal-leading-zero);
	font-family: var(--ff-head); font-weight: 700; color: var(--c-red-deep); font-size: 1rem; min-width: 2.4ch;
	transition: color .3s;
}
.trz-pub-title { font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.6rem); flex: 1; transition: color .3s; overflow-wrap: break-word; min-width: 0; }
.trz-pub-meta { color: var(--c-muted); font-size: .82rem; white-space: nowrap; }
.trz-pub-arrow { color: var(--c-red-bright); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; font-size: 1.2rem; }
.trz-pub-link:hover { padding-left: 22px; background: linear-gradient(90deg, rgba(200,16,46,.10), transparent); border-radius: var(--radius-sm); }
.trz-pub-link:hover .trz-pub-title { color: #fff; }
.trz-pub-link:hover::before { color: var(--c-red-bright); }
.trz-pub-link:hover .trz-pub-arrow { opacity: 1; transform: translateX(0); }

/* Treść / typografia */
.trz-single, .trz-page { padding: 70px 0 30px; }
.trz-single__inner { max-width: 800px; }
.trz-single__back a { color: var(--c-muted); font-size: .9rem; }
.trz-single__back a:hover { color: var(--c-red-bright); }
.trz-single__title, .trz-page-title { font-size: clamp(2rem, 4.5vw, 3rem); }
.trz-single__meta { color: var(--c-muted); font-size: .9rem; }
.trz-single__media { margin: 24px 0 8px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); }
.trz-prose { font-size: 1.08rem; color: #e8e8ee; overflow-wrap: break-word; }
.trz-prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.trz-prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.trz-prose a { color: var(--c-red-bright); text-decoration: underline; text-underline-offset: 3px; }
.trz-prose img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.trz-prose blockquote { border-left: 3px solid var(--c-red); padding-left: 20px; margin: 1.4em 0; color: var(--c-muted); font-style: italic; }
.trz-prose ul, .trz-prose ol { padding-left: 1.3em; }
.trz-prose li { margin-bottom: .4em; }

.trz-postnav__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 30px; border-top: 1px solid var(--c-line-soft); max-width: 860px; }
.trz-postnav__link { color: var(--c-muted); font-family: var(--ff-head); font-weight: 600; font-size: .95rem; transition: color .2s; }
.trz-postnav__link:hover { color: var(--c-red-bright); }
.trz-pagination { margin-top: 40px; text-align: center; }
.trz-pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 10px; margin: 0 3px; border-radius: 10px; border: 1px solid var(--c-line); color: var(--c-text); }
.trz-pagination .page-numbers.current { background: var(--c-red); border-color: var(--c-red-bright); }

/* ============================================================
   8. STOPKA / KONTAKT
   ============================================================ */
.trz-footer { margin-top: 40px; border-top: 1px solid var(--c-line-soft); background: linear-gradient(180deg, transparent, rgba(0,0,0,.4)); }
.trz-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.trz-footer__title { font-size: 1.3rem; margin-bottom: 20px; }
.trp-contact__name { font-family: var(--ff-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
.trp-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trp-contact__list li { color: var(--c-muted); }
.trp-contact__list li span { display: inline-block; min-width: 92px; color: #fff; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.trp-contact__list a:hover { color: var(--c-red-bright); }
.trp-contact__extra { color: var(--c-muted); font-size: .92rem; margin-top: 14px; overflow-wrap: break-word; }
.trz-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trz-footer__menu a:hover { color: var(--c-red-bright); }
.trz-footer__bar { border-top: 1px solid var(--c-line-soft); padding: 18px 0; }
.trz-footer__bar p { margin: 0; color: var(--c-muted); font-size: .85rem; }

/* ============================================================
   9. MODAL + FORMULARZ
   ============================================================ */
.trz-no-scroll, body.trp-no-scroll { overflow: hidden; }
.trp-modal { position: fixed; inset: 0; z-index: 500; display: none; }
.trp-modal.is-open { display: block; }
.trp-modal__overlay { position: absolute; inset: 0; background: rgba(5,5,7,.75); backdrop-filter: blur(6px); animation: trpFade .3s ease; }
.trp-modal__dialog {
	position: relative; z-index: 2; width: min(480px, calc(100% - 32px));
	margin: 8vh auto 0; padding: 38px 34px;
	background: linear-gradient(180deg, #17171e, #101015);
	border: 1px solid var(--c-line); border-radius: var(--radius);
	box-shadow: var(--shadow), var(--shadow-red);
	animation: trpPop .35s cubic-bezier(.2,.8,.2,1);
}
.trp-modal__close { position: absolute; top: 12px; right: 14px; background: transparent; border: 0; color: var(--c-muted); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.trp-modal__close:hover { color: var(--c-red-bright); }
.trp-modal__title { font-size: 1.6rem; margin-bottom: 6px; }
.trp-modal__sub { color: var(--c-muted); font-size: .95rem; margin-bottom: 22px; }

.trp-form .trp-field { margin-bottom: 16px; }
.trp-form label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 7px; }
.trp-form input[type=text], .trp-form input[type=email] {
	width: 100%; padding: 13px 16px; font-size: 1rem; font-family: var(--ff-body); color: #fff;
	background: rgba(255,255,255,.04); border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.trp-form input:focus { outline: none; border-color: var(--c-red); background: rgba(200,16,46,.06); box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
.trp-form .trp-btn { width: 100%; margin-top: 8px; }
.trp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.trp-form-msg { display: none; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .95rem; }
.trp-form-msg.is-success { display: block; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); color: #b6f3c9; }
.trp-form-msg.is-error { display: block; background: rgba(200,16,46,.12); border: 1px solid rgba(200,16,46,.45); color: #ffc4cc; }

/* Formularz osadzony na stronie (poza modalem) */
.trz-prose .trp-form, .entry-content .trp-form { max-width: 480px; background: linear-gradient(180deg, var(--glass), var(--glass-2)); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px; }

/* ============================================================
   10. ANIMACJE WEJŚCIA
   ============================================================ */
.trz-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.trz-reveal.is-in { opacity: 1; transform: none; }
@keyframes trpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes trpPop { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }

/* ============================================================
   11. RESPONSYWNOŚĆ
   ============================================================ */
/* Laptop/desktop: mniejsze okno filmu, aby od razu widac bylo sekcje szkolen */
@media (min-width: 821px) {
	.trp-hero { padding-top: 20px; padding-bottom: 6px; }
	.trp-slider--hero {
		max-width: min(760px, calc((100vh - 300px) * 16 / 9));
		margin-inline: auto;
	}
	.trp-hero__copy { margin-top: 8px; }
	.trp-szkolenia { padding-top: 40px; }
	.trp-szkolenia .trp-section__head { margin-bottom: 30px; }
}

@media (max-width: 900px) {
	.trz-footer__inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 820px) {
	.trz-header { position: sticky; }
	.trz-burger { display: flex; }

	/* Menu mobilne jako rozwijany panel na PEŁNĄ szerokość — nic nie wychodzi w bok */
	.trz-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		width: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 12px 24px 22px;
		background: linear-gradient(180deg, #121218, #0b0b0e);
		border-top: 1px solid var(--c-line);
		box-shadow: 0 24px 50px rgba(0,0,0,.5);
		opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
		z-index: 50;
	}
	body.trz-nav-open .trz-nav { opacity: 1; visibility: visible; transform: none; }
	.trz-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.trz-menu a { font-size: 1.05rem; padding: 14px 4px; border-bottom: 1px solid var(--c-line-soft); opacity: 1; }
	.trz-menu a::after { display: none; }

	/* Karty szkoleń wracają do układu pionowego */
	.trp-card { flex-direction: column; align-items: stretch; gap: 20px; }
	.trp-card__foot .trp-btn { width: 100%; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.trz-section, .trp-section { padding: 60px 0; }
	/* Slajder pozostaje 16:9 (jak filmy) także na telefonie — bez kadrowania */
	.trp-slide__caption { font-size: 1.05rem; padding: 22px 18px 16px; }
	.trz-container, .trp-hero__inner { padding-inline: 18px; }
	.trp-hero__copy { margin-top: 26px; }
	.trp-hero__title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
	.trp-modal__dialog { margin-top: 5vh; padding: 30px 22px; }
	.trp-card { padding: 26px 22px; }
	.trp-card__title { font-size: 1.3rem; }
	.trp-card__meta { gap: 10px 20px; }
	.trz-pub-link { padding: 20px 4px; gap: 12px; }
	.trz-pub-meta { display: none; }
	.trz-postnav__inner { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}


/* === Poprawki: przycisk play + zdjecie trenera === */
.trp-slider__play{position:absolute;z-index:6;top:50%;left:50%;transform:translate(-50%,-50%);width:88px;height:88px;border-radius:50%;cursor:pointer;border:1px solid rgba(255,255,255,.55);background:rgba(200,16,46,.9);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 40px rgba(0,0,0,.55),0 0 0 10px rgba(255,255,255,.08);transition:transform .2s,background .2s}
.trp-slider__play svg{margin-left:5px}
.trp-slider__play:hover{background:var(--c-red-bright);transform:translate(-50%,-50%) scale(1.07)}
.trp-slider__play[hidden]{display:none}
.trz-trener-foto{float:right;width:14%;max-width:115px;margin:4px 0 18px 28px;border-radius:16px;overflow:hidden;border:1px solid var(--c-line);box-shadow:var(--shadow)}
.trz-trener-foto img{display:block;width:100%;height:auto;margin:0}
@media (max-width:640px){.trz-trener-foto{float:none;width:100%;max-width:130px;margin:0 auto 20px}.custom-logo{max-height:60px}.trz-header__inner{min-height:82px}}
