/* Podstrony (motyw potomny Transkor): Oferta, O nas, Tabor, Praca, Aktualności, wpisy. */

.tko, .tko-posthead { --tko-red: #E30613; --tko-ink: #0b0b0b; --tko-line: #e3e3e3; --tko-muted: #5c5c5c; }
.tko svg { width: 18px; height: 18px; flex: 0 0 auto; }

.tko-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tko-red); }
.tko-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.tko-kicker--light { color: #ff5a63; }
.tko-h2 { margin: 0; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; }

.tko-link,
.tko-link:link,
.tko-link:visited { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--tko-red); text-decoration: none; }
.tko-link svg { transition: transform .2s; }
.tko-link:hover svg { transform: translateX(4px); }

/* Usługi w skrócie */
.tko-intro { padding: 90px 0 40px; }
.tko-intro__head { max-width: 820px; margin-bottom: 40px; }
.tko-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tko-card,
.tko-card:link,
.tko-card:visited {
	display: flex;
	flex-direction: column;
	padding: 28px 26px 26px;
	border: 1px solid var(--tko-line);
	border-radius: 24px;
	background: #fff;
	color: #1a1a1a;
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tko-card:hover { border-color: var(--tko-red); box-shadow: 0 18px 36px rgba(0, 0, 0, .07); transform: translateY(-3px); }
.tko-card__num { font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: 15px; color: var(--tko-red); }
.tko-card__title { margin: 14px 0 10px; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: 24px; line-height: 1.2; }
.tko-card__text { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: var(--tko-muted); }
.tko-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--tko-red); }

/* Hasła */
.tko-quotes { padding: 40px 0; }
.tko-quotes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--tko-line); border-bottom: 1px solid var(--tko-line); }
.tko-quote { margin: 0; padding-left: 24px; border-left: 3px solid var(--tko-red); font-family: 'AmpleSoftPro', sans-serif; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; }

/* Sekcje usług */
.tko-service { padding: 70px 0; scroll-margin-top: 90px; }
.tko-service__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.tko-service--rev .tko-service__media { order: 2; }
.tko-service__media img { display: block; width: 100%; height: auto; }
.tko-service__title { margin: 0 0 14px; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.12; }
.tko-service__sub { margin: 0 0 16px; font-size: 19px; font-weight: 600; color: #1a1a1a; }
.tko-service__body { margin-bottom: 24px; font-size: 16px; line-height: 1.75; color: var(--tko-muted); }
.tko-service__body p { margin: 0 0 12px; }
.tko-service__body strong { color: #1a1a1a; }

/* Atuty (pod transportem krajowym) */
.tko-features { padding: 0 0 40px; }
.tko-features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tko-feature { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--tko-line); }
.tko-feature__icon { display: block; width: 52px; height: 52px; object-fit: contain; margin-bottom: 18px; }
.tko-feature__title { margin: 0 0 8px; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; }
.tko-feature__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--tko-muted); }

/* Zasięg */
.tko-reach { padding: 50px 0; }
.tko-reach__box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	padding: 56px;
	border-radius: 32px;
	background: radial-gradient(90% 120% at 100% 0%, rgba(227, 6, 19, .3), rgba(227, 6, 19, 0) 60%), var(--tko-ink);
	color: #fff;
	overflow: hidden;
}
.tko-reach__title { margin: 0 0 16px; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: clamp(44px, 6vw, 84px); line-height: 1; }
.tko-reach__lead { margin: 0 0 16px; font-size: 17px; color: rgba(255, 255, 255, .75); }
.tko-reach__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tko-reach__list li { margin: 0; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: 14px; }
.tko-reach__list li::before { content: none; }
.tko-reach__media { padding: 24px; border-radius: 24px; background: #fff; }
.tko-reach__media img { display: block; width: 100%; height: auto; }

/* Liczby */
.tko-stats { padding: 40px 0 10px; }
.tko-stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--tko-line); border-bottom: 1px solid var(--tko-line); }
.tko-stat { padding: 36px 30px; }
.tko-stat + .tko-stat { border-left: 1px solid var(--tko-line); }
.tko-stat__num { margin: 0 0 6px; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: clamp(44px, 4.6vw, 68px); line-height: 1; color: var(--tko-red); }
.tko-stat__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--tko-muted); }

/* Tablety */
@media (max-width: 1180px) {
	.tko-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tko-service__grid { gap: 40px; }
	.tko-reach__box { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 900px) {
	.tko-service { padding: 44px 0; }
	.tko-service__grid { grid-template-columns: 1fr; gap: 24px; }
	.tko-service--rev .tko-service__media { order: 0; }
	.tko-features__grid { grid-template-columns: 1fr; gap: 12px; }
	.tko-quotes__grid { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
}

/* Telefony */
@media (max-width: 760px) {
	.tko-intro { padding: 50px 0 24px; }
	.tko-intro__head { margin-bottom: 24px; }
	.tko-cards { grid-template-columns: 1fr; gap: 12px; }
	.tko-card { padding: 22px 20px; border-radius: 20px; }
	.tko-card__title { font-size: 21px; margin: 8px 0; }
	.tko-card__text { margin-bottom: 16px; }
	.tko-quotes { padding: 24px 0; }
	.tko-service__sub { font-size: 17px; }
	.tko-feature { padding: 22px 20px; border-radius: 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
	.tko-feature__icon { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
	.tko-reach { padding: 30px 0; }
	.tko-reach__box { padding: 30px 20px; border-radius: 24px; gap: 26px; }
	.tko-reach__media { padding: 14px; border-radius: 18px; }
	.tko-stats__grid { grid-template-columns: 1fr; }
	.tko-stat { padding: 22px 4px; }
	.tko-stat + .tko-stat { border-left: 0; border-top: 1px solid var(--tko-line); }
}

/* ============================================================================
   Elementy wspólne dla pozostałych podstron
============================================================================ */
.tko-btn,
.tko-btn:link,
.tko-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s, border-color .2s, color .2s;
}
.tko-btn--red,
.tko-btn--red:link,
.tko-btn--red:visited { background: var(--tko-red); border: 1px solid var(--tko-red); color: #fff; }
.tko-btn--red:hover { background: #80030b; border-color: #80030b; color: #fff; }
.tko-btn--ghost,
.tko-btn--ghost:link,
.tko-btn--ghost:visited { border: 1px solid #1a1a1a; color: #1a1a1a; background: transparent; }
.tko-btn--ghost:hover { background: #1a1a1a; color: #fff; }
.tko-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Wstęp z dużym tekstem */
.tko-intro--about { padding-bottom: 30px; }
.tko-lead { max-width: 980px; }
.tko-lead__text { margin: 0; font-family: 'AmpleSoftPro', sans-serif; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.35; color: #1a1a1a; }
.tko-lead__text b, .tko-lead__text strong { color: var(--tko-red); font-weight: 700; }

/* O nas: historia + zdjęcia */
.tko-story { padding: 60px 0; }
.tko-story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.tko-prose { margin-top: 20px; font-size: 16px; line-height: 1.75; color: var(--tko-muted); }
.tko-prose p { margin: 0 0 14px; }
.tko-prose strong, .tko-prose b { color: #1a1a1a; }
.tko-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tko-mosaic__item { margin: 0; border-radius: 22px; overflow: hidden; background: #e9e9e9; aspect-ratio: 4 / 5; }
.tko-mosaic__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tko-mosaic--4 .tko-mosaic__item:nth-child(even) { transform: translateY(32px); }

/* Pasek z zachętą (dawny „Potrzebujesz więcej informacji?”) */
.tko-ctaband { padding: 50px 0 20px; }
.tko-ctaband__box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	flex-wrap: wrap;
	padding: 36px 44px;
	border-radius: 28px;
	background: #fff;
	border: 1px solid var(--tko-line);
	border-left: 4px solid var(--tko-red);
}
.tko-ctaband__text { margin: 0; max-width: 760px; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; }
.tko-ctaband--dark .tko-ctaband__box { border: 0; background: radial-gradient(90% 140% at 100% 0%, rgba(227, 6, 19, .3), rgba(227, 6, 19, 0) 60%), var(--tko-ink); color: #fff; }

/* Tabor */
.tko-fleet { padding: 70px 0 30px; }
.tko-fleet + .tko-fleet { padding-top: 40px; }
.tko-fleet--rev .tko-service__media { order: -1; }
.tko-fleet__photo img { border-radius: 24px; }
.tko-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 6px 0 0; }
.tko-spec {
	display: grid;
	grid-template-columns: 40px 1fr;
	column-gap: 14px;
	align-items: center;
	margin: 0;
	padding: 16px 18px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--tko-line);
}
.tko-spec img { grid-row: span 2; width: 40px; height: 40px; object-fit: contain; }
.tko-spec dt { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tko-muted); }
.tko-spec dd { margin: 2px 0 0; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; }
.tko-sketch { margin: 40px 0 0; padding: 28px; border-radius: 28px; background: #fff; border: 1px solid var(--tko-line); }
.tko-sketch img { display: block; width: 100%; height: auto; }

/* Praca */
.tko-jobs { padding: 40px 0; }
.tko-jobs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.tko-job { padding: 32px 30px; border-radius: 26px; background: #fff; border: 1px solid var(--tko-line); }
.tko-job--accent { border-color: var(--tko-red); }
.tko-job__icon { display: block; width: 52px; height: 52px; object-fit: contain; margin-bottom: 18px; }
.tko-job__title { margin: 0 0 16px; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: 28px; }
.tko-job__list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tko-job__list li { position: relative; margin: 0; padding-left: 30px; font-size: 15px; line-height: 1.6; }
.tko-job__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--tko-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tko-job__list p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }

.tko-apply { padding: 60px 0 40px; scroll-margin-top: 90px; }
.tko-apply__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.tko .tko-apply__form { display: block; padding: 40px; border-radius: 28px; background: #fff; }
.tko-apply__form .wpcf7 { max-width: none; }
.tko-apply__title { margin: 0 0 20px; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: 34px; }
.tko-apply__aside { padding: 36px; border-radius: 28px; background: var(--tko-ink); color: #fff; }
.tko-apply__lead { margin: 0 0 24px; font-family: 'AmpleSoftPro', sans-serif; font-size: 24px; line-height: 1.35; }
.tko-apply__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tko-apply__contact li { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; font-weight: 600; }
.tko-apply__contact li::before { content: none; }
.tko-apply__contact svg { width: 22px; height: 22px; color: var(--tko-red); }
.tko-apply__contact a, .tko-apply__contact a:link, .tko-apply__contact a:visited { color: #fff; text-decoration: none; }
.tko-apply__contact a:hover { text-decoration: underline; }

/* Aktualności */
.tko-news { padding: 70px 0 40px; }
.tko-news__head { margin-bottom: 28px; }
.tko-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tko-post { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--tko-line); transition: box-shadow .2s, transform .2s; }
.tko-post:hover { box-shadow: 0 18px 36px rgba(0, 0, 0, .08); transform: translateY(-3px); }
.tko-post__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e9e9; }
.tko-post__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tko-post:hover .tko-post__media img { transform: scale(1.04); }
.tko-post__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.tko-post__date { font-size: 13px; font-weight: 600; color: var(--tko-red); }
.tko-post__title { margin: 8px 0 10px; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.25; }
.tko-post__title a, .tko-post__title a:link, .tko-post__title a:visited { color: #1a1a1a; text-decoration: none; }
.tko-post__title a:hover { color: var(--tko-red); }
.tko-post__excerpt { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--tko-muted); }
.tko-post__body .tko-link { margin-top: auto; }
.tko-news .nav-links { justify-content: center; margin-top: 40px; }
.tko-empty { font-size: 18px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Pojedynczy wpis */
.tko-posthead .header__col { max-width: 100% !important; }
.tko-posthead h1 { max-width: 980px; font-size: clamp(32px, 4vw, 58px) !important; line-height: 1.12; }
.tko-posthead__date { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--tko-red); }
.tko-article { padding: 60px 0 20px; }
.tko-article__body { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.8; color: #2a2a2a; }
.tko-article__body img { max-width: 100%; height: auto; border-radius: 20px; }
.tko-article__body h2, .tko-article__body h3 { font-family: 'AmpleSoftPro', sans-serif; line-height: 1.25; margin: 1.6em 0 .6em; }
.tko-article__body a { color: var(--tko-red); }
.tko-article__body figure { margin: 28px 0; }
.tko-article__foot { max-width: 820px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--tko-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tko-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tko-share__label { margin-right: 4px; font-weight: 600; }
.tko-share__btn,
.tko-share__btn:link,
.tko-share__btn:visited { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--tko-line); background: #fff; color: #1a1a1a; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; font-family: inherit; }
.tko-share__btn:hover { border-color: var(--tko-red); color: var(--tko-red); }
.tko-link--back svg { transform: rotate(180deg); }
.tko-link--back:hover svg { transform: rotate(180deg) translateX(4px); }

@media (max-width: 1180px) {
	.tko-story__grid { grid-template-columns: 1fr; gap: 36px; }
	.tko-jobs__grid { grid-template-columns: 1fr; }
	.tko-apply__grid { grid-template-columns: 1fr; }
	.tko-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.tko-fleet--rev .tko-service__media { order: 0; }
}
@media (max-width: 760px) {
	.tko-lead__text { font-size: 22px; }
	.tko-actions .tko-btn { flex: 1 1 100%; }
	.tko-story { padding: 30px 0; }
	.tko-mosaic { gap: 10px; }
	.tko-mosaic__item { border-radius: 16px; }
	.tko-mosaic--4 .tko-mosaic__item:nth-child(even) { transform: translateY(18px); }
	.tko-ctaband__box { padding: 26px 22px; border-radius: 22px; }
	.tko-ctaband__box .tko-btn { width: 100%; }
	.tko-fleet { padding: 40px 0 10px; }
	.tko-specs { grid-template-columns: 1fr 1fr; gap: 8px; }
	.tko-spec { grid-template-columns: 1fr; padding: 14px; }
	.tko-spec img { grid-row: auto; width: 30px; height: 30px; margin-bottom: 8px; }
	.tko-spec dd { font-size: 17px; }
	.tko-sketch { padding: 14px; border-radius: 18px; margin-top: 24px; }
	.tko-job { padding: 24px 20px; border-radius: 20px; }
	.tko .tko-apply__form, .tko-apply__aside { padding: 26px 20px; border-radius: 22px; }
	.tko-news { padding: 40px 0 20px; }
	.tko-news__grid { grid-template-columns: 1fr; gap: 16px; }
	.tko-article { padding: 36px 0 10px; }
	.tko-article__body { font-size: 16px; }
}

/* Poprawki dziedziczenia z motywu głównego */
.tko-post__title a { font-family: inherit; font-weight: inherit; }
.tko-posthead .page__header .tko-posthead__date { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--tko-red); }
.tko-article__body p,
.tko-article__body li { font-size: inherit; line-height: inherit; }

/* Formularz rekrutacyjny (CF7 „Formularz praca”) */
.tko-apply__form .praca-row { margin: 0 0 12px; }
.tko-apply__form .praca-row p { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.tko-apply__form .praca-row p:has(.wpcf7-acceptance),
.tko-apply__form .praca-row-file p { grid-template-columns: 1fr; }
.tko-apply__form .praca-row p span { max-width: none; }
.tko-apply__form .wpcf7-form-control-wrap { display: block; }
.tko-apply__form .wpcf7-text,
.tko-apply__form .wpcf7-tel,
.tko-apply__form .wpcf7-email { width: 100%; padding: 14px 22px; border-radius: 999px; border: 1px solid #BCBEC0; background: #fff; font-size: 16px; }
.tko-apply__form .wpcf7-text:focus,
.tko-apply__form .wpcf7-tel:focus { outline: none; border-color: var(--tko-red); }
.tko-apply__form .wpcf7-file { width: 100%; padding: 18px 20px; border: 1.5px dashed #BCBEC0; border-radius: 18px; background: #fafafa; font-size: 14px; cursor: pointer; }
.tko-apply__form .wpcf7-file:hover { border-color: var(--tko-red); }
.tko-apply__form .wpcf7-list-item { margin: 0; }
.tko-apply__form .wpcf7-list-item label { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; font-weight: 400; }
.tko-apply__form .wpcf7-list-item input { margin-top: 3px; flex: 0 0 auto; }
.tko-apply__form .wpcf7-submit { justify-self: start; margin-top: 6px; }
@media (max-width: 560px) {
	.tko-apply__form .praca-row p { grid-template-columns: 1fr; }
}
.tko-apply__form form,
.tko-apply__form .wpcf7 { max-width: none !important; width: 100%; }
.tko-post__excerpt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tko-post__excerpt strong, .tko-post__excerpt b { font-weight: 600; color: inherit; }
/* Wpis: górny narożnik zostaje w tym samym miejscu w poziomie, ale schodzi na wysokość daty –
   data stoi tuż pod poziomą kreską narożnika (nagłówek ma 80 px odstępu u góry). */
.tko-posthead .page__header::before { top: 80px; }
.tko-posthead .page__header > [data-aos] { padding-top: 18px; }
.tko-posthead .page__header .tko-posthead__date { line-height: 1.2; }
@media (max-width: 760px) {
	.tko-posthead .page__header { padding-bottom: 110px; }
	.tko-posthead .page__header > [data-aos] { padding-left: 24px; }
	.tko-posthead .page__header-breadcrumb { right: 44px; }
}

/* Powiększanie zdjęć we wpisach (assets/js/lightbox.js) */
.tklb-zoom { cursor: zoom-in; transition: opacity .2s; }
.tklb-zoom:hover { opacity: .92; }
.tklb-zoom:focus-visible { outline: 3px solid #E30613; outline-offset: 3px; }
html.tklb-lock, html.tklb-lock body { overflow: hidden; }
.tklb {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 84px;
	background: rgba(8, 8, 8, .96);
	opacity: 0;
	transition: opacity .2s;
}
.tklb[hidden] { display: none; }
.tklb.is-open { opacity: 1; }
.tklb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; gap: 12px; }
.tklb__img { display: block; max-width: 100%; max-height: calc(100% - 40px); width: auto; height: auto; border-radius: 12px; object-fit: contain; opacity: 0; transform: scale(.98); transition: opacity .2s, transform .2s; }
.tklb__img.is-ready { opacity: 1; transform: none; }
.tklb__cap { margin: 0; max-width: 820px; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .8); }
.tklb__btn {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	transition: background .2s;
}
.tklb__btn:hover { background: #E30613; }
.tklb__btn svg { width: 22px; height: 22px; }
.tklb__close { top: 16px; right: 16px; }
.tklb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.tklb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.tklb--single .tklb__prev, .tklb--single .tklb__next { display: none; }
.tklb__count { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); margin: 0; font-size: 14px; color: rgba(255, 255, 255, .7); }
@media (max-width: 760px) {
	.tklb { padding: 64px 10px 84px; }
	.tklb__prev, .tklb__next { top: auto; bottom: 18px; transform: none; }
	.tklb__prev { left: calc(50% - 60px); }
	.tklb__next { right: calc(50% - 60px); }
}

/* Certyfikaty */
.tko-certs { padding: 30px 0 20px; }
.tko-certs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tko-cert { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; padding: 28px; border-radius: 28px; background: #fff; border: 1px solid var(--tko-line); scroll-margin-top: 100px; }
.tko-cert--accent { border-color: var(--tko-red); box-shadow: 0 18px 40px rgba(227, 6, 19, .08); }
.tko-cert__preview { display: block; align-self: start; border-radius: 10px; overflow: hidden; border: 1px solid var(--tko-line); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); transition: transform .2s, box-shadow .2s; }
.tko-cert__preview:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0, 0, 0, .12); }
.tko-cert__preview img { display: block; width: 100%; height: auto; }
.tko-cert__body { display: flex; flex-direction: column; min-width: 0; }
.tko-cert__flag { align-self: flex-start; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: var(--tko-red); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.tko-cert__std { margin: 0; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.1; }
.tko-cert__name { margin: 4px 0 12px; font-size: 17px; font-weight: 600; color: var(--tko-red); }
.tko-cert__text { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--tko-muted); }
.tko-cert__meta { display: grid; gap: 8px; margin: 0 0 22px; }
.tko-cert__meta div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--tko-line); }
.tko-cert__meta dt { margin: 0; font-size: 13px; color: var(--tko-muted); }
.tko-cert__meta dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.tko-cert__btn { margin-top: auto; align-self: flex-start; }
.tko-cert__fmt { font-size: 12px; font-weight: 500; opacity: .75; }
.tko-certs__scope { margin: 20px 0 0; font-size: 14px; color: var(--tko-muted); }
.tko-extra { padding: 30px 0 10px; }
.tko-extra__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tko-extra__item { padding: 26px 28px; border-radius: 24px; background: var(--tko-ink); color: #fff; }
.tko-extra__title { margin: 0 0 6px; font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: 21px; }
.tko-extra__text { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
@media (max-width: 1180px) {
	.tko-certs__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.tko-cert { grid-template-columns: 1fr; gap: 18px; padding: 20px; border-radius: 22px; }
	.tko-cert__preview { width: 150px; }
	.tko-cert__btn { width: 100%; align-self: stretch; }
	.tko-extra__grid { grid-template-columns: 1fr; gap: 12px; }
	.tko-extra__item { padding: 22px 20px; border-radius: 20px; }
}
.tko-cert__preview { cursor: zoom-in; }
.tko-cert__preview img { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tklb--protect .tklb__img { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; background: #fff; }
/* O nas: tekst historii trzyma się przy przewijaniu obok wysokiej siatki zdjęć (bez pustego miejsca nad nim) */
@media (min-width: 1181px) {
	.tko-story__grid { align-items: start; }
	.tko-story__text { position: sticky; top: 110px; }
}
/* Certyfikaty: wstęp na całą szerokość, mniejszym pismem */
.tko-lead--wide { max-width: none; }
.tko-lead--wide .tko-lead__text { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; }

/* Bez granic: zdjęcie zestawu zamiast grafiki na białym tle */
.tko-reach__media--photo { padding: 0; overflow: hidden; background: none; }
.tko-reach__media--photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Polityka prywatności (polityka.php) */
.tkp-head .page__header .tkp-head__sub { margin-top: 18px; max-width: 760px; font-size: 20px; line-height: 1.45; color: #5c5c5c; }
.tkp { padding: 50px 0 90px; }
.tkp__layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 60px; align-items: start; max-width: 1240px; margin: 0 auto; }
.tkp__aside { position: sticky; top: 110px; }
.tkp-toc__box { border: 1px solid var(--tko-line); border-radius: 24px; background: #fff; padding: 22px 22px 16px; }
.tkp-toc__title { list-style: none; cursor: default; margin-bottom: 12px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tko-red); }
.tkp-toc__title::-webkit-details-marker { display: none; }
.tkp-toc__list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.tkp-toc__list li { margin: 0; }
.tkp-toc__list a,
.tkp-toc__list a:link,
.tkp-toc__list a:visited { display: flex; gap: 12px; align-items: baseline; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; font-size: 14.5px; line-height: 1.35; color: #1a1a1a; text-decoration: none; transition: background .15s, color .15s; }
.tkp-toc__list a:hover,
.tkp-toc__list a.is-active { background: #f6f6f6; color: var(--tko-red); }
.tkp-toc__n { flex: 0 0 18px; font-weight: 700; color: var(--tko-red); font-variant-numeric: tabular-nums; }

.tkp__article { min-width: 0; max-width: 860px; }
.tkp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding: 16px 22px; margin-bottom: 14px; border-radius: 18px; background: #f6f6f6; font-size: 15px; }
.tkp-meta p { margin: 0; font-size: inherit; }
.tkp-meta__label { color: var(--tko-muted); margin-right: 6px; }
.tkp-meta a { color: var(--tko-red); font-weight: 600; text-decoration: none; }
.tkp-meta__print { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--tko-line); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: #1a1a1a; cursor: pointer; }
.tkp-meta__print:hover { border-color: var(--tko-red); color: var(--tko-red); }

.tkp-body { font-size: 16.5px; line-height: 1.75; color: #2a2a2a; }
.tkp-body p,
.tkp-body li { font-size: inherit; line-height: inherit; }
.tkp-body p { margin: 0 0 1em; }
.tkp-body a { color: var(--tko-red); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; word-break: break-word; }
.tkp-body strong { font-weight: 700; color: #111; }
.tkp-body ul { margin: 0 0 1.2em; padding: 0; list-style: none; }
.tkp-body ul li { position: relative; padding-left: 22px; margin: 0 0 .45em; }
.tkp-body ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--tko-red); }
.tkp-body .tkp-h2 { display: flex; align-items: flex-start; gap: 14px; margin: 44px 0 18px; padding-top: 34px; border-top: 1px solid var(--tko-line); font-family: 'AmpleSoftPro', sans-serif; font-weight: 700; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.2; color: #111; scroll-margin-top: 110px; }
.tkp-body > .tkp-h2:first-child { margin-top: 30px; padding-top: 0; border-top: 0; }
.tkp-body .wp-block-table thead { border: 0; }
.tkp-body .wp-block-table tfoot { border: 0; }
.tkp-num { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-top: -3px; border-radius: 12px; background: var(--tko-red); color: #fff; font-size: 18px; line-height: 1; }

.tkp-body figure.wp-block-table { margin: 22px 0 26px; overflow-x: auto; }
.tkp-body table.tkp-table { width: 100%; table-layout: auto; border-collapse: separate; border-spacing: 0; border: 1px solid var(--tko-line); border-radius: 18px; overflow: hidden; font-size: 15px; line-height: 1.55; }
.tkp-body .tkp-table th,
.tkp-body .tkp-table td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--tko-line); text-align: left; vertical-align: top; }
.tkp-body .tkp-table th + th,
.tkp-body .tkp-table td + td { border-left: 1px solid var(--tko-line); }
.tkp-body .tkp-table thead th { background: #111; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-bottom: 0; border-left-color: rgba(255,255,255,.12); }
.tkp-body .tkp-table tbody tr:last-child td { border-bottom: 0; }
.tkp-body .tkp-table tbody td { background: #fff; }
.tkp-body .tkp-table tbody tr:nth-child(even) td { background: #fafafa; }
.tkp-body .tkp-table tbody td:first-child { font-weight: 600; color: #111; }
.tkp-body .tkp-cols-4 td:first-child { white-space: nowrap; }

@media (max-width: 1100px) {
	.tkp__layout { grid-template-columns: 1fr; gap: 24px; }
	.tkp__aside { position: static; }
	.tkp-toc__box,
	.tkp-toc__box:not([open]) { padding: 18px 22px; }
	.tkp-toc__title { position: relative; cursor: pointer; display: block; margin: 0; padding: 0 28px; text-align: center; line-height: 24px; }
	.tkp-toc__box[open] .tkp-toc__title { margin-bottom: 12px; }
	.tkp-toc__title::after { content: "+"; position: absolute; right: 0; top: 0; width: 24px; height: 24px; font-size: 22px; line-height: 24px; font-weight: 400; text-align: center; }
	.tkp-toc__box[open] .tkp-toc__title::after { content: "–"; }
	.tkp__article { max-width: none; }
}
@media screen and (max-width: 760px) {
	.tkp { padding: 28px 0 60px; }
	.tkp-head .page__header .tkp-head__sub { font-size: 16px; padding-right: 10px; }
	.tkp-head .page__header h1 { font-size: 44px; line-height: 1.05; }
	.tkp-meta { padding: 14px 16px; font-size: 14px; }
	.tkp-meta__print { margin-left: 0; }
	.tkp-body { font-size: 15.5px; line-height: 1.7; }
	.tkp-body .tkp-h2 { margin-top: 40px; padding-top: 24px; gap: 12px; }
	.tkp-num { width: 32px; height: 32px; font-size: 16px; border-radius: 10px; margin-top: -2px; }
	/* Tabele jako karty: każdy wiersz to karta, podpis kolumny nad wartością. */
	.tkp-body figure.wp-block-table { overflow: visible; }
	.tkp-body table.tkp-table,
	.tkp-body .tkp-table tbody,
	.tkp-body .tkp-table tr,
	.tkp-body .tkp-table td { display: block; width: 100%; }
	.tkp-body table.tkp-table { border: 0; border-radius: 0; overflow: visible; }
	.tkp-body .tkp-table thead { display: none; }
	.tkp-body .tkp-table tbody tr { margin: 0 0 12px; border: 1px solid var(--tko-line); border-radius: 18px; overflow: hidden; background: #fff; }
	.tkp-body .tkp-table tbody tr:nth-child(even) td { background: transparent; }
	.tkp-body .tkp-table td { padding: 10px 16px; border: 0 !important; border-top: 1px solid #efefef !important; }
	.tkp-body .tkp-table tbody td:first-child { padding: 13px 16px; border-top: 0 !important; background: #111 !important; color: #fff; font-size: 15.5px; line-height: 1.4; white-space: normal; }
	.tkp-body .tkp-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tko-muted); }
	.tkp-body .tkp-table tbody td:first-child[data-label]::before { display: none; }
}

@media print {
	html, body, .main, .tkp, .tkp-head { background: #fff !important; }
	.tkp, .tkp-head { overflow: hidden; }
	.tkp-meta { display: none; }
	.tkp-body .tkp-table { font-size: 9pt; }
	.tkp-body .tkp-table th, .tkp-body .tkp-table td { padding: 6pt 8pt; }
	.tkf, .tkf__box, .header:not(.tkp-head), #wpadminbar, .header__nav, .navbar, nav:not(.tkp-toc), .footer, footer, .tkp__aside, .tkp-meta__print, .page__header-breadcrumb, .cookie, [class*="cookie"] { display: none !important; }
	.tkp { padding: 0; }
	.tkp__layout { display: block; max-width: none; }
	.tkp .container, .tkp-head .header__container { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
	.tkp__article { max-width: none; }
	.tkp-body .tkp-table td:first-child { width: 24%; }
	.tkp-body .tkp-cols-3 td:nth-child(2) { width: 17%; }
	.tkp-head .page__header { padding: 0 0 10px; width: 100%; }
	.tkp-head .page__header::before, .tkp-head .page__header::after { display: none; }
	.tkp-head .page__header h1 { font-size: 30pt; }
	.tkp-body { font-size: 10.5pt; line-height: 1.5; }
	.tkp-body .tkp-h2 { break-after: avoid; margin-top: 18pt; }
	.tkp-body .tkp-table tr { break-inside: avoid; }
	.tkp-body .tkp-table thead th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	[data-aos] { opacity: 1 !important; transform: none !important; }
}
