/* Vycházky s Jiřinou — jediný stylesheet celého webu */
:root {
  --bg: #faf7f1;
  --card: #ffffff;
  --ink: #2b2520;
  --muted: #7d7268;
  --accent: #8c2f24;
  --accent-dark: #6e241b;
  --accent-soft: #f3e6df;
  --line: #e9e1d3;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.06rem;
}
h1, h2, h3, .brand { font-family: Georgia, "Times New Roman", serif; font-weight: normal; line-height: 1.25; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }

/* ---------- hlavička ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .inner {
  max-width: 1080px; margin: 0 auto; padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px;
}
.brand { font-size: 1.5rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); font-style: italic; }
nav.main { margin-left: auto; display: flex; flex-wrap: wrap; gap: 2px 24px; font-size: 1rem; }
nav.main a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.main a:hover { color: var(--accent); }
nav.main a.active { border-bottom-color: var(--accent); color: var(--accent); }

/* ---------- hero (úvodní stránka) ---------- */
.hero {
  position: relative; min-height: 300px; display: flex; align-items: flex-end;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .overlay {
  position: relative; width: 100%;
  background: linear-gradient(to top, rgba(26, 18, 14, .85) 0%, rgba(26, 18, 14, .35) 60%, rgba(26, 18, 14, 0) 100%);
  padding: 130px 20px 40px;
}
.hero .overlay .inner { max-width: 1080px; margin: 0 auto; color: #fdf9f3; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 10px; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.hero p { font-size: 1.2rem; font-style: italic; color: #f3ead9; max-width: 620px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hero .photo-credit {
  position: absolute; right: 10px; bottom: 6px; font-size: .68rem; font-style: normal;
  color: rgba(255,255,255,.75);
}
.hero .photo-credit a { color: rgba(255,255,255,.75); }

/* ---------- úvodní představení (text + fotka) ---------- */
.intro {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: start; padding: 48px 0 10px;
}
.intro h1 { font-size: 2.2rem; margin-bottom: 14px; }
.intro p { margin-bottom: 14px; text-align: justify; }
.intro .podpis { max-width: 230px; margin-top: 6px; }
.intro-photo { margin: 11px 0 0; }
.intro-photo img { border-radius: 12px; box-shadow: 0 2px 14px rgba(60, 40, 20, .12); }
@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; padding-top: 32px; }
}

.portrait { margin: 20px 0 6px; max-width: 460px; }
.portrait img { border-radius: 12px; box-shadow: 0 2px 14px rgba(60, 40, 20, .12); }

.bio { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; padding-top: 20px; }
.bio .portrait { margin: 0; max-width: none; }
@media (max-width: 760px) {
  .bio { grid-template-columns: 1fr; }
}

/* ---------- obecné sekce ---------- */
main { max-width: 1080px; margin: 0 auto; padding: 0 20px 70px; }
.page-head { padding: 48px 0 10px; max-width: 760px; }
.page-head h1, .page-head h2 { font-size: 2.2rem; margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); text-align: justify; }
section { margin-bottom: 30px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; color: var(--accent); margin: 34px 0 10px; }
.prose p { margin-bottom: 14px; text-align: justify; }
.prose ul { margin: 0 0 14px 22px; }
.prose ul li { margin-bottom: 6px; }
.prose figcaption { font-size: .78rem; color: var(--muted); padding-top: 6px; }
.prose figcaption a { color: var(--muted); }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 26px; border-radius: 8px; font-size: 1.02rem; margin-top: 6px;
}
.btn:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); }

/* ---------- filtr tagů ---------- */
.tag-filter { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 20px; }
.tag-filter button {
  font: inherit; cursor: pointer; background: var(--card); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 99px; padding: 7px 16px; font-size: .92rem;
}
.tag-filter button:hover { border-color: var(--accent); color: var(--accent); }
.tag-filter button.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- karty vycházek ---------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px; padding-top: 24px;
}
.cards .card.is-hidden { display: none; }
.card {
  background: var(--card); border-radius: 12px; overflow: hidden; text-decoration: none;
  color: var(--ink); box-shadow: 0 2px 14px rgba(60, 40, 20, .09);
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(60, 40, 20, .16); }
.card img { height: 210px; width: 100%; object-fit: cover; }
.card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.28rem; color: var(--accent); }
.card p { color: var(--muted); font-size: .98rem; flex: 1; text-align: justify; }
.card .more { color: var(--accent); font-size: .95rem; }
.badge {
  align-self: flex-start; background: var(--accent-soft); color: var(--accent-dark);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; margin-left: -10px; border-radius: 99px;
}

/* ---------- detail vycházky ---------- */
.detail { max-width: 820px; }
.breadcrumb { padding: 26px 0 4px; font-size: .95rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.detail article .badge { display: inline-block; margin: 14px 0 10px -10px; }
.detail h1 { font-size: 2.1rem; margin-bottom: 10px; }
.detail .perex { font-style: italic; color: var(--muted); font-size: 1.18rem; margin-bottom: 20px; text-align: justify; }
.detail article p { text-align: justify; }
.detail figure { margin: 0 0 8px; }
.detail figure img { border-radius: 12px; width: 100%; max-height: 460px; object-fit: cover; }
.detail figcaption { font-size: .78rem; color: var(--muted); padding-top: 6px; }
.detail figcaption a { color: var(--muted); }
.detail article > p:last-child { margin-top: 16px; }

.cta {
  margin-top: 36px; background: var(--card); border: 1px solid var(--line);
  border-left: 5px solid var(--accent); border-radius: 12px; padding: 24px 28px;
}
.cta h2 { font-size: 1.4rem; margin-bottom: 6px; }
.cta p { color: var(--muted); margin-bottom: 10px; text-align: justify; }

.related { margin-top: 34px; }
.related h2 { font-size: 1.2rem; margin-bottom: 8px; }
.related ul { margin-left: 22px; }

/* ---------- pruhy na úvodní stránce ---------- */
.strip {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 30px; margin-top: 34px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px;
}
.strip .txt { flex: 1 1 380px; }
.strip h2 { font-size: 1.45rem; margin-bottom: 6px; }
.strip p { color: var(--muted); text-align: justify; }
.center { text-align: center; padding: 34px 0 0; }

/* ---------- kontakt / formulář ---------- */
.contact-form {
  display: flex; flex-direction: column; gap: 26px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 30px; margin-top: 10px; max-width: 720px;
}
.contact-form .field { display: flex; flex-direction: column; gap: 7px; }
.contact-form label { font-weight: 600; }
.contact-form .req { color: var(--accent); font-weight: 600; font-size: .88em; }
.contact-form .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.contact-form .field-error { color: var(--accent); font-weight: 600; font-size: .92rem; margin-top: -8px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  font: inherit; font-size: 1rem; padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.contact-form fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.contact-form legend { font-weight: 600; padding: 0 6px; }
.checkbox-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 20px; margin-top: 10px;
}
.checkbox-list label {
  display: flex; align-items: center; gap: 12px; font-weight: 400; cursor: pointer;
}
.checkbox-list input[type="checkbox"] {
  width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--accent); cursor: pointer;
}
.consent { display: flex; flex-direction: column; gap: 18px; }
.consent h2 { font-size: 1.2rem; }
.consent-item {
  display: flex; align-items: flex-start; gap: 14px; font-weight: 400; cursor: pointer;
}
.consent-item input[type="checkbox"] {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; accent-color: var(--accent); cursor: pointer;
}
.consent-item small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }
.consent-item small a { color: var(--muted); text-decoration: underline; }
.contact-form .btn { align-self: flex-start; border: none; cursor: pointer; }
.form-note { font-size: .92rem; color: var(--muted); margin-top: 14px; text-align: justify; }

/* ---------- patička ---------- */
.site-footer { border-top: 1px solid var(--line); background: #f3eee4; margin-top: 20px; }
.site-footer .inner { max-width: 1080px; margin: 0 auto; padding: 30px 20px 36px; font-size: .92rem; color: var(--muted); }
.site-footer p { margin-bottom: 6px; }
.foot-brand { font-family: Georgia, serif; color: var(--ink); font-size: 1.05rem; }
.foot-note { font-size: .8rem; }

@media (max-width: 640px) {
  .site-header .inner { padding: 14px 16px; }
  nav.main { margin-left: 0; gap: 2px 18px; font-size: .95rem; }
  .hero { min-height: 260px; }
  main { padding: 0 16px 50px; }
  .page-head { padding-top: 32px; }
}
