/* ==========================================================================
   PoloniaHub — zerowanie marginesów treści Kadence

   Wydzielone z components.css, który dobił do 14,2 KB. Skaner hostingu
   przyjął 14 238 B, a odrzucił 14 839 B i zostawił plik zerowej długości —
   próg dla arkuszy leży gdzieś pomiędzy. Plik jest wczytywany PRZED
   components.css, więc kolejność reguł jest dokładnie taka jak wtedy,
   gdy blok stał na początku tamtego pliku.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Reset marginesów motywu wewnątrz komponentów

   Kadence nadaje nagłówkom i akapitom w .entry-content własne marginesy.
   Nasze komponenty układają elementy siatką albo flexem i odstępy ustalają
   przez gap — dwa systemy nałożone na siebie dawały 78 px między plakietką
   a nagłówkiem hero i 44 px między ikoną a tytułem karty. Zerujemy marginesy
   tam, gdzie odstępem rządzi komponent.
   -------------------------------------------------------------------------- */

.entry-content .ph-hero h1,
.entry-content .ph-order__intro h1,
.entry-content .ph-order__intro p,
.entry-content .ph-contact__intro h1,
.entry-content .ph-contact__intro p,
.entry-content .ph-sectionhead h2,
.entry-content .ph-sectionhead p,
.entry-content .ph-service h3,
.entry-content .ph-service p,
.entry-content .ph-why h3,
.entry-content .ph-why p,
.entry-content .ph-step h3,
.entry-content .ph-step p,
.entry-content .ph-featured h2,
.entry-content .ph-featured h3,
.entry-content .ph-featured p,
.entry-content .ph-quote blockquote,
.entry-content .ph-cta-band h2,
.entry-content .ph-group__label,
.entry-content .ph-faq p {
	margin-top: 0;
}

.entry-content .ph-service h3,
.entry-content .ph-service p,
.entry-content .ph-why p,
.entry-content .ph-step p,
.entry-content .ph-quote blockquote {
	margin-bottom: 0;
}

/* Rozmiary w kartach ustala komponent, nie globalna skala nagłówków. */
.entry-content .ph-service h3,
.entry-content .ph-why h3,
.entry-content .ph-step h3 {
	font-size: 1.125rem;   /* 18 px */
	line-height: 1.35;
}

.entry-content .ph-hero h1 { margin-top: 12px; }

/* Pasmo otwierające stron usługowych używa .ph-order__intro, nie .ph-hero,
   i przez to omijało powyższe zerowanie. Kadence dokładał H1 margines 1.5em,
   czyli 66 px przy stopniu 44 px, a plakietka swoje 12 px — razem 78 px
   pustki między etykietą działu a tytułem. Komentarz nad blokiem opisuje
   dokładnie ten błąd; brakowało tylko drugiego selektora. */
.entry-content .ph-order__intro h1,
.entry-content .ph-contact__intro h1 { margin-top: 12px; }
.entry-content .ph-order__intro .ph-hero__lead { margin-bottom: var(--ph-gap-cta); }
.entry-content .ph-hero__checks { margin-top: 16px; }
.entry-content .ph-hero__lead   { margin-bottom: var(--ph-gap-cta); }
.entry-content .ph-sectionhead h2 { margin-bottom: 10px; }
