:root {
  --quote-font-size: 35px;
  --text-light-color: #fff;
}

.category-novice {
  .post-meta > .kt-row-column-wrap {
    display: flex;
    gap: 10px;
    font-size: 12px;
    text-decoration: none;
    letter-spacing: 1px;
    padding-top: 0px;
    padding-bottom: 30px;
  }

  .author-name {
    font-size: 12px;
    color: var(--global-palette1);
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 10px !important;
    padding-top: 10px;
    display: block;
  }

  .taxonomy-category a {
    text-decoration: none;
  }

  .post-navigation > .kt-inside-inner-col {
    flex-direction: column;
    align-items: center;
  }

  .post-navigation > .kt-inside-inner-col > div {
    display: flex;
    justify-content: center;
    font-size: 30px;
    line-height: 1.3;
    width: 100%;
  }

  .post-navigation-link-previous {
    margin-bottom: 40px;
    width: 100%;
  }

  .post-navigation-link-next {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .excerpt {
    font-style: italic;
  }

  .image-section {
    position: relative;
  }

  .image-description {
    position: absolute;
    bottom: 0px;
    right: 0px;
    color: white;
    font-size: 12px;
    background: #05197580;
    padding: 10px 20px;
    letter-spacing: 1px;
  }

  @media (max-width: 800px) {
    .post-navigation {
      max-width: 90%;
    }

    .post-navigation > .kt-inside-inner-col > div {
      font-size: 15px;
    }

    .post-navigation-link-previous {
      margin-bottom: 25px;
    }
  }
}

blockquote {
  position: relative;
  font-size: var(--quote-font-size);
  color: var(--global-palette1);
  line-height: 1.2;
  padding-left: 0px;
  margin: 20px 0 !important;
  border-left: 0px;
}

.single-post:has(figcaption) blockquote {
  margin: 20px 0 10px !important;
}

blockquote::before {
  content: "“";
  position: absolute;
  left: -80px;
  top: -10px;
  font-size: 160px;
  color: var(--global-palette1);
  font-family: Georgia, serif;
  line-height: 1;
}

blockquote p {
  margin: 0;
}

figcaption {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--global-palette1);
}

h1 {
  line-height: 1.1em !important;
  font-size: 3.75rem;
  font-weight: 500 !important;
  color: #04167c;
}

.featured-novice img.kb-img {
  object-fit: contain !important;
  width: fit-content !important;
  left: 50% !important;
  transform: translateX(-50%);
  object-position: bottom;
}

.wp-block-kadence-column.post-navigation {
  margin-top: 0px;
  margin-bottom: 0px;
}

figure blockquote p {
  font-size: 2.2rem;
}

p {
  color: #000;
  font-size: 1.25rem;
}

.post-meta .kt-row-column-wrap {
  align-items: baseline;
}

/* skrij obstoječe znake */
.wp-block-post-navigation-link__arrow-previous,
.wp-block-post-navigation-link__arrow-next {
  font-size: 0;
}

/* osnovni stil */
.wp-block-post-navigation-link__arrow-previous::before,
.wp-block-post-navigation-link__arrow-next::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  border-top: 3px solid #1e2a78;
  border-right: 3px solid #1e2a78;
}

/* LEVA (obrnjena) */
.wp-block-post-navigation-link__arrow-previous::before {
  transform: rotate(-135deg);
  margin-right: 10px;
}

/* DESNA */
.wp-block-post-navigation-link__arrow-next::before {
  transform: rotate(45deg);
  margin-left: 10px;
}

.post-navigation-link-previous,
.post-navigation-link-next {
  align-items: center;
}

.kt-block-spacer {
  height: 80px;
}

.post-navigation-link-previous > a,
.post-navigation-link-next > a {
  display: flex;
  justify-content: center;
  text-align: center;
  font-family: "Merriweather", serif !important;
  font-size: 1.57rem;
}

.nav-links:not(:has(.page-numbers)) {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  border-top: #051975 4px solid;
  border-bottom: #051975 4px solid;
  padding-top: 65px;
  padding-bottom: 65px;
}

.nav-links:not(:has(.page-numbers)) .nav-previous,
.nav-links:not(:has(.page-numbers)) .nav-next {
  width: 100%;
  font-size: 30px;
  line-height: 1.3;
  text-align: center;
}

.nav-links:not(:has(.page-numbers)) .nav-previous {
  margin-bottom: 40px;
}

.nav-links:not(:has(.page-numbers)) .nav-previous::after,
.nav-links:not(:has(.page-numbers)) .nav-previous > a::after {
  display: none !important;
  content: none !important;
}

.nav-links:not(:has(.page-numbers)) .nav-next {
  margin-left: 0;
}

.nav-links:not(:has(.page-numbers)) .nav-previous a,
.nav-links:not(:has(.page-numbers)) .nav-next a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Merriweather", serif !important;
  font-size: 1.57rem;
  color: var(--global-palette1, #04167c);
  text-decoration: none;
}

.nav-links:not(:has(.page-numbers)) .post-navigation-sub {
  display: none !important;
}

.nav-links:not(:has(.page-numbers)) .nav-previous > a::before,
.nav-links:not(:has(.page-numbers)) .nav-next > a::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  border-top: 3px solid #1e2a78;
  border-right: 3px solid #1e2a78;
  flex-shrink: 0;
}

.nav-links:not(:has(.page-numbers)) .nav-previous > a::before {
  transform: rotate(-135deg);
  margin-right: 10px;
  order: -1;
}

.nav-links:not(:has(.page-numbers)) .nav-next > a::after {
  transform: rotate(45deg);
  margin-left: 10px;
}

@media (max-width: 800px) {
  .nav-links:not(:has(.page-numbers)) {
    max-width: 90%;
  }

  .nav-links:not(:has(.page-numbers)) .nav-previous,
  .nav-links:not(:has(.page-numbers)) .nav-next {
    width: 100%;
    font-size: 15px;
  }

  .nav-links:not(:has(.page-numbers)) .nav-previous {
    margin-bottom: 25px;
  }

  .nav-links:not(:has(.page-numbers)) .nav-previous a,
  .nav-links:not(:has(.page-numbers)) .nav-next a {
    font-size: 1.257rem;
  }

  .nav-links:not(:has(.page-numbers)) .nav-previous > a::before,
  .nav-links:not(:has(.page-numbers)) .nav-next > a::after {
    width: 20px;
    height: 20px;
    border-top-width: 2px;
    border-right-width: 2px;
  }
}

iframe {
  width: 100% !important;
  margin-top: 25px;
  margin-bottom: 25px;
}

button[onclick] {
  margin-top: 25px;
  margin-bottom: 25px;
}

figure blockquote p {
  color: #04167c;
}

@media (min-width: 549px) {
  .entry-content.element-single-replace.single-content .kb-dynamic-html img {
    display: block;
    margin: 25px 0;
  }
}

button[onclick] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-left: 20px;
  padding-right: 20px;
  font-family: "Merriweather", serif !important;
  font-size: 1.45rem;
  border: 3px solid #04167c;
  border-radius: 0px;
  padding-top: 7px;
  padding-bottom: 7px;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  text-align: center;
}

button[onclick]::after {
  content: "";
  width: 21px;
  height: 21px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  flex-shrink: 0;
}

button[onclick]::after {
  transition: transform 0.2s ease;
}

.custom-quote {
  background: var(--global-palette1);
  color: white;
  padding: 50px;
  color: white;
  font-size: 30px;
  font-weight: bold;
}

.custom-quote::before {
  display: none;
}

.custom-quote p {
  color: white;
  font-size: 30px;
  font-weight: bold;
}

.custom-quote a {
  color: white;
  font-size: 30px;
  font-weight: bold;
}

button[onclick]:hover {
  background: #fff;
  border: 3px solid #04167c;
  color: #04167c;
}

button[onclick]:hover::after {
  border-top: 3px solid #04167c;
  border-right: 3px solid #04167c;
}

hr.wp-block-separator {
  border-top-width: 3px;
  height: 1px;
  border-top-color: #051975;
  width: 100%;
  max-width: 100% !important;
  margin-top: 40px;
  margin-bottom: 40px;
}

button.splide__arrow.splide__arrow--prev.slick-prev,
button.splide__arrow.splide__arrow--next.slick-next {
  width: 50px;
  height: 50px;
  border-radius: 0px;
}

button.splide__arrow.splide__arrow--prev.slick-prev,
button.splide__arrow.splide__arrow--next.slick-next {
  width: 50px;
  height: 50px;
  border-radius: 0px;
  background: #05197582;
}

button.splide__arrow.splide__arrow--prev.slick-prev svg,
button.splide__arrow.splide__arrow--next.slick-next svg {
  font-size: 35px;
}

.splide__arrow svg {
  display: none;
}

/* PREV */
button.splide__arrow.splide__arrow--prev.slick-prev {
  width: 50px;
  height: 50px;
  background:
    url("/wp-content/uploads/2026/04/left-new.png") center/40px no-repeat,
    #05197582;
}

/* NEXT */
button.splide__arrow.splide__arrow--next.slick-next {
  width: 50px;
  height: 50px;
  background:
    url("/wp-content/uploads/2026/04/right-new.png") center/40px no-repeat,
    #05197582;
}

.kb-blocks-slider.splide--nav
  button.splide__arrow.splide__arrow--next.slick-next {
  width: 35px;
  height: 35px;
  background:
    url("/wp-content/uploads/2026/04/right-new.png") center/30px no-repeat,
    #05197582;
  top: 57% !important;
}

.kb-blocks-slider.splide--nav
  button.splide__arrow.splide__arrow--prev.slick-prev {
  width: 35px;
  height: 35px;
  background:
    url("/wp-content/uploads/2026/04/left-new.png") center/30px no-repeat,
    #05197582;
  top: 57% !important;
}

@media (max-width: 549px) {
  .kb-blocks-slider.splide--nav
    button.splide__arrow.splide__arrow--next.slick-next {
    width: 30px;
    height: 30px;
    background:
      url(/wp-content/uploads/2026/04/right-new.png) center / 23px no-repeat,
      #05197582;
    top: 50% !important;
  }

  .kb-blocks-slider.splide--nav
    button.splide__arrow.splide__arrow--prev.slick-prev {
    width: 30px;
    height: 30px;
    background:
      url("/wp-content/uploads/2026/04/left-new.png") center/23px no-repeat,
      #05197582;
    top: 50% !important;
  }

  h1 {
    line-height: 1.2em !important;
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }

  .wp-block-kadence-spacer .kt-block-spacer {
    height: 51px !important;
  }

  hr.wp-block-separator {
    border-top-width: 2px;
    margin-top: 25px;
    margin-bottom: 25px;
  }

  hr.kt-divider {
    border-top-width: 2px !important;
  }

  figure.wp-block-image {
    margin-bottom: 0px !important;
  }

  .category-novice .post-navigation-link-previous {
    width: 100%;
  }

  .category-novice .post-navigation-link-next {
    width: 100%;
  }

  h3 {
    font-size: 1.5rem !important;
    line-height: 1.2em !important;
  }

  .category-novice .post-meta > .kt-row-column-wrap {
    padding-bottom: 12px;
  }

  .category-novice .image-description,
  figcaption.wp-element-caption {
    font-size: 10px;
  }

  .post-navigation-link-previous > a {
    font-size: 1.257rem;
  }

  .post-navigation-link-next > a {
    font-size: 1.257rem;
  }

  figure.wp-block-image.alignnone.size-large {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }

  iframe {
    margin-bottom: 0px;
  }

  .category-novice .author-name {
    font-size: 10px;
  }

  .category-novice .post-meta > .kt-row-column-wrap {
    font-size: 10px;
  }

  .wp-block-post-navigation-link__arrow-previous::before,
  .wp-block-post-navigation-link__arrow-next::before {
    width: 20px;
    height: 20px;
    border-top: 2px solid #1e2a78;
    border-right: 2px solid #1e2a78;
  }

  button[onclick] {
    font-size: 1.1rem;
  }

  .flourish-credit {
    text-align: center !important;
    text-transform: uppercase;
  }

  .wp-block-quote.is-large:where(:not(.is-style-plain)) p,
  .wp-block-quote.is-style-large:where(:not(.is-style-plain)) p {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.3em;
  }

  .wp-block-quote.is-large,
  .wp-block-quote.is-style-large {
    padding-right: 0;
    padding-left: 45px;
  }

  blockquote::before {
    left: -15px;
    font-size: 260px;
    top: -55px;
    opacity: 0.1;
  }
}

.wp-block-cover:has(p) {
  padding: 70px 100px;
  min-height: 300px !important;

  p,
  .has-text-align-center {
    text-align: start !important;
    font-size: 45px !important;
    font-weight: bold;
    line-height: 1;
    margin: 0;
  }

  a {
    color: white;
    font-size: 15px !important;
    font-weight: normal;
    text-decoration: none;
  }
}

.single-post {
  .wp-block-kadence-column:has(.wp-block-media-text) .kt-inside-inner-col {
    align-items: flex-start;
  }

  .wp-block-media-text {
    display: flex;
    flex-direction: column;
    width: 23%;
  }

  .wp-block-media-text img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .wp-block-media-text__content {
    padding-left: 0;
  }
}

/* BASE */
a.kb-button.kt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 20px;
  font-family: "Merriweather", serif !important;
  font-size: 1.45rem;
  border: 3px solid var(--global-palette1);
  border-radius: 0;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--global-palette1);
  margin-top: 25px;
  margin-bottom: 25px;
}

/* ARROW */
a.kb-button.kt-button::after {
  content: "";
  width: 21px;
  height: 21px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* HOVER */
a.kb-button.kt-button:hover {
  background: #fff;
  border: 3px solid #04167c;
  color: #04167c;
}

a.kb-button.kt-button:hover::after {
  border-top: 3px solid #04167c;
  border-right: 3px solid #04167c;
  transform: translateX(4px) rotate(45deg);
}

.odmik-left,
.odmik-right {
  z-index: 9;
}

.odmik-right > figure {
  position: relative;
  right: -5vw;
  margin: 0 !important;
}

.odmik-left > figure {
  position: relative;
  left: -5vw;
  margin: 0 !important;
}

.single-post.razkrinkavanje img.kb-img,
.single-post.izjave img.kb-img {
  object-fit: contain !important;
  width: auto !important;
  left: unset !important;
  transform: unset !important;
  object-position: bottom;
}

.single-post.razkrinkavanje .wp-block-post-author {
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}

.razkrinkavanje * {
  font-family: "Inter";
}

.razkrinkavanje button[onclick] {
  transform: unset;
  left: unset;
}

.single-post.razkrinkavanje h1.wpm-post-title,
.single-post.izjave h1.wpm-post-title {
  text-align: center;
}

/*Footer*/
.footer-icons {
  gap: 2.5em;
}

.footer-img {
  position: absolute;
  transform: scale(1.1);
  right: -60px;
  margin-top: -100px;
}

.footer-img img.kb-img {
  transform: translateX(0);
}

/*Header*/
img.header-dog-logo {
  position: absolute !important;
  bottom: 0px;
  width: clamp(5rem, 13vw, 7.5rem);
  height: auto;
  right: 21%;
  z-index: 4;
  transform: translateX(-50%) scale(1);
  transform-origin: center bottom;
  will-change: transform;
}

@media (max-width: 1486px) {
  figure.podpri-nas,
  img.header-dog-logo {
    right: 5%;
  }
}

@media (max-width: 1095px) {
  img.header-dog-logo {
    display: none;
  }
}

.site-bottom-header-wrap.kadence-sticky-header.item-is-fixed.item-is-stuck
  .site-header-row-container-inner
  > .site-container {
  padding: 15px 0;
}

/*
img.header-dog-logo {
  position: absolute !important;
  bottom: 0;
  width: clamp(10rem, 13vw, 25rem);
  height: auto;
  right: 11%;
  background: var(--global-palette1);
  padding: 0px 90px;
  transform: scale(1);
  z-index: 4;
  transform: translateX(-50%) scale(1);
  transform-origin: center bottom;
  will-change: transform;
}*/

#primary-menu > .current-menu-item > a,
#primary-menu > .current-menu-parent > a,
#primary-menu > .current-menu-ancestor > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: white;
}

#primary-menu > .current-menu-item > a::after,
#primary-menu > .current-menu-parent > a::after,
#primary-menu > .current-menu-ancestor > a::after {
  content: "";
  position: absolute;

  left: 0;
  bottom: -10px;

  width: 100%;
  height: 15px;

  background-color: var(--global-palette2);

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-1 11 L12 3 L24 11 L36 3 L49 11' stroke='black' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  -webkit-mask-repeat: repeat-x;
  -webkit-mask-size: 40px 10px;
  -webkit-mask-position: center;

  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-1 11 L12 3 L24 11 L36 3 L49 11' stroke='black' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  mask-repeat: repeat-x;
  mask-size: 53px 19px;
  mask-position: center;
  rotate: 180deg;
}

.site-branding a.brand img {
  max-width: 200px;
}

.wpm-editorial-footer a {
  white-space: nowrap;
}

.project-link a {
  text-decoration: none;
  line-height: 1;
  position: relative;
}

.project-link a::after,
.wpm-editorial-footer a::after,
.header-navigation .sub-menu li.menu-item > a:after {
  content: ">";
  padding-left: 10px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.wpm-editorial-footer a::after {
  padding-left: 0px;
  font-size: 1.3rem;
  line-height: 1;
}

.project-dog {
  position: absolute;
  top: 80%;
  max-width: 70%;
}

.project-left-row {
  position: relative;
}

.project-left-row::after {
  content: "";
  background-color: #fff;
  height: 80%;
  width: 4px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.project-link a:hover::after,
.wpm-editorial-footer a:hover::after,
.header-navigation .sub-menu li.menu-item > a:hover:after {
  transform: translateX(5px);
}

.header-navigation ul.sub-menu {
  padding: 35px 0;
}

.mobile-navigation:not(.drawer-navigation-parent-toggle-true)
  ul
  li.menu-item-has-children
  .drawer-nav-drop-wrap
  button,
.mobile-navigation ul li.menu-item-has-children .drawer-nav-drop-wrap,
.mobile-navigation ul li:not(.menu-item-has-children) a {
  border: 0;
}

/*WPM custom block*/
.wpm-featured-post-bg {
  position: relative;
  min-height: clamp(500px, 65vw, 800px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: clamp(30px, 6vw, 80px) clamp(20px, 4vw, 80px);
}

.wpm-featured-overlay {
  position: absolute;
  inset: 0;
  background: rgb(4 22 124 / 53%);
}

.wpm-featured-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.wpm-featured-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.wpm-featured-meta .category {
  color: #ff4a4a;
}

.wpm-featured-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1;
  margin-bottom: 25px;
  color: var(--text-light-color);
  margin-top: 20px;
}

.wpm-featured-content p {
  font-size: clamp(1rem, 2.5vw, 1.23rem);
  line-height: 1.2;
  color: var(--text-light-color);
}

.wpm-featured-meta span {
  color: var(--text-light-color);
}

.wpm-featured-post a,
.wpm-featured-post a:hover {
  text-decoration: none;
  border-bottom: none;
}

/*Editional posts*/
.wpm-editorial-posts {
  margin: 20px 0;
}

.single-column .wpm-editorial-posts {
  margin: 0;
}

@media (max-width: 768px) {
  .column-border-r .wpm-editorial-grid.columns-1 {
    border-bottom: 1px solid var(--global-palette-highlight);
    border-right: 0;
  }

  .wpm-editorial-card:not(:last-child) {
    border-bottom: 1px solid var(--global-palette-highlight);
    border-right: 0;
  }

  .project-dog {
    display: none;
  }

  .project-left-row::after {
    content: "";
    background-color: #fff;
    width: 60%;
    height: 3px;
    position: absolute;
    bottom: 5px;
    left: 20px;
  }

  .wpm-editorial-card.no-badge .wpm-editorial-content {
    padding: 40px 10px 65px !important;
  }

  .wpm-editorial-content {
    padding: 110px 10px 40px !important;
  }

  .wpm-editorial-header .kt-inside-inner-col {
    flex-wrap: nowrap !important;
  }
}

.wpm-editorial-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.wpm-editorial-line {
  width: 48px;
  height: 4px;
  background: #162d8f;
}

.project-left-row {
  overflow: hidden;
}

.wpm-editorial-header h3 {
  font-size: clamp(1.1rem, 3vw, 1.4rem) !important;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--global-palette2);
  margin: 0;
  font-weight: 600;
  font-family: "Inter", sans-serif !important;
}

.donate h2 {
  font-family: "Inter", sans-serif !important;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  margin-top: 0.5em;
}

.donate-btn a.kb-button.kt-button:hover {
  color: var(--global-palette2);
}

.donate-btn a.kb-button.kt-button:hover::after {
  border-top: 3px solid var(--global-palette2);
  border-right: 3px solid var(--global-palette2);
}

.custom-font-family {
  font-family: "Inter", sans-serif !important;
}

.donate .kt-inside-inner-col {
  min-height: 100%;
}

.donate1 .wpm-editorial-header {
  align-items: flex-start;
}

.donate-img {
  position: absolute;
  max-width: 60%;
  top: 5px;
  right: 0px;
}

.single-column .wpm-editorial-card {
  border-right: 0;
}

.wpm-editorial-grid {
  display: grid;
}

.wpm-editorial-grid.columns-3 .wpm-editorial-date {
  color: black;
}

.wpm-editorial-grid.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.wpm-editorial-grid.columns-1 {
  grid-template-columns: 1fr;
}

.wpm-editorial-card {
  display: flex;
  flex-direction: column;
}

.wpm-editorial-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wpm-editorial-content {
  flex: 1;
}
.column-border-r .wpm-editorial-grid.columns-1 .wpm-editorial-content,
.wpm-editorial-grid.columns-3 .wpm-editorial-content {
  border-right: 2px solid var(--global-palette-highlight);
}

.wpm-editorial-grid.columns-3
  .wpm-editorial-card:last-child
  .wpm-editorial-content {
  border-right: 0;
}

.wpm-editorial-grid.columns-3 .wpm-editorial-card:last-child {
  border-right: 0;
}

.wpm-editorial-card a {
  text-decoration: none;
}

.wpm-editorial-card img {
  width: 100%;
  display: block;
}

.wpm-editorial-card img:not(.wpm-editorial-badge img) {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.wpm-editorial-card.no-badge .wpm-editorial-content {
  padding: 40px 26px 65px;
}

.wpm-editorial-card {
  position: relative;
}

.wpm-editorial-badge {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translateX(-50%);
  width: 180px;
  z-index: 5;
}

.wpm-editorial-content {
  padding: 110px 26px 40px;
}

.wpm-editorial-date {
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 20px;
  color: var(--global-palette2);
}

.wpm-editorial-content h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 30px;
  margin-top: 0;
  color: #12217a;
  font-weight: normal;
}

.wpm-editorial-grid.columns-1 p {
  font-size: clamp(0.9rem, 3vw, 1.2rem);
}

.columns-3 .wpm-editorial-content h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: normal;
}

.wpm-editorial-card .wpm-editorial-content > p {
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: calc(1.45em * 5);
  margin-bottom: 0;
}

.wpm-editorial-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: -10px;
}

.wpm-editorial-footer a {
  color: var(--global-palette2);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.wpm-editorial-category {
  color: #ff3b30;
  text-transform: uppercase;
}

.wpm-editorial-footer-wrap {
  display: flex;
  gap: 25px;
  flex-wrap: nowrap;
}

.wpm-editorial-footer-line {
  height: 1px;
  background: #04167c;
  width: 100%;
  margin-bottom: 18px;
}

.wpm-editorial-footer {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .wpm-editorial-grid.columns-3 {
    grid-template-columns: 1fr;
    row-gap: 50px;
  }

  .footer-img {
    position: absolute;
    transform: scale(1.4);
    right: -60px;
    margin-top: 100px;
  }

  .site-branding a.brand img {
    max-width: 120px;
  }
}

.single-post .kt-row-column-wrap.kb-theme-content-width {
  max-width: 1290px;
}

.single-post footer .kt-row-column-wrap.kb-theme-content-width,
.single-post .footer-styles .kb-theme-content-width {
  max-width: var(--global-content-width, 1490px);
}

.footer-icons {
  position: relative;
  z-index: 2;
}

.podpri-nas {
  position: absolute;
  z-index: 3;
  right: 20%;
  max-width: 165px;
  top: 148px;
}

.logged-in .podpri-nas {
  top: 180px;
}

@media (max-width: 1024px) {
  .podpri-nas {
    display: none;
  }
}

@media (min-width: 549px) and (max-width: 767px) {
  .doniraj-mobile > .kt-row-column-wrap {
    min-height: 800px !important;
  }
}

@media (min-width: 410px) and (max-width: 767px) {
  .doniraj-mobile > .kt-row-column-wrap > .wp-block-kadence-column {
    max-width: 70%;
    margin: 0 auto;
  }
}

.post-template-default:has(.category-razkrinkavanje)
  .post-thumbnail.article-post-thumbnail.kadence-thumbnail-position-behind {
  display: none;
}

.amount > .kt-row-column-wrap {
  margin: 0 !important;
}

.wpm-editorial-posts,
.single-column .kt-inside-inner-col {
  display: flex;
  flex: 1;
}

.wpm-editorial-posts {
  flex-direction: column;
}

.wpm-editorial-grid.columns-1 {
  flex: 1;
}

/* Ostro post slider (Flickity) — 4 / 3 / 1 columns */
.ostro-post-slider {
  max-width: min(1100px, 100%);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  padding: 2rem 3.5rem;
}

.ostro-post-slider.alignfull {
  max-width: min(1100px, 100%);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.ostro-post-slider__heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.ostro-post-slider__heading h3 {
  margin: 0;
  font-family: inherit;
  font-size: 30px;
  line-height: 1.2;
  font-weight: inherit;
  color: var(--global-palette1, #04167c);
  text-transform: none;
  letter-spacing: normal;
}

.ostro-post-slider__dots {
  display: flex;
  align-items: center;
  margin-top: 3px !important;
}

.ostro-post-slider__dots .flickity-page-dots {
  position: static;
  bottom: auto;
  margin: 0;
}

.ostro-post-slider__carousel {
  outline: none;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ostro-post-slider__carousel .flickity-viewport {
  overflow: hidden;
}

.ostro-post-slider__carousel .ostro-post-slider__cell {
  box-sizing: border-box;
  width: calc(25% - 10px);
  margin-right: 10px;
  display: flex;
  align-items: stretch;
  min-height: 100%;
}

.ostro-post-slider__cell .ostro-post-slider__link {
  width: 100%;
}

@media (max-width: 1199px) {
  .ostro-post-slider__carousel .ostro-post-slider__cell {
    width: calc(33.333% - 10px);
  }
}

@media (max-width: 900px) {
  .ostro-post-slider__carousel .ostro-post-slider__cell {
    width: calc(50% - 10px);
  }
}

@media (max-width: 767px) {
  .ostro-post-slider {
    padding: 1.5rem 0;
  }

  .ostro-post-slider__carousel .ostro-post-slider__cell {
    width: calc(100% - 10px);
    margin-right: 10px;
  }
}

.ostro-post-slider__link {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 0.75rem;
  width: 100%;
  min-height: 20rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.ostro-post-slider__title {
  margin: 0;
  margin-top: 10px !important;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.25;
  font-weight: normal;
  color: var(--global-palette1, #04167c);
  align-self: start;
  overflow-wrap: break-word;
}

.ostro-post-slider__date {
  display: block;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #1a1a1a;
  font-family: "Inter", sans-serif;
}

.ostro-post-slider__image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  width: 100%;
  align-self: end;
}

.ostro-post-slider__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ostro-post-slider .flickity-button {
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: none;
  border-radius: 0;
  top: 58%;
}

.ostro-post-slider .flickity-button:disabled {
  opacity: 0.25;
  pointer-events: none;
}

.ostro-post-slider .flickity-button-icon {
  display: none !important;
}

.ostro-post-slider .flickity-button::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border-top: 2px solid #1e2a78;
  border-right: 2px solid #1e2a78;
}

.ostro-post-slider .flickity-button.previous {
  left: -3.25rem;
}

.ostro-post-slider .flickity-button.previous::before {
  transform: rotate(-135deg);
}

.ostro-post-slider .flickity-button.next {
  right: -3.25rem;
}

.ostro-post-slider .flickity-button.next::before {
  transform: rotate(45deg);
}

.flickity-page-dots {
  padding-left: 10px !important;
}

.ostro-post-slider .flickity-page-dots .dot {
  width: 14px;
  height: 14px;
  margin: 0 3px;
  background: var(--global-palette1, #04167c);
  opacity: 0.25;
}

.ostro-post-slider .flickity-page-dots .dot.is-selected {
  opacity: 1;
}

@media (max-width: 1131px) {
  .ostro-post-slider {
    padding: 2rem 0;
  }

  .ostro-post-slider .flickity-button {
    display: none !important;
  }
}

.wpm-category-page__podpri-button {
  background: var(--global-palette-highlight);
  display: flex;
  gap: 10px;
  text-transform: uppercase;
  text-decoration: none;
  color: white !important;
  width: fit-content;
  margin: 0 auto;
  margin-top: 20px;
  padding: 10px 30px;
}
