

.top .pf {
    margin-left: auto;
    font-size: .88rem;
    font-weight: 600;
    color: var(--tdd);
    text-decoration: none;
    border: 1.5px solid var(--t);
    border-radius: 999px;
    padding: 7px 14px;
    white-space: nowrap
}

.crumb {
    font-size: .82rem;
    color: var(--mu);
    padding: 14px 0 4px
}

.crumb a {
    color: var(--mu);
    text-decoration: none
}

h1 {
    font-size: 1.9rem;
    line-height: 1.15;
    margin: 4px 0 6px;
    letter-spacing: -.3px
}

.pod {
    color: var(--mu);
    margin: 0 0 14px
}

.filtre {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 0 16px;
    border-bottom: 1px solid var(--ln);
    margin-bottom: 18px
}

.f {
    border: 1.5px solid var(--ln);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .88rem;
    background: #fff;
    cursor: pointer;
    color: var(--tx);
    text-decoration: none
}

.f.on {
    background: var(--tdd);
    border-color: var(--tdd);
    color: #fff
}

.f.mp {
    margin-left: auto;
    border-color: var(--t);
    color: var(--tdd);
    font-weight: 600
}

.f.mp.on {
    background: var(--tdd);
    border-color: var(--tdd);
    color: #fff
}

.f:focus-visible {
    outline: 2px solid var(--t);
    outline-offset: 2px
}

.grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: start
}

.karta {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--ln);
    border-radius: 14px;
    margin-bottom: 14px;
    background: #fff
}

.karta.pr {
    border: 2px solid var(--y);
    box-shadow: 0 2px 10px rgba(242, 183, 5, .12)
}

.foto {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg)
}

.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.foto .pocet {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: .74rem;
    border-radius: 6px;
    padding: 2px 7px
}

.obl {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--td);
    text-decoration: none;
    font-size: 1rem
}

.karta h2 {
    font-size: 1.15rem;
    margin: 0 0 2px
}

.karta h2 a {
    color: var(--tx);
    text-decoration: none
}

.adr {
    color: var(--mu);
    font-size: .9rem
}

.znacky {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0
}

.zn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 3px 10px
}

.zn.sp {
    background: #fff6d6;
    color: #7a5a00;
    border: 1.5px solid var(--y)
}

.zn.ot {
    background: #e3f2f5;
    color: var(--tdd)
}

.zn.zt {
    background: #f1f3f4;
    color: var(--mu)
}

.zn.rec {
    background: #f1f3f4;
    color: var(--mu);
    font-weight: 600
}

.sluz {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 10px
}

.chip {
    border: 1px solid var(--ln);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .8rem;
    color: #2e3a3d
}

.akcie {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    border: 0;
    cursor: pointer
}

.btn.p {
    background: var(--t);
    color: var(--y)
}

.btn.s {
    background: #fff;
    color: var(--tdd);
    border: 1.5px solid var(--t)
}

.karta.zakl {
    grid-template-columns: 120px 1fr;
    padding: 12px 14px
}

.karta.zakl .foto {
    aspect-ratio: 1/1
}

.karta.zakl h2 {
    font-size: 1rem
}

.medzi {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--mu);
    margin: 22px 0 10px;
    font-weight: 700
}

aside {
    position: sticky;
    top: 84px
}

.mapa {
    border-radius: 14px;
    overflow: hidden;
    height: 520px;
    background: #e8eef0 linear-gradient(135deg, #e8eef0 25%, #eef3f4 25%, #eef3f4 50%, #e8eef0 50%, #e8eef0 75%, #eef3f4 75%) 0 0/40px 40px;
    position: relative;
    border: 1px solid var(--ln)
}

.mapa .bod {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: var(--t);
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25)
}

.mapa .bod.pr {
    background: var(--yd)
}

.mapa .nac {
    position: absolute;
    inset: auto 14px 14px 14px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: .84rem;
    color: var(--mu);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08)
}


.text {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--ln);
    color: #2e3a3d
}

.text h2 {
    font-size: 1.2rem;
    margin: 0 0 8px
}

.okolie {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px
}

.okolie a {
    font-size: .85rem;
    background: #e3f2f5;
    color: var(--tdd);
    border-radius: 999px;
    padding: 4px 12px;
    text-decoration: none;
    font-weight: 600
}

.dalsie {
    display: block;
    text-align: center;
    margin: 6px 0 0
}

.malo {
    font-size: .8rem;
    color: var(--mu)
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(245, 245, 245, 0) 0,
    rgba(245, 245, 245, 0.6) 50%,
    rgba(245, 245, 245, 0) 100%
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

[hidden] {
    display: none;
}

#map-canvas {
    height: 100%;
}

@media (max-width:960px) {
    .grid {
        grid-template-columns: 1fr
    }

    aside {
        display: none
    }

    .f.mp {
        margin-left: 0
    }
}

@media (max-width:640px) {
    h1 {
        font-size: 1.45rem
    }

    .karta {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .karta.zakl {
        grid-template-columns: 88px 1fr
    }

    .rk-pas {
        grid-template-columns: 1fr 1fr
    }

    .filtre {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px
    }

    .f {
        white-space: nowrap
    }
}

.top .pri {
    margin-left: auto;
    font-size: .88rem;
    font-weight: 600;
    color: var(--tdd);
    text-decoration: none;
    white-space: nowrap
}

.top .pri+.pf {
    margin-left: 12px
}

@media (max-width:640px) {
    .top .pri {
        font-size: .82rem
    }

    .top .pf {
        padding: 6px 10px;
        font-size: .82rem
    }
}

.filter-hidden {
    position: relative;
    opacity: 0.3;
}

.filter-hidden::before {
    content: 'Nevyhovuje filtru';
    position: absolute;
    top: 2.5%;
    right: 2.5%;
    font-size: 1rem;
    color: red;
    display: block;
}