/*
Theme Name: DomaciPribeh.cz 1:1
Theme URI: https://domacipribeh.cz
Author: Codex
Description: Klasická WordPress šablona převedená 1:1 z dodané lokální stránky DomaciPribeh.cz.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: domaci-pribeh-1-1
Tags: custom-menu, custom-logo, featured-images, blog, food-and-drink
*/

:root {
  --cream: #f6f0e3;
  --white: #fff9ef;
  --linen: #e6d6bd;
  --sage: #73836a;
  --forest: #21382b;
  --earth: #76543b;
  --clay: #b96a4b;
  --ink: #263126;
  --muted: #667064;
  --border: rgba(38, 49, 38, 0.16);
  --shadow: 0 18px 45px rgba(38, 49, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1.12;
  margin-top: 0;
}

h1 {
  color: var(--white);
  font-size: 4.5rem;
  margin-bottom: 18px;
}

h2 {
  font-size: 2.75rem;
  margin-bottom: 16px;
  max-width: 760px;
}

h3 {
  font-size: 1.55rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.screen-reader-text:focus {
  background: var(--white);
  clip: auto;
  clip-path: none;
  color: var(--forest);
  height: auto;
  left: 12px;
  padding: 10px 14px;
  position: fixed;
  top: 12px;
  width: auto;
  z-index: 100;
}

.site-header {
  align-items: center;
  background: rgba(246, 240, 227, 0.96);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: var(--forest);
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--forest);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.84rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nav,
.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--forest);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus {
  color: var(--clay);
}

.hero {
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.hero img,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-shade {
  background: rgba(33, 56, 43, 0.42);
}

.hero-content {
  color: var(--white);
  margin: 0 auto;
  max-width: 1180px;
  padding: 92px 24px 82px;
  position: relative;
  z-index: 1;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 620px;
}

.kicker,
.eyebrow {
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .kicker {
  color: var(--linen);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.wp-block-button__link {
  align-items: center;
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  text-decoration: none;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: #17281f;
  color: var(--white);
}

.button-light {
  background: rgba(255, 249, 239, 0.14);
  border-color: rgba(255, 249, 239, 0.72);
}

.section {
  padding: 76px 24px;
}

.light {
  background: var(--white);
}

.inner {
  margin: 0 auto;
  max-width: 1180px;
}

.lead {
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 720px;
}

.cards,
.post-grid {
  display: grid;
  gap: 18px;
}

.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.post,
.product {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(38, 49, 38, 0.07);
  padding: 24px;
}

.card span {
  align-items: center;
  background: #efe2c9;
  border-radius: 999px;
  color: var(--forest);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  margin-bottom: 18px;
  width: 38px;
}

.card p,
.post p,
.meta {
  color: var(--muted);
}

.tag {
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.green {
  background: var(--forest);
  color: var(--white);
}

.green h2,
.green h3 {
  color: var(--white);
}

.green .lead {
  color: rgba(255, 249, 239, 0.78);
}

.product-row {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.feature-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.feature-list li {
  background: rgba(255, 249, 239, 0.09);
  border: 1px solid rgba(255, 249, 239, 0.18);
  border-radius: 8px;
  padding: 18px;
}

.product {
  box-shadow: var(--shadow);
  color: var(--ink);
}

.product strong {
  color: var(--earth);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.footer {
  background: #1d3025;
  color: rgba(255, 249, 239, 0.84);
  display: grid;
  gap: 28px;
  grid-template-columns: 1.3fr 0.7fr;
  padding: 56px 24px;
}

.footer > * {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.footer h2,
.footer h3,
.footer a {
  color: var(--white);
}

.content-area {
  margin: 0 auto;
  max-width: 900px;
  padding: 76px 24px;
}

.content-area .entry-title {
  color: var(--forest);
  font-size: 3rem;
}

.entry-content > * {
  margin-top: 0;
}

.post a {
  text-decoration: none;
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .cards,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-row,
  .footer {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 12px 18px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 52px 20px 60px;
  }

  .section {
    padding: 56px 20px;
  }

  .cards,
  .post-grid {
    grid-template-columns: 1fr;
  }
}
