/*
Theme Name: Patjo — osobný priestor
Author: Patjo
Description: Pokojná krémovo-zelená classic téma s lokálnymi fontmi a obsahom upraviteľným v blokovom editore.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: patjo
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
    --paper: #f5f1e7;
    --ink: #203d32;
    --muted: #526357;
    --line: #c9cec0;
    --accent: #b94e24;
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.75; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, [tabindex]:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.shell { width: min(1160px, calc(100% - 6rem)); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 112px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; font-size: 1.375rem; font-weight: 650; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand-dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; flex: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 1.75rem; font-size: .875rem; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; gap: .5rem; }
.site-header nav a:hover { text-decoration: underline; }
.welcome-hero { padding-block: clamp(4rem, 8vw, 7rem) clamp(5rem, 9vw, 8rem); }
.eyebrow { color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 2rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; overflow-wrap: anywhere; }
h1 { max-width: 100%; font-size: clamp(3.25rem, 8.5vw, 7rem); line-height: 1.09; letter-spacing: -.055em; margin: 0 0 2rem; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 4.8vw, 4rem); line-height: 1.12; letter-spacing: -.04em; margin: 0 0 1.5rem; }
h3 { font-size: 2rem; line-height: 1.2; }
p { margin: 0 0 1.25rem; }
.intro { max-width: 35rem; font-family: var(--serif); font-size: clamp(1.375rem, 2.6vw, 1.875rem); line-height: 1.5; color: var(--muted); }
.hero-link { margin: 2rem 0 0; }
.text-link { display: inline-flex; gap: 1.5rem; align-items: center; min-height: 44px; font-size: .9375rem; }
.about-section { display: grid; grid-template-columns: 1fr 1.12fr; column-gap: clamp(2rem, 8vw, 7rem); padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.about-section > .eyebrow { grid-column: 1 / -1; margin-bottom: 2rem; }
.about-section > h2 { grid-column: 1; grid-row: 2 / span 2; }
.about-section > p:not(.eyebrow) { grid-column: 2; max-width: 37rem; }
.entry-content { overflow-wrap: anywhere; }
.entry-content img, .entry-content video, .entry-content iframe { max-width: 100%; }
.entry-content img, .entry-content video { height: auto; }
.entry-content figure { max-width: 100%; margin-inline: 0; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: .5rem; }
.entry-content pre { overflow-x: auto; padding: 1rem; border: 1px solid var(--line); }
.entry-heading { padding-top: 4rem; }
.entry:not(:first-child) { border-top: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; align-items: center; padding-block: 1.5rem 2rem; font-size: .8125rem; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; }
.skip-link, .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 100000; top: 1rem; left: 1rem; width: auto; height: auto; margin: 0; padding: .75rem 1rem; clip: auto; background: var(--ink); color: var(--paper); }
.pagination, .page-links { padding-block: 2rem; }
.editor-styles-wrapper { color: var(--ink); background: var(--paper); font-family: var(--sans); }
@media (max-width: 640px) {
    .shell { width: calc(100% - 2.5rem); }
    .site-header { min-height: 96px; gap: .75rem; flex-wrap: wrap; padding-block: 1rem; }
    .site-header nav { gap: 1rem; font-size: .8125rem; }
    .welcome-hero { padding-block: 3.5rem 4.5rem; }
    .eyebrow { font-size: .6875rem; letter-spacing: .12em; }
    .about-section { display: block; padding-block: 2.5rem; }
    .about-section > h2 { margin-bottom: 2rem; }
    .site-footer { align-items: flex-start; flex-direction: column; gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
