/* ==========================================================================
   NEVIS v3 - sadržajne stranice: blog (/blog/, kategorije, pretraga, članak),
   kartice članaka, pravne/generičke stranice, kontakt, 404,
   tekst članka (.entry-content) i blog CTA (inc/blog-cta.php).
   Bento (10/2026): kartice .hb i tonovi dolaze iz bento.css; ovdje samo raspored i dijelovi ovih stranica.
   Hover lift kartica članaka ide preko `translate` (ne `transform`), jer .reveal koristi transform.
   ========================================================================== */

/* ---------- zajedničko: hero blok sadržajnih stranica ---------- */
.blog-hero, .post-hero, .page-hero, .contact-hero { padding: var(--hero-top) 0 var(--hero-bot); border-bottom: 1px solid var(--line); }
.blog-hero .breadcrumb, .post-hero .breadcrumb, .page-hero .breadcrumb, .contact-hero .breadcrumb { margin-bottom: var(--head-gap); }
.blog-hero .breadcrumb a, .post-hero .breadcrumb a, .page-hero .breadcrumb a, .contact-hero .breadcrumb a { display: inline-flex; align-items: center; min-height: 24px; }

.blog-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--col-gap); align-items: end; }
.blog-hero__title, .cnt-hero__title, .page-hero__title {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(42px, 6vw, 84px);
  letter-spacing: -.045em; line-height: .98; margin-top: 24px;
}
.blog-hero { padding-bottom: 0; border-bottom: 0; }
.blog-hero .lead { max-width: 480px; }
@media (max-width: 900px) {
  .blog-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ---------- blog: kategorije (čipovi) ---------- */
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3.4vw, 44px); }
.blog-cat {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 7px 0 18px;
  border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .09);
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: background-color .2s, color .2s, box-shadow .2s, translate .3s var(--ease-out);
}
.blog-cat span { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: var(--r-pill); background: var(--paper); font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.blog-cat:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); translate: 0 -1px; }
.blog-cat.is-active { background: var(--ink); color: var(--white); box-shadow: none; }
.blog-cat.is-active span { background: rgba(255, 255, 255, .14); color: var(--white); }
@media (max-width: 600px) {
  .blog-cats { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 2px var(--gut); scrollbar-width: none; }
  .blog-cats::-webkit-scrollbar { display: none; }
  .blog-cat { flex-shrink: 0; }
}

/* ---------- blog: lista ---------- */
.blog-archive { padding: clamp(32px, 4vw, 56px) 0 var(--sec-y); }

/* istaknuti (najnoviji) članak: velika bento kartica */
.blog-feature {
  position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 48px); align-items: stretch;
  margin-bottom: clamp(48px, 6vw, 80px); padding: 12px; border-radius: var(--r-lg); background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07);
  transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.blog-feature:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07), 0 40px 70px -42px rgba(12, 12, 13, .5); }
.blog-feature__img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 16px; background: var(--paper-2); }
.blog-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.blog-feature:hover .blog-feature__img img { transform: scale(1.03); }
.blog-feature__body { display: flex; flex-direction: column; padding: clamp(12px, 2vw, 28px) clamp(12px, 2vw, 28px) clamp(12px, 1.6vw, 20px) 0; }
.blog-feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.blog-feature__new { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--accent-2); color: var(--accent-2-ink); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.blog-feature__title { margin-top: 22px; font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 2.9vw, 44px); letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.blog-feature__title a { color: var(--ink); text-decoration: none; }
.blog-feature__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
.blog-feature__title a:focus-visible { outline: none; }
.blog-feature__title a:focus-visible::after { outline: 3px solid var(--accent); outline-offset: -3px; }
.blog-feature:hover .blog-feature__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.blog-feature__excerpt { margin-top: 16px; color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 46ch; }
.blog-feature__foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.blog-feature__go { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: var(--ink); }
.blog-feature__go .post-card-more__arrow { width: 44px; height: 44px; background: var(--ink); color: var(--white); }
@media (max-width: 900px) {
  .blog-feature { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 8px; }
  .blog-feature__body { padding: 16px 12px 12px; }
  .blog-feature__title { margin-top: 16px; }
  .blog-feature__foot { padding-top: 20px; }
}

.blog-list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-bottom: 24px; }
.blog-list-head__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.03em; line-height: 1.1; }
.blog-list-head .mono { color: var(--muted); }
.blog-list-head .link-arrow { min-height: 44px; }

/* ---------- kartica članka (template-parts/post-card.php) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap); }
@media (max-width: 1100px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

.post-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: 10px;
  border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07);
}
.post-card, .nv-motion .post-card.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease-out), translate .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.post-card:not(.post-card--cta):hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07), 0 40px 70px -42px rgba(12, 12, 13, .45); }
.post-card-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 16px; background: var(--paper-2); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 10px 8px; }
.post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.post-card-cat { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: #E8ECFF; color: var(--accent); font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.post-card-read { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-card-cat + .post-card-read::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--field); }
.post-card-title { margin-top: 14px; font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; line-height: 1.22; text-wrap: pretty; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }
.post-card:hover .post-card-title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.post-card-title a:focus-visible { outline: none; }
.post-card-title a:focus-visible::after { outline: 3px solid var(--accent); outline-offset: -3px; }
.post-card-excerpt { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.post-card-more { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: var(--ink); }
.post-card-more__arrow { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); color: var(--ink); transition: background-color .3s, color .3s, transform .4s var(--ease-out); }
.post-card-more__arrow svg { width: 17px; height: 17px; transition: transform .4s var(--ease-out); }
.post-card:hover .post-card-more__arrow, .blog-feature:hover .post-card-more__arrow { background: var(--accent); color: var(--white); }
.post-card:hover .post-card-more__arrow svg, .blog-feature:hover .post-card-more__arrow svg { transform: rotate(-45deg); }

/* članak bez slike: tipografska kartica u tonu (ton po rubrici) */
.post-card-tone { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: clamp(18px, 2vw, 26px); background: #E8ECFF; color: var(--ink); }
.post-card-tone__tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.post-card-tone__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.045em; line-height: .98; overflow-wrap: anywhere; }
.post-card-tone::after { content: ""; position: absolute; right: clamp(18px, 2vw, 26px); top: clamp(18px, 2vw, 26px); width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.post-card-tone--ink { background: var(--night) radial-gradient(75% 70% at 85% 100%, rgba(30, 61, 255, .5) 0%, rgba(30, 61, 255, 0) 75%); color: var(--paper); }
.post-card-tone--ink .post-card-tone__tag { color: var(--accent-on-dark); }
.post-card-tone--cobalt { background: var(--accent); color: var(--white); }
.post-card-tone--cobalt .post-card-tone__tag { color: var(--accent-soft); }
.post-card-tone--cobalt::after { background: var(--white); }
.post-card-tone--peach { background: var(--accent-2-soft); }
.post-card-tone--peach .post-card-tone__tag { color: var(--accent-2-ink-soft); }
.post-card-tone--peach::after { background: var(--accent-2); }
.post-card-tone--paper { background: var(--paper-2); }

/* CTA kartica u mreži (inc/blog-cta.php, nevis_blog_grid_cta): jednom po stranici, širina bira PHP da redovi ostanu puni */
.post-card--cta {
  justify-content: flex-start; gap: 0; padding: clamp(24px, 2.4vw, 32px); background: var(--accent); color: var(--white); box-shadow: none; overflow: hidden; isolation: isolate;
  background-image: radial-gradient(70% 60% at 100% 100%, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 70%);
}
.post-card--cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 40px 40px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(70% 70% at 90% 90%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 70% at 90% 90%, #000 0%, transparent 75%);
}
.post-card-cta__mark { display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--accent-2); }
.post-card-cta__eyebrow { margin-top: 22px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); }
.post-card-cta__title { margin-top: 12px; font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.04em; line-height: 1.02; color: var(--white); text-wrap: balance; }
.post-card-cta__text { margin-top: 14px; color: var(--accent-soft); font-size: 16px; line-height: 1.55; max-width: 40ch; }
.post-card-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; }
.post-card-cta__actions .btn--light { color: var(--ink); }
.post-card-cta__wa { background: rgba(255, 255, 255, .1); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.post-card-cta__wa:hover, .post-card-cta__wa:focus-visible { background: var(--white); color: var(--ink); }
.post-card-cta__wa svg { width: 18px; height: 18px; }
.post-card--cta :focus-visible { outline-color: var(--white); }
@media (min-width: 1101px) {
  .post-card--d2 { grid-column: span 2; }
  .post-card--d3 { grid-column: 1 / -1; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .post-card--t2 { grid-column: 1 / -1; }
}
/* široka CTA kartica: tekst lijevo, dugmad desno */
@media (min-width: 1101px) {
  .post-card--d2, .post-card--d3 { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto 1fr; column-gap: 40px; align-content: center; }
  .post-card--d2 > :not(.post-card-cta__actions), .post-card--d3 > :not(.post-card-cta__actions) { grid-column: 1; }
  .post-card--d2 .post-card-cta__actions, .post-card--d3 .post-card-cta__actions { grid-column: 2; grid-row: 1 / -1; align-self: end; padding-top: 0; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .post-card--t2 .post-card-cta__actions { margin-top: 0; }
}

/* ---------- paginacija ---------- */
.blog-pagination { margin-top: 48px; }
.blog-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding: 8px; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07); }
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; min-height: 46px; padding: 0 14px;
  border-radius: var(--r-pill); font-family: var(--f-mono); font-size: 14px; color: var(--ink); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.blog-pagination a.page-numbers:hover { background: var(--paper); color: var(--ink); }
.blog-pagination .page-numbers.current { background: var(--ink); color: var(--white); }
.blog-pagination .page-numbers.dots { min-width: 24px; padding: 0; color: var(--muted); }
.blog-pagination .prev, .blog-pagination .next { font-family: var(--f-body); font-weight: 600; font-size: 15px; padding: 0 20px; background: var(--paper); }
.blog-pagination .next { background: var(--accent); color: var(--white); }
.blog-pagination a.next:hover { background: var(--accent-hover); color: var(--white); }
.blog-pagination .prev { margin-right: auto; }
.blog-pagination .next { margin-left: auto; }
.blog-pagination .page-numbers svg { width: 16px; height: 16px; }
.blog-pagination .prev svg { transform: rotate(180deg); }
@media (max-width: 600px) {
  .blog-pagination .nav-links { gap: 2px; padding: 6px; }
  .blog-pagination .prev span, .blog-pagination .next span { display: none; }
  .blog-pagination .prev, .blog-pagination .next { padding: 0; min-width: 44px; }
  .blog-pagination .page-numbers { min-width: 40px; min-height: 44px; padding: 0 6px; }
}
.blog-empty { display: grid; justify-items: start; gap: 20px; padding: 40px 0; color: var(--ink-2); font-size: 18px; }

/* završna plava traka (/blog/, kategorije, pretraga) */
.blog-band { padding: var(--sec-y) 0; }
.blog-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.blog-band__inner > div:first-child { flex: 1 1 520px; max-width: 760px; }
.blog-band__title { margin-top: 16px; font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 5vw, 68px); letter-spacing: -.045em; line-height: 1; color: var(--white); text-wrap: balance; }
.blog-band__text { margin-top: 18px; }
.blog-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.blog-band__actions .btn--light { color: var(--ink); }
@media (max-width: 600px) { .blog-band__actions, .blog-band__actions .btn { width: 100%; } }

/* ---------- članak ---------- */
.post-hero { padding-bottom: clamp(28px, 3.4vw, 44px); border-bottom: 0; }
.post-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.post-hero__cat { min-height: 30px; padding: 0 12px; border: 0; background: #E8ECFF; color: var(--accent); text-decoration: none; font-weight: 500; transition: background-color .2s, color .2s; }
.post-hero__cat:hover { background: var(--accent); color: var(--white); }
.post-hero__title {
  margin-top: 22px; max-width: 18ch;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 5.2vw, 72px);
  letter-spacing: -.04em; line-height: 1.02; text-wrap: balance;
}
@media (min-width: 1101px) { .post-hero__title { max-width: 22ch; } }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.post-byline strong { font-weight: 600; color: var(--ink); }
.post-byline__author { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 18px 4px 4px; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07); }
.post-byline__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.post-byline__pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); background: rgba(12, 12, 13, .045); }
.post-byline__pill svg { width: 15px; height: 15px; color: var(--accent); }

/* naslovna slika u zaobljenom okviru */
.post-single-img { padding: 10px; border-radius: 30px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07), var(--shadow); }
.post-single-img img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 21px; }
@media (max-width: 900px) {
  .post-single-img { padding: 6px; border-radius: 22px; }
  .post-single-img img { aspect-ratio: 16 / 10; border-radius: 17px; }
}

/* članak: podaci u uskoj koloni (kartica), tekst u .prose mjeri */
.post-layout { display: grid; grid-template-columns: var(--idx-col) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding: var(--sec-y-sm) 0 var(--sec-y); }
.post-aside { display: grid; gap: 12px; }
@media (min-width: 901px) { .post-aside { position: sticky; top: 96px; } }
.post-facts { margin: 0; display: grid; padding: 4px 18px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07); }
.post-facts > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.post-facts > div:last-child { border-bottom: 0; }
.post-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.post-facts dd a { color: var(--accent); text-decoration: none; }
.post-back { display: inline-flex; align-items: center; justify-self: start; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: var(--r-pill); background: rgba(12, 12, 13, .045); font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.post-back:hover { background: rgba(12, 12, 13, .08); color: var(--ink); }
.post-back svg { width: 16px; height: 16px; transform: rotate(180deg); transition: transform .2s var(--ease); }
.post-back:hover svg { transform: rotate(180deg) translateX(3px); }
.post-main { min-width: 0; max-width: var(--m-prose); }
@media (max-width: 900px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .post-aside { order: 2; margin-top: 48px; }
  .post-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .post-facts > div:nth-last-child(2) { border-bottom: 0; }
}

.post-single-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.post-single-tags .tag { text-decoration: none; min-height: 34px; background: var(--white); }
.post-single-tags .tag:hover { border-color: var(--ink); color: var(--ink); }

/* susjedni članci: dvije kartice */
.post-single-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--card-gap); margin-bottom: var(--sec-y); }
.post-nav-item { min-width: 0; }
.post-nav-item-next { text-align: right; }
.post-nav-link { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 24px 28px 28px; border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07); text-decoration: none; color: var(--ink); transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.post-nav-link:hover { color: var(--ink); translate: 0 -4px; box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07), 0 40px 70px -42px rgba(12, 12, 13, .45); }
.post-nav-next { align-items: flex-end; }
.post-nav-dir { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-nav-dir svg { width: 14px; height: 14px; }
.post-nav-link:not(.post-nav-next) .post-nav-dir svg { transform: rotate(180deg); }
.post-nav-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.02em; line-height: 1.2; }
.post-nav-link:hover .post-nav-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 900px) {
  .post-single-nav { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .post-nav-link, .post-nav-next { padding: 20px 22px 22px; }
}
.post-nav-item:empty { display: none; }

.post-related { padding: var(--sec-y) 0; border-top: 1px solid var(--line); }
.post-related .blog-list-head { margin-bottom: 28px; }

/* članak: završna plava traka sa kratkom formom */
.post-band__grid { align-items: center; }
.post-band__title { margin-top: 16px; font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.04em; line-height: 1; color: var(--white); max-width: 18ch; }
.post-band .lead { margin-top: 18px; }
.post-band__points { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.post-band__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--white); }
.post-band__points svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--accent-soft); }
.post-band .lead-form { border-color: transparent; box-shadow: 0 30px 60px -30px rgba(12, 12, 13, .5); }
.post-band .lead-submit { background: var(--ink); }
.post-band .lead-submit:hover { background: #26272B; }
@media (max-width: 900px) {
  .post-band .lead-form { padding: 20px; }
}

/* ---------- tekst članka i stranica (.entry-content) ---------- */
.entry-content { font-size: 18px; line-height: 1.75; color: var(--ink); max-width: var(--m-prose); overflow-wrap: break-word; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content > p:first-child { font-size: 20px; line-height: 1.6; color: var(--ink); }
.entry-content h2 { margin-top: 1.7em; padding-top: 24px; border-top: 1px solid var(--line); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.12; scroll-margin-top: 110px; }
.entry-content h3 { margin-top: 1.9em; font-size: clamp(21px, 2vw, 25px); letter-spacing: -.02em; line-height: 1.2; scroll-margin-top: 110px; }
.entry-content h4 { margin-top: 1.6em; font-size: 19px; letter-spacing: -.01em; line-height: 1.3; }
.entry-content h2 + *, .entry-content h3 + *, .entry-content h4 + * { margin-top: .7em; }
.entry-content > h2:first-child, .entry-content > h3:first-child { margin-top: 0; }
.entry-content a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.entry-content strong, .entry-content b { font-weight: 600; }
.entry-content ul, .entry-content ol { padding-left: 0; list-style: none; }
.entry-content ul > li, .entry-content ol > li { position: relative; padding-left: 30px; }
.entry-content li + li { margin-top: .55em; }
.entry-content ul > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.entry-content ol { counter-reset: nv-ol; }
.entry-content ol > li { counter-increment: nv-ol; padding-left: 40px; }
.entry-content ol > li::before { content: counter(nv-ol, decimal-leading-zero); position: absolute; left: 0; top: .32em; font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; color: var(--accent); }
.entry-content li > ul, .entry-content li > ol { margin-top: .55em; }
/* liste sa ikonama u sadržaju (npr. "Bez CRM-a / Sa CRM-om": <span>✓</span><span>tekst</span>) */
.entry-content li > span:first-child:not(:only-child) { margin-right: 8px; font-weight: 600; color: var(--accent); }
.entry-content ul > li:has(> span:first-child:not(:only-child))::before { display: none; }
.entry-content ul > li:has(> span:first-child:not(:only-child)) { padding-left: 0; }
.entry-content li > span:first-child + br { display: none; }
.entry-content ol > li:has(> span:first-child:not(:only-child)) { padding-left: 40px; }
.entry-content ol > li:has(> span:first-child:not(:only-child))::before { content: none; }
.entry-content ol > li > span:first-child:not(:only-child) { position: absolute; left: 0; top: .32em; margin: 0; font-family: var(--f-mono); font-size: 13px; font-weight: 400; color: var(--accent); }
.entry-content div:has(> div > h4) { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.entry-content div:has(> div > h4) > div { margin-top: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.entry-content div:has(> div > h4) > div > h4 { margin-top: 0; }
.entry-content div > * + * { margin-top: 1em; }

.entry-content blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--accent); }
.entry-content blockquote p { font-family: var(--f-display); font-weight: 600; font-size: clamp(21px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.35; color: var(--ink); }
.entry-content blockquote cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line-strong); }
@media (min-width: 901px) { .entry-content table { display: table; } }
.entry-content th, .entry-content td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 120px; }
.entry-content th { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.entry-content td:first-child { font-weight: 600; }
.entry-content figure { margin: 2em 0; }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.entry-content figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.entry-content code { font-family: var(--f-mono); font-size: .86em; padding: 2px 6px; border-radius: 6px; background: var(--paper-2); color: var(--ink); overflow-wrap: anywhere; }
.entry-content pre { padding: 20px 22px; border-radius: var(--r-md); background: var(--night); color: var(--paper); overflow-x: auto; font-size: 14px; line-height: 1.6; }
.entry-content pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.entry-content em { font-style: italic; }

/* rečenica sa linkom ka usluzi (inc/blog-cta.php) */
.entry-content .post-service-link { margin-top: 1.6em; margin-bottom: .4em; padding: 18px 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.entry-content .post-service-link a { font-weight: 600; }


/* blog */
/* CTA kutija za uslugu: bento kartica (sky ton) POSLIJE teksta članka (inc/blog-cta.php, nevis_blog_service_cta) */
.post-cta {
  position: relative; isolation: isolate; overflow: hidden; margin-top: 56px; padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg); background: #E8ECFF; box-shadow: inset 0 0 0 1px rgba(30, 61, 255, .08);
  background-image: radial-gradient(55% 90% at 100% 0%, rgba(30, 61, 255, .16) 0%, rgba(30, 61, 255, 0) 72%);
}
.post-cta__top { display: flex; align-items: center; gap: 12px; }
.post-cta__ico { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(30, 61, 255, .16); color: var(--accent); }
.post-cta__ico svg { width: 20px; height: 20px; }
.post-cta__eyebrow { color: var(--accent); }
.post-cta__title { margin-top: 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.post-cta__text { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.post-cta .post-cta__quote { background: var(--white); border-color: transparent; color: var(--ink); }
.post-cta .post-cta__quote:hover { background: var(--ink); color: var(--white); }
@media (max-width: 600px) {
  .post-cta { padding: 24px 20px; }
  .post-cta__actions .btn { width: 100%; }
}
@media (max-width: 900px) {
  .entry-content { font-size: 17px; }
  .entry-content > p:first-child { font-size: 18px; }
}

/* ---------- pravne / generičke stranice ---------- */
.page-hero .eyebrow { margin-bottom: 0; }
.page-hero__title { max-width: 16ch; }
.page-content { padding: var(--sec-y-sm) 0 var(--sec-y); }
/* legal: TOC u indeks koloni (isti tokeni kao .sec-grid), tekst .prose */
.page-layout { display: grid; grid-template-columns: var(--idx-col) minmax(0, 1fr); gap: var(--col-gap); align-items: start; }
.page-layout--solo { grid-template-columns: minmax(0, 1fr); }
.page-aside { display: grid; gap: 16px; }
@media (min-width: 901px) { .page-aside { position: sticky; top: 96px; } }
.page-aside__label { color: var(--muted); }
.page-aside__list { list-style: none; border-top: 1px solid var(--line-strong); }
.page-aside__list li { border-bottom: 1px solid var(--line); }
.page-aside__list a { display: flex; align-items: center; min-height: 48px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.page-aside__list a:hover, .page-aside__list a.is-active { color: var(--accent); }
.page-aside__list a.is-active::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; }
.page-aside__note { font-size: 14px; color: var(--ink-2); }
.page-aside__note a { color: var(--ink); }
.page-content .entry-content { font-size: 17px; line-height: 1.7; }
.page-content .entry-content > p:first-child { font-size: inherit; }
.page-content .entry-content > p:first-child em { font-style: normal; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.page-content .entry-content h2 { font-size: clamp(22px, 2.2vw, 28px); }
@media (max-width: 900px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ---------- kontakt (page-kontakt.php) ---------- */
/* hero: dvije kolone kao hero usluga (naslov, uvod, garancije lijevo; forma u kartici desno) */
.contact-hero { padding: clamp(28px, 5.4vh, 72px) 0 clamp(40px, 7vh, 88px); overflow: clip; }
.contact-hero .cnt-hero__grid { grid-template-columns: minmax(0, 1fr) var(--aside); gap: clamp(32px, 6vw, 104px); align-items: center; }
.cnt-hero__copy { min-width: 0; }
.contact-hero .eyebrow { display: flex; margin-top: 0; }
.cnt-hero__title { max-width: 14ch; margin-top: clamp(14px, 2.2vh, 22px); font-size: clamp(40px, min(4.9vw, 8.8vh), 80px); line-height: .97; letter-spacing: -.048em; }
.contact-hero .lead { margin-top: clamp(16px, 2.8vh, 28px); max-width: 58ch; }
.cnt-guar { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 680px; margin: clamp(22px, 4vh, 40px) 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-strong); }
.cnt-guar li { display: flex; align-items: center; gap: 12px; min-width: 0; font-family: var(--f-display); font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); }
.cnt-guar__ico { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: rgba(30, 61, 255, .08); color: var(--accent); }
.contact-hero .contact-form-col .form-row { grid-template-columns: minmax(0, 1fr); }
.contact-hero .contact-form-col .form-row--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-pair { display: grid; gap: 8px; }
.form-pair-hint { font-size: 13px; color: var(--muted); }
@media (max-width: 1100px) {
  .cnt-guar { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 900px) {
  .contact-hero .cnt-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .cnt-guar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cnt-guar { grid-template-columns: minmax(0, 1fr); }
  .cnt-guar__ico { width: 30px; height: 30px; border-radius: 9px; }
}

.contact-form-col { position: relative; z-index: 2; min-width: 0; padding: 26px 26px 22px; border: 1px solid rgba(12, 12, 13, .08); border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 2px rgba(12, 12, 13, .04), 0 34px 70px -40px rgba(12, 12, 13, .4); scroll-margin-top: 100px; }
.cnt-form-head { margin-bottom: 22px; }
.cnt-form-head .mono { color: var(--accent); }
.cnt-form-title { margin-top: 10px; font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.03em; line-height: 1.1; }
.contact-page-form { display: grid; gap: 18px; position: relative; }
.contact-page-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-page-form .form-group { display: grid; gap: 8px; }
.contact-page-form label { font-weight: 600; font-size: 14px; color: var(--ink); }
.contact-page-form .required { color: var(--accent); }
.contact-page-form .optional { font-weight: 400; color: var(--muted); }
.contact-page-form input[type="text"], .contact-page-form input[type="email"], .contact-page-form input[type="tel"], .contact-page-form textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--field); background: var(--paper); color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.4; transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-page-form input:not([type="hidden"]):hover, .contact-page-form textarea:hover { border-color: var(--muted); }
.contact-page-form input:not([type="hidden"]):focus, .contact-page-form textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px rgba(30, 61, 255, .15); }
.contact-page-form input::placeholder, .contact-page-form textarea::placeholder { color: var(--muted); }
.contact-page-form textarea { min-height: 120px; resize: vertical; }
.contact-submit-btn { width: 100%; margin-top: 4px; border: 0; }
.contact-submit-btn:disabled { opacity: .6; cursor: wait; }
.contact-page-form .form-note { font-size: 14px; color: var(--ink-2); text-align: center; }
.form-alt-whatsapp { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-pill); font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; text-align: center; transition: border-color .2s; }
.form-alt-whatsapp:hover { border-color: var(--ink); color: var(--ink); }
.form-alt-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; color: #25D366; }
.contact-error { margin-bottom: 18px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid #F1B5AE; background: #FDF1EF; }
.contact-error p { color: #B42318; font-size: 15px; }
.contact-success { display: grid; justify-items: start; gap: 14px; padding: 8px 0; }
.contact-success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.contact-success-icon svg { width: 26px; height: 26px; }
.contact-success h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; }
.contact-success p { color: var(--ink-2); }
@media (max-width: 600px) {
  .contact-page-form .form-row, .contact-hero .contact-form-col .form-row--pair { grid-template-columns: minmax(0, 1fr); }
  .contact-form-col { padding: 22px 18px; border-radius: var(--r-md); }
}

/* sekcije ispod heroja */
.cnt-sec { padding: var(--sec-y) 0 0; }
.cnt-sec--sm { padding: var(--sec-y-sm) 0 var(--sec-y); }
.cnt-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 16px var(--col-gap); margin-bottom: var(--head-gap); }
.cnt-head .cnt-info__text { margin-top: 0; }
.cnt-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: var(--col-gap); align-items: start; }
.cnt-info__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.cnt-info__text { margin-top: 14px; color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 46ch; }
.cnt-info__text a { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) {
  .cnt-head, .cnt-split { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .cnt-split { row-gap: 28px; }
}

/* kanali: bento kartice (Telefon kobalt, Email sky, WhatsApp ink, Adresa bijela, Radno vrijeme peach) */
.cnt-bento { margin-top: 0; }
.hb.cnt-card { min-height: 236px; }
.cnt-card .hb__ico { margin-bottom: 22px; }
.cnt-card__label { display: block; font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--hb-muted); }
.cnt-card__big { display: block; margin-top: auto; padding-top: 8px; font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.03em; line-height: 1.1; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.cnt-card__addr { display: block; margin-top: auto; padding-top: 8px; font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.02em; line-height: 1.3; color: inherit; text-decoration: none; }
.hb:hover .cnt-card__big.hb__link, .hb:hover .cnt-card__addr.hb__link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cnt-card__wa svg { color: #25D366; }
.cnt-card .contact-social { display: flex; gap: 8px; margin-top: 18px; }
.cnt-card .contact-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px rgba(122, 42, 12, .16); color: var(--ink); transition: background-color .2s, color .2s; }
.cnt-card .contact-social a:hover { background: var(--ink); color: var(--white); }
.cnt-card .contact-social svg { width: 18px; height: 18px; }
@media (min-width: 1101px) {
  .cnt-bento__item--phone { grid-column: span 5; }
  .cnt-bento__item--mail { grid-column: span 4; }
  .cnt-bento__item--wa { grid-column: span 3; }
  .cnt-bento__item--addr { grid-column: span 7; }
  .cnt-bento__item--hours { grid-column: span 5; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .cnt-bento__item--hours { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hb.cnt-card { min-height: 0; }
  .cnt-card .hb__ico { margin-bottom: 18px; }
  .cnt-card__big { padding-top: 6px; }
}

/* nakon upita: 4 koraka */
@media (min-width: 1101px) { .cnt-steps > .home-bento__item--3 { grid-column: span 3; } }
.cnt-steps { margin-top: 0; }
.hb.cnt-step { min-height: 300px; }
.cnt-step .hb__ico { margin-bottom: auto; }
.cnt-steps__t { margin-top: 28px; font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -.02em; line-height: 1.2; padding-right: 8px; }
.cnt-step p { margin-top: 10px; color: var(--hb-muted); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 640px) {
  .hb.cnt-step { min-height: 0; }
  .cnt-steps__t { margin-top: 22px; }
}

/* česta pitanja: kartice */
.cnt-faq__list { display: grid; gap: 10px; }
.cnt-faq .faq-item { padding: 0 24px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07); transition: box-shadow .3s; }
.cnt-faq .faq-item.active { box-shadow: inset 0 0 0 1px rgba(30, 61, 255, .35); }
.cnt-faq__q { margin: 0; font-size: inherit; }
.cnt-faq .faq-question { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; padding: 18px 0; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -.02em; line-height: 1.25; }
.cnt-faq .faq-question:hover { color: var(--ink); }
.cnt-faq .faq-question:hover > span:first-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cnt-faq__ico { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--ink); transition: background-color .25s, color .25s; }
.cnt-faq__ico::before, .cnt-faq__ico::after { content: ""; position: absolute; left: 11px; right: 11px; top: 16px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.cnt-faq__ico::after { transform: rotate(90deg); }
.cnt-faq .faq-item.active .cnt-faq__ico { background: var(--accent); color: var(--white); }
.cnt-faq .faq-item.active .cnt-faq__ico::after { transform: rotate(0); }
.cnt-faq .faq-answer { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s var(--ease), visibility 0s linear .3s; }
.cnt-faq .faq-item.active .faq-answer { visibility: visible; transition: max-height .3s var(--ease), visibility 0s; }
.cnt-faq .faq-answer p { padding: 0 50px 22px 0; max-width: var(--m-prose); color: var(--ink-2); }
@media (max-width: 900px) {
  .cnt-faq .faq-item { padding: 0 18px; }
  .cnt-faq .faq-answer p { padding-right: 0; }
}

/* mapa: zaobljena kartica, učitava se na klik */
.contact-map-section { padding: var(--sec-y) 0 0; }
.hb.cnt-map-card { min-height: 0; padding: clamp(16px, 2vw, 24px); }
.cnt-map-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; padding: 4px 6px 18px; }
.cnt-map-head__label { color: var(--muted); }
.cnt-map-head__addr { margin-top: 6px; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.02em; line-height: 1.2; }
.cnt-map-head .link-arrow { min-height: 44px; }
.contact-map-wrapper { position: relative; height: clamp(280px, 30vw, 420px); border-radius: 16px; overflow: hidden; background: var(--night); }
.contact-map-wrapper.is-loaded { background: var(--paper-2); }
.contact-map-wrapper iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter .4s; }
.contact-map-wrapper:hover iframe { filter: none; }
.cnt-map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: clamp(20px, 3vw, 36px); color: var(--white);
  background-color: var(--night); background-image: radial-gradient(55% 75% at 50% 45%, rgba(30, 61, 255, .45) 0%, rgba(30, 61, 255, 0) 70%), linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; background-position: 0 0, -1px -1px, -1px -1px; }
.cnt-map-ph .btn { margin-top: 8px; }
.cnt-map-pin { position: absolute; left: 50%; top: 45%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--accent); color: var(--white); box-shadow: 0 0 0 10px rgba(30, 61, 255, .25), 0 20px 40px -12px rgba(30, 61, 255, .8); }
.cnt-map-pin svg { width: 24px; height: 24px; }
@media (max-width: 640px) { .cnt-map-pin { top: 32%; } }

/* naše usluge: male kartice */
.cnt-svc__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.cnt-svc__list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 24px; padding: 0; }
.cnt-svc__list > li { display: flex; min-width: 0; }
.cnt-svc__card { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; width: 100%; min-height: 156px; padding: 20px; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07); color: var(--ink); text-decoration: none; transition: translate .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.cnt-svc__card:hover { color: var(--ink); translate: 0 -4px; box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .07), 0 30px 50px -34px rgba(12, 12, 13, .45); }
.cnt-svc__name { margin-top: auto; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; line-height: 1.2; }
.cnt-svc__card:hover .cnt-svc__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cnt-svc__card { position: relative; }
.cnt-svc__arrow { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); color: var(--ink); transition: background-color .3s, color .3s; }
.cnt-svc__arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.cnt-svc__card:hover .cnt-svc__arrow { background: var(--accent); color: var(--white); }
.cnt-svc__card:hover .cnt-svc__arrow svg { transform: rotate(-45deg); }
@media (max-width: 1100px) { .cnt-svc__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cnt-svc__list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cnt-svc__card { flex-direction: row; align-items: center; min-height: 0; padding: 12px 64px 12px 12px; }
  .cnt-svc__name { margin-top: 0; font-size: 17px; }
  .cnt-svc__arrow { top: 50%; right: 14px; margin-top: -18px; }
}
@media (hover: none) {
  .post-card:not(.post-card--cta):hover, .blog-feature:hover, .post-nav-link:hover, .cnt-svc__card:hover { translate: none; }
}

/* ---------- 404 ---------- */
.error-404 { padding: var(--hero-top) 0 var(--sec-y); }
.err-code { font-family: var(--f-display); font-weight: 800; font-size: clamp(96px, 16vw, 200px); letter-spacing: -.06em; line-height: .82; color: var(--accent); margin-bottom: 32px; }
.err-title { margin-top: 20px; font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -.04em; line-height: 1; }
.error-404 .lead { margin-top: 20px; }
.err-links__label { font-weight: 400; color: var(--muted); margin-bottom: 14px; }
.err-links .rule-list > li { padding: 0; align-items: center; }
.err-links .rule-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.err-links .rule-list a svg { width: 16px; height: 16px; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.err-links .rule-list a:hover { color: var(--accent); }
.err-links .rule-list a:hover svg { color: var(--accent); transform: translateX(3px); }
@media (max-width: 900px) {
  .err-code { margin-bottom: 20px; }
}

/* legal: sadržaj (TOC iz H2) iznad liste dokumenata u indeks koloni */
.page-toc { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.page-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; cursor: pointer; list-style: none; }
.page-toc summary::-webkit-details-marker { display: none; }
.page-toc summary::after { content: "+"; font-size: 16px; color: var(--ink); }
.page-toc[open] summary::after { content: "−"; }
.page-toc__list { list-style: none; display: grid; border-top: 1px solid var(--line-strong); }
.page-toc__list a { display: block; padding: 7px 0; font-size: 14px; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.page-toc__list a:hover { color: var(--accent); }
@media (min-width: 901px) {
  .page-aside { max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; }
  .page-toc summary { pointer-events: none; min-height: 0; margin-bottom: 10px; }
  .page-toc summary::after, .page-toc[open] summary::after { content: none; }
}
@media (max-width: 900px) {
  .page-toc { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 16px; background: var(--white); }
  .page-toc[open] { padding-bottom: 12px; }
}

/* 404: uska kolona, pretraga, linkovi */
.error-404 .wrap--narrow > .eyebrow { display: flex; }
.err-search { display: flex; gap: 10px; margin-top: 32px; }
.err-search input[type="search"] { flex: 1; min-width: 0; min-height: 54px; padding: 14px 18px; border-radius: var(--r-pill); border: 1px solid var(--field); background: var(--white); color: var(--ink); font: inherit; font-size: 16px; }
.err-search input[type="search"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30, 61, 255, .15); }
.err-search .btn { flex-shrink: 0; min-height: 54px; }
.err-search .btn svg { width: 18px; height: 18px; }
.err-links { margin-top: var(--head-gap); }
.err-home { margin-top: 28px; }
.err-home .link-arrow { min-height: 44px; }
@media (max-width: 600px) {
  .err-search { flex-direction: column; }
  .err-search .btn { width: 100%; }
}

/* blog: pretraga */
.blog-hero__title--search { font-size: clamp(34px, 4.6vw, 64px); overflow-wrap: anywhere; }
.blog-empty__links { width: 100%; max-width: 560px; }
.blog-empty__links > li { display: block; padding: 0; }
.blog-empty__links .link-arrow { min-height: 52px; }
.blog-hero__title--long { font-size: clamp(38px, 4.8vw, 68px); }
