/* Font import */
@font-face {
  font-family: 'Ekstra_logo';
  src: url('assets/Ekstra-Bold-CVO.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* Global styles */
body {
  margin: 0;
  font-family: "Ekstra_logo", Helvetica, sans-serif;
  transition: background-color 0.3s ease;
}

/* Container */
.jsp-container {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  width: 100%;
  max-width: 1512px;
  margin: 0 auto;
  transition: padding 0.3s ease;
}

@media (max-width: 768px) {
  .jsp-container {
    padding: 0 16px; /* Adjust padding for smaller screens */
    flex-direction: column; /* Ensure the layout stays in a column direction */
  }
}

/* Content */
.jsp-content {
  padding-top: 180px;
  max-width: 1430px; /* Rovnaká šírka ako obrázok */
  margin-left: auto;
  margin-right: auto;
  transition: padding 0.3s ease;
}

@media (max-width: 768px) {
  .jsp-content {
    padding-top: 110px; /* Zmenšenie horného paddingu na menších obrazovkách */
    padding-left: 16px; /* Pridanie bočného paddingu pre lepšie zarovnanie na menších obrazovkách */
    padding-right: 16px;
    max-width: 100%; /* Kontajner použije celú šírku obrazovky */
  }
}

/* Header */
.jsp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  max-width: 1512px;
  width: 100%;
  transition: padding 0.3s ease, background-color 0.3s ease;
}

@media (max-width: 768px) {
  .jsp-header {
    padding: 10px 20px;
  }
}

/* Zmenšený header pri scrollovaní */
.jsp-header.shrink {
  padding: 10px 20px;
  transition: padding 0.3s ease;
}

.jsp-header.shrink .jsp-logo {
  height: 50px;
  transition: height 0.3s ease;
}

.jsp-header.shrink .jsp-event-info, 
.jsp-header.shrink .jsp-navbar > li > a {
  font-size: 20px;
  transition: font-size 0.3s ease;
}

/* Logo a info v headeri */
.jsp-logo-and-info {
  display: flex;
  align-items: center;
}

.jsp-header a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.jsp-logo {
  height: 83px;
  margin-right: 20px;
  transition: height 0.3s ease;
}

.jsp-event-info, .mega-menu-link {
  font-size: 25px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  margin: 0;
  text-align: left;
  transition: font-size 0.3s ease, color 0.3s ease;
}

@media (max-width: 768px) {
  .jsp-logo {
    height: 60px;
    margin-right: 15px;
  }

  .jsp-event-info, .mega-menu-link {
    font-size: 20px;
    line-height: 1.1;
    text-align: left;
  }
}

/* Tlačidlo a nadpis */
.jsp-h2 {
  color: #000;
  font-family: "Ekstra_logo", Helvetica, sans-serif;
  font-size: 34px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 83.3px;
  margin-top: 32px;
  white-space: nowrap;
  transition: font-size 0.3s ease, margin-top 0.3s ease;
}

@media (max-width: 768px) {
  .jsp-h2 {
    font-size: 30px; /* Ďalšie zmenšenie veľkosti písma pre malé obrazovky */
    line-height: 55px; /* Zmenšenie výšky riadku */
    margin-top: 20px; /* Ďalšie zmenšenie horného okraja */
  }
}

/* Navigačné menu */
.jsp-navbar {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: gap 0.3s ease;
}

@media (max-width: 768px) {
  .jsp-navbar {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

/* Položky navigácie */
.jsp-navbar > li {
  position: relative;
}

.jsp-navbar > li > a {
  font-size: 25px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  display: block;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.jsp-navbar > li.menu-item-has-children > a:after {
  content: '';
  background-image: url('assets/img/icons/icon-caret-down-black.svg');
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  width: .9375rem;
  height: .9375rem;
  margin-left: 10px;
  vertical-align: middle;
  transition: transform .25s ease;
}

.jsp-navbar > li.menu-item-has-children:hover > a:after {
  transform: rotate(180deg);
}

/* Menu dropdown */
.jsp-navbar .menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: opacity 0.3s ease;
}

/* Zobrazenie dropdownu pri hover */
.jsp-navbar .menu-item-has-children:hover > .menu {
  display: block;
  opacity: 1;
}

/* Položky v dropdown menu */
.jsp-navbar .menu li {
  padding: 0;
  margin: 0;
}

.jsp-navbar .menu li a {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.jsp-navbar .menu li a:hover {
  background-color: #f5f5f5;
}

/* Indikátor pre vnorené podmenu */
.jsp-navbar .menu li.menu-item-has-children > a:after {
  background-image: url('assets/img/icons/icon-caret-right-black.svg');
  transform: rotate(0deg);
}

.jsp-navbar .menu li.menu-item-has-children:hover > a:after {
  transform: rotate(90deg);
}

/* Hlavné nadpisy a obrázky */
.jsp-main-title {
  font-size: 75px;
  font-weight: 700;
  color: #000;
  text-align: left;
  margin: 40px 0 0 0;
  line-height: 1.1;
  margin-bottom: 37px;
  font-family: "Ekstra_logo", Helvetica, sans-serif;
  transition: font-size 0.3s ease, margin 0.3s ease;
}

@media (max-width: 1400px) {
  .jsp-main-title {
    padding-top: 40px; /* Ešte menší horný okraj */
  }
}
@media (max-width: 768px) {
  .jsp-main-title {
    font-size: 30px; /* Ďalšie zmenšenie veľkosti písma pre malé obrazovky */
    padding-top: 20px; /* Ešte menší horný okraj */
    margin-bottom: 20px; /* Ešte menší dolný okraj */
  }
}

.jsp-image-container {
  width: 100%;
  max-width: 1430px;
  margin: 20px 0;
  transition: margin 0.3s ease;
}

.jsp-main-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.jsp-main-image:hover {
  transform: scale(1.05);
}

/* Popisy a texty */
.jsp-description {
  font-size: 25px;
  font-weight: 700;
  color: #000;
  text-align: left;
  max-width: 1093px;
  margin: 20px 0;
  line-height: 1.5;
  transition: font-size 0.3s ease, margin 0.3s ease;
}

@media (max-width: 768px) {
  .jsp-description {
    font-size: 20px;
    max-width: 100%;
  }
}

/* Tlačidlá */
.jsp-overlap-group1 {
  background-color: #000;
  display: inline-block;
  margin-top: 25px;
  padding: 12px 18px;
  min-width: 158px;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.jsp-viac-info {
  color: #fff;
  font-family: "Ekstra_logo", Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 28.7px;
  white-space: nowrap;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: font-size 0.3s ease, padding 0.3s ease;
}

@media (max-width: 768px) {
  .jsp-viac-info {
    font-size: 20px;
    line-height: 24px;
    white-space: normal;
    /*padding: 0px 13px;*/
    text-align: left;
  }
}

.jsp-viac-wtext {
  font-family: "Ekstra_logo", Helvetica, sans-serif;
  color: #000;
  padding-top: 32px;
}

.jsp-viac-wtext h2 {
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
}

/* Najlepšie filmy */
.jsp-najlepsieFilmy {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  transition: font-size 0.3s ease;
}

@media (max-width: 480px) {
  .jsp-najlepsieFilmy {
    font-size: 14px;
  }

  .wp-block-media-text .wp-block-media-text__content {
    padding: 0;
  }
}

/* Tlačidlo s odkazom */
.wp-block-button.jsp-viac-info .wp-block-button__link {
  background-color: #000 !important;
  color: #fff !important;
  font-family: "Ekstra_logo", Helvetica, sans-serif;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 28.7px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  display: block !important;
  text-align: center !important;
  padding: 12px 18px !important;
  min-width: 158px !important;
  margin-top: 25px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

@media (max-width: 768px) {
  .wp-block-button.jsp-viac-info .wp-block-button__link {
    font-size: 15px !important; /* Zmenšenie fontu na 16px */
    line-height: 20px !important; /* Primeraná výška riadku */
    padding: 8px 12px !important; /* Upravené paddingy */
    min-width: 120px !important; /* Zmenšená minimálna šírka */
    margin-top: 20px !important;
    text-align: center !important; /* Zarovnanie na stred */
  }
}


/* Novinky */
.card--news .card-section .date {
  color: #000;
  font-family: "Ekstra_logo", Helvetica, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  transition: color 0.3s ease, font-size 0.3s ease;
}

.block-about__content .card--news .card-section p,
.card--news .card-section .block-about__content p,
.card--news .card-section .lead {
  color: #000;
  font-family: "Ekstra_logo", Helvetica, sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
}

.card--news:hover {
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.card--news .card-section,
.card--place .card-section {
  background-color: #fff;
}

.grid-x a {
  text-decoration: none;
}

.card--news .card-section,
.card--place .card-section {
  letter-spacing: 0;
  line-height: 18.6px;
  margin-top: 14px;
  min-height: 57px;
  width: 307px;
  padding: 0px;
  transition: padding 0.3s ease;
}

@media (max-width: 768px) {
  .card--news .card-section .date {
    font-size: 13px;
  }

  .block-about__content .card--news .card-section p,
  .card--news .card-section .block-about__content p,
  .card--news .card-section .lead {
    font-size: 20px;
    line-height: 1.4;
  }

  .card--news .card-section,
  .card--place .card-section {
    width: 100%;
    margin-top: 10px;
    min-height: auto;
    line-height: 1.5;
  }

  .grid-x a {
    text-decoration: none;
  }
}

@media (max-width: 768px) {
  .grid-container {
    padding-right: 0;
    padding-left: 0;
  }

  .section__title {
    margin-bottom: 0;
  }
}

.button.yellow, .button.yellow.disabled, .button.yellow.disabled:focus, .button.yellow.disabled:hover, .button.yellow[disabled], .button.yellow[disabled]:focus, .button.yellow[disabled]:hover {
  background-color: #000 !important;
  color: #fff !important;
  font-family: "Ekstra_logo", Helvetica, sans-serif;
  font-size: 15px !important;
  line-height: 24px !important;
  padding: 10px 16px !important;
  min-width: 140px !important;
  margin-top: 20px !important;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

section {
  padding: 0px;
}
#slb_viewer_wrap .slb_theme_slb_baseline .slb_container {

    padding: 1px !important;
}
.slb_data_title,.slb_data_content {
display: none !important;
}
.footer .menu:not(.menu--social) li a {
  text-transform: none;
  word-break: normal;
}

/* pre staru cast */

#content{
  padding-top: 180px;
}
/*#content h1 {
  font-size: 34px;
}*/
@media print, screen and (min-width: 40em) {
/*    .hero {
        padding: 7.25rem 0 8.125rem 0;
    }
*/
.hero {
    padding-top: 180px;
    padding-right: 0;
    padding-bottom: 8.125rem;
    padding-left: 0;
}

}