/* Korekty powłoki 0.4.7 — powłoka wycięta teraz z zestawu CSS, który stary motyw ładuje na stronach-wzorcach (93 artykuły + 11 stron etapu 3); zostają tylko poprawki specyficzne dla motywu blokowego. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 30; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.hw-sticky-header { position: static; }
/* Treść starych wpisów ładuje jeszcze CSS Elementora (krój Hind dla body, kolor przycisków) — powłoka ma zostać w kroju i kolorach starego motywu */
html body.hw-grafit:not(#hw-wyzej) { font-family: Arial, sans-serif; }
html body.hw-grafit:not(#hw-wyzej) .site-header .menu-toggle { color: #f2f0ea; }
html body.hw-grafit:not(#hw-wyzej) :is(.site-header, .footer, .mobile-cta, .hw-page-heading) a:not(.btn) { font-family: inherit; }
html body.hw-grafit:not(#hw-wyzej) :is(.site-header, .mobile-cta) a.btn { font-family: Arial, sans-serif; }
html body.hw-grafit:not(#hw-wyzej) footer.footer .eu-cookies-bar-cookies-settings-call-button { display: inline-flex; gap: 8px; justify-content: center; }
html body.hw-grafit:not(#hw-wyzej):not(.hw-zestaw-klasyczny) footer.footer .eu-cookies-bar-cookies-settings-call-button span { line-height: 21px; }
@layer hw-canon {
  html body.hw-grafit:not(#hw-wyzej) footer.footer .eu-cookies-bar-cookies-settings-call-button { display: inline-flex !important; gap: 8px !important; justify-content: center !important; }
  html body.hw-grafit:not(#hw-wyzej):not(.hw-zestaw-klasyczny) footer.footer .eu-cookies-bar-cookies-settings-call-button span { line-height: 21px !important; }
}

/* 0.9.20 — poprawki telefonu w całym serwisie (uwagi Marcina 05.11; te same reguły w „Dodatkowym CSS” na hardwood.pl):
   strzałka rozwijania menu po lewej, NIP/REGON w jednej linii (iPhone robił z numeru link), podpisy zdjęć w galerii z odstępem od krawędzi */
@layer hw-canon {
	@media (max-width: 1099px) {
		html body.hw-grafit .site-header .site-nav .hw-nav-summary { justify-content: flex-start !important; }
		html body.hw-grafit .site-header .site-nav .hw-nav-summary .hw-nav-toggle { order: -1 !important; justify-content: flex-start !important; }
		html body.hw-grafit .site-header .site-nav .hw-nav-summary .hw-nav-category { padding-left: 0 !important; }
		html body.hw-grafit .site-header .site-nav .nav-item > a { padding-left: 44px !important; }
	}
	html body.hw-grafit footer .footer-tax { white-space: nowrap !important; }
	html body.hw-grafit footer .footer-tax a { display: inline !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; color: inherit !important; text-decoration: none !important; pointer-events: none !important; }
	html body.hw-grafit .gallery-section .project-card figcaption { padding: 0 14px 14px !important; }
}
