@charset "UTF-8";
/* ════════════════════════════════════════════════════════
   KD GROUP — SHARED STYLESHEET
   All pages use this single file.
   BEM-lite: block__element--modifier pattern.
   Add modifier classes only when a variant truly differs.
════════════════════════════════════════════════════════ */
/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-primary, "Work Sans", Arial, sans-serif);
  color: #111110;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --nav-h: 88px;
  --nav-h-mobile: 70px;
  --hero-home-h: clamp(560px, 43.75vw, 840px);
  --nav-bg: #f7f7f5;
  --white: #ffffff;
  --black: #111110;
  --gray-border:#e8e8e6;
  --gray-text: #727272;
  --gray-light: #f7f7fa;
  --orange: #e8571e;
  --black-almost: #141212;
  --container-max: 1316px;
  --container-doc-max: 1400px;
  --page-gutter: clamp(22px, 4vw, 64px);
  --gap-default: 24px;
  --gap-home-cards: clamp(40px, 3.96vw, 76px);
  --page-wrap-padding: 52px;
  --content-block-padding-b: 80px;
  --stats-side-inset: clamp(32px, 3.75vw, 72px);
  --values-side-inset: clamp(32px, 3.75vw, 72px);
  --drop-down-inner-pad: 48px 124px 48px 124px;
  /* Reusable clamp tokens */
  --fs-17: clamp(16px, 0.89vw, 17px);
  --fs-18: clamp(16px, 0.94vw, 18px);
  --fs-20: clamp(18px, 1.04vw, 20px);
  --fs-28: clamp(24px, 1.46vw, 28px);
  --fs-32: clamp(28px, 1.67vw, 32px);
  --space-left: clamp(24px, 2.19vw, 32px);
  --space-36: clamp(28px, 1.88vw, 36px);
}

/* ─── Container ──────────────────────────────────────── */
.wrap {
  width: min(100% - var(--page-gutter) * 2, var(--container-max));
  margin-inline: auto;
  /**/
}

.wrap.gray--bg {
  width: 100%;
  margin-inline: 0;
  padding-inline: max(var(--page-gutter), (100% - var(--container-max)) / 2);
  background: var(--gray-light);
}

/* ════════════════════════════════════════════════════════
   HEADER & NAV
════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-border);
  height: var(--nav-h);
}

.nav-bar {
  display: flex;
  align-items: center;
  height: var(--nav-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: 40px;
}
.logo img {
  width: 68px;
}

/* Primary nav */
.nav-links {
  display: flex;
  align-items: stretch;
  height: var(--nav-h);
  flex: 1;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-trigger {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s;
  height: 100%;
  border: none;
  background: none;
  font-family: inherit;
}

.nav-trigger:hover, .nav-item.open .nav-trigger {
  color: var(--gray-text);
}

.nav-trigger.is-active {
  color: var(--gray-text);
}

/* Utility links */
.nav-utils {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-util {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: var(--nav-h);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}

.lang-toggle {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: var(--nav-h);
  font-size: 15px;
  transition: color 0.15s;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.lang-toggle:hover {
  color: var(--gray-text);
}

/* ── Dropdown panel — full width ─────────────────────── */
.dropdown {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  z-index: 199;
}

.nav-item.open > .dropdown {
  display: block;
}

.dropdown-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--drop-down-inner-pad);
  min-height: 320px;
}

/* Dropdown type A — O skupini */
.dd-a {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr;
  gap: 40px;
}

.dd-links {
  display: flex;
  flex-direction: column;
}

.dd-link {
  display: block;
  /*padding:9px 0;*/
  font-size: 15px;
  color: var(--black-almost);
  /*border-bottom:1px solid var(--gray-border);*/
  transition: color 0.15s;
  line-height: 2.4;
}

.dd-link:first-child {
  /*border-top:1px solid var(--gray-border)*/
}

.dd-link:hover {
  color: var(--gray-text);
}

.dd-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 2.4;
}

.dd-card-text {
  font-size: 14px;
  color: var(--black-almost);
  line-height: 1.55;
  margin-bottom: 16px;
  padding-right: 32px;
}

.dd-btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--black);
  color: var(--black);
  background: var(--white);
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
  font-family: inherit;
  border-radius: 2px;
  margin-top: 8px;
}

.dd-btn:hover {
  background: var(--gray-light);
  border-color: #a0a09c;
}

/* Dropdown type B — Dejavnosti */
.dd-b {
  display: flex;
  gap: 32px;
}

.dd-img-card {
  display: block;
  width: 240px;
  flex-shrink: 0;
}

.dd-img-card img {
  width: 100%;
  background: #e0ddd8;
  display: block;
  margin-bottom: 10px;
  aspect-ratio: 3/2;
}

.dd-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dd-img-card-label {
  font-size: 15px;
  line-height: 2.4;
  font-weight: 600;
  /*color:var(--gray-text)*/
}

/* Dropdown type C — Za investitorje */
.dd-c {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.dd-col-head {
  font-size: 15px;
  line-height: 2.4;
  font-weight: 700;
}

.dd-col-link {
  display: block;
  font-size: 15px;
  line-height: 2.4;
  color: var(--black-almost);
  transition: color 0.15s;
}

.dd-col-link:hover {
  color: var(--gray-text);
}

.dd-col-cta {
  margin-top: 16px;
}

/* TEMP: force one mega dropdown open while designing */
.nav-item.is-design-open > .dropdown {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* ════════════════════════════════════════════════════════
   MOBILE NAV
════════════════════════════════════════════════════════ */
.mob-toggle {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  margin-right: 18px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.mob-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  transform-origin: center;
  transition: transform 0.25s, opacity 0.2s;
}

/* Closed burger state */
.mob-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 7px));
}

.mob-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.mob-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 7px));
}

/* Open X state */
.mob-toggle.open span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mob-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0);
}

.mob-toggle.open span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Nav */
.mob-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  background: var(--white);
  z-index: 198;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6vh var(--page-gutter) 10vh var(--page-gutter);
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mob-nav.open {
  transform: translateX(0);
}

.mob-nav-section {
  border-bottom: 0;
  max-width: 100%;
}

.mob-nav-parent {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  background: none;
  border: 0;
  color: var(--black);
  font-family: inherit;
  font-size: 20px;
  line-height: normal;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.mob-nav-parent span:first-child {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

.mob-nav-parent--link {
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-word;
}

.mob-nav-plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.mob-nav-plus::before,
.mob-nav-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--black);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.mob-nav-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.mob-nav-section.is-open .mob-nav-plus::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.mob-nav-group {
  max-height: 0;
  max-width: 100%;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.28s ease;
}

.mob-nav-section.is-open .mob-nav-group {
  max-height: 500px;
  opacity: 1;
  padding: 4px 0 32px;
}

.mob-nav-child {
  display: block;
  max-width: 100%;
  padding: 10px 0;
  font-size: 20px;
  font-weight: 400;
  overflow-wrap: break-word;
  word-break: break-word;
}

.mob-nav-child:hover {
  color: var(--black);
}

.mob-nav-utils {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-border);
}

.mob-nav-util {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

/* Only two languages exist, so this stays a single toggle (not a dropdown),
   just pushed to the right of the search button. */
.mob-nav-utils .lang-toggle {
  margin-left: auto;
  padding: 0;
}

.mob-nav-group-title {
  max-width: 100%;
  padding: 16px 0 4px;
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  overflow-wrap: break-word;
  word-break: break-word;
}

.mob-nav-group-title:first-child {
  padding-top: 4px;
}

/* ════════════════════════════════════════════════════════
   PAGE WRAP
════════════════════════════════════════════════════════ */
.page-wrap {
  padding-top: var(--page-wrap-padding);
}

.page-wrap.no-top-p {
  padding-top: 0;
}

/* ════════════════════════════════════════════════════════
   HERO BANNER
════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: var(--hero-home-h);
  margin-top: var(--nav-h);
  overflow: hidden;
  background: var(--gray-light);
}

.hero-img, .hero-img-mobile {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img img,
.hero-img-mobile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-img {
  display: block;
}

.hero-img-mobile {
  display: none;
}

.hero-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: clamp(72px, 10.94vw, 210px);
}

.hero-h1 {
  font-size: clamp(44px, 3.23vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: normal;
  color: var(--white);
  margin-bottom: 28px;
  max-width: clamp(34rem, 40vw, 48rem);
}

.hero-p {
  font-size: clamp(23px, 1.3vw, 25px);
  line-height: 1.4;
  max-width: clamp(34rem, 40vw, 48rem);
  color: var(--white);
}

.hero--photo {
  height: clamp(320px, 21.875vw, 420px);
}

.hero--photo .hero-grad {
  display: none;
}

.hero--photo .hero-body {
  display: none;
}

.hero--dejavnost {
  height: clamp(660px, 51.46vw, 988px);
}
.hero--dejavnost .hero-h1 {
  font-size: clamp(44px, 2.92vw, 56px);
}
.hero--dejavnost .hero-p {
  font-size: var(--fs-20);
  line-height: 1.4;
}

/* ════════════════════════════════════════════════════════
   STATS (landing page)
════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--white);
  padding-bottom: var(--content-block-padding-b);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: calc(100% - var(--stats-side-inset) * 2);
  max-width: calc(var(--container-max) - 144px);
  margin-inline: auto;
}

.stat {
  padding: 32px 0;
}

.stat-lbl {
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.stat-val {
  font-size: clamp(44px, 2.6vw, 50px);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1;
}

.stat-val sup {
  font-size: 2rem;
  letter-spacing: 0;
  vertical-align: baseline;
}

/* ════════════════════════════════════════════════════════
   SECTION COMMON
════════════════════════════════════════════════════════ */
.section {
  padding: 84px 0 108px 0;
}

.section--gray {
  background: var(--gray-light);
}

.section--white {
  background: var(--white);
}

.section-center {
  text-align: center;
}

.section-title {
  font-size: clamp(30px, 1.93vw, 37px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: normal;
  margin-bottom: 24px;
}

.section-sub {
  font-size: var(--fs-18);
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.55;
  max-width: min(90%, 48rem);
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════
   ACTIVITY CARDS (landing — 2 col grid)
════════════════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-home-cards);
  margin-top: 68px;
}

.act-card {
  display: block;
  background: var(--white);
  overflow: hidden;
}

.act-card-img {
  width: 100%;
  aspect-ratio: 124/83;
  overflow: hidden;
  background: #d4d0c8;
}
.act-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.act-card-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.act-card-body {
  padding: 32px 44px 64px 44px;
}

.act-card-title {
  font-size: clamp(22px, 1.46vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  font-style: normal;
  letter-spacing: normal;
  margin-bottom: 10px;
}

.act-card-p {
  line-height: 1.5;
  margin-bottom: 20px;
}

.arrow-ico {
  display: inline-flex;
  align-items: center;
  color: var(--black);
}

.arrow-ico img {
  width: 24px;
  height: 24px;
}

/* ════════════════════════════════════════════════════════
   HISTORY / SPLIT SECTION (landing)
════════════════════════════════════════════════════════ */
.history-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.history-img {
  width: 100%;
  aspect-ratio: 659/585;
  background: #d8d4cc;
  display: block;
}

.history-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-title {
  font-size: var(--fs-32);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: normal;
  margin-bottom: 32px;
}

.history-p {
  font-size: var(--fs-20);
  line-height: 1.4;
  margin-bottom: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-20);
  font-weight: 500;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: gap 0.15s;
}

.text-link:hover {
  gap: 8px;
}

/* ════════════════════════════════════════════════════════
   SUBPAGE INTRO (heading + subtitle, left-aligned)
════════════════════════════════════════════════════════ */
.subpage-intro {
  padding: 32px 0 48px;
}

.subpage-intro-h {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 12px;
}

.subpage-intro-p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 560px;
}

.subpage-intro--dejavnost {
  padding-bottom: clamp(64px, 5vw, 96px);
}
.subpage-intro--dejavnost .subpage-intro-h {
  font-size: clamp(36px, 2.34vw, 45px);
  margin-bottom: clamp(24px, 1.67vw, 32px);
  line-height: 1.12;
  font-weight: 600;
}
.subpage-intro--dejavnost .subpage-intro-p {
  font-size: clamp(20px, 1.3vw, 25px);
  line-height: 1.4;
  font-weight: 400;
  max-width: min(100%, 768px);
}

/* ════════════════════════════════════════════════════════
   FEATURE LIST ITEM
   Contained within .wrap (same margins as rest of page).
   Image fixed ~310px wide, body takes remaining space.
   Default bg: --gray-light (#f7f7f5)
   Modifier --white: background #ffffff
════════════════════════════════════════════════════════ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 4.69vw, 90px);
  padding-bottom: 72px;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  color: inherit;
  text-decoration: none;
  background: var(--gray-light);
}

/* White variant — "Ostale naložbe" */
.feature-item--white {
  background: var(--white);
}

.feature-item-media {
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
}

.feature-item-media img,
.feature-item-media > div {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Title overlaid on image, bottom-left */
.feature-item-img-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: clamp(72px, 6.5vw, 125px);
  line-height: 1;
  font-weight: 400;
}

.feature-item-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(48px, 5vw, 96px);
  padding-right: clamp(48px, 6vw, 122px);
  padding-bottom: clamp(48px, 5vw, 96px);
  padding-left: clamp(56px, 4.69vw, 90px);
}

.feature-item-name {
  margin: 0 0 clamp(28px, 2.5vw, 48px);
  font-size: clamp(22px, 1.3vw, 25px);
  line-height: 1.2;
  font-weight: 600;
}

.feature-item-desc {
  margin: 0;
  max-width: min(100%, 36rem);
  font-size: var(--fs-18);
  line-height: 1.55;
}

.feature-item-link {
  display: inline-block;
  margin-top: clamp(28px, 2.5vw, 48px);
  font-size: var(--fs-20);
  line-height: 1.3;
  font-weight: 600;
  text-decoration: underline;
}

.feature-item-link:hover {
  opacity: 0.6;
}

/* ════════════════════════════════════════════════════════
   QUOTE BLOCK
════════════════════════════════════════════════════════ */
.quote-section {
  padding: 72px 0 144px 0;
  background-color: #fff;
}

.quote-block {
  width: 100%;
  max-width: min(100%, 832px);
  margin-inline: auto;
  text-align: left;
}

.quote-text {
  font-size: clamp(21px, 5.4vw, 27px);
  line-height: 1.55;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 26px);
  margin-top: clamp(44px, 4vw, 56px);
}

.quote-author-img {
  width: clamp(64px, 4.1vw, 78px);
  height: clamp(64px, 4.1vw, 78px);
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #d8d4cc;
}

.quote-author-body {
  min-width: 0;
}

.quote-author-name {
  font-size: var(--fs-20);
  margin-bottom: 4px;
}

.quote-author-role {
  color: var(--gray-text);
}

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--gray-light);
  padding-top: var(--content-block-padding-b);
  padding-bottom: var(--content-block-padding-b);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr 1fr;
  gap: 40px;
  padding-bottom: 128px;
}

.footer-investor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-col-head {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 32px;
  display: block;
}

.footer-col-subhead {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  display: block;
  line-height: 2.2;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-link {
  display: block;
  padding: 3px 0;
  font-size: 14px;
  color: var(--black-almost);
  transition: color 0.15s;
  line-height: 2.2;
}

.footer-link:hover {
  color: var(--gray-text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
}

.footer-copy {
  font-size: 14px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-legal a {
  font-size: 14px;
  transition: color 0.15s;
  white-space: nowrap;
}

.footer-legal a:hover {
  color: var(--gray-text);
}

.footer-legal span {
  font-size: 12px;
  color: #d0d0cc;
  margin: 0 8px;
}

/* ════════════════════════════════════════════════════════
   TWO-COLUMN TEXT GRID
   Each item: bold heading + paragraph.
   Odd last item stays in left column naturally.
════════════════════════════════════════════════════════ */
.text-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  padding: 56px 0;
  padding-top: 0;
  padding-bottom: 0;
}

.text-col-item {
  padding-bottom: 48px;
  padding-right: var(--values-side-inset);
}

.text-col-item-h {
  font-size: clamp(18px, 1.15vw, 22px);
  color: var(--black);
  margin-bottom: 32px;
  line-height: 1.25;
}

.text-col-item-p {
  font-size: var(--fs-17);
  line-height: 1.55;
}

@media (max-width: 700px) {
  .text-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
/* ════════════════════════════════════════════════════════
   CONTENT TYPE F — FAQ accordion
════════════════════════════════════════════════════════ */
.faq-wrap {
  padding: 56px 0 96px;
}

.faq-heading {
  font-size: var(--fs-28);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-left: var(--space-left);
}

.faq-list {
  border-top: 1px solid var(--gray-border);
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
  padding-left: var(--space-left);
  padding-right: var(--space-left);
}

.faq-trigger {
  display: block;
  width: 100%;
  text-align: left;
  padding: 42px 0 28px 0;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s;
  color: var(--black);
  font-weight: 700;
  font-size: var(--fs-17);
  line-height: 1.4;
  font-weight: 600;
}

.faq-trigger:hover {
  color: var(--gray-text);
}

.faq-item.open .faq-trigger {
  color: var(--orange);
}

.faq-body {
  padding: 0 0 16px;
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.faq-item.open .faq-body {
  max-height: 600px;
  opacity: 1;
}

.faq-answer {
  margin-bottom: 16px;
  font-size: var(--fs-17);
  line-height: 1.4;
}

.faq-close {
  display: inline-block;
  font-size: var(--fs-17);
  line-height: 1.4;
  font-weight: 700;
  text-decoration: underline;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 20px;
  text-align: left;
  transition: color 0.15s;
}

.faq-close:hover {
  color: var(--gray-text);
}

/* ════════════════════════════════════════════════════════
   CONTENT TYPE E — Milestone grid + Year timeline
════════════════════════════════════════════════════════ */
/* Section intro (left-aligned, no padding-top needed when after hero) */
/* Za enkrat imam isti intro kot pri dejavnostih - mogoče bo šlo */
/*.milestones-intro{padding:56px 0 40px}*/
/* 2-col milestone card grid */
.milestone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px 116px;
  padding-bottom: 80px;
}

.milestone-grid.three-card-grid {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 68px 86px;
  align-items: stretch;
}

.milestone-img {
  aspect-ratio: 17/10;
  overflow: hidden;
}
.milestone-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.milestone-content {
  padding-top: clamp(24px, 1.67vw, 32px);
  padding-right: clamp(40px, 3.75vw, 72px);
  padding-bottom: 0;
  padding-left: 15px;
}

.milestone-year {
  margin: 0;
  margin-bottom: 16px;
  font-size: clamp(17px, 0.99vw, 19px);
  line-height: 1.3;
  font-weight: 600;
}

.milestone-title {
  margin: 0;
  font-size: clamp(17px, 0.99vw, 19px);
  line-height: 1.35;
  font-weight: 600;
}

.milestone-desc {
  margin: 0;
  font-size: var(--fs-18);
  line-height: 1.5;
  font-weight: 400;
  padding-top: 12px;
}

.responsibility-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.responsibility-card .milestone-content {
  background-color: var(--white);
  padding-bottom: clamp(24px, 1.67vw, 32px);
  padding-left: 24px;
  padding-right: clamp(24px, 3.75vw, 48px);
  flex: 1;
}
.responsibility-card .milestone-img {
  aspect-ratio: 10/8;
  overflow: hidden;
  flex-shrink: 0;
}
.responsibility-card .milestone-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.responsibility-card .milestone-title {
  margin-bottom: 18px;
}
.responsibility-card .milestone-desc {
  font-size: var(--fs-16);
}

/* Year timeline section */
.timeline-section {
  padding: 64px 0 72px;
}

.timeline-heading {
  font-size: var(--fs-28);
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  margin-bottom: 52px;
}

/* Year scrubber — narrower, centered */
.timeline-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: min(100%, 820px);
  margin-inline: auto;
}

.timeline-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-text);
  transition: color 0.15s;
  padding: 0;
}

.timeline-arrow:hover {
  color: var(--black);
}

.timeline-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.timeline-arrow svg {
  width: 14px;
  height: 14px;
}

.timeline-arrow.arrow-left img {
  rotate: 180deg;
}

/* Clipping window — overflow hidden, flex:1 */
.timeline-years {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Sliding inner track — all years rendered, translated by JS */
.timeline-years-track {
  display: flex;
  align-items: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Each button identical fixed width so math is exact */
.timeline-year-btn {
  font-size: clamp(15px, 0.89vw, 17px);
  line-height: 2;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
  transition: color 0.15s;
  flex-shrink: 0;
  width: 76px;
  text-align: center;
}

.timeline-year-btn:hover {
  color: var(--black);
}

.timeline-year-btn.active {
  color: var(--orange);
  /*font-weight:700;*/
}

/* Year content panels */
.timeline-content {
  position: relative;
  width: 100%;
  max-width: min(100%, 928px);
  margin-inline: auto;
  padding-top: 80px;
}

.timeline-panel {
  display: none;
  line-height: 1.6;
}

.timeline-panel.active {
  display: block;
}

.timeline-panel p {
  margin-bottom: 16px;
}

.timeline-panel p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .milestone-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .milestone-grid.three-card-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* ════════════════════════════════════════════════════════
   CONTENT TYPE B — Person list + Organigram
════════════════════════════════════════════════════════ */
/* Intro block (reuses subpage-intro, adds body text) */
.content-intro {
  padding: 56px 0 40px;
}

.content-intro-h {
  font-size: var(--fs-32);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: normal;
  margin-bottom: 32px;
  padding-left: var(--space-left);
}

.content-intro-p {
  font-size: var(--fs-20);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: clamp(720px, 40vw, 768px);
  padding-left: var(--space-left);
}
.content-intro-p.intro-18 {
  font-size: var(--fs-18);
  line-height: 1.55;
  padding-top: 8px;
}

.organigram-section .content-intro-p {
  padding-left: 0;
}

.content-intro-no-l-padding .wrap {
  padding-top: var(--page-wrap-padding);
}
.content-intro-no-l-padding .content-intro-h {
  padding-left: 0;
}
.content-intro-no-l-padding .content-intro-p {
  padding-left: 0;
}

.content-intro-center {
  background-color: var(--gray-light);
  padding: 64px 0 48px;
}
.content-intro-center .content-intro-h {
  font-size: var(--fs-32);
  text-align: center;
}
.content-intro-center .content-intro-p {
  text-align: center;
  margin-inline: auto;
  line-height: 1.4;
}

/* Section heading inside content (Izvrsni direktorji, Organigram) */
.content-h {
  font-size: clamp(22px, 1.46vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  font-style: normal;
  letter-spacing: normal;
  margin-bottom: 10px;
}

/* Person list */
.person-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.person-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  padding: 42px 0;
  transition: opacity 0.15s;
}

.person-item:first-child {
  padding-top: 0;
}

.person-item:hover {
  opacity: 0.8;
}

.person-img {
  width: 100%;
  max-width: 346px;
  /*aspect-ratio: 19 / 20;*/
  background: #6b4035;
  overflow: hidden;
}
.person-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.person-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.person-body {
  padding: 0 0 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 4px;
}

.person-role {
  font-size: 14px;
  margin-bottom: 12px;
}

.person-name {
  font-size: var(--fs-17);
  font-weight: 700;
  margin-bottom: 28px;
}

.person-bio {
  line-height: 1.8;
  max-width: clamp(720px, 40vw, 768px);
}

/* Organigram section */
.organigram-section {
  padding: 64px 0 80px;
}

.organigram-date {
  font-size: clamp(18px, 1.09vw, 21px);
  line-height: 1.3;
  padding-top: 24px;
  margin-bottom: 32px;
}

/*.organigram-svg-wrap{overflow-x:auto}*/
/* New organigram */
.organigram-wrap {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.organigram {
  --org-line: #8f8f8f;
  --org-bg: #ffffff;
  --org-box-bg: #f7f7f9;
  --org-row-h: clamp(54px, 3.1vw, 60px);
  --org-box-h: var(--org-row-h);
  --org-bridge-w: clamp(28px, 4vw, 72px);
  position: relative;
  display: grid;
  --org-bridge-w-2: clamp(20px, 3vw, 48px);
  grid-template-columns: clamp(210px, 22vw, 320px) var(--org-bridge-w) minmax(320px, 460px) var(--org-bridge-w-2) minmax(320px, 460px);
  align-items: start;
  min-width: 868px;
  background: var(--org-bg);
}

/* Left ownership structure */
.org-tree {
  position: relative;
  grid-column: 1;
  align-self: start;
  height: calc(var(--org-row-h) * 8);
}

.org-tree::before {
  content: "";
  position: absolute;
  left: 50%;
  top: var(--org-box-h);
  width: 1px;
  height: calc(var(--org-row-h) * 4 - var(--org-box-h));
  background: var(--org-line);
  transform: translateX(-50%);
}

.org-box {
  position: absolute;
  left: 0;
  z-index: 2;
  width: 100%;
  height: var(--org-box-h);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--org-line);
  background: var(--org-box-bg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.org-box--parent {
  top: 0;
}

.org-box--group {
  top: calc(var(--org-row-h) * 4);
  transform: translateY(-50%);
}

.org-box--group::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: calc(var(--org-bridge-w) + 1px);
  height: 1px;
  background: var(--org-line);
}

.org-share {
  position: absolute;
  left: 50%;
  top: calc(var(--org-row-h) * 2.4);
  z-index: 3;
  padding: 4px 10px;
  background: var(--org-bg);
  font-size: clamp(22px, 1.3vw, 25px);
  line-height: 1;
  transform: translate(-50%, -50%);
}

/* Tables */
.org-table {
  position: relative;
  align-self: start;
  border-top: 1px solid var(--org-line);
  border-left: 1px solid var(--org-line);
  border-right: 1px solid var(--org-line);
}

.org-table--main {
  position: relative;
  grid-column: 3;
  grid-row: 1;
}

.org-table--main::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  z-index: 2;
  width: 1px;
  height: calc(var(--org-row-h) * 5);
  background: var(--org-line);
}

.org-table--side {
  position: absolute;
  left: calc(100% + var(--org-bridge-w-2));
  top: calc(var(--org-row-h) * 4);
  width: 100%; /* match the main table's own width */
  min-width: 320px;
  /*border: 1px solid var(--org-line);*/
  margin-top: 0;
}

.org-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  align-items: center;
  min-height: var(--org-row-h);
  border-bottom: 1px solid var(--org-line);
  font-size: 16px;
  line-height: 1.25;
}

.org-row span:first-child {
  padding-inline: clamp(16px, 1.4vw, 24px);
}

.org-row span:last-child {
  padding-right: clamp(16px, 1.4vw, 24px);
  text-align: right;
}

/* Connector line from a row to the side table */
.org-row--has-child {
  position: relative;
}

.org-row--has-child::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: calc(var(--org-bridge-w-2) + 2px);
  height: 1px;
  background: var(--org-line);
  z-index: 3;
}

.organigram-mobile {
  display: none;
}

@media (max-width: 767px) {
  .organigram-wrap {
    display: block; /* override the current display:none */
  }
  .organigram-mobile {
    display: none;
  }
  .organigram {
    display: block; /* drop the grid entirely */
    min-width: 0;
  }
  /* Tree: stack boxes vertically, centered */
  .org-tree {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .org-tree::before {
    left: 50%;
    top: auto;
    height: 32px; /* fixed connector height between the two boxes */
  }
  .org-box {
    position: static;
    width: 200px;
    transform: none;
    margin: 0 auto;
  }
  .org-box--group {
    margin-top: 32px; /* space for the line drawn by ::before */
  }
  .org-share {
    position: static;
    transform: none;
    text-align: center;
    font-size: 18px;
    margin: 4px auto;
  }
  /* Main table: full width, connects below KD Group box */
  .org-table--main {
    width: 100%;
    margin-top: 0;
    border-right: 1px solid var(--org-line); /* restore right border */
  }
  .org-table--main::after {
    display: none; /* not needed, border-right handles it */
  }
  /* Side table: indented to show it belongs to KD Priložnost */
  .org-table--side {
    position: static; /* back to normal flow */
    grid-column: unset;
    left: auto;
    top: auto;
    width: calc(100% - 24px);
    margin-left: 24px;
    margin-top: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid var(--org-line);
  }
  /* Hide the horizontal connector line — doesn't work vertically */
  .org-row--has-child::after {
    display: none;
  }
  /* Add a left indent marker on the side table instead */
  .org-table--side::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 0;
    width: 23px;
    height: 50%;
    border-left: 1px solid var(--org-line);
    border-bottom: 1px solid var(--org-line);
  }
}
/* ════════════════════════════════════════════════════════
   CONTENT TYPE C — Person profile detail
   No hero on this page type.
════════════════════════════════════════════════════════ */
.profile-wrap {
  padding: 56px 0 120px;
}

.profile-name {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: 6px;
}

.profile-role {
  font-size: var(--fs-18);
  margin-bottom: 40px;
  color: var(--gray-text);
}

.profile-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  color: inherit;
  padding: 16px 0 42px 0;
}

.profile-photo {
  width: 100%;
  max-width: 346px;
  /*aspect-ratio: 19/20;*/
  overflow: hidden;
}

.profile-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-bio {
  line-height: 1.8;
  max-width: clamp(720px, 40vw, 768px);
  padding: 0;
  padding-left: clamp(40px, 3.75vw, 72px);
}

/* ════════════════════════════════════════════════════════
   CONTENT TYPE G — News / public announcements list
════════════════════════════════════════════════════════ */
.news-wrap {
  padding: 48px 0 96px;
}

.news-header-padding {
  padding-left: var(--space-left);
}

.news-heading {
  font-size: var(--fs-28);
  line-height: 1.2;
  font-weight: 600;
  padding-left: var(--space-left);
  margin-bottom: clamp(32px, 2.19vw, 42px);
}

/* Filter row */
.news-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  padding-left: var(--space-left);
}

.news-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 13px 90px 13px 24px;
  font-size: var(--fs-17);
  color: var(--black);
  font-family: inherit;
  background: var(--gray-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 24' fill='none' stroke='%23767672' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 18px center;
  border: 1px solid var(--gray-light);
  cursor: pointer;
  outline: none;
  min-width: 120px;
  transition: border-color 0.15s;
}

.news-select:hover, .news-select:focus {
  border-color: #a0a09c;
}

/* List */
.news-list {
  border-top: 1px solid var(--gray-border);
}

.news-item {
  display: block;
  padding: 24px 0 28px 0;
  padding-left: var(--space-left);
  border-bottom: 1px solid var(--gray-border);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}

.news-item:hover {
  opacity: 0.7;
}

.news-item[hidden] {
  display: none;
}

.news-item-date {
  color: var(--gray-text);
  margin-bottom: 12px;
}

.news-item-title {
  font-size: var(--fs-17);
  font-weight: 700;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════
   CONTENT TYPE H — News / announcement detail
════════════════════════════════════════════════════════ */
.news-detail-wrap {
  padding: 48px 0 96px;
}

.news-detail-content {
  /*max-width:680px*/
}

.news-detail-title {
  font-size: var(--fs-20);
  font-weight: 700;
  line-height: 2.2;
  margin-bottom: 10px;
}

.news-detail-date {
  font-size: var(--fs-18);
  line-height: 1.4;
  font-weight: 400;
  color: var(--gray-text);
  margin-bottom: 32px;
  display: block;
}

.news-detail-body {
  font-size: var(--fs-18);
  line-height: 1.4;
  font-weight: 400;
  /*margin-bottom:16px;*/
}

.news-detail-sender {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 24px;
}

/* Documents section */
.news-docs {
  margin-top: 48px;
}

.news-docs-heading {
  font-size: var(--fs-18);
  line-height: 1.4;
  color: var(--black);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 0;
}

.news-doc-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  border-bottom: 1px solid var(--gray-border);
  padding-top: clamp(20px, 1.25vw, 24px);
  padding-bottom: var(--fs-28);
  /*
  &:last-child {
    border-bottom: none;
  }
  */
}

.news-doc-left {
  min-width: 0;
}

.news-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.news-doc-date {
  color: var(--gray-text);
  margin-bottom: 12px;
}

.news-doc-title {
  font-size: var(--fs-17);
  line-height: 1.4;
  font-weight: 600;
}

.news-doc-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-17);
  line-height: 1.4;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-doc-dl:hover {
  opacity: 0.7;
}

.news-doc-dl::after {
  content: "";
  width: 17px;
  height: 17px;
  display: inline-block;
  background: currentColor;
  -webkit-mask-image: url("/assets/images/layout/Download.svg");
  mask-image: url("/assets/images/layout/Download.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.news-doc-esef::after {
  content: "";
  width: 13px;
  height: 8px;
  display: inline-block;
  background: currentColor;
  -webkit-mask-image: url("/assets/images/layout/Link_icon.svg");
  mask-image: url("/assets/images/layout/Link_icon.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.news-doc-dl svg {
  width: 20px;
  height: 20px;
}

/* ════════════════════════════════════════════════════════
   CONTENT TYPE I & J — Document list pages
   Shared doc-list component reused across both pages.
════════════════════════════════════════════════════════ */
.doc-page-wrap {
  /*padding:40px 0 96px*/
}
.doc-page-wrap .wrap .doc-section:first-child .doc-section-heading {
  padding-top: 0;
}
.doc-page-wrap .wrap .doc-section--w-button .doc-section-heading {
  padding-top: clamp(56px, 4.17vw, 80px) !important;
}

/* Standalone placement: block sits on a page that gives it no top spacing
   of its own (e.g. inside .page-wrap.no-top-p after a full-bleed section) —
   restore the normal first-heading top spacing. */
.doc-page-wrap--standalone .wrap .doc-section:first-child .doc-section-heading {
  padding-top: clamp(56px, 4.17vw, 80px);
}

.doc-page-intro {
  font-size: var(--fs-18);
  line-height: 1.5;
  font-weight: 400;
  max-width: min(100%, 1024px);
  padding-left: var(--space-left);
}

/* Named section — heading + one doc-list
.doc-section{margin-bottom:56px}
.doc-section:last-child{margin-bottom:0}
*/
.doc-section-heading {
  font-size: var(--fs-28);
  line-height: 1.2;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-border);
  padding-top: clamp(56px, 4.17vw, 80px);
  padding-bottom: var(--space-36);
  padding-left: var(--space-left);
}

/* Standalone "Dokumenti" heading (type J — no section wrapper) */
/*
.doc-heading{
  font-size:14px;font-weight:700;
  color:var(--black);margin-bottom:0;
  padding-bottom:16px;
  border-bottom:1px solid var(--gray-border);
}
*/
/* Between-section note (small gray paragraph between lists) */
.doc-note {
  max-width: min(100%, 706px);
  font-size: clamp(18px, 1.09vw, 21px);
  line-height: 1.45;
  font-weight: 400;
  padding-top: clamp(64px, 5.1vw, 98px);
  padding-bottom: var(--space-36);
  padding-left: var(--space-left);
  border-bottom: 1px solid var(--gray-border);
}

/* "Povezava →" — external link variant of news-doc-dl */
.news-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--orange);
  white-space: nowrap;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-decoration: none;
  transition: opacity 0.15s;
}

.news-doc-link:hover {
  opacity: 0.7;
}

.news-doc-link svg {
  width: 13px;
  height: 13px;
}

.doc-page-wrap .news-heading {
  padding-left: var(--space-left);
}
.doc-page-wrap .news-doc-item {
  padding-left: var(--space-left);
}
.doc-page-wrap .news-docs-heading {
  font-weight: 600;
  padding-left: var(--space-left);
  padding-bottom: 30px;
}
.doc-page-wrap .doc-section--w-button .doc-section-heading {
  border-bottom: none;
}
.doc-page-wrap .doc-section--w-button .doc-note {
  padding-top: 0;
  border-bottom: none;
}
.doc-page-wrap .doc-section--w-button .dd-btn {
  font-size: 15px;
  margin-top: var(--space-36);
  padding-block: clamp(16px, 1.15vw, 22px);
  padding-inline: clamp(20px, 1.46vw, 28px);
  display: inline-flex;
  width: auto;
}

/* ════════════════════════════════════════════════════════
   ABOUT PAGES — O druzbi (KD + KD Group)
   Shared sub-components used by both templates.
════════════════════════════════════════════════════════ */
/* Page layout */
.about-wrap {
  padding: 48px 0 80px;
}

.about-section {
  margin-bottom: 56px;
}
.about-section.about-section--header {
  padding-left: var(--space-left);
  margin-bottom: 64px;
}
.about-section.about-section--header h2.about-h {
  padding-left: 0;
  padding-bottom: 20px;
}
.about-section.about-section--notes .btn-outline {
  margin-left: var(--space-left);
}

.about-section:last-child {
  margin-bottom: 0;
}

.archive-link {
  padding-left: var(--space-left);
  padding-top: 22px;
}
.archive-link a {
  color: var(--orange);
  text-decoration: underline;
  font-size: var(--fs-17);
  line-height: 1.4;
  font-weight: 600;
}
.archive-link a:hover {
  color: var(--black);
}

/* Section heading — used for all named blocks */
.about-h {
  font-size: var(--fs-32);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 16px;
  padding-left: var(--space-left);
}

/* Sub-heading inside a section (e.g. "Dokumenti") */
.about-sub-h {
  font-size: var(--fs-18);
  line-height: 1.4;
  font-weight: 600;
  padding-top: clamp(56px, 3.54vw, 68px);
  padding-bottom: clamp(28px, 1.77vw, 34px);
  padding-left: var(--space-left);
  border-bottom: 1px solid var(--gray-border);
}
.about-sub-h.about-sub-h-small-tp {
  padding-top: 16px;
}

/* Intro paragraphs */
.about-intro-p {
  font-size: var(--fs-20);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: min(100%, 820px);
}

.about-intro-p:last-child {
  margin-bottom: 0;
}

.type-1-intro-p {
  padding-left: var(--space-left);
  font-size: var(--fs-18);
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: clamp(28px, 1.77vw, 34px);
}
.type-1-intro-p h2.about-h {
  padding-left: 0;
}

/* ── Info table (Delnica, Podatki o druzbi) ── */
.info-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: var(--fs-17);
  line-height: 1.4;
}

.info-table td {
  padding: 22px 0;
  padding-left: var(--space-left);
  vertical-align: top;
  border-bottom: 1px solid var(--gray-border);
}

.info-table tr:first-child td {
  border-top: 1px solid var(--gray-border);
}

.info-table .info-label {
  width: 35%;
  padding-right: 12px;
  font-weight: 600;
}

.info-table .info-value {
  width: auto;
  background: var(--gray-light);
  padding-left: 16px;
}
.info-table .info-value.info-value--no-bg {
  background: none;
}
.info-table .info-value.right-align {
  text-align: right;
  padding-right: var(--space-left);
}

.info-table-type-2 td {
  border: 1px solid var(--gray-border);
}
.info-table-type-2 th {
  border: 1px solid var(--gray-border);
}

/* ── Financial highlights table (Zadnji financni poudarki) ── */
.highlights-wrap {
  margin-bottom: 32px;
  /**/
  padding-top: 24px;
}

.highlights-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-17);
}

.highlights-table th {
  /*padding:8px 12px 8px 0;
  font-size:11px;*/
  text-align: left;
  padding-left: var(--space-left);
  padding-top: 22px;
  padding-bottom: 22px;
  font-weight: 700;
  /*color:var(--gray-text);*/
  border-bottom: 1px solid var(--gray-border);
  border-top: 1px solid var(--gray-border);
  background-color: var(--gray-light);
  vertical-align: top;
  white-space: nowrap;
}

.highlights-table th:last-child {
  padding-right: 24px;
}

.highlights-table td {
  /*
  padding:8px 12px 8px 0;
  border-bottom:1px solid var(--gray-border);
  color:var(--gray-text);vertical-align:top;
  */
  padding-top: 22px;
  padding-bottom: 22px;
  padding-left: var(--space-left);
  border-bottom: 1px solid var(--gray-border);
  vertical-align: middle;
}

.highlights-table td:first-child {
  color: var(--black);
  font-weight: 600;
}

.highlights-footnote {
  font-size: 11px;
  color: var(--gray-text);
  margin-top: 8px;
  line-height: 1.6;
}

/* Documents inside About Section */
.document-wrapper {
  padding-bottom: 24px;
}

.about-section .about-sub-h {
  /*
  font-size: var(--fs-18);
  line-height: 1.4;
  font-weight: 400;
  */
}
.about-section .news-doc-item {
  padding-left: var(--space-left);
}

/* ── Share price table (Enotni tecaji delnic) ── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--gray-border);
  font-size: var(--fs-17);
  line-height: 1.4;
  /*margin-bottom:12px;*/
}

.price-table th {
  text-align: left;
  padding: 22px;
  padding-left: var(--space-left);
  font-weight: 700;
  border: 1px solid var(--gray-border);
  /*border-bottom:1px solid var(--gray-border);*/
}
.price-table th.cell-with-bg {
  background-color: var(--gray-light);
}

.price-table td {
  padding: 22px;
  padding-left: var(--space-left);
  border: 1px solid var(--gray-border);
  /*border-bottom:1px solid var(--gray-border);*/
  color: var(--black);
  font-weight: 700;
}

.price-table td.price-val {
  font-weight: 400;
  background-color: var(--gray-light);
}

.price-table td.price-change {
  font-weight: 400;
  background-color: var(--gray-light);
}

.price-note-wrapper {
  padding-left: var(--space-left);
}

.price-note {
  font-size: var(--fs-17);
  line-height: 1.4;
  padding-top: 22px;
  margin-bottom: 0;
}

.price-note a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-outline {
  font-size: 15px;
  margin-top: var(--space-36);
  padding-block: clamp(16px, 1.15vw, 22px);
  padding-inline: clamp(20px, 1.46vw, 28px);
  display: inline-flex;
  width: auto;
  border: 1px solid var(--gray-border);
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  background: var(--white);
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: #a0a09c;
  background: var(--gray-light);
}

/* ── Dividends table ── */
.dividends-label {
  font-size: var(--fs-7);
  /*font-weight:700;*/
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: var(--space-left);
  /*
  margin-bottom:8px;
  */
}

.div-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.div-table th {
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--gray-border);
  padding-top: 22px;
  padding-bottom: 22px;
  padding-left: var(--space-left);
  vertical-align: top;
  background-color: var(--gray-light);
}
.div-table th:last-child {
  padding-right: 24px;
}
.div-table th {
  /*
  white-space:nowrap;
  */
}

.div-table td {
  padding-top: 22px;
  padding-bottom: 22px;
  padding-left: var(--space-left);
  border-bottom: 1px solid var(--gray-border);
  vertical-align: middle;
}

.div-table td:first-child {
  color: var(--black);
}

.dividends-wrap .dividends-row--extra {
  display: none;
}

.dividends-wrap.is-expanded .dividends-row--extra {
  display: table-row;
}

.dividends-wrap .dividends-col-sit {
  display: none;
}

.dividends-wrap.is-expanded .dividends-col-sit {
  display: table-cell;
}

.dividends-note-row td {
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-text);
  background-color: var(--gray-light);
}

.dividends-note-row p,
.dividends-note-row ul {
  margin-bottom: 8px;
}

.dividends-note-row p:last-child,
.dividends-note-row ul:last-child {
  margin-bottom: 0;
}

.dividends-note-row ul {
  padding-left: 18px;
}

.dividends-source-note {
  margin-top: -8px;
  margin-bottom: 16px;
}

.dividends-toggle {
  margin-top: 0;
  margin-left: var(--space-left);
  margin-bottom: 24px;
}

.div-legal {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 680px;
}

.div-legal p {
  margin-bottom: 12px;
}

.div-legal p:last-child {
  margin-bottom: 0;
}

/* ── Vodstvo / Leadership list ── */
.leadership-group + .leadership-group {
  margin-top: 40px;
}

.leadership-label {
  font-weight: 700;
  margin-bottom: 0;
  border: 1px solid var(--gray-border);
  background-color: var(--gray-light);
  border-bottom: none;
  padding-top: 26px;
  padding-bottom: 26px;
  padding-left: var(--space-left);
}

.leadership-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 26px 0;
  padding-left: var(--space-left);
  border-bottom: 1px solid var(--gray-border);
  border-left: 1px solid var(--gray-border);
  border-right: 1px solid var(--gray-border);
}

.leadership-item > div {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
}

.leadership-name {
  font-weight: 700;
}

.leadership-link {
  font-size: 14px;
  color: var(--orange);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.15s;
  font-weight: 700;
  margin-right: clamp(24px, 1.88vw, 36px);
}

.leadership-link:hover {
  opacity: 0.7;
}

/* ── KD page: Obveznica block note ── */
.obveznica-note {
  font-size: var(--fs-17);
  line-height: 1.6;
  padding-left: var(--space-left);
}

/* ════════════════════════════════════════════════════════
   STOCK ARCHIVE — Arhiv tecajev delnic
════════════════════════════════════════════════════════ */
.archive-wrap {
  padding: 48px 0 96px;
}

.archive-heading {
  font-size: var(--fs-28);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: clamp(56px, 4.06vw, 78px);
}

/* Filter form — info-table style with border */
.archive-form {
  border: 1px solid var(--gray-border);
  margin-bottom: 32px;
}

.archive-form-row {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  border-bottom: 1px solid var(--gray-border);
}

.archive-form-row:last-child {
  border-bottom: none;
}

.archive-form-label {
  padding-left: var(--space-left);
  padding-top: 14px;
  padding-bottom: 14px;
  line-height: 28px;
  border-right: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
}

.archive-form-value {
  padding-left: var(--space-left);
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  font-weight: 600;
  background-color: var(--gray-light);
}

.archive-date-input {
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--gray-border);
  padding: 8px;
  background: var(--white);
  outline: none;
  cursor: pointer;
  width: auto;
  transition: border-color 0.15s;
}

.archive-date-input:focus, .archive-date-input:hover {
  border-color: #a0a09c;
}

.archive-date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  margin-left: 6px;
}

/* Results table */
.archive-results {
  margin-top: 32px;
}

.archive-results[hidden] {
  display: none;
}

.archive-table {
  width: 100%;
  border-collapse: collapse;
}
.archive-table tr td:first-child {
  width: 37.5%;
}
.archive-table tr td:last-child {
  width: 62.5%;
}

.archive-table th {
  text-align: left;
  border: 1px solid var(--gray-border);
  padding-left: var(--space-left);
  padding-top: 14px;
  padding-bottom: 14px;
  line-height: 28px;
}
.archive-table th:last-child {
  background: var(--gray-light);
}

.archive-table td {
  border-left: 1px solid var(--gray-border);
  border-right: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding-left: var(--space-left);
  padding-top: 14px;
  padding-bottom: 14px;
  line-height: 28px;
}
.archive-table td:last-child {
  background: var(--gray-light);
}

.archive-table tr:last-child td {
  border-bottom: 1px solid var(--gray-border);
}

.no-border-no-bg {
  border: none;
}
.no-border-no-bg .archive-form-label {
  border: none;
}
.no-border-no-bg .archive-form-value {
  background-color: transparent;
}
.no-border-no-bg .btn-outline {
  margin-top: 0;
}

/* ════════════════════════════════════════════════════════
   CONTACT PAGE
════════════════════════════════════════════════════════ */
.contact-wrap {
  padding: 48px 0 96px;
}

.contact-section {
  margin-bottom: 40px;
}
.contact-section .info-table {
  max-width: 728px;
}
.contact-section .info-table .info-label {
  border-left: 1px solid var(--gray-border);
}
.contact-section .info-table .info-value {
  border-right: 1px solid var(--gray-border);
}

.contact-h {
  font-size: var(--fs-32);
  line-height: 1.4;
  font-weight: 700;
  color: var(--black);
  margin-bottom: var(--space-36);
}

.contact-sub-h {
  font-size: clamp(20px, 1.15vw, 22px);
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: clamp(24px, 1.67vw, 32px);
  padding-top: clamp(16px, 1.04vw, 20px);
}

/* Contact form box */
.contact-form-box {
  border: 1px solid var(--gray-border);
  background-color: var(--gray-light);
  padding: 24px;
  padding-top: 36px;
  padding-bottom: 36px;
  max-width: 728px;
}
.contact-form-box .btn-outline {
  margin-top: 16px;
}

.contact-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 32px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field-full {
  margin-bottom: 16px;
}

.contact-label {
  margin-bottom: 12px;
}

.contact-input,
.contact-textarea {
  font-size: var(--fs-17);
  border: 1px solid var(--gray-border);
  padding: 12px 16px;
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}

.contact-input:focus, .contact-textarea:focus {
  border-color: #a0a09c;
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

@media (max-width: 520px) {
  .contact-fields-row {
    grid-template-columns: 1fr;
  }
}
/* ════════════════════════════════════════════════════════
   DEFAULT PAGE
════════════════════════════════════════════════════════ */
.default-page-wrap {
  padding: 56px 0 96px;
}

.default-heading {
  font-size: var(--fs-32);
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: var(--space-36);
}

.def-content {
  max-width: min(100%, 820px);
}

.def-content h2 {
  font-size: clamp(22px, 1.25vw, 24px);
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: clamp(22px, 1.46vw, 28px);
}

.def-content h3 {
  font-size: clamp(19px, 1.09vw, 21px);
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: clamp(18px, 1.25vw, 24px);
}

.def-content p {
  margin-bottom: clamp(18px, 1.25vw, 24px);
}

.def-content ul,
.def-content ol {
  margin-bottom: clamp(18px, 1.25vw, 24px);
  padding-left: 1.25em;
  list-style-position: outside;
}

.def-content ul {
  list-style-type: disc;
}

.def-content ol {
  list-style-type: decimal;
  padding-left: 0.4em;
  list-style-position: inside;
}

.def-content li {
  margin-bottom: 0.35em;
}

/* ------------------------------------------------------------
   Search Modal - Desktop / Default
------------------------------------------------------------ */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.search-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal__inner {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: clamp(32px, 5vw, 56px);
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms ease;
}

.search-modal.is-open .search-modal__inner {
  transform: translateY(0) scale(1);
}

.search-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #000;
  font: inherit;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.search-modal__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.search-modal__close:active {
  transform: scale(0.96);
}

.search-modal__title {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 600;
}

.search-modal__form {
  display: grid;
  gap: 16px;
}

.search-modal__label {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.4;
  font-weight: 400;
}

.search-modal__input-row {
  display: flex;
  gap: 12px;
}

.search-modal__input {
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 2px;
  color: #000;
  font: inherit;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1;
  appearance: none;
}

.search-modal__input::placeholder {
  color: rgba(0, 0, 0, 0.44);
}

.search-modal__input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.search-modal__submit {
  flex: 0 0 auto;
  height: 56px;
  padding: 0 28px;
  background: #000;
  border: 1px solid #000;
  border-radius: 2px;
  color: #fff;
  font: inherit;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.search-modal__submit:hover {
  background: #222;
  border-color: #222;
}

.search-modal__helper {
  margin: 8px 0 0;
  max-width: 560px;
  color: rgba(0, 0, 0, 0.62);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.5;
  font-weight: 400;
}

/* ------------------------------------------------------------
   Search Results - Desktop / Default
------------------------------------------------------------ */
.search-results {
  max-width: 928px;
}

.search-results__form {
  margin-bottom: 48px;
}

.search-results__label {
  display: block;
  margin-bottom: 12px;
  font-size: var(--fs-18);
  line-height: 1.4;
  font-weight: 400;
}

.search-results__input-row {
  display: flex;
  gap: 12px;
}

.search-results__input {
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 2px;
  color: #000;
  font: inherit;
  font-size: var(--fs-18);
  line-height: 1;
  appearance: none;
}

.search-results__input::placeholder {
  color: rgba(0, 0, 0, 0.44);
}

.search-results__input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.search-results__submit {
  flex: 0 0 auto;
  height: 56px;
  padding: 0 28px;
  background: #000;
  border: 1px solid #000;
  border-radius: 2px;
  color: #fff;
  font: inherit;
  font-size: var(--fs-17);
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.search-results__submit:hover {
  background: #222;
  border-color: #222;
}

.search-results__summary {
  margin-bottom: 32px;
  color: rgba(0, 0, 0, 0.68);
  font-size: var(--fs-18);
  line-height: 1.5;
}

.search-results__summary p {
  margin: 0;
}

.search-results__summary p + p {
  margin-top: 4px;
}

.search-results__list {
  display: grid;
}

.search-results__item {
  padding: 32px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.search-results__item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.search-results__type {
  margin: 0 0 10px !important;
  color: rgba(0, 0, 0, 0.56);
  font-size: var(--fs-17);
  line-height: 1.4;
  font-weight: 600;
}

.search-results__title {
  margin: 0 0 12px;
  font-size: var(--fs-28);
  line-height: 1.15;
  font-weight: 600;
}

.search-results__title a {
  color: inherit;
  text-decoration: none;
}

.search-results__title a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.search-results__excerpt {
  max-width: 760px;
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  font-size: var(--fs-18);
  line-height: 1.55;
  font-weight: 400;
}

/* Optional: no results state */
.search-results__empty {
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.search-results__empty h2 {
  margin: 0 0 12px;
  font-size: var(--fs-28);
  line-height: 1.15;
  font-weight: 600;
}

.search-results__empty p {
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  font-size: var(--fs-18);
  line-height: 1.55;
  font-weight: 400;
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
/* ─── Tablet / small desktop ─────────────────────────── */
@media (max-width: 1024px) {
  /* Header / navigation */
  .nav-links,
  .nav-utils {
    display: none;
  }
  .mob-toggle {
    display: flex;
  }
  .mob-nav {
    display: block;
  }
  /* Homepage stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
  }
  /* History section */
  .history-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* Feature items */
  .feature-item {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .feature-item-media {
    aspect-ratio: 16/9;
    min-height: 220px;
  }
  .feature-item-body {
    padding: 28px 24px 32px;
  }
  /* People / board items */
  .person-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .person-img {
    width: 100%;
    /*height: 260px;*/
  }
  .person-body {
    padding: 0;
  }
  /* Footer */
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
/* ─── Mobile ─────────────────────────────────────────── */
@media (max-width: 767px) {
  :root {
    --nav-h: var(--nav-h-mobile);
    --hero-home-h: 84vh;
    --hero-home-h: 84svh;
    --stats-side-inset: 0;
    --page-wrap-padding: 36px;
  }
  .hero-img {
    display: none;
  }
  .hero-img-mobile {
    display: block;
  }
  .site-header {
    height: var(--nav-h);
  }
  .nav-bar {
    height: var(--nav-h);
  }
  .content-intro-h {
    padding-left: 0;
  }
  .content-intro-p {
    padding-left: 0;
  }
  /* Upravljanje - team */
  .person-img {
    max-width: none;
  }
  /* Team - oseba */
  .profile-body {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 16px 0 42px;
  }
  .profile-img {
    width: 100%;
    max-width: none;
  }
  .profile-bio {
    padding-left: 0;
  }
  .profile-role {
    margin-bottom: 16px;
  }
  /* Navigation */
  .lang-toggle {
    padding: 0;
  }
  /* Activity Cards */
  .act-card-body {
    padding: 32px 22px 32px 22px;
  }
  /* Footer */
  .site-footer {
    padding-bottom: 32px;
  }
  .footer-cols {
    padding-bottom: 64px;
  }
  .footer-investor-grid {
    padding-bottom: 0;
  }
  .footer-copy {
    font-size: 12px;
    order: 2;
  }
  .footer-legal {
    order: 1;
    margin-bottom: 32px;
  }
  .footer-legal a {
    font-size: 12px;
    line-height: 2;
  }
  .footer-link {
    line-height: 1.6;
  }
  .footer-col-head {
    margin-bottom: 16px;
  }
  /* quote section */
  .quote-section {
    padding: 0 0 144px 0;
  }
  /* Feature items */
  .feature-item-media {
    aspect-ratio: 1/1;
    min-height: auto;
  }
  /* Milestone grid */
  .timeline-section {
    padding-top: 16px;
  }
  .timeline-heading {
    margin-bottom: 40px;
  }
  .timeline-content {
    padding-top: 32px;
  }
  .timeline-year-btn {
    width: 56px;
  }
  /* News */
  .news-header-padding {
    padding-left: 0;
  }
  .news-item {
    padding-left: 0;
  }
  .news-item-title {
    line-height: 1.3;
  }
  .news-select {
    padding: 13px 64px 13px 24px;
  }
  /* News Detail */
  .news-detail-title {
    line-height: 1.4;
  }
  .news-doc-item {
    column-gap: 12px;
  }
  .news-doc-row {
    align-items: flex-end;
  }
  .doc-page-wrap .news-heading {
    padding-left: 0;
  }
  .doc-page-wrap .news-doc-item {
    padding-left: 0;
  }
  .doc-page-wrap .news-docs-heading {
    padding-left: 0;
  }
  .doc-page-wrap .doc-page-intro, .doc-page-wrap .doc-section-heading, .doc-page-wrap .doc-note {
    padding-left: 0;
  }
  .doc-page-wrap .doc-section--w-button .dd-btn {
    display: table;
    width: auto;
    margin-top: 24px;
  }
  /* O druzbi */
  .about-section.about-section--header {
    padding-left: 0;
  }
  .type-1-intro-p {
    padding-left: 0;
  }
  .info-table td {
    padding-left: 0;
  }
  .about-sub-h {
    padding-left: 0;
  }
  .about-section .news-doc-item {
    padding-left: 0;
  }
  .archive-link {
    padding-left: 0;
  }
  .price-note-wrapper {
    padding-left: 0;
  }
  .obveznica-note {
    padding-left: 0;
  }
  .about-section.about-section--notes .btn-outline {
    margin-left: 0;
  }
  .leadership-item {
    font-size: 13px;
  }
  .leadership-item > div {
    display: block;
  }
  .leadership-role::before {
    content: "";
  }
  .leadership-link {
    font-size: 13px;
    align-self: center;
  }
  .div-table {
    font-size: 13px;
  }
  .div-table th {
    font-size: 13px;
  }
  .price-table {
    font-size: 13px;
  }
  .price-table th {
    font-size: 13px;
  }
  .info-table {
    font-size: 13px;
  }
  .info-table-type-2 tr td:first-child {
    padding-left: 24px;
  }
  .table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* FAQ*/
  .faq-heading, .faq-item {
    padding-left: 0;
  }
  .faq-body {
    padding-top: 4px;
  }
  .faq-trigger {
    padding: 28px 0 8px 0;
  }
  /* Contact */
  .contact-section .info-table .info-label {
    padding-left: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .contact-section .info-table .info-value {
    padding-top: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
  }
  .contact-label {
    font-size: 13px;
  }
  .contact-input, .contact-textarea {
    font-size: 15px;
  }
  .contact-fields-row {
    gap: 24px;
    margin-bottom: 24px;
  }
  .contact-form-box .btn-outline {
    font-size: 15px;
  }
  /* Search Modal */
  .search-modal {
    align-items: start;
    padding: 16px;
  }
  .search-modal__inner {
    width: 100%;
    max-height: calc(100dvh - 32px);
    margin-top: 40px;
    padding: 32px 24px 28px;
  }
  .search-modal__close {
    top: 12px;
    right: 12px;
  }
  .search-modal__title {
    padding-right: 48px;
  }
  .search-modal__input-row {
    flex-direction: column;
    gap: 12px;
  }
  .search-modal__input {
    height: 54px;
  }
  .search-modal__submit {
    width: 100%;
    height: 54px;
  }
  .search-modal__helper {
    margin-top: 4px;
  }
  /* Search Results */
  .search-results {
    max-width: 100%;
  }
  .search-results__form {
    margin-bottom: 36px;
  }
  .search-results__input-row {
    flex-direction: column;
    gap: 12px;
  }
  .search-results__input {
    height: 54px;
  }
  .search-results__submit {
    width: 100%;
    height: 54px;
  }
  .search-results__summary {
    margin-bottom: 24px;
  }
  .search-results__item {
    padding: 28px 0;
  }
  .search-results__type {
    margin-bottom: 8px;
  }
  .search-results__title {
    margin-bottom: 10px;
    font-size: var(--fs-28);
    line-height: 1.18;
  }
  .search-results__excerpt {
    max-width: none;
  }
  .search-results__empty {
    padding: 32px 0;
  }
}
/* ─── Small mobile ───────────────────────────────────── */
@media (max-width: 520px) {
  /* Homepage stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  /* Footer */
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Small utility variants replacing old inline spacing */
.about-sub-h--spaced {
  margin-top: 16px;
}

.obveznica-note--spaced {
  margin-top: 12px;
}

/* Utility classes */
img.cover {
  max-width: unset;
  max-height: unset;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
