.vypis-odbornikov-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: "Urbanist", Sans-serif;
}
.odbornik-wrapper {
    border-radius: 10px;
}

/* Top row */
.odbornik-content-top {
    display: flex;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #ffffff;
    padding: 20px;
    gap: 20px;
}

/* Top row - left */
.odbornik-content-top-left {
    flex: 1; /* zaberie zvyšok priestoru */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.odbornik-content-top-left-wrapper {
    display: flex;
    gap: 20px;
}
.odbornik-content-top-left-icon {
    width: 80px; /* pevná šírka */
    flex-shrink: 0; /* zabráni zmenšeniu */
}



.odbornik-content-top-left-content-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.odbornik-content-top-left-content-header-title {
    display: flex;
    flex-direction: column;
}
.odbornik-content-top-left-content-header-title-inner {
    display: flex;
    gap: 10px;
}
.hidden-on-pc {
    display: none;
}


.odbornik-content-top-left-content-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--e-global-color-accent);
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.odbornik-content-top-left-content-header-status {
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}
.odbornik-content-top-left-content-header-status.dostupny {
    color: #7BBF6B;
    background-color: #EFF8ED;
}
.odbornik-content-top-left-content-header-status.nedostupny {
    color: #bf6b6b;
    background-color: #f8eded;
}

.odbornik-content-top-left-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--e-global-color-primary);
    margin: 5px 0 15px 0;
    padding: 0;
    transition: all 0.3s ease-in-out;
}
.odbornik-content-top-left-content h3:hover {
    color: var(--e-global-color-492b119);
}
.odbornik-content-top-left-content p {
    font-size: 16px;
    font-weight: 400;
    color: var(--e-global-color-primary);
    padding-left: 100px;
}



/* Left tags */
.odbornik-content-top-left-tags {
    display: flex;
    gap: 5px;
	flex-wrap: wrap;
}
.odbornik-content-top-left-tags-item {
    color: #939899;
    border: 1px solid #D3D4D5;
    padding: 6px 10px 5px 10px;
    border-radius: 50px;
}
.odbornik-content-top-left-tags-item.main {
    color: #AFC9CB;
    background-color: var(--e-global-color-accent);
    border: 1px solid var(--e-global-color-accent);
    margin-right: 35px;
    position: relative;
}
.odbornik-content-top-left-tags-item.main::after {
    content: "";
    width: 2px;
    height: 40%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -22px;
    margin: auto;
    background-color: #E7E9E9;
    border-radius: 10px;
}
.odbornik-content-top-left-tags-item h4,
.odbornik-content-top-left-tags-item h5 {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}












/* Top row - right */
.odbornik-content-top-right {
    width: 300px; /* pevná šírka */
    flex-shrink: 0; /* zabráni zmenšeniu */
    background-color: #F5F5F5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.odbornik-content-top-right-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.odbornik-content-top-right-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.odbornik-content-top-right-item h4,
.odbornik-content-top-right-item h5 {
    margin: 0;
    padding: 0;
}
.odbornik-content-top-right-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--e-global-color-primary);
}
.odbornik-content-top-right-item h4::first-letter {
    text-transform: uppercase;
}
.odbornik-content-top-right-item h4 span {
    font-size: 16px;
    font-weight: 200;
    color: #787e7f;
}
.odbornik-content-top-right-item h5 {
    font-size: 12px;
    font-weight: 800;
    color: var(--e-global-color-accent);
    text-transform: uppercase;
}
.displayNaHodinu,
.displayNaDen,
.displayNaMesiac {
    display: none !important;
}
.displayNaHodinu.active,
.displayNaDen.active,
.displayNaMesiac.active {
    display: flex !important;
}

.odbornik-content-top-right-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    background-color: var(--e-global-color-primary);
}
.odbornik-content-top-right-button a:hover {
    color: #ffffff;
    background-color: var(--e-global-color-492b119);
}







/* Bottom row */
.odbornik-content-bottom {
    display: flex;
    gap: 60px;
    padding: 18px 20px 16px 20px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: #F5F5F5;
}
.odbornik-content-bottom-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.odbornik-content-bottom-item::after {
    content: "";
    width: 2px;
    height: 40%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -31px;
    margin: auto;
    background-color: #ffffff;
    border-radius: 10px;
}
.odbornik-content-bottom-item:last-child:after {
    width: 0;
    height: 0;
    background-color: transparent;
}
.odbornik-content-bottom-item h4,
.odbornik-content-bottom-item h5 {
    margin: 0;
    padding: 0;
}
.odbornik-content-bottom-item h4 {
    font-size: 16px;
    font-weight: 700;
}
.odbornik-content-bottom-item h4::first-letter {
    text-transform: uppercase;
}
.odbornik-content-bottom-item h5 {
    font-size: 12px;
    font-weight: 800;
    color: #B4B4B4;
    text-transform: uppercase;
}



















.taxonomy-list-wrapper.odbornici ul {
    max-height: 200px; /* nastav maximálnu výšku podľa potreby */
    overflow-y: auto;
    scrollbar-width: thin;          /* Firefox: zúžený scrollbar */
    scrollbar-color: #aaa transparent; /* thumb farba + transparentný track */
}

/* WebKit prehliadače (Chrome, Safari) */
.taxonomy-list-wrapper.odbornici ul::-webkit-scrollbar {
    width: 8px;  /* šírka scrollbar */
}

.taxonomy-list-wrapper.odbornici ul::-webkit-scrollbar-track {
    background: transparent; /* skryje pozadie (track) */
}

.taxonomy-list-wrapper.odbornici ul::-webkit-scrollbar-thumb {
    background-color: #aaa;     /* farba posuvníka */
    border-radius: 4px;
}









/* filters */

/* Sekcia odmena */
.tab-container {
    max-width: 600px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}
.tabs {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    background-color: #F3F3F3;
    padding: 5px;
    border-radius: 5px;
}
.tab-link {
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    text-align: center;
    color: #7B7B7B;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
}
.tab-link:hover {
    color: #000000;
}
.tab-link.active {
    background-color: var(--e-global-color-accent) !important;
    color: #ffffff !important;
    border-radius: 3px;
    cursor: default;
    pointer-events: none;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}





/* Custom slider */
.price-sliders-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
}
.price-slider-wrapper {
}
.slider-title {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}




.price-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 3px;
  background: #e5e5e5;
  outline: none;
  -webkit-transition: .2s;
  transition: all .2s;
  position: relative;
}
/* .price-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 8px;
    transition: all .2s;
    background-color: #e5e5e5;
}
.price-slider:hover::after {
    background-color: #d7d7d7;
}
.price-slider::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 8px;
    transition: all .2s;
    background-color: #e5e5e5;
}
.price-slider:hover::before {
    background-color: #d7d7d7;
} */




.price-slider:hover {
  background: #d7d7d7;
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  outline: 2px solid var(--e-global-color-accent);
}
.price-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  cursor: pointer;
  outline: 2px solid var(--e-global-color-accent);
}















.range-filter {
  max-width: 600px;
  margin: 10px auto;
  height: 50px;
}

.dual-range-slider {
  --slider-bg: #dadada;
  --slider-height: 2px;
  --slider-btm-mg: 15px;
  --slider-thumb-size: 16px;
  --slider-thumb-clr: #ffffff;
  --slider-thumb-border-clr: var(--e-global-color-accent);
  --slider-range-clr: #e5e5e5;

  display: grid;
  position: relative;

  > div {
    position: absolute;
    width: 100%;
  }

  input[type="range"] {
    appearance: none;
    height: var(--slider-height);
    background: var(--slider-bg);
    outline: none;
    transition: opacity 0.2s;
    border-radius: 1000px;
    margin-bottom: var(--slider-btm-mg);
    width: 100%;

    &::-webkit-slider-thumb {
      appearance: none;
      width: var(--slider-thumb-size);
      height: var(--slider-thumb-size);
      background: var(--slider-thumb-clr);
	  border: 2px solid var(--slider-thumb-border-clr);
      cursor: pointer;
      border-radius: 50%;
      position: relative;
      z-index: 2;
      transition: 0.2s ease-in-out;

      &:hover {
        box-shadow: 0 0 0 10px hsla(190, 49%, 35%, 0.2);
      }
    }
  }

  label {
    display: block;    
	font-size: 12px;
    font-weight: 700;
    color: #6b7280;
  }

  .max-range {
    label {
      display: block;
      text-align: right;
    }
  }
}











/* Sekcia s tagmy */
.taxonomy-list-wrapper .checkbox-group {
    /* display: none; Ak ma byt defaultne skryte */
    display: flex; 
    flex-wrap: wrap;
    gap: 10px;
}
.taxonomy-list-wrapper .checkbox-group.active {
    display: flex;
}
.custom-checkbox {
    display: none; /* skryje natívny checkbox */
}
.custom-label {
    outline: 1px solid #D2D4D5;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    font-family: sans-serif;
    background-color: #ffffff;
    font-size: 12px;
	line-height: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #a9acad;
    padding: 6px 10px 5px 10px;
    border-radius: 50px;
}
/* keď je checkbox zaškrtnutý → ovplyvni label */
.custom-checkbox:checked + .custom-label {
    outline-width: 2px;
    outline-color: var(--e-global-color-accent);
    background-color: #ffffff;
    color: var(--e-global-color-accent);
}


.custom-checkbox-input-odbornik {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.custom-checkbox-item.parent-item {
	font-size: 0.8rem;
    font-weight: 700;
    color: #9d9d9d;
    padding-top: 15px;
}







#test {
/* 	display: none !important; */
    background-color: #ffffff;
}
#test pre {
    margin-top: 0 !important;
}






@media screen and (max-width: 1240px) {
    .odbornik-content-top {
        flex-direction: column;
    }
    .odbornik-content-top-left-content p {
        padding-left: 0px;
    }
    .odbornik-content-top-right { 
        width: 100%;
        flex-shrink: 0;
    }
    .odbornik-content-bottom {
        flex-direction: column;
        gap: 20px;
    }
    .odbornik-content-top-left-tags {
        flex-wrap: wrap;
    }
    .odbornik-content-bottom-item::after {
        width: 0;
        height: 0;
        background-color: transparent;
        right: 0;
    }
    .odbornik-content-top-left-content-header {
        align-items: flex-start;
        margin-bottom: 20px;
    }
	


    .odbornik-content-top-left-content-header-title a {
        display: none !important;
    }
    .odbornik-content-top-left-content-header-title-inner {
        flex-direction: column-reverse;
    }

    .hidden-on-pc {
        display: block !important;
    }
	
	
	
}