/* TV Kętrzyn 3.27.0 - strony kanałów wg poziomu: mini-serwis Grupy Z Serca Mazur i strona Partnera / Sponsora. */

.tvk-source-hero .tvk-tier-chip--hero { margin-bottom: 4px; }
.tvk-tier-chip--hero { padding: 7px 13px; font-size: .68rem; }

/* ---------- Grupa Z Serca Mazur: mini-serwis z menu z prawej ---------- */
.tvk-chsite { --cs-ink: #05222b; --cs-deep: #073440; --cs-sea: #0a4250; --cs-turq: #4fe3dd; --cs-gold: #f1d58a; background: var(--tvk-paper, #f6f3ec); }
.tvk-chsite__hero { position: relative; overflow: hidden; padding: clamp(42px, 6vw, 84px) 0 clamp(36px, 5vw, 64px); background: radial-gradient(55% 120% at 82% 30%, rgba(79,227,221,.18) 0%, rgba(79,227,221,0) 60%), linear-gradient(110deg, var(--cs-ink) 0%, var(--cs-deep) 55%, var(--cs-sea) 100%); color: #fff; scroll-margin-top: 120px; }
.tvk-chsite__hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border: 1px solid rgba(79,227,221,.18); border-radius: 50%; box-shadow: 0 0 0 40px rgba(79,227,221,.04), 0 0 0 90px rgba(79,227,221,.03); pointer-events: none; }
.tvk-chsite__hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.tvk-chsite__logo { overflow: hidden; aspect-ratio: 1 / 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(79,227,221,.85), 0 0 0 14px rgba(79,227,221,.14), 0 30px 60px -24px rgba(0,0,0,.6); }
.tvk-chsite__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tvk-chsite__intro { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.tvk-chsite__intro h1 { margin: 0; color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -.035em; }
.tvk-chsite__lead { max-width: 62ch; margin: 0; color: rgba(255,255,255,.8); font-size: 1.05rem; line-height: 1.6; }
.tvk-chsite__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
body.tvk-video-hub .tvk-chsite__btn { display: inline-flex; min-height: 46px; align-items: center; gap: 8px; padding: 0 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; font-weight: var(--tvk-weight-bold); text-decoration: none; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
body.tvk-video-hub .tvk-chsite__btn:hover, body.tvk-video-hub .tvk-chsite__btn:focus-visible { border-color: var(--cs-turq); background: rgba(79,227,221,.12); transform: translateY(-1px); }
body.tvk-video-hub .tvk-chsite__btn--main { border-color: var(--cs-turq); background: var(--cs-turq); color: var(--cs-ink); box-shadow: 0 12px 30px -12px rgba(79,227,221,.6); }
body.tvk-video-hub .tvk-chsite__btn--main:hover, body.tvk-video-hub .tvk-chsite__btn--main:focus-visible { background: #7ff2ee; color: var(--cs-ink); }
body.tvk-video-hub .tvk-chsite__btn--dark { border-color: var(--cs-sea); background: var(--cs-sea); color: #fff; }
.tvk-chsite__btn .tvk-icon { width: 18px; height: 18px; }
.tvk-chsite__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.tvk-chsite__facts div { padding: 9px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.06); }
.tvk-chsite__facts dt { color: rgba(255,255,255,.6); font-size: .62rem; font-weight: var(--tvk-weight-bold); letter-spacing: .1em; text-transform: uppercase; }
.tvk-chsite__facts dd { margin: 2px 0 0; color: #fff; font-weight: var(--tvk-weight-bold); }

.tvk-chsite__layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 72px); }
.tvk-chsite__main { grid-column: 1; grid-row: 1; display: grid; gap: clamp(26px, 3vw, 40px); min-width: 0; }
.tvk-chsite__nav { grid-column: 2; grid-row: 1; position: sticky; top: 110px; padding: 18px; border: 1px solid var(--tvk-line); border-radius: 18px; background: #fff; box-shadow: 0 20px 40px -32px rgba(9,24,48,.45); }
.tvk-chsite__nav-title { display: block; margin-bottom: 10px; color: var(--tvk-muted); font-size: .64rem; font-weight: var(--tvk-weight-bold); letter-spacing: .12em; text-transform: uppercase; }
.tvk-chsite__nav ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.tvk-chsite__nav .tvk-chsite__sub { margin: 2px 0 6px 12px; padding-left: 10px; border-left: 2px solid var(--tvk-line); }
body.tvk-video-hub .tvk-chsite__nav a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--tvk-text); font-size: .9rem; font-weight: var(--tvk-weight-semibold); line-height: 1.3; text-decoration: none; transition: background .15s ease, color .15s ease; }
body.tvk-video-hub .tvk-chsite__nav .tvk-chsite__sub a { padding: 6px 10px; color: var(--tvk-muted); font-size: .82rem; font-weight: 500; }
body.tvk-video-hub .tvk-chsite__nav a:hover, body.tvk-video-hub .tvk-chsite__nav a:focus-visible { background: rgba(79,227,221,.12); color: var(--cs-sea); }
body.tvk-video-hub .tvk-chsite__nav a.is-active { background: var(--cs-sea); color: #fff; }
.tvk-chsite__nav-share { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--tvk-line); }

.tvk-chsite__section { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--tvk-line); border-radius: 22px; background: #fff; scroll-margin-top: 120px; }
.tvk-chsite__section > h2 { margin: 6px 0 18px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; }
.tvk-chsite__section .tvk-kicker { color: var(--cs-sea); }
.tvk-chsite__text { max-width: 72ch; }
.tvk-chsite__text h3 { margin: 1.6em 0 .5em; padding-top: 4px; color: var(--cs-ink); font-size: 1.18rem; scroll-margin-top: 120px; }
.tvk-chsite__text h3:first-child { margin-top: 0; }
.tvk-chsite__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.tvk-chsite__soon { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px; border: 1px dashed rgba(10,66,80,.35); border-radius: 16px; background: linear-gradient(120deg, rgba(79,227,221,.08), rgba(79,227,221,0)); }
.tvk-chsite__soon-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--cs-sea); color: var(--cs-turq); }
.tvk-chsite__soon strong { display: block; color: var(--cs-ink); }
.tvk-chsite__soon p { margin: 4px 0 0; color: var(--tvk-muted); }
.tvk-chsite__channels { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
body.tvk-video-hub .tvk-chsite__channels a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--tvk-line); border-radius: 999px; color: var(--tvk-text); font-weight: var(--tvk-weight-semibold); text-decoration: none; }
.tvk-chsite__channels img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.tvk-chsite__sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
body.tvk-video-hub .tvk-chsite__sites a { position: relative; display: grid; gap: 2px; padding: 14px 40px 14px 16px; border: 1px solid var(--tvk-line); border-radius: 14px; background: var(--tvk-surface-soft, #f4f6f8); color: var(--tvk-text); text-decoration: none; transition: border-color .15s ease, background .15s ease; }
body.tvk-video-hub .tvk-chsite__sites a:hover, body.tvk-video-hub .tvk-chsite__sites a:focus-visible { border-color: var(--cs-turq); background: #fff; }
.tvk-chsite__sites span { color: var(--tvk-muted); font-size: .8rem; }
.tvk-chsite__sites .tvk-icon { position: absolute; top: 14px; right: 14px; width: 15px; height: 15px; color: var(--cs-sea); }
.tvk-chsite__section--contact { background: linear-gradient(120deg, var(--cs-ink), var(--cs-sea)); color: #fff; border-color: transparent; }
.tvk-chsite__section--contact .tvk-kicker { color: var(--cs-turq); }
.tvk-chsite__section--contact h2 { color: #fff; }
.tvk-chsite__contact { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tvk-chsite__contact li { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
body.tvk-video-hub .tvk-chsite__contact a { color: #fff; font-weight: var(--tvk-weight-bold); }
.tvk-chsite__contact .tvk-icon { color: var(--cs-turq); }

@media (max-width: 1023px) {
  .tvk-chsite__hero-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .tvk-chsite__logo { width: min(180px, 52vw); }
  .tvk-chsite__intro { justify-items: center; }
  .tvk-chsite__cta, .tvk-chsite__facts { justify-content: center; }
  .tvk-chsite__layout { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .tvk-chsite__nav { grid-column: 1; grid-row: 1; top: 0; z-index: 20; margin: 0 -16px; padding: 10px 16px; border: 0; border-bottom: 1px solid var(--tvk-line); border-radius: 0; box-shadow: 0 10px 20px -18px rgba(9,24,48,.5); }
  .tvk-chsite__main { grid-row: 2; }
  .tvk-chsite__nav-title, .tvk-chsite__nav .tvk-chsite__sub, .tvk-chsite__nav-share { display: none; }
  .tvk-chsite__nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .tvk-chsite__nav ul::-webkit-scrollbar { display: none; }
  body.tvk-video-hub .tvk-chsite__nav a { white-space: nowrap; border: 1px solid var(--tvk-line); border-radius: 999px; padding: 8px 14px; }
  .tvk-chsite__soon { grid-template-columns: auto minmax(0, 1fr); }
  .tvk-chsite__soon .tvk-chsite__btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Partner / Sponsor: rozbudowana strona kanału ---------- */
.tvk-chrich { --cr: #d6a53a; --cr-light: #f6dc8c; --cr-ink: #1c1607; }
.tvk-chrich--sponsor { --cr: #b8652d; --cr-light: #e9a06b; --cr-ink: #1d0f06; }
.tvk-chrich__hero { position: relative; overflow: hidden; padding: clamp(46px, 7vw, 96px) 0 clamp(40px, 5vw, 70px); background: var(--tvk-ink); color: #fff; }
.tvk-chrich__hero::before { content: ""; position: absolute; inset: 0; background-image: var(--tvk-chrich-bg, none); background-position: center; background-size: cover; filter: blur(2px) saturate(1.1); transform: scale(1.04); opacity: .5; }
.tvk-chrich__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,16,30,.96) 0%, rgba(8,16,30,.82) 45%, rgba(8,16,30,.45) 100%), linear-gradient(0deg, rgba(8,16,30,.7), transparent 50%); }
.tvk-chrich__hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: clamp(24px, 3.5vw, 48px); align-items: center; }
.tvk-chrich__logo { overflow: hidden; aspect-ratio: 1 / 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px var(--cr), 0 0 0 12px color-mix(in srgb, var(--cr) 22%, transparent), 0 30px 60px -24px rgba(0,0,0,.7); }
.tvk-chrich__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tvk-chrich__intro { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.tvk-chrich__intro h1 { margin: 0; color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.03; letter-spacing: -.03em; }
.tvk-chrich__intro p { max-width: 60ch; margin: 0; color: rgba(255,255,255,.78); line-height: 1.6; }
.tvk-chrich__cta { display: flex; flex-wrap: wrap; gap: 10px; }
body.tvk-video-hub .tvk-chrich__btn { display: inline-flex; min-height: 46px; align-items: center; gap: 8px; padding: 0 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; font-weight: var(--tvk-weight-bold); text-decoration: none; transition: background .2s ease, transform .2s ease; }
body.tvk-video-hub .tvk-chrich__btn:hover, body.tvk-video-hub .tvk-chrich__btn:focus-visible { background: rgba(255,255,255,.1); transform: translateY(-1px); }
body.tvk-video-hub .tvk-chrich__btn--main { border-color: var(--cr); background: linear-gradient(135deg, var(--cr-light), var(--cr)); color: var(--cr-ink); }
.tvk-chrich__btn .tvk-icon { width: 18px; height: 18px; }
.tvk-chrich__stats { display: grid; gap: 10px; margin: 0; min-width: 180px; }
.tvk-chrich__stats div { padding: 12px 16px; border: 1px solid rgba(255,255,255,.14); border-left: 3px solid var(--cr); border-radius: 12px; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.tvk-chrich__stats dt { color: rgba(255,255,255,.6); font-size: .62rem; font-weight: var(--tvk-weight-bold); letter-spacing: .1em; text-transform: uppercase; }
.tvk-chrich__stats dd { margin: 2px 0 0; color: #fff; font-size: 1.15rem; font-weight: var(--tvk-weight-bold); }
.tvk-chrich__featured-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.tvk-chrich__featured-side { display: grid; gap: 14px; }
.tvk-chrich__about { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tvk-chrich__about-text h2 { margin: 6px 0 16px; }
.tvk-chrich__about-text .tvk-editorial-content { max-width: 72ch; }
.tvk-chrich__card { position: sticky; top: 110px; display: grid; gap: 10px; justify-items: start; padding: 22px; border: 1px solid color-mix(in srgb, var(--cr) 45%, var(--tvk-line)); border-top: 4px solid var(--cr); border-radius: 18px; background: #fff; box-shadow: 0 24px 44px -34px rgba(9,24,48,.5); }
.tvk-chrich__card > img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--cr); }
.tvk-chrich__card > strong { font-size: 1.1rem; }
.tvk-chrich__card ul { display: grid; gap: 8px; width: 100%; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--tvk-line); list-style: none; }
.tvk-chrich__card li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tvk-chrich__card li a, .tvk-chrich__card li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvk-chrich__card .tvk-icon { width: 16px; height: 16px; flex: 0 0 auto; color: var(--cr); }
.tvk-chrich__share { width: 100%; padding-top: 10px; border-top: 1px solid var(--tvk-line); }
.tvk-chrich__others-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
body.tvk-video-hub .tvk-chrich__others-list a { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--tvk-line); border-radius: 16px; background: #fff; color: var(--tvk-text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
body.tvk-video-hub .tvk-chrich__others-list a:hover, body.tvk-video-hub .tvk-chrich__others-list a:focus-visible { border-color: var(--cr); transform: translateY(-2px); }
.tvk-chrich__others-list img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.tvk-chrich__others-list span { display: grid; gap: 5px; justify-items: start; }
@media (max-width: 1023px) {
  .tvk-chrich__hero-in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .tvk-chrich__logo { width: min(150px, 44vw); }
  .tvk-chrich__intro { justify-items: center; }
  .tvk-chrich__cta { justify-content: center; }
  .tvk-chrich__stats { display: flex; flex-wrap: wrap; justify-content: center; min-width: 0; }
  .tvk-chrich__featured-grid, .tvk-chrich__about { grid-template-columns: 1fr; }
  .tvk-chrich__card { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  body.tvk-video-hub .tvk-chsite__btn, body.tvk-video-hub .tvk-chrich__btn, body.tvk-video-hub .tvk-chrich__others-list a { transition: none; }
}

/* Udostępnianie w wąskim menu i ramce kanału: przyciski zawijają się, bez przewijania w bok. */
.tvk-chsite__nav-share .tvk-share, .tvk-chrich__share .tvk-share { flex-wrap: wrap; gap: 6px; }
.tvk-chsite__nav-share .tvk-share button, .tvk-chrich__share .tvk-share button { flex: 1 1 100%; }
.tvk-chsite__nav-share .tvk-share a, .tvk-chrich__share .tvk-share a { min-height: 40px; padding: 0 12px; }
.tvk-chsite, .tvk-chrich { overflow-x: clip; }
.tvk-chrich__featured-grid.is-single { grid-template-columns: minmax(0, 760px); }
.tvk-chrich__featured-main .tvk-card { height: 100%; }
.tvk-chrich__featured-main .tvk-card h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
