@charset "UTF-8";
/*!
Theme Name: kis
Theme URI: https://www.pakt.si
Author: Agencija Pakt d.o.o. - Spletna stran: www.pakt.si
Author URI: https://www.pakt.si
Description: Predloga za spletno stran kis.si
Version: 1.0.3
Template: generatepress
Text Domain: kis
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/

.grecaptcha-badge { 
    visibility: hidden;
}

.embed-container-2 {
	position: relative;
	padding-bottom: 550px;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	overflow:hidden;
}

.embed-container-2 iframe, .embed-container-2 object, .embed-container-2 embed {
	position: absolute;
	top: -62px;
	left: 0;
	width: 100%;
	height: 100%;
}


html, body {
  overflow-x: clip;
}

.button,
.gb-button {
  transition: 0.3s;
  min-width: 110px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.inside-article a {
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}

.wp-block-table {
  max-width: calc(100vw - 60px);
}

@media (min-width: 769px) {
  .page-title {
    padding-left: 30px;
  }
}

.search-results .inside-article {
  padding-bottom: 0;
}

.site-main ul {
  list-style: none;
  /* Remove default bullets */
  margin-left: 20px;
}
.site-main ul li::before {
  content: "•";
  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: var(--accent);
  /* Change the color */
  font-weight: bold;
  /* If you want it to be bold */
  display: inline-block;
  /* Needed to add space between the bullet and the text */
  width: 1em;
  /* Also needed for space (tweak if needed) */
  margin-left: -1em;
  /* Also needed for space (tweak if needed) */
}

.entry-date {
  display: inline-block;
}
.entry-date:first-letter {
  text-transform: uppercase;
}

.breadcrumb-item:first-child a {
  background-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5 8L7 1.5L13.5 8" stroke="%23ababab" stroke-linecap="round" stroke-linejoin="round"/><path d="M2.5 6V12.5H11.5V6" stroke="%23ababab" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center left;
  text-indent: -9999px;
  display: inline-block;
  padding-right: 15px;
}
.breadcrumb-item a {
  text-decoration: none;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}
.breadcrumb-item > span {
  color: var(--accent);
}

.single .inside-article .entry-content,
.page .inside-article .entry-content {
  min-height: 15vh;
}
.single .inside-article .entry-content p, .single .inside-article .entry-content li, .single .inside-article .entry-content h1, .single .inside-article .entry-content h2, .single .inside-article .entry-content h3, .single .inside-article .entry-content h4, .single .inside-article .entry-content h5, .single .inside-article .entry-content h6,
.page .inside-article .entry-content p,
.page .inside-article .entry-content li,
.page .inside-article .entry-content h1,
.page .inside-article .entry-content h2,
.page .inside-article .entry-content h3,
.page .inside-article .entry-content h4,
.page .inside-article .entry-content h5,
.page .inside-article .entry-content h6 {
  max-width: 800px;
}

.page .inside-article .entry-content {
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
  .page .inside-article .entry-content {
    margin-bottom: 2rem;
  }
}

.wpcf7 form .wpcf7-response-output {
  margin-left: 0;
  padding: 0.75em 1em;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: red;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--base);
}

.has-page-gallery .page .inside-article {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.has-page-gallery .page .inside-article .gallery {
  width: 100%;
}
@media (min-width: 1025px) {
  .has-page-gallery .page .inside-article .gallery {
    width: 554px;
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
  }
}
@media (min-width: 1025px) {
  .has-page-gallery .page .inside-article {
    gap: 60px;
  }
  .has-page-gallery .page .inside-article .entry-content {
    width: calc(100% - 614px);
  }
}

/*--------------------------------------------------------------
# Frontpage
--------------------------------------------------------------*/
.home .site-content {
  display: none;
}

.hero-video-player {
  position: relative;
}

.hero-video {
  width: 100%;
  height: 420px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
@media (min-width: 769px) {
  .hero-video {
    height: 560px;
  }
}

.video-wrap:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(128, 76, 8, 0) 0%, rgba(79, 46, 3, 0.8) 100%);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  cursor: pointer;
  transition: 0.3s;
}
@media (max-width: 768px) {
  .play-button {
    height: 48px;
  }
}
.play-button:hover {
  transform: translate(-50%, -80%) scale(1.1);
}

.video-text {
  position: absolute;
  bottom: 0;
  color: white;
  width: 100%;
}
@media (min-width: 769px) {
  .video-text {
    bottom: 40px;
  }
}
.video-text .grid-container {
  max-width: 1260px;
  padding: 30px;
}
@media (min-width: 1025px) {
  .video-text .grid-container {
    padding-left: 5px;
  }
}
.video-text h1 {
  max-width: 980px;
  margin-bottom: 0;
}

.front-gap {
  padding-top: 30px;
  padding-bottom: 30px;
}
@media (min-width: 1025px) {
  .front-gap {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.section-title .inside-article {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 1024px) {
  .section-title .inside-article {
    padding-bottom: 0;
  }
}
.section-title h2 {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.section-title h2:before {
  content: "";
  display: block;
  width: 44px;
  height: 17px;
  background-repeat: no-repeat;
  background-size: contain;
}
@media (min-width: 1025px) {
  .section-title h2:before {
    width: 57px;
    height: 22px;
  }
}

.section-title-blue {
  color: var(--accent-2);
}
.section-title-blue h2:before {
  background-image: url(img/arrow-news.svg);
}
.section-title-blue a {
  text-decoration: none;
  font-size: 18px;
  font-style: italic;
  display: flex;
  align-items: center;
  color: var(--accent-2) !important;
}
.section-title-blue a:after {
  content: "";
  display: block;
  width: 28px;
  height: 13px;
  margin-left: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  transition: 0.3s;
}
.section-title-blue a:after {
  background-image: url(img/arrow-blue.svg);
}
.section-title-blue a:hover:after {
  transform: translateX(6px);
}

.section-title-green {
  color: var(--base);
}
.section-title-green h2:before {
  background-image: url(img/arrow-portals.svg);
}

.section-title-yellow {
  color: var(--accent-3);
}
.section-title-yellow h2:before {
  background-image: url(img/arrow-obvestila.svg);
}

.cta {
  background-color: var(--base-2);
}
.cta .inside-article {
  position: relative;
}
@media (max-width: 1024px) {
  .cta .inside-article {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
}
.cta .inside-article:after {
  content: "";
  clear: both;
  display: table;
}
@media (min-width: 1025px) {
  .cta img {
    float: right;
    max-width: 60vw;
  }
}
.cta .content {
  text-align: center;
}
@media (min-width: 1025px) {
  .cta .content {
    position: absolute;
    bottom: 30px;
    left: 85px;
    max-width: 760px;
    text-align: left;
  }
}
.cta .content p {
  margin-bottom: 2rem;
}
.cta .button {
  background-color: var(--contrast);
}

.cta2 {
  background-color: var(--base-3);
}
.cta2 img {
  float: left;
}
.cta2 .content {
  left: auto;
  right: 0;
  max-width: 665px;
}

.center-heading {
  text-align: center;
  margin-bottom: 20px;
}
@media (min-width: 1025px) {
  .center-heading {
    margin-bottom: 5rem;
  }
}

.delovanje {
  border-top: 1px solid #ddd;
}

.podrocja {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 10px;
}
@media (min-width: 1025px) {
  .podrocja {
    gap: 60px 30px;
  }
}

.podrocje {
  background-color: #f3f3f3;
  width: calc(50% - 10px);
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 1025px) {
  .podrocje {
    width: calc(20% - 30px);
  }
}
@media (max-width: 768px) {
  .podrocje h3 {
    margin-bottom: 0;
  }
}
.podrocje img {
  width: 107px;
  height: 60px;
  -o-object-fit: contain;
     object-fit: contain;
  margin: 40px auto 40px auto;
}
@media (max-width: 768px) {
  .podrocje img {
    max-width: 24vw;
    margin: 30px auto 20px auto;
  }
}
.podrocje .button {
  margin-top: auto;
  transform: translateY(50%);
}
.podrocje:nth-child(1) h3, .podrocje:nth-child(5) h3, .podrocje:nth-child(10) h3 {
  padding-left: 50px;
  padding-right: 50px;
}

.portali {
  background-color: var(--base-2);
}

.portali-wrap {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 769px) {
  .portali-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1025px) {
  .portali-wrap {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

.portal {
  border-left: 1px solid var(--base);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
}
.portal .button {
  margin-top: auto;
  background-color: transparent !important;
  padding: 0;
  text-decoration: none;
  font-size: 18px;
  font-style: italic;
  display: flex;
  align-items: center;
  color: var(--base) !important;
}
.portal .button:after {
  content: "";
  display: block;
  width: 28px;
  height: 13px;
  margin-left: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  transition: 0.3s;
}
.portal .button:after {
  background-image: url(img/arrow-green.svg);
}
.portal .button:hover:after {
  transform: translateX(6px);
}
.portal .button:after {
  background-image: url(img/arrow-green.svg);
}

.projekti-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  overflow: auto;
}
@media (min-width: 1025px) {
  .projekti-wrap {
    gap: 50px;
  }
}

.projekt-single {
  width: calc(50% - 15px);
}
@media (min-width: 769px) {
  .projekt-single {
    width: calc(33% - 19px);
  }
}
@media (min-width: 1025px) {
  .projekt-single {
    width: calc(16.6666666667% - 50px);
  }
}
.projekt-single img {
  filter: grayscale(1);
  max-height: 80px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .projekt-single img {
    margin: 0 auto;
  }
}
.projekt-single img:hover {
  filter: none;
}

.obvestila {
  background-color: #fffefc;
}

.obvestila-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
@media (min-width: 1025px) {
  .obvestila-wrap {
    gap: 60px 30px;
  }
}

.obvestilo {
  width: calc(50% - 20px);
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 1025px) {
  .obvestilo {
    width: calc(20% - 30px);
  }
}
@media (max-width: 768px) {
  .obvestilo:last-child {
    margin: auto;
  }
}
.obvestilo img {
  width: 107px;
  height: 60px;
  -o-object-fit: contain;
     object-fit: contain;
  margin: 20px auto 20px auto;
}
@media (min-width: 1025px) {
  .obvestilo img {
    margin: 40px auto 40px auto;
  }
}
@media (max-width: 768px) {
  .obvestilo h3 {
    margin-bottom: 0;
  }
}
.obvestilo .button {
  margin-top: 20px;
  background-color: var(--accent-3);
}

/*--------------------------------------------------------------
# Oddelek
--------------------------------------------------------------*/
.tab-title {
  display: flex;
  align-items: center;
}
.tab-title:before {
  content: "";
  background-repeat: no-repeat;
  width: 55px;
  height: 48px;
  display: inline-block;
  transform: translate(-10px, -2px);
  flex: 0 0 55px;
}

.predstavitev-tab .tab-title:before {
  background-image: url(img/predstavitev.svg);
}

.sodelavci-tab .tab-title:before {
  background-image: url(img/sodelavci-tab.svg);
}

.projekti-tab .tab-title:before {
  background-image: url(img/projekti-tab.svg);
}

.publikacije-tab .tab-title:before {
  background-image: url(img/publikacije-tab.svg);
}

.storitve-tab .tab-title:before {
  background-image: url(img/storitve-tab.svg);
}

.predstavitev {
  margin-bottom: 30px;
}
.predstavitev .description {
  border-left: 1px solid var(--accent);
  padding-left: 20px;
  align-self: flex-start;
}
.predstavitev .description p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1025px) {
  .predstavitev-content {
    width: calc(100% - 574px);
  }
}

.predstavitev-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.predstavitev-wrap .gallery {
  width: 100%;
}
@media (min-width: 1025px) {
  .predstavitev-wrap .gallery {
    width: 554px;
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
  }
}

@media (min-width: 1025px) {
  .podrocja-dela {
    margin-top: 5rem;
  }
}
.podrocja-dela h2 {
  display: flex;
  align-items: center;
}
.podrocja-dela h2:before {
  content: "";
  background-image: url(img/podrocja-dela.svg);
  background-repeat: no-repeat;
  width: 55px;
  height: 42px;
  display: inline-block;
  transform: translateX(-10px);
  margin-left: -7px;
}

.podrocja-dela-wrap {
  border-left: 1px solid var(--accent);
  padding-left: 20px;
}

.podrocja-block {
  background-color: var(--base-2);
  padding: 30px;
  margin: 20px 0;
}
.podrocja-block h3 {
  display: flex;
  align-items: center;
  font-weight: 400;
  margin-bottom: 15px;
}
.podrocja-block h3:before {
  content: "";
  background-repeat: no-repeat;
  width: 60px;
  height: 42px;
  display: inline-block;
}
.podrocja-block a {
  text-decoration: none;
  color: var(--contrast);
}

.podrocja-block-single {
  display: flex;
  flex-wrap: wrap;
  padding: 3px 0;
}
.podrocja-block-single:before {
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  width: 37px;
  height: 15px;
  display: inline-block;
  background-image: url(img/arrow-oddelek.svg);
  margin-top: 2px;
}
.podrocja-block-single a {
  text-decoration: none;
  font-size: 18px;
  font-style: italic;
  display: flex;
  align-items: center;
  color: var(--accent-2) !important;
  font-style: normal;
  font-size: 14px;
  color: var(--contrast) !important;
}
.podrocja-block-single a:after {
  content: "";
  display: block;
  width: 28px;
  height: 13px;
  margin-left: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  transition: 0.3s;
}
.podrocja-block-single a:after {
  background-image: url(img/arrow-green.svg);
}
.podrocja-block-single a:hover:after {
  transform: translateX(6px);
}
.podrocja-block-single a:after {
  background-image: url(img/arrow-blue.svg);
}

.podrocje-dela {
  display: flex;
  flex-wrap: wrap;
}
.podrocje-dela:before {
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  width: 37px;
  height: 15px;
  display: inline-block;
  background-image: url(img/arrow-oddelek.svg);
  margin-top: 2px;
}
.podrocje-dela p {
  width: calc(100% - 37px);
  margin: 0 0 5px;
}

.infrastruktura h3:before {
  background-image: url(img/infrastruktura.svg);
}

.javne-sluzbe h3:before {
  background-image: url(img/javne-sluzbe.svg);
}

.mySwiper .size-thumbnail {
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
}

.thumbs-container {
  position: relative;
  padding: 0 30px;
}

.swiper-button-next-thumb,
.swiper-button-prev-thumb {
  width: 30px;
  height: 50px;
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.swiper-button-next-thumb span,
.swiper-button-prev-thumb span {
  border: solid #bdbdbd;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 4px;
}
.swiper-button-next-thumb.swiper-button-disabled,
.swiper-button-prev-thumb.swiper-button-disabled {
  cursor: auto;
  opacity: 0.5;
}

.swiper-button-next-thumb {
  right: 0;
}
.swiper-button-next-thumb span {
  transform: rotate(-45deg) translate(6px, 20px);
}

.swiper-button-prev-thumb {
  left: 0;
}
.swiper-button-prev-thumb span {
  transform: rotate(135deg) translate(8px, -8px);
}

.mySwiper2 .swiper-button-next,
.mySwiper2 .swiper-button-prev {
  padding: 30px 15px;
  background: #bec5a1;
  transform: translateY(-50%);
}
.mySwiper2 .swiper-button-next {
  right: 0;
  border-radius: 5px 0 0 5px;
}
.mySwiper2 .swiper-button-prev {
  left: 0;
  border-radius: 0 5px 5px 0;
}

.izpostavljeno {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  width: auto;
  background-color: var(--base-2);
  margin-top: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
}
@media (min-width: 1025px) {
  .izpostavljeno {
    margin-top: 100px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
.izpostavljeno .section-title-blue {
  color: var(--contrast);
}

.oddelek-content {
  width: 100%;
}
.oddelek-content + .entry-content {
  display: none;
}

.parent-pageid-37 .site-main > article > .inside-article {
  padding-bottom: 0;
}

.izpostavljeno-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}

.izpostavljeno-single {
  width: calc(50% - 15px);
  border-radius: 5px 5px 0 0;
  background-color: #f5f5f5;
  padding: 0 20px 20px 20px;
}
@media (min-width: 1025px) {
  .izpostavljeno-single {
    width: calc(20% - 24px);
  }
}
.izpostavljeno-single.no-image {
  padding-top: 20px;
}
.izpostavljeno-single img {
  border-radius: 5px 5px 0 0;
  height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: 10px;
  max-width: calc(100% + 40px);
}
@media (min-width: 1025px) {
  .izpostavljeno-single img {
    height: 180px;
  }
}
.izpostavljeno-single h5 a {
  text-decoration: none;
  color: var(--contrast);
}
.izpostavljeno-single .button {
  background-color: transparent !important;
  padding: 0;
  text-decoration: none;
  font-size: 18px;
  font-style: italic;
  display: flex;
  align-items: center;
  color: var(--contrast) !important;
  font-size: 15px;
}
.izpostavljeno-single .button:after {
  content: "";
  display: block;
  width: 28px;
  height: 13px;
  margin-left: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  transition: 0.3s;
}
.izpostavljeno-single .button:after {
  background-image: url(img/arrow-black.svg);
}
.izpostavljeno-single .button:hover:after {
  transform: translateX(6px);
}
.izpostavljeno-single .button:after {
  width: 14px;
  height: 9px;
}

/* Style the tab */
.tab {
  overflow: hidden;
  display: flex;
  margin-bottom: 40px;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  -ms-scroll-snap-type: x mandatory;
      scroll-snap-type: x mandatory;
}
@media (min-width: 1025px) {
  .tab {
    gap: 20px;
  }
}

.tablinks {
  background: transparent;
  color: var(--contrast);
  min-width: auto;
  white-space: nowrap;
  padding-left: 20px;
  padding-right: 20px;
  scroll-snap-align: start;
}
@media (min-width: 1025px) {
  .tablinks {
    padding-left: 30px;
    padding-right: 30px;
  }
  .tablinks.storitve {
    margin-left: auto;
    background-color: var(--accent-3);
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding: 15px 40px;
  }
  .tablinks.storitve span {
    display: inline-block;
    background-color: var(--contrast);
    color: #fff;
    padding: 14px;
    font-size: 12px;
    margin-left: 35px;
    margin-right: 15px;
  }
  .tablinks.storitve::before {
    content: "";
    background: url(img/storitve-oddelka.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 124px;
    height: 70px;
    display: block;
  }
  .tablinks.storitve:hover, .tablinks.storitve.active {
    background-color: var(--accent-3);
    font-weight: 400;
  }
}
.tablinks:hover {
  color: var(--contrast);
  background-color: var(--base-2);
}
.tablinks.active {
  background-color: var(--base-2);
  color: var(--accent);
  font-weight: 700;
}

.tabcontent {
  display: none;
}

.sodelavci h3 {
  padding-top: 30px;
  margin-top: 30px;
}
.sodelavci h3 + .sodelavec-single {
  padding-top: 0;
}
.sodelavci .opis {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  display: none;
}
.sodelavci .opis.active {
  display: block;
  /* Prikaže opis */
}
.sodelavci .opis h3 {
  padding-top: 0;
}

.sodelavec-single {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid #dedfd9;
}
.sodelavec-single > div {
  width: 50%;
}
@media (min-width: 1025px) {
  .sodelavec-single > div {
    width: 20%;
  }
  .sodelavec-single > div:nth-child(2) {
    width: 40%;
  }
}
.sodelavec-single .ime {
  font-weight: 700;
}
.sodelavec-single .opis.active {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
@media (min-width: 1025px) {
  .sodelavec-single .opis.active {
    flex-direction: row;
    gap: 50px;
  }
  .sodelavec-single .opis.active .text {
    width: calc(80% - 50px);
  }
  .sodelavec-single .opis.active .img {
    width: 20%;
  }
}

.toggle-opis {
  position: relative;
  padding-right: 24px;
}
.toggle-opis::after {
  content: "";
  position: absolute;
  background: no-repeat center right;
  background-image: url(img/arrow-down.svg);
  background-size: 14px;
  width: 14px;
  height: 100%;
  right: 0;
}
.toggle-opis.active:after {
  transform: rotate(180deg);
}

.parent-pageid-37 .projects-wrap .inside-article,
.parent-pageid-37 .projects-wrap .project-main {
  padding-left: 0;
  padding-right: 0;
}
.parent-pageid-37 .projects-wrap .inside-article:after {
  left: 0;
  right: 0;
}

.publikacija {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dedfd9;
  margin-bottom: 20px;
  align-items: center;
}

/*--------------------------------------------------------------
# News
--------------------------------------------------------------*/
.generate-columns {
  padding-left: 30px;
}
@media (min-width: 769px) {
  .generate-columns {
    margin-bottom: 30px;
  }
}

.generate-columns {
  box-sizing: border-box;
}

.generate-columns-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.generate-columns-container .generate-columns {
  display: flex;
}

.generate-columns-container .generate-columns > .inside-article {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  background: var(--base-2);      /* premaknemo ozadje iz header/summary sem */
  border-radius: 5px;
  overflow: hidden;
}

@media (min-width: 769px) {
  .generate-columns-container {
    margin-left: -30px;
  }
}
@media (max-width: 768px) {
  .generate-columns-container .inside-article {
    padding-bottom: 10px;
  }
}
.generate-columns-container .post-image {
  margin-bottom: 0 !important;
}
.generate-columns-container .wp-post-image {
  width: 100%;
  height: 220px;
  -o-object-fit: cover;
     object-fit: cover;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  display: block;
}
.generate-columns-container .entry-meta {
  margin-top: 0;
  margin-bottom: 10px;
}
.generate-columns-container .entry-header {
  padding: 20px 25px 10px 25px;
  background-color: var(--base-2);
  display: flex;
  flex-direction: column-reverse;
}
.generate-columns-container .entry-summary {
  margin-top: 0 !important;
  padding: 0 25px 20px 25px;
  background-color: var(--base-2);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.generate-columns-container .entry-summary .button {
  background-color: transparent;
  padding: 0;
  text-decoration: none;
  font-size: 18px;
  font-style: italic;
  display: flex;
  align-items: center;
  color: var(--accent-2) !important;
}
.generate-columns-container .entry-summary .button:after {
  content: "";
  display: block;
  width: 28px;
  height: 13px;
  margin-left: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  transition: 0.3s;
}
.generate-columns-container .entry-summary .button:after {
  background-image: url(img/arrow-blue.svg);
}
.generate-columns-container .entry-summary .button:hover:after {
  transform: translateX(6px);
}
.generate-columns-container .entry-summary .button:after {
  background-image: url(img/arrow-blue.svg);
}

.generate-columns.grid-33, .grid-sizer.grid-33 {
  width: 33.3333%;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .generate-columns.tablet-grid-50, .grid-sizer.tablet-grid-50 {
    width: 50%;
  }
}
@media (max-width: 767px) {
  .generate-columns-activated .generate-columns-container {
    margin-left: 0;
    margin-right: 0;
  }

  .generate-columns-container .generate-columns, .generate-columns-container > * {
    padding-left: 0;
  }

  .generate-columns-container .page-header {
    margin-left: 0;
  }

  .generate-columns.mobile-grid-100, .grid-sizer.mobile-grid-100 {
    width: 100%;
  }

  .generate-columns-container > .paging-navigation {
    margin-left: 0;
  }
}
/*--------------------------------------------------------------
# Events
--------------------------------------------------------------*/
.events {
  background-color: var(--base-2);
}
.events .generate-columns-container .entry-summary,
.events .generate-columns-container .entry-header {
  background-color: #fff;
}
/* Equal height event cards */
.events .generate-columns-container .entry-summary {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.type-dogodek .entry-header {
  justify-content: space-between;
  position: relative;
}
@media (max-width: 768px) {
  .type-dogodek .entry-header {
    padding-bottom: 20px !important;
  }
}
@media (min-width: 1025px) {
  .type-dogodek .entry-header {
    min-height: 152px;
  }
}
.type-dogodek .entry-header:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25px;
  right: 25px;
  height: 1px;
  background-color: var(--accent-2);
}
.type-dogodek .entry-title {
  margin: auto 0;
}
.type-dogodek .entry-summary {
  padding-top: 10px;
}
@media (min-width: 1025px) {
  .type-dogodek .entry-summary {
    padding-top: 30px;
  }
}
.type-dogodek .entry-summary > p:not(.read-more-container) {
  display: none;
}

.event-details {
  padding-bottom: 20px;
}
.event-details h5 {
  color: var(--accent-2);
}

.event-date {
  background: url(img/clock.svg) no-repeat;
  background-position: 0 9px;
  padding: 7px 0 7px 27px;
}

.event-location {
  background: url(img/pin.svg) no-repeat;
  background-position: 0 9px;
  padding: 7px 0 7px 27px;
}

.social-share {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 1025px) {
  .social-share {
    margin-top: 2rem;
  }
}
.social-share strong {
  display: block;
  margin-bottom: 0.5rem;
}

.social-share-text {
  margin-right: 0.5rem;
  font-weight: 700;
}
@media (max-width: 768px) {
  .social-share-text {
    display: none;
  }
}

.share-link {
  text-indent: -9999rem;
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 0.1rem;
  background-color: var(--accent-2);
  background-size: 14px 14px;
  background-position: center center;
  background-repeat: no-repeat;
  transition: 0.3s;
}
.share-link:hover {
  transform: scale(1.2);
}
.share-link.facebook {
  background-image: url(img/fb.svg);
}
.share-link.x {
  background-image: url(img/x.svg);
}
.share-link.linkedIn {
  background-image: url(img/linkedin.svg);
}
.share-link.email {
  background-image: url(img/mail.svg);
}

@media (min-width: 1025px) {
  .single-dogodek article.dogodek .inside-article {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
  }
}
article.dogodek .inside-article .event-details {
  background-color: #f3f3f3;
  padding: 13px 20px;
  margin-bottom: 2rem;
}
@media (min-width: 1025px) {
  .inside-article article.dogodek .inside-article .event-details {
    padding: 30px;
    width: 25%;
  }
  article.dogodek .inside-article .event-details + .entry-content {
    width: 45%;
  }
}
article.dogodek .inside-article .wpcf7 {
  margin-top: 2rem;
}
@media (min-width: 1025px) {
  article.dogodek .inside-article .wpcf7 {
    width: calc(30% - 100px);
    margin-top: 0;
  }
  article.dogodek .inside-article .wpcf7 textarea {
    height: 100px;
  }
}
article.dogodek .inside-article .wpcf7 small {
  line-height: 1.2;
  display: inline-block;
  opacity: 0.7;
}

/*--------------------------------------------------------------
# Projects
--------------------------------------------------------------*/
.info-title {
  display: flex;
}
.info-title:before {
  content: "";
  background-image: url(img/info-projekta.svg);
  background-repeat: no-repeat;
  width: 55px;
  height: 42px;
  display: inline-block;
  transform: translate(-10px, -2px);
  flex: 0 0 55px;
}

.klasifikacija {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 30px;
}
@media (min-width: 1025px) {
  .klasifikacija {
    margin-bottom: 70px;
  }
}
.klasifikacija .logotipi {
  width: 100%;
}
@media (min-width: 1025px) {
  .klasifikacija .logotipi {
    width: 554px;
    text-align: right;
  }
}
@media (max-width: 768px) {
  .klasifikacija .logotipi {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  .klasifikacija .logotipi div {
    width: calc(50% - 20px);
  }
}
.klasifikacija .logotipi div {
  margin-bottom: 15px;
}

.klasifikacija-wrap {
  border-left: 1px solid var(--accent);
  padding-left: 20px;
  width: 100%;
}
@media (min-width: 1025px) {
  .klasifikacija-wrap {
    align-self: flex-start;
    width: calc(100% - 574px);
  }
}

.klasifikacija-single {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #eee;
  padding: 7px 0;
}
.klasifikacija-single .naziv {
  width: 30%;
  padding-right: 20px;
}

.klasifikacija-opis {
  width: 70%;
  font-weight: 700;
}

.filter-select {
  background-color: #f5f5f5;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
@media (max-width: 768px) {
  .filter-select {
    flex-wrap: wrap;
  }
}
@media (min-width: 1025px) {
  .filter-select {
    gap: 20px;
  }
}
.filter-select select {
  border: none;
  background-color: #fff;
  width: 100%;
  height: 30px;
  padding: 0 5px;
}
@media (min-width: 769px) {
  .filter-select select {
    width: calc(20% - 10px);
  }
}
@media (min-width: 1260px) {
  .filter-select select {
    width: 185px;
  }
}
@media (min-width: 1260px) {
  .filter-select select:nth-child(1), .filter-select select:nth-child(2) {
    width: 340px;
  }
}

input[type=text].search-input {
  border-color: var(--contrast);
  margin-bottom: 20px;
  width: 100%;
  background-image: url(img/search.svg);
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: center right 10px;
  background-color: #fff;
  padding-top: 7px;
  padding-bottom: 6px;
}
@media (min-width: 769px) {
  input[type=text].search-input {
    width: 340px;
    margin-left: 20px;
  }
}

.projects-wrap {
  line-height: 24px;
}
.projects-wrap article:last-child {
  margin-bottom: 30px;
}
@media (min-width: 1025px) {
  .projects-wrap article:last-child {
    margin-bottom: 70px;
  }
}
.projects-wrap h2 {
  line-height: 24px;
}
.projects-wrap .inside-article {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  padding-top: 30px;
}
.projects-wrap .inside-article:after {
  content: "";
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 1px;
  position: absolute;
  background: #dedfd9;
}
@media (min-width: 1025px) {
  .projects-wrap .inside-article:after {
    left: 60px;
    right: 60px;
  }
}
.projects-wrap .entry-title a {
  color: var(--accent);
}
@media (min-width: 1025px) {
  .projects-wrap .project-main {
    width: 54%;
    padding-left: 30px;
  }
  .projects-wrap .project-main > div {
    margin-bottom: 8px;
  }
}
@media (min-width: 1025px) {
  .projects-wrap .project-extra {
    width: 44.7%;
  }
  .projects-wrap .project-extra > div {
    margin-bottom: 8px;
  }
}
.projects-wrap .project-extra strong {
  display: block;
}

.no-project-results {
  padding: 30px;
}
@media (min-width: 1025px) {
  .no-project-results {
    padding: 30px 60px;
    margin-bottom: 70px;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
@media (max-width: 1024px) {
  .site-branding {
    margin-left: 30px;
  }
}

.mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper .menu-toggle:focus, .has-inline-mobile-toggle #site-navigation.toggled {
  background-color: transparent;
}

.menu-toggle {
  text-align: left !important;
}
.menu-toggle .gp-icon svg {
  font-size: 28px;
  transform: translateY(5px);
}

.has-inline-mobile-toggle #site-navigation.toggled {
  margin-top: 0;
}

.secondary-nav-aligned-right .secondary-navigation .inside-navigation {
  justify-content: center;
}

.inside-navigation ul li a,
#site-navigation ul li a {
  font-size: 16px;
}


@media (max-width: 1350px) {
  .main-navigation .main-nav ul li.menu-item-has-children > a {
    font-size: 15px;
    padding-left: 15px!important;
    padding-right: 15px!important;
  }
}

@media (max-width: 1250px) {
  #site-navigation ul li a {
    font-size: 16px;
    padding-left: 15px!important;
    padding-right: 15px!important;
  }
  .main-navigation .main-nav ul li.menu-item-has-children > a {
    font-size: 13px;
    padding-left: 10px!important;
    padding-right: 10px!important;
  }
}

@media (max-width: 1000px) {
  .main-navigation .main-nav ul li.menu-item-has-children > a {
    font-size: 10px;
  }
}

.main-navigation ul ul {
  box-shadow: none;
}

@media (min-width: 769px) {
  .menu-item-has-children .dropdown-menu-toggle {
    display: none;
  }
}
.main-navigation .main-nav ul li.menu-item-has-children > a {
  position: relative;
}
@media (min-width: 1025px) {
  .main-navigation .main-nav ul li.menu-item-has-children > a {
    padding-right: 30px;
  }
}

@media (min-width: 1025px) {
  .main-navigation .main-nav > ul > li.menu-item-has-children:hover > a:after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    height: 1px;
    background: var(--accent);
  }
}

.main-navigation.toggled .main-nav ul ul {
  border-bottom: none;
}

@media (min-width: 1025px) {
  .sub-menu {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
@media (min-width: 1025px) {
  .sub-menu .sub-menu {
    transform: translate(0, -10px);
  }
}
@media (max-width: 768px) {
  .sub-menu .sub-menu {
    padding-left: 20px;
  }
}
@media (min-width: 1025px) {
  .sub-menu li a {
    padding-right: 30px !important;
  }
}
.sub-menu li a:after {
  content: "";
  position: absolute;
  width: 17px;
  height: 10px;
  background: url(img/arrow.svg) no-repeat;
  background-size: cover;
  margin: 6px 0 0 8px;
  opacity: 0;
  transform: translateX(-7px);
  transition: 0.3s;
}
.sub-menu li:hover > a {
  font-weight: 700;
}
.sub-menu li:hover > a:after {
  transform: translateX(0);
  opacity: 1;
}

/* Secondary nav */
.secondary-navigation .sub-menu li a:after {
  margin-top: 4px;
}
.secondary-navigation .main-nav ul li.menu-item-has-children > a {
  padding-right: 20px !important;
}
.secondary-navigation .menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .secondary-navigation {
    text-align: center !important;
    order: -1;
    background-color: var(--base-2) !important;
    width: 100%;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .secondary-navigation ul {
    display: block;
  }
  .secondary-navigation ul ul {
    top: 40px !important;
  }

  .secondary-navigation .sf-menu > li {
    float: none;
    display: flex !important;
  }

  .inside-header {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .site-logo {
    max-width: calc(100vw - 60px);
    margin: 20px auto;
  }
}
@media screen and (max-width: 376px) {
  .secondary-navigation .main-nav ul li:first-child a {
    padding-right: 0 !important;
    padding-left: 10px !important;
  }

  .secondary-navigation .main-nav ul li:last-child a {
    padding-left: 0 !important;
    padding-right: 10px !important;
  }
}
@media screen and (max-width: 350px) {
  .secondary-navigation .main-nav ul li:first-child a {
    padding-left: 0 !important;
  }

  .secondary-navigation .main-nav ul li:last-child a {
    padding-right: 0 !important;
  }
}
.secondary-menu .email,
.secondary-menu .telefon {
  display: flex;
  align-items: center;
}
.secondary-menu .email:before,
.secondary-menu .telefon:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  transform: translateX(14px);
  margin-left: 10px;
}
@media (max-width: 768px) {
  .secondary-menu .email:before,
.secondary-menu .telefon:before {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .secondary-menu .email a,
.secondary-menu .telefon a {
    font-size: 0 !important;
    transform: translateX(-14px);
  }
}
.secondary-menu .email:before {
  background: url(img/email.svg);
}
.secondary-menu .telefon:before {
  background: url(img/phone.svg);
}

.wpml-ls {
  margin-left: 10px;
}
@media (max-width: 1024px) {
  .wpml-ls {
    margin-left: auto;
    position: absolute;
    bottom: -36px;
    right: 62px;
    z-index: 10;
  }
}
.wpml-ls ul {
  margin: 0;
  list-style: none;
  display: flex;
  gap: 5px;
  padding: 10px;
  border-left: 1px solid #DBDBDB;
  border-right: 1px solid #DBDBDB;
}
@media (max-width: 1024px) {
  .wpml-ls ul {
    border: none;
    padding: 0;
  }
}
.wpml-ls img {
  display: block;
}

.wpml-ls-legacy-list-horizontal {
  padding: 0;
}
.wpml-ls-legacy-list-horizontal a {
  padding: 5px;
}

.divide-menu {
  border-top: 1px solid var(--contrast-3);
  margin-top: 10px;
  padding-top: 10px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  background-color: #f6f8f3;
  padding-top: 10px;
}

.footer-widgets .widget {
  margin-bottom: 0;
}
.footer-widgets .widget a:not(.gb-button) {
  text-decoration: none;
  color: var(--contrast);
}
.footer-widgets .widget .gb-button {
  min-width: auto;
}
.footer-widgets .widget input {
  padding: 7px 12px;
}
.footer-widgets .widget input[type=email] {
  border-color: var(--contrast);
  background-color: transparent;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}
.footer-widgets .widget input[type=button] {
  background-color: var(--contrast);
}
.footer-widgets .widget input[type=button]:hover {
  background-color: var(--accent);
}

.copyright-bar {
  border-top: 1px solid var(--contrast);
  padding-top: 30px;
  width: 100%;
  display: flex;
}
@media (max-width: 768px) {
  .copyright-bar {
    flex-direction: column-reverse;
  }
}
@media (min-width: 769px) {
  .copyright-bar {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
}
.copyright-bar .links ul {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 8px;
}
@media (max-width: 768px) {
  .copyright-bar .links ul {
    flex-wrap: wrap;
  }
}
@media (min-width: 1025px) {
  .copyright-bar .links ul {
    gap: 20px;
  }
}
.copyright-bar .links a {
  text-decoration: none;
}
@media (max-width: 768px) {
  .copyright-bar .logo {
    margin-top: 15px;
    text-align: left;
  }
}
.copyright-bar .logo img {
  width: 112px;
}



/**
 * KIS Search Styles - SAMO za search strani
 * Ta CSS se naloži samo na is_search(), tako da ne vpliva na ostale dele teme
 */

:root {
  --kis-gutter: 40px;
  --kis-container-width: 1200px;
}

@media (max-width: 1200px) {
  :root {
    --kis-gutter: 40px;
  }
}


/* ========================================
   TEMA CONTAINER RESET - SAMO SEARCH
   ======================================== */
body.search .site-content {
  padding: 0 !important;
}

body.search #primary,
body.search .content-area {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.search #main,
body.search .site-main {
  padding: 0 !important;
}

/* ========================================
   KIS SEARCH HEADER (v teme container)
   ======================================== */
.kis-search-header {
  margin: 0 auto;
  padding: 32px var(--kis-gutter) 0;
}

.kis-breadcrumbs { 
  margin: 0 0 12px; 
  font-size: 14px; 
  opacity: .85;
  color: #666;
}

.kis-search-title { 
  margin: 0 0 8px; 
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 400;
  color: #1a1a1a;
}

.kis-search-title span { 
  font-weight: 700; 
}

/* ========================================
   KIS SEARCH SECTION
   ======================================== */
.kis-search { 
  margin-top: 24px; 
  padding-bottom: 60px;
}

/* ========================================
   GRID - 4 COLUMNS, FULL WIDTH
   ======================================== */
.kis-grid {
  margin: 0 auto;
  padding: 0 var(--kis-gutter);
  
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start;
}

/* Reset article styles - samo znotraj grida */
.kis-grid > article {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ========================================
   KARTICE
   ======================================== */
.kis-card {
  display: flex !important;
  flex-direction: column;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  height: 100%;
  cursor: pointer;
}

/* Thumbnail */
.kis-card__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eef1f5;
  flex-shrink: 0;
}

.kis-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kis-card__placeholder {
  position: absolute; 
  inset: 0;
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: rgba(255,255,255,0.8);
}

/* Gradienti za različne tipe */
.kis-card__thumb.g-post        { background: linear-gradient(135deg, #d9dee6/2, #b5beca/2); }
.kis-card__thumb.g-projekt     { background: linear-gradient(135deg, #d8e0e8/2, #b8c4cf/2); }
.kis-card__thumb.g-publikacija { background: linear-gradient(135deg, #dcdfe6/2, #c1c8d2/2); }
.kis-card__thumb.g-strokovno   { background: linear-gradient(135deg, #e2e5ea/2, #c8cfd8/2); }
.kis-card__thumb.g-dogodek     { background: linear-gradient(135deg, #dde3ea/2, #bec7d2/2); }
.kis-card__thumb.g-page        { background: linear-gradient(135deg, #d7dde4/2, #bfc8d3/2); }
.kis-card__thumb.g-default     { background: linear-gradient(135deg, #dfe4ea/2, #c3ccd6/2); }

/* Card body */
.kis-card__body { 
  padding: 18px 20px 20px; 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
  flex-grow: 1;
  background-color: var(--base-2);
}

.kis-card__meta { 
  font-size: 11px; 
  letter-spacing: 0.06em; 
  text-transform: uppercase; 
  color: #7b8794; 
  font-weight: 600;
  margin: 0;
}

.kis-card__title { 
  font-size: 18px; 
  line-height: 1.3; 
  margin: 0;
  font-weight: 600;
}

.kis-card__title a {
  text-decoration: none;
  display: -webkit-box; 
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical; 
  overflow: hidden;
  color: var(--accent-2);
}

.kis-card__title a:hover { 
  color: #1a1a1a; 
}

.kis-card__excerpt {
  color: #000; 
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box; 
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical; 
  overflow: hidden;
}

.kis-card__link { 
  margin-top: auto; 
  padding-top: 8px;
  text-decoration: none; 
  display: inline-block;
  font-size: 18px;
  font-style: italic;
  color: var(--accent-2)!important;
}

.kis-card__link:after {
  background-image: url(img/arrow-blue.svg);
  content: "";
  display: inline-block;
  width: 28px;
  height: 13px;
  margin-left: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  transition: 0.3s;
}

.kis-card__link:hover:after {
  transform: translateX(6px);
}

/* Highlight za search termine */
.kis-card mark {
  background: #fff4cc;
  color: inherit;
  padding: 0 2px;
  border-radius: 5px;
  font-weight: 600;
}

/* Staff member card styling */
.kis-thumb--staff {
  background: linear-gradient(135deg, #e0f2fe/2, #bae6fd/2);
}

.kis-card--staff .kis-card__meta {
  color: #0369a1;
}

/* ========================================
   PAGINATION
   ======================================== */
#nav-below,
.kis-search-pagination {
  margin-top: 40px!important;
  padding-top: 24px!important;
  margin-bottom: 40px!important;
}

/* Grid column only when inside grid container */
.generate-columns-container ~ #nav-below,
.generate-columns-container ~ .kis-search-pagination {
  grid-column: 1 / -1!important;
}

#nav-below .nav-links,
.kis-search-pagination .nav-links { 
  display: flex!important; 
  gap: 8px!important; 
  justify-content: center!important;
  align-items: center!important;
}

#nav-below .nav-links a,
#nav-below .nav-links .current,
.kis-search-pagination .nav-links a,
.kis-search-pagination .nav-links .current {
  display: inline-block!important;
  padding: 8px 14px!important;
  min-width: 40px!important;
  text-align: center!important;
  border-radius: 5px!important;
  text-decoration: none!important;
  font-weight: 500!important;
  transition: all 0.2s!important;
}

#nav-below .nav-links a,
.kis-search-pagination .nav-links a {
  background: #f3f4f6!important;
  color: #566c11!important;
}

#nav-below .nav-links a:hover,
.kis-search-pagination .nav-links a:hover {
  background: #566c11!important;
  color: #fff!important;
}

#nav-below .nav-links .current,
.kis-search-pagination .nav-links .current {
  background: #566c11!important;
  color: #fff!important;
  cursor: default!important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) { 
  .kis-grid { 
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; 
  }
}

@media (max-width: 768px) { 
  .kis-grid { 
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
  }
  
  .kis-search-header {
    padding: 24px var(--kis-gutter) 0;
  }
  
  .kis-search-title {
    font-size: 24px;
  }
}

@media (max-width: 540px) { 
  .kis-grid { 
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  :root {
    --kis-gutter: 16px;
  }
}

/* TABLE */
/* lep, sodoben videz tabel po celotnem spletišču (brez Woo) */
.entry-content table,
.wp-block-table table,
.inside-article .entry-content table,
table:not(.shop_table):not(.woocommerce-table):not(.wc-block-cart):not(.wc-block-checkout) {
  width: 100%;
  border-collapse: separate;   /* nujno za pravilne zaobljene robove */
  border-spacing: 0;
  border: none;                 /* robovi bodo rešeni z notranjo senco */
  border-radius: 5px;           /* 5 px zaobljenost po želji */
  overflow: hidden;             /* prepreči “odrezane” vogale */
  background: #fff;             /* enotna barva vrstic */
  box-shadow: inset 0 0 0 1px #eaecef;  /* zelo nežna zunanja linija */
  font-size: 16px;
  line-height: 1.5;
}

/* celice – brez vertikalnih mrež, samo nežne vodoravne delilne linije */
.entry-content table th,
.entry-content table td,
.wp-block-table table th,
.wp-block-table table td,
.inside-article .entry-content table th,
.inside-article .entry-content table td,
table:not(.shop_table):not(.woocommerce-table):not(.wc-block-cart):not(.wc-block-checkout) th,
table:not(.shop_table):not(.woocommerce-table):not(.wc-block-cart):not(.wc-block-checkout) td {
  padding: 12px 16px;
  border: 0;
  vertical-align: top;
  word-break: normal;
}

/* nežne vodoravne črte med vrsticami */
.entry-content table tbody tr + tr td,
.wp-block-table table tbody tr + tr td,
.inside-article .entry-content table tbody tr + tr td,
table:not(.shop_table):not(.woocommerce-table):not(.wc-block-cart):not(.wc-block-checkout) tbody tr + tr td {
  border-top: 1px solid #eff1f3;
}

/* glava: mehka siva, ne pretemna */
.entry-content table thead th,
.wp-block-table table thead th,
.inside-article .entry-content table thead th,
table:not(.shop_table):not(.woocommerce-table):not(.wc-block-cart):not(.wc-block-checkout) thead th {
  background: #f6f7f9;
  color: #1f2937;
  font-weight: 600;
  border-bottom: 1px solid #e9edf2;
  text-align: left;
}

/* ločnica med thead in prvo vrstico vsebine */
.entry-content table thead + tbody tr:first-child td,
.wp-block-table table thead + tbody tr:first-child td,
.inside-article .entry-content table thead + tbody tr:first-child td,
table:not(.shop_table):not(.woocommerce-table):not(.wc-block-cart):not(.wc-block-checkout) thead + tbody tr:first-child td {
  border-top: 1px solid #e9edf2;
}

/* fallback glave: če tabela NIMA <thead>, pobarvaj PRVO vrstico v glavo
   (uporabi se samo, ko manjka thead – ne bo podvojene glave) */
.wp-block-table table:not(:has(thead)) > tbody > tr:first-child > *,
.entry-content table:not(:has(thead)) > tbody > tr:first-child > *,
.inside-article .entry-content table:not(:has(thead)) > tbody > tr:first-child > *,
table:not(.shop_table):not(.woocommerce-table):not(.wc-block-cart):not(.wc-block-checkout):not(:has(thead)) > tbody > tr:first-child > * {
  background: #f6f7f9;
  color: #1f2937;
  font-weight: 600;
  border-bottom: 1px solid #e9edf2;
}

/* navpični vmesni robovi med stolpci (subtilni) */

/* glava tabele: doda navpično linijo med th celicami */
.entry-content table thead th + th,
.wp-block-table table thead th + th,
.inside-article .entry-content table thead th + th,
table:not(.shop_table):not(.woocommerce-table):not(.wc-block-cart):not(.wc-block-checkout) thead th + th {
  border-left: 1px solid #e5e7eb; /* svetla siva navpična črta */
}

/* telo tabele: doda navpično linijo med td celicami */
.entry-content table tbody td + td,
.wp-block-table table tbody td + td,
.inside-article .entry-content table tbody td + td,
table:not(.shop_table):not(.woocommerce-table):not(.wc-block-cart):not(.wc-block-checkout) tbody td + td {
  border-left: 1px solid #e5e7eb;
}

/* hover: vrstica naj se obarva, robovi ostanejo vidni in malo močnejši */
.entry-content table tbody tr:hover td,
.wp-block-table table tbody tr:hover td,
.inside-article .entry-content table tbody tr:hover td,
table:not(.shop_table):not(.woocommerce-table):not(.wc-block-cart):not(.wc-block-checkout) tbody tr:hover td {
  background-color: #fafbfc !important;
}

.entry-content table tbody tr:hover td + td,
.wp-block-table table tbody tr:hover td + td,
.inside-article .entry-content table tbody tr:hover td + td,
table:not(.shop_table):not(.woocommerce-table):not(.wc-block-cart):not(.wc-block-checkout) tbody tr:hover td + td {
  border-left-color: #dfe3e9; /* malo temnejše na hover, da se še lepše vidi stolpec */
}


/* ========================
   Swiper Gallery Styles
   ======================== */

/* Main gallery slider - white navigation controls */
.swiper-main-gallery {
  --swiper-navigation-color: #fff;
  --swiper-pagination-color: #fff;
  --swiper-navigation-size: 16px;
}

/* Thumbnail gallery slider - black navigation controls */
.swiper-thumbs-gallery {
  --swiper-navigation-color: #000;
  --swiper-pagination-color: #000;
  --swiper-navigation-size: 16px;
}

/* ========================================
   Fix za GenerateBlocks zavihke - mobilni prikaz
   Rešuje 750px zaklepanje širine strani
   ======================================== */
@media (max-width: 767px) {
  /* Ovij gumbe v več vrstic */
  .gb-tabs__buttons,
  .gb-container-488483e5 {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 8px;
  }

  /* Nastavi gumbe da se ovijajo po 2 v vrsto */
  .gb-tabs__buttons .gb-button,
  .gb-container-488483e5 .gb-button {
    flex-shrink: 1;
    flex-grow: 1;
    min-width: auto;
    flex-basis: calc(50% - 4px);
    padding: 10px 12px !important;
    font-size: 13px !important;
    text-align: center !important;
  }

  /* Prepreči overflow glavnega kontejnerja */
  .gb-tabs,
  .gb-container-d260d3c4 {
    max-width: 100%;
  }

  /* Zagotovi responsive slike v zavihkih */
  .gb-tabs__items img {
    max-width: 100%;
    height: auto;
  }
}

/* ==========================================================================
   Sticky menu - poenotenje spustnega seznama z glavnim mobilnim menijem
   ========================================================================== */
@media (max-width: 1024px) {
  /* Ohrani velikost pisave za vse meni elemente v spustnem seznamu */
  .main-navigation.sticky-navigation-transition .main-nav ul li a,
  .main-navigation.is_stuck .main-nav ul li a {
    font-size: 16px !important;
  }

  /* Ohrani velikost pisave v podmenih */
  .main-navigation.sticky-navigation-transition .sub-menu li a,
  .main-navigation.is_stuck .sub-menu li a {
    font-size: 16px !important;
  }

  /* Ohrani velikost dropdown toggle ikone */
  .main-navigation.sticky-navigation-transition .dropdown-menu-toggle,
  .main-navigation.is_stuck .dropdown-menu-toggle {
    padding: 0 20px !important;
  }
}

