/*
Theme Name: Ściepka
Theme URI: https://sciepka.pl/
Author: Ściepka
Description: Lekki, własny motyw techniczny dla aplikacji Ściepka. Bez Elementora i bez zależności od zewnętrznych builderów.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: sciepka
*/

:root {
    --sc-theme-bg: #ffffff;
    --sc-theme-text: #171717;
    --sc-theme-muted: #747880;
    --sc-theme-border: #e8e9ed;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--sc-theme-bg);
    color: var(--sc-theme-text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
}

.site-main {
    min-height: 60vh;
}

.sciepka-theme-fallback {
    width: min(1120px, calc(100% - 32px));
    margin: 64px auto;
}

.sciepka-theme-fallback h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 6vw, 56px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.sciepka-theme-fallback p {
    max-width: 700px;
    margin: 0;
    color: var(--sc-theme-muted);
    line-height: 1.65;
}


/*
 * Element z atrybutem hidden ma być bezwzględnie ukryty.
 * Chroni interfejs aplikacji przed regułami display:flex/grid.
 */
[hidden] {
    display: none !important;
}
