:root:not(:has(.truck-landing)), .truck-landing main { --ink: #172820; --paper: #f6f4e9; --blue: #e5e9dc; --gold: #bf9f50; --gold-hover: #b18e43; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body:not(.truck-landing) { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--text-size)/1.55 var(--body); }
body:not(.truck-landing) .wrap { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #b65b23; outline-offset: 4px; }
:where(body:not(.truck-landing), .truck-landing main) img { display: block; width: 100%; height: auto; }
.bar, .brand, .bar nav, .footer:not(.site-footer) { display: flex; align-items: center; gap: 18px; }
.bar, .footer:not(.site-footer) { justify-content: space-between; flex-wrap: wrap; }
.bar { min-height: 82px; padding-block: 10px; border-bottom: 1px solid #17282030; }
.brand { gap: 10px; text-decoration: none; }
.brand img { width: 44px; border-radius: 50%; }
.bar nav { gap: clamp(12px, 3vw, 34px); }
.bar nav a { text-decoration: none; }
:where(body:not(.truck-landing)) .button, .gallery-all.button { display: inline-flex; align-items: center; gap: .8em; min-height: 44px; padding: .55em 1em; background: var(--ink); color: white; text-decoration: none; border-radius: 0; }
:where(body:not(.truck-landing)) .button:hover, .gallery-all.button:hover { background: #304f5c; }
.hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(28px, 5vw, 74px); }
.hero-photo { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.eyebrow { letter-spacing: .12em; text-transform: uppercase; font-size: var(--text-label); }
h1, h2, h3 { font-family: var(--display); font-weight: var(--heading-weight); text-transform: uppercase; margin: 0; line-height: 1.05; }
h1 { font-size: var(--page-title-size); }
h1 em { color: var(--gold); font-style: normal; }
h2 { font-size: var(--section-title-size); }
h3 { font-size: var(--small-heading-size); }
:where(body:not(.truck-landing), .truck-landing main) p { margin: .75em 0; }
.intro { max-width: 42ch; margin-block: 20px; }
body:not(.truck-landing) .section { padding-block: clamp(36px, 6vw, 76px); }
.features { background: var(--ink); color: var(--paper); }
.features h2, .features h3 { color: #fff; }
.features .pictogram { color: var(--blue); }
.features .cards article { border-top-color: #95d1f46b; }
.cards, .gallery, .contact-inner { display: grid; gap: 20px; }
.cards { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.cards article { border-top: 1px solid #17282075; padding-top: 16px; }
.gallery { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 20px; }
.gallery img { aspect-ratio: 4 / 3; object-fit: contain; border-radius: 6px; }
.contact { background: var(--blue); color: var(--ink); }
.contact-inner { grid-template-columns: 1fr auto; align-items: center; }
.contact-inner p { max-width: 58ch; }
.contact-actions { display: grid; justify-items: start; gap: 12px; }
footer:not(.site-footer) { background: var(--ink); color: var(--paper); padding-block: 26px; }
.footer:not(.site-footer) { font-size: var(--text-small); }
.footer p { margin: 3px 0; }
@media (max-width: 720px) {
  body:not(.truck-landing) .wrap { width: calc(100% - 32px); }
  .hero, .cards, .contact-inner { grid-template-columns: 1fr; }
  .bar { gap: 8px; }
  .bar nav { flex-wrap: wrap; }
}
@media (max-width: 420px) { .gallery { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero { color: var(--paper); }
main { background: var(--ink); }
#fotky { color: var(--paper); }
body:not(.truck-landing) .hero .button { background: var(--gold); color: var(--ink); }
body:not(.truck-landing) .hero .button:hover { background: var(--gold-hover); }
.blog { color: var(--ink); background: var(--paper); }
.blog time { display: block; font-size: var(--text-small); margin-bottom: 8px; }

:root:not(:has(.truck-landing)), .truck-landing main { --ink: #18384c; --blue: #d5e8ee; }
header.bar { color: var(--ink); }
.brand .truck-wordmark { width: clamp(100px, 16vw, 175px); border-radius: 0; filter: invert(1); }
.truck-slogan { color: var(--gold); font-size: var(--subheading-size); }
.photo-break { margin: 0; }
.photo-break img { width: 100%; height: clamp(240px, 50vw, 660px); object-fit: cover; object-position: center 58%; filter: grayscale(1); }
#fotky { background: var(--ink); }
.gallery a { display: block; }
.gallery img { object-position: center; }
.blog-post { max-width: 780px; }
.blog-post img { margin-block: 24px; }

.hero { display: block; padding: 0; background: var(--ink); }
.hero-copy { padding-block: clamp(2rem, 5vw, 4rem); }
.hero h1 img { width: min(100%, 570px); }
.hero-photo { width: 100%; height: clamp(18rem, 57vw, 54rem); aspect-ratio: auto; object-position: center 67%; border-radius: 0; }
.post-content { margin-top: 1.5rem; }
.post-content figure { margin: 1.5rem 0; }
.post-content img { width: auto; max-width: 100%; max-height: 44rem; margin: 0 auto; }
.post-content figcaption { margin-top: .5rem; }
footer:not(.site-footer) { background: var(--paper); color: var(--ink); }
footer:not(.site-footer)::before {
  content: ""; display: block; height: 24px; margin-bottom: 28px;
  background:
    linear-gradient(var(--gold), var(--gold)) bottom / 100% 5px no-repeat,
    repeating-linear-gradient(to right, var(--gold) 0 4px, transparent 4px 12px);
}

:root:not(:has(.truck-landing)), .truck-landing main { --ink: #06273a; --blue: #95d1f4; }
.bar nav { flex-wrap: wrap; gap: .55rem 1.15rem; }
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(27rem, 57vw, 48rem); }
.hero .hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; filter: grayscale(1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #061a27dc, #061a2750 58%, transparent), linear-gradient(0deg, #061a27b8, transparent 60%); }
.hero h1 img { width: min(100%, 460px); }
.hero-copy { padding-block: clamp(2rem, 4vw, 3.5rem); }
#kontakt-jan { scroll-margin-top: 1rem; overflow-wrap: anywhere; }
.gallery-viewer { width: min(96vw, 64rem); max-height: 94dvh; border: 0; border-radius: .5rem; padding: .75rem; background: var(--ink); color: var(--paper); }
.gallery-viewer::backdrop { background: #000d; }
.gallery-viewer img { width: 100%; height: min(68dvh, 44rem); object-fit: contain; }
.viewer-top, .viewer-bottom { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-block: .3rem; }
.gallery-viewer button { min-width: 44px; min-height: 44px; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
@media (max-width: 650px) {
  .hero .hero-photo { object-position: 48% center; }
  .hero::before { background: linear-gradient(0deg, #061a27ed 12%, #061a2725 95%); }
}

.brewery-return { flex: none; line-height: 1.15; }
.brewery-return small { display: block; font-size: var(--text-label); }
.bar { column-gap: clamp(.9rem, 3vw, 2.4rem); }
.bar nav { gap: .45rem clamp(.7rem, 2vw, 1.8rem); }
.bar nav a { display: inline-flex; min-height: 44px; align-items: center; }
.bar nav a:hover, .brewery-return:hover { text-decoration: underline; }
.hero h1 img { width: min(100%, 540px); }
.hero .truck-slogan { line-height: 1.15; }
.hero .intro { font-size: var(--text-lead); }
.blog .article-photo { display: block; margin-bottom: .8rem; }
.article-photo img { aspect-ratio: 3 / 2; object-fit: contain; border-radius: .35rem; }
@media (max-width: 650px) {
  .bar nav { width: 100%; }
}

.pictogram { display: block; width: 64px; height: 64px; margin-bottom: 16px; fill: currentColor; }

.booking { background: var(--paper); }
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.25rem, 4vw, 3.5rem); }
.booking figure { margin: 0; }
.booking figure img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: .4rem; }
.booking figcaption { margin-top: .5rem; font-size: var(--text-small); }
.booking ol { padding-inline-start: 1.4rem; }
.booking li + li { margin-top: .45rem; }
.booking details { margin-top: 1.25rem; border-top: 1px solid #06273a50; }
.booking summary { padding-block: .7rem; cursor: pointer; }
.booking details p { margin-top: 0; }
@media (max-width: 720px) {
  .booking-grid { grid-template-columns: 1fr; }
}

.mobile-nav-actions { display: none; }
.booking-specs { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.booking-specs span { white-space: nowrap; }
.booking-specs span { padding: .25rem .55rem; background: #95d1f44d; border-radius: .25rem; }
.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery [hidden], .gallery-all[hidden] { display: none; }
.gallery-all { margin-top: 1rem; border: 1px solid var(--paper); cursor: pointer; }
@media (max-width: 760px) {
  .mobile-nav-actions:not([hidden]) { display: flex; gap: .4rem; }
  .mobile-nav-actions .button, .mobile-nav-actions button { padding: .45rem .6rem; font-size: var(--text-small); }
  .mobile-nav-actions button { min-height: 44px; border: 1px solid currentColor; border-radius: 0; background: transparent; color: var(--ink); font-family: inherit; cursor: pointer; }
  .bar nav.menu-enhanced { display: none; width: 100%; }
  .bar nav.menu-open { display: flex; }
  .menu-enhanced > a[href$="#poptavka"] { display: none; }
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .hero .hero-photo { position: static; z-index: auto; height: auto; aspect-ratio: 4 / 3; object-position: center; }
  .hero::before { background: none; }
  .hero-copy { padding-block: 1.5rem 2rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 350px) {
  .brewery-return { gap: .35rem; font-size: var(--text-small); }
  .brewery-return img { width: 34px; }
}

.contact-person { display: flex; align-items: center; gap: .85rem; line-height: 1.35; }
.contact-person img { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.contact-person span { display: block; margin-top: .15rem; font-weight: 400; }

.truck-landing .hero {
  padding-block-start: var(--masthead-height);
}
.truck-landing .hero-photo {
  margin: 0;
}
.truck-landing .hero-copy {
  max-width: none;
  padding-inline: 0;
}
@media (max-width: 760px) {
  .truck-landing .hero {
    padding-block-start: 0;
  }
  .truck-landing .hero .hero-photo {
    min-height: calc(var(--masthead-height) + 9rem);
    object-position: center;
  }
}

.truck-landing .truck-route-band {
  background: var(--cream);
  border-block: 1px solid var(--line);
}
.truck-landing .truck-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  padding-block: .7rem;
}
.truck-links .button {
  border-color: #8c6b28;
  background: #8c6b28;
  color: #fff;
  font: var(--heading-weight) clamp(1.15rem, 2.1vw, 1.65rem)/1.15 var(--display);
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
}
.truck-links .button:is(:hover, :focus-visible) {
  border-color: var(--menu-hover);
  background: var(--menu-hover);
  color: #fff;
}
.truck-landing .hero .intro { margin-block-end: 0; }
.truck-landing .contact { background: var(--cream); color: var(--deep); }
.truck-landing .features .pictogram { color: var(--gold); }
.truck-landing .features .cards article { border-top-color: #f6f4e950; }
.truck-landing .blog .cards article, .truck-landing .booking details { border-top-color: var(--line); }
.truck-landing :is(#vycep, #jak-to-probiha, #blog, #poptavka) {
  scroll-margin-top: var(--masthead-height, 5rem);
}
@media (max-width: 700px) {
  .truck-landing .truck-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .truck-links .button { min-height: 44px; padding-inline: .5rem; }
}
.truck-landing .site-masthead #menu .nav-submenu a[aria-current] {
  font-weight: 700;
  text-decoration: underline;
}
.truck-landing .blog-post { margin-inline: auto; }
