:root {
  --leaf: #3f5f42;
  --leaf-dark: #213627;
  --fern: #748452;
  --sage: #c4ceb3;
  --clay: #9b6746;
  --straw: #ddc98d;
  --cream: #f7f1e4;
  --paper: #fffaf0;
  --mist: #eef3e7;
  --ink: #243127;
  --muted: #687263;
  --line: rgba(63, 95, 66, 0.18);
  --line-strong: rgba(63, 95, 66, 0.28);
  --shadow: 0 24px 70px rgba(35, 54, 39, 0.16);
  --soft-shadow: 0 14px 38px rgba(35, 54, 39, 0.08);
  --section-y: clamp(4.25rem, 8vw, 7.25rem);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(63, 95, 66, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, var(--cream), #f2f5e9 42%, var(--paper));
  background-size: 72px 72px, auto;
  color: var(--ink);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.68;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 250, 240, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 10px 32px rgba(35, 54, 39, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--leaf-dark);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(63, 95, 66, 0.2);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 2px solid var(--leaf);
  border-radius: 50% 50% 50% 8px;
  background:
    linear-gradient(135deg, transparent 48%, var(--leaf) 49%, var(--leaf) 52%, transparent 53%),
    var(--straw);
  transform: rotate(-18deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.12rem;
}

.site-nav a {
  padding: 0.52rem 0.78rem;
  border-radius: 7px;
  color: var(--leaf-dark);
  font-size: 0.93rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.site-nav a:hover {
  background: rgba(116, 132, 82, 0.14);
}

.site-nav a:focus-visible,
.button:focus-visible,
.instagram-link:focus-visible,
.map-link:focus-visible,
.gallery-item:focus-visible,
.menu-toggle:focus-visible,
.lightbox-close:focus-visible {
  outline: 3px solid rgba(155, 103, 70, 0.36);
  outline-offset: 3px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 7px;
  background: var(--leaf);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--paper);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2.5rem, 5.5vw, 6rem);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: clamp(2.4rem, 5vw, 4.25rem) 0 clamp(5.4rem, 9vw, 8rem);
}

.hero-media {
  position: relative;
  order: 2;
  overflow: hidden;
  min-height: clamp(520px, 68vh, 720px);
  border: 1px solid rgba(255, 250, 240, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(35, 54, 39, 0.02), rgba(35, 54, 39, 0.18)),
    linear-gradient(90deg, rgba(35, 54, 39, 0.12), transparent 42%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(520px, 68vh, 720px);
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  order: 1;
  max-width: 620px;
  padding: clamp(1.25rem, 3vw, 2.25rem) 0;
}

.hero-content::before,
.contact-card::before {
  content: "";
  position: absolute;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(116, 132, 82, 0.32);
  border-radius: 50% 50% 50% 9px;
  opacity: 0.5;
  transform: rotate(-28deg);
}

.hero-content::before {
  top: -18px;
  right: 2%;
  z-index: -1;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--leaf-dark);
  font-family: Fraunces, Georgia, serif;
  line-height: 1.08;
}

h1 {
  max-width: 680px;
  font-size: clamp(3.3rem, 6.5vw, 5.65rem);
}

h2 {
  font-size: clamp(2.25rem, 4.2vw, 3.35rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 590px;
  margin: 1.35rem 0 0;
  color: #3f4d40;
  font-size: clamp(1.05rem, 1.55vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.08rem;
  border: 1px solid var(--leaf);
  border-radius: 7px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.button.primary {
  background: var(--leaf-dark);
  color: var(--paper);
  box-shadow: 0 10px 22px rgba(35, 54, 39, 0.16);
}

.button.secondary {
  background: rgba(255, 250, 240, 0.74);
  color: var(--leaf-dark);
}

.button:hover,
.instagram-link:hover,
.map-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(35, 54, 39, 0.12);
}

.intro-band {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  margin-top: clamp(-3.2rem, -4vw, -2rem);
  margin-bottom: var(--section-y);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.88);
  box-shadow: var(--soft-shadow);
}

.intro-band div {
  position: relative;
  min-height: 172px;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(247, 241, 228, 0.88));
}

.intro-band div + div {
  border-left: 1px solid var(--line);
}

.intro-band div::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 28px;
  height: 2px;
  background: rgba(155, 103, 70, 0.38);
}

.stat {
  display: block;
  max-width: 12rem;
  color: var(--leaf-dark);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.08;
}

.intro-band p {
  margin: 0.82rem 0 0;
  color: var(--muted);
}

.split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding: 0 0 var(--section-y);
}

.split::before {
  display: none;
}

.section-heading {
  max-width: 650px;
}

.text-flow {
  max-width: 760px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-left: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(255, 250, 240, 0.64), transparent);
}

.text-flow p {
  margin: 0 0 1.1rem;
  color: #3d4b3f;
}

.text-flow p:last-child {
  margin-bottom: 0;
}

.feature {
  position: relative;
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(238, 243, 231, 0.72);
  box-shadow: 0 0 0 100vmax rgba(238, 243, 231, 0.72);
  clip-path: inset(0 -100vmax);
}

.feature .section-heading {
  max-width: 760px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: clamp(1.7rem, 3.4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--soft-shadow);
}

.feature-grid article {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  align-content: start;
  min-height: 210px;
  padding: clamp(1.35rem, 2.6vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(247, 241, 228, 0.9));
}

.feature-grid article::after {
  content: "";
  position: absolute;
  left: clamp(1.35rem, 2.6vw, 2rem);
  right: clamp(1.35rem, 2.6vw, 2rem);
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(155, 103, 70, 0.45), rgba(116, 132, 82, 0.2));
}

.feature-grid h3 {
  padding-top: 0.18rem;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(155, 103, 70, 0.28);
  border-radius: 50%;
  background: rgba(221, 201, 141, 0.42);
  color: var(--leaf-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-grid p {
  grid-column: 2;
  margin: 0.68rem 0 0;
  color: var(--muted);
}

.news-section {
  padding: var(--section-y) 0 0;
}

.news-section .section-heading {
  max-width: 760px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 1.8vw, 1.25rem);
  margin-top: clamp(1.7rem, 3.2vw, 2.35rem);
}

.news-card {
  position: relative;
  min-height: 240px;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--soft-shadow);
}

.news-card::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: rgba(116, 132, 82, 0.42);
}

.news-card time {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--clay);
  font-size: 0.86rem;
  font-weight: 900;
}

.news-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.gallery-section {
  padding: var(--section-y) 0 var(--section-y);
}

.gallery-section .section-heading {
  max-width: 760px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  grid-auto-rows: 220px;
  gap: clamp(0.75rem, 1.4vw, 1rem);
  margin-top: clamp(1.7rem, 3.2vw, 2.35rem);
  padding: clamp(0.7rem, 1.6vw, 1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.66);
  box-shadow: var(--soft-shadow);
}

.gallery-section > .gallery {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 250, 240, 0.6);
  border-radius: var(--radius);
  background: var(--sage);
  cursor: zoom-in;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(35, 54, 39, 0.18));
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-item.large {
  grid-row: span 2;
  grid-column: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-section > .gallery .gallery-item.wide {
  grid-column: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 260ms ease,
    filter 260ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.04);
  transform: scale(1.035);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-more {
  margin-top: 1.25rem;
}

.gallery-more summary {
  width: fit-content;
  cursor: pointer;
  list-style: none;
}

.gallery-more summary::-webkit-details-marker {
  display: none;
}

.gallery-more .hide-label {
  display: none;
}

.gallery-more[open] .show-label {
  display: none;
}

.gallery-more[open] .hide-label {
  display: inline;
}

.gallery-extra {
  margin-top: 1rem;
}

.gallery-more:not([open]) .gallery-extra {
  display: none;
}

.contact-section {
  padding: 0 0 var(--section-y);
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.6rem, 4vw, 3.75rem);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  padding: clamp(1.4rem, 4.5vw, 3.5rem);
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(63, 95, 66, 0.96), rgba(33, 54, 39, 1) 62%),
    var(--leaf-dark);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.contact-card::before {
  right: -28px;
  bottom: -28px;
  border-color: rgba(221, 201, 141, 0.36);
}

.contact-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.contact-card h2,
.contact-card .eyebrow {
  color: var(--paper);
}

.contact-card p {
  max-width: 620px;
  margin: 1rem 0 1.35rem;
  color: rgba(255, 250, 240, 0.82);
}

address {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 250, 240, 0.16);
  font-style: normal;
}

address strong {
  color: var(--straw);
  font-size: 1.22rem;
}

address a,
address span {
  display: inline-flex;
  width: fit-content;
  color: var(--paper);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  min-height: 44px;
  margin-top: 1.15rem;
  padding: 0.64rem 0.92rem;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 7px;
  background: rgba(255, 250, 240, 0.1);
  color: var(--paper);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.instagram-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.map-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-content: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.map-panel iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 410px;
  box-sizing: border-box;
  border: 0;
  border-radius: var(--radius);
  background: var(--sage);
  box-shadow: 0 14px 32px rgba(16, 25, 18, 0.18);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 0.15rem;
  box-sizing: border-box;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0.64rem 0.92rem;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 7px;
  background: rgba(255, 250, 240, 0.1);
  color: var(--paper);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.instagram-link:hover,
.map-link:hover {
  background: rgba(255, 250, 240, 0.16);
  border-color: rgba(255, 250, 240, 0.42);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1.35rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 25, 18, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 240, 0.38);
  border-radius: 7px;
  background: rgba(255, 250, 240, 0.12);
  color: var(--paper);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 940px) {
  .hero,
  .split,
  .contact-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card,
  .contact-copy,
  .map-panel,
  .map-actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .map-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .map-link {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-media,
  .hero-media img {
    min-height: 430px;
  }

  .intro-band,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-band div + div {
    border-left: 0;
  }

  .intro-band div:nth-child(2n) {
    border-left: 1px solid var(--line);
  }

  .intro-band div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-section > .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-section > .gallery .gallery-item.wide {
    grid-column: span 2;
  }
}

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

  .site-header {
    align-items: flex-start;
    width: min(1180px, calc(100% - 24px));
    margin-top: 12px;
  }

  .brand {
    max-width: calc(100% - 54px);
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 18px 34px rgba(35, 54, 39, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    gap: 1.35rem;
    padding-top: 1.25rem;
    padding-bottom: 4rem;
  }

  .hero-content {
    padding: 0.5rem 0 0;
  }

  .hero-content::before {
    display: none;
  }

  h1 {
    font-size: clamp(2.48rem, 12vw, 3.25rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.35rem);
  }

  .hero-content p:not(.eyebrow) {
    font-size: 1.04rem;
  }

  .hero-media,
  .hero-media img {
    min-height: 340px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .map-link {
    width: 100%;
  }

  .intro-band {
    grid-template-columns: 1fr;
    margin-top: -2rem;
  }

  .intro-band div,
  .intro-band div:nth-child(2n),
  .intro-band div:nth-child(n + 3) {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .intro-band div:first-child {
    border-top: 0;
  }

  .text-flow {
    padding: 1.1rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
    background: transparent;
  }

  .feature-grid article {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .feature-grid p {
    grid-column: auto;
  }

  .icon {
    margin-bottom: 0.9rem;
  }

  .news-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: auto;
  }

  .gallery {
    grid-auto-rows: minmax(220px, 62vw);
    padding: 0.55rem;
  }

  .gallery-item.large {
    grid-row: span 1;
    grid-column: span 1;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

  .gallery-section > .gallery .gallery-item.wide {
    grid-column: span 1;
  }

  .contact-card {
    padding: 1.25rem;
  }

  .map-panel iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 320px;
    box-sizing: border-box;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (min-width: 701px) {
  .text-flow p,
  .contact-copy > p:not(.eyebrow) {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
  }
}

@media (max-width: 700px) {
  .text-flow p,
  .contact-copy > p:not(.eyebrow) {
    text-align: left;
    hyphens: manual;
  }
}


/* =========================================================
   FINAL FIX: Kontakt / mapa / mapová tlačítka na mobilu
   - desktop nechává mapová tlačítka pod mapou
   - mobil přepíná kontakt do jednoho sloupce
   - mapa má řízenou výšku
   - tlačítka jsou vždy pod mapou a nikdy neodjíždí doprava
   ========================================================= */

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 0.95rem;
  box-sizing: border-box;
}

.map-actions .map-link {
  flex: 0 1 auto;
}

@media (max-width: 940px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .contact-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .contact-copy,
  .map-panel {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .map-panel {
    margin-top: 1.6rem !important;
    overflow: visible !important;
  }

  .map-panel iframe {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: clamp(320px, 55vh, 420px) !important;
    min-height: 0 !important;
    border: 0 !important;
    box-sizing: border-box !important;
  }

  .map-actions {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0.8rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 1rem 0 0 !important;
    padding: 0 !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .contact-card .map-actions .map-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    white-space: normal !important;
    text-align: center !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
  }
}

