@media (max-width: 1024px) {
  html {
    overflow-x: clip;
  }
  body {
    background-position: top left;
    background-size: auto 25.3vw;
    background-attachment: scroll;
    overflow-x: clip;
  }
  .banner {
    display: none;
  }
  .zahlavie_link {
    display: none;
  }
  #top {
    height: auto;
    padding-top: 16.7vw;
  }
  #top .day-datum, #top .day-meniny {
    display: none;
  }
  #top .breadcrumb {
    margin-top: -5px;
    margin-bottom: -6px;
    padding-top: 4px;
    padding-bottom: 4px;
    max-width: calc(100% - 100px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #top .day {
    margin-top: -5px;
    margin-bottom: -6px;
    padding-top: 4px;
    float: right;
    text-align: right;
  }
  .day-a { display: none; }
  .day-oddychuje { text-transform: capitalize; }
  #top #menu ul { display: flex; flex-wrap: wrap; padding: 0; margin: 0; }
  #top #menu ul li { float: none; }
  #top #menu ul li.menu-zrusene { display: none; }
  #top #menu ul li.active a {
    border: 1px solid #459a7e;
    background-color: #d8ebba;
  }
  #top #menu {
    background-color: #f2f2f2;
    margin-top: -7px;
  }
  #lead {
    width: 100%;
    max-width: 1004px;
  }
  #obal {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-attachment: scroll;
  }
  .leftCol, .centerCol, .rightCol {
    float: none;
    box-sizing: border-box;
    margin: 0 0 6px 0;
  }
  .centerCol {
    order: 1;
    width: 100%;
  }
  .leftCol {
    order: 2;
    width: 50%;
    padding-right: 3px;
  }
  .rightCol {
    order: 3;
    width: 50%;
    padding-left: 3px;
  }
  .centerCol.bottomCol {
    order: 4;
    width: 100%;
    clear: none;
    margin-left: 0;
  }
  .leftCol, .rightCol {
    max-width: 178px;
  }
  .leftCol .item.item-wide .headimg,
  .rightCol .item.item-wide .headimg {
    max-width: 145px;
  }
  .dnes-pribudlo {
    display: none;
  }
  .centerCol h1 {
    background: linear-gradient(to bottom, #E0AE27 0%, #F3C234 16%, #EFB525 52%, #E8930E 92%, #D7820A 100%);
    border-radius: 5px 5px 0 0;
  }
  .leftCol h3, .rightCol h3 {
    background: linear-gradient(to bottom, #DFAB25 0%, #F6D166 14%, #F3C75A 52%, #E8930E 92%, #D7820A 100%);
    border-radius: 5px 5px 0 0;
  }
}

@media (max-width: 420px) {
  #top #menu {
    position: relative;
    top: -3px;
    margin-top: -24px;
  }
  #top .breadcrumb {
    font-size: 2.62vw;
    margin-top: -6px;
  }
  #top .day {
    font-size: 2.62vw;
    margin-top: -6px;
    position: relative;
    z-index: 10;
  }
}

@media (min-width: 525px) and (max-width: 1024px) {
  body {
    background-size: auto 133px;
  }
  #top {
    height: auto;
    padding-top: 86px;
  }
  #top .breadcrumb {
    margin-top: -2px;
  }
  #top .day {
    margin-top: -2px;
  }
  #top #menu {
    margin-top: -2px;
  }
}

/* Jadro (detail položky) — mobil: fluidné médium a komentáre (fix horizontálneho pretekania) */
@media (max-width: 1024px) {
  .itemDetail .detailImg img,
  .itemDetail .detailImg video,
  .itemDetail .mainImg {
    max-width: 100%;
    height: auto;
  }
  .itemDetail .comments {
    width: auto;
  }
  .itemDetail .moving {
    display: flex;
    align-items: center;
  }
  .itemDetail .moving .moveLeft,
  .itemDetail .moving .moveRight {
    float: none;
    flex: 0 0 39px;
    width: 39px;
  }
  .itemDetail .moving .moveRandom,
  .itemDetail .moving .hviezdy {
    float: none;
    width: auto;
    flex: 1 1 auto;
  }
  .itemDetail .moving .hviezdy iframe {
    max-width: 100%;
  }
  .itemDetail .moving .clearing {
    display: none;
  }
  .leftCol .posuvnik,
  .rightCol .posuvnik {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .leftCol .posuvnik .vzad,
  .leftCol .posuvnik .stred,
  .leftCol .posuvnik .vpred,
  .rightCol .posuvnik .vzad,
  .rightCol .posuvnik .stred,
  .rightCol .posuvnik .vpred {
    float: none;
    width: auto;
  }
}

/* Kontakt formulár (p=10) — mobil: textarea "Text odkazu" nech sa zmestí do sekcie */
@media (max-width: 1024px) {
  .centerCol .vnutro .comments textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
