/* Poprawki strony glownej po sedzim (2026-11-18). Stan bez zdjec: kadry bez pliku w public/img chowamy
   albo zastepujemy plaszczyzna marki, zeby nie bylo atrap; po dodaniu zdjec reguly :not() przestaja dzialac same. */
@media (min-width: 761px) { .hero h1 { font-size: 58px; } }
.okno-form .przycisk { margin-top: 8px; }
.firmy-linki a { height: 30px; padding: 0 10px 0 12px; font-size: 13px; }
.katalog-gora { align-items: start; }
.katalog-gora > p { margin-top: 44px; padding-bottom: 0; }

.hero-foto:not([style*="background-image"]) { background: var(--marka-gleboka); }
.hero-plan:has(.hero-foto:not([style*="background-image"])) { background: var(--marka-gleboka); }
@media (max-width: 1180px) { .hero-foto:not([style*="background-image"]) { display: none; } .hero-plan:has(.hero-foto:not([style*="background-image"])) { padding-bottom: 40px; } }

.sprawa-a .foto:not([style*="background-image"]) { display: none; }
.sprawa-c .foto-ramka:has(.foto:not([style*="background-image"])) { display: none; }
.sprawa-c:has(.foto:not([style*="background-image"])) { grid-template-columns: minmax(0, 1fr); }

.jak-kadr:has(.foto:not([style*="background-image"])) { padding-bottom: 0; }
.jak-kadr .foto:not([style*="background-image"]) { display: none; }
.jak-kadr:has(.foto:not([style*="background-image"])) .jak-wynik { position: static; padding: 28px; border: 1px solid var(--linia); box-shadow: var(--cien-1); }

.kadr-glowny .foto:not([style*="background-image"]) { display: none; }
.kadr-glowny:has(.foto:not([style*="background-image"])) .tematy { position: static; box-shadow: none; border: 1px solid var(--linia); }
.przewodnik-kadry .foto-ramka:has(.foto:not([style*="background-image"])) { display: none; }
.przewodnik-kadry:has(.foto-ramka .foto:not([style*="background-image"])) { grid-template-columns: minmax(0, 1fr); }

.dla-firm-kadr .foto:not([style*="background-image"]) { display: none; }
.dla-firm-kadr:has(.foto:not([style*="background-image"])) { padding-bottom: 0; }
.dla-firm-kadr:has(.foto:not([style*="background-image"])) .statystyki { position: static; width: 100%; }

@media (min-width: 761px) {
  .sprawy-siatka:has(.sprawa-a .foto:not([style*="background-image"])) .sprawa-a,
  .sprawy-siatka:has(.sprawa-a .foto:not([style*="background-image"])) .sprawa-b,
  .sprawy-siatka:has(.sprawa-a .foto:not([style*="background-image"])) .sprawa-c { grid-column: span 4; grid-row: auto; }
}
.sprawa-a:has(.foto:not([style*="background-image"])) .sprawa-tresc { padding-top: 36px; }
.jak-w:has(.jak-kadr .foto:not([style*="background-image"])) { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.jak-w:has(.jak-kadr .foto:not([style*="background-image"])) .jak-kadr { order: 2; max-width: 760px; }

/* Runda 3 sedziego: glowna */
@media (min-width: 1181px) { .hero-tekst { align-self: center; padding-bottom: 40px; } }
.okno-stopka .firmy-linki { display: block; line-height: 1.4; }
.okno-stopka .firmy-linki a { margin: 8px 6px 0 0; }
.sprawy-siatka { align-items: start; }
.trasa li strong a { color: inherit; text-decoration: underline; text-decoration-color: var(--linia-mocna); text-underline-offset: 3px; }

/* Runda 3 sedziego: podstrony poradnikowe */
.pod-hero-cta { margin-top: 28px; }
.pod-artykul { max-width: 680px; }
.pod-artykul .tekst + .tekst, .pod-artykul .cta-kategorii + .tekst { margin-top: 56px; }
.pod-artykul .cta-kategorii { margin-top: 56px; }
@media (min-width: 1021px) { .pod-boczna { position: sticky; top: 96px; align-self: start; } }
