/* ============================================
   SPARX - sekcja redakcyjna (tresc opisowa przed stopka)
   Uzywana na: index.html, sparx-one.html, blumil-go.html
   ============================================ */

.sparx-editorial {
  background: #f4f4f4;
  border-top: 1px solid rgba(0, 0, 0, .07);
  padding: 5.5rem 6%;
}

.sparx-editorial__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 4rem;
  align-items: start;
}

/* Gdy tekstu po prawej jest duzo, naglowek jedzie razem ze scrollem zamiast
   zostawiac pusty szary prostokat. Dziala tylko dzieki align-items:start wyzej.
   110px = zapas na przyklejony navbar. */
@media (min-width: 992px) {
  .sparx-editorial__aside { position: sticky; top: 110px; }
}

.sparx-editorial__eyebrow {
  display: block;
  font-family: Hellix, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #f32730;
  margin-bottom: 1rem;
}

/* Rozmiary w px, NIE rem. Ten projekt ma plynny root font-size liczony
   z szerokosci viewportu, wiec rem-owy naglowek potrafi wyjsc na mobile
   wiekszy niz na desktopie (ten sam blad naprawiany wczesniej w hero). */
.sparx-editorial__aside h2 {
  font-family: Hellix, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: #0c0c0c;
  margin: 0;
}

.sparx-editorial__aside h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #f32730;
  margin-top: 1.5rem;
}

.sparx-editorial__body p {
  font-family: Hellix, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #4a4a4a;
  margin: 0 0 1.4rem;
}

.sparx-editorial__body p:last-child { margin-bottom: 0; }

/* Srodtytul w kolumnie tekstowej. Uzywany na blumil-go, gdzie w jednym pasie
   polaczone sa dwa dawne bloki .prose-section - drugi z nich dostal h3 zamiast
   wlasnego h2, zeby nie robic dwoch naglowkow tego samego poziomu w jednej sekcji. */
.sparx-editorial__body h3 {
  font-family: Hellix, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: #0c0c0c;
  margin: 2.6rem 0 1.1rem;
}

.sparx-editorial__body h3:first-child { margin-top: 0; }

.sparx-editorial__body strong {
  color: #0c0c0c;
  font-weight: 600;
}

@media (max-width: 991px) {
  .sparx-editorial { padding: 4rem 6%; }
  .sparx-editorial__inner { grid-template-columns: 1fr; gap: 2rem; }
  .sparx-editorial__aside h2 { font-size: 28px; }
  .sparx-editorial__aside h2::after { margin-top: 1.1rem; }
}

@media (max-width: 767px) {
  .sparx-editorial { padding: 3.25rem 6%; }
  .sparx-editorial__aside h2 { font-size: 24px; }
  .sparx-editorial__body p { font-size: 16px; line-height: 1.75; }
  .sparx-editorial__body h3 { font-size: 19px; margin-top: 2.2rem; }
}
