/* Fonty */

.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}


/* Základní nastavení */

/* Patička: barvy z administrace (settings footer_style) přes proměnné --jf-bg / --jf-text /
   --jf-rgb (rgb textu, pro poloprůhledné odstíny) – viz templates/layout.php. */
.jrbk-footer {
  background-color: var(--jf-bg, #212529);
  color: var(--jf-text, #fff);
}
.jrbk-footer a { color: var(--jf-text, #fff); }
.jrbk-footer a.btn { color: var(--bs-btn-color); }
.jrbk-footer a.btn:hover { color: var(--bs-btn-hover-color); }
.jrbk-footer .jrbk-footer-muted { color: rgba(var(--jf-rgb, 255,255,255), .6) !important; }
.jrbk-footer .jrbk-footer-ico { color: var(--bs-primary); }
.jrbk-footer .jrbk-footer-text { opacity: .9; }
.jrbk-footer--lg { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.jrbk-footer--lg.pb-0 { padding-bottom: 0 !important; }
.jrbk-footer-link:hover { opacity: .55; }
.jrbk-footer-line { border-top: 1px solid rgba(var(--jf-rgb, 255,255,255), .18); }
.jrbk-footer-band { background: rgba(0, 0, 0, .18); }
.jrbk-footer-top { line-height: 0; margin-bottom: -1px; }
.jrbk-footer-top svg { display: block; }
.jrbk-social-footer {
  padding: 1rem;
  border: 1px solid rgba(var(--jf-rgb, 255,255,255), .25);
  transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.jrbk-social-footer:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary) !important;
  color: #fff !important;
  transform: translateY(-2px);
}
.jrbk-social-footer--filled { background-color: var(--bs-primary); border-color: var(--bs-primary); color: #fff !important; }
.jrbk-social-footer--filled:hover { filter: brightness(1.12); }
.jrbk-social-footer--plain { border-color: transparent; padding: .5rem; font-size: 1.5rem; }
.jrbk-social-footer--plain:hover { background: transparent; color: var(--bs-primary) !important; }

/* Hlavička – styly z administrace (settings header_style). „Plovoucí": průhledný nav,
   zaoblený rámeček s menu uvnitř (jako plovoucí pilulka nad obsahem). */
.jrbk-nav--plovouci { background: transparent; padding-top: .75rem; padding-bottom: .25rem; pointer-events: none; }
.jrbk-nav--plovouci .jrbk-nav-box {
  pointer-events: auto;
  background: #fff;
  border-radius: 2.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
  padding: .5rem 1.5rem;
}
.jrbk-nav--plovouci .jrbk-nav-box[data-bs-theme] { color: inherit; }
@media (max-width: 1399.98px) { .jrbk-nav--plovouci .jrbk-nav-box { border-radius: 1.5rem; padding: .35rem 1rem; } }
.jrbk-nav--tmava .nav-link, .jrbk-nav--barevna .nav-link { color: rgba(255, 255, 255, .85); }
.jrbk-nav--tmava .nav-link:hover, .jrbk-nav--barevna .nav-link:hover,
.jrbk-nav--tmava .nav-link.active, .jrbk-nav--barevna .nav-link.active { color: #fff; }

.jrbk-positive-feedback {
    color: var(--jarabak-green);
}

.jrbk-negative-feedback {
  color: var(--jarabak-red);
}

/* Barvy */

/* Nastavení barev jako proměnné */
:root {
  --jarabak-red: #CA1D3A;
  --jarabak-green: #12AE63;
}

.jrbk-text-red, .jrbk-text-red button {
  color: var(--jarabak-red);
}

.jrbk-text-green, .jrbk-text-green button {
  color: var(--jarabak-green);
}

.jrbk-bg-red {
  background-color: var(--jarabak-red);
}

.jrbk-bg-green {
  background-color: var(--jarabak-green);
}

/* Carousel Hero */

.jrbk-hero-carousel-item{
  min-height: 500px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.jrbk-hero-carousel-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  animation: bg-zoomin 10s linear infinite;
}

.jrbk-carousel-animations{
    animation: bg-zoomin 10s linear infinite;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes bg-zoomin {
    0%{
        transform: scale(1);
    }
    100%{
        transform: scale(2);
    }
}

.jrbk-carousel-content {
  z-index: 10;
  padding-top: 10px;
  padding-bottom: 10px;
  height: auto;
}

/* Ostatní */

.mt-5px {
    margin-top: 5px;
}

.accordion-button:not(.collapsed) {
    color: #212529;
    background-color: #ffffff;
}

.accordion-button:focus {
  outline: none !important;
}

.jrbk-negative-margin-top {
  margin-top: -3rem !important;
}

.jrbk-header-border {
  border-top: 5px solid var(--jarabak-red) !important;
}

.jrbk-logo-jazycek {
  margin-top: -2.5rem;
}

.jrbk-box {
  background-size: cover;          /* vyplní dlaždici i při nesedícím poměru stran */
  background-position: center center;
  background-repeat: no-repeat;    /* žádné dlaždicování */
  transition: transform .5s;
  overflow: hidden;
}

.jrbk-box:hover {
  transform: scale(1.04);          /* jemné přiblížení (cover nelze animovat přes background-size) */
}

.jrbk-box-4-3 {
  aspect-ratio: 4 / 3;
}

.jrbk-box-3-4 {
  aspect-ratio: 3 / 4;
}

.jrbk-box-16-9 {
  aspect-ratio: 16 / 9;
}

.jrbk-box-1-1 {
  aspect-ratio: 1 / 1;
}

.jrbk-box-9-16 {
  aspect-ratio: 9 / 16;
}

.jrbk-box .bi {
  margin-left: .5rem;
  opacity: 0;
  position: relative;
  left: -5px;
  transition: .5s;
}

.jrbk-box:hover .bi {
  left: 0px;
  opacity: 1;
}

/* Dlaždice kategorií – rozšířené volby (překryv fotky, efekt při najetí, podtitulek) */
.jrbk-tile-ov {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.jrbk-box-hover-none:hover {
  transform: none;
}

.jrbk-box-hover-bright,
.jrbk-box-hover-dark {
  transition: transform .5s, filter .4s;
}

.jrbk-box-hover-bright:hover {
  filter: brightness(1.12);
}

.jrbk-box-hover-dark:hover {
  filter: brightness(.85);
}

.jrbk-tile-sub {
  opacity: .9;
}

/* video {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index:-100;
} */

.jrbk-example-divider {
  display: block;
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.carousel-caption {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: left !important;
}

.soft-text-shadow {
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
  .carousel-caption {
    position: absolute !important;
    top: 30px !important;
    bottom: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: center !important;
    padding: 20px;
  }
}

.carousel-item video {
  display: block;
  object-fit: cover; /* Video se roztáhne, aby vyplnilo celý prostor */
  width: 100%; /* Šířka na 100% */
  height: 100%; /* Výška na 100% */
  min-height: 400px;
}

.bg-glass {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.icon-download {
  display: none;
}

.file-download:hover {
  .icon-pdf {
    display: none;
  }
  .icon-download {
    display: inline-block;
  }
}

/* S Series */

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
}

.item {
    background-color: #444;
    color: #fff;
}

.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}
  
.item-0 {
    grid-column: 1 / span 4;
    grid-row: 1;
    aspect-ratio: 2 / 1;
    background-size: cover;
    background-position: center center;
}

.item-1 {
    grid-column: 1 / span 4;
    grid-row: 2;
    background-size: cover;
    background-position: center center;
}

.item-2 {
    grid-column: 1 / span 4;
    grid-row: 3;
    background-size: cover;
    background-position: center center;
}

.item-3 {
    grid-column: 1 / span 4;
    grid-row: 4;
    background-size: cover;
    background-position: center center;
}

.item-4 {
    grid-column: 1 / span 4;
    grid-row: 5;
    aspect-ratio: 2 / 1;
    background-size: cover;
    background-position: center center;
}
    
@media (min-width: 768px) {
    .grid {
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(4, 1fr);
      gap: 20px;
    }
    
    .mobile-only {
      display: none;
    }
    
    .desktop-only {
      display: block;
    }
    
    .item-0 {
      grid-column: 1 / span 4;
      grid-row: 1 / span 2;
    }
    
    .item-1 {
      grid-column: 1 / span 2;
      grid-row: 3 / span 2;
    }
    
    .item-2 {
      grid-column: 3;
      grid-row: 3;
    }
    
    .item-3 {
      grid-column: 4;
      grid-row: 3;
    }
    
    .item-4 {
      grid-column: 3 / span 2;
      grid-row: 4;
      aspect-ratio: 2 / 1;
    }
}

.product-comparison {
  --bs-table-bg: transparent;
}

.product-comparison thead th {
  border-bottom: 2px solid var(--bs-primary, #0d6efd);
}

.product-comparison th:first-child,
.product-comparison td:first-child {
  background: #F5F6F8;
  text-align: start;
}

.sticky-header {
  position: sticky;
  top: 88px;
  z-index: 1020; /* Dostatečná hodnota pro přebití ostatních prvků */
  background-color: #F5F6F8; /* Zajistí, že při scrollování nebude vidět obsah za řádkem */
}

/* Per-blok odsazení (presety z administrace) – horní a dolní zvlášť.
   Výchozí = beze změny. Sekci nastavíme celkovou hodnotu a vnitřní řadu vynulujeme. */
.tm-blk-t--none section { padding-top: 0 !important; }
.tm-blk-t--none section > .container > .row,
.tm-blk-t--none section > .container > .py-5 { padding-top: 0 !important; }
.tm-blk-t--sm section { padding-top: 1.5rem !important; }
.tm-blk-t--sm section > .container > .row,
.tm-blk-t--sm section > .container > .py-5 { padding-top: 0 !important; }
.tm-blk-t--lg section { padding-top: 6rem !important; }
.tm-blk-t--lg section > .container > .row,
.tm-blk-t--lg section > .container > .py-5 { padding-top: 0 !important; }

.tm-blk-b--none section { padding-bottom: 0 !important; }
.tm-blk-b--none section > .container > .row,
.tm-blk-b--none section > .container > .py-5 { padding-bottom: 0 !important; }
.tm-blk-b--sm section { padding-bottom: 1.5rem !important; }
.tm-blk-b--sm section > .container > .row,
.tm-blk-b--sm section > .container > .py-5 { padding-bottom: 0 !important; }
.tm-blk-b--lg section { padding-bottom: 6rem !important; }
.tm-blk-b--lg section > .container > .row,
.tm-blk-b--lg section > .container > .py-5 { padding-bottom: 0 !important; }
/* Hlavička – rozložení „logo na střed, menu pod ním" (settings header_layout=center; jen ≥ xxl,
   pod tím zůstává offcanvas). Informační lišta nad menu a oznamovací pruh (settings topbar_* / announce_*). */
@media (min-width: 1400px) {
  .jrbk-nav--center > .container { flex-direction: column; align-items: center; }
  .jrbk-nav--center .navbar-brand { margin-right: 0; margin-bottom: .25rem; }
  .jrbk-nav--center .offcanvas-body { display: flex; justify-content: center; }
  .jrbk-nav--center .navbar-nav { justify-content: center !important; flex-grow: 0 !important; }
}
.jrbk-topbar { background: var(--tm-surface, #f6f7f9); color: var(--bs-body-color); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.jrbk-topbar--dark { background: var(--tm-dark, #15181c); color: rgba(255, 255, 255, .85); border-bottom-color: rgba(255, 255, 255, .08); }
.jrbk-topbar a.jrbk-topbar-link { color: inherit; text-decoration: none; font-weight: 600; }
.jrbk-topbar a.jrbk-topbar-link:hover { text-decoration: underline; }
.jrbk-topbar-sep { margin: 0 .6rem; opacity: .4; }
.jrbk-announce .btn-close { font-size: .7rem; }
