/* Fazonetka - Uvodni strana (pocitac a tablet, od 768 px), v2
   Blok "Vyberte si strih podle toho, pro koho sijete" - v2: BEZ zeleneho
   pozadi, dlazdice primo na bilem pozadi stranky (rohy 6 px, dlazdice 4:3
   s popiskem dole, efekt pri najeti mysi zustava). 4 dlazdice vedle sebe,
   tesne nad Fotorecenzemi, okraje stejne jako horni pruh a ostatni bloky. */
/* pod 768 px (mobil) se tento blok nezobrazuje - tam je puvodni mobilni blok */
body.in-index #fzhp-kat-desktop {
  display: none;
}

@media (min-width: 768px) {
  body.in-index #fzhp-kat-desktop {
    display: block;
    box-sizing: border-box;
    background: transparent;
    border-radius: 6px;
    padding: 0;
    margin: 43px -20px 0;
  }
  body.in-index #fzhp-kat-desktop .fzhp-kat-heading {
    margin: 0 0 18px;
    font-family: Raleway, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4;
    color: #000000;
    text-align: center;
  }
  body.in-index #fzhp-kat-desktop .fzhp-kat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  body.in-index #fzhp-kat-desktop .fzhp-kat-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
  }
  body.in-index #fzhp-kat-desktop .fzhp-kat-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  body.in-index #fzhp-kat-desktop .fzhp-kat-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 20%;
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-sizing: border-box;
    background: rgba(255, 255, 250, 0.77);
    border-radius: 0 0 6px 6px;
    font-family: Raleway, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(13px, 1.1vw, 17px);
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.in-index #fzhp-kat-desktop .fzhp-kat-tile:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(34, 116, 165, 0.25);
    z-index: 2;
  }
}
