/* TV Mrągowo 2.39.0: Wspierający (pas logo na głównej, strona /wspierajacy/, podstrona firmy). Kolory z tokenów TVM. */

/* ---------- Logo ---------- */
.tvm-supporters-band__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tvm-supporter-logo {
    display: grid;
    place-items: center;
    width: 180px;
    height: 96px;
    padding: 14px 18px;
    border: 1px solid var(--tvm-paper-line);
    border-radius: 16px;
    background: #ffffff;
    color: #121817;
    text-decoration: none;
    transition: transform var(--tvm-fast) var(--tvm-ease), border-color var(--tvm-fast), box-shadow var(--tvm-fast);
}
.tvm-supporter-logo--title { width: 240px; height: 120px; border-color: rgba(53, 201, 187, .55); }
a.tvm-supporter-logo:hover { transform: translateY(-2px); border-color: var(--tvm-brand-sea); box-shadow: 0 14px 30px rgba(0, 28, 31, .14); }
a.tvm-supporter-logo:focus-visible { outline: 3px solid var(--tvm-focus); outline-offset: 3px; }
.tvm-supporter-logo__img { display: grid; place-items: center; width: 100%; height: 100%; }
.tvm-supporter-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 66px; object-fit: contain; }
.tvm-supporter-logo--title img { max-height: 90px; }
.tvm-supporter-logo.is-large img { max-height: 126px; }
.tvm-supporter-logo__name { font-size: 1rem; font-weight: 700; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.tvm-supporter-logo.is-large { width: 100%; max-width: 320px; height: 160px; }

/* ---------- Pas na stronie głównej ---------- */
.tvm-section--supporters { padding-block: clamp(36px, 4vw, 56px); }
.tvm-supporters-band__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.tvm-supporters-band__head .tvm-kicker { margin: 0; }
.tvm-supporters-band__head h2 { margin: 8px 0 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
.tvm-supporters-band__more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--tvm-link); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.tvm-band--light .tvm-supporters-band__more { color: #0c6f7d; }

/* ---------- Strona Wspierających ---------- */
.tvm-supporter-feature {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
    margin: 0 auto 28px;
    max-width: 960px;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid var(--ip-card-line);
    border-radius: 22px;
    background: var(--ip-card);
}
.tvm-supporter-feature__copy small { color: var(--tvm-dim); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tvm-supporter-feature__copy h3 { margin: 6px 0 10px; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; }
.tvm-supporter-feature__copy p { margin: 0 0 18px; color: var(--tvm-muted); line-height: 1.7; }
.tvm-supporters-list__tier { margin-top: 26px; text-align: center; }
.tvm-supporters-list__tier h3 { margin: 0 0 14px; color: var(--tvm-dim); font-size: .86rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.tvm-supporter-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tvm-supporter-tier {
    display: flex;
    flex-direction: column;
    padding: 26px 26px 24px;
    border: 1px solid var(--ip-card-line);
    border-radius: 20px;
    background: var(--ip-card);
}
.tvm-supporter-tier--title { border-color: var(--tvm-brand-sea); box-shadow: 0 0 0 1px var(--tvm-brand-sea) inset; }
.tvm-supporter-tier h3 { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.tvm-supporter-tier__price { margin: 10px 0 16px; color: var(--tvm-muted); }
.tvm-supporter-tier__price strong { display: block; color: var(--tvm-ink); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -.01em; }
.tvm-supporter-tier__price span { font-size: .92rem; }
.tvm-supporter-tier ul { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.tvm-supporter-tier li { position: relative; padding-left: 26px; color: var(--tvm-muted); font-size: .97rem; line-height: 1.55; }
.tvm-supporter-tier li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--tvm-brand-sea); font-weight: 700; }
.tvm-supporter-tier__note { margin: 0 0 16px; color: var(--tvm-dim); font-size: .9rem; }
.tvm-supporter-tier .tvm-ip-btn { align-self: flex-start; margin-top: auto; }

/* ---------- Podstrona firmy ---------- */
.tvm-supporter-page__hero .tvm-supporter-logo { margin: 18px auto 0; }
.tvm-supporter-page__text { max-width: 68ch; margin-inline: auto; }
.tvm-supporter-page__text p { color: var(--tvm-muted); font-size: 1.06rem; line-height: 1.75; }
.tvm-supporter-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tvm-supporter-gallery figure { margin: 0; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: var(--tvm-paper-surface); }
.tvm-supporter-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Telefon ---------- */
@media (max-width: 980px) {
    .tvm-supporters-band__head { justify-content: center; text-align: center; }
    .tvm-supporters-band__head .tvm-kicker { justify-content: center; }
    /* Dwa logo w rzędzie; nieparzyste ostatnie stoi na środku, bez pustego miejsca obok. */
    .tvm-supporters-band__logos { gap: 12px; }
    .tvm-supporter-logo { width: calc(50% - 6px); height: 88px; padding: 12px; }
    .tvm-supporter-logo--title { width: 100%; height: 112px; }
    .tvm-supporter-logo img { max-height: 60px; }
    .tvm-supporter-logo--title img { max-height: 84px; }
    .tvm-supporter-feature .tvm-supporter-logo.is-large img { max-height: 100px; }
    .tvm-supporter-feature { grid-template-columns: 1fr; text-align: center; }
    .tvm-supporter-feature .tvm-supporter-logo.is-large { margin-inline: auto; height: 130px; }
    /* Karty poziomów przesuwane palcem (standard 85/15, wskazówka i pasek z swipe-hint.js): karta 82vw, kolejna wystaje. */
    .tvm-supporter-tiers {
        display: flex;
        gap: 12px;
        margin-inline: -16px;
        padding: 4px 16px 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 16px;
        scrollbar-width: none;
    }
    .tvm-supporter-tiers::-webkit-scrollbar { display: none; }
    .tvm-supporter-tier { flex: 0 0 82vw; scroll-snap-align: start; padding: 22px 20px 20px; }
    .tvm-supporter-tier .tvm-ip-btn { align-self: stretch; justify-content: center; }
    .tvm-supporter-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tvm-supporter-gallery figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
}

/* ---------- 2.40.0: pas reklamowy na stronie głównej (wzór grupy: RM rc173; wersja TV, kolory TVM ze złotym akcentem) ---------- */
.tvm-main section.tvm-adband.tvm-band {
    --tvm-ad-gold: #f1c75b;
    --tvm-ad-gold-soft: #f6dc95;
    --tvm-ad-ink: #2a1e02;
    position: relative;
    overflow: hidden;
    padding: 0;
    color: #ffffff;
    border-block: 3px solid var(--tvm-ad-gold);
    background:
        radial-gradient(55% 140% at 92% 40%, rgba(241, 199, 91, .22) 0%, rgba(241, 199, 91, 0) 62%),
        radial-gradient(40% 90% at 0% 100%, rgba(53, 201, 187, .16) 0%, rgba(53, 201, 187, 0) 70%),
        linear-gradient(105deg, #020f11 0%, #062a2e 50%, #0b3c45 100%);
}
.tvm-adband::before { display: none; }
.tvm-adband__rings { position: absolute; right: -90px; top: 50%; width: 0; height: 0; pointer-events: none; }
.tvm-adband__rings i { position: absolute; left: -260px; top: -260px; width: 520px; height: 520px; border: 1.5px solid rgba(241, 199, 91, .3); border-radius: 50%; opacity: 0; animation: tvm-adband-ring 5.2s ease-out infinite; }
.tvm-adband__rings i:nth-child(2) { animation-delay: 1.7s; }
.tvm-adband__rings i:nth-child(3) { animation-delay: 3.4s; }
@keyframes tvm-adband-ring { 0% { opacity: .9; transform: scale(.35); } 100% { opacity: 0; transform: scale(1.15); } }
.tvm-adband__in { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); gap: 28px 44px; align-items: center; padding-block: 48px; }
.tvm-adband .tvm-adband__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--tvm-ad-gold);
    color: var(--tvm-ad-ink);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
/* Kropka nagrywania = wideo. */
.tvm-adband__rec { width: 9px; height: 9px; border-radius: 50%; background: #c8281e; box-shadow: 0 0 0 3px rgba(200, 40, 30, .22); }
.tvm-adband h2 { margin: 14px 0 12px; max-width: 15ch; color: #ffffff; font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.03; letter-spacing: -.04em; }
.tvm-adband h2 em { font-style: normal; color: var(--tvm-ad-gold-soft); }
.tvm-adband .tvm-adband__lead { margin: 0 0 18px; max-width: 46ch; color: rgba(255, 255, 255, .86); font-size: 1.05rem; line-height: 1.55; }
.tvm-adband__reach { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 22px; padding: 8px 10px 8px 8px; border: 1px solid rgba(241, 199, 91, .45); border-radius: 999px; background: rgba(0, 0, 0, .3); }
.tvm-adband__reach span { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #ffffff; font-size: .88rem; font-weight: 800; }
.tvm-adband__reach i { color: var(--tvm-ad-gold); font-style: normal; font-weight: 900; }
.tvm-adband__reach b { padding: 6px 14px; border-radius: 999px; background: var(--tvm-ad-gold); color: var(--tvm-ad-ink); font-size: .8rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.tvm-adband__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.tvm-adband__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 14px 30px;
    border-radius: 999px;
    background: var(--tvm-ad-gold);
    color: var(--tvm-ad-ink) !important;
    font-size: 1.05rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(241, 199, 91, .35);
    transition: transform var(--tvm-fast, .18s) ease, background var(--tvm-fast, .18s) ease;
}
.tvm-adband__btn:hover,
.tvm-adband__btn:focus-visible { background: #f7d67e; transform: translateY(-1px); }
.tvm-adband__btn:focus-visible,
.tvm-adband__more:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.tvm-adband__more { padding-bottom: 2px; border-bottom: 1.5px solid rgba(246, 220, 149, .5); color: var(--tvm-ad-gold-soft); font-size: .95rem; font-weight: 800; text-decoration: none; }
.tvm-adband__more:hover { color: #ffffff; border-color: #ffffff; }
.tvm-adband__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tvm-adband__cards.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tvm-adband__card {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 20px 18px;
    border: 1px solid rgba(241, 199, 91, .4);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
    box-shadow: 0 16px 36px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.tvm-adband__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 14px; background: var(--tvm-ad-gold); color: var(--tvm-ad-ink); box-shadow: 0 6px 16px rgba(241, 199, 91, .35); }
.tvm-adband__card b { color: var(--tvm-ad-gold-soft); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tvm-adband__card strong { color: #ffffff; font-size: clamp(1.25rem, 1.9vw, 1.7rem); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
.tvm-adband__card small { color: rgba(255, 255, 255, .78); font-size: .82rem; line-height: 1.4; }
@media (max-width: 1100px) {
    .tvm-adband__in { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .tvm-adband h2 { max-width: none; }
    .tvm-adband .tvm-adband__lead { max-width: 60ch; }
    .tvm-adband__cards,
    .tvm-adband__cards.is-three { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 760px) {
    .tvm-adband__in { gap: 16px; padding-block: 26px; text-align: center; }
    .tvm-adband h2 { font-size: 1.75rem; }
    .tvm-adband .tvm-adband__lead { margin: 0 auto 12px; font-size: .9rem; line-height: 1.45; }
    .tvm-adband__reach { justify-content: center; gap: 4px 6px; margin-bottom: 14px; border-radius: 18px; }
    .tvm-adband__reach span,
    .tvm-adband__reach b { padding: 5px 11px; font-size: .76rem; }
    .tvm-adband__cta { flex-direction: column; align-items: stretch; justify-content: center; }
    .tvm-adband__btn { width: 100%; min-height: 50px; padding: 12px 20px; font-size: 1rem; }
    .tvm-adband__more { align-self: center; }
    .tvm-adband__cards,
    .tvm-adband__cards.is-three { grid-template-columns: minmax(0, 1fr); gap: 8px; text-align: left; }
    .tvm-adband__card { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 1px; padding: 10px 12px; border-radius: 14px; }
    .tvm-adband__ic { grid-row: 1 / 3; width: 40px; height: 40px; margin: 0; border-radius: 11px; }
    .tvm-adband__ic svg { width: 22px; height: 22px; }
    .tvm-adband__card b { grid-column: 2; grid-row: 1; font-size: .68rem; letter-spacing: .06em; }
    .tvm-adband__card strong { grid-column: 3; grid-row: 1 / 3; font-size: 1.05rem; text-align: right; }
    .tvm-adband__card small { grid-column: 2; grid-row: 2; display: -webkit-box; overflow: hidden; font-size: .75rem; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (prefers-reduced-motion: reduce) {
    .tvm-adband__rings i { animation: none; opacity: .2; transform: scale(.8); }
    .tvm-adband__btn { transition: none; }
}

/* ---------- 2.41.0: strona „Promocja” (cennik wideo i „Gdzie nas widać”), te same karty co poziomy Wspierających ---------- */
.tvm-promo-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tvm-promo-price {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 22px;
    border: 1px solid var(--ip-card-line);
    border-radius: 20px;
    background: var(--ip-card);
}
.tvm-promo-price h3 { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.tvm-promo-price p { margin: 8px 0 0; color: var(--tvm-muted); font-size: .95rem; line-height: 1.5; }
.tvm-promo-price .tvm-promo-price__amount { margin-top: auto; padding-top: 16px; color: var(--tvm-muted); }
.tvm-promo-price__amount strong { display: block; color: var(--tvm-ink); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; }
.tvm-promo-price__amount span { font-size: .88rem; }
.tvm-promo-prices__radio { margin: 20px 0 0; text-align: center; font-weight: 700; }
.tvm-promo-reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tvm-promo-reach li { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--ip-card-line); border-radius: 16px; background: var(--ip-card); }
.tvm-promo-reach strong { font-size: 1rem; }
.tvm-promo-reach span { color: var(--tvm-muted); font-size: .9rem; line-height: 1.45; }
@media (max-width: 980px) {
    .tvm-promo-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    /* Telefon: cennik jako przesuwany rząd kart 85 % (wskaźnik przesuwania dokłada swipe-hint.js). */
    .tvm-promo-prices { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 85%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
    .tvm-promo-price { padding: 16px 18px; scroll-snap-align: start; }
    .tvm-promo-price .tvm-promo-price__amount { padding-top: 10px; }
}

/* ---------- 2.42.0: podstrona firmy, sekcja „Firma w filmach” ---------- */
.tvm-supporter-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) {
    .tvm-supporter-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    /* Telefon: filmy jako przesuwany rząd kart 85 % (wskaźnik przesuwania dokłada swipe-hint.js). */
    .tvm-supporter-videos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 85%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
    .tvm-supporter-videos > * { scroll-snap-align: start; }
}

/* ---------- 2.45.0: logo Wspierających w dolnej części pasa reklamowego ---------- */
.tvm-adband__supporters { position: relative; padding: 22px 0 30px; border-top: 1px solid rgba(241, 199, 91, .28); background: rgba(0, 0, 0, .18); }
.tvm-adband__supporters .tvm-supporters-band__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin: 0 0 14px; }
.tvm-adband .tvm-adband__supporters h2 { max-width: none; margin: 0; color: var(--tvm-ad-gold-soft, #f6dc95); font-size: .8rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tvm-adband .tvm-adband__supporters .tvm-supporters-band__more { color: #ffffff; font-size: .88rem; font-weight: 800; }
.tvm-adband .tvm-adband__supporters .tvm-supporters-band__more:hover,
.tvm-adband .tvm-adband__supporters .tvm-supporters-band__more:focus-visible { color: var(--tvm-ad-gold-soft, #f6dc95); }
.tvm-adband__supporters .tvm-supporters-band__logos { justify-content: flex-start; gap: 12px; }
.tvm-adband__supporters .tvm-supporter-logo { width: 150px; height: 76px; border-color: transparent; }
.tvm-adband__supporters .tvm-supporter-logo--title { width: 190px; height: 92px; border-color: var(--tvm-ad-gold, #f1c75b); }
@media (max-width: 760px) {
    .tvm-adband__supporters { padding: 18px 0 22px; }
    .tvm-adband__supporters .tvm-supporters-band__head { justify-content: center; text-align: center; }
    .tvm-adband__supporters .tvm-supporters-band__logos { justify-content: center; }
    .tvm-adband__supporters .tvm-supporter-logo { width: calc(50% - 6px); height: 70px; }
    .tvm-adband__supporters .tvm-supporter-logo--title { width: 100%; height: 84px; }
}

/* 2.56.0: zasada właściciela z 17.11.2026 dla kart całej grupy: równa wysokość w rzędzie, treść wyśrodkowana, przycisk przyklejony do spodu.
   Poziomy Wspierających: nagłówek i cena na środku, lista korzyści jako wyśrodkowany blok (punkty czytelne od lewej), przycisk na dole i na środku. */
.tvm-supporter-tier { text-align: center; }
.tvm-supporter-tier ul { align-self: center; max-width: 100%; text-align: left; }
.tvm-supporter-tier .tvm-ip-btn { align-self: center; }
/* Cennik Promocji: opis i cena na środku; cena zostaje na dole karty. */
.tvm-promo-price { text-align: center; }
/* Pas reklamowy na komputerze: kafel wyśrodkowany (na telefonie zostaje zwarty rząd). */
@media (min-width: 761px) {
    .tvm-adband__card { justify-items: center; text-align: center; }
}
@media (max-width: 980px) {
    .tvm-supporter-tier .tvm-ip-btn { align-self: stretch; }
}
