/* ============================================================
   ODO SPORT — MAIN CSS v3.0
   ============================================================ */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* TOKENS */
:root {
  --navy:        #0B2D5E;
  --navy-mid:    #1C4F8C;
  --blue:        #2AA0F8;
  --mint:        #5DBF8A;
  --mint-light:  #EDFAF3;
  --mint-mid:    #3da06d;
  --mint-border: rgba(93,191,138,0.3);
  --white:       #FFFFFF;
  --off:         #F7F9FC;
  --text:        #0B2D5E;
  --text-mid:    #4A6080;
  --text-light:  #8FA8C8;
  --border:      rgba(11,45,94,0.1);
  --warn:        #F5A623;
  --font-serif:  'DM Serif Display', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --nav-h:       68px;
  --max-w:       1200px;
  --pad-x:       clamp(20px, 5vw, 80px);
  --pad-y:       clamp(60px, 8vw, 100px);
  --radius:      12px;
}

/* BASE */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--mint-mid); text-decoration: none; }
ul   { list-style: none; }

/* WP image alignment */
.wp-caption, .alignleft, .alignright, .aligncenter { max-width: 100%; }
.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }

/* CONTAINER — glavna vsebina */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(11,45,94,0.09); }

/* Header inner container — enaka širina kot .wrap */
.header-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  height: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 32px;
}

/* ── Logo ────────────────────────────────────────────── */
.site-branding {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Text fallback logo */
.site-branding-text {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}
.site-branding-text span { color: var(--mint); }

/* Custom logo image */
.custom-logo-link { display: flex; align-items: center; }
.custom-logo-link img,
.site-branding img {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* ── Desktop nav ─────────────────────────────────────── */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.primary-nav a,
.primary-nav-list > li > a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.primary-nav a:hover,
.primary-nav a.is-active,
.primary-nav-list > li > a:hover,
.primary-nav-list > li.current-menu-item > a {
  color: var(--navy);
  background: rgba(11,45,94,0.04);
}

/* CTA gumb v desktopovem meniju */
.primary-nav .menu-cta > a,
.nav-cta {
  background: var(--navy) !important;
  color: white !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 9px 20px !important;
  border-radius: 6px;
  margin-left: 8px;
  transition: background 0.2s;
}
.primary-nav .menu-cta > a:hover,
.nav-cta:hover {
  background: var(--navy-mid) !important;
}

/* ── Hamburger ───────────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* Burger → X animacija */
.nav-mobile-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-mobile-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobilni meni ─────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 190;
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.nav-mobile-open .mobile-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu-inner {
  padding: 24px var(--pad-x) 40px;
  border-top: 1px solid var(--border);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav-list li { border-bottom: 1px solid var(--border); }
.mobile-nav-list li:last-child { border-bottom: none; }

.mobile-nav-list a {
  display: block;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 400;
  color: var(--navy);
  transition: color 0.2s;
}
.mobile-nav-list a:hover { color: var(--mint-mid); }

.mobile-nav-list .mobile-nav-cta,
.mobile-nav-list .menu-cta > a {
  display: inline-flex;
  background: var(--navy) !important;
  color: white !important;
  font-weight: 500 !important;
  padding: 12px 24px !important;
  border-radius: 7px !important;
  margin-top: 16px;
  font-size: 15px !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 500;
  padding: 13px 26px;
  border-radius: 7px;
  text-decoration: none;
  transition: all 0.2s;
  border: none; cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); color: white; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-mint   { background: var(--mint); color: var(--navy); font-weight: 600; }
.btn-mint:hover { background: #6ed49a; transform: translateY(-1px); color: var(--navy); }
.btn-ghost  { background: transparent; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { border-color: rgba(255,255,255,.55); color: white; }

/* Gutenberg button block */
.wp-block-button__link { border-radius: 7px !important; font-family: var(--font-sans) !important; }
.wp-block-button.is-style-primary .wp-block-button__link  { background: var(--navy) !important; color: white !important; }
.wp-block-button.is-style-mint .wp-block-button__link     { background: var(--mint) !important; color: var(--navy) !important; font-weight: 600 !important; }
.wp-block-button.is-style-outline .wp-block-button__link  { background: transparent !important; color: var(--navy) !important; border: 1.5px solid var(--border) !important; }

/* ============================================================
   SECTION BASE
   ============================================================ */
.sec { padding-block: var(--pad-y); }
.sec-off   { background: var(--off); }
.sec-mint  { background: var(--mint-light); }
.sec-navy  { background: var(--navy); }

.stag {
  display: block;
  font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--mint-mid); margin-bottom: 10px;
}
.sh2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 38px);
  color: var(--navy); letter-spacing: -0.025em;
  line-height: 1.12; margin-bottom: 14px;
}
.sh2-white { color: white; }
.sp {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-mid); font-weight: 300;
  line-height: 1.7; max-width: 520px;
}
.sp-muted { color: rgba(255,255,255,.52); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--pad-y);
}
.hero-left-inner {
  width: 100%;
  max-width: calc(var(--max-w) / 2);
  margin-inline-start: auto;
  padding-inline-start: var(--pad-x);
  padding-inline-end: clamp(20px, 4vw, 56px);
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint-light);
  border: 1px solid var(--mint-border);
  color: var(--mint-mid);
  font-size: 11px; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 26px; width: fit-content;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint); flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(.8); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08; letter-spacing: -0.025em;
  color: var(--navy); margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--mint); }

.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.72; color: var(--text-mid);
  font-weight: 300; margin-bottom: 32px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: clamp(18px, 3vw, 36px);
  margin-top: 44px; padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-val {
  font-family: var(--font-serif);
  font-size: 28px; color: var(--navy);
  letter-spacing: -0.03em; line-height: 1;
}
.hero-stat-lbl { font-size: 12px; color: var(--text-light); margin-top: 4px; line-height: 1.4; }

/* Hero right — navy panel */
.hero-right {
  background: var(--navy);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 40px clamp(20px, 4vw, 48px);
  min-height: 480px;
}
.hero-right::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(93,191,138,.14) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(42,160,248,.10) 0%, transparent 50%);
  pointer-events: none;
}

/* Dashboard card */
.dash {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px; padding: 24px;
  width: min(380px, 100%);
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.dash-hdr { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.dash-ttl  { font-size: 11px; color: rgba(255,255,255,.4); }
.dash-date { font-size: 11px; color: rgba(255,255,255,.28); flex-shrink: 0; }

.dash-ring {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.04);
  border-radius: 10px; padding: 16px; margin-bottom: 14px;
}
.dash-ring-lbl { font-size: 11px; color: rgba(255,255,255,.38); margin-bottom: 4px; }
.dash-ring-val { font-family: var(--font-serif); font-size: 32px; color: white; line-height: 1; }
.dash-ring-val small { font-size: 15px; opacity: .35; font-family: var(--font-sans); font-weight: 300; }
.dash-ring-sub { font-size: 11px; color: var(--mint); margin-top: 4px; }

.dash-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.dash-m {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px; padding: 11px;
}
.dash-m-lbl { font-size: 10px; color: rgba(255,255,255,.32); margin-bottom: 4px; }
.dash-m-val { font-size: 17px; font-weight: 500; color: white; line-height: 1; }
.dash-m-val small { font-size: 10px; opacity: .4; font-weight: 300; }
.dash-m-sub { font-size: 10px; margin-top: 3px; }
.cu { color: var(--mint); }
.cw { color: var(--warn); }

.dash-bars-ttl { font-size: 10px; color: rgba(255,255,255,.28); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 9px; }
.br { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.br-n { font-size: 11px; color: rgba(255,255,255,.45); width: 86px; flex-shrink: 0; }
.br-t { flex: 1; height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.br-f { height: 100%; border-radius: 2px; }
.br-s { font-size: 11px; color: rgba(255,255,255,.38); width: 22px; text-align: right; flex-shrink: 0; }

/* Float badges */
.fbadge {
  position: absolute; z-index: 2;
  background: white; border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  display: flex; align-items: center; gap: 10px;
  animation: fb 5s ease-in-out infinite;
}
.fbadge-t { top: 11%; right: 5%; }
.fbadge-b { bottom: 13%; left: 5%; animation-delay: 2s; }
@keyframes fb {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-5px) rotate(1deg); }
}
.fbadge-ico { width: 30px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fbadge-lbl { font-size: 10px; color: var(--text-mid); }
.fbadge-val { font-size: 14px; font-weight: 600; color: var(--navy); }

/* ============================================================
   KDO SMO
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.about-body { font-size: 15px; color: var(--text-mid); font-weight: 300; line-height: 1.76; margin-bottom: 14px; }
.about-body strong { color: var(--navy); font-weight: 500; }
.dims-h3 { font-family: var(--font-serif); font-size: clamp(18px, 2.2vw, 24px); color: var(--navy); letter-spacing: -0.02em; margin-bottom: 20px; }

.dims-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }
.dim-pill {
  background: var(--mint-light);
  border: 1px solid var(--mint-border);
  border-radius: var(--radius);
  padding: 16px 8px; text-align: center;
  transition: all .22s; cursor: default;
}
.dim-pill:hover { background: var(--mint); transform: translateY(-2px); }
.dim-pill:hover .dim-lbl { color: white; }
.dim-emoji { font-size: 20px; display: block; margin-bottom: 6px; line-height: 1; }
.dim-lbl   { font-size: 12px; font-weight: 500; color: var(--navy); display: block; }

/* ============================================================
   STORITVE
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 44px; }
.svc-card {
  background: white; border-radius: var(--radius);
  padding: 26px; border: 1px solid var(--border);
  transition: all .25s; position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--mint);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(11,45,94,.09); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-ico { width: 42px; height: 42px; background: var(--mint-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.svc-ico svg { width: 19px; height: 19px; }
.svc-name { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.svc-desc { font-size: 13px; color: var(--text-mid); line-height: 1.65; font-weight: 300; }
.svc-lnk  { display: inline-flex; gap: 4px; font-size: 12px; font-weight: 500; color: var(--mint-mid); margin-top: 16px; }

/* ============================================================
   INDEKS
   ============================================================ */
.idx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.idx-vis {
  background: var(--navy); border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
  position: relative; overflow: hidden;
}
.idx-vis::before {
  content: ''; position: absolute;
  top: -40px; right: -40px;
  width: 170px; height: 170px; border-radius: 50%;
  background: rgba(93,191,138,.11); pointer-events: none;
}
.idx-score { position: relative; z-index: 1; text-align: center; margin-bottom: 24px; }
.idx-score-lbl { font-size: 11px; color: rgba(255,255,255,.32); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.idx-score-num { font-family: var(--font-serif); font-size: clamp(56px, 8vw, 84px); color: white; line-height: 1; letter-spacing: -0.04em; }
.idx-score-tag { display: inline-block; background: var(--mint-light); color: var(--mint-mid); font-size: 12px; font-weight: 500; padding: 5px 14px; border-radius: 20px; margin-top: 8px; }
.idx-bars { position: relative; z-index: 1; }
.idx-bars-ttl { font-size: 10px; color: rgba(255,255,255,.28); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.ibr { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.ibr-n { font-size: 12px; color: rgba(255,255,255,.45); width: 96px; flex-shrink: 0; }
.ibr-t { flex: 1; height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.ibr-f { height: 100%; border-radius: 3px; }
.ibr-s { font-size: 12px; color: rgba(255,255,255,.38); width: 26px; text-align: right; flex-shrink: 0; }

.scale-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.scale-pill  { border-radius: 9px; padding: 12px 14px; border: 1px solid var(--border); }
.scale-pill-r { font-size: 11px; color: var(--text-light); margin-bottom: 3px; }
.scale-pill-l { font-size: 13px; font-weight: 500; }

/* ============================================================
   PROCES
   ============================================================ */
.proc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 44px; }
.proc-step { background: white; padding: 26px 22px; }
.proc-step:first-child { border-radius: 12px 0 0 12px; }
.proc-step:last-child  { border-radius: 0 12px 12px 0; }
.proc-num  { font-family: var(--font-serif); font-size: 42px; color: var(--mint-light); line-height: 1; margin-bottom: 12px; -webkit-text-stroke: 1.5px var(--mint); }
.proc-title { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.proc-desc  { font-size: 13px; color: var(--text-mid); line-height: 1.65; font-weight: 300; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section { text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse,rgba(93,191,138,.12) 0%,transparent 70%);
  pointer-events: none;
}
.cta-section .wrap > * { position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #071d3d; padding-block: 28px; }

.footer-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

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

/* Footer logo */
.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 16px;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}
.footer-logo-text span { color: var(--mint); }
.footer-logo-img img {
  height: 28px;
  width: auto;
  opacity: 0.65;
  filter: brightness(0) invert(1);
}
.footer-logo-img:hover img { opacity: 1; }

/* Footer nav */
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; padding: 0; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.28); transition: color .2s; }
.footer-links a:hover { color: var(--mint); }

.footer-copy { font-size: 12px; color: rgba(255,255,255,.22); }
.footer-copy a { color: var(--mint); opacity: .7; }
.footer-copy a:hover { opacity: 1; }

/* ============================================================
   PODSTRANI — page.php
   ============================================================ */
.page-main { min-height: 60vh; }

/* Naslov strani — brez featured image */
.page-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* Featured image hero za podstrani */
.page-hero-img {
  position: relative;
  height: clamp(240px, 35vw, 400px);
  overflow: hidden;
}
.page-hero-img-el {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,45,94,.3) 0%, rgba(11,45,94,.7) 100%);
}
.page-hero-img-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding-bottom: clamp(24px, 4vw, 48px);
}

/* Vsebina podstrani */
.page-content-wrap { max-width: 820px; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-mid); }
.breadcrumbs a:hover { color: var(--navy); }
.bc-sep { color: var(--text-light); }

/* Post navigation (med stranmi) */
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.post-navigation a { font-size: 14px; color: var(--mint-mid); font-weight: 500; }
.post-navigation a:hover { color: var(--navy); }

/* ============================================================
   GUTENBERG CONTENT
   ============================================================ */
.entry-content { line-height: 1.75; }
.entry-content > * + * { margin-top: 1.25em; }

.entry-content h1 { font-family: var(--font-serif); font-size: clamp(26px, 3.5vw, 40px); color: var(--navy); letter-spacing: -.025em; }
.entry-content h2 { font-family: var(--font-serif); font-size: clamp(22px, 2.8vw, 32px); color: var(--navy); letter-spacing: -.02em; }
.entry-content h3 { font-family: var(--font-serif); font-size: clamp(18px, 2.2vw, 26px); color: var(--navy); letter-spacing: -.018em; }
.entry-content h4, .entry-content h5, .entry-content h6 { font-size: 16px; font-weight: 600; color: var(--navy); }

.entry-content p  { color: var(--text-mid); font-weight: 300; line-height: 1.78; }
.entry-content ul,
.entry-content ol { padding-left: 1.5em; color: var(--text-mid); }
.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content li  { line-height: 1.7; margin-bottom: .4em; font-weight: 300; }

.entry-content blockquote {
  border-left: 3px solid var(--mint);
  padding: 16px 20px;
  background: var(--mint-light);
  border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--text-mid);
}
.entry-content a { color: var(--mint-mid); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--navy); }
.entry-content img { border-radius: var(--radius); }

.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th { background: var(--navy); color: white; padding: 10px 14px; text-align: left; }
.entry-content td { padding: 9px 14px; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.entry-content tr:last-child td { border-bottom: none; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.anim { opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s; }
.anim.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE — Tablet (max 960px)
   ============================================================ */
@media (max-width: 960px) {

  /* Nav: skrij desktop meni, prikaži burger */
  .primary-nav { display: none !important; }
  .nav-burger { display: flex; }

  /* Mobilni meni — prikaži ob .nav-mobile-open */
  .mobile-menu { display: block; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left-inner { max-width: 100%; margin: 0; padding-inline-end: var(--pad-x); }
  .hero-right { min-height: 360px; }

  /* Mreže */
  .about-grid { grid-template-columns: 1fr; }
  .dims-grid  { grid-template-columns: repeat(3,1fr); }
  .svc-grid   { grid-template-columns: 1fr 1fr; }
  .idx-grid   { grid-template-columns: 1fr; }
  .proc-grid  { grid-template-columns: 1fr 1fr; gap: 10px; }
  .proc-step  { border-radius: 10px !important; }
}

/* ============================================================
   RESPONSIVE — Mobil (max 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .dims-grid   { grid-template-columns: repeat(2,1fr); }
  .svc-grid    { grid-template-columns: 1fr; }
  .scale-pills { grid-template-columns: 1fr 1fr; }
  .proc-grid   { grid-template-columns: 1fr; }
  .hero-stats  { gap: 18px; }
  .dash        { padding: 16px; }
  .fbadge      { display: none; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* Page */
  .page-hero-img { height: 220px; }
  .post-navigation { flex-direction: column; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .anim { opacity: 1 !important; transform: none !important; }
}
