/* ==========================================================================
   Bliže sebi – stilovi (one-pager)
   Paleta „BlizeSebi“, Fraunces + Inter (samostalno hostovani, bez spoljnih zahteva)
   ========================================================================== */

/* ---------- Fontovi ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../Other/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("../Other/fonts/fraunces-sr.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E;
}
@font-face {
  font-family: "Fraunces";
  src: url("../Other/fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("../Other/fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E;
}
@font-face {
  font-family: "Inter";
  src: url("../Other/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../Other/fonts/inter-sr.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E;
}

/* ---------- Tokeni ---------- */
:root {
  --bg: #FFFDF7;          /* ublažena pozadina */
  --bg-alt: #EFE6CC;
  --green-light: #E6ECE9;    /* svetla nijansa zelene iz dugmadi (#2F5D46, ~12%) – pozadina sekcija Psihoterapija i Org. razvoj */
  --green: #2F5D46;          /* primarna zelena (dugmad, naslovi, logo) */
  --green-deep: #1B2B22;     /* tamnozelena (hero podloga, tamne sekcije, footer) */
  --green-shadow: 36, 76, 56; /* RGB senke preko fotografije u hero delu */
  --gold: #C9A227;
  --terracotta: #B5622A;   /* samo za velike elemente / grafiku (kontrast) */
  --brick: #7A3B2E;        /* tekstualni linkovi i fokus */
  --ink: #2E2A1F;
  --ink-soft: #57503E;
  --line: rgba(46, 42, 31, .18);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 5.25rem;
  --container: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 999px;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .95rem + .25vw, 1.1875rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--brick); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--bg); padding: .75rem 1.1rem; border-radius: .4rem;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografija ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: inherit; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem); line-height: 1.05; letter-spacing: -.015em; }
h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -.005em; }
p { text-wrap: pretty; }
.prose p { max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }
.prose--large p { font-family: var(--font-display); font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.35; max-width: 34ch; }
.section-lead { font-size: 1.125em; color: var(--ink-soft); max-width: 46ch; }
.section--dark .section-lead { color: rgba(247, 241, 225, .82); }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.7rem; border-radius: var(--radius);
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid var(--green); transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--green); color: var(--bg); }
.btn--primary:hover { background: var(--brick); border-color: var(--brick); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--bg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.01em; }

.menu { display: flex; align-items: center; gap: clamp(.75rem, 1.6vw, 2rem); }
.menu > li { position: relative; display: flex; align-items: center; }
.top-link, .sub a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; line-height: 1.3;
}
.top-link { display: inline-block; padding: .6rem .15rem; border-bottom: 2px solid transparent; }
.top-link:hover, .top-link[aria-current] { border-bottom-color: var(--gold); }
.top-link--cta { background: var(--green); color: var(--bg); padding: .65rem 1.3rem; border-radius: var(--radius); border-bottom: 0; }
.top-link--cta:hover, .top-link--cta[aria-current] { background: var(--brick); }

/* Strelica podmenija */
.sub-toggle {
  width: 1.5rem; height: 1.75rem; padding: 0; margin-left: .1rem;
  background: none; border: 0; cursor: pointer; color: var(--ink); position: relative;
}
.sub-toggle::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: .42rem; height: .42rem; margin: -.35rem 0 0 -.21rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); margin-top: -.15rem; }

/* Padajući meni (desktop) */
.sub {
  position: absolute; top: 100%; left: -1rem; min-width: 17rem; max-width: 24rem;
  background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: .5rem 0; box-shadow: 0 18px 40px -18px rgba(46, 42, 31, .35);
  display: none;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.sub a { display: block; padding: .6rem 1.25rem; }
.sub a:hover { background: var(--bg-alt); }

.nav-toggle { display: none; }

/* Mobilni / tablet meni */
@media (max-width: 1100px) {
  :root { --header-h: 4.5rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; background: none; border: 1px solid var(--line); border-radius: .5rem; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 1.3rem; height: 2px; background: var(--ink); content: ""; position: relative; transition: transform .2s, background-color .2s;
  }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg);
    overflow-y: auto; padding: 1rem var(--gutter) 3rem;
    visibility: hidden; opacity: 0; transform: translateY(-.5rem);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .js .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .top-link { flex: 1; font-size: 1.15rem; padding: 1rem 0; border-bottom: 0; }
  .top-link--cta { margin: 1rem 0; text-align: center; flex: 1; }
  .menu > li:last-child { border-bottom: 0; }
  .sub-toggle { width: 3rem; height: 3rem; }
  .sub {
    position: static; display: none; width: 100%; max-width: none; min-width: 0;
    border: 0; border-left: 3px solid var(--gold); box-shadow: none; margin: 0 0 1rem .25rem; padding: 0;
  }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { padding: .75rem 1rem; }
  .sub a:hover { background: transparent; text-decoration: underline; }
  html.nav-open { overflow: hidden; }
}

/* ---------- Sekcije ---------- */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--green-light); }
.section--dark { background: var(--green-deep); color: var(--bg); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

/* ---------- Hero: fotografija prostora + citat ---------- */
.hero {
  --hero-photo-opacity: .5;              /* providnost fotografije */
  --hero-tint: rgba(var(--green-shadow), .29);     /* zelena senka preko crno-bele fotografije (hladna zelena, bez žutog) */
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(46rem, calc(100svh - var(--header-h)));
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--green-deep);          /* tamnozelena podloga */
  color: var(--bg);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: var(--hero-photo-opacity);
  filter: grayscale(1) contrast(1.05);   /* bez žutih tonova: crno-bela osnova */
}
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--hero-tint); }
.hero-inner { display: grid; justify-items: center; text-align: center; }
.hero-quote { margin: 0; }
.hero-quote p {
  font-family: var(--font-display); font-weight: 350; font-variation-settings: "wght" 350;
  font-size: clamp(2rem, .96rem + 4.16vw, 4.8rem); line-height: 1.1; letter-spacing: -.02em;
  max-width: 15em; margin-inline: auto; text-wrap: balance; text-shadow: 0 2px 30px rgba(10, 20, 14, .55);
}
.hero-lead { margin-top: clamp(1.5rem, 3vw, 2.5rem); font-size: clamp(1rem, .95rem + .4vw, 1.25rem); line-height: 1.6; color: rgba(247, 241, 225, .94); }
.hero-lead-line { display: block; text-wrap: balance; }
.hero-lead-line + .hero-lead-line { margin-top: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.btn--light { background: var(--bg); color: var(--green-deep); border-color: var(--bg); }
.btn--light:hover { background: var(--bg-alt); border-color: var(--bg-alt); }
.btn--outline-light { background: transparent; color: var(--bg); border-color: var(--bg); }
.btn--outline-light:hover { background: var(--bg); color: var(--green-deep); }
.hero :focus-visible { outline-color: var(--gold); }
@media (max-width: 860px) { .hero { min-height: 0; } }

/* ---------- O meni ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
/* sticky samo kad ceo stubac (naslov + fotografija + lista) staje u visinu ekrana */
@media (min-width: 901px) and (min-height: 900px) { .about-side { position: sticky; top: calc(var(--header-h) + 2rem); } }
.credentials { margin-top: 2rem; display: grid; gap: .9rem; }
.credentials li { border-left: 3px solid var(--gold); padding-left: 1rem; font-weight: 500; }
.portrait { margin: 2rem 0 0; max-width: 26rem; }
.portrait img { display: block; width: 100%; height: auto; border-radius: .25rem; }
.about-body { display: grid; }
.about-body article { padding-block: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.about-body article:first-child { padding-top: 0; border-top: 0; }
.about-body h3 { margin-bottom: .9rem; }
.about-body p { max-width: 60ch; }
.about-body .btn { margin-top: 1.5rem; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; }
}

/* ---------- Psihoterapija ---------- */
/* Naslov preko cele širine; ispod dva stupca: levo uvodni tekst + „Šta je psihoterapija…“, desno lista.
   Gornja ivica liste je u ravni sa gornjom ivicom uvodnog teksta. */
.psy-head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.intro-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.psy-lead { max-width: 62ch; }              /* isti font kao tekst ispod „Šta je psihoterapija…“ */
.intro { margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.intro > h3 { max-width: 26ch; margin-bottom: 1.5rem; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.list-title { font-weight: 600; margin-bottom: 1rem; }
.signs li { position: relative; padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid var(--line); }
.signs li:last-child { border-bottom: 1px solid var(--line); }
.signs li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); }
@media (max-width: 860px) { .intro-cols { grid-template-columns: 1fr; } }

.modalities { display: grid; }
.modality { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 5vw, 6rem); padding-block: clamp(1.75rem, 3vw, 2.75rem); border-top: 1px solid var(--line); }
.modality:last-child { border-bottom: 1px solid var(--line); }
.modality h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); }
.modality h3 a { color: var(--green); text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s, color .2s; }
.modality h3 a::after { content: " \2192"; font-size: .7em; vertical-align: .1em; opacity: .7; }
.modality h3 a:hover, .modality h3 a:focus-visible { color: var(--brick); background-size: 100% 2px; }
.modality p { max-width: 56ch; }
@media (max-width: 760px) { .modality { grid-template-columns: 1fr; } }

/* ---------- Edukacije ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Organizacioni razvoj ---------- */
.org-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.org-grid article { border-top: 2px solid var(--gold); padding-top: 1.5rem; }
.org-grid h3 { margin-bottom: 1rem; color: var(--green); }
.org-grid p { max-width: 34ch; }
.org-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.org-grid article p { flex-grow: 1; margin-bottom: 1.75rem; }   /* dugmad u istoj ravni u sva tri stupca */
@media (max-width: 900px) { .org-grid { grid-template-columns: 1fr; } .org-grid p { max-width: 56ch; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-grid h2 { margin-bottom: 1.25rem; }
.contact-list { margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact-list div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 600; color: var(--green); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--brick); }
@media (max-width: 480px) { .contact-list div { grid-template-columns: 1fr; gap: .15rem; } }
.social { display: flex; gap: .85rem; margin-top: 2.25rem; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: var(--green); color: var(--bg); transition: background-color .2s;
}
.social a:hover { background: var(--brick); }
.social svg { width: 1.3rem; height: 1.3rem; }
.form { display: grid; gap: 1.4rem; max-width: 40rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #FFFFFF;
  border: 1.5px solid rgba(46, 42, 31, .5); border-radius: .5rem; padding: .8rem 1rem;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--brick); outline-offset: 2px; border-color: var(--brick); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .92rem; color: var(--ink-soft); }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--green); }
.form .btn { justify-self: start; }
.form-status { min-height: 1.5em; font-size: .95rem; color: var(--ink-soft); }
.form-status.is-ok { color: var(--green); font-weight: 600; }
.form-status.is-error { color: var(--brick); font-weight: 600; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }  /* zamka za spam botove */
.page-simple h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); color: var(--green); margin: 3rem 0 1.25rem; }
.page-simple .signs { max-width: 62ch; }
.page-quote { margin: 3rem 0 0; padding-left: 1.5rem; border-left: 3px solid var(--gold); max-width: 56ch; }
.page-quote p { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); line-height: 1.35; }
.page-quote footer { margin-top: .75rem; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: var(--bg); padding-block: 2.25rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; }
.footer-copy { font-size: .9rem; text-align: center; color: rgba(247, 241, 225, .85); }
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.75rem; }
.footer-nav a { color: var(--bg); font-size: .92rem; }
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-nav ul { justify-content: center; }
}

/* ---------- Podstranice (Pages/) ---------- */
.page-simple { padding-block: clamp(3rem, 8vw, 6rem); }
.page-back { display: inline-block; margin-bottom: 2rem; font-weight: 500; font-size: .95rem; }
.page-simple h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); line-height: 1.05; letter-spacing: -.02em; color: var(--green); margin-bottom: 2rem; }
.page-simple .prose p { max-width: 62ch; }
.page-subtitle {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.3; color: var(--green);
  max-width: 40ch; margin: -.75rem 0 clamp(2rem, 4vw, 3rem);
}
.page-simple .credentials { margin-top: 2.5rem; max-width: 32rem; }
.page-simple .page-actions { margin-top: 3rem; }
.page-simple .list-title { margin-top: 2rem; }
.page-simple h2 + .list-title { margin-top: 0; }
.page-quote p em { font-style: italic; }

@media print {
  .site-header, .nav-toggle, .hero-actions, .form { display: none; }
  body { background: #fff; }
}

/* ---- Diplome i sertifikati (Biografija) ---- */
.diplome { list-style: none; margin: 1.5rem -.5rem 0; padding: .5rem .5rem 1.5rem; display: flex; gap: clamp(1rem, 2vw, 1.75rem); align-items: flex-end; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.diplome li { flex: 0 0 auto; scroll-snap-align: start; }
.diplome a { display: block; border-radius: 4px; box-shadow: 0 1px 2px rgba(46, 42, 31, .12), 0 6px 18px rgba(46, 42, 31, .10); transition: transform .2s ease, box-shadow .2s ease; }
.diplome a:hover, .diplome a:focus-visible { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(46, 42, 31, .14), 0 12px 28px rgba(46, 42, 31, .16); }
.diplome a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.diplome img { display: block; height: clamp(190px, 22vw, 300px); width: auto; border-radius: 4px; background: #fff; }
.page-diploma .diploma-view { margin: 1.5rem 0 0; }
.page-diploma .diploma-view img { display: block; width: auto; height: auto; max-width: 100%; max-height: 88vh; margin: 0 auto; border-radius: 4px; background: #fff; box-shadow: 0 2px 6px rgba(46, 42, 31, .12), 0 16px 40px rgba(46, 42, 31, .14); }
.page-diploma .page-actions { text-align: center; }
@media (prefers-reduced-motion: reduce) { .diplome a { transition: none; } .diplome a:hover { transform: none; } }
