/*
Theme Name: Astra Child – SprzedajPodrecznik
Template: astra
Description: Motyw potomny Astry. Własne szablony (np. „Skup Blog Post”) są tutaj, żeby aktualizacja Astry ich nie usuwała.
Author: Luksari
Version: 1.0.3
Text Domain: astra-child
*/

/* Przycisk w treści stron (O nas, Kontakt) – kolor jak przyciski kart książek */
.entry-content a.sp-cta{display:inline-block;background:#1d64ad;color:#fff;font-weight:700;padding:12px 26px;border-radius:6px;text-decoration:none}
.entry-content a.sp-cta:hover{background:#174f8a;color:#fff}
.entry-content .sp-pdf{margin-top:2em;font-size:.95em}

/* Strony treści: czytelna hierarchia (H1 > H2), odstępy akapitów, mniej pustego miejsca pod nagłówkiem */
.sp-strona-tresc #primary{margin-top:24px!important;padding-top:0!important}
.sp-strona-tresc article.page{padding-top:12px!important}
.sp-strona-tresc .entry-content{max-width:760px}
.sp-strona-tresc .entry-header{max-width:760px}
.sp-strona-tresc .entry-title{font-size:clamp(1.9rem,1.4rem + 2vw,2.6rem);line-height:1.2;margin-bottom:.4em}
.sp-strona-tresc .entry-content h2{font-size:clamp(1.25rem,1.1rem + .6vw,1.5rem);line-height:1.3;margin:1.8em 0 .6em}
.sp-strona-tresc .entry-content p{margin:0 0 1em}
.sp-strona-tresc .entry-content ol,.sp-strona-tresc .entry-content ul{margin:0 0 1em 1.4em}
.sp-strona-tresc .entry-content li{margin-bottom:.35em}
.sp-strona-tresc .entry-content li>ul{margin-top:.35em}

/* Stopka: cel dotyku min. 24 px (WCAG 2.2, 2.5.8) bez zmiany odstępów */
.site-footer .menu-link{display:inline-block;min-height:24px;line-height:24px}
