/* Společné styly webu www.minifarmicka.cz */
:root {
  --bg: #faf7f2; --surface: #fff; --text: #2b2620; --muted: #7a7064; --line: #e6dfd4;
  --accent: #9b1c22; --accent-text: #fff; --accent-soft: #f8e9e8;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1c1a17; --surface: #262320; --text: #ece6dc; --muted: #a39a8d; --line: #3a3530;
          --accent: #e5646a; --accent-text: #15170f; --accent-soft: #3a2224; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
header { padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 44px; width: auto; }
.hero { display: grid; gap: 24px; align-items: center; grid-template-columns: 1fr; }
.hero img { width: 100%; max-width: 360px; height: auto; justify-self: center; }
@media (min-width: 720px) { .hero { grid-template-columns: 3fr 2fr; } }
.button { display: inline-block; background: var(--accent); color: var(--accent-text); padding: 0.7rem 1.2rem;
          border-radius: 10px; font-weight: 600; text-decoration: none; }
.hero { padding: 48px 0 32px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.15; margin: 0 0 1rem; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin: 0 0 1.5rem; }
section { padding: 24px 0; border-top: 1px solid var(--line); }
h2 { font-size: 1.4rem; margin: 0 0 0.75rem; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.card h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }
.news { display: grid; gap: 12px; }
.news .card { border-left: 4px solid var(--accent); }
.news .card p { color: var(--text); white-space: pre-line; overflow-wrap: anywhere; margin: 0.25rem 0 0; }
.news .card small { color: var(--muted); }
address { font-style: normal; }
footer { padding: 32px 0; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }

/* Textové stránky (obchodní podmínky) */
.doc { max-width: 44em; padding: 8px 0 24px; }
.doc h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.2; margin: 16px 0 1rem; }
.doc h2 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; }
.doc p, .doc li { margin: 0.35rem 0; }
.doc ul { padding-left: 1.3rem; }
.doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 0; }
.doc dt { color: var(--muted); }
.doc dd { margin: 0; }
