/* Tychy24 Audio Player 1.0.0 */
.t24ap{--t24-accent:#038fd8;--t24-bg:#fff;--t24-fg:#14202b;--t24-muted:#6b7a88;--t24-line:#dbe3ea;
	box-sizing:border-box;margin:1.5em 0;max-width:100%;color:var(--t24-fg);font-family:inherit;line-height:1.3}
.t24ap *,.t24ap *::before,.t24ap *::after{box-sizing:border-box}
.t24ap p{margin:0}
.t24ap__audio{display:none}
/* bez JS pokazujemy natywny odtwarzacz */
.t24ap:not(.is-ready) .t24ap__audio{display:block;width:100%}
.t24ap:not(.is-ready) .t24ap__ui{display:none}
.t24ap__error{padding:.6em .9em;background:#fff3cd;border-radius:6px}

.t24ap__ui{display:flex;align-items:center;gap:14px;background:var(--t24-bg);border:1px solid var(--t24-line);border-radius:16px;padding:14px 16px;box-shadow:0 2px 10px rgba(20,32,43,.06)}
.t24ap button{font:inherit;cursor:pointer;border:0;margin:0;padding:0;-webkit-appearance:none;appearance:none;background:none;color:inherit}
.t24ap button:focus-visible,.t24ap__seek:focus-visible{outline:3px solid var(--t24-accent);outline-offset:2px}

/* przycisk play */
.t24ap__play{flex:0 0 auto;width:48px;height:48px;border-radius:50%;background:var(--t24-accent)!important;color:#fff!important;display:inline-flex;align-items:center;justify-content:center;transition:transform .15s,filter .15s}
.t24ap__play:hover{filter:brightness(1.08);transform:scale(1.04)}
.t24ap__play .t24ap__i-pause{display:none}
.t24ap.is-playing .t24ap__play .t24ap__i-play{display:none}
.t24ap.is-playing .t24ap__play .t24ap__i-pause{display:block}

/* pasek postepu */
.t24ap__seek{position:relative;flex:1 1 auto;min-width:0;cursor:pointer;touch-action:none;padding:10px 0}
.t24ap__track{height:6px;border-radius:3px;background:#e4ebf1;overflow:hidden}
.t24ap__fill{height:100%;width:calc(var(--p,0)*100%);background:var(--t24-accent);border-radius:3px}
.t24ap__cur,.t24ap__dur,.t24ap__times{font-size:13px;font-variant-numeric:tabular-nums;color:var(--t24-muted);white-space:nowrap}
.t24ap__row{display:flex;align-items:center;gap:10px}
.t24ap__title{font-weight:700;font-size:17px;color:var(--t24-fg)}
.t24ap__role{font-size:14px;color:var(--t24-muted);margin-top:2px}
.t24ap__speed{min-width:44px;height:30px;padding:0 10px!important;border-radius:15px;border:1px solid var(--t24-line)!important;font-size:13px;font-weight:700;color:var(--t24-accent)!important;background:#fff!important}
.t24ap__speed:hover{background:#eef7fd!important}

/* 4: fala */
.t24ap--wave .t24ap__ui{background:#0f1c27;border-color:#0f1c27;--t24-muted:#9fb3c4;color:#fff}
.t24ap__seek--wave{height:48px;padding:0}
.t24ap__bars{position:absolute;inset:0;display:flex;align-items:center;gap:2px}
.t24ap__bars i{flex:1 1 0;min-width:2px;border-radius:2px;background:rgba(255,255,255,.28);height:var(--h,50%)}
.t24ap__bars--fill{clip-path:inset(0 calc(100% - var(--p,0)*100%) 0 0);pointer-events:none}
.t24ap__bars--fill i{background:var(--t24-accent)}

/* 5: karta */
.t24ap--card .t24ap__ui{gap:16px;padding:16px}
.t24ap__cover{flex:0 0 auto;width:64px;height:64px;border-radius:12px;overflow:hidden;background:var(--t24-accent);color:#fff;display:flex;align-items:center;justify-content:center}
.t24ap__cover img{width:100%;height:100%;object-fit:cover;display:block}
.t24ap__main{flex:1 1 auto;min-width:0}
.t24ap--card .t24ap__row{margin-top:6px}
.t24ap__side{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:8px}

/* 6: rozmowa ze zdjeciem */
.t24ap--person .t24ap__ui{align-items:flex-start;gap:18px;padding:18px}
.t24ap__photo{flex:0 0 auto;width:var(--t24-photo,150px);height:var(--t24-photo,150px);border-radius:14px;overflow:hidden;background:#e4ebf1}
.t24ap__photo img{width:100%;height:100%;object-fit:cover;display:block}
.t24ap--person .t24ap__main{align-self:center}
.t24ap--person .t24ap__title{font-size:19px}
.t24ap__controls{display:flex;align-items:center;gap:10px;margin:12px 0 4px;flex-wrap:wrap}
.t24ap__skip{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--t24-accent)!important}
.t24ap__skip:hover{background:#eef7fd!important}
.t24ap--person .t24ap__speed{margin-left:auto}

/* telefony */
@media (max-width:560px){
	.t24ap__ui{padding:12px;gap:10px}
	.t24ap__play{width:44px;height:44px}
	.t24ap--wave .t24ap__ui{flex-wrap:wrap}
	.t24ap--wave .t24ap__seek--wave{order:3;flex:1 0 100%}
	.t24ap--wave .t24ap__times{margin-left:auto}
	.t24ap--card .t24ap__ui{flex-wrap:wrap}
	.t24ap--card .t24ap__side{flex-direction:row;margin-left:auto}
	.t24ap--card .t24ap__main{flex:1 1 calc(100% - 90px)}
	.t24ap--person .t24ap__ui{flex-direction:column;align-items:center;text-align:center}
	.t24ap--person .t24ap__photo{width:min(var(--t24-photo,150px),60vw);height:min(var(--t24-photo,150px),60vw)}
	.t24ap--person .t24ap__main{width:100%}
	.t24ap--person .t24ap__controls{justify-content:center}
	.t24ap--person .t24ap__speed{margin-left:0}
}
@media (prefers-reduced-motion:reduce){.t24ap__play{transition:none}}

/* zabezpieczenie przed motywem / wpautop */
.t24ap br{display:none!important}
.t24ap p{margin:0!important;padding:0!important}
.t24ap p:empty{display:none!important}
.t24ap__ui{height:auto!important;min-height:0!important}
.t24ap__photo{width:var(--t24-photo,150px)!important;height:var(--t24-photo,150px)!important;max-width:none!important;min-height:0!important}
.t24ap__photo img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;display:block!important;margin:0!important}
.t24ap__cover img{max-width:none!important;margin:0!important}
.t24ap--person .t24ap__main{display:flex;flex-direction:column;justify-content:center;min-height:0!important;height:auto!important}
.t24ap__controls{margin:12px 0 4px!important;height:auto!important}
.t24ap__controls button{margin:0!important}
@media (max-width:560px){
	.t24ap--person .t24ap__photo{width:min(var(--t24-photo,150px),60vw)!important;height:min(var(--t24-photo,150px),60vw)!important}
}

.t24ap__photo{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;background-color:#e4ebf1}
.t24ap__coverimg{display:block;width:100%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat}
