:root {
  --vzz-primary: #68a7dd;
  --vzz-secondary: #68a7dd;
  --vzz-accent: #69a742;
  --vzz-bg: #fff;
  --vzz-text: #222;
  --vzz-footer: #17191c;
  --vzz-font: Inter, Arial, sans-serif;
  --vzz-max: 1180px;
  --vzz-radius: 14px;
  --vzz-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}
@font-face {
  font-family: Inter;
  src: local("Inter Regular"), local("Inter");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: local("Inter ExtraBold"), local("Inter");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
*,
:before,
:after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--vzz-bg);
  color: var(--vzz-text);
  font-family: var(--vzz-font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  text-wrap: balance;
}
body.menu-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--vzz-primary);
  text-underline-offset: 0.16em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
textarea,
select {
  font: inherit;
}
.container {
  width: min(calc(100% - 2rem), var(--vzz-max));
  margin-inline: auto;
}
.narrow {
  max-width: 760px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  clip: auto;
  z-index: 9999;
  background: #fff;
  color: #111;
  border: 3px solid var(--vzz-primary);
}
:focus-visible {
  outline: 3px solid var(--vzz-accent);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 1rem;
  /*letter-spacing: -0.025em;*/
  font-weight: 800;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 2rem);
	color: #69a742;
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.home h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}
.home h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
	color: #222222;
}
.home .cta-band h2 {
	color: #ffffff;
}
.home h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
p {
  margin: 0 0 2rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.section-light {
  background: #fff;
}
.section-muted {
  background: #f5f6f7;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  border: 4px solid rgba(255, 255, 255, 0.5);
}
.button-primary {
  background: var(--vzz-primary);
  color: #fff;
}
.button-primary:hover {
  background: #D05353;
  color: #fff;
}
.button-light {
  background: #fff;
  /*color: #111;*/
}
.button-dark {
  background: #68a7dd;
  color: #fff;
}
.button-dark:hover, .button-light:hover  {
  background: #D05353;
  color: #fff;
}
.btn-holder {
  text-align: center;
  margin: 3rem 0 0;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.text-link {
  font-weight: 800;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e7e7e7;
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: #111;
  text-decoration: none;
}
.custom-logo {
  max-height: 54px;
  width: auto;
}
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  color: #111;
  cursor: pointer;
}
.primary-nav {
  display: none;
}
.primary-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 76px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem;
}
.primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.primary-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: #f2f3f4;
}

/* Na mobilnih napravah so podmeniji prikazani v toku strani. */
.primary-nav .sub-menu {
  display: flex;
  position: static;
  min-width: 0;
  margin: 0 0 0 0.75rem;
  padding: 0 0 0 0.65rem;
  flex-direction: column;
  gap: 0.1rem;
  background: transparent;
  border: 0;
  border-left: 2px solid #e7e7e7;
  border-radius: 0;
  box-shadow: none;
}
.primary-nav .sub-menu a {
  font-size: 0.95rem;
  font-weight: 600;
}
.hero {
  position: relative;
  /*min-height: 70vh;*/
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #24272a;
  color: #fff;
}
.hero-image,
.hero-placeholder,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-placeholder {
  background: linear-gradient(135deg, var(--vzz-primary), #222);
}
.hero-overlay {
  background: rgba(0, 0, 0, var(--hero-overlay, 0.55));
  z-index: 0;
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 2rem;
  padding-block: 2rem 0;;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 1rem;
  min-width: 0;
}
.hero .eyebrow {
  color: #fff;
}
.hero-text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 700px;
}
.hero-portrait {
  width: 100%;
  max-width: 520px;
  justify-self: center;
  overflow: hidden;
  /*border-radius: var(--vzz-radius, 16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);*/
}
.hero-portrait-image {
  display: block;
  width: auto;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  object-position: center top;
	margin: 0 auto;
}
@media (min-width: 782px) {
  .hero-layout {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    gap: clamp(2rem, 4vw, 4rem);
    /*padding-block: 5rem;*/
  }
  .hero-content {
    padding-block: 2rem;
  }
  .hero-portrait {
    width: 100%;
    max-width: none;
  }
  .hero-portrait-image {
    height: clamp(360px, 42vw, 620px);
    object-fit: cover;
  }
}
.feature-grid,
.post-grid,
.testimonial-grid {
  display: grid;
  gap: 1.1rem;
}
.feature-card,
.post-card {
  margin: 0;
  border: 1px solid #e1e3e5;
  border-radius: var(--vzz-radius);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--vzz-shadow);
}
figure {
  margin: 0;
}
.feature-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--vzz-accent);
  color: #fff;
  font-weight: 800;
}
.split-section {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.media-frame {
  /*min-height: 300px;*/
  border-radius: var(--vzz-radius);
  overflow: hidden;
  background: #ddd;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-placeholder {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: #555;
}
.testimonial-grid blockquote {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.testimonial-grid figcaption {
  font-size: 0.9rem;
  color: #555;
}
.cta-band {
  background: var(--vzz-accent);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}
.cta-band .eyebrow {
  color: #fff;
}
.cta-band .button {
  align-self: flex-start;
}

/* Uvodni CTA: modro ozadje z dovolj kontrasta za besedilo. */
.cta-band--blue {
  background: #68a7dd;
  color: #17232e;
}
.cta-band--blue .eyebrow,
.cta-band--blue h2,
.home .cta-band--blue h2 {
  color: #17232e;
}
.cta-band--blue .button {
  background: #17232e;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.cta-band--blue .button:hover {
  background: #fff;
  color: #17232e;
}
.post-thumb {
  display: block;
  margin: -1.5rem -1.5rem 1.25rem;
}
.post-thumb img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--vzz-radius) var(--vzz-radius) 0 0;
}
.post-meta {
  font-size: 0.86rem;
  color: #60656b;
}
.content-area {
  padding-block: 2rem 5rem;
}
.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.breadcrumbs a {
	color: #222;
}
.page-header {
  margin-bottom: 2rem;
}
.featured-image {
  margin-bottom: 2rem;
}
.featured-image img {
  width: 100%;
  border-radius: var(--vzz-radius);
}
.entry-content {
  max-width: 820px;
  font-size: 1.08rem;
}
.entry-content > * + * {
  margin-top: 1.25rem;
}
.entry-content img {
  border-radius: 10px;
}
.entry-content .alignwide {
  width: calc(100% + 4rem);
  max-width: none;
  margin-left: -2rem;
}
.entry-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-block: 2rem;
}
.site-footer {
  background: #4f606b;
  color: #fff;
}
.site-footer h2 {
  font-size: 1.15rem;
}
.site-footer a {
  color: #fff;
}
.site-footer address {
  font-style: normal;
}
.site-footer p {
  color: #d8dadd;
}
.footer-brand img {
  margin-bottom: 1rem;
}
.site-footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer nav a {
  display: inline-block;
  padding: 0.2rem 0;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
justify-content: center;
}
.social-link {
  display: grid !important;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0 !important;
  /*border: 1px solid rgba(255, 255, 255, 0.3);*/
  background: #69a742;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}
.social-link svg {
  display: block;
  width: 25px;
  height: 25px;
}
.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateY(-1px);
}
.social-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.footer-bottom {
  padding: 1rem 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  text-align: center;	
}
.search-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.search-form label {
  flex: 1 1 240px;
}
.search-form input {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #999;
  border-radius: 8px;
}
.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.pagination a,
.pagination span {
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #ffffff;	
}
.pagination .current {
  font-weight: 800;
  background: #eee;
}
@media (min-width: 600px) {
  .container {
    width: min(calc(100% - 3rem), var(--vzz-max));
  }
  .feature-grid,
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /*.footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }*/
}
@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
  .primary-nav {
    display: block;
    position: static;
  }
  .primary-nav > ul {
    flex-direction: row;
    align-items: center;
  }

  /* Spustni meniji na namizju; delujejo tudi z uporabo tipkovnice. */
  .primary-nav li {
    position: relative;
  }
  .primary-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
    min-width: 230px;
    padding: 0.45rem;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: #fff;
    border: 1px solid #e1e3e5;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  }
  .primary-nav li:hover > .sub-menu,
  .primary-nav li:focus-within > .sub-menu {
    display: flex;
  }
  .primary-nav .sub-menu .sub-menu {
    top: 0;
    left: 100%;
  }
  .primary-nav .sub-menu a {
    width: 100%;
    white-space: normal;
  }
  .primary-nav a {
    padding: 0.55rem 0.7rem;
  }
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .split-section {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .cta-band .button {
    align-self: center;
  }
  /*.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }*/
}
@media (min-width: 1200px) {
  .hero-content {
    padding-block: 8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-color-scheme: dark) {
  .vzz-auto-dark {
    background: #111;
    color: #eee;
  }
}

.moj-ovoj {
    background: #D05353;
    overflow: hidden;
}

.moj-ovoj .entry-content {
    max-width: 1200px;
    padding: 0 1rem;
    font-size: 1.3rem;
    margin: 0 auto;
	text-align: center;
}

.moj-ovoj .entry-content p {
    margin: 1rem 0 1rem;
    font-weight: 700;
    color: #ffffff;
}


.dv-vsebina {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.dv-vsebina p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 18s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dv-vsebina p {
    animation: none;
    padding-left: 0;
  }
}



/* ========================================
   Zoran Potić – Gutenberg tabele
   ======================================== */

.wp-block-table {
    margin: 2rem 0;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #e5e8e3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(34, 34, 34, 0.06);
}

/* Osnovna tabela */
.wp-block-table table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #222;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Celice */
.wp-block-table th,
.wp-block-table td {
    padding: 15px 18px;
    border: 0;
    border-bottom: 1px solid #e9ece7;
    text-align: left;
    vertical-align: top;
}

/* Glava tabele */
.wp-block-table thead th {
    background: #69a742;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* Zaobljena zgornja vogala */
.wp-block-table thead th:first-child {
    border-top-left-radius: 11px;
}

.wp-block-table thead th:last-child {
    border-top-right-radius: 11px;
}

/* Izmenično nežno obarvane vrstice */
.wp-block-table tbody tr:nth-child(even) {
    background: #f6f8f4;
}

/* Hover – nevsiljiv poudarek */
.wp-block-table tbody tr:hover {
    background: #edf4e8;
}

/* Zadnja vrstica brez spodnje črte */
.wp-block-table tbody tr:last-child td,
.wp-block-table tfoot tr:last-child td,
.wp-block-table tfoot tr:last-child th {
    border-bottom: 0;
}

/* Povezave */
.wp-block-table a {
    color: #3f7130;
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.wp-block-table a:hover {
    color: #f6060b;
}

/* Fokus za tipkovnico */
.wp-block-table a:focus-visible {
    outline: 3px solid #68a7dd;
    outline-offset: 3px;
    border-radius: 2px;
}

/* Celice z močnim poudarkom */
.wp-block-table strong {
    color: #292929;
}

/* Mobilni zasloni */
@media (max-width: 600px) {
    .wp-block-table {
        margin: 1.5rem 0;
        border-radius: 9px;
    }

    .wp-block-table table {
        font-size: 0.9rem;
    }

    .wp-block-table th,
    .wp-block-table td {
        padding: 11px 12px;
    }

    .wp-block-table thead th:first-child {
        border-top-left-radius: 8px;
    }

    .wp-block-table thead th:last-child {
        border-top-right-radius: 8px;
    }
}

.wp-block-table td, .wp-block-table th {
    border: 0px solid !important;
}


/* TEST: aktivna povezava v meniju */
a[aria-current="page"],
.current-menu-item > a,
.current_page_item > a {
    color: #69a742 !important;
}

.oglass {
	margin: 0 auto;
    max-width: 950px;
    padding: 0 0 4rem;
}

/* Posamezni članki in običajne strani */
body.single-post article,
body.page article {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* Drobtinice na posameznih člankih in straneh */
body.single-post .breadcrumbs,
body.page .breadcrumbs {
    max-width: 820px;
    margin: 0 auto 2rem;
}

.obvestilo-popup__title {
	font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}
